@extends('layouts.master') @section('title') {{ 'Page Title Goes Here' }} @endsection @section('contain') {{-- @foreach ($userData as $user) --}}
{{--
Card image
Department
{{ $user->department->name ?? '-' }}
Registeration Date
{{ $user->created_at }}
--}}
{{--
@csrf
@error('createSession') {{ $message }} @enderror
--}}
@php $num = 1; @endphp @foreach ($user->approvedSuggestions as $Psuggestion) @endforeach
@php $num = 1; @endphp @foreach ($user->pendingSuggestions as $Psuggestion) {{-- --}} @endforeach
@php $num = 1; @endphp @foreach ($user->rejectedSuggestions as $Psuggestion) @endforeach
{{--
Data table example
--}}
@php $num = 1; @endphp @foreach ($user->incident as $incid) @endforeach
S.No Name Email Phon Date Time Location Description Media Status Action
{{ $num++ }} {{ $incid->name ?? '-' }} {{ $incid->email ?? '-' }} {{ $incid->phone ?? '-' }} {{ $incid->date ?? '-' }} {{ $incid->time ?? '-' }} {{ $incid->location ?? '-' }} {{ $incid->description ?? '-' }} {{ $incid->status ?? '-' }}
@php $num = 1; @endphp {{-- @endforeach --}}
S.No Description Media created_at
{{-- @foreach ($user->nannyBookings as $Cusdevices) --}} {{-- @foreach ($user->devices as $Cusdevices) @endforeach --}}
Device Type Device Brand Device os App Version is notify udid
{{ $Cusdevices->device_type }} {{ $Cusdevices->device_brand }} {{ $Cusdevices->device_os }} {{ $Cusdevices->app_version }} @if ($Cusdevices->is_notify == 0)

Pending

@else

Notified

@endif
{{ $Cusdevices->udid }}
{{-- Custom pagination --}} @endsection {{-- tr id="meal_id" td td td td td data-id="meal_id onclick="delete()" tr jquery( var id = data.val(); ajax( success:{ if(result = true){ $('table#test tr#3').remove(); } } ) ) --}}