Lines 163-169
foreach (@field_check) {
Link Here
|
163 |
next unless m/\w/o; |
163 |
next unless m/\w/o; |
164 |
$template->param( "no$_" => 1 ); |
164 |
$template->param( "no$_" => 1 ); |
165 |
} |
165 |
} |
166 |
$template->param( "op" => $op ); |
|
|
167 |
$template->param( "quickadd" => 1 ) if ( $quickadd ); |
166 |
$template->param( "quickadd" => 1 ) if ( $quickadd ); |
168 |
$template->param( "duplicate" => 1 ) if ( $op eq 'duplicate' ); |
167 |
$template->param( "duplicate" => 1 ) if ( $op eq 'duplicate' ); |
169 |
$template->param( "checked" => 1 ) if ( defined($nodouble) && $nodouble eq 1 ); |
168 |
$template->param( "checked" => 1 ) if ( defined($nodouble) && $nodouble eq 1 ); |
Lines 607-612
if ($nok or !$nodouble){
Link Here
|
607 |
$template->param( step_1 => 1,step_2 => 1,step_3 => 1, step_4 => 1, step_5 => 1, step_6 => 1, step_7 => 1 ); |
606 |
$template->param( step_1 => 1,step_2 => 1,step_3 => 1, step_4 => 1, step_5 => 1, step_6 => 1, step_7 => 1 ); |
608 |
} |
607 |
} |
609 |
} |
608 |
} |
|
|
609 |
|
610 |
$template->param( "op" => $op ); |
611 |
|
610 |
if (C4::Context->preference("IndependentBranches")) { |
612 |
if (C4::Context->preference("IndependentBranches")) { |
611 |
my $userenv = C4::Context->userenv; |
613 |
my $userenv = C4::Context->userenv; |
612 |
if ( !C4::Context->IsSuperLibrarian() && $data{'branchcode'} ) { |
614 |
if ( !C4::Context->IsSuperLibrarian() && $data{'branchcode'} ) { |
613 |
- |
|
|