@if($loan->guarantees)
@foreach($loan->guarantees as $guarantee)
@if($guarantee->guarantee_type === 'salary' && $guarantee->salaryGuarantee)
@elseif($guarantee->guarantee_type === 'collateral' && $guarantee->collateral)
Collateral Guarantee
@elseif($guarantee->guarantee_type === 'guarantor' && $guarantee->guarantors->count() > 0)
@foreach($guarantee->guarantors as $guarantor)
Guarantor
@endforeach
@endif
@endforeach
@endif
@error('guarantee')
{{ $message }}
@enderror
Add security/guarantee for the loan application to improve approval chances.