[% USE Koha %]
+[% USE Branches %]
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
-<title>Print receipt for [% cardnumber %]</title>
+<title>Print receipt for [% patron.cardnumber %]</title>
[% INCLUDE 'doc-head-close.inc' %]
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/printreceiptinvoice_[% KOHA_VERSION %].css" />
</head>
</tr>
<tr>
<th colspan="5" class="centerednames">
- [% IF ( branchname ) %]<h2>[% branchname %]</h2>[% END %]
+ <h2>[% Branches.GetName( patron.branchcode ) %]</h2>
</th>
</tr>
<tr>
<th colspan="5" >
- Bill to: [% firstname %] [% surname %] <br />
- Card number: [% cardnumber %]<br />
+ Bill to: [% patron.firstname %] [% patron.surname %] <br />
+ Card number: [% patron.cardnumber %]<br />
</th>
</tr>
<tr>