Bug 31017: Add new vendor_type field to edit screen and display
authorNick Clemens <nick@bywatersolutions.com>
Thu, 23 Jun 2022 10:58:31 +0000 (10:58 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 19 Aug 2022 19:15:11 +0000 (16:15 -0300)
commitbfa2a1a148f6ac0c0ace39bebe294d0bcc38aa9a
treec58c6f7885321c58b47ea799443a37d6001f8215
parentf0010cb39d400cad6942832f4ccaff1151c98446
Bug 31017: Add new vendor_type field to edit screen and display

This patch adds a new vendor_type field when creating/editing vendors
and displays the field on search and details for a vendor

To test:
 1 - Apply patch, update database
 2 - Edit/create a vendor in acquisitions
 3 - Note new 'Vendor type' field, free text in editor
 4 - Save a value
 5 - Confirm it displays in vendor search results and vendor main page
 6 - In Authorised values add a new value to 'VENDOR_TYPE' category
 7 - Confirm the description of VENDOR_TYPE shows and makes sense
 8 - Add/Edit a vendor, note the vendor type is now a dropdown selection
 9 - Save with a value
10 - Confirm the description shows in results and vendor page and vendor details

Signed-off-by: Caroline <caroline.cyr-la-rose@inlibro.com>
Signed-off-by: KIT Library Germany <michaela.sieber@kit.edu>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
acqui/booksellers.pl
acqui/updatesupplier.pl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt