Lines 1-6
Link Here
|
1 |
<script type="text/javascript"> |
1 |
<script type="text/javascript"> |
2 |
[% IF ( Koha.Preference('IntranetSlipPrinterJS') ) %] |
2 |
[% IF ( Koha.Preference('IntranetSlipPrinterJS') ) %] |
3 |
[% Koha.Preference('IntranetSlipPrinterJS') %] |
3 |
[% Koha.Preference('IntranetSlipPrinterJS') %] |
|
|
4 |
$( window ).load( printThenClose() ); |
4 |
[% ELSE %] |
5 |
[% ELSE %] |
5 |
$( window ).load(function() { |
6 |
$( window ).load(function() { |
6 |
window.print(); |
7 |
window.print(); |
7 |
- |
|
|