Bug 23049: Add debit_type
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 28 Feb 2019 16:58:06 +0000 (16:58 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 24 Oct 2019 16:23:48 +0000 (17:23 +0100)
commit72e10519e3b7185c0322c144df5e54d5b203b995
tree75d33bc81fcde288f4ac160754349b45c400fdec
parent48ec99e0fc4918428ed0811f72132fbe33ae1a6d
Bug 23049: Add debit_type

* Add account_debit_types table
* Add ac_debit_types_branches table
* Add account_debit_types defaults
* Add Koha::Account::DebitType and Koha::Account::DebitTypes
* Prevent deletion of defaults
* Migrate MANUAL_INV values
* Remove MANUAL_INV references
* Migrate accounttype values

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
16 files changed:
C4/Installer.pm
Koha/Account.pm
Koha/Account/DebitType.pm [new file with mode: 0644]
Koha/Account/DebitTypes.pm [new file with mode: 0644]
Koha/Schema/Result/Accountline.pm
Koha/Schema/Result/Branch.pm
installer/data/mysql/account_debit_types.sql [new file with mode: 0644]
installer/data/mysql/atomicupdate/bug_23049_debit.perl [new file with mode: 0644]
installer/data/mysql/en/mandatory/account_debit_types.sql [new file with mode: 0644]
installer/data/mysql/en/optional/auth_val.sql
installer/data/mysql/kohastructure.sql
installer/data/mysql/mandatory/auth_val_cat.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref
misc/devel/populate_db.pl
t/db_dependent/Accounts.t