X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=blobdiff_plain;f=taxes%2Ftax_calc.inc;h=3ef685aef1cda24d34d4ea9c5f58d34c3cd0edb1;hp=28b40a7c580f4932a64f4aa562aed87ebd0e4b1c;hb=e01ce098c8862750e2f4f66f255191e83a4ce1d6;hpb=40a86b30aa459c05925c41d55bbeff2c293a7ce5 diff --git a/taxes/tax_calc.inc b/taxes/tax_calc.inc index 28b40a7c..3ef685ae 100644 --- 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++)