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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt (-11 / +23 lines)
Lines 1-19 Link Here
1
[% INCLUDE 'doc-head-open.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Acquisitions &rsaquo; [% UNLESS ( basketno ) %]New [% END %][% IF ( delete_confirm ) %]Delete [% END %]Basket [% basketname|html %] ([% basketno %]) for [% name|html %]</title>
2
<title>Koha &rsaquo; Acquisitions &rsaquo; [% UNLESS ( basketno ) %]New [% END %][% IF ( delete_confirm ) %]Delete [% END %]Basket [% basketname|html %] ([% basketno %]) for [% name|html %]</title>
3
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
3
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'doc-head-close.inc' %]
5
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script>
6
[% INCLUDE 'datatables-strings.inc' %]
7
<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script>
4
[% UNLESS ( closedate ) %]
8
[% UNLESS ( closedate ) %]
5
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
6
<script type="text/javascript">
9
<script type="text/javascript">
7
//<![CDATA[
10
//<![CDATA[
8
    $(document).ready(function() {
9
        $("#orders").tablesorter({
10
            headers: {
11
                9: { sorter: false },
12
                10: { sorter: false }
13
            }
14
        });
15
        $("#cancelledorderst").tablesorter();
16
    });
17
            function confirm_close() {
11
            function confirm_close() {
18
                var is_confirmed = confirm(_('Are you sure you want to close this basket?'));
12
                var is_confirmed = confirm(_('Are you sure you want to close this basket?'));
19
                if (is_confirmed) {
13
                if (is_confirmed) {
Lines 67-72 Link Here
67
</script>
61
</script>
68
[% END %]
62
[% END %]
69
[% END %]
63
[% END %]
64
<script type="text/javascript">
65
//<![CDATA[
66
    $(document).ready(function() {
67
        var orderst = $("#orders").dataTable($.extend(true, {}, dataTablesDefaults, {
68
            "sPaginationType": "four_button"
69
        } ) );
70
        var cancelledorderst = $("#cancelledorderst").dataTable($.extend(true, {}, dataTablesDefaults, {
71
            "sPaginationType": "four_button"
72
        } ) );
73
    } );
74
            function confirm_reopen(skip) {
75
                var is_confirmed = skip || confirm(_('Are you sure you want to reopen this basket?'));
76
                if (is_confirmed) {
77
                    window.location = "[% script_name %]?op=reopen&basketno=[% basketno %]";
78
                }
79
            }
80
//]]>
81
</script>
82
70
<style type="text/css">
83
<style type="text/css">
71
.sortmsg {font-size: 80%;}
84
.sortmsg {font-size: 80%;}
72
</style>
85
</style>
73
- 

Return to bug 5345