X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Fincludes%2Fdb%2Fsupp_payment_db.inc;fp=purchasing%2Fincludes%2Fdb%2Fsupp_payment_db.inc;h=b5adb16382ee3becd14c77ca34333d11b456d4a7;hb=eefe5267ed97b38ac66179141994fc8c9dd09ea8;hp=62f56a79c88253967b7503045c03755d26b7efc3;hpb=4deaa6ba6e084655989c30cfb7d9dd307408c7dc;p=fa-stable.git diff --git a/purchasing/includes/db/supp_payment_db.inc b/purchasing/includes/db/supp_payment_db.inc index 62f56a79..b5adb163 100644 --- a/purchasing/includes/db/supp_payment_db.inc +++ b/purchasing/includes/db/supp_payment_db.inc @@ -80,7 +80,7 @@ function write_supp_payment($trans_no, $supplier_id, $bank_account, /*now enter the bank_trans entry */ add_bank_trans(ST_SUPPAYMENT, $payment_id, $bank_account, $ref, - $date_, -($bank_amount + $bank_charge), PT_SUPPLIER, $supplier_id); + $date_, -$bank_amount, -$bank_charge, PT_SUPPLIER, $supplier_id); add_comments(ST_SUPPAYMENT, $payment_id, $date_, $memo_);