Koha/koha-tmpl/intranet-tmpl/prog/en/modules/acqui
Jonathan Druart 58c652a0fc Bug 12054: Inactive vendors should be inactive
This patch make inactive vendors really inactive.
That means an inactive vendor would not be able to add a basket / add an order.

Revised test plan
=================

1/ In the acquisition module create 2 vendors: 1 active and 1 inactive.

2/ On the acqui/booksellers.pl, acqui/uncertainprice.pl,
   admin/aqcontract.pl and acqui/supplier.pl (pages which include the
   acq toolbar), you should be able to, for both the 'active' as well
   as the inactive vendor :
     (a) add new basket
     (b) add order items to the basket

   Remark: This is *wrong*. You should be able to do so only for active
           vendor.

3/ Apply the patch

4/ Go to the links in step #2 above and select the inactive vendor
   you should no longer be able to:
   (a) add new basket
   (b) add order items to the basket

   Remark: This is the *correct* behaviour

5/ No change should be noted for vendor marked "active", and should
   be able to undertake operations 4 (a), 4 (b) and 4 (c).

   Remark: This is the *correct* behaviour.

6/ run koha qa tests tool

Bug 12054: (follow-up) Inactive vendors should be inactive

Don't display "add order""block and buttons if the vendor is inactive.

Signed-off-by: Indranil Das Gupta (L2C2 Technologies) <indradg@gmail.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
2015-07-20 10:34:55 -03:00
..
csv Bug 7298: (follow-up) fix translation for CSV strings 2013-10-31 15:51:45 +00:00
tables Bug 13891: DataTables server-side processing - budget users 2015-04-13 10:55:13 -03:00
acqui-home.tt Bug 13619: Acq home: ensure 'manage suggestions' goes to pending suggestions 2015-06-05 12:53:10 -03:00
addorder.tt Bug 13941: QA Follow-up - fix for acqui/addorder.tt 2015-04-24 09:47:48 -03:00
addorderiso2709.tt Bug 14163: Acq - receive shipment and order from staged: rename 'Show all' to 'Show inactive' 2015-07-08 14:43:54 -03:00
ajax.tt
basket.tt Bug 12054: Inactive vendors should be inactive 2015-07-20 10:34:55 -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 12054: Inactive vendors should be inactive 2015-07-20 10:34:55 -03:00
cancelorder.tt Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
histsearch.tt Bug 13946: Change order status 'Pending' to 'Ordered' 2015-05-27 14:33:49 -03:00
invoice-files.tt Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
invoice.tt Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
invoices.tt Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
lateorders.tt Bug 14423: XSS bug in lateorders 2015-06-23 10:11:57 -03:00
modordernotes.tt Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
neworderbiblio.tt Bug 12565: Acq: Fix broken link in breadcrumbs 2014-12-19 15:12:14 -03:00
neworderempty.tt Bug 14163: Acq order form: rename 'Show all' to 'Show inactive' 2015-07-08 14:43:54 -03:00
neworderempty_duplicate.tt
newordersubscription.tt Bug 10971: Hide EAN search for MARC21 / template corrections 2015-04-24 20:14:52 -03:00
newordersuggestion.tt Bug 14018: Ordering from suggestion shows 'copy. year:2014' 2015-05-06 15:26:28 -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 10388: Does not display 'null' after editing an item on receiving 2015-05-04 15:33:51 -03:00
parcel.tt Bug 13320: Fix "Tax inc." vs "Tax exc." 2015-02-04 15:16:15 -03:00
parcels.tt Bug 14163: Acq - receive shipment and order from staged: rename 'Show all' to 'Show inactive' 2015-07-08 14:43:54 -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 Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
uncertainprice.tt Bug 6059: Don't permit to change the quantity when items are created on ordering 2015-04-30 16:33:37 -03:00
z3950_search.tt Bug 7741 [Follow-up] Clear search terms in Z3950 search page 2015-02-16 23:40:08 -03:00