Cleanup in types.inc
[fa-stable.git] / includes / types.inc
index 212de03a2792c8ded33689791b3e4bf9292dbfe3..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);
 
@@ -226,7 +220,7 @@ define('TAG_DIMENSION', 2);
 //----------------------------------------------------------------------------------
 // Payment term types
 
-define('PTT_PRE', 1);
+define('PTT_PREPAY', 1);
 define('PTT_CASH', 2);
 define('PTT_DAYS', 3);
 define('PTT_FOLLOWING', 4);
@@ -261,7 +255,7 @@ $vat_categories = array(
        VC_ASSETS => _('Fixed assets'),
        VC_NONDEDUCT => _('No VAT deductible'),
        VC_SERVICES => _('Other services'),
-//     VC_PARTIAL => _('VAT partially deductible'),
+       VC_PARTIAL => _('VAT partially deductible'),
        VC_REVERSE => _('Reverse charge'),
 );
 
@@ -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
 //