Total
: {{ $leads->total() }}
@if(\Illuminate\Support\Facades\Auth::user()->alphaRole ==\App\managers\UserManager::AlphaRoleSuper)
@endif
{!! \App\helpers\ViewCommonHelper::headerExportButton() !!}
@endsection
@section('content')
Name | Phone | Source/Status | Reasons | Comment | Created | |
---|---|---|---|---|---|---|
{!! $lead->id !!} {!! $lead->name !!} | {{$lead->phone}} | {{$lead->email}} |
@if($lead->createdByName)
{{$lead->createdByName}} @else{{$lead->type}} @endif{{$lead->status}} |
@if(!empty($lead->reasonTitle))
{{$lead->reasonTitle}} @endif |
@if(!empty($lead->mealPlanTitle))
{{$lead->mealPlanTitle}} @endif @if($lead->quote){{$lead->quote}} @endif @if($lead->comments) @foreach(\App\helpers\ViewCommonHelper::getArrayOfCsv($lead->comments) as $comment){{$comment}} @endforeach @endif |
{{\App\helpers\ViewCommonHelper::getDateFormat($lead->created_at,1)}} id)}}" data-modal-id="add-comment-modal-{{$lead->id}}"> |