From 71389a679615aa0f39d62a731ba96689fca74f2a Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 15 Jun 2023 01:50:16 +0200 Subject: [PATCH] Expand depreciation. --- Business/Finance/DepreciationType.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Business/Finance/DepreciationType.php b/Business/Finance/DepreciationType.php index 90e7458df..617af9118 100644 --- a/Business/Finance/DepreciationType.php +++ b/Business/Finance/DepreciationType.php @@ -26,11 +26,15 @@ use phpOMS\Stdlib\Base\Enum; */ abstract class DepreciationType extends Enum { - public const STAIGHT_LINE = 1; + public const NONE = 1; - public const DECLINING_BALANCE = 2; + public const STAIGHT_LINE = 2; - public const SUM_OF_THE_YEAR = 3; + public const DECLINING_BALANCE = 3; - public const UNITS_OF_PRODUCTION = 4; + public const SUM_OF_THE_YEAR = 4; + + public const UNITS_OF_PRODUCTION = 5; + + public const MANUAL = 6; }