use strict;
use warnings;
use HTML::Entities;
use C4::Auth;
use C4::Output;
use CGI qw ( -utf8 );
);
my $borrowernumber=$input->param('borrowernumber');
$borrowernumber = HTML::Entities::encode($borrowernumber);
my $action = $input->param('action') || '';
#get patron details
-