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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Mon, 28 Dec 2020 21:23:06 +0000 (21:23 +0000)
commitddd5fa021b9908d68bbf767742eeeca0b19ab2e6
tree1839ccb614b5e6f94921ce482dffeb1bfae9b346
parent57ebf6dcc01e0106f5b86c96808b20d8c9b3c5ed
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>
(cherry picked from commit f5d1436a1d5ee8299841cdab54bb35c437e33700)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt