Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Marcel de Rooy 27f1df0670 Bug 9088: if there is only one active order, pre-select it when creating new orderings
This patch makes the following changes to the template:

[1] If you add an order line, and you have one active fund (and zero or
    more inactive funds), the only active fund is preselected.
[2] If you modify an order line while its fund is inactive, it now shows
    the label (inactive) behind the fund name. (Note that other inactive funds
    may come up when clicking 'Show all' as they did before.)
[3] Corrected some indentation in this template part.

Test plan:

[1] Add an order line while having one active fund. Is it selected?
[2] Add an order line while having two or more active funds. No fund
    should be preselected.
[3] Modify an order line with an active fund. Is it still selected?
[4] Modify an order line with an inactive fund F2 (while having one active
    fund F1; note that this test explicitly wants F1 to be before F2).
    Check if F2 is selected and is labeled inactive.
[5] (Bonus points:) Modify an order line that refers to a deleted fund.
    If you edit this order, the fund combo should say: Select a fund.
    (Note: if you delete a fund, the budget_id in aqorders remains.)

Signed-off-by: Paola Rossi <paola.rossi@cineca.it>
I test against master 3.15.00.051
I test against all the three options of the AcqCreateItem:
placing an order
receiving an order
cataloging the record
All is OK.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2014-05-25 15:07:49 +00:00
..
acqui Bug 9088: if there is only one active order, pre-select it when creating new orderings 2014-05-25 15:07:49 +00:00
admin Bug 10330 - Rename system preference authoritysep to AuthoritySeperator 2014-05-23 13:26:48 +00:00
authorities Bug 7442: fix crash when selecting an authority with 200$x or 200$y (UNIMARC) 2014-05-05 01:09:29 +00:00
basket Bug 12107 - Move checkboxes jQuery plugin outside of language-specific directory 2014-04-25 15:12:20 +00:00
batch
catalogue Bug 12206: fix HTML in other holdings list in staff search results page 2014-05-13 14:07:12 +00:00
cataloguing Bug 12138 - Use placeholders in translatable Javascript strings 2014-04-27 21:24:04 +00:00
circ Bug 12184: fix typo "retricted" on checkin page 2014-05-22 21:09:49 +00:00
course_reserves Bug 11570 - Upgrade jQueryUI to latest version in the staff client 2014-04-07 15:37:27 +00:00
errors
help Bug 12190: fold the "Creators" system preference tab into "Tools" 2014-05-23 13:09:51 +00:00
installer
labels Bug 12138 - Use placeholders in translatable Javascript strings 2014-04-27 21:24:04 +00:00
members Bug 766: Use a TT include instead of a method in the AV plugin 2014-05-04 23:04:35 +00:00
offline_circ Bug 12107 - Move checkboxes jQuery plugin outside of language-specific directory 2014-04-25 15:12:20 +00:00
patron_lists Bug 12138 - Use placeholders in translatable Javascript strings 2014-04-27 21:24:04 +00:00
patroncards Bug 11365: (follow-up) trim whitespace in the translate_card_element block 2014-05-23 14:46:54 +00:00
plugins
reports Bug 11679: Add ODS as an export format for reports 2014-04-28 19:06:41 +00:00
reserve Bug 12138 - Use placeholders in translatable Javascript strings 2014-04-27 21:24:04 +00:00
reviews
rotating_collections
serials Bug 12161: fix regression on serials receiving 2014-05-06 14:43:38 +00:00
services
sms
suggestion Bug 11724: Make Funds/Status on suggestions page sortable/searchable 2014-04-28 17:25:29 +00:00
tags Bug 12138 - Use placeholders in translatable Javascript strings 2014-04-27 21:24:04 +00:00
test
tools Bug 12238: (follow-up) tweak descriptions of the ID list 2014-05-23 15:53:21 +00:00
virtualshelves Bug 12116 - Move fixFloat jQuery plugin outside of language-specific directory 2014-04-25 15:21:11 +00:00
z3950
about.tt Bug 11578: QA follow-up 2014-05-03 18:16:11 +00:00
auth.tt
intranet-main.tt Bug 10415 - Add course reserves to staff client home page 2014-03-12 18:15:24 +00:00