From fd0bbe84d327d015c8aa44a4c2f3f2087b7c2a78 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sat, 7 Jan 2023 01:31:34 +0000 Subject: [PATCH] Bug 32587: Add page-section to 'items with no checkouts' report MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This adds page sections to the summary and result tables for the 'items with no checkouts' report. To test: * Run the 'item with no checkouts' report with different settings * Confirm result tables are missing the white brackground from page-section * Apply patch * Confirm the result tables now do have the white background Signed-off-by: Frédéric Demians → Confirm both problem and solution Signed-off-by: Martin Renvoize Signed-off-by: Tomas Cohen Arazi (cherry picked from commit bb9db8fcfa7fb587d16fc0e553f94087c1b2962e) Signed-off-by: Jacob O'Mara --- .../prog/en/modules/reports/catalogue_out.tt | 112 +++++++++--------- 1 file changed, 58 insertions(+), 54 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_out.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_out.tt index 12e29249bb..35a62dd0dd 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_out.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_out.tt @@ -53,67 +53,71 @@ [% END %] [% IF ( mainloo.looptables ) %] -

Summary

- - - - - - - - [% FOREACH looptable IN mainloo.looptables %] +
+

Summary

+
GroupCall number rangeNumber of items displayedTotal items in group
- - - - + + + + - [% END %] - - - - - - -
- [% looptable.coltitle | html %] - - [% IF ( looptable.looptable_count ) %] - [% looptable.looptable_first | html %] to [% looptable.looptable_last | html %] - [% END %] - [% looptable.looptable_count | html %][% looptable.coltitle_count | html %]GroupCall number rangeNumber of items displayedTotal items in group
TOTAL[% mainloo.total_looptable_count | html %][% mainloo.total_coltitle_count | html %]
- [% END %] - - [% FOREACH looptable IN mainloo.looptables %] -

- - [% looptable.coltitle | html %] -

- - - - - - - - [% IF ( looptable.looprow ) %] - [% FOREACH loopro IN looptable.looprow %] + [% FOREACH looptable IN mainloo.looptables %] - - - + + + [% END %] - [% ELSE %] - - - - [% END %] -
#Call numberBarcodeItem details
[% loop.count | html %][% IF ( loopro.itemcallnumber ) %][% loopro.itemcallnumber | html %][% ELSE %]No call number[% END %][% IF ( loopro.barcode ) %][% loopro.barcode | html %][% ELSE %]No barcode[% END %] -

[% IF ( loopro.title ) %][% loopro.title | html %][% ELSE %]NO TITLE[% END %] [% IF ( loopro.author ) %] by [% loopro.author | html %][% END %]

- [% IF ( loopro.branch ) %]at [% Branches.GetName( loopro.branch ) | html %][% END %] + [% looptable.coltitle | html %]
+ [% IF ( looptable.looptable_count ) %] + [% looptable.looptable_first | html %] to [% looptable.looptable_last | html %] + [% END %] + [% looptable.looptable_count | html %][% looptable.coltitle_count | html %]
No items for [% looptable.coltitle | html %]
+ + TOTAL + + [% mainloo.total_looptable_count | html %] + [% mainloo.total_coltitle_count | html %] + + + + [% END %] + + [% FOREACH looptable IN mainloo.looptables %] +
+

+ + [% looptable.coltitle | html %] +

+ + + + + + + + [% IF ( looptable.looprow ) %] + [% FOREACH loopro IN looptable.looprow %] + + + + + + + [% END %] + [% ELSE %] + + + + [% END %] +
#Call numberBarcodeItem details
[% loop.count | html %][% IF ( loopro.itemcallnumber ) %][% loopro.itemcallnumber | html %][% ELSE %]No call number[% END %][% IF ( loopro.barcode ) %][% loopro.barcode | html %][% ELSE %]No barcode[% END %] +

[% IF ( loopro.title ) %][% loopro.title | html %][% ELSE %]NO TITLE[% END %] [% IF ( loopro.author ) %] by [% loopro.author | html %][% END %]

+ [% IF ( loopro.branch ) %]at [% Branches.GetName( loopro.branch ) | html %][% END %] +
No items for [% looptable.coltitle | html %]
+
[% END %] [% END %] [% ELSE %] -- 2.39.5