X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fcustomer_invoice.php;h=6f38b64d718b9ef7f0472af845839c0287a8738f;hb=9d9a80a6a4411f42f06a30284b1e6d02277ad992;hp=9ec89b569eede7069de04c40653e9714a729ca54;hpb=a9d55e1c13cbd6a6305b9322ec8621a06516f9f3;p=fa-stable.git diff --git a/sales/customer_invoice.php b/sales/customer_invoice.php index 9ec89b56..6f38b64d 100644 --- a/sales/customer_invoice.php +++ b/sales/customer_invoice.php @@ -234,7 +234,7 @@ function set_delivery_shipping_sum($delivery_notes) foreach($delivery_notes as $delivery_num) { - $myrow = get_customer_trans($delivery_num, 13); + $myrow = get_customer_trans($delivery_num, ST_CUSTDELIVERY); $shipping += $myrow['ov_freight']; }