Koha-clms/Koha/Acquisition
Jonathan Druart 5e3980502b
Bug 33103: Add the ability to create vendor aliases
This patchset is adding the ability to create aliases for vendors. It
will then be easier to search for vendors.

* new DB table aqbookseller_aliases(id, vendor_id, alias)
* new pair of Koha classes Koha::Acquisition::Bookseller::Alias[es]
* new method to retrieve the aliases from the vendor
Koha::Acquisition::Bookseller->aliases
* The api spec changes to allow aliases to be embeded on
GET /acquisitions/vendors
* Add/Delete alias when editing a vendor
* Display the aliases on the vendor show view
* Search vendors by aliases
* Display the aliases in the dropdown list of the vendors in the ERM
module

Test plan:
- Create a vendor, add it some aliases
- Edit the vendor, remove some aliases
=> Behaviour must be consistent
- Search the vendor in the acquisition module by its aliases
=> The vendor must be returned in the result
- Go to the ERM module, add a new agreement or license
=> Notice that the dropdown list of the vendors is displaying the
aliases, that make vendors searchable by their aliases

Signed-off-by: Jonathan Field <jonathan.field@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-04-20 15:48:36 -03:00
..
Bookseller Bug 33103: Koha classes 2023-04-20 15:48:35 -03:00
Invoice Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
Order Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
Basket.pm Bug 28640: Expose EDI Status on basket details page 2021-07-26 12:46:32 +02:00
BasketGroup.pm Bug 24461: Add to_api_mapping to Koha::Acquisition::BasketGroup 2020-03-24 11:32:37 +00:00
BasketGroups.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Baskets.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Bookseller.pm Bug 33103: Add the ability to create vendor aliases 2023-04-20 15:48:36 -03:00
Booksellers.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Budget.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Budgets.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Currencies.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
Currency.pm Bug 29859: Use iterator instead of as_list 2022-02-09 15:36:23 -10:00
Fund.pm Bug 15329: Add new column for budget to the late orders table 2020-11-04 12:59:34 +01:00
Funds.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Invoice.pm Bug 31115: Add support for additional fields for invoices 2022-10-24 14:11:06 -03:00
Invoices.pm Bug 31115: Add support for additional fields for invoices 2022-10-24 14:11:06 -03:00
Order.pm Bug 25655: Store actual cost in foreign currency and currency from the invoice 2023-03-06 13:57:53 -03:00
Orders.pm Bug 15348: (follow-up) Fix filtering results on estimated delivery date 2022-09-16 10:36:57 -03:00