From fccd5009a1130f4d36c3c5fe13daaa3e842ac224 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sat, 13 Jan 2024 18:46:41 +0000 Subject: [PATCH] Bug 33452: Reindent borrowers_stats.tt This patch only contains whitespace changes, including switching from tabs to 4 spaces for indenting consistently. To test: * There shoudl be no change in appearance and behavior Signed-off-by: Lucas Gass --- .../en/modules/reports/borrowers_stats.tt | 559 +++++++++--------- 1 file changed, 290 insertions(+), 269 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt index b1d18ce69d..a1a86beb29 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt @@ -16,8 +16,8 @@ [% INCLUDE 'doc-head-close.inc' %] @@ -50,277 +50,298 @@
- -

Patrons statistics

-[% IF ( do_it ) %] - [% FOREACH mainloo IN mainloop %] - [% IF ( mainloo.loopfilter.size>0 ) %] -

Filtered on:

- [% FOREACH loopfilte IN mainloo.loopfilter %] -

- [% loopfilte.crit | html %] = [% loopfilte.filter | html %] -

- [% END %] - [% END %] - - - - [% FOREACH loopco IN mainloo.loopcol %] - - [% END %] - - - [% FOREACH loopro IN mainloo.looprow %] - - - [% FOREACH loopcel IN loopro.loopcell %] - - [% END %] - - - [% END %] - - - [% FOREACH loopfoote IN mainloo.loopfooter %] - - [% END %] - - -
[% mainloo.line | html %] / [% mainloo.column | html %][% IF ( loopco.coltitle_display ) %][% loopco.coltitle_display | html %][% ELSE %][% loopco.coltitle | html %][% END %] - TOTAL
[% IF ( loopro.rowtitle_display ) %][% loopro.rowtitle_display | html %][% ELSE %][% loopro.rowtitle | html %][% END %] - [% IF ( loopcel.value ) %][% loopcel.value | html %][% ELSE %] [% END %] - [% loopro.totalrow | html %]
TOTAL[% loopfoote.totalcol | html %][% mainloo.total | html %]
- [% END %] -[% ELSE %] - -
-
Patrons statistics - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [% IF ( SORT1_LOOP ) %] - - - - - - - [% ELSE %] - - [% END %] - [% IF ( SORT2_LOOP ) %] - - - - - - - [% ELSE %] - - [% END %] - [% IF Koha.Preference('ExtendedPatronAttributes') %] - - - - [% FOREACH pa_loo IN patron_attributes %] - [% IF (pa_loo.class) %] - - - - - [% END %] - [% FOREACH patron_attribute IN pa_loo.items %] - - - - - - - [% END %] - [% END %] - [% END %] - -
TitleRowColumnFilter
Patron category - -
Patron status
Patron activity - -
ZIP/Postal code -
- -  
Library - -
Date of birth - - - - - [% INCLUDE 'date-format.inc' %] -
Gender - -
Sort1 - -
Sort2 - -
Patron attributes
[% pa_loo.class | html %] ([% pa_loo.lib | html %])
- [% patron_attribute.code | html %] - ([% patron_attribute.description | html %]) - - - - - - [% IF ( patron_attribute.use_dropdown ) %] - - [% ELSE %] - +

Patrons statistics

+ [% IF ( do_it ) %] + [% FOREACH mainloo IN mainloop %] + [% IF ( mainloo.loopfilter.size>0 ) %] +

Filtered on:

+ [% FOREACH loopfilte IN mainloo.loopfilter %] +

+ [% loopfilte.crit | html %] = [% loopfilte.filter | html %] +

+ [% END %] [% END %] -
-
+ + + + [% FOREACH loopco IN mainloo.loopcol %] + + [% END %] + + + [% FOREACH loopro IN mainloo.looprow %] + + + [% FOREACH loopcel IN loopro.loopcell %] + + [% END %] + + + [% END %] + + + [% FOREACH loopfoote IN mainloo.loopfooter %] + + [% END %] + + +
[% mainloo.line | html %] / [% mainloo.column | html %] + [% IF ( loopco.coltitle_display ) %][% loopco.coltitle_display | html %][% ELSE %][% loopco.coltitle | html %][% END %] + TOTAL
+ [% IF ( loopro.rowtitle_display ) %][% loopro.rowtitle_display | html %][% ELSE %][% loopro.rowtitle | html %][% END %] + + [% IF ( loopcel.value ) %] + [% loopcel.value | html %] + [% ELSE %] +   + [% END %] + [% loopro.totalrow | html %]
TOTAL[% loopfoote.totalcol | html %][% mainloo.total | html %]
+ [% END %] + [% ELSE %] - -
- Output -
    -
  1. - -
  2. -
  3. - - - - - -
  4. -
-
+ +
+ Patrons statistics + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [% IF ( SORT1_LOOP ) %] + + + + + + + [% ELSE %] + + [% END %] + [% IF ( SORT2_LOOP ) %] + + + + + + + [% ELSE %] + + [% END %] + [% IF Koha.Preference('ExtendedPatronAttributes') %] + + + + [% FOREACH pa_loo IN patron_attributes %] + [% IF (pa_loo.class) %] + + + + + [% END %] + [% FOREACH patron_attribute IN pa_loo.items %] + + + + + + + [% END %] + [% END %] + [% END %] + +
TitleRowColumnFilter
Patron category + +
Patron status + +
Patron activity + + + + +
ZIP/Postal code + +
+ + +  
Library + +
Date of birth + + + + + [% INCLUDE 'date-format.inc' %] +
Gender + +
Sort1 + +
Sort2 + +
Patron attributes
[% pa_loo.class | html %] ([% pa_loo.lib | html %])
+ [% patron_attribute.code | html %] + ([% patron_attribute.description | html %]) + + + + + + [% IF ( patron_attribute.use_dropdown ) %] + + [% ELSE %] + + [% END %] +
+
-
- - - -
-
-[% END %] +
+ Output +
    +
  1. + +
  2. +
  3. + + + + + + + +
  4. +
+
+
+ + + +
+ + [% END %]
-- 2.30.2