@extends('layouts.page') @section('title') YD Key Leaders @endsection @section('navs') @include('common.search') @if (Auth::user()->isAdmin() || Auth::user()->hasAnyDepartment(['admin'])) @endif @endsection @section('content')
| S.No | Full Name | Aadhaar Number | Date of Birth | Mobile Number | State | Created By | Delete |
|---|---|---|---|---|---|---|---|
| {{ $i++ }} | {{ $leader->full_name }} | {{ $leader->address_proof_id }} | {{ AppHelper::date($leader->birthdate) }} | {{ $leader->mobile }} | {{ AppHelper::dropdown($leader->state, 'states') }} |
@if($leader->created_user)
{{ $leader->created_user->name }}
@else
N/A
@endif
{!! date('d M Y', strtotime($leader->created_at)) !!} |
@if(Auth::user()->hasAnyRole(['admin']))
@endif |