Lines 894-903
sub patron_attributes_form {
Link Here
|
894 |
sub add_guarantors { |
894 |
sub add_guarantors { |
895 |
my ( $borrowernumber, $input ) = @_; |
895 |
my ( $borrowernumber, $input ) = @_; |
896 |
|
896 |
|
897 |
my @new_guarantor_id = scalar $input->param('new_guarantor_id'); |
897 |
my @new_guarantor_id = $input->multi_param('new_guarantor_id'); |
898 |
my @new_guarantor_surname = scalar $input->param('new_guarantor_surname'); |
898 |
my @new_guarantor_surname = $input->multi_param('new_guarantor_surname'); |
899 |
my @new_guarantor_firstname = scalar $input->param('new_guarantor_firstname'); |
899 |
my @new_guarantor_firstname = $input->multi_param('new_guarantor_firstname'); |
900 |
my @new_guarantor_relationship = scalar $input->param('new_guarantor_relationship'); |
900 |
my @new_guarantor_relationship = $input->multi_param('new_guarantor_relationship'); |
901 |
|
901 |
|
902 |
for ( my $i = 0 ; $i < scalar @new_guarantor_id; $i++ ) { |
902 |
for ( my $i = 0 ; $i < scalar @new_guarantor_id; $i++ ) { |
903 |
my $guarantor_id = $new_guarantor_id[$i]; |
903 |
my $guarantor_id = $new_guarantor_id[$i]; |
904 |
- |
|
|