|
Lines 295-301
Link Here
|
| 295 |
{ 'type': 'select', 'values': [% branches.json %] }, |
295 |
{ 'type': 'select', 'values': [% branches.json %] }, |
| 296 |
{ 'type': 'select', 'values': [% locations.json %] }, |
296 |
{ 'type': 'select', 'values': [% locations.json %] }, |
| 297 |
{ 'type': 'text' }, |
297 |
{ 'type': 'text' }, |
| 298 |
{ 'type': 'select', 'values': [% notforloans.json %] }, |
298 |
[% IF notforloans.size %] |
|
|
299 |
{ 'type': 'select', 'values': [% notforloans.json %] }, |
| 300 |
[% ELSE %] |
| 301 |
null, |
| 302 |
[% END %] |
| 299 |
{ 'type': 'text' }, |
303 |
{ 'type': 'text' }, |
| 300 |
null |
304 |
null |
| 301 |
] |
305 |
] |
|
Lines 414-424
Link Here
|
| 414 |
options = ccodes |
418 |
options = ccodes |
| 415 |
empty_option = "All collection codes" |
419 |
empty_option = "All collection codes" |
| 416 |
%] |
420 |
%] |
| 417 |
[% INCLUDE form_field_select |
421 |
[% IF notforloans.size %] |
| 418 |
name="notforloan" |
422 |
[% INCLUDE form_field_select |
| 419 |
options = notforloans |
423 |
name="notforloan" |
| 420 |
empty_option = "All statuses" |
424 |
options = notforloans |
| 421 |
%] |
425 |
empty_option = "All statuses" |
|
|
426 |
%] |
| 427 |
[% END %] |
| 422 |
</fieldset> |
428 |
</fieldset> |
| 423 |
<fieldset> |
429 |
<fieldset> |
| 424 |
[% INCLUDE form_field_select_text_block %] |
430 |
[% INCLUDE form_field_select_text_block %] |
| 425 |
- |
|
|