Bug 23321: Add cash register management
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 17 Sep 2019 11:23:49 +0000 (12:23 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 23 Sep 2019 10:39:21 +0000 (11:39 +0100)
commit4360c56621597cf09966679c90487b3978cfaf1b
treee3c96e2b2c150c3e625697db3f68f5de74ce203d
parent9247a33f869879b195a825d7213d9d7d2b348931
Bug 23321: Add cash register management

Add in administrative interfaces to allow the management of cash
registers.

Test plan:
1) Enable the use of cash registers by setting 'UseCashRegisters' to
   'Do'
2) Check that the 'Accounts > Manage cash registers' option now appears
   in the 'Administration' area.
3) Click through to 'Manage cash registers' and note the message
   suggesting you add your first register
4) Add you're first cash register
5) Note that the message has now been replaced by a table of cash
   registers including the one you have added in the previous step.
6) Edit the cash register created in step 4 and note that the table
   reflects the changes
7) Signoff

Sponsored-by: PTFS Europe
Sponsored-by: Cheshire Libraries Shared Services
Signed-off-by: Maryse Simard <maryse.simard@inlibro.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Cash/Register.pm [new file with mode: 0644]
Koha/Cash/Registers.pm [new file with mode: 0644]
admin/cash_registers.pl [new file with mode: 0755]
koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/cash_registers.tt [new file with mode: 0644]
t/db_dependent/Koha/Cash/Register.t [new file with mode: 0644]