Bug 23321: Add cash register support to paycollect
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 17 Sep 2019 11:24:27 +0000 (12:24 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 23 Sep 2019 10:39:22 +0000 (11:39 +0100)
commit1a740fda1ea9d2f9be828481e075d4105701f275
treef6925529ca33682356a08351f5ab232216fa1c8f
parent6461dc1a179451a34492c39178df9cbf6704f9d1
Bug 23321: Add cash register support to paycollect

This patch ties in the cash registers system to the paycollect payment
pages in the staff client.

Test plan:
1) Add some manual fees to a test patron
2) Select some fees to pay off
3) Note the addition of a select box for selecting your cash register
   upon payment.
4) Set a branch default cash register for the current branch
5) Repeat step 3 and note that the pre-selected cash register is the one
   set in step 4.
6) Unset the branch default cash register for the current branch
7) Repeat step 3 and note that there is no cash register pre-selected
8) Set 'UseCashRegisters' to 'Do not'
9) Repeat step 3 and note that there is no longer an option to select a
   cash register
10) 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/Account.pm
Koha/Exceptions/Account.pm
koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt
members/paycollect.pl