@php $contacturl = ''; @endphp
@php if(isset($data['class'])){ $class = $data['class']; } @endphp
@if(isset($data['department']) && count($data['department']) > 0)
@php $i = 0; @endphp @foreach($data['department'] as $index => $department) @if($i % 2 == 0)
@if(!empty($department->varPhoneNo))

Phone: {{ $department->varPhoneNo }}

@endif @if(!empty($department->varfax))

Fax: {{ $department->varfax }}

@endif @if(!empty($department->varEmail))

Email: {{ $department->varEmail }}

@endif Contact Us
@endif @php $i++; @endphp @endforeach
@if(isset($data['department']) && count($data['department']) > 0) @php $i = 0; @endphp @foreach($data['department'] as $index => $department) @if($i % 2 != 0)
@if(!empty($department->varPhoneNo))

Phone: {{ $department->varPhoneNo }}

@endif @if(!empty($department->varfax))

Fax: {{ $department->varfax }}

@endif @if(!empty($department->varEmail))

Email: {{ $department->varEmail }}

@endif Contact Us
@endif @php $i++; @endphp @endforeach @endif
@endif