}
my $patron = Koha::Patrons->find($tables->{borrowers});
my @guarantors;
if ( $patron->guarantor_relationships->count ) {
@guarantors = $patron->guarantor_relationships->guarantors;
my $guarantor = $guarantors[0];
$$tables{guarantor}=$guarantor->unblessed;
if (%$tables) {
_substitute_tables( $letter, $tables );
-