]> git.koha-community.org Git - koha.git/commit
Bug 26274: Update register.tt to use the API
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 28 Jan 2021 17:20:29 +0000 (17:20 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 12 Feb 2021 11:33:41 +0000 (12:33 +0100)
commit7878aa00123d79065692b046e2a7538d313a6c1f
treeaf2c2d3ee070c11bab0d928c8921b81791ac67fc
parent9ba40e1adf53ad84ac1e123ce08e2c7c242704ba
Bug 26274: Update register.tt to use the API

This patch updates the existing register details page to utilise the new
api routes to gather the summary details on demand.

Test plan
1/ Enable cash registers
2/ Add some transactions
3/ Perform a cashup
4/ Click 'Summary' next to the last cashup date
5/ Note the modal appears as it did prior to the patch being applied.
6/ Check the print option still works
7/ Signoff

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/includes/modals/cashup_summary.inc [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt
koha-tmpl/intranet-tmpl/prog/js/cashup_modal.js [new file with mode: 0644]