$$args{is_precat} = $$args{precat};
delete $$args{precat};
}
+
}
permit_override
pending_checkouts
cancelled_hold_transit
+ opac_renewal
+ phone_renewal
+ desk_renewal
/;
$self->circ_lib(
($self->circ_lib) ? $self->circ_lib : $self->editor->requestor->ws_ou);
+ # if this is a renewal, default to desk_renewal
+ $self->desk_renewal(1) unless
+ $self->opac_renewal or $self->phone_renewal;
+
return $self;
}
$circ->circ_lib( $self->circ_lib );
if( $self->is_renewal ) {
- $circ->opac_renewal(1);
+ $circ->opac_renewal('t') if $self->opac_renewal;
+ $circ->phone_renewal('t') if $self->phone_renewal;
+ $circ->desk_renewal('t') if $self->desk_renewal;
$circ->renewal_remaining($self->renewal_remaining);
$circ->circ_staff($self->editor->requestor->id);
}
+
# if the user provided an overiding checkout time,
# (e.g. the checkout really happened several hours ago), then
# we apply that here. Does this need a perm??
$self->update_copy;
}
-
return $self->bail_on_events($self->editor->event)
unless $self->editor->update_action_circulation($circ);
}