]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 20 Apr 2018 15:23:52 +0000 (12:23 -0300)
commitbeb6bd866779a93373ae493c784afbcbd470e4a0
treecb036e7e3880ca09e7b76448804242db667c884e
parent5d7db25b00fd1191374650c5fe5a6da6d02fcb0c
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