|
Lines 1509-1514
sub AddIssue {
Link Here
|
| 1509 |
} |
1509 |
} |
| 1510 |
} |
1510 |
} |
| 1511 |
|
1511 |
|
|
|
1512 |
_after_circ_actions( |
| 1513 |
{ |
| 1514 |
action => 'checkout', |
| 1515 |
payload => { |
| 1516 |
type => ( $onsite_checkout ? 'onsite_checkout' : 'issue' ), |
| 1517 |
library_id => C4::Context->userenv->{'branch'}, |
| 1518 |
charge => $charge, |
| 1519 |
item_id => $item_object->itemnumber, |
| 1520 |
item_type => $item_object->effective_itemtype, |
| 1521 |
shelving_location => $item_object->location // q{}, |
| 1522 |
patron_id => $borrower->{'borrowernumber'}, |
| 1523 |
collection_code => $item_object->ccode // q{}, |
| 1524 |
date_due => $datedue |
| 1525 |
} |
| 1526 |
} |
| 1527 |
) if C4::Context->config("enable_plugins"); |
| 1528 |
|
| 1512 |
# Record the fact that this book was issued. |
1529 |
# Record the fact that this book was issued. |
| 1513 |
&UpdateStats( |
1530 |
&UpdateStats( |
| 1514 |
{ |
1531 |
{ |
| 1515 |
- |
|
|