diff --git a/Admin/Activate.php b/Admin/Activate.php index 6812447..2576883 100644 --- a/Admin/Activate.php +++ b/Admin/Activate.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD @@ -15,7 +15,7 @@ */ namespace Modules\Accounting\Admin; -use phpOMS\DataStorage\Database\Pool; +use phpOMS\DataStorage\Database\DatabasePool; use phpOMS\Module\ActivateAbstract; use phpOMS\Module\InfoManager; @@ -36,7 +36,7 @@ class Activate extends ActivateAbstract /** * {@inheritdoc} */ - public static function activate(Pool $dbPool, InfoManager $info) + public static function activate(DatabasePool $dbPool, InfoManager $info) { parent::activate($dbPool, $info); } diff --git a/Admin/Deactivate.php b/Admin/Deactivate.php index 3f28015..eba53de 100644 --- a/Admin/Deactivate.php +++ b/Admin/Deactivate.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD @@ -15,7 +15,7 @@ */ namespace Modules\Accounting\Admin; -use phpOMS\DataStorage\Database\Pool; +use phpOMS\DataStorage\Database\DatabasePool; use phpOMS\Module\DeactivateAbstract; use phpOMS\Module\InfoManager; @@ -36,7 +36,7 @@ class Deactivate extends DeactivateAbstract /** * {@inheritdoc} */ - public static function deactivate(Pool $dbPool, InfoManager $info) + public static function deactivate(DatabasePool $dbPool, InfoManager $info) { parent::deactivate($dbPool, $info); } diff --git a/Admin/Install/Navigation.php b/Admin/Install/Navigation.php index 8cb0902..63abfe1 100644 --- a/Admin/Install/Navigation.php +++ b/Admin/Install/Navigation.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD @@ -14,7 +14,7 @@ * @link http://orange-management.com */ namespace Modules\Accounting\Admin\Install; -use phpOMS\DataStorage\Database\Pool; +use phpOMS\DataStorage\Database\DatabasePool; /** * Navigation class. @@ -29,7 +29,7 @@ use phpOMS\DataStorage\Database\Pool; */ class Navigation { - public static function install(Pool $dbPool) + public static function install(string $path, DatabasePool $dbPool) { $navData = json_decode(file_get_contents(__DIR__ . '/Navigation.install.json'), true); diff --git a/Admin/Installer.php b/Admin/Installer.php index e5cd617..45fb23c 100644 --- a/Admin/Installer.php +++ b/Admin/Installer.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD @@ -16,7 +16,7 @@ namespace Modules\Accounting\Admin; use phpOMS\DataStorage\Database\DatabaseType; -use phpOMS\DataStorage\Database\Pool; +use phpOMS\DataStorage\Database\DatabasePool; use phpOMS\Module\InfoManager; use phpOMS\Module\InstallerAbstract; @@ -37,9 +37,9 @@ class Installer extends InstallerAbstract /** * {@inheritdoc} */ - public static function install(Pool $dbPool, InfoManager $info) + public static function install(string $path, DatabasePool $dbPool, InfoManager $info) { - parent::install($dbPool, $info); + parent::install($path, $dbPool, $info); switch ($dbPool->get('core')->getType()) { case DatabaseType::MYSQL: diff --git a/Admin/Uninstall.php b/Admin/Uninstall.php index 6cb1210..7554d37 100644 --- a/Admin/Uninstall.php +++ b/Admin/Uninstall.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD @@ -16,7 +16,7 @@ namespace Modules\Accounting\Admin; -use phpOMS\DataStorage\Database\Pool; +use phpOMS\DataStorage\Database\DatabasePool; use phpOMS\DataStorage\Database\Schema\Builder; use phpOMS\Module\UninstallAbstract; @@ -37,7 +37,7 @@ class Uninstall extends UninstallAbstract /** * {@inheritdoc} */ - public static function uninstall(Pool $dbPool, InfoManager $info) + public static function uninstall(DatabasePool $dbPool, InfoManager $info) { parent::uninstall($dbPool, $info); diff --git a/Admin/Update.php b/Admin/Update.php index 5ccbd03..a74800b 100644 --- a/Admin/Update.php +++ b/Admin/Update.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD @@ -16,7 +16,7 @@ namespace Modules\Accounting\Admin; -use phpOMS\DataStorage\Database\Pool; +use phpOMS\DataStorage\Database\DatabasePool; use phpOMS\Module\UpdateAbstract; use phpOMS\System\File\Directory; @@ -37,7 +37,7 @@ class Update extends UpdateAbstract /** * {@inheritdoc} */ - public static function update(Pool $dbPool, array $info) + public static function update(DatabasePool $dbPool, array $info) { Directory::deletePath(__DIR__ . '/Update'); mkdir('Update'); diff --git a/Controller.php b/Controller.php index 4a9bb5a..f748b68 100644 --- a/Controller.php +++ b/Controller.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD @@ -45,7 +45,7 @@ class Controller extends ModuleAbstract implements WebInterface * @var string * @since 1.0.0 */ - const MODULE_PATH = __DIR__; + /* public */ const MODULE_PATH = __DIR__; /** * Module version. @@ -53,7 +53,7 @@ class Controller extends ModuleAbstract implements WebInterface * @var string * @since 1.0.0 */ - const MODULE_VERSION = '1.0.0'; + /* public */ const MODULE_VERSION = '1.0.0'; /** * Module name. @@ -61,7 +61,7 @@ class Controller extends ModuleAbstract implements WebInterface * @var string * @since 1.0.0 */ - const MODULE_NAME = 'Accounting'; + /* public */ const MODULE_NAME = 'Accounting'; /** * Providing. diff --git a/Models/AccountAbstract.php b/Models/AccountAbstract.php index c95e0d4..258bf21 100644 --- a/Models/AccountAbstract.php +++ b/Models/AccountAbstract.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD diff --git a/Models/AccountBalance.php b/Models/AccountBalance.php index d047fc9..d5e81a4 100644 --- a/Models/AccountBalance.php +++ b/Models/AccountBalance.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD diff --git a/Models/AccountInterface.php b/Models/AccountInterface.php index 2b773a5..3151967 100644 --- a/Models/AccountInterface.php +++ b/Models/AccountInterface.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD diff --git a/Models/AccountType.php b/Models/AccountType.php index 358c475..4de4f94 100644 --- a/Models/AccountType.php +++ b/Models/AccountType.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD @@ -30,11 +30,11 @@ use phpOMS\Datatypes\Enum; */ abstract class AccountType extends Enum { - const IMPERSONAL = 0; + /* public */ const IMPERSONAL = 0; - const PERSONAL = 1; + /* public */ const PERSONAL = 1; - const CREDITOR = 2; + /* public */ const CREDITOR = 2; - const DEBITOR = 3; + /* public */ const DEBITOR = 3; } diff --git a/Models/Balance.php b/Models/Balance.php index c8ed5cd..6a9ab0b 100644 --- a/Models/Balance.php +++ b/Models/Balance.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD diff --git a/Models/BatchPosting.php b/Models/BatchPosting.php index 6ff91c4..7539812 100644 --- a/Models/BatchPosting.php +++ b/Models/BatchPosting.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD diff --git a/Models/Creditor.php b/Models/Creditor.php index 52d0fd4..82c4212 100644 --- a/Models/Creditor.php +++ b/Models/Creditor.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD diff --git a/Models/CreditorAccount.php b/Models/CreditorAccount.php index 6823767..e0e7b24 100644 --- a/Models/CreditorAccount.php +++ b/Models/CreditorAccount.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD diff --git a/Models/Debitor.php b/Models/Debitor.php index 129cd39..6f9b861 100644 --- a/Models/Debitor.php +++ b/Models/Debitor.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD diff --git a/Models/DebitorAccount.php b/Models/DebitorAccount.php index af88a3a..2a3d0d6 100644 --- a/Models/DebitorAccount.php +++ b/Models/DebitorAccount.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD diff --git a/Models/EntryInterface.php b/Models/EntryInterface.php index 91c36a5..adfd0f1 100644 --- a/Models/EntryInterface.php +++ b/Models/EntryInterface.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD diff --git a/Models/ImpersonalAccount.php b/Models/ImpersonalAccount.php index a691d0c..fce1d47 100644 --- a/Models/ImpersonalAccount.php +++ b/Models/ImpersonalAccount.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD diff --git a/Models/IncomeStatement.php b/Models/IncomeStatement.php index a591b4f..95e8b56 100644 --- a/Models/IncomeStatement.php +++ b/Models/IncomeStatement.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD diff --git a/Models/InvoicePosting.php b/Models/InvoicePosting.php index 6f61a76..b8b11c3 100644 --- a/Models/InvoicePosting.php +++ b/Models/InvoicePosting.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD diff --git a/Models/InvoicePostingSimple.php b/Models/InvoicePostingSimple.php index 83ec0cd..a0fea13 100644 --- a/Models/InvoicePostingSimple.php +++ b/Models/InvoicePostingSimple.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD diff --git a/Models/PersonalAccountAbstract.php b/Models/PersonalAccountAbstract.php index 996a843..98de5a7 100644 --- a/Models/PersonalAccountAbstract.php +++ b/Models/PersonalAccountAbstract.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD diff --git a/Models/Posting.php b/Models/Posting.php index 753dd5b..635b9a0 100644 --- a/Models/Posting.php +++ b/Models/Posting.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD diff --git a/Models/PostingAbstract.php b/Models/PostingAbstract.php index 3c268e8..f4c1cff 100644 --- a/Models/PostingAbstract.php +++ b/Models/PostingAbstract.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD diff --git a/Models/PostingInterface.php b/Models/PostingInterface.php index 817c507..92e79e0 100644 --- a/Models/PostingInterface.php +++ b/Models/PostingInterface.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD diff --git a/Models/TimeRangeType.php b/Models/TimeRangeType.php index 04c45f6..6d4d7a3 100644 --- a/Models/TimeRangeType.php +++ b/Models/TimeRangeType.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD @@ -30,8 +30,8 @@ use phpOMS\Datatypes\Enum; */ abstract class TimeRangeType extends Enum { - const ENTRY_DATE = 0; /* Date of when the entry happened */ - const DUE_DATE = 1; /* Date of when the entry is due (only for invoices) */ - const RECEIPT_DATE = 2; /* Date of the receipt */ - const ASSOCIATED_DATE = 3; /* Date of the association (e.g. when did the articles arrive) */ + /* public */ const ENTRY_DATE = 0; /* Date of when the entry happened */ + /* public */ const DUE_DATE = 1; /* Date of when the entry is due (only for invoices) */ + /* public */ const RECEIPT_DATE = 2; /* Date of the receipt */ + /* public */ const ASSOCIATED_DATE = 3; /* Date of the association (e.g. when did the articles arrive) */ } diff --git a/Models/temp/Account.php b/Models/temp/Account.php index ac1add5..e2b3f86 100644 --- a/Models/temp/Account.php +++ b/Models/temp/Account.php @@ -1,5 +1,5 @@ total; } } +*/ \ No newline at end of file diff --git a/Theme/Backend/Lang/Navigation.en.lang.php b/Theme/Backend/Lang/Navigation.en.lang.php index 01371bd..303e4a6 100644 --- a/Theme/Backend/Lang/Navigation.en.lang.php +++ b/Theme/Backend/Lang/Navigation.en.lang.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD diff --git a/Theme/Backend/Lang/api.en.lang.php b/Theme/Backend/Lang/api.en.lang.php index 4f9f946..afe845f 100644 --- a/Theme/Backend/Lang/api.en.lang.php +++ b/Theme/Backend/Lang/api.en.lang.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD diff --git a/Theme/Backend/Lang/en.lang.php b/Theme/Backend/Lang/en.lang.php index f7c3f84..e908fa3 100644 --- a/Theme/Backend/Lang/en.lang.php +++ b/Theme/Backend/Lang/en.lang.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD diff --git a/Theme/Backend/entries.tpl.php b/Theme/Backend/entries.tpl.php index 5e15482..2b3a9f9 100644 --- a/Theme/Backend/entries.tpl.php +++ b/Theme/Backend/entries.tpl.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD diff --git a/Theme/Backend/gl-create.tpl.php b/Theme/Backend/gl-create.tpl.php index 92d4512..21ec1af 100644 --- a/Theme/Backend/gl-create.tpl.php +++ b/Theme/Backend/gl-create.tpl.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD diff --git a/Theme/Backend/gl-list.tpl.php b/Theme/Backend/gl-list.tpl.php index d4cbd45..3713a4c 100644 --- a/Theme/Backend/gl-list.tpl.php +++ b/Theme/Backend/gl-list.tpl.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD diff --git a/Theme/Backend/gl-profile.tpl.php b/Theme/Backend/gl-profile.tpl.php index b4092da..01c1a1e 100644 --- a/Theme/Backend/gl-profile.tpl.php +++ b/Theme/Backend/gl-profile.tpl.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD diff --git a/Theme/Backend/journal-list.tpl.php b/Theme/Backend/journal-list.tpl.php index 4cd74ef..53ea232 100644 --- a/Theme/Backend/journal-list.tpl.php +++ b/Theme/Backend/journal-list.tpl.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD diff --git a/Theme/Backend/stack-archive-list.tpl.php b/Theme/Backend/stack-archive-list.tpl.php index 50fa0a3..6d9caed 100644 --- a/Theme/Backend/stack-archive-list.tpl.php +++ b/Theme/Backend/stack-archive-list.tpl.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD diff --git a/Theme/Backend/stack-create.tpl.php b/Theme/Backend/stack-create.tpl.php index 1b68d4b..815d39a 100644 --- a/Theme/Backend/stack-create.tpl.php +++ b/Theme/Backend/stack-create.tpl.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD diff --git a/Theme/Backend/stack-entries.tpl.php b/Theme/Backend/stack-entries.tpl.php index b4092da..01c1a1e 100644 --- a/Theme/Backend/stack-entries.tpl.php +++ b/Theme/Backend/stack-entries.tpl.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD diff --git a/Theme/Backend/stack-list.tpl.php b/Theme/Backend/stack-list.tpl.php index 50fa0a3..6d9caed 100644 --- a/Theme/Backend/stack-list.tpl.php +++ b/Theme/Backend/stack-list.tpl.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD diff --git a/Theme/Backend/stack-predefined-list.tpl.php b/Theme/Backend/stack-predefined-list.tpl.php index 69fce41..240b7b1 100644 --- a/Theme/Backend/stack-predefined-list.tpl.php +++ b/Theme/Backend/stack-predefined-list.tpl.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD diff --git a/Theme/backend/Lang/Navigation.en.lang.php b/Theme/backend/Lang/Navigation.en.lang.php index 01371bd..303e4a6 100644 --- a/Theme/backend/Lang/Navigation.en.lang.php +++ b/Theme/backend/Lang/Navigation.en.lang.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD diff --git a/Theme/backend/entries.tpl.php b/Theme/backend/entries.tpl.php index 5e15482..2b3a9f9 100644 --- a/Theme/backend/entries.tpl.php +++ b/Theme/backend/entries.tpl.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD diff --git a/Theme/backend/gl-create.tpl.php b/Theme/backend/gl-create.tpl.php index 92d4512..21ec1af 100644 --- a/Theme/backend/gl-create.tpl.php +++ b/Theme/backend/gl-create.tpl.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD diff --git a/Theme/backend/stack-archive-list.tpl.php b/Theme/backend/stack-archive-list.tpl.php index 50fa0a3..6d9caed 100644 --- a/Theme/backend/stack-archive-list.tpl.php +++ b/Theme/backend/stack-archive-list.tpl.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD diff --git a/Theme/backend/stack-create.tpl.php b/Theme/backend/stack-create.tpl.php index 1b68d4b..815d39a 100644 --- a/Theme/backend/stack-create.tpl.php +++ b/Theme/backend/stack-create.tpl.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD diff --git a/Theme/backend/stack-entries.tpl.php b/Theme/backend/stack-entries.tpl.php index b4092da..01c1a1e 100644 --- a/Theme/backend/stack-entries.tpl.php +++ b/Theme/backend/stack-entries.tpl.php @@ -2,7 +2,7 @@ /** * Orange Management * - * PHP Version 7.0 + * PHP Version 7.1 * * @category TBD * @package TBD