[% IF ( do_it ) %]
[% FOREACH mainloo IN mainloop %]
Circulation statistics
[% IF ( mainloo.loopfilter ) %]
Filtered on:
[% FOREACH loopfilte IN mainloo.loopfilter %]
[% IF ( loopfilte.err ) %]
- Error:
[% ELSIF ( loopfilte.sql ) %]
-
[% ELSE %]
-
[% END %]
[% SWITCH loopfilte.crit %]
[% CASE 0 %]Period From
[% CASE 1 %]Period To
[% CASE 2 %]Patron Category =
[% CASE 3 %]Item Type =
[% CASE 4 %]Issuing library =
[% CASE 5 %]Collection =
[% CASE 6 %]Location =
[% CASE 7 %]Item call number >=
[% CASE 8 %]Item call number <
[% CASE 9 %]Patron sort1 =
[% CASE 10 %]Patron sort2 =
[% CASE 11 %]Home library =
[% CASE 12 %]Holding library =
[% CASE 13 %]Patron library =
[% CASE 14 %]Issuing library =
[% CASE %][% loopfilte.crit %] =
[% END %]
[% loopfilte.filter %]
[% END %]
[% END %]
[% mainloo.line %] / [% mainloo.column %] |
[% FOREACH loopco IN mainloo.loopcol %]
[% loopco.coltitle_display |html %] |
[% END %]
TOTAL |
[% FOREACH loopro IN mainloo.looprow %]
[% loopro.rowtitle_display or "UNKNOWN VALUE" |html %] |
[% FOREACH loopcel IN loopro.loopcell %]
[% loopcel.value || 0 %] |
[% END %]
[% loopro.totalrow %] |
[% END %]
TOTAL |
[% FOREACH loopfoote IN mainloo.loopfooter %]
[% loopfoote.totalcol %] |
[% END %]
[% mainloo.total %] |
[% END %]
[% ELSE %]
[% END %]