|
Lines 591-611
Link Here
|
| 591 |
</select> |
591 |
</select> |
| 592 |
</li> |
592 |
</li> |
| 593 |
<li> |
593 |
<li> |
| 594 |
<label for="budgetid">Fund:</label> |
594 |
[% PROCESS funds_dropdown %] |
| 595 |
<select name="budgetid" id="budgetid"> |
|
|
| 596 |
<option value="">Any</option> |
| 597 |
[% FOREACH budget IN sugg_budgets %] |
| 598 |
[% IF ( budget.selected ) %] |
| 599 |
<option value="[% budget.b_id | html %]" selected="selected">[% budget.b_txt | html %] [% IF ( !budget.b_active ) %](inactive)[% END %]</option> |
| 600 |
[% ELSIF ( budget.b_active ) %] |
| 601 |
<option value="[% budget.b_id | html %]">[% budget.b_txt | html %]</option> |
| 602 |
[% ELSE %] |
| 603 |
<option value="[% budget.b_id | html %]" class="b_inactive">[% budget.b_txt | html %] (inactive)</option> |
| 604 |
[% END %] |
| 605 |
[% END %] |
| 606 |
</select> |
| 607 |
<label for="showallfunds" style="float:none;width:auto;"> Show inactive:</label> |
| 608 |
<input type="checkbox" class="showallfunds" /> |
| 609 |
</li> |
595 |
</li> |
| 610 |
<li> |
596 |
<li> |
| 611 |
<label for="quantity">Copies:</label> |
597 |
<label for="quantity">Copies:</label> |
|
Lines 1219-1243
Link Here
|
| 1219 |
<fieldset class="brief acquisition_information"> |
1205 |
<fieldset class="brief acquisition_information"> |
| 1220 |
<ol> |
1206 |
<ol> |
| 1221 |
<li> |
1207 |
<li> |
| 1222 |
<label for="budgetid">Fund:</label> |
1208 |
[% PROCESS funds_dropdown %] |
| 1223 |
<select name="budgetid" id="budgetid"> |
|
|
| 1224 |
[% IF budgetid == '__NONE__' %] |
| 1225 |
<option value="__NONE__" selected="selected">None</option> |
| 1226 |
[% ELSE %] |
| 1227 |
<option value="__NONE__">None</option> |
| 1228 |
[% END %] |
| 1229 |
[% FOREACH budget IN sugg_budgets %] |
| 1230 |
[% IF ( budget.selected ) %] |
| 1231 |
<option value="[% budget.b_id | html %]" selected="selected">[% budget.b_txt | html %] [% IF ( !budget.b_active ) %](inactive)[% END %]</option> |
| 1232 |
[% ELSIF ( budget.b_active ) %] |
| 1233 |
<option value="[% budget.b_id | html %]">[% budget.b_txt | html %]</option> |
| 1234 |
[% ELSE %] |
| 1235 |
<option value="[% budget.b_id | html %]" class="b_inactive">[% budget.b_txt | html %] (inactive)</option> |
| 1236 |
[% END %] |
| 1237 |
[% END %] |
| 1238 |
</select> |
| 1239 |
<label for="showallfunds" style="float:none;width:auto;"> Show inactive:</label> |
| 1240 |
<input type="checkbox" class="showallfunds" /> |
| 1241 |
</li> |
1209 |
</li> |
| 1242 |
</ol> |
1210 |
</ol> |
| 1243 |
</fieldset> <!-- /#acquisition_information --> |
1211 |
</fieldset> <!-- /#acquisition_information --> |
|
Lines 1271-1276
Link Here
|
| 1271 |
|
1239 |
|
| 1272 |
[% END # /IF op == "show" %] |
1240 |
[% END # /IF op == "show" %] |
| 1273 |
|
1241 |
|
|
|
1242 |
[% BLOCK funds_dropdown %] |
| 1243 |
<label for="budgetid">Fund:</label> |
| 1244 |
<select name="budgetid" id="budgetid"> |
| 1245 |
[% IF op == 'save' %] |
| 1246 |
<option value="">Any</option> |
| 1247 |
[% ELSE %] |
| 1248 |
[% IF budgetid == '__NONE__' %] |
| 1249 |
<option value="__NONE__" selected="selected">None</option> |
| 1250 |
[% ELSE %] |
| 1251 |
<option value="__NONE__">None</option> |
| 1252 |
[% END %] |
| 1253 |
[% END %] |
| 1254 |
[% FOREACH budget IN sugg_budgets %] |
| 1255 |
[% IF ( budget.selected ) %] |
| 1256 |
<option value="[% budget.b_id | html %]" selected="selected">[% budget.b_txt | html %] [% IF ( !budget.b_active ) %](inactive)[% END %]</option> |
| 1257 |
[% ELSIF ( budget.b_active ) %] |
| 1258 |
<option value="[% budget.b_id | html %]">[% budget.b_txt | html %]</option> |
| 1259 |
[% ELSE %] |
| 1260 |
<option value="[% budget.b_id | html %]" class="b_inactive">[% budget.b_txt | html %] (inactive)</option> |
| 1261 |
[% END %] |
| 1262 |
[% END %] |
| 1263 |
</select> |
| 1264 |
<!-- this is needed --> |
| 1265 |
<label for="showallfunds" style="float:none;width:auto;"> Show inactive:</label> |
| 1266 |
<input type="checkbox" class="showallfunds" /> |
| 1267 |
[% END %] |
| 1268 |
|
| 1274 |
[% MACRO jsinclude BLOCK %] |
1269 |
[% MACRO jsinclude BLOCK %] |
| 1275 |
[% INCLUDE 'calendar.inc' %] |
1270 |
[% INCLUDE 'calendar.inc' %] |
| 1276 |
|
1271 |
|
| 1277 |
- |
|
|