@extends("template.layouts.simple.master") @section('content')
@include("master.notification")
@foreach($details as $d) @php $date1 = \Carbon\Carbon::parse($d->custom_date); $custom_date = $date1->format("d-m-Y"); $date2 = \Carbon\Carbon::parse($d->actual_date); $actual_date = $date2->format("d-m-Y"); @endphp @endforeach
Sno Name Custom Date Custom Time Description Entry Date Entry Time Action
{{$loop->iteration}}. {{$d->getUser->name}} {{$custom_date}} {{$d->custom_time}} {{$d->description}} {{$actual_date}} {{$d->actual_time}} @if($d->approved_status == 1)
Approved
@elseif($d->approved_status == 2)
Rejected
@else @can("approve and reject custom mark-in and mark-out") $d->id , "status" =>1])}}"> $d->id , "status" =>2])}}"> @else
Pending
@endcan @endif
@endsection {{--@include("")--}} @section("scripts") @include("master.notification_show_hide") @endsection