From: Joe Hunt Date: Mon, 1 Feb 2010 10:15:07 +0000 (+0000) Subject: [0000198] But ignoring shipping cost in Direct Invoice (cash). X-Git-Tag: 2.3-final~1005 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=43b574acbfce029aff0b4e52511bca7b107fbb98;p=fa-stable.git [0000198] But ignoring shipping cost in Direct Invoice (cash). --- diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 6f7bf16e..f898347d 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 164f143b..5d0ea722 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 {