[Koha-bugs] [Bug 6820] hide receive option if there is nothing to receive

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 27 15:05:10 CET 2015


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

--- Comment #3 from Marc Véron <veron at veron.ch> ---
Created attachment 37318
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=37318&action=edit
[Signed-off] Bug 6820 - hide receive option if there is nothing to receive

The "receive shipment" button appears even if there are no orders to receive.
This patch hides the button if there are no orders.

To test the patch:
1. Go to "aquisitions"
2. Create a vendor
3. As the newly created vendor has no orders, there will now be no "receive
shipment" button
4. Create a basket
5. Go back to the vendor search
6. The button should now appear for that vendor

I've also tested it with a mix of vendors with and without baskets in the same
search.

Followed test plan, works as expected.
Signed-off-by: Marc Véron <veron at veron.ch>

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


More information about the Koha-bugs mailing list