@forelse ($branches as $branch)

{{ $branch->name }}

Address:{{ $branch->address }}

@php $telNumbers = array_map('trim', explode('/', $branch->contact)); @endphp

Tel: @foreach ($telNumbers as $index => $tel) {{ $tel }} @if (!$loop->last) / @endif @endforeach

@if ($branch->fax)

Fax:{{ $branch->fax }}

@endif @if ($branch->branch_incharge)

Branch Incharge:{{ $branch->branch_incharge }}

@endif @php $contacts = array_map('trim', explode('/', $branch->branch_incharge_contact)); @endphp @if (count($contacts) > 1)

Contact: @foreach ($contacts as $index => $contact) {{ $contact }} @if (!$loop->last) / @endif @endforeach

@endif @if ($branch->email)

Email:{{ $branch->email }}

@endif
@empty

No details avaliable

@endforelse