]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Wed, 28 Aug 2024 20:20:32 +0000 (20:20 +0000)
commitfcd49d218a2d472dbb11ef2697ad8d4264544184
tree60cda7c5241c2c925b5aad46f08061d6cfd85c6e
parentd4c114453ff73a5dbbca1330b458a55dbf1bacb6
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>
(cherry picked from commit 38427cc357de46d60114ca308329c89f3220a9dd)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.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