@foreach($loan->guarantees as $index => $guarantee)
{{ $guarantee->type_label }}
{{ ucfirst($guarantee->status) }}
@if($guarantee->guarantee_type === 'salary' && $guarantee->salaryGuarantee)
@php $salary = $guarantee->salaryGuarantee; @endphp
@elseif($guarantee->guarantee_type === 'collateral')
@foreach($guarantee->collateral as $item)
@endforeach
@elseif($guarantee->guarantee_type === 'guarantor')
@foreach($guarantee->guarantors as $guarantor)
@endforeach
@endif
@endforeach
@error('guarantee')
{{ $message }}
@enderror
Add at least one form of security/guarantee for the loan application.
Salary guarantees require employment documents, collateral requires ownership documents,
and guarantors must be registered members with active savings for more than 3 months.