|
Lines 1496-1501
sub AddIssue {
Link Here
|
| 1496 |
} |
1496 |
} |
| 1497 |
} |
1497 |
} |
| 1498 |
|
1498 |
|
|
|
1499 |
_after_circ_actions( |
| 1500 |
{ |
| 1501 |
action => 'checkout', |
| 1502 |
payload => { |
| 1503 |
type => ( $onsite_checkout ? 'onsite_checkout' : 'issue' ), |
| 1504 |
library_id => C4::Context->userenv->{'branch'}, |
| 1505 |
charge => $charge, |
| 1506 |
item_id => $item_object->itemnumber, |
| 1507 |
item_type => $item_object->effective_itemtype, |
| 1508 |
shelving_location => $item_object->location // q{}, |
| 1509 |
patron_id => $borrower->{'borrowernumber'}, |
| 1510 |
collection_code => $item_object->ccode // q{}, |
| 1511 |
date_due => $datedue |
| 1512 |
} |
| 1513 |
} |
| 1514 |
) if C4::Context->config("enable_plugins"); |
| 1515 |
|
| 1499 |
# Record the fact that this book was issued. |
1516 |
# Record the fact that this book was issued. |
| 1500 |
&UpdateStats( |
1517 |
&UpdateStats( |
| 1501 |
{ |
1518 |
{ |
| 1502 |
- |
|
|