Bug 13881: Add desk management
authorNicolas Legrand <nicolas.legrand@bulac.fr>
Wed, 2 Oct 2019 12:09:21 +0000 (14:09 +0200)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 25 Mar 2020 09:19:15 +0000 (09:19 +0000)
commitc5f4a558c6cfe054de3b5d624431444d2cfd2c46
treeb9035193b9d4a2aa1b97e8ba9075687f7341f155
parent730519ed5ca75b8a703fd05f5d61e0d8fc4bbafc
Bug 13881: Add desk management

Add a desk and linked it to a library (branch). That's it. In the
future it'll have super features like being able to link waiting
reserve to a specific desk.

Test plan:

1. go to the administration page and notice there isn't any mention of
desk whatsoever
2. apply patches
3. ./installer/data/mysql/updatedatabase.pl
4. prove t/db_dependent/Koha/Desks.t
5. you now have desks links in admin-home and admin-menu
6. click the link
7. add a desk
8. add another one
9. delete one
10. you should have a fair list of all current desks defined
11. Done

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Desk.pm [new file with mode: 0644]
Koha/Desks.pm [new file with mode: 0644]
admin/desks.pl [new file with mode: 0755]
koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc
koha-tmpl/intranet-tmpl/prog/en/includes/desks-admin-search.inc [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/desks.tt [new file with mode: 0644]
t/db_dependent/Koha/Desks.t [new file with mode: 0644]