Contact Us Management
Manage and view contact information
Add New Contact
Contact List
{{ count($contact) }} Contacts| ID | ADDRESS | CITY / COUNTRY | PRIMARY HOTLINE | CREATED AT | ACTION | |||
|---|---|---|---|---|---|---|---|---|
| ID | ADDRESS | CITY / COUNTRY | # | PRIMARY HOTLINE | CREATED AT | ACTION | ||
| {{ $item['id'] }} |
{{ $item['address_line1'] ?? '' }}
@if (!empty($item['address_line2']))
{{ $item['address_line2'] }} @endif |
{{ $item['city'] ?? 'N/A' }} @if (!empty($item['country'])) , {{ $item['country'] }} @endif |
{{ $item['hotline_primary'] ?? 'N/A' }}
@if (!empty($item['hotline_secondary'] ?? $item['hotline_third']))
{{ $item['hotline_secondary'] ?? '' }} - {{ $item['hotline_third'] ?? '' }} @endif |
{{ $item['email'] ?? 'N/A' }} | @if (!empty($item['created_at'])) {{ \Carbon\Carbon::parse($item['created_at'])->format('d M Y') }} @else N/A @endif |
|
||
| No contacts found. | ||||||||
| {{ $item['id'] }} | @endif {{-- ADDRESS — only on first row --}} @if ($index === 0)
{{ $item['address_line1'] ?? 'N/A' }}
@if (!empty($item['address_line2']))
{{ $item['address_line2'] }}
@endif
|
@endif
{{-- CITY / COUNTRY — only on first row --}}
@if ($index === 0)
{{ $item['city'] ?? 'N/A' }} @if (!empty($item['country'])) , {{ $item['country'] }} @endif | @endif {{-- HOTLINE NUMBER + VALUE --}}{{ $index + 1 }} | {{ $hotline }} | {{-- EMAIL — only on first row --}} @if ($index === 0){{ $item['email'] ?? 'N/A' }} | @endif {{-- CREATED AT — only on first row --}} @if ($index === 0)@if (!empty($item['created_at'])) {{ \Carbon\Carbon::parse($item['created_at'])->format('d M Y') }} @else N/A @endif | @endif {{-- ACTION — only on first row --}} @if ($index === 0)
|
@endif
|
| No contacts found. | ||||||||