Thank you once again for the awesome addition above. There are two issues -
Can you please remove the time shown in the “PAST ENCOUNTER” coloumn?
The TOTAL AMOUNT PAID is showing erronous calculations. It is showing all the payments done by the patient for his/her each and every encounter by summing up all. This should not be the scenario, Total amount paid, should show the amount paid by the patient for this encounter and if he pays, partial amount, the rest should be shown in due Amount.
There are more issues…if i include total charge in the payment, then also it is calculating the total charge by summing up all the previous encounter charges to be paid. Suppose, If a patient did an encounter on 26th April and was billed for Rs. 700 - paid on the 26th april itself and again did an encounter on 28th April and billed for Rs 500, now even after payment of Rs. 700 (of previous encounter) total charge/total amount to be paid is showing as 1200 rather than 500…
This is also the case with total amount paid at the bottom, it is also showing the summed up value of all the payments done rather than the patient paid currently. if there is any due, it should reflect in the Amount due part.
RECEIPT FOR PAYMENT
FACLIITY ADDRESS AND PHONE NUMBER
DATE OF PAYMENT: Date on which the patient is paying money
PATIENT: Name and PID
PAID VIA: Mode of PAyment
CHECK/REF NO. Any reference/cheque number
AMOUNT TO BE PAID FOR CURRENT VISIT(A): Amount billed for current encounter in fee sheet
TOTAL AMOUNT DUE FOR ANY PAST VISIT(B): Amount Due for past encounter if any
please help me with “TOTAL AMOUNT TO BE PAID” - It should show only the charge billed for current encounter + any due for previous encounter. how to do that. plewase help
It should not sum up all the fees paid +non paid for that particular patient as shown in the attachment above.(Last 5 posts)
In our codebase it is 483 line number. But it may differ in yours. So search for "Total Amount Paid" inside the file interface->patient_file->front_payment.php. You have to replace the $fe['fees'] under the matched line.
For making things easy, I have made a new branch out of master and changed the front_payment.php according to your changes till date. Here is the link -
This is from the most current branch.
Please check for any discrepancy from your directions provided to me…and also make the necessary changes to it like the $fee changes…I will be highly obliged…
I only want you to tell me how to show the AMOUNT TO BE PAID FOR PAST VISIT in the receipt. It is the amount which the patient has left due in the previous encounters. I want to print them on the receipt, this is not the amount which the patient pays now for the last visit but the due which he needs to pay for his last encounter.
We, Pohnpei Community Health Center- in Micronesia, had used your services in 2016 for some custom coding. I don’t have any programming skills, so sorry I can’t do coding contributions to projects, although I had made a small monetary contribution to the OpenEMR project and looking foreward to making more monetary contributions cause I do like the project. Reason for this post is that I wanted to know if there is a possibility to include an incrementing receipt number printed on payment receipts. We collect payments(mostly cash) to be deposited into a government account and they require incrementing receipt numbers for audit purposes. I mentioned that I don’t have programming skills, but I can cut and past codes.