]> git.koha-community.org Git - koha.git/commit
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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 13 Aug 2014 07:50:20 +0000 (09:50 +0200)
commit489f3c1cc36c1c3731b1e9b88cd614cbce976707
tree44a3328d32c57892fe9f5a88a2c9583556df6115
parent0ddc2b90f9068ef8a30efb845dd84b70041cf7e5
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>
(cherry picked from commit b62a793580292455e78dc21ca27df17e2748e95e)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Acquisition.pm
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt