Changed Price column name to reflect type of pricelist.
authorJanusz Dobrowolski <janusz@frontaccounting.eu>
Sun, 27 Jun 2010 14:36:18 +0000 (14:36 +0000)
committerJanusz Dobrowolski <janusz@frontaccounting.eu>
Sun, 27 Jun 2010 14:36:18 +0000 (14:36 +0000)
sales/includes/ui/sales_order_ui.inc

index 3fef87209bdf3200269ff544bf5e365166082d8e..3a536995cea2d927930863b605a0bad4562c4fa9 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] );