$total += add_gl_trans_customer(ST_CUSTPAYMENT, $payment_no, $date_,
$charge_act, 0, 0, $charge, $customer_id,
"Cannot insert a GL transaction for the payment bank charge debit", $rate);
$total += add_gl_trans_customer(ST_CUSTPAYMENT, $payment_no, $date_,
$charge_act, 0, 0, $charge, $customer_id,
"Cannot insert a GL transaction for the payment bank charge debit", $rate);