Bug 5336: (follow-up) fix case where partial status was not correctly set
authorJonathan Druart <jonathan.druart@biblibre.com>
Tue, 1 Oct 2013 12:06:11 +0000 (14:06 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 22 Oct 2013 13:30:09 +0000 (13:30 +0000)
commit10548eba61d6a998fd940447688ac589dfbf20f9
tree9c22255c79b563714ae0fecca10a2df4b82d3c31
parent1afd7fe27094c963a279dde949cc81bea75e169e
Bug 5336: (follow-up) fix case where partial status was not correctly set

An order (o1) is considered as partially received if (at least) another
order (o2) has the o1.ordernumber == o2.parent_ordernumber and the
quantity received is < to the quantity (to receive) and o1.ordernumber
!= o1.parent_ordernumber.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
installer/data/mysql/updatedatabase.pl