I was trying to introduce some changes in the Receipt for Payment (Fees->Payment) when I came across this bug. This issue is present in the official demo on the wiki too. I am on windows and using openemr in chrome browser.
After you click on generate invoce in Fees->Payment, a receipt is generated with a print button at the bottom. Clicking on the print button donot print the receipt, infact it does nothing (Just a blank click).
I tried to look at the php error log, but nothing is shown there…no error report.
Hi Roberto…
Thanks for your Input. The link you pointed to, doesnot address my issue. The issue is not with the payment function or the report generation. It is about the “PRINT” button which doesnot work. On clicking the Print button, it doesnot do anything. The demo also has the same issues.
Confirmed bug. It shows the following javascript errors when load up that script:
TypeError: document.getElementById(…) is null front_payment.php:667
01:20:53.435 POST http://192.168.1.160/openemr/interface/patient_file/front_payment.php [HTTP/1.1 200 OK 292ms]
01:20:53.758 TypeError: opener is null
The recently added print log functionality requires opener to be set, so guessing the bug lies there.
Thanks Rod.
The print works but there is a new issue now, the clinic details like the clinic name and the address are now missing from the top part of the receipt (Below the “RECEIPT for PAYMENT” Heading).