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