Koha/koha-tmpl/intranet-tmpl/prog
Samuel a63249b67f 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 Veron <veron@veron.ch>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2015-03-31 11:42:44 -03:00
..
en Bug 6820 - hide receive option if there is nothing to receive 2015-03-31 11:42:44 -03:00
img Bug 12653: Text file clean up 2014-10-30 09:35:12 +13:00
pdf Bug 7267: Add account number to German PDF template 2014-04-11 15:06:07 +00:00
sound