Koha/koha-tmpl/intranet-tmpl/prog/en/includes/renew_results.inc
Nick Clemens 2ba1493e2e
Bug 23051: (QA follow-up) Missing curly and tabs and fix test
Some rebase issues, accounttype no longer exists, circ rules make
CanBookBeRenewed fail, so we mock that too

interface must be passed as a hashref

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-03-06 10:03:41 +00:00

12 lines
677 B
HTML

[% IF renew_results && renew_results.size > 0 %]
<div class="alert">
The fines on the following items were paid off, renewal results are displayed below:
[% FOREACH result IN renew_results %]
[% IF result.success %]
<p>[% INCLUDE 'biblio-title.inc' biblio=result.item.biblio %] ( [% result.item.barcode | html %] ): Renewed - due [% result.info | html %]</p>
[% ELSE %]
<p>[% INCLUDE 'biblio-title.inc' biblio=result.item.biblio %] ( [% result.item.barcode | html %] ): Not renewed - [% INCLUDE 'renew_strings.inc' error=result.info %]</p>
[% END %]
[% END %]
</div>
[% END %]