Lines 65-75
if (C4::Context->preference('AutoSelfCheckAllowed'))
Link Here
|
65 |
my ($template, $loggedinuser, $cookie) = get_template_and_user({ |
65 |
my ($template, $loggedinuser, $cookie) = get_template_and_user({ |
66 |
template_name => "sco/sco-main.tt", |
66 |
template_name => "sco/sco-main.tt", |
67 |
authnotrequired => 0, |
67 |
authnotrequired => 0, |
68 |
flagsrequired => { circulate => "circulate_remaining_permissions" }, |
68 |
flagsrequired => { circulate => "self_checkout" }, |
69 |
query => $query, |
69 |
query => $query, |
70 |
type => "opac", |
70 |
type => "opac", |
71 |
debug => 1, |
71 |
debug => 1, |
72 |
}); |
72 |
}); |
|
|
73 |
|
73 |
if (C4::Context->preference('SelfCheckoutByLogin')) |
74 |
if (C4::Context->preference('SelfCheckoutByLogin')) |
74 |
{ |
75 |
{ |
75 |
$template->param(authbylogin => 1); |
76 |
$template->param(authbylogin => 1); |