Koha/koha-tmpl/intranet-tmpl/prog/en
Tomas Cohen Arazi 0fc69b1df2 Bug 33864: Better handling of confirmation button
This patch corrects the behavior of the 'Confirm' button on the three
possible scenarios regarding item creation.

Ordering:
- 'Confirm' disabled, only gets enabled if quantity > 0

Receiving:
- Quantity gets locked (only changeable when creating items)
- 'Confirm' disabled, only gets enabled if quantity > 0

Cataloguing:
- It now defaults to 1
- 'Confirm' enabled by default (because of 1) if quantity is set to 0,
  it gets disabled.

To test:
1. Verify the described behavior with the sample orders for the previous
   patch.
=> SUCCESS: It does the job!

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Andrew Nugged <nugged@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2023-05-31 10:18:44 +02:00
..
data
includes Bug 33829: Fix add patron to patron list if PatronAutoComplete is off 2023-05-26 09:50:06 -03:00
modules Bug 33864: Better handling of confirmation button 2023-05-31 10:18:44 +02:00
xslt Bug 29185: (QA follow-up) Quote title search in GetCnumSearchURL 2023-05-10 15:26:30 -03:00