Bug 21539: addorderiso2709.pl forces librarian to select a ccode and notforloan code...
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 10 Oct 2018 15:13:37 +0000 (11:13 -0400)
committerAleisha Amohia <aleishaamohia@hotmail.com>
Wed, 9 Sep 2020 09:34:12 +0000 (21:34 +1200)
commit38446b23116444cadbcfa04758b108ec81b5f768
tree670b2fae382d3618266ee5081517b70dc2543336
parent25fe729b4112bd856bdea0d178ed55ab9fc191ee
Bug 21539: addorderiso2709.pl forces librarian to select a ccode and notforloan code when using MarcItemFieldsToOrder

There is no reason that MarcItemFieldsToOrder should force librarians
to select a ccode and notforloan value for each item.
They are both optional fields.
As with location, the first value should be an empty 'none' option.

Test Plan:
1) Set up MarcItemFieldsToOrder, do *not* set mappings for ccode and notforloan
2) Add an order record to a basket that uses MarcItemFieldsToOrder
3) Note you must choose a ccode and nfl value
4) Apply this patch
5) Reload the page
6) Note you no longer have to select values for ccode and notforloan

Signed-off-by: Daniel Gaghan <daniel.gaghan@pueblolibrary.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 0c79b7d93b96434ddf91c6ddabb1570836736a15)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 5f6b557599b83e0230a3dca5b527924e883d17a3)

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt