Koha/members
Martin Renvoize cff7ed4fd3 Bug 26734: Convert printfeercpt/printinvoice to use GetPreparedLetter
This patch updates C4::Letters to allow use of existing koha template
includes from notices, then updates the printfeercpt and printinvoice
slip print option to use GetPreparedLetter rather than calling getletter
directly.

As part of this work, we also add credits and debits handling to the
_parseletter_sth and _get_tt_params routines in C4::Letters to allow for
recognisable variable names in the notice template.

Test plan
1/ Update the ACCOUNT_CREDIT and ACCOUNT_DEBIT notices to use
'accounts.inc' include for account descriptions
1a/ Add `[% PROCESS 'accounts.inc' %]` to the top of the notice
1b/ Replace manual account descriptions with `[% PROCESS
account_type_description account=credit %]`
2/ Print one of each slip and check that descriptions are properly
substituted
3/ Clone the notice to another language
4/ Print the in the other language and note the translated descriptions
are properly substituted.
5/ Signoff

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-04-27 16:23:49 +02:00
..
accountline-details.pl
apikeys.pl
boraccount.pl Bug 27971: Update void method to use double entry accounting 2021-04-23 11:58:49 +02:00
cancel-charge.pl Bug 24603: Adjust permissions for cancel-charge.pl 2020-11-10 15:00:14 +01:00
default_messageprefs.pl
deletemem.pl Bug 27144: Fix syntax error that prevents deleting patrons 2020-12-04 15:26:49 +01:00
discharge.pl
discharges.pl
files.pl
guarantor_search.pl Bug 23271: Replace search_limited with search_with_library_limits 2021-04-21 15:25:07 +02:00
holdshistory.pl
housebound.pl
ill-requests.pl
mancredit.pl
maninvoice.pl
member-flags.pl
member-password.pl
member.pl
memberentry.pl Bug 23271: Replace search_limited with search_with_library_limits 2021-04-21 15:25:07 +02:00
members-home.pl Bug 23271: Replace search_limited with search_with_library_limits 2021-04-21 15:25:07 +02:00
members-update-do.pl
members-update.pl
merge-patrons.pl
mod_debarment.pl
moremember.pl
notices.pl
patronimage.pl
pay.pl Bug 28147: Pass itemnumber through to Account->pay 2021-04-16 12:28:17 +02:00
paycollect.pl
print_overdues.pl
printfeercpt.pl Bug 26734: Convert printfeercpt/printinvoice to use GetPreparedLetter 2021-04-27 16:23:49 +02:00
printinvoice.pl Bug 26734: Convert printfeercpt/printinvoice to use GetPreparedLetter 2021-04-27 16:23:49 +02:00
printslip.pl Bug 27851: Use filter_by_todays_checkins in printslip.pl 2021-03-05 13:54:13 +01:00
purchase-suggestions.pl
readingrec.pl Bug 27851: Use filter_by_todays_checkins in members/readingrec.pl 2021-03-05 13:54:13 +01:00
routing-lists.pl
setstatus.pl
statistics.pl
summary-print.pl
update-child.pl Bug 23271: Replace search_limited with search_with_library_limits 2021-04-21 15:25:07 +02:00