Lines 9-14
Link Here
|
9 |
</style> |
9 |
</style> |
10 |
</head> |
10 |
</head> |
11 |
|
11 |
|
|
|
12 |
[% BLOCK reservestatus %] |
13 |
[% IF field == 'reservestatus' %] |
14 |
[% SWITCH value %] |
15 |
[% CASE 'C'%]Cancelled |
16 |
[% CASE 'F'%]Filled |
17 |
[% CASE 'P'%]Placed |
18 |
[% CASE 'W'%]Waiting |
19 |
[% END %] |
20 |
[% ELSE %] |
21 |
[% value | html %] |
22 |
[% END %] |
23 |
[% END %] |
24 |
|
12 |
<body id="rep_reserve_stats" class="rep"> |
25 |
<body id="rep_reserve_stats" class="rep"> |
13 |
[% WRAPPER 'header.inc' %] |
26 |
[% WRAPPER 'header.inc' %] |
14 |
[% INCLUDE 'cat-search.inc' %] |
27 |
[% INCLUDE 'cat-search.inc' %] |
Lines 63-75
Link Here
|
63 |
<tr> |
76 |
<tr> |
64 |
<th>[% mainloo.line | html %] / [% mainloo.column | html %]</th> |
77 |
<th>[% mainloo.line | html %] / [% mainloo.column | html %]</th> |
65 |
[% FOREACH loopco IN mainloo.loopcol %] |
78 |
[% FOREACH loopco IN mainloo.loopcol %] |
66 |
<th>[% loopco.coltitle_display | html %]</th> |
79 |
<th>[% PROCESS reservestatus field=mainloo.column value=loopco.coltitle_display %]</th> |
67 |
[% END %] |
80 |
[% END %] |
68 |
<th>TOTAL</th> |
81 |
<th>TOTAL</th> |
69 |
</tr> |
82 |
</tr> |
70 |
[% FOREACH loopro IN mainloo.looprow %] |
83 |
[% FOREACH loopro IN mainloo.looprow %] |
71 |
<tr> |
84 |
<tr> |
72 |
<td>[% loopro.rowtitle_display or "UNKNOWN VALUE" | html %]</td> |
85 |
<td>[% PROCESS reservestatus field=mainloo.line value=loopro.rowtitle_display %]</td> |
73 |
[% FOREACH loopcel IN loopro.loopcell %] |
86 |
[% FOREACH loopcel IN loopro.loopcell %] |
74 |
<td align="center"> |
87 |
<td align="center"> |
75 |
[% IF ( loopcel.url_complement ) %]<a href="reserves_stats.pl?output=[% loopcel.output | uri %]&[% loopcel.url_complement | uri %]">[% loopcel.value | html %]</a>[% ELSE %][% loopcel.value | html %][% END %] |
88 |
[% IF ( loopcel.url_complement ) %]<a href="reserves_stats.pl?output=[% loopcel.output | uri %]&[% loopcel.url_complement | uri %]">[% loopcel.value | html %]</a>[% ELSE %][% loopcel.value | html %][% END %] |
Lines 107-117
Link Here
|
107 |
<td><input type="radio" name="Line" value="reservestatus" /></td> |
120 |
<td><input type="radio" name="Line" value="reservestatus" /></td> |
108 |
<td><input type="radio" name="Column" value="reservestatus" checked="checked" /></td> |
121 |
<td><input type="radio" name="Column" value="reservestatus" checked="checked" /></td> |
109 |
<td> |
122 |
<td> |
110 |
<input type="checkbox" name="filter_reservestatus_or_1" value="1" /> Asked |
123 |
<input type="checkbox" name="filter_reservestatus_or_C" value="C" /> Cancelled |
111 |
<input type="checkbox" name="filter_reservestatus_or_2" value="2" /> Processing |
124 |
<input type="checkbox" name="filter_reservestatus_or_F" value="F" /> Filled |
112 |
<input type="checkbox" name="filter_reservestatus_or_3" value="3" /> Waiting |
125 |
<input type="checkbox" name="filter_reservestatus_or_P" value="P" /> Placed |
113 |
<input type="checkbox" name="filter_reservestatus_or_4" value="4" /> Satisfied |
126 |
<input type="checkbox" name="filter_reservestatus_or_W" value="W" /> Waiting |
114 |
<input type="checkbox" name="filter_reservestatus_or_5" value="5" /> Cancelled |
|
|
115 |
</td> |
127 |
</td> |
116 |
</tr> |
128 |
</tr> |
117 |
<tr> |
129 |
<tr> |