]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/reporter/templates/widgets/specific-timerange.month
big ol reporter cleanup for the meeting
[Evergreen.git] / Open-ILS / src / reporter / templates / widgets / specific-timerange.month
1 [%
2
3 USE date;
4 USE start = DateTime(now = 1);
5 USE end = DateTime(now = 1);
6
7 PROCESS inputs;
8
9 BLOCK editor;
10
11 WRAPPER html/table ;
12
13         WRAPPER html/row;
14                 INCLUDE html/cell content='Year';
15                 INCLUDE html/cell content='Month';
16         END;
17
18         WRAPPER html/row;
19                 WRAPPER html/cell;
20                         v = start.year;
21                         f = 'start-year';
22                         IF current_value.$f;
23                                 v = current_value.$f;
24                         END;
25                         INCLUDE text name=input_prefix _ ':start-year' size=4 value=v;
26                 END;
27                 WRAPPER html/cell;
28                         v = start.month;
29                         f = 'start-month';
30                         IF current_value.$f;
31                                 v = current_value.$f;
32                         END;
33                         INCLUDE text name=input_prefix _ ':start-month' size=4 value=v;
34                 END;
35         END;
36
37 END;
38 END;
39
40 BLOCK display;
41 f = 'start-year';
42 current_value.$f _ '-';
43 f = 'start-month';
44 current_value.$f;
45 END;
46 %]