|
Lines 2052-2057
sub store {
Link Here
|
| 2052 |
return $ret; |
2052 |
return $ret; |
| 2053 |
} |
2053 |
} |
| 2054 |
|
2054 |
|
|
|
2055 |
=head3 after_created |
| 2056 |
|
| 2057 |
$request->after_created; |
| 2058 |
|
| 2059 |
Actions to be done after the request has been fully created |
| 2060 |
|
| 2061 |
=cut |
| 2062 |
|
| 2063 |
sub after_created { |
| 2064 |
my ($self) = @_; |
| 2065 |
|
| 2066 |
C4::Stats::UpdateStats( |
| 2067 |
{ |
| 2068 |
borrowernumber => $self->borrowernumber // undef, |
| 2069 |
branch => $self->branchcode, |
| 2070 |
categorycode => $self->patron ? $self->patron->categorycode : undef, |
| 2071 |
ccode => undef, |
| 2072 |
illrequest_id => $self->illrequest_id, |
| 2073 |
itemnumber => undef, |
| 2074 |
itemtype => undef, |
| 2075 |
location => undef, |
| 2076 |
type => 'ill_request', |
| 2077 |
} |
| 2078 |
); |
| 2079 |
} |
| 2080 |
|
| 2055 |
=head3 requested_partners |
2081 |
=head3 requested_partners |
| 2056 |
|
2082 |
|
| 2057 |
my $partners_string = $request->requested_partners; |
2083 |
my $partners_string = $request->requested_partners; |
| 2058 |
- |
|
|