Lines 459-465
Link Here
|
459 |
<!-- CONFIRM --> |
459 |
<!-- CONFIRM --> |
460 |
<button class="btn btn-default approve" type="submit"><i class="fa fa-check"></i> OK</button> |
460 |
<button class="btn btn-default approve" type="submit"><i class="fa fa-check"></i> OK</button> |
461 |
<!-- PRINT SLIP --> |
461 |
<!-- PRINT SLIP --> |
462 |
<button type="button" data-dismiss="modal" class="btn btn-default transit openWin" data-transfer="[% NewTransfer | html %]" data-url="transfer-slip.pl?transferitem=[% itemnumber | uri %]&&branchcode=[% TransferWaitingAt | uri %]&op=slip"><i class="fa fa-print"></i> Print transfer slip</button> |
462 |
<button type="button" data-dismiss="modal" class="btn btn-default submit openWin" data-transfer="[% NewTransfer | html %]" data-url="transfer-slip.pl?transferitem=[% itemnumber | uri %]&&branchcode=[% TransferWaitingAt | uri %]&op=slip"><i class="fa fa-print"></i> Print transfer slip</button> |
463 |
<!-- CANCEL TRANSFER --> |
463 |
<!-- CANCEL TRANSFER --> |
464 |
<button type="button" data-dismiss="modal" class="btn btn-default deny cancel"><i class="fa fa-times"></i> Cancel transfer</button> |
464 |
<button type="button" data-dismiss="modal" class="btn btn-default deny cancel"><i class="fa fa-times"></i> Cancel transfer</button> |
465 |
</div> <!-- /.modal-footer --> |
465 |
</div> <!-- /.modal-footer --> |
Lines 606-612
Link Here
|
606 |
<button type="button" data-dismiss="modal" class="btn btn-default deny" name="notransfer" value="No"><i class="fa fa-times"></i> No</button> |
606 |
<button type="button" data-dismiss="modal" class="btn btn-default deny" name="notransfer" value="No"><i class="fa fa-times"></i> No</button> |
607 |
[% ELSE %] |
607 |
[% ELSE %] |
608 |
<button type="button" data-dismiss="modal" class="btn btn-default approve"><i class="fa fa-check"></i> OK</button> |
608 |
<button type="button" data-dismiss="modal" class="btn btn-default approve"><i class="fa fa-check"></i> OK</button> |
609 |
<button type="button" data-dismiss="modal" name="dotransfer" class="btn btn-default print openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber | uri %]&branchcode=[% transfer | uri %]&op=slip"><i class="fa fa-print"></i> Print slip</button> |
609 |
<button type="button" data-dismiss="modal" class="btn btn-default print openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber | uri %]&branchcode=[% transfer | uri %]&op=slip"><i class="fa fa-print"></i> Print slip</button> |
610 |
[% END %] |
610 |
[% END %] |
611 |
<input type="hidden" name="return_date_override" value="[% return_date_override | html %]" /> |
611 |
<input type="hidden" name="return_date_override" value="[% return_date_override | html %]" /> |
612 |
<input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember | html %]" /> |
612 |
<input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember | html %]" /> |
Lines 1128-1133
Link Here
|
1128 |
Dopop( $(this).data("url") ); |
1128 |
Dopop( $(this).data("url") ); |
1129 |
}); |
1129 |
}); |
1130 |
|
1130 |
|
|
|
1131 |
$('.submit').on("click",function(e){ |
1132 |
this.form.submit(); |
1133 |
}); |
1134 |
|
1131 |
$('.cancel').on("click",function(e){ |
1135 |
$('.cancel').on("click",function(e){ |
1132 |
var docancel = $("<input>").attr("type", "hidden").attr("name", "canceltransfer").val(1); |
1136 |
var docancel = $("<input>").attr("type", "hidden").attr("name", "canceltransfer").val(1); |
1133 |
$('#wrongtransferform').append(docancel); |
1137 |
$('#wrongtransferform').append(docancel); |
1134 |
- |
|
|