Lines 27-33
Link Here
|
27 |
|
27 |
|
28 |
[% IF payment_id && !Koha.Preference('FinePaymentAutoPopup') %] |
28 |
[% IF payment_id && !Koha.Preference('FinePaymentAutoPopup') %] |
29 |
<div class="dialog alert audio-alert-action"> |
29 |
<div class="dialog alert audio-alert-action"> |
30 |
Payment recieved: <a target="_blank" href="/cgi-bin/koha/pos/printreceipt.pl?action=print&accountlines_id=[% payment_id | uri %]&collected=[% collected | uri %]&change=[% change | uri %]" class="btn btn-default btn-xs"><i class="fa fa-print"></i> Print receipt</a> |
30 |
Payment received: <a target="_blank" href="/cgi-bin/koha/pos/printreceipt.pl?action=print&accountlines_id=[% payment_id | uri %]&collected=[% collected | uri %]&change=[% change | uri %]" class="btn btn-default btn-xs"><i class="fa fa-print"></i> Print receipt</a> |
31 |
</div> |
31 |
</div> |
32 |
[% END %] |
32 |
[% END %] |
33 |
|
33 |
|
Lines 180-187
Link Here
|
180 |
</div> |
180 |
</div> |
181 |
|
181 |
|
182 |
[% IF payment_id && Koha.Preference('FinePaymentAutoPopup') %] |
182 |
[% IF payment_id && Koha.Preference('FinePaymentAutoPopup') %] |
183 |
<!-- Automatic Print Reciept --> |
183 |
<!-- Automatic Print Receipt --> |
184 |
<a id="printReciept" style="display: none" href="#"></a> |
184 |
<a id="printReceipt" style="display: none" href="#"></a> |
185 |
[% END %] |
185 |
[% END %] |
186 |
|
186 |
|
187 |
[% MACRO jsinclude BLOCK %] |
187 |
[% MACRO jsinclude BLOCK %] |
Lines 395-405
Link Here
|
395 |
}); |
395 |
}); |
396 |
|
396 |
|
397 |
[% IF payment_id && Koha.Preference('FinePaymentAutoPopup') %] |
397 |
[% IF payment_id && Koha.Preference('FinePaymentAutoPopup') %] |
398 |
$("#printReciept").click(function() { |
398 |
$("#printReceipt").click(function() { |
399 |
var win = window.open('/cgi-bin/koha/pos/printreceipt.pl?action=print&accountlines_id=[% payment_id | uri %]&collected=[% collected | uri %]&change=[% change | uri %]', '_blank'); |
399 |
var win = window.open('/cgi-bin/koha/pos/printreceipt.pl?action=print&accountlines_id=[% payment_id | uri %]&collected=[% collected | uri %]&change=[% change | uri %]', '_blank'); |
400 |
win.focus(); |
400 |
win.focus(); |
401 |
}); |
401 |
}); |
402 |
$("#printReciept").click(); |
402 |
$("#printReceipt").click(); |
403 |
[% END %] |
403 |
[% END %] |
404 |
}); |
404 |
}); |
405 |
</script> |
405 |
</script> |
406 |
- |
|
|