View | Details | Raw Unified | Return to bug 12446
Collapse All | Expand All

(-)a/members/memberentry.pl (-2 / +2 lines)
Lines 752-763 if (C4::Context->preference('EnhancedMessagingPreferences')) { Link Here
752
752
753
$template->param( borrower_data => \%data );
753
$template->param( borrower_data => \%data );
754
$template->param( "show_guarantor" => $categorycode ? Koha::Patron::Categories->find($categorycode)->canbeguarantee : 1); # associate with step to know where you are
754
$template->param( "show_guarantor" => $categorycode ? Koha::Patron::Categories->find($categorycode)->canbeguarantee : 1); # associate with step to know where you are
755
$debug and warn "memberentry step: $step";
756
$template->param( "step_$step"  => 1) if $step;	# associate with step to know where u are
755
$template->param( "step_$step"  => 1) if $step;	# associate with step to know where u are
757
$template->param(  step  => $step   ) if $step;	# associate with step to know where u are
756
$template->param(  step  => $step   ) if $step;	# associate with step to know where u are
758
757
759
$template->param(
758
$template->param(
760
  BorrowerMandatoryField => C4::Context->preference("BorrowerMandatoryField"),#field to test with javascript
759
  BorrowerMandatoryField => C4::Context->preference("BorrowerMandatoryField"),#field to test with javascript
760
  category_type => $category_type,#to know the category type of the borrower
761
  "$category_type"  => 1,# associate with step to know where u are
761
  destination   => $destination,#to know where u come from and where u must go in redirect
762
  destination   => $destination,#to know where u come from and where u must go in redirect
762
  check_member    => $check_member,#to know if the borrower already exist(=>1) or not (=>0) 
763
  check_member    => $check_member,#to know if the borrower already exist(=>1) or not (=>0) 
763
  "op$op"   => 1);
764
  "op$op"   => 1);
764
- 

Return to bug 12446