[% META title="Print Authorised Reports" %] [% #PROCESS dumper.tt dump = count %] [% #PROCESS dumper.tt dump = start_date.datetime %] [% #PROCESS dumper.tt dump = end_date.datetime %]

Print Authorised Reports

[% IF start_date.ymd == end_date.ymd %] For [% start_date.strftime('%A %d %b %Y') %] [% ELSE %] From [% start_date.strftime('%A %d %b %Y') %] to [% end_date.strftime('%A %d %b %Y') %] [% END %] [[% count %]]:

[% total = count; offset = 0; WHILE count > 0 %]
[% offset + 1 %] .. [% offset + 50 > total ? total : offset + 50 %]
[% count = count - 50; offset = offset + 50 %] [% END %]

opens in new tab »