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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/registers.tt (-2 / +4 lines)
Lines 75-81 Link Here
75
                                <td>[% register.description | html %]</td>
75
                                <td>[% register.description | html %]</td>
76
                                <td>
76
                                <td>
77
                                    [%- IF register.last_cashup -%]
77
                                    [%- IF register.last_cashup -%]
78
                                    [% register.last_cashup.timestamp | $KohaDates with_hours => 1 %] ([% register.last_cashup.amount | $Price %])
78
                                    [% register.last_cashup.timestamp | $KohaDates with_hours => 1 %] (<a data-toggle="modal" data-cashup="[% register.last_cashup.id | html %]" data-register="[% register.description | html %]" href="#cashupSummaryModal" class="button">Summary</a>)
79
                                    [%- ELSE -%]
79
                                    [%- ELSE -%]
80
                                    No last cashup
80
                                    No last cashup
81
                                    [%- END -%]
81
                                    [%- END -%]
Lines 177-184 Link Here
177
            </div> <!-- /.modal-dialog -->
177
            </div> <!-- /.modal-dialog -->
178
        </div> <!-- /#confirmCashupAllModal -->
178
        </div> <!-- /#confirmCashupAllModal -->
179
179
180
        [% INCLUDE 'modals/cashup_summary.inc' %]
181
180
        [% MACRO jsinclude BLOCK %]
182
        [% MACRO jsinclude BLOCK %]
181
        [% INCLUDE 'datatables.inc' %]
183
        [% INCLUDE 'datatables.inc' %]
184
        [% Asset.js("js/cashup_modal.js") | $raw %]
182
        <script>
185
        <script>
183
            $(document).ready(function () {
186
            $(document).ready(function () {
184
187
185
- 

Return to bug 26272