{{ $phone->mobile_number }} @if(!empty($phone->contact_name)) — {{ $phone->contact_name }} @endif

@lang('sale.status'): {{ $statuses[$phone->status] ?? $phone->status }}

@lang('crm::lang.follow_up_count'): {{ $phone->follow_up_count }}

@lang('crm::lang.assgined'): {{ $phone->assignedUser?->user_full_name ?? '-' }}

@if(!empty($phone->last_follow_up_at))

@lang('crm::lang.last_follow_up'): @format_datetime($phone->last_follow_up_at)

@endif
@if(!empty($phone->notes))

@lang('crm::lang.description'): {{ $phone->notes }}

@endif @if(!empty($phone->lead_id))

@lang('crm::lang.view_lead')

@endif

@lang('crm::lang.follow_up_history')

@if($phone->logs->count() > 0) @foreach($phone->logs as $log) @endforeach
@lang('lang_v1.date') @lang('sale.status') @lang('crm::lang.description') @lang('business.created_by')
@format_datetime($log->created_at) {{ $statuses[$log->status] ?? $log->status }} @if(!empty($log->is_auto)) @lang('crm::lang.auto') @endif {{ $log->note }} {{ $log->createdBy?->user_full_name }}
@else

@lang('crm::lang.no_log_found')

@endif @if(config('constants.enable_crm_call_log'))

@lang('crm::lang.mobile_call_logs')

@if(isset($call_logs) && $call_logs->count() > 0) @foreach($call_logs as $call_log) @endforeach
@lang('restaurant.start_time') @lang('restaurant.end_time') @lang('crm::lang.call_duration') @lang('crm::lang.call_type')
@format_datetime($call_log->start_time) @format_datetime($call_log->end_time) @if(!empty($call_log->duration)) {{ \Carbon\CarbonInterval::seconds($call_log->duration)->cascade()->forHumans() }} @else - @endif {{ $call_log->call_type }}
@else

@lang('crm::lang.no_mobile_call_logs')

@endif @endif