@foreach($users as $key=>$value) @foreach($value as $user)
{{--
@if($user->userprofile->AvatarPath) Profile Picture @else Profile Picture @endif @php $from = [255, 0, 0]; $to = [0, 0, 255]; $url=url('/admin/attandance/'.$user->name); @endphp {{--
--}} @if($user->userprofile->membership_type=='guest') @endif
@php $from = [255, 0, 0]; $to = [0, 0, 255]; $url=url('/admin/attandance/'.$user->name); @endphp

NAME - {{ strtoupper($user->FullName) }}

ID NUMBER - #{{ $user->id }}

PHONE - {{ $user->mobile_no }}

ADDRESS - {{ strtoupper($user->userprofile->address) }},{{strtoupper($user->userprofile->city->name)}} {{strtoupper($user->userprofile->state->name)}} ,{{strtoupper($user->userprofile->country->name)}}

@php $currentYear = date('Y'); $nextYear = date('Y', strtotime('+1 year')); $year=$currentYear . ' - ' . $nextYear; @endphp Year : {{$year}}


@if($loop->iteration % 3 == 0)
@endif
@endforeach @endforeach