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 79-85 Link Here
79
                                <td>[% register.description | html %]</td>
79
                                <td>[% register.description | html %]</td>
80
                                <td>
80
                                <td>
81
                                    [%- IF register.last_cashup -%]
81
                                    [%- IF register.last_cashup -%]
82
                                    [% register.last_cashup.timestamp | $KohaDates with_hours => 1 %] ([% register.last_cashup.amount | $Price %])
82
                                    [% 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>)
83
                                    [%- ELSE -%]
83
                                    [%- ELSE -%]
84
                                    No last cashup
84
                                    No last cashup
85
                                    [%- END -%]
85
                                    [%- END -%]
Lines 181-188 Link Here
181
            </div> <!-- /.modal-dialog -->
181
            </div> <!-- /.modal-dialog -->
182
        </div> <!-- /#confirmCashupAllModal -->
182
        </div> <!-- /#confirmCashupAllModal -->
183
183
184
        [% INCLUDE 'modals/cashup_summary.inc' %]
185
184
        [% MACRO jsinclude BLOCK %]
186
        [% MACRO jsinclude BLOCK %]
185
        [% INCLUDE 'datatables.inc' %]
187
        [% INCLUDE 'datatables.inc' %]
188
        [% Asset.js("js/cashup_modal.js") | $raw %]
186
        <script>
189
        <script>
187
            $(document).ready(function () {
190
            $(document).ready(function () {
188
191
189
- 

Return to bug 26272