From: Joe Hunt Date: Thu, 24 Sep 2009 23:43:02 +0000 (+0000) Subject: Wrong presentation of qty decimals when trans_no != 0 (delivered) X-Git-Tag: v2.4.2~19^2~1205 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=96fabfb7db562daf05bb9caa3f08fe3ef9390e3b;p=fa-stable.git Wrong presentation of qty decimals when trans_no != 0 (delivered) --- diff --git a/CHANGELOG.txt b/CHANGELOG.txt index e7152664..2141f0a0 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -19,6 +19,10 @@ Legend: ! -> Note $ -> Affected files +25-Sep-2009 Joe Hunt +# Wrong presentation of qty decimals when trans_no != 0 (delivered) +$ /sales/includes/ui/sales_order_ui.inc + 24-Sep-2009 Janusz Dobrowolski + Additional fields for secondary phone and/or general notes in customers, cust_branches, shippers, locations and suppliers tables. diff --git a/sales/includes/ui/sales_order_ui.inc b/sales/includes/ui/sales_order_ui.inc index 96c24ef7..5ec8dfcb 100644 --- a/sales/includes/ui/sales_order_ui.inc +++ b/sales/includes/ui/sales_order_ui.inc @@ -185,10 +185,11 @@ function display_order_summary($title, &$order, $editable_items=false) //label_cell($stock_item->item_description, "nowrap" ); label_cell($stock_item->item_description ); - qty_cell($stock_item->qty_dispatched, false, get_qty_dec($stock_item->stock_id)); + $dec = get_qty_dec($stock_item->stock_id); + qty_cell($stock_item->qty_dispatched, false, $dec); if ($order->trans_no!=0) - amount_cell($stock_item->qty_done); + qty_cell($stock_item->qty_done, false, $dec); label_cell($stock_item->units); amount_cell($stock_item->price);