Added tax calcualtion algorithm selection in sales and purchasing, driven by company...
[fa-stable.git] / includes / types.inc
index 79ef8be71c01699d87a8daf242fee733ad718fe3..9a437f1ba9dad7d78f6624e526344872d4510351 100644 (file)
@@ -226,6 +226,12 @@ define('PTT_CASH', 2);
 define('PTT_DAYS', 3);
 define('PTT_FOLLOWING', 4);
 
+//----------------------------------------------------------------------------------
+// Tax calculation algorithms used in als and purchase (depends on supplier's invoicing software)
+
+define('TCA_TOTALS', 1); // taxes are calculated from respective net totals for all lines
+define('TCA_LINES', 2); // taxes calculated for every line, then summed
+
 include_once($path_to_root . '/includes/sysnames.inc');
 
 ?>
\ No newline at end of file