[Koha-bugs] [Bug 8854] invoice filters don't all work

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 29 18:53:31 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8854

--- Comment #3 from Galen Charlton <gmcharlt at gmail.com> ---
Created attachment 14923
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=14923&action=edit
bug 8854: fix some invoice search filters

Fix the supplier, shipment date, and library filters
on the invoice search.  An invoice's library is
(in parallel with order search) defined as the library
of the staff member that approved the basket.  Before this
patch, the code was referring to an aqorders.branchcode
column that doesn't exist.

This patch also fixes the current test cases for invoices
so that they pass.

Test plan:

[1] Create two invoices for different vendors.
[2] Do an invoice search and filter on shipment
    date.  Verify that the expected invoice(s)
    are returned.
[3] Do an invoice search and filter on branch
    (of the staff member that approved the basket).
    Verify that the expected invoice(s) are returned.
[4] Do an invoice search and filter on supplier.
    Verify that the expected invoice(s) are returned.

Signed-off-by: Galen Charlton <gmc at esilibrary.com>

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list