Bug 15294: Koha::Libraries - Rewrite the admin scripts
commit5c110a394de7f2837d6ccc1beb2d82cef9e6f416
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 3 Dec 2015 15:19:13 +0000 (3 15:19 +0000)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Thu, 14 Jan 2016 15:22:26 +0000 (14 15:22 +0000)
tree2d3f9eeedf0440586a041cbd8e5b70c8d69cd139
parent9e764b63c4bdb5f5a652951f5d6a664d8bf0599a
Bug 15294: Koha::Libraries - Rewrite the admin scripts

This patch rewrites the admin/branches.pl script to use the new modules
instead of C4::Branches.

Test plan:
1/ Create libraries using all the fields available
2/ Create groups of libraries
3/ Assign 1+ libraries to some groups
4/ Delete libraries and groups of libraries
You should not able to delete a library if items or patrons use it.
You should not able to delete a group of libraries if there are still
libraries using it.
5/ Update libraries and groups of libraries

Followed test plan, works as expected.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
admin/branches.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt