]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/reporter/templates/widgets/specific-timerange.multiyear
big ol reporter cleanup for the meeting
[Evergreen.git] / Open-ILS / src / reporter / templates / widgets / specific-timerange.multiyear
1 [%
2
3 USE date;
4 USE start = DateTime(now = 1);
5
6 PROCESS inputs;
7
8 BLOCK editor;
9 WRAPPER html/table ;
10
11         WRAPPER html/row;
12                 INCLUDE html/cell content='Year';
13         END;
14
15         WRAPPER html/row;
16                 WRAPPER html/cell;
17                         INCLUDE text name=input_prefix _ ':year' size=4 value=(current_value.year ? current_value.year : start.year);
18                 END;
19                 WRAPPER html/cell;
20                         'For ';
21                         ycl = 'year-count';
22                         INCLUDE text name=input_prefix _ ':year-count' value=(current_value.$ycl ? current_value.$ycl : 2);
23                         ' years';
24                 END;
25         END;
26
27 END;
28 END;
29
30 BLOCK display;
31 ycl = 'year-count';
32 current_value.year _ ' through ' _ current_value.year + current_value.$ycl;
33 END;
34
35 %]