Lines 665-674
my $onlymine = C4::Context->preference('IndependantBranches') &&
Link Here
|
665 |
C4::Context->userenv && |
665 |
C4::Context->userenv && |
666 |
C4::Context->userenv->{flags}!=1 && |
666 |
C4::Context->userenv->{flags}!=1 && |
667 |
C4::Context->userenv->{branch}; |
667 |
C4::Context->userenv->{branch}; |
668 |
my $branch = C4::Context->userenv->{branch}; |
668 |
my $branch = $input->param('branch') || C4::Context->userenv->{branch}; |
669 |
if ($frameworkcode eq 'FA'){ |
|
|
670 |
$branch = $input->param('branch'); |
671 |
} |
672 |
my $branches = GetBranchesLoop($branch,$onlymine); # build once ahead of time, instead of multiple times later. |
669 |
my $branches = GetBranchesLoop($branch,$onlymine); # build once ahead of time, instead of multiple times later. |
673 |
|
670 |
|
674 |
# We generate form, from actuel record |
671 |
# We generate form, from actuel record |
675 |
- |
|
|