Lines 17-22
Link Here
|
17 |
</style> |
17 |
</style> |
18 |
</head> |
18 |
</head> |
19 |
|
19 |
|
|
|
20 |
[% BLOCK reservestatus %] |
21 |
[% IF field == 'reservestatus' %] |
22 |
[% SWITCH value %] |
23 |
[% CASE 'C'%]Cancelled |
24 |
[% CASE 'F'%]Filled |
25 |
[% CASE 'P'%]Placed |
26 |
[% CASE 'W'%]Waiting |
27 |
[% END %] |
28 |
[% ELSE %] |
29 |
[% value | html %] |
30 |
[% END %] |
31 |
[% END %] |
32 |
|
20 |
<body id="rep_reserve_stats" class="rep"> |
33 |
<body id="rep_reserve_stats" class="rep"> |
21 |
[% WRAPPER 'header.inc' %] |
34 |
[% WRAPPER 'header.inc' %] |
22 |
[% INCLUDE 'cat-search.inc' %] |
35 |
[% INCLUDE 'cat-search.inc' %] |
Lines 71-83
Link Here
|
71 |
<tr> |
84 |
<tr> |
72 |
<th>[% mainloo.line | html %] / [% mainloo.column | html %]</th> |
85 |
<th>[% mainloo.line | html %] / [% mainloo.column | html %]</th> |
73 |
[% FOREACH loopco IN mainloo.loopcol %] |
86 |
[% FOREACH loopco IN mainloo.loopcol %] |
74 |
<th>[% loopco.coltitle_display | html %]</th> |
87 |
<th>[% PROCESS reservestatus field=mainloo.column value=loopco.coltitle_display %]</th> |
75 |
[% END %] |
88 |
[% END %] |
76 |
<th>TOTAL</th> |
89 |
<th>TOTAL</th> |
77 |
</tr> |
90 |
</tr> |
78 |
[% FOREACH loopro IN mainloo.looprow %] |
91 |
[% FOREACH loopro IN mainloo.looprow %] |
79 |
<tr> |
92 |
<tr> |
80 |
<td>[% loopro.rowtitle_display or "UNKNOWN VALUE" | html %]</td> |
93 |
<td>[% PROCESS reservestatus field=mainloo.line value=loopro.rowtitle_display %]</td> |
81 |
[% FOREACH loopcel IN loopro.loopcell %] |
94 |
[% FOREACH loopcel IN loopro.loopcell %] |
82 |
<td align="center"> |
95 |
<td align="center"> |
83 |
[% 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 %] |
96 |
[% 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 115-125
Link Here
|
115 |
<td><input type="radio" name="Line" value="reservestatus" /></td> |
128 |
<td><input type="radio" name="Line" value="reservestatus" /></td> |
116 |
<td><input type="radio" name="Column" value="reservestatus" checked="checked" /></td> |
129 |
<td><input type="radio" name="Column" value="reservestatus" checked="checked" /></td> |
117 |
<td> |
130 |
<td> |
118 |
<input type="checkbox" name="filter_reservestatus_or_1" value="1" /> Asked |
131 |
<input type="checkbox" name="filter_reservestatus_or_C" value="C" /> Cancelled |
119 |
<input type="checkbox" name="filter_reservestatus_or_2" value="2" /> Processing |
132 |
<input type="checkbox" name="filter_reservestatus_or_F" value="F" /> Filled |
120 |
<input type="checkbox" name="filter_reservestatus_or_3" value="3" /> Waiting |
133 |
<input type="checkbox" name="filter_reservestatus_or_P" value="P" /> Placed |
121 |
<input type="checkbox" name="filter_reservestatus_or_4" value="4" /> Satisfied |
134 |
<input type="checkbox" name="filter_reservestatus_or_W" value="W" /> Waiting |
122 |
<input type="checkbox" name="filter_reservestatus_or_5" value="5" /> Cancelled |
|
|
123 |
</td> |
135 |
</td> |
124 |
</tr> |
136 |
</tr> |
125 |
<tr> |
137 |
<tr> |