Lines 177-183
sub add_new_branch {
Link Here
|
177 |
}); |
177 |
}); |
178 |
|
178 |
|
179 |
unless ($branch_rs->count) { |
179 |
unless ($branch_rs->count) { |
180 |
$copyBranch = Koha::Libraries->next->branchcode; |
180 |
$copyBranch = $schema->resultset('DiscreteCalendar')->next->branchcode; |
181 |
$branch_rs = $schema->resultset('DiscreteCalendar')->search({ |
181 |
$branch_rs = $schema->resultset('DiscreteCalendar')->search({ |
182 |
branchcode => $copyBranch |
182 |
branchcode => $copyBranch |
183 |
}); |
183 |
}); |
184 |
- |
|
|