Koha/pos
Martin Renvoize 120a95cdb6 Bug 28368: Add fallback language for anonymous payment receipts
This adds a fallback for when a payment is made anonymously to allow
printing a receipt in the staff members current session language.

Test plan
1. Set `EnablePointOfSale` and `UseCashRegisters`
2. Add new cash register`
3. New debit type that 'can be sold'
4. Make a sale (via Point of Sale) using the above debit type.
5. Attempt to 'print receipt' from the subsequent prompt
6. Not the ISE: Can't call method "lang"
7. Apply patch
8. Attempt to 'print receipt' again, this time it should work.

Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-05-27 14:12:24 +02:00
..
pay.pl Bug 28181: Filter out archived debit types in point of sale 2021-05-10 15:46:54 +02:00
printreceipt.pl Bug 28368: Add fallback language for anonymous payment receipts 2021-05-27 14:12:24 +02:00
register.pl Bug 27796: Centralise payment/transaction type handling 2021-04-16 12:28:17 +02:00
registers.pl