# with Koha; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-use strict;
-use warnings;
+use Modern::Perl;
use utf8;
use CGI;
use C4::Auth;
use C4::Output;
use C4::Accounts;
-use C4::Members;
use Koha::Acquisition::Currencies;
use Koha::Database;
+use Koha::Patrons;
my $cgi = new CGI;
$error = "PAYPAL_UNABLE_TO_CONNECT";
}
+my $patron = Koha::Patrons->find( $borrowernumber );
$template->param(
- borrower => GetMember( borrowernumber => $borrowernumber ),
+ borrower => $patron->unblessed,
accountview => 1
);