Show empty column if no tax_percent found for item (#507)

This commit is contained in:
jekkos committed 2016-05-09 20:15:00 +02:00
1 parent 3cf018ac47
commit d78c871855
1 file changed
+1 -1
+1 -1
View File
@@ -271,7 +271,7 @@ function get_item_data_row($item, $controller)
'cost_price' => to_currency($item->cost_price),
'unit_price' => to_currency($item->unit_price),
'quantity' => to_quantity_decimals($item->quantity),
'tax_percents' => $tax_percents,
'tax_percents' => !$tax_percents ? '-' : $tax_percents,
'item_pic' => $image,
'inventory' => anchor($controller_name."/inventory/$item->item_id", '<span class="glyphicon glyphicon-pushpin"></span>',
array('class' => "modal-dlg modal-btn-submit", 'title' => $CI->lang->line($controller_name.'_count'))