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