View | Details | Raw Unified | Return to bug 35030
Collapse All | Expand All

(-)a/Koha/ArticleRequest.pm (+14 lines)
Lines 64-69 sub request { Link Here
64
        if $debit;
64
        if $debit;
65
65
66
    $self->store();
66
    $self->store();
67
    $self->patron->update_lastseen('article');
67
    $self->notify();
68
    $self->notify();
68
    return $self;
69
    return $self;
69
}
70
}
Lines 226-231 sub borrower { Link Here
226
    return Koha::Patron->_new_from_dbic($rs);
227
    return Koha::Patron->_new_from_dbic($rs);
227
}
228
}
228
229
230
=head3 patron
231
232
Returns the Koha::Patron object for this article request
233
234
=cut
235
236
sub patron {
237
    my ($self) = @_;
238
    my $rs = $self->_result->borrowernumber;
239
    return unless $rs;
240
    return Koha::Patron->_new_from_dbic($rs);
241
}
242
229
=head3 branch
243
=head3 branch
230
244
231
Returns the Koha::Library object for this article request
245
Returns the Koha::Library object for this article request
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref (-1 / +1 lines)
Lines 101-106 Patrons: Link Here
101
               check_out: "Checking out an item"
101
               check_out: "Checking out an item"
102
               renewal: "Renewing an item"
102
               renewal: "Renewing an item"
103
               check_in: "Returning an item"
103
               check_in: "Returning an item"
104
               article: "Places an article request"
104
     -
105
     -
105
         - pref: AutoApprovePatronProfileSettings
106
         - pref: AutoApprovePatronProfileSettings
106
           choices:
107
           choices:
107
- 

Return to bug 35030