|
Lines 212-222
if ( $op eq 'cud-delete' ) {
Link Here
|
| 212 |
branchcode => undef, |
212 |
branchcode => undef, |
| 213 |
itemtype => undef, |
213 |
itemtype => undef, |
| 214 |
rules => { |
214 |
rules => { |
| 215 |
holdallowed => undef, |
215 |
holdallowed => undef, |
| 216 |
hold_fulfillment_policy => undef, |
216 |
hold_fulfillment_policy => undef, |
| 217 |
bookings_lead_period => undef, |
217 |
fill_other_biblio_holds_policy => undef, |
| 218 |
bookings_trail_period => undef, |
218 |
bookings_lead_period => undef, |
| 219 |
returnbranch => undef, |
219 |
bookings_trail_period => undef, |
|
|
220 |
returnbranch => undef, |
| 220 |
} |
221 |
} |
| 221 |
} |
222 |
} |
| 222 |
); |
223 |
); |
|
Lines 226-236
if ( $op eq 'cud-delete' ) {
Link Here
|
| 226 |
branchcode => undef, |
227 |
branchcode => undef, |
| 227 |
itemtype => $itemtype, |
228 |
itemtype => $itemtype, |
| 228 |
rules => { |
229 |
rules => { |
| 229 |
holdallowed => undef, |
230 |
holdallowed => undef, |
| 230 |
hold_fulfillment_policy => undef, |
231 |
hold_fulfillment_policy => undef, |
| 231 |
bookings_lead_period => undef, |
232 |
fill_other_biblio_holds_policy => undef, |
| 232 |
bookings_trail_period => undef, |
233 |
bookings_lead_period => undef, |
| 233 |
returnbranch => undef, |
234 |
bookings_trail_period => undef, |
|
|
235 |
returnbranch => undef, |
| 234 |
} |
236 |
} |
| 235 |
} |
237 |
} |
| 236 |
); |
238 |
); |
|
Lines 241-251
if ( $op eq 'cud-delete' ) {
Link Here
|
| 241 |
branchcode => $branch, |
243 |
branchcode => $branch, |
| 242 |
itemtype => undef, |
244 |
itemtype => undef, |
| 243 |
rules => { |
245 |
rules => { |
| 244 |
holdallowed => undef, |
246 |
holdallowed => undef, |
| 245 |
hold_fulfillment_policy => undef, |
247 |
hold_fulfillment_policy => undef, |
| 246 |
bookings_lead_period => undef, |
248 |
fill_other_biblio_holds_policy => undef, |
| 247 |
bookings_trail_period => undef, |
249 |
bookings_lead_period => undef, |
| 248 |
returnbranch => undef, |
250 |
bookings_trail_period => undef, |
|
|
251 |
returnbranch => undef, |
| 249 |
} |
252 |
} |
| 250 |
} |
253 |
} |
| 251 |
); |
254 |
); |
|
Lines 255-265
if ( $op eq 'cud-delete' ) {
Link Here
|
| 255 |
branchcode => $branch, |
258 |
branchcode => $branch, |
| 256 |
itemtype => $itemtype, |
259 |
itemtype => $itemtype, |
| 257 |
rules => { |
260 |
rules => { |
| 258 |
holdallowed => undef, |
261 |
holdallowed => undef, |
| 259 |
hold_fulfillment_policy => undef, |
262 |
hold_fulfillment_policy => undef, |
| 260 |
bookings_lead_period => undef, |
263 |
fill_other_biblio_holds_policy => undef, |
| 261 |
bookings_trail_period => undef, |
264 |
bookings_lead_period => undef, |
| 262 |
returnbranch => undef, |
265 |
bookings_trail_period => undef, |
|
|
266 |
returnbranch => undef, |
| 263 |
} |
267 |
} |
| 264 |
} |
268 |
} |
| 265 |
); |
269 |
); |
|
Lines 609-620
elsif ( $op eq 'cud-add' ) {
Link Here
|
| 609 |
} |
613 |
} |
| 610 |
); |
614 |
); |
| 611 |
} elsif ( $op eq "cud-add-branch-item" ) { |
615 |
} elsif ( $op eq "cud-add-branch-item" ) { |
| 612 |
my $itemtype = $input->param('itemtype'); |
616 |
my $itemtype = $input->param('itemtype'); |
| 613 |
my $holdallowed = $input->param('holdallowed'); |
617 |
my $holdallowed = $input->param('holdallowed'); |
| 614 |
my $hold_fulfillment_policy = $input->param('hold_fulfillment_policy'); |
618 |
my $hold_fulfillment_policy = $input->param('hold_fulfillment_policy'); |
| 615 |
my $bookings_lead_period = $input->param('bookings_lead_period'); |
619 |
my $fill_other_biblio_holds_policy = $input->param('fill_other_biblio_holds_policy'); |
| 616 |
my $bookings_trail_period = $input->param('bookings_trail_period'); |
620 |
my $bookings_lead_period = $input->param('bookings_lead_period'); |
| 617 |
my $returnbranch = $input->param('returnbranch'); |
621 |
my $bookings_trail_period = $input->param('bookings_trail_period'); |
|
|
622 |
my $returnbranch = $input->param('returnbranch'); |
| 618 |
|
623 |
|
| 619 |
if ( $branch eq "*" ) { |
624 |
if ( $branch eq "*" ) { |
| 620 |
if ( $itemtype eq "*" ) { |
625 |
if ( $itemtype eq "*" ) { |
|
Lines 623-633
elsif ( $op eq 'cud-add' ) {
Link Here
|
| 623 |
itemtype => undef, |
628 |
itemtype => undef, |
| 624 |
branchcode => undef, |
629 |
branchcode => undef, |
| 625 |
rules => { |
630 |
rules => { |
| 626 |
holdallowed => $holdallowed, |
631 |
holdallowed => $holdallowed, |
| 627 |
hold_fulfillment_policy => $hold_fulfillment_policy, |
632 |
hold_fulfillment_policy => $hold_fulfillment_policy, |
| 628 |
bookings_lead_period => $bookings_lead_period, |
633 |
fill_other_biblio_holds_policy => $fill_other_biblio_holds_policy, |
| 629 |
bookings_trail_period => $bookings_trail_period, |
634 |
bookings_lead_period => $bookings_lead_period, |
| 630 |
returnbranch => $returnbranch, |
635 |
bookings_trail_period => $bookings_trail_period, |
|
|
636 |
returnbranch => $returnbranch, |
| 631 |
} |
637 |
} |
| 632 |
} |
638 |
} |
| 633 |
); |
639 |
); |
|
Lines 637-647
elsif ( $op eq 'cud-add' ) {
Link Here
|
| 637 |
itemtype => $itemtype, |
643 |
itemtype => $itemtype, |
| 638 |
branchcode => undef, |
644 |
branchcode => undef, |
| 639 |
rules => { |
645 |
rules => { |
| 640 |
holdallowed => $holdallowed, |
646 |
holdallowed => $holdallowed, |
| 641 |
hold_fulfillment_policy => $hold_fulfillment_policy, |
647 |
hold_fulfillment_policy => $hold_fulfillment_policy, |
| 642 |
bookings_lead_period => $bookings_lead_period, |
648 |
fill_other_biblio_holds_policy => $fill_other_biblio_holds_policy, |
| 643 |
bookings_trail_period => $bookings_trail_period, |
649 |
bookings_lead_period => $bookings_lead_period, |
| 644 |
returnbranch => $returnbranch, |
650 |
bookings_trail_period => $bookings_trail_period, |
|
|
651 |
returnbranch => $returnbranch, |
| 645 |
} |
652 |
} |
| 646 |
} |
653 |
} |
| 647 |
); |
654 |
); |
|
Lines 652-662
elsif ( $op eq 'cud-add' ) {
Link Here
|
| 652 |
itemtype => undef, |
659 |
itemtype => undef, |
| 653 |
branchcode => $branch, |
660 |
branchcode => $branch, |
| 654 |
rules => { |
661 |
rules => { |
| 655 |
holdallowed => $holdallowed, |
662 |
holdallowed => $holdallowed, |
| 656 |
hold_fulfillment_policy => $hold_fulfillment_policy, |
663 |
hold_fulfillment_policy => $hold_fulfillment_policy, |
| 657 |
bookings_lead_period => $bookings_lead_period, |
664 |
fill_other_biblio_holds_policy => $fill_other_biblio_holds_policy, |
| 658 |
bookings_trail_period => $bookings_trail_period, |
665 |
bookings_lead_period => $bookings_lead_period, |
| 659 |
returnbranch => $returnbranch, |
666 |
bookings_trail_period => $bookings_trail_period, |
|
|
667 |
returnbranch => $returnbranch, |
| 660 |
} |
668 |
} |
| 661 |
} |
669 |
} |
| 662 |
); |
670 |
); |
|
Lines 666-676
elsif ( $op eq 'cud-add' ) {
Link Here
|
| 666 |
itemtype => $itemtype, |
674 |
itemtype => $itemtype, |
| 667 |
branchcode => $branch, |
675 |
branchcode => $branch, |
| 668 |
rules => { |
676 |
rules => { |
| 669 |
holdallowed => $holdallowed, |
677 |
holdallowed => $holdallowed, |
| 670 |
hold_fulfillment_policy => $hold_fulfillment_policy, |
678 |
fill_other_biblio_holds_policy => $fill_other_biblio_holds_policy, |
| 671 |
bookings_lead_period => $bookings_lead_period, |
679 |
hold_fulfillment_policy => $hold_fulfillment_policy, |
| 672 |
bookings_trail_period => $bookings_trail_period, |
680 |
bookings_lead_period => $bookings_lead_period, |
| 673 |
returnbranch => $returnbranch, |
681 |
bookings_trail_period => $bookings_trail_period, |
|
|
682 |
returnbranch => $returnbranch, |
| 674 |
} |
683 |
} |
| 675 |
} |
684 |
} |
| 676 |
); |
685 |
); |