View | Details | Raw Unified | Return to bug 11014
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/slip-print.inc (+10 lines)
Line 0 Link Here
1
<script type="text/javascript">
2
[% IF ( Koha.Preference('IntranetSlipPrinterJS') ) %]
3
    [% Koha.Preference('IntranetSlipPrinterJS') %]
4
[% ELSE %]
5
    function printThenClose() {
6
        window.print();
7
        setTimeout('window.close()', 1);
8
    }
9
[% END %]
10
</script>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt (-10 / +1 lines)
Lines 8-23 Link Here
8
<link rel="stylesheet" type="text/css" href="[% stylesheet %]" />
8
<link rel="stylesheet" type="text/css" href="[% stylesheet %]" />
9
[% END %]
9
[% END %]
10
10
11
<script type="text/javascript">
11
[% INCLUDE 'slip-print.inc' #printThenClose %]
12
[% IF ( Koha.Preference('IntranetSlipPrinterJS') ) %]
13
    [% Koha.Preference('IntranetSlipPrinterJS') %]
14
[% ELSE %]
15
     function printThenClose() {
16
         window.print();
17
         window.close();
18
     }
19
[% END %]
20
</script>
21
</head>
12
</head>
22
<body id="circ_printslip" class="circ" onload="printThenClose();">
13
<body id="circ_printslip" class="circ" onload="printThenClose();">
23
<div id="receipt">
14
<div id="receipt">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt (-6 / +2 lines)
Lines 1-15 Link Here
1
[% USE Koha %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Summary for [% firstname %] [% surname %] ([% cardnumber %])</title>
4
<title>Summary for [% firstname %] [% surname %] ([% cardnumber %])</title>
4
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" />
6
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" />
6
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/print.css" />
7
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/print.css" />
7
<script type="text/javascript">
8
[% INCLUDE 'slip-print.inc' #printThenClose %]
8
    function printThenClose() {
9
        window.print();
10
        window.close();
11
    }
12
</script>
13
<body id="pat_moremember-print" class="pat" onload="printThenClose();">
9
<body id="pat_moremember-print" class="pat" onload="printThenClose();">
14
10
15
</head>
11
</head>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-receipt.tt (-6 / +2 lines)
Lines 1-15 Link Here
1
[% USE Koha %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Print Receipt for [% cardnumber %]</title>
3
<title>Print Receipt for [% cardnumber %]</title>
3
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" />
5
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" />
5
 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/print.css" />
6
 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/print.css" />
6
7
7
<script type="text/javascript">
8
[% INCLUDE 'slip-print.inc' #printThenClose %]
8
    function printThenClose() {
9
        window.print();
10
        window.close();
11
    }
12
</script>
13
</head>
9
</head>
14
<body id="pat_moremember-receipt" class="pat" onload="printThenClose();">
10
<body id="pat_moremember-receipt" class="pat" onload="printThenClose();">
15
11
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/printfeercpt.tt (-6 / +2 lines)
Lines 1-14 Link Here
1
[% USE Koha %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Print Receipt for [% cardnumber %]</title>
3
<title>Print Receipt for [% cardnumber %]</title>
3
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" />
5
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" />
5
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/printreceiptinvoice.css" />
6
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/printreceiptinvoice.css" />
6
<script type="text/javascript">
7
[% INCLUDE 'slip-print.inc' #printThenClose %]
7
    function printThenClose() {
8
        window.print();
9
        window.close();
10
    }
11
</script>
12
</head>
8
</head>
13
<body id="pat_printfeercpt" class="pat" onload="printThenClose();">
9
<body id="pat_printfeercpt" class="pat" onload="printThenClose();">
14
10
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/printinvoice.tt (-6 / +2 lines)
Lines 1-14 Link Here
1
[% USE Koha %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Print Receipt for [% cardnumber %]</title>
3
<title>Print Receipt for [% cardnumber %]</title>
3
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" />
5
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" />
5
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/printreceiptinvoice.css" />
6
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/printreceiptinvoice.css" />
6
<script type="text/javascript">
7
[% INCLUDE 'slip-print.inc' #printThenClose %]
7
    function printThenClose() {
8
        window.print();
9
        window.close();
10
    }
11
</script>
12
</head>
8
</head>
13
<body id="printinvoice" class="pat" onload="printThenClose();">
9
<body id="printinvoice" class="pat" onload="printThenClose();">
14
10
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/printslip.tt (-2 / +1 lines)
Lines 23-29 Link Here
23
<script language="javascript">
23
<script language="javascript">
24
    function printThenClose() {
24
    function printThenClose() {
25
        window.print();
25
        window.print();
26
        window.close();
26
        setTimeout('window.close()', 1);
27
    }
27
    }
28
</script>
28
</script>
29
</body>
29
</body>
30
- 

Return to bug 11014