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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 21 Dec 2020 09:07:59 +0000 (10:07 +0100)
commit080288bce48cf4fa94b19d35a117dd3e1967a4c9
tree27a17147e90f20e917f27791186dcc21f6294f86
parenta43fcaf1416057905c277951fb2b0bff13977d33
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>
koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt