[Koha-bugs] [Bug 28374] Convert pos/printreceipt.pl to use GetPreparedLetter

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 15 12:00:18 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28374

--- Comment #17 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
I would have tried to limit a bit more the matches

* UPDATE letter SET content = REPLACE(content, 'payment.', 'credit.') WHERE
code = 'RECEIPT';

Could have been payment\.

* UPDATE letter SET content = REPLACE(content, 'offset', 'debit') WHERE code =
'RECEIPT';

offset\. and debit.

* UPDATE letter SET content = REPLACE(content, 'offsets', 'credit.debits')
WHERE code = 'RECEIPT';

IN offsets

Not considering blocker.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list