oms-Accounting/Models/TimeRangeType.php
2022-02-19 13:57:38 +01:00

41 lines
997 B
PHP
Executable File

<?php
/**
* Karaka
*
* PHP Version 8.0
*
* @package Modules\Accounting\Models
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://karaka.app
*/
declare(strict_types=1);
namespace Modules\Accounting\Models;
use phpOMS\Stdlib\Base\Enum;
/**
* Time range type enum.
*
* @package Modules\Accounting\Models
* @license OMS License 1.0
* @link https://karaka.app
* @since 1.0.0
*/
abstract class TimeRangeType extends Enum
{
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) */
public const PERIOD_DATE = 4; /* Date of the period this booking is assoziated with */
public const SQUARED_DATE = 5; /* Date of when the entry got squared/balanced */
}