@extends('layouts/contentNavbarLayout') @section('title', 'Zillion - CRM') @section('content')

Add Follow-up for {{ $contact->name }}

State: {{ $contact->stateModel->name ?? 'N/A' }}

District: {{ $contact->districtModel->name ?? 'N/A' }}

Industry: {{ $contact->industryModel->page_name ?? 'N/A' }}
Solution: {{ $contact->solutionModel->page_name ?? 'N/A' }}

{{--
Add New
--}}
@csrf @foreach ($columns as $column) @if ($column === 'file')
@elseif ($column === 'created_at' || $column === 'updated_at' || $column === 'id' || $column === 'contact_id') @elseif ($column === 'next_follow_up_date')
@elseif ($column === 'status')
@elseif ($column === 'notes')
@else
@endif @endforeach
Activity Timeline
    @foreach($contact->followUps->sortBy('next_follow_up_date') as $followUp) @php // Check if the follow-up date is in the past $isPastDue = \Carbon\Carbon::parse($followUp->next_follow_up_date)->isPast(); @endphp
  • {{ $followUp->title }}
    {{ $followUp->next_follow_up_date }}

    Status : {{ $followUp->crmstatusmodal->name }}

    {{ $followUp->notes }}

    @if($followUp->file) @endif
  • @endforeach
@endsection