@php $viewLeadAgentPermission = user()->permission('view_lead_agents'); $viewLeadCategoryPermission = user()->permission('view_lead_category'); $viewLeadSourcesPermission = user()->permission('view_lead_sources'); $addLeadAgentPermission = user()->permission('add_lead_agent'); $addLeadSourcesPermission = user()->permission('add_lead_sources'); $addLeadCategoryPermission = user()->permission('add_lead_category'); $addLeadNotePermission = user()->permission('add_lead_note'); $addProductPermission = user()->permission('add_product'); @endphp

@lang('modules.lead.leadDetails')

@foreach ($salutations as $salutation) @endforeach
@if ($viewLeadAgentPermission != 'none')
@if ($addLeadAgentPermission == 'all' || $addLeadAgentPermission == 'added') @endif
@elseif(in_array(user()->id, $leadAgentArray)) @endif @if ($viewLeadSourcesPermission != 'none')
@if ($addLeadSourcesPermission == 'all' || $addLeadSourcesPermission == 'added') @endif
@endif @if ($viewLeadCategoryPermission != 'none')
@if ($addLeadCategoryPermission == 'all' || $addLeadCategoryPermission == 'added') @endif
@endif
{{company()->currency->currency_code }} ( {{ company()->currency->currency_symbol }} )
@foreach ($status as $sts) @endforeach
@if(in_array('products', user_modules()) || in_array('purchase', user_modules()))
@if ($addProductPermission == 'all' || $addProductPermission == 'added') @lang('app.add') @endif
@endif @if ($addLeadNotePermission == 'all' || $addLeadNotePermission == 'added' || $addLeadNotePermission == 'both')
@endif

@lang('modules.client.companyDetails')

@foreach ($countries as $item) @endforeach
@lang('app.save') @lang('app.saveAddMore') @lang('app.cancel')