Lines 140-146
$(document).ready(function () {
Link Here
|
140 |
}); |
140 |
}); |
141 |
[% END %] |
141 |
[% END %] |
142 |
$('.openWin').on("click",function(e){ |
142 |
$('.openWin').on("click",function(e){ |
143 |
e.preventDefault(); |
|
|
144 |
Dopop( $(this).data("url") ); |
143 |
Dopop( $(this).data("url") ); |
145 |
}); |
144 |
}); |
146 |
}); |
145 |
}); |
Lines 406-415
$(document).ready(function () {
Link Here
|
406 |
Transfer now?<br /> |
405 |
Transfer now?<br /> |
407 |
<form method="post" action="returns.pl" name="mainform" id="mainform"> |
406 |
<form method="post" action="returns.pl" name="mainform" id="mainform"> |
408 |
[% IF itemnumber %] |
407 |
[% IF itemnumber %] |
409 |
<button type="submit" name="dotransfer" class="print openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber %]&&branchcode=[% returnbranch %]&op=slip"><i class="fa fa-print"></i> Yes, print slip</button> |
408 |
<button type="submit" name="dotransfer" value="Yes" class="print openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber %]&&branchcode=[% returnbranch %]&op=slip"><i class="fa fa-print"></i> Yes, print slip</button> |
410 |
[% END %] |
409 |
[% END %] |
411 |
<button type="submit" name="dotransfer" class="submit"><i class="fa fa-check"></i> Yes</button> |
410 |
<button type="submit" name="dotransfer" value="Yes" class="submit"><i class="fa fa-check"></i> Yes</button> |
412 |
<button type="submit" name="notransfer" class="submit"><i class="fa fa-times"></i> No</button> |
411 |
<button type="submit" name="notransfer" value="No" class="submit"><i class="fa fa-times"></i> No</button> |
413 |
<input type="hidden" name="tobranch" value="[% returnbranch %]" /> |
412 |
<input type="hidden" name="tobranch" value="[% returnbranch %]" /> |
414 |
<input type="hidden" name="transferitem" value="[% itemnumber %]" /> |
413 |
<input type="hidden" name="transferitem" value="[% itemnumber %]" /> |
415 |
<input type="hidden" name="exemptfine" value="[% exemptfine %]" /> |
414 |
<input type="hidden" name="exemptfine" value="[% exemptfine %]" /> |
416 |
- |
|
|