]> git.koha-community.org Git - koha.git/commit
Bug 19030: Preserve link between order and subscription when editing an order
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 16 Apr 2018 20:41:42 +0000 (17:41 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Tue, 22 May 2018 10:17:35 +0000 (10:17 +0000)
commit4df24fdde1b6845930d2532c23be2e6d3bf6ef9a
tree2107245bbdf100e481c14d49078d89c0983b613f
parent9c702eb2c34011ebc034bfab12e88875d4fde4cf
Bug 19030: Preserve link between order and subscription when editing an order

The aqorders.subscriptionid info is not sent to the template when the
order is edited. Which means we lose this link.

Test plan:
Create an order from a subscription
Edit the order
=> Without this patch, the aqorders.subscriptionid value is set to NULL
and items are created when receiving serial.

=> With this patch applied the link is preserved and expected behaviors
are preserved during all the acquisition workflow

You should also try and create several orders from the same subscription

Sponsored-by: BULAC - http://www.bulac.fr/
Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
acqui/neworderempty.pl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersubscription.tt