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