]> git.koha-community.org Git - koha.git/commit
Bug 28762: add staff item-status.inc and better handle statues on course-details.tt
authorLucas Gass <lucas@bywatersolutions.com>
Tue, 27 Jul 2021 21:17:48 +0000 (21:17 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 23 Jul 2024 15:04:01 +0000 (16:04 +0100)
commit38427cc357de46d60114ca308329c89f3220a9dd
tree48aca0f718689ba06bb88b03b6f2aefe9c8834a4
parent0f7d3fab6cef893b3fa7c0bdb8e71c8f5b960b55
Bug 28762: add staff item-status.inc and better handle statues on course-details.tt

This patch adds an item-status.inc to the staff side much like what is already in place on the OPAC.

To test:
1. create a course in course reserves, add an item to it.
2. confirm your item shows Available for its status on course-details.pl
3. edit your item to be withdrawn, lost, damaged, notforloan, and restricted use
4. reload course-details.pl, confirm it still shows available
5. apply patch
6. repeat step 3 with each of the statuses and make sure it correctly shows on course-details.pl

Signed-off-by: Hayley Pelham <hayleypelham@catalyst.net.nz>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss
koha-tmpl/intranet-tmpl/prog/en/includes/item-status.inc [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt