@extends('admin.layouts.app') @section('content')
@if ($view == 'all')

All AI Tool List ({{ $counts->all }})

@elseif ($view == 'emailed')

Emailed AI Tool List ({{ $counts->emailed }})

@elseif ($view == 'not_emailed')

Not Emailed AI Tool List ({{ $counts->not_emailed }})

@endif

Please do not share this list to others.

All AI Tools ({{ $counts->all }}) Emailed ({{ $counts->emailed }}) Not Emailed ({{ $counts->not_emailed }})
@if ($ai_tool_list->count() > 0) @foreach ($ai_tool_list as $ai_tool)
{{ $ai_tool->tool_name }}
ID: {{ $ai_tool->id }}
Added: {{ $ai_tool->created_at->toDateTimeString() }}
@if ($ai_tool->has_emailed)
Already emailed
{{ $ai_tool->email }}
@else
Not yet emailed
@csrf
@endif
@endforeach @else

No records found.

@endif
@endsection