|
Lines 189-195
sub redo_matching {
Link Here
|
| 189 |
sub create_labelbatch_from_importbatch { |
189 |
sub create_labelbatch_from_importbatch { |
| 190 |
my ($batch_id) = @_; |
190 |
my ($batch_id) = @_; |
| 191 |
my $err = undef; |
191 |
my $err = undef; |
| 192 |
my $branch_code = get_branch_code_from_name($template->param('LoginBranchname')); |
192 |
my $branch_code = C4::Context->userenv->{'branch'}; |
| 193 |
my $batch = C4::Labels::Batch->new(branch_code => $branch_code); |
193 |
my $batch = C4::Labels::Batch->new(branch_code => $branch_code); |
| 194 |
my @items = GetItemNumbersFromImportBatch($batch_id); |
194 |
my @items = GetItemNumbersFromImportBatch($batch_id); |
| 195 |
if (grep{$_ == 0} @items) { |
195 |
if (grep{$_ == 0} @items) { |
| 196 |
- |
|
|