From ee58357e3e1c1d07d72b8ffd421e3eda78055812 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Fri, 26 Jun 2009 19:24:03 +0000 Subject: [PATCH] Minor bug --- purchasing/includes/db/supp_payment_db.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.30.2