View | Details | Raw Unified | Return to bug 5731
Collapse All | Expand All

(-)a/catalogue/moredetail.pl (-2 / +1 lines)
Lines 87-93 my $itemnumber; Link Here
87
foreach my $item (@items){
87
foreach my $item (@items){
88
    $item->{itemlostloop}= GetAuthorisedValues(GetAuthValCode('items.itemlost',$fw),$item->{itemlost}) if GetAuthValCode('items.itemlost',$fw);
88
    $item->{itemlostloop}= GetAuthorisedValues(GetAuthValCode('items.itemlost',$fw),$item->{itemlost}) if GetAuthValCode('items.itemlost',$fw);
89
    $item->{itemdamagedloop}= GetAuthorisedValues(GetAuthValCode('items.damaged',$fw),$item->{damaged}) if GetAuthValCode('items.damaged',$fw);
89
    $item->{itemdamagedloop}= GetAuthorisedValues(GetAuthValCode('items.damaged',$fw),$item->{damaged}) if GetAuthValCode('items.damaged',$fw);
90
    $item->{'collection'}              = $ccodes->{ $item->{ccode} };
90
    $item->{'collection'}              = $ccodes->{ $item->{ccode} } if ($ccodes);
91
    $item->{'itype'}                   = $itemtypes->{ $item->{'itype'} }->{'description'};
91
    $item->{'itype'}                   = $itemtypes->{ $item->{'itype'} }->{'description'};
92
    $item->{'replacementprice'}        = sprintf( "%.2f", $item->{'replacementprice'} );
92
    $item->{'replacementprice'}        = sprintf( "%.2f", $item->{'replacementprice'} );
93
    $item->{'datelastborrowed'}        = format_date( $item->{'datelastborrowed'} );
93
    $item->{'datelastborrowed'}        = format_date( $item->{'datelastborrowed'} );
94
- 

Return to bug 5731