Lines 74-79
else {
Link Here
|
74 |
undef $itemnumber[$i] if !$itemnumber[$i]; |
74 |
undef $itemnumber[$i] if !$itemnumber[$i]; |
75 |
my $suspend_until = $query->param( "suspend_until_" . $reserve_id[$i] ); |
75 |
my $suspend_until = $query->param( "suspend_until_" . $reserve_id[$i] ); |
76 |
my $cancellation_reason = $query->param("cancellation-reason"); |
76 |
my $cancellation_reason = $query->param("cancellation-reason"); |
|
|
77 |
my $cancellation_notify_patron = $query->param("cancellation-notify-patron"); |
78 |
|
77 |
my $params = { |
79 |
my $params = { |
78 |
rank => $rank[$i], |
80 |
rank => $rank[$i], |
79 |
reserve_id => $reserve_id[$i], |
81 |
reserve_id => $reserve_id[$i], |
Lines 82-87
else {
Link Here
|
82 |
itemnumber => $itemnumber[$i], |
84 |
itemnumber => $itemnumber[$i], |
83 |
defined $suspend_until ? ( suspend_until => $suspend_until ) : (), |
85 |
defined $suspend_until ? ( suspend_until => $suspend_until ) : (), |
84 |
cancellation_reason => $cancellation_reason, |
86 |
cancellation_reason => $cancellation_reason, |
|
|
87 |
notify_patron => $cancellation_notify_patron, |
85 |
}; |
88 |
}; |
86 |
if (C4::Context->preference('AllowHoldDateInFuture')) { |
89 |
if (C4::Context->preference('AllowHoldDateInFuture')) { |
87 |
$params->{reservedate} = $reservedates[$i] ? dt_from_string($reservedates[$i]) : undef; |
90 |
$params->{reservedate} = $reservedates[$i] ? dt_from_string($reservedates[$i]) : undef; |