From: Joe Date: Fri, 3 Mar 2023 15:10:01 +0000 (+0100) Subject: bug. Supplier Payment db calls void_cust_allocations. Fixed to void_supp_allocations. X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=commitdiff_plain;h=96ddfbbb0fe16699cdd474a4b6c253d0fa4ec2da bug. Supplier Payment db calls void_cust_allocations. Fixed to void_supp_allocations. --- 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);