Bug 24519: Match paycollect form validation for change collection
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 2 Mar 2020 16:45:58 +0000 (16:45 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 28 Dec 2020 13:56:28 +0000 (14:56 +0100)
commitf5d1436a1d5ee8299841cdab54bb35c437e33700
tree7ed38a42af7c2e0c11a6c8d69f9f9f51a58620a0
parent7e25a22baf48555761dcf1257efea2cd65e197f7
Bug 24519: Match paycollect form validation for change collection

This patch adds form validation to the Point Of Sale payment page such
that one cannot submit the form with a 'collected' value that is less
than the 'owed' amount.

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 080288bce48cf4fa94b19d35a117dd3e1967a4c9)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt