Koha/acqui
Owen Leonard 87f20fd5fe
Bug 9993: On editing basket group delivery place resets to logged in branch
This patch modifies basketgroups.pl so that existing data about a basket
group's billing and delivery place are correctly preselected in the edit
form. These fields shouldn't reset to the logged-in user's home branch
just because they have an empty value.

To test, apply the patch and go to Acquisitions -> Vendor -> Basket
groups.

When adding or editing a basket group the pre-selected value for
"Billing place" and "Delivery place" should be correct:

   - When creating a new basket group: The logged-in user's library
     should be pre-selected.

   - When editing a basket group which has a library defined for either
     the billing or delivery places, the correct library should be
     pre-selected.

   - When editing a basket group which has no library defined for either
     the billing or delivery place there should be no library
     pre-selected (the "--" option should be pre-selected).

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-02-04 10:21:38 +00:00
..
acqui-home.pl
add_user_search.pl
addorder.pl Bug 24347: (follow-up) Remove custom catalog search from acquisitions 2020-01-30 10:59:27 +00:00
addorderiso2709.pl Bug 23338: Allow specifying order level replacement price when adding to basket from file 2019-08-19 08:26:39 +01:00
ajax-getauthvaluedropbox.pl
basket.pl Bug 24467: Remove _count methods introduced for API use 2020-01-31 13:50:52 +00:00
basketgroup.pl Bug 9993: On editing basket group delivery place resets to logged in branch 2020-02-04 10:21:38 +00:00
basketheader.pl Bug 23863: Editing a basket clears create_items value 2019-10-24 10:56:01 +01:00
booksellers.pl Bug 19809: Re-allow to call Koha::Objects::find in list context 2020-01-23 10:27:28 +00:00
cancelorder.pl
check_budget_total.pl
check_uniqueness.pl
duplicate_orders.pl Bug 23079: Handle invalid timezones when adding/subtracting durations 2019-09-06 13:17:47 +01:00
edi_ean.pl
edifactmsgs.pl
edimsg.pl
finishreceive.pl Bug 24277: Fix date received editing when receiving an order 2020-01-08 14:26:57 +00:00
histsearch.pl Bug 14669: Add search option for managing library to orders search 2019-10-08 14:04:48 +01:00
invoice-files.pl
invoice.pl Bug 11514: Untranslatable "Uncertain" text in acq 2019-11-06 16:54:42 +00:00
invoices.pl
lateorders-export.pl Bug 12502: (follow-up) Use modal to add/edit order notes 2020-01-20 16:37:21 +00:00
lateorders.pl Bug 12502: (follow-up) Use modal to add/edit order notes 2020-01-20 16:37:21 +00:00
modordernotes.pl
neworderempty.pl Bug 14963: Add the ability to suggest purchase on existing title 2020-01-02 13:08:44 +00:00
newordersubscription.pl
newordersuggestion.pl
ordered.pl Bug 23397: (follow-up) Split and display itemtypes 2019-09-06 13:17:46 +01:00
orderreceive.pl
parcel.pl Bug 24467: Remove _count methods introduced for API use 2020-01-31 13:50:52 +00:00
parcels.pl
showorder.pl
spent.pl Bug 23397: (follow-up) Split and display itemtypes 2019-09-06 13:17:46 +01:00
supplier.pl
transferorder.pl
uncertainprice.pl Bug 19809: Re-allow to call Koha::Objects::find in list context 2020-01-23 10:27:28 +00:00
updatesupplier.pl
z3950_search.pl