fix demoSetup

This commit is contained in:
Dennis Eichhorn 2023-04-16 01:55:34 +02:00
parent 650f2e1835
commit e58769983b
2 changed files with 9 additions and 9 deletions

View File

@ -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;
}

View File

@ -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 */
}