Lines 59-78
sub blank_row {
Link Here
|
59 |
return 1; |
59 |
return 1; |
60 |
} |
60 |
} |
61 |
|
61 |
|
62 |
my $type=$input->param('type'); |
62 |
my ( $template, $loggedinuser, $cookie ) = get_template_and_user( |
63 |
my $branch = $input->param('branch'); |
63 |
{ |
|
|
64 |
template_name => "tools/overduerules.tt", |
65 |
query => $input, |
66 |
type => "intranet", |
67 |
authnotrequired => 0, |
68 |
flagsrequired => { tools => 'edit_notice_status_triggers' }, |
69 |
debug => 1, |
70 |
} |
71 |
); |
72 |
|
73 |
my $type = $input->param('type'); |
74 |
|
75 |
my $branch = |
76 |
defined( $input->param('branch') ) ? $input->param('branch') |
77 |
: GetBranchesCount() == 1 ? undef |
78 |
: C4::Branch::mybranch(); |
79 |
$branch = q{} if $branch eq 'NO_LIBRARY_SET'; |
64 |
$branch ||= q{}; |
80 |
$branch ||= q{}; |
|
|
81 |
|
65 |
my $op = $input->param('op'); |
82 |
my $op = $input->param('op'); |
66 |
$op ||= q{}; |
83 |
$op ||= q{}; |
67 |
|
84 |
|
68 |
my ($template, $loggedinuser, $cookie) |
|
|
69 |
= get_template_and_user({template_name => "tools/overduerules.tt", |
70 |
query => $input, |
71 |
type => "intranet", |
72 |
authnotrequired => 0, |
73 |
flagsrequired => { tools => 'edit_notice_status_triggers'}, |
74 |
debug => 1, |
75 |
}); |
76 |
my $err=0; |
85 |
my $err=0; |
77 |
|
86 |
|
78 |
# save the values entered into tables |
87 |
# save the values entered into tables |
79 |
- |
|
|