8 use C4::Circulation::Circ2;
13 my ($template, $borrowernumber, $cookie)
14 = get_template_and_user({template_name => "opac-userdetails.tmpl",
18 flagsrequired => {borrow => 1},
22 # get borrower information ....
23 my ($borr, $flags) = getpatroninformation(undef, $borrowernumber);
25 $borr->{'dateenrolled'} = slashifyDate($borr->{'dateenrolled'});
26 $borr->{'expiry'} = slashifyDate($borr->{'expiry'});
27 $borr->{'dateofbirth'} = slashifyDate($borr->{'dateofbirth'});
28 $borr->{'ethnicity'} = fixEthnicity($borr->{'ethnicity'});
31 $template->param($borr);
33 output_html_with_http_headers $query, $cookie, $template->output;