Bug 23049: (follow-up) Types should not be deletable
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 17 Oct 2019 11:28:18 +0000 (12:28 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 24 Oct 2019 16:25:03 +0000 (17:25 +0100)
commitb2b651d13db5471f674e82c7ff0693f2ad7ec410
treece1b7004c78e1e60a13962b9e1fc669c75d84c3d
parentf046b5073e3305f1a4231ff981d8ff30eaef280b
Bug 23049: (follow-up) Types should not be deletable

This patch rmeoves the 'delete' option from the debit_types system and
replaces it with an 'archive/restore' workflow. This will help
maintained referential integrity.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Schema/Result/Accountline.pm
admin/debit_types.pl
installer/data/mysql/atomicupdate/bug_23049_debit.perl
installer/data/mysql/kohastructure.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/debit_types.tt