@extends('Users.app') @section('content')
Import Gradding Data
@csrf
Reset
@foreach($getrecord as $value) @php $id = $value->source == 'Chilly' ? 'C-' . $value->id : 'B-' . $value->id; if(optional($value->latestCallTracker)->followup_status != ''){ $color = "blanchedalmond"; } else{ $color = ""; } @endphp @endforeach
S. No. Name Country email Cr. Date Phone Brand Stage Status Last Followup Next Followup
{{ $id }} {{ $value->name }} {{ $value->country }} {{ \Carbon\Carbon::parse($value->created_at)->format('d M Y') }} {{ $value->phone ? 'xxxxxxxxxx' : $value->phone}} {{ $value->web_sort_name }} {{ $value->stage }} {{ optional($value->latestCallTracker)->followup_status }} {{ optional($value->latestCallTracker)->follow_up_time ? \Carbon\Carbon::parse($value->latestCallTracker->follow_up_time)->format('d M Y') : 'Not Followed' }} {{ optional($value->latestCallTracker)->follow_up_time ? \Carbon\Carbon::parse($value->latestCallTracker->next_followup_time)->format('d M Y') : 'Not Followed' }}
@endsection