|
Lines 21-26
Link Here
|
| 21 |
<h2>Create a manual ILL request</h2> |
21 |
<h2>Create a manual ILL request</h2> |
| 22 |
<form id="create_form" method="POST" action=""> |
22 |
<form id="create_form" method="POST" action=""> |
| 23 |
[% INCLUDE 'csrf-token.inc' %] |
23 |
[% INCLUDE 'csrf-token.inc' %] |
|
|
24 |
<fieldset class="rows"> |
| 25 |
<legend>Patron options</legend> |
| 26 |
<ol> |
| 27 |
<li> |
| 28 |
[% WRAPPER ill_select_field required = 1 id = 'branchcode' label = t('Destination library') %] |
| 29 |
<option value="" /> |
| 30 |
[% FOREACH branch IN branches %] |
| 31 |
[% IF whole.value.other.branchcode && branch.branchcode == whole.value.other.branchcode %] |
| 32 |
<option value="[% branch.branchcode | html %]" selected> |
| 33 |
[% branch.branchname | html %] |
| 34 |
</option> |
| 35 |
[% ELSE %] |
| 36 |
<option value="[% branch.branchcode | html %]"> |
| 37 |
[% branch.branchname | html %] |
| 38 |
</option> |
| 39 |
[% END %] |
| 40 |
[% END %] |
| 41 |
[% END #ill_select_field %] |
| 42 |
</li> |
| 43 |
</ol> |
| 44 |
</fieldset> |
| 24 |
<fieldset class="rows"> |
45 |
<fieldset class="rows"> |
| 25 |
<legend>General details</legend> |
46 |
<legend>General details</legend> |
| 26 |
<ol id="general-standard-fields"> |
47 |
<ol id="general-standard-fields"> |
|
Lines 81-108
Link Here
|
| 81 |
[% INCLUDE "${cwd}/shared-includes/forms/${type}.inc" %] |
102 |
[% INCLUDE "${cwd}/shared-includes/forms/${type}.inc" %] |
| 82 |
[% END %] |
103 |
[% END %] |
| 83 |
[% INCLUDE "${cwd}/shared-includes/custom_fields.inc" %] |
104 |
[% INCLUDE "${cwd}/shared-includes/custom_fields.inc" %] |
| 84 |
<fieldset class="rows"> |
|
|
| 85 |
<legend>Patron options</legend> |
| 86 |
<ol> |
| 87 |
<li> |
| 88 |
[% WRAPPER ill_select_field required = 1 id = 'branchcode' label = t('Destination library') %] |
| 89 |
<option value="" /> |
| 90 |
[% FOREACH branch IN branches %] |
| 91 |
[% IF whole.value.other.branchcode && branch.branchcode == whole.value.other.branchcode %] |
| 92 |
<option value="[% branch.branchcode | html %]" selected> |
| 93 |
[% branch.branchname | html %] |
| 94 |
</option> |
| 95 |
[% ELSE %] |
| 96 |
<option value="[% branch.branchcode | html %]"> |
| 97 |
[% branch.branchname | html %] |
| 98 |
</option> |
| 99 |
[% END %] |
| 100 |
[% END %] |
| 101 |
[% END #ill_select_field %] |
| 102 |
</li> |
| 103 |
</ol> |
| 104 |
</fieldset> |
| 105 |
|
| 106 |
<fieldset class="action"> |
105 |
<fieldset class="action"> |
| 107 |
<input id="ill-submit" class="btn btn-default" type="submit" value="Create"/> |
106 |
<input id="ill-submit" class="btn btn-default" type="submit" value="Create"/> |
| 108 |
<a class="cancel" href="/cgi-bin/koha/opac-illrequests.pl">Cancel</a> |
107 |
<a class="cancel" href="/cgi-bin/koha/opac-illrequests.pl">Cancel</a> |
| 109 |
- |
|
|