Bug 38100: (QA follow-up) Tidy changes in C4/XSLT.pm

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 8ee8453118)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Paul Derscheid 2024-11-07 11:11:46 +00:00 committed by Lucas Gass
parent 1fbd8ebf83
commit 15e3529648
1 changed files with 3 additions and 3 deletions

View File

@ -320,9 +320,9 @@ sub buildKohaItemsNamespace {
$status = 'other';
$substatus = 'In transit';
}
elsif ($item->damaged && ! C4::Context->preference('AllowHoldsOnDamagedItems')) {
$status = 'other';
$substatus = "Damaged";
elsif ( $item->damaged && !C4::Context->preference('AllowHoldsOnDamagedItems') ) {
$status = 'other';
$substatus = 'Damaged';
}
elsif ($item->itemlost) {
$status = 'other';