]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 23 May 2018 05:25:13 +0000 (07:25 +0200)
commit84fca5c20e4f950665eb009d38ad43cdfe61ecf8
tree38188bfbb1260023a1174af5d034114660c34bc8
parent8b19de7bc31bea826dc504cc61a2803bded35dd0
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>
(cherry picked from commit 4df24fdde1b6845930d2532c23be2e6d3bf6ef9a)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
acqui/neworderempty.pl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersubscription.tt