Koha/koha-tmpl/intranet-tmpl/prog
Jonathan Druart 62c9919515 Bug 20426: Fix default fund value when adding orders from iso2709 file
A new bug has been highlighted since:
  commit b830349f45
  Bug 19453: Incorrect jQuery selector for fund drop down validation

Prior to bug 19453 the check on the existence of the fund did not work
as expected, no select with name='budget_code' existed and the error was
never raised.
Now it works but expect a fund to be selected for every record to
import.
This check must only be done if there is no default value selected.

Test plan:
- Create an order from a staged file
- Do not select any funds
=> You must get a warning
- Select a specific fund for some of the records
=> You must get a warning
- Select a default fund in the last tab
=> You must not get a warning and the records must be imported and
inserted with the correct fund

Signed-off-by: Sonia Bouis <sonia.bouis@univ-lyon3.fr>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2018-04-12 10:50:38 -03:00
..
css Bug 20045: Switch single-column templates to Bootstrap grid: Various 2018-03-26 17:31:26 -03:00
en Bug 20426: Fix default fund value when adding orders from iso2709 file 2018-04-12 10:50:38 -03:00
img
js Bug 20115: Trigger "modified" when sort is changed 2018-04-04 15:45:44 -03:00
pdf
sound