@vite('resources/css/app.css') @include('sidebar.users_sidebar')
@if ($errors->any())
{{ $errors->first('error') }}
@endif
wallet

Total Client: {{$clienttotalcount}}

To be Created Graphic: {{$graphictotalcount}}

To be Created Content: {{$contenttotalcount}}

@foreach($content as $cont) @php $endDate = \Carbon\Carbon::parse($cont->end_date); $fiveDaysFromNow = now()->addDays(5); $rowClass1 = ''; $rowClass = ''; $rowClass2 = ''; // Determine the row class based on conditions if ($endDate->lte($fiveDaysFromNow)) { $rowClass2 = 'bg-red-400'; } if ($cont->graphic_status === 'To be created') { $rowClass1 = 'text-blue-500'; } if ($cont->content_status === 'To be created') { $rowClass = 'text-blue-500'; } if ($cont->graphic_status === 'Completed') { $rowClass1 = 'text-green-500'; } if ($cont->content_status === 'Completed') { $rowClass = 'text-green-500'; } @endphp @endforeach

Graphic Content

Content Staus

Graphic Status

{{$cont->client_name}} @if ($endDate->isPast())
The End Date has Already Passed.
@elseif ($endDate->lte($fiveDaysFromNow))
The Deadline is Rapidly Approaching.
@endif

{{$cont->content_status}}

{{$cont->graphic_status}}

@include('SMM.SMMAdmin.addcontentmodal')