From 96ddfbbb0fe16699cdd474a4b6c253d0fa4ec2da Mon Sep 17 00:00:00 2001 From: Joe Date: Fri, 3 Mar 2023 16:10:01 +0100 Subject: [PATCH] bug. Supplier Payment db calls void_cust_allocations. Fixed to void_supp_allocations. --- 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 70119577..a88f9654 100644 --- a/purchasing/includes/db/supp_payment_db.inc +++ b/purchasing/includes/db/supp_payment_db.inc @@ -25,7 +25,7 @@ function write_supp_payment($trans_no, $supplier_id, $bank_account, delete_comments(ST_SUPPAYMENT, $trans_no); void_bank_trans(ST_SUPPAYMENT, $trans_no, true); void_gl_trans(ST_SUPPAYMENT, $trans_no, true); - void_cust_allocations(ST_SUPPAYMENT, $trans_no, $date_); + void_supp_allocations(ST_SUPPAYMENT, $trans_no, $date_); } $bank = get_bank_account($bank_account); -- 2.30.2