Fixed multiplied amounts in Journal Inquiry.
[fa-stable.git] / sales / customer_delivery.php
index c7e051e1bab3c43962a3c1ae33e8df3dc1e0979a..30e359193d6e25253d0ac1ed60d4084b235cb30b 100644 (file)
@@ -95,6 +95,9 @@ if (isset($_GET['OrderNumber']) && $_GET['OrderNumber'] > 0) {
                die ("<br><b>" . _("This order has no items. There is nothing to delivery.") . "</b>");
        }
 
+       // Adjust Shipping Charge based upon previous deliveries TAM
+       adjust_shipping_charge($ord, $_GET['OrderNumber']);
        $_SESSION['Items'] = $ord;
        copy_from_cart();