Cleanup in types.inc
authorJanusz Dobrowolski <janusz@frontaccounting.eu>
Fri, 2 Aug 2019 08:07:01 +0000 (10:07 +0200)
committerJanusz Dobrowolski <janusz@frontaccounting.eu>
Mon, 19 Aug 2019 10:41:58 +0000 (12:41 +0200)
includes/types.inc

index da2b33955941f031312a3a6d7e3485d6b52291d0..003bd7246fd0a3bb4f7bb92475245e4c8d4543f8 100644 (file)
@@ -36,19 +36,13 @@ define('ST_WORKORDER', 26);
 define('ST_MANUISSUE', 28);
 define('ST_MANURECEIVE', 29);
 
-//
-//     Depreciation period types
-//
-define('FA_MONTHLY', 0);
-define('FA_YEARLY', 1);
-
 define('ST_SALESORDER', 30);
 define('ST_SALESQUOTE', 32);
 define('ST_COSTUPDATE', 35);
 define('ST_DIMENSION', 40);
 
 // Don't include these defines in the $systypes_array.
-// They are used for documents only.
+// They are used as report subtypes only.
 define ('ST_STATEMENT', 91);
 define ('ST_CHEQUE', 92);
 
@@ -282,6 +276,13 @@ $tax_area_types = array(
 // tax register type
 define('TR_OUTPUT', 0); // sales
 define('TR_INPUT', 1); // purchase
+
+//
+//     Depreciation period types
+//
+define('FA_MONTHLY', 0);
+define('FA_YEARLY', 1);
+
 //---------------------------------------------------------------------------------
 // Constants optionally redefined locally
 //