From: Joe Hunt Date: Fri, 26 Jun 2009 19:24:03 +0000 (+0000) Subject: Minor bug X-Git-Tag: v2.4.2~19^2~1354 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=ee58357e3e1c1d07d72b8ffd421e3eda78055812;p=fa-stable.git Minor bug --- diff --git a/purchasing/includes/db/supp_payment_db.inc b/purchasing/includes/db/supp_payment_db.inc index d7c3ccea..c44c8140 100644 --- a/purchasing/includes/db/supp_payment_db.inc +++ b/purchasing/includes/db/supp_payment_db.inc @@ -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");