Lines 770-776
$template->param(
Link Here
|
770 |
$guarantorid = $borrower_data->{'guarantorid'} || $guarantorid; |
770 |
$guarantorid = $borrower_data->{'guarantorid'} || $guarantorid; |
771 |
my $guarantor = $guarantorid ? Koha::Patrons->find( $guarantorid ) : undef; |
771 |
my $guarantor = $guarantorid ? Koha::Patrons->find( $guarantorid ) : undef; |
772 |
$template->param( |
772 |
$template->param( |
773 |
patron => $patron, # Used by address include templates now |
773 |
patron => $patron && $patron->borrowernumber() ? $patron : \%newdata, # Used by address include templates now |
774 |
nodouble => $nodouble, |
774 |
nodouble => $nodouble, |
775 |
borrowernumber => $borrowernumber, #register number |
775 |
borrowernumber => $borrowernumber, #register number |
776 |
guarantor => $guarantor, |
776 |
guarantor => $guarantor, |
777 |
- |
|
|