|
Lines 525-531
Link Here
|
| 525 |
</div> <!-- / .row --> |
525 |
</div> <!-- / .row --> |
| 526 |
[% END # / IF validuser %] |
526 |
[% END # / IF validuser %] |
| 527 |
[% END # / UNLESS ( hide_main %] |
527 |
[% END # / UNLESS ( hide_main %] |
| 528 |
<b>[% checkinmessage %]</b> |
528 |
<b>[% checkinmessage | html %]</b> |
| 529 |
[% IF ( SCOMainUserBlock ) %] |
529 |
[% IF ( SCOMainUserBlock ) %] |
| 530 |
<div id="scomainuserblock"> |
530 |
<div id="scomainuserblock"> |
| 531 |
[% PROCESS koha_news_block news => SCOMainUserBlock %] |
531 |
[% PROCESS koha_news_block news => SCOMainUserBlock %] |
|
Lines 663-670
Link Here
|
| 663 |
[% IF Koha.Preference('SelfCheckReceiptPrompt') %] |
663 |
[% IF Koha.Preference('SelfCheckReceiptPrompt') %] |
| 664 |
var confirmStart = Date.now(); |
664 |
var confirmStart = Date.now(); |
| 665 |
if(confirm(_("Would you like to print a receipt?"))){ |
665 |
if(confirm(_("Would you like to print a receipt?"))){ |
| 666 |
if ( (Date.now() - confirmStart) < [% SelfCheckTimeout %] ) { |
666 |
if ( (Date.now() - confirmStart) < [% SelfCheckTimeout | html %] ) { |
| 667 |
window.open("/cgi-bin/koha/sco/printslip.pl?borrowernumber=[% borrowernumber %]&print=qslip"); |
667 |
window.open("/cgi-bin/koha/sco/printslip.pl?borrowernumber=[% borrowernumber | uri %]&print=qslip"); |
| 668 |
} |
668 |
} |
| 669 |
else { |
669 |
else { |
| 670 |
alert(_("Timeout while waiting for print confirmation")); |
670 |
alert(_("Timeout while waiting for print confirmation")); |