Bug 11243: make vendor list distinguish between active and canceled items
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 13 Nov 2013 13:57:55 +0000 (14:57 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Sun, 20 Apr 2014 15:17:31 +0000 (15:17 +0000)
commitb62a793580292455e78dc21ca27df17e2748e95e
tree0a0a732d48340b098bf794a7f5d0d4ac4a84cd38
parent536345c3b84ac91540b9f20f6e090a7e91343ec6
Bug 11243: make vendor list distinguish between active and canceled items

On the vendor result list, the "Item count" columns contain the sum of
all items ordered for a basket. But if an order is canceled, the item
count is not really meaningful.

This patch just adds, in parenthesis, the number of items canceled.

Test plan:
- create a basket and 3 orders with different number of items
- cancel 1 order
- verify on the supplier list that the number of items is correct and
  the number of canceled items is correct too.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes all tests and QA script.

Note: In case the biblio was deleted when the order was cancelled,
the number of biblios will be off.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Acquisition.pm
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt