Changed the text Manifactoring => Manifacturing
[fa-stable.git] / purchasing / includes / db / supp_payment_db.inc
index d7c3ccea27eb27ad65410df4492fc16d53d599a0..c44c8140b2b6a50e31ebb3b856e1fb940e3dc006 100644 (file)
@@ -71,7 +71,7 @@ function add_supp_payment($supplier_id, $date_, $bank_account,
 
    /*now enter the bank_trans entry */
        add_bank_trans($trans_type, $payment_id, $bank_account, $ref,
-               $date_, -($amount), payment_person_types::supplier(),
+               $date_, -($amount + $supp_charge), payment_person_types::supplier(),
                $supplier_id, $bank_account_currency,
                "Could not add the supplier payment bank transaction");