Rerun. Modifying need an extra column.
[fa-stable.git] / sales / includes / ui / sales_order_ui.inc
index c79af8d6de8eee39a0513a18458c23fdf1c99f43..acf06310dcf5edb66db962180aa5b69f6b4556bf 100644 (file)
@@ -218,6 +218,8 @@ function display_order_summary($title, &$order, $editable_items=false)
                sales_order_item_controls($order, $k);
 
        $colspan = 6;
+       if ($order->trans_no!=0)
+               ++$colspan;
        small_amount_row(_("Shipping Charge"), 'freight_cost', price_format(get_post('freight_cost',0)), "colspan=$colspan align=right");
        $display_sub_total = price_format($total + input_num('freight_cost'));