Bug 23051: (follow-up) Add renewal feedback and move code to subroutines and test
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / renew_results.inc
blob4c4ab3c05676ebf76c4017398a84d63d654a1c56
1 [% IF renew_results && renew_results.size > 0 %]
2     <div class="alert">
3                 The fines on the following items were paid off, renewal results are displayed below:
4                 [% FOREACH result IN renew_results %]
5                         [% IF result.success %]
6                                 <p>[% INCLUDE 'biblio-title.inc' biblio=result.item.biblio %] ( [% result.item.barcode | html %] ): Renewed - due [% result.info | html %]</p>
7                         [% ELSE %]
8                                 <p>[% INCLUDE 'biblio-title.inc' biblio=result.item.biblio %] ( [% result.item.barcode | html %] ): Not renewed - [% INCLUDE 'renew_strings.inc' error=result.info %]</p>
9                         [% END %]
10                 [% END %]
11     </div>
12 [% END %]