diff --git a/Models/AccountType.php b/Models/AccountType.php index 3b52d4a..05d68e3 100755 --- a/Models/AccountType.php +++ b/Models/AccountType.php @@ -26,11 +26,11 @@ use phpOMS\Stdlib\Base\Enum; */ abstract class AccountType extends Enum { - public const IMPERSONAL = 0; + public const IMPERSONAL = 1; - public const PERSONAL = 1; + public const PERSONAL = 2; - public const CREDITOR = 2; + public const CREDITOR = 3; public const DEBITOR = 4; } diff --git a/Models/TimeRangeType.php b/Models/TimeRangeType.php index 85bc7e6..0d99e2a 100755 --- a/Models/TimeRangeType.php +++ b/Models/TimeRangeType.php @@ -26,15 +26,15 @@ use phpOMS\Stdlib\Base\Enum; */ abstract class TimeRangeType extends Enum { - public const ENTRY_DATE = 0; /* Date of when the entry happened */ + public const ENTRY_DATE = 1; /* Date of when the entry happened */ - public const DUE_DATE = 1; /* Date of when the entry is due (only for invoices) */ + public const DUE_DATE = 2; /* Date of when the entry is due (only for invoices) */ - public const RECEIPT_DATE = 2; /* Date of the receipt */ + public const RECEIPT_DATE = 3; /* Date of the receipt */ - public const ASSOCIATED_DATE = 3; /* Date of the association (e.g. when did the articles arrive) */ + public const ASSOCIATED_DATE = 4; /* Date of the association (e.g. when did the articles arrive) */ - public const PERIOD_DATE = 4; /* Date of the period this booking is assoziated with */ + public const PERIOD_DATE = 5; /* Date of the period this booking is assoziated with */ - public const SQUARED_DATE = 5; /* Date of when the entry got squared/balanced */ + public const SQUARED_DATE = 6; /* Date of when the entry got squared/balanced */ }