|
Lines 286-315
if ( $step == 5 ) {
Link Here
|
| 286 |
} |
286 |
} |
| 287 |
}; |
287 |
}; |
| 288 |
|
288 |
|
| 289 |
my $params_2 = { |
|
|
| 290 |
branchcode => $branchcode, |
| 291 |
categorycode => $categorycode, |
| 292 |
rules => { |
| 293 |
patron_maxissueqty => "", |
| 294 |
patron_maxonsiteissueqty => "", |
| 295 |
max_holds => "", |
| 296 |
} |
| 297 |
}; |
| 298 |
|
| 299 |
my $params_3 = { |
| 300 |
branchcode => $branchcode, |
| 301 |
itemtype => $itemtype, |
| 302 |
rules => { |
| 303 |
holdallowed => "", |
| 304 |
hold_fulfillment_policy => "", |
| 305 |
returnbranch => "", |
| 306 |
} |
| 307 |
}; |
| 308 |
|
| 309 |
eval { |
289 |
eval { |
| 310 |
Koha::CirculationRules->set_rules($params); |
290 |
Koha::CirculationRules->set_rules($params); |
| 311 |
Koha::CirculationRules->set_rules($params_2); |
|
|
| 312 |
Koha::CirculationRules->set_rules($params_3); |
| 313 |
}; |
291 |
}; |
| 314 |
|
292 |
|
| 315 |
if ($@) { |
293 |
if ($@) { |
| 316 |
- |
|
|