Lines 31-43
use C4::Branch; # GetBranches GetBranchesLoop
Link Here
|
31 |
# this will be the script that chooses branch and printer settings.... |
31 |
# this will be the script that chooses branch and printer settings.... |
32 |
|
32 |
|
33 |
my $query = CGI->new(); |
33 |
my $query = CGI->new(); |
|
|
34 |
|
34 |
my ( $template, $borrowernumber, $cookie ) = get_template_and_user({ |
35 |
my ( $template, $borrowernumber, $cookie ) = get_template_and_user({ |
35 |
template_name => "circ/selectbranchprinter.tmpl", |
36 |
template_name => "circ/selectbranchprinter.tmpl", |
36 |
query => $query, |
37 |
query => $query, |
37 |
type => "intranet", |
38 |
type => "intranet", |
38 |
debug => 1, |
39 |
debug => 1, |
39 |
authnotrequired => 0, |
40 |
authnotrequired => 0, |
40 |
flagsrequired => { circulate => "circulate_remaining_permissions" }, |
41 |
flagsrequired => { catalogue => 1, }, |
41 |
}); |
42 |
}); |
42 |
|
43 |
|
43 |
my $sessionID = $query->cookie("CGISESSID"); |
44 |
my $sessionID = $query->cookie("CGISESSID"); |