From a001646bef2b971535791d4e67b8565684d6de24 Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Fri, 2 Aug 2019 10:07:01 +0200 Subject: [PATCH] Cleanup in types.inc --- includes/types.inc | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/includes/types.inc b/includes/types.inc index da2b3395..003bd724 100644 --- a/includes/types.inc +++ b/includes/types.inc @@ -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 // -- 2.30.2