Bug 24786: (QA follow-up) Add validation to paycollect
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 15 Oct 2020 12:41:16 +0000 (13:41 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 6 Nov 2020 14:40:00 +0000 (15:40 +0100)
commitd5e3f431e77be4d80405aedd2ca36c23a4e4c413
tree95c2193099f2d8dab6af200cc122a0719c13b6b5
parent085e5739db71e782fe5a848e0e2585c0f3c52f56
Bug 24786: (QA follow-up) Add validation to paycollect

This patch adds conditional validation to the cash register field on
paycollect such that if 'CASH' is selected as the payment type and cash
registers are enabled, then a cash register will be required.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt