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 410-419
$(document).ready(function () {
Link Here
|
410 |
Transfer now?<br /> |
409 |
Transfer now?<br /> |
411 |
<form method="post" action="returns.pl" name="mainform" id="mainform"> |
410 |
<form method="post" action="returns.pl" name="mainform" id="mainform"> |
412 |
[% IF itemnumber %] |
411 |
[% IF itemnumber %] |
413 |
<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> |
412 |
<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> |
414 |
[% END %] |
413 |
[% END %] |
415 |
<button type="submit" name="dotransfer" class="submit"><i class="fa fa-check"></i> Yes</button> |
414 |
<button type="submit" name="dotransfer" value="Yes" class="submit"><i class="fa fa-check"></i> Yes</button> |
416 |
<button type="submit" name="notransfer" class="submit"><i class="fa fa-times"></i> No</button> |
415 |
<button type="submit" name="notransfer" value="No" class="submit"><i class="fa fa-times"></i> No</button> |
417 |
<input type="hidden" name="tobranch" value="[% returnbranch %]" /> |
416 |
<input type="hidden" name="tobranch" value="[% returnbranch %]" /> |
418 |
<input type="hidden" name="transferitem" value="[% itemnumber %]" /> |
417 |
<input type="hidden" name="transferitem" value="[% itemnumber %]" /> |
419 |
<input type="hidden" name="exemptfine" value="[% exemptfine %]" /> |
418 |
<input type="hidden" name="exemptfine" value="[% exemptfine %]" /> |
420 |
- |
|
|