initial copy from report_cust_pay.html