Bug 12648: Link patrons to an order
authorJonathan Druart <jonathan.druart@biblibre.com>
Thu, 24 Jul 2014 11:43:05 +0000 (13:43 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 11 Mar 2015 14:47:30 +0000 (11:47 -0300)
commit519c27364334a1b62dd9acd4a36fbd40b7492475
tree01629447008a8920964cd4e1c5b88c03b61a08c0
parentbb1beb4f5d45fd288ad1ed8cb893b4bd2a01c1db
Bug 12648: Link patrons to an order

This patch is the main patch.

This feature adds the ability to link patrons to an order.
On that way, they will be notified when the order is completely
received.

Test plan:
1/ Execute the updatedb entry and verify you have a new notification template in your table (tools/letter.pl).
code: ACQ_NOTIF_ON_RECEIV, module: acquisition
2/ You can edit it if you want
3/ Create a basket and create an order with 1 or more items
4/ Link 1+ patrons to this order
5/ Close the basket and receive the order
6/ When you have received all items for this order, all patrons attached
will be notified. Check the message_queue table to check if the letters
have correctly been added to the queue.

Signed-off-by: Paola Rossi <paola.rossi@cineca.it>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Acquisition.pm
acqui/addorder.pl
acqui/basket.pl
acqui/neworderempty.pl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt
tools/letter.pl