Lines 164-175
sub checkout {
Link Here
|
164 |
|
164 |
|
165 |
$item->{patron} = $patron_id; |
165 |
$item->{patron} = $patron_id; |
166 |
$item->{due_date} = $circ->{due}; |
166 |
$item->{due_date} = $circ->{due}; |
167 |
push( @{ $patron->{items} }, $item_id ); |
167 |
push( @{ $patron->{items} }, { barcode => $item_id } ); |
168 |
$circ->desensitize( !$item->magnetic_media ); |
168 |
$circ->desensitize( !$item->magnetic_media ); |
169 |
|
169 |
|
170 |
syslog( |
170 |
syslog( |
171 |
"LOG_DEBUG", "ILS::Checkout: patron %s has checked out %s", |
171 |
"LOG_DEBUG", "ILS::Checkout: patron %s has checked out %s", |
172 |
$patron_id, join( ', ', @{ $patron->{items} } ) |
172 |
$patron_id, join( ', ', map{ $_->{barcode} } @{ $patron->{items} } ) |
173 |
); |
173 |
); |
174 |
} |
174 |
} |
175 |
else { |
175 |
else { |
176 |
- |
|
|