! -> Note
$ -> Affected files
+08-Nov-2009 Joe Hunt
+# Bug in adding freight cost to sales order/quotation
+$ /sales/inquiry/sales_orders_view.php
+! Additional improvements on layout display
+$ /purchasing/includes/ui/invoice_ui.inc
+ /purchasing/view/view_po.php
+ /sales/view/view_sales_order.php
+
07-Nov-2009 Janusz Dobrowolski
# Added missing help_context
$ /sales/inquiry/sales_orders_view.php
display_gl_controls($supp_trans, $k);
$colspan = ($dim == 2 ? 4 : ($dim == 1 ? 3 : 2));
label_row(_("Total"), price_format($total_gl_value),
- "colspan=".$colspan." align=right", "nowrap align=right");
+ "colspan=".$colspan." align=right", "nowrap align=right", ($mode==1?3:1));
end_table();
div_end();
$display_total = number_format2($total,user_price_dec());
label_row(_("Total Excluding Tax/Shipping"), $display_total,
- "align=right colspan=5", "nowrap align=right");
+ "align=right colspan=5", "nowrap align=right", 3);
end_table();
."sorder.ord_date,
sorder.delivery_date,
sorder.deliver_to,
- Sum(line.unit_price*line.quantity*(1-line.discount_percent)+freight_cost) AS OrderValue,
+ Sum(line.unit_price*line.quantity*(1-line.discount_percent))+freight_cost AS OrderValue,
sorder.type,
debtor.curr_code,
Sum(line.qty_sent) AS TotDelivered,
$display_total = price_format($items_total + $_SESSION['View']->freight_cost);
label_row(_("Shipping"), price_format($_SESSION['View']->freight_cost),
- "align=right colspan=6", "nowrap align=right");
+ "align=right colspan=6", "nowrap align=right", 1);
label_row(_("Total Order Value"), $display_total, "align=right colspan=6",
- "nowrap align=right");
+ "nowrap align=right", 1);
end_table(2);