@php $addLeadFollowUpPermission = user()->permission('add_lead_follow_up'); $viewLeadFollowUpPermission = user()->permission('view_lead_follow_up'); $editLeadFollowUpPermission = user()->permission('edit_lead_follow_up'); $deleteLeadFollowUpPermission = user()->permission('delete_lead_follow_up'); @endphp
@if (($addLeadFollowUpPermission == 'all' || $addLeadFollowUpPermission == 'added') && $lead->next_follow_up == 'yes') @lang('modules.followup.newFollowUp') @endif @if ($viewLeadFollowUpPermission == 'all' || $viewLeadFollowUpPermission == 'added') # @lang('app.createdOn') @lang('modules.lead.nextFollowUp') @lang('app.remark') @lang('app.action') @forelse($lead->follow as $key => $follow) {{ $key + 1 }} {{ $follow->created_at->timezone(global_setting()->timezone)->format(global_setting()->date_format . ' ' . global_setting()->time_format) }} {{ $follow->next_follow_up_date->format(global_setting()->date_format . ' ' . global_setting()->time_format) }} {!! $follow->remark != '' ? ucfirst(nl2br($follow->remark)) : '--' !!}
@empty @endforelse
@endif