|
Lines 790-796
sub CanBookBeIssued {
Link Here
|
| 790 |
# |
790 |
# |
| 791 |
if ( $patron->category->category_type eq 'X' && ( $item_object->barcode )) { |
791 |
if ( $patron->category->category_type eq 'X' && ( $item_object->barcode )) { |
| 792 |
# stats only borrower -- add entry to statistics table, and return issuingimpossible{STATS} = 1 . |
792 |
# stats only borrower -- add entry to statistics table, and return issuingimpossible{STATS} = 1 . |
| 793 |
&UpdateStats({ |
793 |
C4::Stats::UpdateStats({ |
| 794 |
branch => C4::Context->userenv->{'branch'}, |
794 |
branch => C4::Context->userenv->{'branch'}, |
| 795 |
type => 'localuse', |
795 |
type => 'localuse', |
| 796 |
itemnumber => $item_object->itemnumber, |
796 |
itemnumber => $item_object->itemnumber, |
|
Lines 1631-1637
sub AddIssue {
Link Here
|
| 1631 |
} |
1631 |
} |
| 1632 |
|
1632 |
|
| 1633 |
# Record the fact that this book was issued. |
1633 |
# Record the fact that this book was issued. |
| 1634 |
&UpdateStats( |
1634 |
C4::Stats::UpdateStats( |
| 1635 |
{ |
1635 |
{ |
| 1636 |
branch => C4::Context->userenv->{'branch'}, |
1636 |
branch => C4::Context->userenv->{'branch'}, |
| 1637 |
type => ( $onsite_checkout ? 'onsite_checkout' : 'issue' ), |
1637 |
type => ( $onsite_checkout ? 'onsite_checkout' : 'issue' ), |
|
Lines 2229-2235
sub AddReturn {
Link Here
|
| 2229 |
} |
2229 |
} |
| 2230 |
|
2230 |
|
| 2231 |
# Record the fact that this book was returned. |
2231 |
# Record the fact that this book was returned. |
| 2232 |
UpdateStats({ |
2232 |
C4::Stats::UpdateStats({ |
| 2233 |
branch => $branch, |
2233 |
branch => $branch, |
| 2234 |
type => $stat_type, |
2234 |
type => $stat_type, |
| 2235 |
itemnumber => $itemnumber, |
2235 |
itemnumber => $itemnumber, |
|
Lines 3117-3123
sub AddRenewal {
Link Here
|
| 3117 |
} |
3117 |
} |
| 3118 |
|
3118 |
|
| 3119 |
# Add the renewal to stats |
3119 |
# Add the renewal to stats |
| 3120 |
UpdateStats( |
3120 |
C4::Stats::UpdateStats( |
| 3121 |
{ |
3121 |
{ |
| 3122 |
branch => $item_object->renewal_branchcode({branch => $branch}), |
3122 |
branch => $item_object->renewal_branchcode({branch => $branch}), |
| 3123 |
type => 'renew', |
3123 |
type => 'renew', |