mirror of
https://github.com/Karaka-Management/oms-Accounting.git
synced 2026-01-27 11:58:40 +00:00
Prepare const visibility
This commit is contained in:
parent
cbfc3c6bd8
commit
352415126f
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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) */
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user