]> git.koha-community.org Git - koha.git/commit
Bug 21811: Add JS confirmation when receiving - at least 1 item to receive
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 31 Jul 2020 08:21:27 +0000 (10:21 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Sun, 25 Oct 2020 23:14:41 +0000 (00:14 +0100)
commit615d97d345429417843a2dd32e838075b3e27495
treeb9023470dbd3165014b0e878fb8f0d740bf6a2a8
parent3bd23a3287345167de50d994d737351174c04936
Bug 21811: Add JS confirmation when receiving - at least 1 item to receive

When receiving, the "receive items" form should not be submitted if no
items are going to be received

Test plan:
Create an order, close the basket, receive some items
On the "receive items" form, do not select item (if items are created
when placing the order) and submit the form
=> You must get a JS alert that prevent the form to be submitted
Select at least one item, submit again
=> Now it's submitted

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt