Bug 24208: (follow-up) Change page title from payment to writeoff

This makes a change requested by the first tester:
Also change the page title when a writeoff is done vs
a payment.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Katrin Fischer 2019-12-22 13:30:02 +00:00 committed by Joy Nelson
parent 1923502ff7
commit 2e11fc4ef9
1 changed files with 7 additions and 1 deletions

View File

@ -6,7 +6,13 @@
[% USE Price %]
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
<title>Koha &rsaquo; Patrons &rsaquo; Collect fine payment for [% patron.firstname | html %] [% patron.surname | html %]</title>
<title>Koha &rsaquo; Patrons &rsaquo;
[% IF type == 'WRITEOFF' %]
Write off an amount for [% patron.firstname | html %] [% patron.surname | html %]
[% ELSE %]
Collect fine payment for [% patron.firstname | html %] [% patron.surname | html %]
[% END %]
</title>
[% INCLUDE 'doc-head-close.inc' %]
</head>