projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40a86b3
)
Fixed error creating customer credit note: Undefined index: sales_gl_code. @notrinos.
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Tue, 11 Sep 2018 20:43:52 +0000
(22:43 +0200)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Tue, 11 Sep 2018 20:43:52 +0000
(22:43 +0200)
taxes/tax_calc.inc
patch
|
blob
|
history
diff --git
a/taxes/tax_calc.inc
b/taxes/tax_calc.inc
index 28b40a7c580f4932a64f4aa562aed87ebd0e4b1c..3ef685aef1cda24d34d4ea9c5f58d34c3cd0edb1 100644
(file)
--- a/
taxes/tax_calc.inc
+++ b/
taxes/tax_calc.inc
@@
-160,8
+160,8
@@
function get_tax_for_items($items, $prices, $shipping_cost, $tax_group, $tax_inc
$fully_exempt = false;
$ret_tax_array[$k]['Net'] = 0;
}
-
- $ret_tax_array['exempt'] = array('Value'=>0, 'Net'=>0, 'rate' => null, 'tax_type_id' => '');
+
+ $ret_tax_array['exempt'] = array('Value'=>0, 'Net'=>0, 'rate' => null, 'tax_type_id' => ''
, 'sales_gl_code' => ''
);
$dec = user_price_dec();
// loop for all items
for ($i = 0; $i < count($items); $i++)