Bug 11755: ensure that SearchOrders returns booksellerid
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 5 Mar 2014 11:06:47 +0000 (12:06 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 27 May 2014 15:52:36 +0000 (17:52 +0200)
commit8f765aa560f439a75173bb56f4bacfca52fae376
treeaf7df308eab5e058c56d81c0eb7053cae14f1dc5
parentd726bf355cc7daec12ac10adfad1f06be4fcc568
Bug 11755: ensure that SearchOrders returns booksellerid

The SearchOrders routine should return the booksellerid and this
patch adds it.

This fixes several problems:

[1] The link to the vendor on the order receive page breadcrumbs
    was broken.
[2] The tax calculation in finishreceive.pl didn't run.
[3] The item booksellerid field never got updated during
    receipt.

Booksellerid was returned before bug 10723.

Quick test plan:
Go on orderreceive.pl and verify that the vendor link is correct.

Followed test plan. Vendor link is now correct.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 1e0375e91c71ceb99d255a5789d82b1257f336b4)

Conflicts:
t/db_dependent/Acquisition.t
C4/Acquisition.pm
t/db_dependent/Acquisition.t