]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/reporter/templates/widgets/specific-timerange.month
allow clone+edit of existing stage3 reports
[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 WRAPPER html/table ;
10
11         WRAPPER html/row;
12                 INCLUDE html/cell content='Year';
13                 INCLUDE html/cell content='Month';
14         END;
15
16         WRAPPER html/row;
17                 WRAPPER html/cell;
18                         v = start.year;
19                         f = 'start-year';
20                         IF current_value.$f;
21                                 v = current_value.$f;
22                         END;
23                         INCLUDE text name=input_prefix _ ':start-year' size=4 value=v;
24                 END;
25                 WRAPPER html/cell;
26                         v = start.month;
27                         f = 'start-month';
28                         IF current_value.$f;
29                                 v = current_value.$f;
30                         END;
31                         INCLUDE text name=input_prefix _ ':start-month' size=4 value=v;
32                 END;
33         END;
34
35 END;
36
37 %]