From 27a165363261741ecf5c10187a572f1278be0a17 Mon Sep 17 00:00:00 2001 From: Agustin Moyano Date: Thu, 23 May 2019 00:15:47 -0300 Subject: [PATCH] Bug 20691: (follow-up) Fix qa fails Signed-off-by: Kyle M Hall Signed-off-by: Martin Renvoize --- .../bootstrap/en/includes/account-table.inc | 12 ++++++------ .../opac-tmpl/bootstrap/en/modules/opac-user.tt | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc index c51efbe358..cab63bc0eb 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc @@ -117,9 +117,9 @@ [% END %] [% FOREACH r IN relatives %] -

[% r.patron.firstname %] [% r.patron.surname %]'s fines and charges

+

[% r.patron.firstname | html %] [% r.patron.surname | html %]'s fines and charges

- +
@@ -134,12 +134,12 @@ [% FOREACH a IN r.accountlines %] [% SET account_sum = account_sum + a.amountoutstanding %] - + [% IF ( a.amount < 0 ) %] [% IF ( a.amountoutstanding < 0 ) %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt index 339f0b8637..66a47cea6f 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt @@ -424,8 +424,8 @@ [% FOREACH r IN relatives_with_fines %] - - + + [% END %] -- 2.39.5
Date
[% a.date | $KohaDates %][% a.date | $KohaDates %] [% PROCESS account_type_description account=a %] - [%- IF a.payment_type %], [% AuthorisedValues.GetByCode('PAYMENT_TYPE', a.payment_type, 1) %][% END %] - [%- IF a.description %], [% a.description %][% END %] - [% IF a.itemnumber %]([% a.item.biblio.title %])[% END %] + [%- IF a.payment_type %], [% AuthorisedValues.GetByCode('PAYMENT_TYPE', a.payment_type, 1) | html %][% END %] + [%- IF a.description %], [% a.description | html %][% END %] + [% IF a.itemnumber %]([% a.item.biblio.title | html %])[% END %] [% ELSE %][% END %][% a.amount | $Price %][% ELSE %][% END %][% a.amountoutstanding | $Price %]
[% r.firstname %] [% r.surname %] currently owes fines and charges amounting to:[% r.account.balance | $Price %][% r.firstname | html %] [% r.surname | html %] currently owes fines and charges amounting to:[% r.account.balance | $Price %]