Lines 269-276
if ( C4::Context->preference('NorwegianPatronDBEnable') && C4::Context->preferen
Link Here
|
269 |
my $patron_image = Koha::Patron::Images->find($data->{borrowernumber}); |
269 |
my $patron_image = Koha::Patron::Images->find($data->{borrowernumber}); |
270 |
$template->param( picture => 1 ) if $patron_image; |
270 |
$template->param( picture => 1 ) if $patron_image; |
271 |
|
271 |
|
272 |
my $branch=C4::Context->userenv->{'branch'}; |
|
|
273 |
|
274 |
$template->param(%$data); |
272 |
$template->param(%$data); |
275 |
|
273 |
|
276 |
if (C4::Context->preference('ExtendedPatronAttributes')) { |
274 |
if (C4::Context->preference('ExtendedPatronAttributes')) { |
Lines 319-326
$template->param(
Link Here
|
319 |
othernames => $data->{'othernames'}, |
317 |
othernames => $data->{'othernames'}, |
320 |
categoryname => $data->{'description'}, |
318 |
categoryname => $data->{'description'}, |
321 |
was_renewed => scalar $input->param('was_renewed') ? 1 : 0, |
319 |
was_renewed => scalar $input->param('was_renewed') ? 1 : 0, |
322 |
branch => $branch, |
|
|
323 |
branchcode => $branch, |
324 |
todaysdate => output_pref({ dt => dt_from_string, dateformat => 'iso', dateonly => 1 }), |
320 |
todaysdate => output_pref({ dt => dt_from_string, dateformat => 'iso', dateonly => 1 }), |
325 |
totalprice => sprintf("%.2f", $totalprice), |
321 |
totalprice => sprintf("%.2f", $totalprice), |
326 |
totaldue => sprintf("%.2f", $total), |
322 |
totaldue => sprintf("%.2f", $total), |
327 |
- |
|
|