Bug 34880: (follow-up) Make condition more specific
authorKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 22 Sep 2023 08:53:23 +0000 (08:53 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 22 Sep 2023 13:52:42 +0000 (10:52 -0300)
commite28ea9c4af380cae9b29b56ebe03ab0f244d2c47
tree970d8a0cced8925324971e9b7c09ce20503551b2
parent9dd6fa2d8d015b16a60bb1f1cc6bda8dba3ce662
Bug 34880: (follow-up) Make condition more specific

To test (applies to both patches):

* Add a new basket as 'standing order' and with 'items created in cataloguing'
* Create an order line
* Receive shipment and create an invoice
* Receive your order
* Verify:
  * Quantity ordered: 1
  * Quantity received: 1 (pre-filled)
  * No item form on the right
* Confirm
* Receive error:
  Order X: No quantity to receive set. No items will be created.
* Verify no receive was processed (received orders remains empty)
* Apply patch
* Verify receive works as expected

Other possible combinations to test:

* Standing order, items on receive
* Standing order, items on order (no items are created)
* Standing order + order from subscription + any item setting (no items are created)
* No standing order + items in cataloguing
* No standing order + items on receive
* No standing order + items on order
* No standing oder + order from subscription + all item settings (no items are created)

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt