projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
If setting the delivered items in PO Receive Items to 0 the value is not updated
[fa-stable.git]
/
taxes
/
tax_calc.inc
diff --git
a/taxes/tax_calc.inc
b/taxes/tax_calc.inc
index 397c5f501f3d7eae3c0eef49de6fd847d9240663..088be56d6644a22a1a37e78990001547e356a5d0 100644
(file)
--- a/
taxes/tax_calc.inc
+++ b/
taxes/tax_calc.inc
@@
-237,6
+237,8
@@
function get_tax_for_items($items, $prices, $shipping_cost, $tax_group, $tax_inc
// no tax group exemptions are active (local sales).
// To be used in quick entries.
//
// no tax group exemptions are active (local sales).
// To be used in quick entries.
//
+// Redundant 18.08.2009 Joe Hunt (Tax Groups instead).
+/*
function get_taxes_for_item_tax($tax_type_id)
{
$item_tax_type = get_item_tax_type($tax_type_id);
function get_taxes_for_item_tax($tax_type_id)
{
$item_tax_type = get_item_tax_type($tax_type_id);
@@
-283,7
+285,7
@@
function get_taxes_for_item_tax($tax_type_id)
return $ret_tax_array;
}
return $ret_tax_array;
}
-
+*/
function is_tax_account($account_code)
{
$sql= "SELECT id FROM ".TB_PREF."tax_types WHERE
function is_tax_account($account_code)
{
$sql= "SELECT id FROM ".TB_PREF."tax_types WHERE