@extends('layouts.admin') @section('content')
Client Info
DISPLAY NAME

{{ $data->name }}

MOBILE NUMBER

+65{{ $data->mobile_number }}

WHATSAPP NUMBER

+65{{ $data->mobile_number }}

EMAIL ADDRESS

{{ $data->email }}

{{--
--}}
NOTES

{{ $data->note ?? 'Click to add notes about your client...' }}

Timeline
 
 
 
 
@foreach ($data->activity()->latest()->get() as $k => $item)
@if ($item->type == 'add')
 
 
 
 
@elseif ($item->type == 'message')
 
 
@if ((isset($item->message_template_id) && !empty($item->message_template_id)))
@else
@endif
 
 
@elseif ($item->type == 'email')
 
 
@if ((isset($item->email_template_id) && !empty($item->email_template_id)))
@else
@endif
 
 
@elseif ($item->type == 'phone')
 
 
 
 
@elseif ($item->type == 'meeting')
 
 
 
 
@elseif ($item->type == 'note')
 
 
 
 
@endif
{{ $item->title }}
@if ($item->type !== 'add') @endif
{{ $item->created_at->format('M d, Y h:i a') }}
{{ Str::limit($item->description, 100, '...') }}
@endforeach
@endsection @section('page-scripts') @endsection