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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt (-1 / +1 lines)
Lines 332-340 Link Here
332
    [% MACRO jsinclude BLOCK %]
332
    [% MACRO jsinclude BLOCK %]
333
    [% INCLUDE 'datatables.inc' %]
333
    [% INCLUDE 'datatables.inc' %]
334
    [% Asset.js("lib/jquery/plugins/rowGroup/dataTables.rowGroup.min.js") | $raw %]
334
    [% Asset.js("lib/jquery/plugins/rowGroup/dataTables.rowGroup.min.js") | $raw %]
335
    [% INCLUDE 'js-date-format.inc' %]
335
    [% Asset.js("js/cashup_modal.js") | $raw %]
336
    [% Asset.js("js/cashup_modal.js") | $raw %]
336
    [% INCLUDE 'calendar.inc' %]
337
    [% INCLUDE 'calendar.inc' %]
337
    [% INCLUDE 'js-date-format.inc' %]
338
    <script>
338
    <script>
339
        var sales_table = $("#sales").dataTable($.extend(true, {}, dataTablesDefaults, {
339
        var sales_table = $("#sales").dataTable($.extend(true, {}, dataTablesDefaults, {
340
            orderFixed: [ 0, 'asc'],
340
            orderFixed: [ 0, 'asc'],
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/registers.tt (+1 lines)
Lines 195-200 Link Here
195
195
196
        [% MACRO jsinclude BLOCK %]
196
        [% MACRO jsinclude BLOCK %]
197
        [% INCLUDE 'datatables.inc' %]
197
        [% INCLUDE 'datatables.inc' %]
198
        [% INCLUDE 'js-date-format.inc' %]
198
        [% Asset.js("js/cashup_modal.js") | $raw %]
199
        [% Asset.js("js/cashup_modal.js") | $raw %]
199
        <script>
200
        <script>
200
            $(document).ready(function () {
201
            $(document).ready(function () {
(-)a/koha-tmpl/intranet-tmpl/prog/js/cashup_modal.js (-3 / +4 lines)
Lines 11-18 $('#cashupSummaryModal').on('show.bs.modal', function(e) { Link Here
11
        },
11
        },
12
        async: false,
12
        async: false,
13
        success: function(data) {
13
        success: function(data) {
14
            summary_modal.find('#from_date').text(data.summary.from_date);
14
            let from_date = $datetime(data.summary.from_date);
15
            summary_modal.find('#to_date').text(data.summary.to_date);
15
            summary_modal.find('#from_date').text(from_date);
16
            let to_date = $datetime(data.summary.to_date);
17
            summary_modal.find('#to_date').text(to_date);
16
            var tbody = summary_modal.find('tbody')
18
            var tbody = summary_modal.find('tbody')
17
            tbody.empty();
19
            tbody.empty();
18
            for (out of data.summary.payout_grouped) {
20
            for (out of data.summary.payout_grouped) {
19
- 

Return to bug 31121