Koha-clms/Koha/Account
Martin Renvoize 94cc4b1ea7 Bug 31036: Treat SIP00 that same as CASH
SIP00 is the code for CASH transactions that have taken place on a SIP
client.  Cash management treats CASH type transactions as a special case
for banking and register requirements. This patch brings SIP00 in line
with the CASH handling code of cash management.

Test plan
1) Enable cash management with 'EnablePointOfSale'
2) Enable cash registers with 'UseCashRegisters'
3) Add a cash register via 'Administration > Cash registers'
4) Make some payments against the ash register in the staff client
5) Attempt to make a payment via a SIP client without having associated
   a cash register to the SIP account config
5a) This should now fail
6) Attach the cash register to the SIP account used above
6a) Payment should now work again on SIP transactions
7) Look at the cash register details page for the cash register
7a) 'Bankale' should now include cash from both SIP and Staff client
sales

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 9d8be887d0)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit c3c889e7f4)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
2022-08-26 14:08:48 +02:00
..
CreditType.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
CreditTypes.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
DebitType.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
DebitTypes.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
Line.pm Bug 31036: Treat SIP00 that same as CASH 2022-08-26 14:08:48 +02:00
Lines.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
Offset.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
Offsets.pm Bug 22435: Fix _set_found_trigger 2021-08-04 14:06:43 +02:00