@extends('layouts.admin.layout') @section('content')

Print Membership Card

@include('partials.message')
@foreach($users as $user)
@if($user->userprofile->AvatarPath) Profile Picture @else Profile Picture @endif @if (Auth::user()->ChurchLogo['meta_value'] != '-') Logo @else Logo @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}}

@endforeach
@endsection