Bug 7180: make neworderempty code use getAuthValueDropbox.
authorJonathan Druart <jonathan.druart@biblibre.com>
Tue, 10 Sep 2013 08:31:11 +0000 (10:31 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Sun, 4 May 2014 19:49:20 +0000 (19:49 +0000)
commit9eee2b508853a22e9baf26122de537e5cabf0a18
tree3903c3f2f777936060fa16b46bfbb843b3a7cd8c
parentb9619a485efbb209fecbf6bc7bb8b0ecd7091c98
Bug 7180: make neworderempty code use getAuthValueDropbox.

The js function fetchSortDropbox has been deleted in previous patch.
The new function is getAuthValueDropbox.

Test plan:
- link authorized values to some funds
- open an existing order and verify value are correctly filled in the
  sort1 and sort2 values
- create a new order and verify behavior is the same as before

Note: This patch generates 2 ajax queries (max) if the budget is linked
to 2 av categories for sort1 and sort2. This could be improved using a
template plugin for values display on load.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
acqui/neworderempty.pl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt