Koha/installer/data/mysql
Jonathan Druart 522e9c5861 Bug 12905: funds with children could not be deleted
The interface should prevent to delete funds with children.
Otherwise the relationship is broken and problems occur:
1/ You don't see the orphan fund in the fund list
2/ You cannot edit the orphan fund amount ('Fund amount exceeds parent
allocation').

This patch:
- adds a JS check, template side
- adds a check in the perl script (should never be true)
- adds an updatedatabase check, in order to alert users with inconsistent data.

Test plan:
Verify you are not allow to delete a fund with children.

Signed-off-by: Paola Rossi <paola.rossi@cineca.it>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2015-02-05 14:53:19 -03:00
..
atomicupdate Bug 11867: MTT: Manage *_PHONE notices 2014-05-02 20:29:20 +00:00
de-DE Bug 13566 - Change translation for 'Rotating collection' in German web installer 2015-01-14 12:39:53 -03:00
en Bug 8909: MARC21 240$a (Uniform title) is not a URL 2015-01-04 12:30:38 -03:00
es-ES Bug 8909: MARC21 240$a (Uniform title) is not a URL 2015-01-04 12:30:38 -03:00
fr-FR Bug 13346: OpacExportOptions becomes multiple 2015-01-04 12:36:45 -03:00
it-IT Bug 8909: MARC21 240$a (Uniform title) is not a URL 2015-01-04 12:30:38 -03:00
mandatory Bug 12250: Update descriptions for languages, scripts and regions 2014-11-07 15:18:01 -03:00
nb-NO Bug 8909: MARC21 240$a (Uniform title) is not a URL 2015-01-04 12:30:38 -03:00
pl-PL Bug 13373 - [QA Followup] - Update Polish web installer sample data files 2015-01-26 16:33:36 -03:00
ru-RU Bug 8909: MARC21 240$a (Uniform title) is not a URL 2015-01-04 12:30:38 -03:00
uk-UA Bug 8909: MARC21 240$a (Uniform title) is not a URL 2015-01-04 12:30:38 -03:00
backfill_statistics.pl Bug 5370: Fix all the references to koha.org 2010-11-08 09:41:49 +13:00
kohastructure.sql Bug 13577: Add the utf8_unicode_ci COLLATE to all tables 2015-01-17 10:28:44 -03:00
labels_upgrade.pl Bug 2505 - Add commented use warnings where missing in the installer/ directory 2010-04-21 20:26:28 +12:00
patroncards_upgrade.pl Bug 2505 - Add commented use warnings where missing in the installer/ directory 2010-04-21 20:26:28 +12:00
sysprefs.sql Bug 13346: OpacExportOptions becomes multiple 2015-01-04 12:36:45 -03:00
update22to30.pl Bug 11398: A typo occurred with occured 2014-01-02 15:12:48 +00:00
updatedatabase.pl Bug 12905: funds with children could not be deleted 2015-02-05 14:53:19 -03:00