]> git.koha-community.org Git - koha.git/commit
Bug 15997 - Hold Ratios for ordered items doesn't count orders where AcqCreateItem...
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 7 Mar 2016 14:04:44 +0000 (14:04 +0000)
committerFrédéric Demians <f.demians@tamil.fr>
Wed, 23 Mar 2016 12:49:01 +0000 (13:49 +0100)
commitbcbe443af43132295461c86dd868c3bff023f53c
tree1e81c0f5eff99b3d1f308d28fd1cf1feb91081af
parent03643bed9fe959a45f573b3ac654a68a731a6e50
Bug 15997 - Hold Ratios for ordered items doesn't count orders where AcqCreateItem is set to 'receiving'

Currently, the hold ratios script only counts on order items where the
record item is created at the time the order is placed, and not if the
item is created when the item is received.

Test Plan:
1) Set AcqCreateItem to recieving
2) Run the hold ratios report with "include ordered" checked
3) From aquisitions, order some additional items for the record
4) Re-run the hold ratios report, not there is no change in the ratio
   for that record
5) Apply this patch
6) Re-run the hold ratios reporat again, the ratio should now have
   changed

Signed-off-by: Srdjan <srdjan@catalyst.net.nz>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
(cherry picked from commit 7e1ccbd6069658540dd352f63ade3ef7b19de282)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
(cherry picked from commit 26f05afd0b66b4903e6c41a3e21150c34d024b2c)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
circ/reserveratios.pl