-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'pu/cw/purchasingApp' into 'main'
feature(Purchases): new purchases module See merge request tine20/tine20!6496
- Loading branch information
Showing
13 changed files
with
156 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<?php | ||
/* | ||
* Tine 2.0 | ||
* | ||
* @license http://www.gnu.org/licenses/agpl.html AGPL Version 3 | ||
* @author Cornelius Weiß <[email protected]> | ||
* @copyright Copyright (c) 2025 Metaways Infosystems GmbH (http://www.metaways.de) | ||
*/ | ||
|
||
/** | ||
* Purchasing config class | ||
* | ||
* @package Purchasing | ||
* @subpackage Config | ||
*/ | ||
class Purchasing_Config extends Tinebase_Config_Abstract | ||
{ | ||
use Tinebase_Controller_SingletonTrait; | ||
|
||
const APP_NAME = 'Purchasing'; | ||
|
||
/** | ||
* (non-PHPdoc) | ||
* @see tine20/Tinebase/Config/Abstract::$_appName | ||
*/ | ||
protected $_appName = self::APP_NAME; | ||
|
||
/** | ||
* (non-PHPdoc) | ||
* @see tine20/Tinebase/Config/Definition::$_properties | ||
*/ | ||
protected static $_properties = [ | ||
|
||
]; | ||
|
||
/** | ||
* (non-PHPdoc) | ||
* @see tine20/Tinebase/Config/Abstract::getProperties() | ||
*/ | ||
public static function getProperties() | ||
{ | ||
return self::$_properties; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<application> | ||
<name>Purchasing</name> | ||
<!-- gettext('Purchasing') --> | ||
<version>18.0</version> | ||
<order>60</order> | ||
<status>enabled</status> | ||
<depends> | ||
<application>Sales</application> | ||
</depends> | ||
<tables/> | ||
</application> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* | ||
* Tine 2.0 | ||
* | ||
* @license http://www.gnu.org/licenses/agpl.html AGPL Version 3 | ||
* @author Cornelius Weiß <[email protected]> | ||
* @copyright Copyright (c) 2025 Metaways Infosystems GmbH (http://www.metaways.de) | ||
*/ | ||
|
||
Ext.ns('Tine.Purchasing'); | ||
|
||
Tine.Purchasing.MainScreen = Ext.extend(Tine.widgets.MainScreen, { | ||
appName: 'Sales', | ||
activeContentType: 'Supplier', | ||
contentTypes: [ | ||
{appName: 'Sales', modelName: 'Supplier', requiredRight: 'manage_suppliers', singularContainerMode: true}, | ||
{appName: 'Sales', modelName: 'PurchaseInvoice', requiredRight: 'manage_purchase_invoices', singularContainerMode: true}, | ||
] | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"name": "Purchasing", | ||
"version": "18.0.0", | ||
"description": "tine groupware purchasing Application", | ||
"main": "purchasing.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"keywords": [ | ||
"Purchasing" | ||
], | ||
"author": "Cornelius Weiß", | ||
"license": "AGPL-3.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/* | ||
* Tine 2.0 | ||
* | ||
* @license http://www.gnu.org/licenses/agpl.html AGPL Version 3 | ||
* @author Cornelius Weiß <[email protected]> | ||
* @copyright Copyright (c) 2025 Metaways Infosystems GmbH (http://www.metaways.de) | ||
*/ | ||
import '../styles/purchasing.less' | ||
import './Mainscreen' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.PurchasingIconCls { | ||
background-image:url(../images/purchasing.svg) !important; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters