Koha/koha-tmpl/intranet-tmpl/prog/en/modules/acqui
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
..
csv Bug 7298: (follow-up) fix translation for CSV strings 2013-10-31 15:51:45 +00:00
tables Bug 13021: guarantor search - main patch 2015-03-19 14:19:34 -03:00
acqui-home.tt Bug 12989: Fix JS error 2014-11-11 14:16:10 -03:00
addorder.tt
addorderiso2709.tt Bug 12927: Problems with item information tab on acq order from staged page 2014-10-16 12:51:13 -03:00
ajax.tt
basket.tt Bug 13380: Fill order cancellation reasons from AV 2015-03-15 08:50:29 -03:00
basketgroup.tt Bug 13487: Fix pagination for basketgroup 2015-01-07 20:12:56 -03:00
basketheader.tt Bug 11805 - Use validation plugin when creating new basket in Acquisitions 2014-02-27 15:44:48 +00:00
booksellers.tt Bug 6820 - hide receive option if there is nothing to receive 2015-03-31 11:42:44 -03:00
cancelorder.tt Bug 13380: Fill order cancellation reasons from AV 2015-03-15 08:50:29 -03:00
histsearch.tt Bug 12944: Fix regression on translating 2015-02-09 15:48:17 -03:00
invoice-files.tt Bug 3050: QA follow-up 2014-05-25 21:15:03 +00:00
invoice.tt Bug 12976: Use the centralize VAT and prices calculation - invoice.pl 2015-02-19 09:46:26 -03:00
invoices.tt Bug 12646: Display all invoices on the same page 2014-10-16 12:52:15 -03:00
lateorders.tt Bug 12505 - Acq claim: Show error message when no order is selected 2014-11-19 21:43:23 -03:00
modordernotes.tt Bug 12111: (follow-up) fix breadcrumbs wording for vendor note 2014-04-28 15:31:46 +00:00
neworderbiblio.tt Bug 12565: Acq: Fix broken link in breadcrumbs 2014-12-19 15:12:14 -03:00
neworderempty.tt Bug 12648: Link patrons to an order 2015-03-11 11:47:30 -03:00
neworderempty_duplicate.tt
newordersubscription.tt Bug 13744: Fix datatables paging on 'order from subscription' page 2015-03-07 21:10:24 +01:00
newordersuggestion.tt Bug 12775: Suggestions should be ordered by anyone 2014-11-21 16:13:27 -03:00
ordered.tt Bug 12089: Remove use of dt_add_type_uk_date() - Acquisitions 2014-04-28 18:41:28 +00:00
orderreceive.tt Bug 13593: 'stock number' should be 'inventory number' 2015-02-20 10:57:26 -03:00
parcel.tt Bug 13320: Fix "Tax inc." vs "Tax exc." 2015-02-04 15:16:15 -03:00
parcels.tt Bug 12291:_(followup) Replace the acronym HTML tag with abbr 2015-03-31 10:53:18 -03:00
spent.tt Bug 12089: Remove use of dt_add_type_uk_date() - Acquisitions 2014-04-28 18:41:28 +00:00
supplier.tt Bug 10402 follow-up: choose contacts for claims 2014-08-26 11:45:59 -03:00
transferorder.tt
uncertainprice.tt Bug 10402: Use an object for contacts 2014-08-26 11:45:42 -03:00
z3950_search.tt Bug 7741 [Follow-up] Clear search terms in Z3950 search page 2015-02-16 23:40:08 -03:00