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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt (-2 / +8 lines)
Lines 7-13 Link Here
7
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'datatables.inc' %]
8
[% INCLUDE 'datatables.inc' %]
9
<script>
9
<script>
10
11
    var MSG_CONFIRM_CLOSE_BASKETGROUP = _("Are you sure you want to close this basketgroup?");
10
    var MSG_CONFIRM_CLOSE_BASKETGROUP = _("Are you sure you want to close this basketgroup?");
12
    var MSG_CLOSE_EMPTY_BASKET = _("Why close an empty basket?");
11
    var MSG_CLOSE_EMPTY_BASKET = _("Why close an empty basket?");
13
    var MSG_SAVE_BEFORE_PRINTING = _("You need to save the page before printing");
12
    var MSG_SAVE_BEFORE_PRINTING = _("You need to save the page before printing");
Lines 24-29 Link Here
24
        }
23
        }
25
    }
24
    }
26
25
26
    function closeandprint(bg){
27
        if(document.location = '/cgi-bin/koha/acqui/basketgroup.pl?op=closeandprint&amp;basketgroupid=' + bg ){
28
            setTimeout("window.location.reload();",3000);
29
        }else{
30
        alert(MSG_FILE_DOWNLOAD_ERROR);
31
        }
32
    }
33
27
    $(document).ready(function() {
34
    $(document).ready(function() {
28
        [% IF ( listclosed) %]
35
        [% IF ( listclosed) %]
29
            $("#basket_groups a[href='#closed']").tab("show");
36
            $("#basket_groups a[href='#closed']").tab("show");
30
- 

Return to bug 31056