Main Koha release repository https://koha-community.org
Find a file
Martin Renvoize 422ab47283
Bug 26689: Check for specific template then fallback - printfeercpt
This patch adds a check for a more specific ACCOUNT_CREDIT template
(named to match the credit_type_code of the credit line) prior to
falling back to the ACCOUNT_CREDIT template.

Test plan
1/ On a patrons account page use the print option on a series of credit
lines with differing credit types (Payment, Lost Item Return, Writeoff)
2/ Note that the same template 'ACCOUNT_CREDIT' is used for all types
3/ Apply the patch
4/ Run step 1 again and note all still print using ACCOUNT_CREDIT
5/ Add a new notice template under the 'circulation' module with a code
that matches one of your account credit types (PAYMENT, WRITEOFF,
LOST_FOUND)
6/ Run step 1 again and note that where you have added a specific notice
for that credit type it has been used.

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-07-22 15:01:36 -03:00
acqui Bug 14680: Always subtract discount from price to calculate estimated cost 2022-07-18 11:17:50 -03:00
admin Bug 29001: Fix framework edition when subfields are reordered 2022-07-21 15:57:25 -03:00
api Bug 31128: Add effective_not_for_loan_status into items response 2022-07-22 11:32:26 -03:00
authorities Bug 29333: Fix encoding of imported UNIMARC authorities 2022-07-08 15:43:33 -03:00
basket Bug 29871: Remove marcflavour param in Koha::Biblio->get_marc_notes 2022-06-06 14:26:51 -03:00
bin
C4 Bug 30838: (QA follow-up) Add missing semicolon 2022-07-22 14:45:59 -03:00
catalogue Bug 31213: Auto search simple term quoted 2022-07-22 11:11:19 -03:00
cataloguing Bug 30909: Retain permanent_location if mapped 2022-07-20 09:05:45 -03:00
circ Bug 31192: Check for item before calling is_bundle 2022-07-20 11:50:05 -03:00
clubs
course_reserves Bug 30409: barcodedecode() should always trim barcode 2022-06-14 07:54:58 -03:00
debian Bug 21903: (follow-up) update documentation 2022-07-05 11:46:37 -03:00
docs Bug 30808: Add the 22.05 release team. 2022-05-25 23:56:12 -10:00
errors
etc Bug 29936: Add holds_get_captured option to sip config 2022-05-05 11:17:37 -10:00
ill
installer Bug 31086: DBRev 22.06.00.020 2022-07-22 14:41:15 -03:00
Koha Bug 30678: (follow-up) Add oclc_number routine and friends 2022-07-22 14:58:11 -03:00
koha-tmpl Bug 30678: Adjust pref description 2022-07-22 14:58:11 -03:00
labels Bug 31137: (QA follow-up) Also fix new template page 2022-07-18 10:22:30 -03:00
lib/CGI/Session/Serialize
members Bug 26689: Check for specific template then fallback - printfeercpt 2022-07-22 15:01:36 -03:00
misc Bug 31122: Terminology - Replace occurences of 'Notices & slips' with 'Notices and slips' 2022-07-08 15:08:23 -03:00
offline_circ Bug 30275: Rename issues.renewals to issues.renewals_count 2022-07-05 09:45:55 -03:00
opac Bug 30678: (follow-up) Change call in opac scripts 2022-07-22 14:58:12 -03:00
patron_lists
patroncards
plugins
pos Bug 28481: (RM follow-up) formatting 2021-12-16 12:13:51 -10:00
recalls Bug 30924: Add missing branchtransfers.reason value for recall cancellation 2022-06-13 10:30:51 -03:00
reports Bug 27045: Fix items lost report export if delimiter is tab 2022-07-20 11:50:40 -03:00
reserve Bug 30960: Fix JS error message when no pick-up location is selected when placing a hold 2022-06-20 10:44:04 -03:00
reviews
rotating_collections
serials Bug 27045: (follow-up) Fix delimiter in header rows 2022-07-20 11:50:41 -03:00
services Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
skel
suggestion Bug 23991: Move SearchSuggestion to Koha::Suggestions 2022-06-27 12:30:28 -03:00
svc Bug 25498: Add transfer button on intranet 2022-07-19 11:25:23 -03:00
t Bug 30678: (follow-up) Add oclc_number routine and friends 2022-07-22 14:58:11 -03:00
tags
tmp/modified_authorities
tools Bug 31000: Warn removal: param record_type can be undef 2022-07-11 18:20:15 -03:00
virtualshelves Bug 30933: (follow-up) Use cannot_be_transferred in shelves scripts 2022-07-20 09:04:07 -03:00
xt
.editorconfig Bug 27375: Set YAML file settings in .editorconfig 2021-11-03 15:40:52 +01:00
.eslintrc.json
.gitignore
.htaccess
.mailmap 22.05.00: Update mailmap 2022-05-25 23:56:12 -10:00
.perlcriticrc
.proverc.dist
.scss-lint.yml Bug 21237: Clean up staff client SCSS 2018-08-24 16:23:25 +00:00
about.pl Bug 27667: Display a warning for records missing in Elasticsearch 2022-07-18 14:53:15 -03:00
app.psgi
changelanguage.pl
cpanfile Bug 25669: (follow-up) Minor fixes 2022-06-23 11:30:44 -03:00
fix-perl-path.PL
gulpfile.js
help.pl
INSTALL Bug 26617: Update INSTALL file to include koha-testing-docker and Gitlab links 2020-10-15 12:56:30 +02:00
Koha.pm Bug 31086: DBRev 22.06.00.020 2022-07-22 14:41:15 -03:00
koha_perl_deps.pl
kohaversion.pl
LICENSE Bug 9440 - update Koha's LICENSE file from GPL2 to GPL3 2013-02-12 08:52:10 -05:00
mainpage.pl Bug 29020: Add link on the mainpage for users without admin access 2021-10-19 09:29:09 +02:00
Makefile.PL
MANIFEST.SKIP Bug 9546 : Updating make manifest tardist 2013-02-06 23:54:46 -05:00
package.json
README
README.md Bug 27092: Remove note about "synced repo" from README.md 2020-11-25 16:31:58 +01:00
README.robots
rewrite-config.PL
yarn.lock

Koha is a free software integrated library system (ILS).

Koha is distributed under the GNU GPL version 3 or later.

Note: Koha does not accept pull requests from git hosting sites.

Note: This project has its own bug tracker, to report a bug or submit a patch visit http://bugs.koha-community.org.

For guidelines on submitting patches for Koha please visit https://wiki.koha-community.org/wiki/SubmitingAPatch

The developers handbook can be found at https://wiki.koha-community.org/wiki/Developer_handbook

http://koha-community.org/

Koha Logo