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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt (+1 lines)
Lines 333-338 Link Here
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 'format_price.inc' %]
335
    [% INCLUDE 'format_price.inc' %]
336
    [% INCLUDE 'js-date-format.inc' %]
336
    [% Asset.js("js/cashup_modal.js") | $raw %]
337
    [% Asset.js("js/cashup_modal.js") | $raw %]
337
    [% INCLUDE 'calendar.inc' %]
338
    [% INCLUDE 'calendar.inc' %]
338
    <script>
339
    <script>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/registers.tt (+1 lines)
Lines 196-201 Link Here
196
        [% MACRO jsinclude BLOCK %]
196
        [% MACRO jsinclude BLOCK %]
197
        [% INCLUDE 'datatables.inc' %]
197
        [% INCLUDE 'datatables.inc' %]
198
        [% INCLUDE 'format_price.inc' %]
198
        [% INCLUDE 'format_price.inc' %]
199
        [% INCLUDE 'js-date-format.inc' %]
199
        [% Asset.js("js/cashup_modal.js") | $raw %]
200
        [% Asset.js("js/cashup_modal.js") | $raw %]
200
        <script>
201
        <script>
201
            $(document).ready(function () {
202
            $(document).ready(function () {
(-)a/koha-tmpl/intranet-tmpl/prog/js/cashup_modal.js (-3 / +4 lines)
Lines 12-19 $(document).ready(function() { Link Here
12
            },
12
            },
13
            async: false,
13
            async: false,
14
            success: function(data) {
14
            success: function(data) {
15
                summary_modal.find('#from_date').text(data.summary.from_date);
15
                let from_date = $datetime(data.summary.from_date);
16
                summary_modal.find('#to_date').text(data.summary.to_date);
16
                summary_modal.find('#from_date').text(from_date);
17
                let to_date = $datetime(data.summary.to_date);
18
                summary_modal.find('#to_date').text(to_date);
17
                var tbody = summary_modal.find('tbody')
19
                var tbody = summary_modal.find('tbody')
18
                tbody.empty();
20
                tbody.empty();
19
                for (out of data.summary.payout_grouped) {
21
                for (out of data.summary.payout_grouped) {
20
- 

Return to bug 31121