Lines 89-96
sub do_checkin {
Link Here
|
89 |
if ($messages->{withdrawn}) { |
89 |
if ($messages->{withdrawn}) { |
90 |
$self->alert_type('99'); |
90 |
$self->alert_type('99'); |
91 |
} |
91 |
} |
92 |
if ($messages->{ReturnOfLostItemBlocked}) { |
92 |
if ($messages->{WasLost}) { |
93 |
$self->alert_type('99'); |
93 |
$self->alert_type('99') if C4::Context->preference("BlockReturnOfLostItems"); |
94 |
} |
94 |
} |
95 |
if ($messages->{Wrongbranch}) { |
95 |
if ($messages->{Wrongbranch}) { |
96 |
$self->{item}->destination_loc($messages->{Wrongbranch}->{Rightbranch}); |
96 |
$self->{item}->destination_loc($messages->{Wrongbranch}->{Rightbranch}); |
Lines 128-134
sub do_checkin {
Link Here
|
128 |
$self->{item}->hold_patron_id( $messages->{ResFound}->{borrowernumber} ); |
128 |
$self->{item}->hold_patron_id( $messages->{ResFound}->{borrowernumber} ); |
129 |
$self->{item}->destination_loc( $messages->{ResFound}->{branchcode} ); |
129 |
$self->{item}->destination_loc( $messages->{ResFound}->{branchcode} ); |
130 |
} |
130 |
} |
131 |
# ignoring messages: NotIssued, WasLost, WasTransfered |
131 |
# ignoring messages: NotIssued, WasTransfered |
132 |
|
132 |
|
133 |
if ($cv_triggers_alert) { |
133 |
if ($cv_triggers_alert) { |
134 |
$self->alert( defined $self->alert_type ); # Overwrites existing alert value, should set to 0 if there is no alert type |
134 |
$self->alert( defined $self->alert_type ); # Overwrites existing alert value, should set to 0 if there is no alert type |
135 |
- |
|
|