Koha/admin
Yohann Dufour de03c263f0 Bug 12508: adding an error message if a contract cannot be removed
If a contract cannot be removed, no errors is displayed. Now, it displays an dialog messag error and the list of contracts.

Test plan:
1) Log on with a superlibrarian permission
2) Go on the page acqui/supplier.pl (Acquisitions > Button "New vendor")
3) Record a vendor with a nonzero "name"
4) Go on the page admin/aqcontract.pl (click on the "Contracts" item in the menu)
5) Click on the button "New" > "Contract" and record a new one
6) Click on "New" > "Basket" and record a basket by selectioning the created contract
7) Click on the contract name, then click on the "Contracts" item in the left menu
8) Try to delete this contract, an error is displayed : "Contract has not been deleted. Maybe a basket linked to this contract exists."
9) Delete the basket linked to the contract
10) Delete the contract, no errors is displayed

Signed-off-by: Juhani Seppälä <jseppal@student.uef.fi>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes QA script an tests.
Also tested adding, editing and deleting unused contracts.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2014-07-10 10:44:06 -03:00
..
searchengine/solr
admin-home.pl
aqbudget_user_search.pl
aqbudgetperiods.pl Bug 12482: (QA followup) coding guidelines for hashrefs 2014-07-03 14:45:59 -03:00
aqbudgets.pl Bug 12482 [QA Followup] 2014-07-03 14:25:22 -03:00
aqcontract.pl Bug 12508: adding an error message if a contract cannot be removed 2014-07-10 10:44:06 -03:00
aqplan.pl Bug 766: remove disused routine buildCGISort 2014-05-04 23:03:24 +00:00
auth_subfields_structure.pl Bug 11508: fix untranslatable pull-down in auth_subfields_structure.pl 2014-04-19 14:40:41 +00:00
auth_tag_structure.pl Bug 11767 - Use validation plugin when creating new authority framework tag 2014-02-19 15:51:12 +00:00
authorised_values.pl
authtypes.pl
biblio_framework.pl
branch_transfer_limits.pl
branches.pl
categorie.pl Bug 12454: Can't add new patron categories 2014-06-20 19:26:14 -03:00
check_budget_parent.pl
check_parent_total.pl Bug 11675: check allocated total correctly when editing a fund that has a parent fund 2014-03-11 17:09:31 +00:00
checkmarc.pl
cities.pl
classsources.pl
clone-rules.pl
currency.pl Bug 9593: improve parsing of prices from staged files 2014-05-04 22:02:08 +00:00
didyoumean.pl
env_tz_test.pl
fieldmapping.pl
import_export_framework.pl Bug 9114: Make frameworks import/export routines correctly use UTF-8 2014-03-14 14:37:31 +00:00
item_circulation_alerts.pl
itemtypes.pl Bug 11351: (follow-up) ensure itemtypes.sip_media_type is set to NULL when cleared 2014-04-28 18:08:58 +00:00
koha2marclinks.pl
marc_subfields_structure.pl Bug 8018: (followup) make the default more explicit 2013-12-27 00:34:50 +00:00
marctagstructure.pl Bug 11771 - Use validation plugin when creating new MARC framework tag 2014-02-19 00:03:24 +00:00
matching-rules.pl
oai_set_mappings.pl
oai_sets.pl
patron-attr-types.pl
preferences.pl Bug 12279: Diacritics in system preference editor broken 2014-06-02 11:43:04 -03:00
printers.pl
smart-rules.pl Bug 12230: (follow-up) maxsuspensiondays should be set to NULL if not set 2014-05-26 01:40:15 +00:00
stopwords.pl
systempreferences.pl
transport-cost-matrix.pl Bug 11531: make it possible to edit transport cost for a new libraries 2014-03-12 18:01:43 +00:00
z3950servers.pl