Lines 208-234
Link Here
|
208 |
<div id="wrong-transfer-modal" class="modal fade audio-alert-action"> |
208 |
<div id="wrong-transfer-modal" class="modal fade audio-alert-action"> |
209 |
<div class="modal-dialog"> |
209 |
<div class="modal-dialog"> |
210 |
<div class="modal-content"> |
210 |
<div class="modal-content"> |
211 |
<form method="post" action="returns.pl" name="mainform" id="mainform"> |
211 |
<div class="modal-header"> |
212 |
<div class="modal-header"> |
212 |
<h3> |
213 |
<h3> |
213 |
Please return item to: [% Branches.GetName( TransferWaitingAt ) | html %] |
214 |
Please return item to: [% Branches.GetName( TransferWaitingAt ) | html %] |
214 |
</h3> |
215 |
</h3> |
215 |
</div> |
216 |
</div> |
216 |
<div class="modal-body"> |
217 |
<div class="modal-body"> |
217 |
<p> |
218 |
<p> |
218 |
<a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber | uri %]"> |
219 |
<a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber | uri %]"> |
219 |
[% itembarcode | html %]: [% title | html %] |
220 |
[% itembarcode | html %]: [% title | html %] |
220 |
</a> |
221 |
</a> |
221 |
</p> |
222 |
</p> |
222 |
</div> |
223 |
</div> |
223 |
<div class="modal-footer"> |
224 |
<div class="modal-footer"> |
224 |
<!-- CONFIRM --> |
|
|
225 |
<form method="post" action="returns.pl" name="mainform"> |
225 |
<button type="submit" class="btn btn-default approve"><i class="fa fa-check"></i> OK</button> |
226 |
<button type="submit" class="btn btn-default approve"><i class="fa fa-check"></i> OK</button> |
|
|
227 |
[% FOREACH inputloo IN inputloop %] |
228 |
<input type="hidden" name="ri-[% inputloo.counter | html %]" value="[% inputloo.barcode | html %]" /> |
229 |
<input type="hidden" name="dd-[% inputloo.counter | html %]" value="[% inputloo.duedate | html %]" /> |
230 |
<input type="hidden" name="bn-[% inputloo.counter | html %]" value="[% inputloo.borrowernumber | html %]" /> |
231 |
[% END %] |
232 |
</form> |
233 |
<!-- PRINT SLIP --> |
234 |
<form method="post" action="returns.pl" name="mainform"> |
226 |
<button type="submit" class="btn btn-default print openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber | html %]&&branchcode=[% TransferWaitingAt | html %]&op=slip"><i class="fa fa-print"></i> Print transfer slip</button> |
235 |
<button type="submit" class="btn btn-default print openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber | html %]&&branchcode=[% TransferWaitingAt | html %]&op=slip"><i class="fa fa-print"></i> Print transfer slip</button> |
227 |
<button class="btn btn-default deny cancel-transfer" type="submit"><i class="fa fa-times"></i> Cancel transfer</button> |
236 |
[% FOREACH inputloo IN inputloop %] |
|
|
237 |
<input type="hidden" name="ri-[% inputloo.counter | html %]" value="[% inputloo.barcode | html %]" /> |
238 |
<input type="hidden" name="dd-[% inputloo.counter | html %]" value="[% inputloo.duedate | html %]" /> |
239 |
<input type="hidden" name="bn-[% inputloo.counter | html %]" value="[% inputloo.borrowernumber | html %]" /> |
240 |
[% END %] |
241 |
</form> |
242 |
<!-- CANCEL TRANSFER --> |
243 |
<form method="post" action="returns.pl" name="mainform"> |
244 |
<button class="btn btn-default deny" type="submit"><i class="fa fa-times"></i> Cancel transfer</button> |
228 |
<input type="hidden" name="return_date_override" value="[% return_date_override | html %]" /> |
245 |
<input type="hidden" name="return_date_override" value="[% return_date_override | html %]" /> |
229 |
<input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember | html %]" /> |
246 |
<input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember | html %]" /> |
230 |
</div> |
247 |
<input type="hidden" name="itemnumber" value="[% itemnumber | html %]" /> |
231 |
</form> |
248 |
<input type="hidden" name="canceltransfer" value="1" /> |
|
|
249 |
[% FOREACH inputloo IN inputloop %] |
250 |
<input type="hidden" name="ri-[% inputloo.counter | html %]" value="[% inputloo.barcode | html %]" /> |
251 |
<input type="hidden" name="dd-[% inputloo.counter | html %]" value="[% inputloo.duedate | html %]" /> |
252 |
<input type="hidden" name="bn-[% inputloo.counter | html %]" value="[% inputloo.borrowernumber | html %]" /> |
253 |
[% END %] |
254 |
</form> |
255 |
</div> |
232 |
</div> |
256 |
</div> |
233 |
</div> |
257 |
</div> |
234 |
</div> |
258 |
</div> |
Lines 993-1003
Link Here
|
993 |
this.form.submit(); |
1017 |
this.form.submit(); |
994 |
}); |
1018 |
}); |
995 |
|
1019 |
|
996 |
$('.cancel-transfer').on("click",function(e){ |
|
|
997 |
e.preventDefault(); |
998 |
window.location.href='/cgi-bin/koha/circ/returns.pl?itemnumber=[% itemnumber | html %]&canceltransfer=1' |
999 |
}); |
1000 |
|
1001 |
$('.action').on("click",function(e){ |
1020 |
$('.action').on("click",function(e){ |
1002 |
this.checked = false; |
1021 |
this.checked = false; |
1003 |
this.form.return_date_override.value = ''; |
1022 |
this.form.return_date_override.value = ''; |
1004 |
- |
|
|