Lines 819-825
if (C4::Context->preference('EnhancedMessagingPreferences')) {
Link Here
|
819 |
|
819 |
|
820 |
$template->param( borrower_data => \%data ); |
820 |
$template->param( borrower_data => \%data ); |
821 |
$template->param( "show_guarantor" => $categorycode ? Koha::Patron::Categories->find($categorycode)->canbeguarantee : 1); # associate with step to know where you are |
821 |
$template->param( "show_guarantor" => $categorycode ? Koha::Patron::Categories->find($categorycode)->canbeguarantee : 1); # associate with step to know where you are |
822 |
my $debug and warn "memberentry step: $step"; |
|
|
823 |
$template->param( "step_$step" => 1) if $step; # associate with step to know where u are |
822 |
$template->param( "step_$step" => 1) if $step; # associate with step to know where u are |
824 |
$template->param( step => $step ) if $step; # associate with step to know where u are |
823 |
$template->param( step => $step ) if $step; # associate with step to know where u are |
825 |
|
824 |
|
Lines 827-833
$template->param(
Link Here
|
827 |
BorrowerMandatoryField => C4::Context->preference("BorrowerMandatoryField"),#field to test with javascript |
826 |
BorrowerMandatoryField => C4::Context->preference("BorrowerMandatoryField"),#field to test with javascript |
828 |
category_type => $category_type,#to know the category type of the borrower |
827 |
category_type => $category_type,#to know the category type of the borrower |
829 |
"$category_type" => 1,# associate with step to know where u are |
828 |
"$category_type" => 1,# associate with step to know where u are |
830 |
destination => $destination,#to know wher u come from and wher u must go in redirect |
829 |
destination => $destination,#to know where u come from and where u must go in redirect |
831 |
check_member => $check_member,#to know if the borrower already exist(=>1) or not (=>0) |
830 |
check_member => $check_member,#to know if the borrower already exist(=>1) or not (=>0) |
832 |
"op$op" => 1); |
831 |
"op$op" => 1); |
833 |
|
832 |
|
834 |
- |
|
|