8 use C4::Circulation::Circ2;
12 my ($template, $borrowernumber, $cookie)
13 = get_template_and_user({template_name => "opac-userdetails.tmpl",
17 flagsrequired => {borrow => 1},
21 # get borrower information ....
22 my ($borr, $flags) = getpatroninformation(undef, $borrowernumber);
24 $borr->{'dateenrolled'} = slashifyDate($borr->{'dateenrolled'});
25 $borr->{'expiry'} = slashifyDate($borr->{'expiry'});
26 $borr->{'dateofbirth'} = slashifyDate($borr->{'dateofbirth'});
27 $borr->{'ethnicity'} = fixEthnicity($borr->{'ethnicity'});
30 $template->param($borr);
32 print $query->header(-cookie => $cookie), $template->output;