Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin
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
..
preferences Bug 3206: (QA followup) OAI repository deleted records support. 2015-07-08 14:55:17 -03:00
admin-home.tt Bug 12412: Add ability for plugins to convert arbitrary files to MARC from record staging tool 2015-05-04 15:33:51 -03:00
aqbudgetperiods.tt Bug 13861: \n in confirmation message on closing a budget 2015-03-19 14:04:09 -03:00
aqbudgets.tt Bug 13891: DataTables server-side processing - budget users 2015-04-13 10:55:13 -03:00
aqcontract.tt Bug 12054: Inactive vendors should be inactive 2015-07-20 10:34:55 -03:00
aqplan.tt Bug 4277: Display the correct budget planning after saving 2015-03-31 14:15:07 -03:00
auth_subfields_structure.tt Bug 14423: XSS bug in auth_subfields_structure 2015-06-23 10:12:03 -03:00
auth_tag_structure.tt Bug 11812 - Add missing "required" indicator to fields which are required 2014-10-22 14:04:43 -03:00
authorised_values.tt Bug 13587: Fix Authorised Values Toolbar 2015-01-21 10:56:43 -03:00
authtypes.tt Bug 10947: Fix editing the default authority type 2015-05-19 09:25:59 -03:00
biblio_framework.tt Bug 2889 - templates should use [% IF ( loop.odd ) %] - Administration 2014-10-15 17:59:12 -03:00
branch_transfer_limits.tt Bug 2889 - templates should use [% IF ( loop.odd ) %] - Administration 2014-10-15 17:59:12 -03:00
branches.tt Bug 13441 - Branchcodes should not be allowed to have spaces in them 2015-02-05 15:08:44 -03:00
categorie.tt Bug 14265 - Use $.trim instead of trim() in admin/categorie.tt 2015-06-01 14:16:21 -03:00
checkmarc.tt Bug 7817: (followup) add test on MARC bibliographic framework test 2014-09-08 12:29:38 -03:00
cities.tt Bug 14033: Capitalization: confirmation message on deleting an authority type 2015-05-06 10:39:48 -03:00
classsources.tt Bug 14033: Capitalization: confirmation message on deleting an authority type 2015-05-06 10:39:48 -03:00
clone-rules.tt Bug 2889 - templates should use [% IF ( loop.odd ) %] - Administration 2014-10-15 17:59:12 -03:00
columns_settings.tt Bug 13866: Columns configuration - Patrons search 2015-04-10 10:31:21 -03:00
currency.tt Bug 14033: Capitalization: confirmation message on deleting an authority type 2015-05-06 10:39:48 -03:00
didyoumean.tt Bug 8726: Followup FIX save didyoumean syspref 2012-09-28 17:14:17 +02:00
fieldmapping.tt Bug 6037 [Follow-up] Invalid markup, missing breadcrumbs on Keyword to MARC Mapping page 2012-10-08 17:11:12 +02:00
item_circulation_alerts.tt Bug 12138 - Use placeholders in translatable Javascript strings 2014-04-27 21:24:04 +00:00
items_search_field.tt Bug 11425: Add item search form in staff interface 2014-11-04 19:08:12 -03:00
items_search_fields.tt Bug 11425: Add item search form in staff interface 2014-11-04 19:08:12 -03:00
itemtypes.tt Bug 11944: (follow-up) Remove all utf8 filter from templates 2015-01-13 13:07:35 -03:00
koha2marclinks.tt Bug 2889 - templates should use [% IF ( loop.odd ) %] - Administration 2014-10-15 17:59:12 -03:00
marc_subfields_structure.tt Bug 14423: tab characters in auth_subfields_structure 2015-06-23 10:12:39 -03:00
marctagstructure.tt Bug 14033: Capitalization: confirmation message on deleting an authority type 2015-05-06 10:39:48 -03:00
matching-rules.tt Bug 14033: Capitalization: confirmation message on deleting an authority type 2015-05-06 10:39:48 -03:00
oai_set_mappings.tt Bug 12686: Make more selected option XHTML compliant 2014-08-07 10:58:39 -03:00
oai_sets.tt Bug 11806 - Use validation plugin when creating new OAI set 2014-03-26 19:21:14 +00:00
patron-attr-types.tt Bug 14033: Capitalization: confirmation message on deleting an authority type 2015-05-06 10:39:48 -03:00
preferences.tt Bug 13355: System preferences tab value wrong in templates 2014-12-17 19:49:36 -03:00
printers.tt Bug 2889 - templates should use [% IF ( loop.odd ) %] - Administration 2014-10-15 17:59:12 -03:00
smart-rules.tt Bug 14290: Add a table foot to circulation matrix 2015-06-22 11:53:30 -03:00
sru_modmapping.tt Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
stopwords.tt Bug 14033: Capitalization: confirmation message on deleting an authority type 2015-05-06 10:39:48 -03:00
systempreferences.tt Bug 14135: Adds 'Free' to variabletypes in systempreferences.tt 2015-07-07 15:18:40 -03:00
transport-cost-matrix.tt Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
z3950servers.tt Bug 12823: Alert about defining the SRU search field mappings 2014-12-31 14:13:44 -03:00