View | Details | Raw Unified | Return to bug 36221
Collapse All | Expand All

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

Return to bug 36221