@if($editingId)

{{ __('Editing guarantor') }} #{{ $editingId }}

@endif
@error('form.name')
{{ $message }}
@enderror
@error('form.nid')
{{ $message }}
@enderror
@if($editingId) @php $editingRow = $guarantors->firstWhere('id', $editingId); @endphp @if($editingRow && !empty($editingRow->document))

{{ __('Current file') }}: {{ __('View') }} ({{ __('upload a new file to replace') }})

@endif @endif @error('documentFile')
{{ $message }}
@enderror
@if($editingId) @else @endif
@forelse($guarantors as $row) (int) $editingId === (int) $row->id])> @empty @endforelse
{{ __('Name') }} {{ __('Relation') }} {{ __('Phone') }} {{ __('NID') }} {{ __('Document') }} {{ __('Action') }}
{{ $row->name }} {{ $row->relation }} {{ $row->phone }} {{ $row->NID }} @if(!empty($row->document)) {{ __('View') }} @else — @endif
{{ __('No guarantors added yet.') }}