@extends('admin.admin_dashboard') @section('admin')

Add Lead

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
Contacted By
{{-- Add Lead --}} @foreach ($data->getPurchaseDetails as $key => $associate) @endforeach {{-- @if (count($data->getPurchaseDetails) > 0)
Contacted By
Name Associate Profile Status Message Date

Name : {{$associate->user['name'] ?? '-'}}

Email : {{$associate->user['email'] ?? '-'}}

Phone : {{$associate->user['mobile'] ?? '-'}}

@if ($associate->user->associate()->exists()) View Profile @endif @if ($associate['status'] == 'pending') Pending @elseif($associate['status'] == 'approved') Approved @elseif($associate['status'] == 'rejected') Rejected @else Pending @endif {{$associate['message']}} {{date('d M, Y', strtotime($associate->created_at)); }}
@foreach ($data->getPurchaseDetails as $associate) @endforeach
Name Associate Profile Status Message
@endif --}}
@endsection