]> git.koha-community.org Git - koha.git/commit
Bug 9896 - Show vendor in subscription search when creating an order for a subscription
authorAndreas Roussos <arouss1980@gmail.com>
Tue, 13 Sep 2016 14:41:16 +0000 (17:41 +0300)
committerFrédéric Demians <f.demians@tamil.fr>
Fri, 30 Sep 2016 09:23:33 +0000 (11:23 +0200)
commit602b92795644ec9eab002542df5ee59b733d86e7
treea7edbc684afe241302f93392c26e17a6671d4d29
parent5cd5b755cd846b0f4076472321920edc0a93f86e
Bug 9896 - Show vendor in subscription search when creating an order for a subscription

In the staff client, when creating an order from a subscription
the vendor name should be shown in a separate column.

This patch adds that feature. The 'Vendor' column is added before
the 'Library' column since they appear in that order in Advanced
search.

Test plan:
0) [PREREQUISITES] In the Staff client, under Acquisitions, create
   a Vendor and associated Basket if you don't already have them.
   Then, under Serials, add a new Subscription using the Vendor
   you've just created.
1) Go to Acquisitions, and under 'Manage orders' search for a vendor,
   then click on 'Add to basket' and select 'From a subscription'.
2) Click 'Search' on the left hand side to search for all subscriptions.
   Notice how there is no 'Vendor' column in the results table.
3) Apply the patch.
4) Repeat step 2. Confirm that the patch works, i.e. there is now
   a 'Vendor' column which displays the vendor name.

Followed test plan, works as expected.

Signed-off-by: Marc Véron <veron@veron.ch>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit f57df28f96898f47a3c4c6e6a5520bcaaf7afe2e)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
C4/Serials.pm
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersubscription.tt