[0000198] But ignoring shipping cost in Direct Invoice (cash).
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Mon, 1 Feb 2010 10:15:07 +0000 (10:15 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Mon, 1 Feb 2010 10:15:07 +0000 (10:15 +0000)
CHANGELOG.txt
sales/sales_order_entry.php

index 6f7bf16e639a32a79dadb0216de88814ec7bc3f5..f898347d3fc550395d73c4c3700a5980089512b6 100644 (file)
@@ -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
index 164f143b25890c66546aa160ea66cadc20b05ff1..5d0ea722364c71465b7c4c726660b983dbff850f 100644 (file)
@@ -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 {