Bug 33541: Add document type to list of suggestions when ordering
authorKatrin Fischer <katrin.fischer.83@web.de>
Sun, 16 Apr 2023 14:01:10 +0000 (14:01 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 16 May 2023 18:17:45 +0000 (15:17 -0300)
commit0985e975894a82c1aa675a21f6bd70d146a11241
tree94d306648be36ac7e479e72b00c31fcc44096946
parent30475943d7e329475d24be374da0fdbd44c7eadb
Bug 33541: Add document type to list of suggestions when ordering

This adds the document type (suggestions.itemtype) to the list
of accepted suggestions when creating an order from a suggestion.

To test:
* Add some suggestions and make sure to pick different document types.
* Accept those suggestions in the staff interface.
* Go to acquisitions
* Create a basket
* Add an 'order from a suggestion'
* Verify that the list shows the 'document type' nicely and correctly
* Order one, all good? sign off.

Signed-off-by: Juliet <jheltibridle@rcplib.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Removed IS_OPAC param from AuthorisedValues.GetByCode

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersuggestion.tt