From 27d14dca6b2cde190d84aea368b281b5327a726d 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 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 --- .../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 ddb41ca3d0..fa2090dbc4 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.30.2