Finance module and receipt printout

Hi Ross,

I have created invoices and payments successfully. I’m now trying to printout receipts for payments recorded but the only option available is invoice printout. How can I printout payment receipts? Could this be a bug in my 12 dev. version?

Kind regards,
Roman

Hi Ross,

I don’t know if this helps but I noticed that when I add the final payment setting status to Paid suddenly all receipts show up. This behavior is identical on 12dev and 11. Isn’t this strange? What could cause this?

Kind regards,
Roman

Hi Ross,

I noticed that the status of an invoice can only be changed e.g. from “Paid - Partial” to “Paid” when recording a new payment. Assuming the cashier forgot to change the status when recording the final payment. How can he change the status from “Paid - Partial” to “Paid” without recording a fictional payment with a zero amount, which would create a new rather unwanted receipt?

Kind regards,
Roman

Roman, after an invoice has been issued, it can be marked as paid: either in one go (e.g. set status to “Paid”) or over a number of payments (where the initial payment(s) have status “Paid - Partial”, and the final has status “Paid”). I have just tested this in v12 dev, and it is working as expected. Is this not what you are seeing?

One payment is set to Paid or Paid - Partial, you should be able to print a receipt.

Ross

Hi Ross,

The way you explain it is exactly what I’m expecting, but it doesn’t happen. Apparently there is a problem somewhere in my setup or so.

Again: My receipt links don’t show up unless I do the final payment.

Let me do further tests. I should be able to figure out what is going wrong.

Kind regards,
Roman

Roman,

Actually, you were right, it did not work as intended. I have fixed it in v12, but the edited files (shown below) are not backwards compatible to v11:

https://github.com/GibbonEdu/core/commit/55d210bca8380c55105119619ae25637ae14ead6

However, if you replicate the change to line 169 in your v11 copy of modules/Finance/invoices_manage_print.php you should see that it does what you want.

Thanks,

Ross

Ross, Thanks for the fix. I’ll check it out and get back to you! Roman