Lines 671-677
sub handle_checkin {
Link Here
|
671 |
if ($item) { |
671 |
if ($item) { |
672 |
$resp .= maybe_add( FID_MEDIA_TYPE, $item->sip_media_type ); |
672 |
$resp .= maybe_add( FID_MEDIA_TYPE, $item->sip_media_type ); |
673 |
$resp .= maybe_add( FID_ITEM_PROPS, $item->sip_item_properties ); |
673 |
$resp .= maybe_add( FID_ITEM_PROPS, $item->sip_item_properties ); |
674 |
$resp .= maybe_add( FID_COLLECTION_CODE, $item->collection_code ); |
674 |
if ( my $CR = $server->{account}->{cr_item_field} ) { |
|
|
675 |
$resp .= maybe_add( FID_COLLECTION_CODE, $item->$CR ); |
676 |
} else { |
677 |
$resp .= maybe_add( FID_COLLECTION_CODE, $item->collection_code ); |
678 |
} |
675 |
$resp .= maybe_add( FID_CALL_NUMBER, $item->call_number ); |
679 |
$resp .= maybe_add( FID_CALL_NUMBER, $item->call_number ); |
676 |
$resp .= maybe_add( FID_DESTINATION_LOCATION, $item->destination_loc ); |
680 |
$resp .= maybe_add( FID_DESTINATION_LOCATION, $item->destination_loc ); |
677 |
$resp .= maybe_add( FID_HOLD_PATRON_ID, $item->hold_patron_bcode ); |
681 |
$resp .= maybe_add( FID_HOLD_PATRON_ID, $item->hold_patron_bcode ); |
Lines 1140-1145
sub handle_item_information {
Link Here
|
1140 |
$resp .= maybe_add( FID_PERM_LOCN, $item->permanent_location ); |
1144 |
$resp .= maybe_add( FID_PERM_LOCN, $item->permanent_location ); |
1141 |
$resp .= maybe_add( FID_CURRENT_LOCN, $item->current_location ); |
1145 |
$resp .= maybe_add( FID_CURRENT_LOCN, $item->current_location ); |
1142 |
$resp .= maybe_add( FID_ITEM_PROPS, $item->sip_item_properties ); |
1146 |
$resp .= maybe_add( FID_ITEM_PROPS, $item->sip_item_properties ); |
|
|
1147 |
if ( my $CR = $server->{account}->{cr_item_field} ) { |
1148 |
$resp .= maybe_add( FID_COLLECTION_CODE, $item->$CR ); |
1149 |
} else { |
1150 |
$resp .= maybe_add( FID_COLLECTION_CODE, $item->collection_code ); |
1151 |
} |
1143 |
|
1152 |
|
1144 |
if ( ( $i = $item->fee ) != 0 ) { |
1153 |
if ( ( $i = $item->fee ) != 0 ) { |
1145 |
$resp .= add_field( FID_CURRENCY, $item->fee_currency ); |
1154 |
$resp .= add_field( FID_CURRENCY, $item->fee_currency ); |