Lines 864-870
for my $row ( @big_array ) {
Link Here
|
864 |
} else { |
864 |
} else { |
865 |
$item_field->{field} = ''; |
865 |
$item_field->{field} = ''; |
866 |
} |
866 |
} |
867 |
if ( $key eq 'd' || $key eq 'q' || $key eq 'r' || $key eq 's' || $key eq 'w' ){ |
867 |
|
|
|
868 |
my ($tmpa, $dateaccessioned) = &GetMarcFromKohaField( "items.dateaccessioned" ); |
869 |
my ($tmpb, $onloan) = &GetMarcFromKohaField( "items.onloan" ); |
870 |
my ($tmpc, $datelastseen) = &GetMarcFromKohaField( "items.datelastseen" ); |
871 |
my ($tmpd, $datelastborrowed) = &GetMarcFromKohaField( "items.datelastborrowed" ); |
872 |
my ($tmpe, $replacementpricedate) = &GetMarcFromKohaField( "items.replacementpricedate" ); |
873 |
if ( $key eq $dateaccessioned || $key eq $onloan || $key eq $datelastseen || $key eq $datelastborrowed || $key eq $replacementpricedate ){ |
868 |
# date accessioned || on loan || date last seen || date last borrowed || replacement price date |
874 |
# date accessioned || on loan || date last seen || date last borrowed || replacement price date |
869 |
$item_field->{field} = output_pref({ dt => dt_from_string( $row->{$key} ), dateonly => 1 }); |
875 |
$item_field->{field} = output_pref({ dt => dt_from_string( $row->{$key} ), dateonly => 1 }); |
870 |
} |
876 |
} |