8 use C4::Circulation::Circ2;
11 use C4::Interface::CGI::Output;
14 my ($template, $borrowernumber, $cookie)
15 = get_template_and_user({template_name => "opac-userdetails.tmpl",
19 flagsrequired => {borrow => 1},
23 # get borrower information ....
24 my ($borr, $flags) = getpatroninformation(undef, $borrowernumber);
26 $borr->{'dateenrolled'} = slashifyDate($borr->{'dateenrolled'});
27 $borr->{'expiry'} = slashifyDate($borr->{'expiry'});
28 $borr->{'dateofbirth'} = slashifyDate($borr->{'dateofbirth'});
29 $borr->{'ethnicity'} = fixEthnicity($borr->{'ethnicity'});
32 $template->param($borr);
34 output_html_with_http_headers $query, $cookie, $template->output;