label_row(_("Sub-total"), $display_sub_total, "colspan=$colspan align=right","align=right", 2);
- $taxes = $order->get_taxes(input_num('freight_cost'));
+ $taxes = $order->get_taxes();
$tax_total = display_edit_tax_items($taxes, $colspan, $order->tax_included, 2, $order->trans_type==ST_SUPPINVOICE);
- $display_total = price_format(($total + input_num('freight_cost') + $tax_total));
+ $display_total = price_format(($total + $tax_total));
start_row();
label_cells(_("Amount Total"), $display_total, "colspan=$colspan align='right'","align='right'");
if ($order->fixed_asset)
stock_purchasable_fa_list_cells(null, 'stock_id', null, false, true, false, true, $order->line_items);
else
- stock_items_list_cells(null, 'stock_id', null, false, true, false, true, array('editable' => 30, 'where'=>array("NOT no_purchase")));
+ stock_purchasable_items_list_cells(null, 'stock_id', null, false, true, false, true, array('editable' => 30, 'where'=>array("NOT no_purchase")));
if (list_updated('stock_id')) {
$Ajax->activate('price');