Dear Master Admin,

@if($weekCertificates->isNotEmpty()) The following certificates are going to be expired within a week:
@foreach($weekCertificates as $pdf) @endforeach
# Title Company Category Sub Category Expires at
{{$loop->iteration}} {{$pdf->title}} {{$pdf->company->title}} {{$pdf->category->title}} {{$pdf->subCategory->title}} {{$pdf->expires_at->setTimezone('Africa/Cairo')->format('d M Y \a\t h:i a')}}


@endif @if($monthCertificates->isNotEmpty()) The following certificates are going to be expired within a Month:
@foreach($monthCertificates as $pdf) @endforeach
# Title Company Category Sub Category Expires at
{{$loop->iteration}} {{$pdf->title}} {{$pdf->company->title}} {{$pdf->category->title}} {{$pdf->subCategory->title}} {{$pdf->expires_at->setTimezone('Africa/Cairo')->format('d M Y \a\t h:i a')}}


@endif Best Regards,
{{ config('app.name') }}