Bug 7288: add filter on subscriptions in the invoices table
authorJonathan Druart <jonathan.druart@biblibre.com>
Mon, 5 Nov 2012 09:35:08 +0000 (10:35 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 21 Apr 2014 05:00:47 +0000 (05:00 +0000)
commit56c73320677f51f3663a3b2495acb95f87103f14
tree18ba0e0c573f5154727329709845f0770fb06446
parent51c0e46033fffcbb07fb5456640e35fb41623707
Bug 7288: add filter on subscriptions in the invoices table

This patch adds a checkbox "Show only subscriptions" in the invoices
table.

If this checkbox is checked, only invoices that contain at least one
order linked to a subscription are displayed.

To test:
- Test in a database with multiple existing invoices
- Create an order from a subscription, close basket, receive
- Test that the result table of the invoice search shows
  the new checkbox and that it works correctly

Signed-off-by: Paola Rossi <paola.rossi@cineca.it>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Acquisition.pm
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt