Lines 45-50
Link Here
|
45 |
<span>Manage request [% request.id_prefix _ request.illrequest_id | html %]</span> |
45 |
<span>Manage request [% request.id_prefix _ request.illrequest_id | html %]</span> |
46 |
[% ELSIF op == 'confirm' %] |
46 |
[% ELSIF op == 'confirm' %] |
47 |
<span>Confirm request [% request.id_prefix _ request.illrequest_id | html %]</span> |
47 |
<span>Confirm request [% request.id_prefix _ request.illrequest_id | html %]</span> |
|
|
48 |
[% ELSIF op == 'mark_completed' %] |
49 |
<span>Complete request request [% request.id_prefix _ request.illrequest_id | html %]</span> |
48 |
[% ELSIF op == 'delete_confirm' %] |
50 |
[% ELSIF op == 'delete_confirm' %] |
49 |
<span>Delete request [% request.id_prefix _ request.illrequest_id | html %]</span> |
51 |
<span>Delete request [% request.id_prefix _ request.illrequest_id | html %]</span> |
50 |
[% ELSIF op == 'generic_confirm' %] |
52 |
[% ELSIF op == 'generic_confirm' %] |
Lines 115-120
Link Here
|
115 |
[% ELSIF op == 'confirm' %] |
117 |
[% ELSIF op == 'confirm' %] |
116 |
<h1>Confirm ILL request</h1> |
118 |
<h1>Confirm ILL request</h1> |
117 |
[% PROCESS $whole.template %] |
119 |
[% PROCESS $whole.template %] |
|
|
120 |
[% ELSIF op == 'mark_completed' %] |
121 |
<h1>Complete ILL request</h1> |
122 |
<p>Proceeding with this action will set this request to 'Completed'.</p> |
123 |
<p>You can select a status alias from the available options:</p> |
124 |
<p> |
125 |
[% base_url = "/cgi-bin/koha/ill/ill-requests.pl" %] |
126 |
[% proceed_url = base_url _ "?method=mark_completed&stage=complete" _ "&illrequest_id=" _ request.illrequest_id %] |
127 |
<form action="[% proceed_url | url %]" method="get"> |
128 |
<select name="status_alias"> |
129 |
<option value="" selected></option> |
130 |
[% FOREACH alias IN AuthorisedValues.Get('ILL_STATUS_ALIAS') %] |
131 |
<option value="[% alias.authorised_value | html %]" > [% alias.lib | html %] </option> |
132 |
[% END %] |
133 |
</select> |
134 |
<input type="hidden" name="method" value="mark_completed"> |
135 |
<input type="hidden" name="stage" value="complete"> |
136 |
<input type="hidden" name="illrequest_id" value="[% request.illrequest_id %]"> |
137 |
<fieldset class="action"> |
138 |
<button type="submit" class="btn btn-sm btn-primary">Complete request</button> |
139 |
<a class="btn btn-sm btn-default cancel" href="[% base_url | url %]">Cancel</a> |
140 |
</fieldset> |
141 |
</form> |
142 |
</p> |
118 |
[% ELSIF op == 'cud-cancel' and !whole.error %] |
143 |
[% ELSIF op == 'cud-cancel' and !whole.error %] |
119 |
<h1>Cancel a confirmed request</h1> |
144 |
<h1>Cancel a confirmed request</h1> |
120 |
[% PROCESS $whole.template %] |
145 |
[% PROCESS $whole.template %] |
121 |
- |
|
|