Lines 54-60
my @checkitems = $input->multi_param('checkitem');
Link Here
|
54 |
my $expirationdate = $input->param('expiration_date'); |
54 |
my $expirationdate = $input->param('expiration_date'); |
55 |
my $itemtype = $input->param('itemtype') || undef; |
55 |
my $itemtype = $input->param('itemtype') || undef; |
56 |
my $non_priority = $input->param('non_priority'); |
56 |
my $non_priority = $input->param('non_priority'); |
57 |
my $hold_group = $input->param('hold_group') || undef; |
57 |
my $hold_group_param = $input->param('hold_group') || undef; |
|
|
58 |
my $hold_group; |
58 |
|
59 |
|
59 |
my $borrower = Koha::Patrons->find( $borrowernumber ); |
60 |
my $borrower = Koha::Patrons->find( $borrowernumber ); |
60 |
$borrower = $borrower->unblessed if $borrower; |
61 |
$borrower = $borrower->unblessed if $borrower; |
Lines 89-95
unless ( C4::Context->preference('ReservesNeedReturns') ) {
Link Here
|
89 |
|
90 |
|
90 |
if ( $type eq 'str8' && $borrower ) { |
91 |
if ( $type eq 'str8' && $borrower ) { |
91 |
|
92 |
|
92 |
if ( @biblionumbers > 1 && $hold_group ) { |
93 |
if ( $hold_group_param ) { |
93 |
$hold_group = Koha::HoldGroup->new->store; |
94 |
$hold_group = Koha::HoldGroup->new->store; |
94 |
} |
95 |
} |
95 |
|
96 |
|
96 |
- |
|
|