Bug in inst_lang.php
[fa-stable.git] / sales / includes / ui / sales_order_ui.inc
index 3fef87209bdf3200269ff544bf5e365166082d8e..9daed892e5467bc1c7bad21ffc3a5afde6cf9d9d 100644 (file)
@@ -145,7 +145,7 @@ function display_order_summary($title, &$order, $editable_items=false)
        start_table(TABLESTYLE, "colspan=7 width=90%");
        $th = array(_("Item Code"), _("Item Description"), _("Quantity"),
                _("Delivered"),
-               _("Unit"), _("Price"), _("Discount %"), _("Total"), "");
+               _("Unit"), $order->tax_included ? _("Price after Tax") : _("Price before Tax"), _("Discount %"), _("Total"), "");
 
        if ($order->trans_no == 0) {
        unset( $th[3] );
@@ -240,7 +240,7 @@ function display_order_summary($title, &$order, $editable_items=false)
 
        start_row();
        label_cells(_("Amount Total"), $display_total, "colspan=$colspan align=right","align=right");
-       submit_cells('update', _("Update"), "colspan=2", _("Refresh"), true);
+       submit_cells('update', _("Update"), "colspan=2 align='center'", _("Refresh"), true);
        end_row();
 
        end_table();
@@ -558,7 +558,7 @@ function sales_order_item_controls(&$order, &$rowcounter, $line_no=-1)
        }
        else
        {
-               submit_cells('AddItem', _("Add Item"), "colspan=2",
+               submit_cells('AddItem', _("Add Item"), "colspan=2 align='center'",
                    _('Add new item to document'), true);
        }