Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
TimeRangeType | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
1 | <?php |
2 | /** |
3 | * Jingga |
4 | * |
5 | * PHP Version 8.1 |
6 | * |
7 | * @package Modules\Accounting\Models |
8 | * @copyright Dennis Eichhorn |
9 | * @license OMS License 2.0 |
10 | * @version 1.0.0 |
11 | * @link https://jingga.app |
12 | */ |
13 | declare(strict_types=1); |
14 | |
15 | namespace Modules\Accounting\Models; |
16 | |
17 | use phpOMS\Stdlib\Base\Enum; |
18 | |
19 | /** |
20 | * Time range type enum. |
21 | * |
22 | * @package Modules\Accounting\Models |
23 | * @license OMS License 2.0 |
24 | * @link https://jingga.app |
25 | * @since 1.0.0 |
26 | */ |
27 | abstract class TimeRangeType extends Enum |
28 | { |
29 | public const ENTRY_DATE = 1; /* Date of when the entry happened */ |
30 | |
31 | public const DUE_DATE = 2; /* Date of when the entry is due (only for invoices) */ |
32 | |
33 | public const RECEIPT_DATE = 3; /* Date of the receipt */ |
34 | |
35 | public const ASSOCIATED_DATE = 4; /* Date of the association (e.g. when did the articles arrive) */ |
36 | |
37 | public const PERIOD_DATE = 5; /* Date of the period this booking is assoziated with */ |
38 | |
39 | public const SQUARED_DATE = 6; /* Date of when the entry got squared/balanced */ |
40 | } |