|
Lines 111-117
my $guarantor_id = $input->param('guarantor_id');
Link Here
|
| 111 |
my $guarantor = Koha::Patrons->find( $guarantor_id ) if $guarantor_id; |
111 |
my $guarantor = Koha::Patrons->find( $guarantor_id ) if $guarantor_id; |
| 112 |
$template->param( guarantor => $guarantor ); |
112 |
$template->param( guarantor => $guarantor ); |
| 113 |
|
113 |
|
| 114 |
my @delete_guarantor = $input->param('delete_guarantor'); |
114 |
my @delete_guarantor = $input->multi_param('delete_guarantor'); |
| 115 |
foreach my $id ( @delete_guarantor ) { |
115 |
foreach my $id ( @delete_guarantor ) { |
| 116 |
my $r = Koha::Patron::Relationships->find( $id ); |
116 |
my $r = Koha::Patron::Relationships->find( $id ); |
| 117 |
$r->delete() if $r; |
117 |
$r->delete() if $r; |
| 118 |
- |
|
|