From da29e995a1a4408fa875b6d2b5e7ed5e4339a7f4 Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Tue, 11 May 2010 11:28:21 +0000 Subject: [PATCH] Fixed function name convention. --- sales/includes/db/sales_credit_db.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sales/includes/db/sales_credit_db.inc b/sales/includes/db/sales_credit_db.inc index efb743cd..1018f28a 100644 --- a/sales/includes/db/sales_credit_db.inc +++ b/sales/includes/db/sales_credit_db.inc @@ -88,7 +88,7 @@ function write_credit_note($credit_note, $write_off_acc) void_trans_tax_details(ST_CUSTCREDIT, $credit_no); } if ($credit_invoice) { - $invoice_alloc_balance = get_DebtorTrans_allocation_balance(ST_SALESINVOICE, $credit_invoice); + $invoice_alloc_balance = get_debtor_trans_allocation_balance(ST_SALESINVOICE, $credit_invoice); update_customer_trans_version(get_parent_type(ST_CUSTCREDIT), $credit_note->src_docs ); if ($invoice_alloc_balance > 0) { //the invoice is not already fully allocated $total = $credit_note_total + $credit_note->freight_cost + -- 2.30.2