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