]> git.koha-community.org Git - koha.git/commit
Bug 24819: Allow the librarian to choose a patron when entering a purchase suggestion
authorMatthias Meusburger <matthias.meusburger@biblibre.com>
Thu, 5 Mar 2020 15:41:25 +0000 (16:41 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 20 Apr 2020 12:36:22 +0000 (13:36 +0100)
commitfa580344912781d8b010f81fab8e1e4298c493e7
treeb41e880d88641ea628abb51b74e9dedb237ed008
parentb331d19e8df506991fc1deafc372c27a1554015a
Bug 24819: Allow the librarian to choose a patron when entering a purchase suggestion

Sometimes librarians are creating purchase suggestions that came from patrons
which didn't use the opac (but sent an email, or told the librarian verbally...)

This patch allows the librarian to change the creator of the purchase suggestion
when entering it.

This way, the patron will be able to receive notifications during the purchase
suggestion workflow.

Test plan:

 - Apply the patch

 - Check that you can change the default creator of the purchase suggestion when
   creating a new suggestion by clicking on 'Set to patron'
   (Home > Acquisitions > Suggestions management > New purchase suggestion)

 - Check that you can also change the creator of the purchase suggestion when
   editing an existing suggestion

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt
koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/tables/suggestion_search.tt [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/js/suggestions.js [new file with mode: 0644]
suggestion/suggestion_search.pl [new file with mode: 0755]