]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/reporter/templates/widgets/comparative-timerange.month
allow clone+edit of existing stage3 reports
[working/Evergreen.git] / Open-ILS / src / reporter / templates / widgets / comparative-timerange.month
1 [%
2
3 PROCESS inputs;
4
5 WRAPPER select name=input_prefix _ ":target";
6         count = 1;
7         def = 1;
8         IF current_value.target;
9                 def = current_value.target;
10         END;
11         WHILE count < 37;
12                 INCLUDE option value=count selected=(count == def ? 1 : 0);
13                 count = count + 1;
14         END;
15 END;
16
17 ' months before runtime<br/>Compared to ';
18
19 WRAPPER select name=input_prefix _ ":compare";
20         count = 1;
21         def = 12;
22         IF current_value.compare;
23                 def = current_value.compare;
24         END;
25         WHILE count < 37;
26                 INCLUDE option value=count selected=(count == def ? 1 : 0);
27                 count = count + 1;
28         END;
29 END;
30 ' months before target';
31
32 %]