From d50beea4d72d51df41d5119b7dce3abdeb1a75cb Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Mon, 1 Feb 2010 10:15:07 +0000 Subject: [PATCH] [0000198] But ignoring shipping cost in Direct Invoice (cash). --- CHANGELOG.txt | 4 ++++ sales/sales_order_entry.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 6f7bf16..f898347 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -19,6 +19,10 @@ Legend: ! -> Note $ -> Affected files +01-Feb-2010 Joe Hunt +# [0000198] But ignoring shipping cost in Direct Invoice (cash). +$ /sales/sales_order_entry.php + 31-Jan-2010 Joe Hunt # Bug in Quick Entries with Tax added. $ /includes/ui/ui_view.inc diff --git a/sales/sales_order_entry.php b/sales/sales_order_entry.php index 164f143..5d0ea72 100644 --- a/sales/sales_order_entry.php +++ b/sales/sales_order_entry.php @@ -240,7 +240,7 @@ function copy_to_cart() if ($cart->cash) { $cart->due_date = $cart->document_date; $cart->phone = $cart->cust_ref = $cart->delivery_address = ''; - $cart->freight_cost = 0; + $cart->freight_cost = input_num('freight_cost'); $cart->ship_via = 1; $cart->deliver_to = '';//$_POST['deliver_to']; } else { -- 2.30.2