@extends('layouts.app') @section('title', __('crm::lang.lead')) @section('content') @include('crm::layouts.nav')

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

@component('components.filters', ['title' => __('report.filters')])
{!! Form::label('source', __('crm::lang.source') . ':') !!} {!! Form::select('source', $sources, null, ['class' => 'form-control select2', 'id' => 'source', 'placeholder' => __('messages.all')]); !!}
@if($lead_view != 'kanban')
{!! Form::label('life_stage', __('crm::lang.life_stage') . ':') !!} {!! Form::select('life_stage', $life_stages, null, ['class' => 'form-control select2', 'id' => 'life_stage', 'placeholder' => __('messages.all')]); !!}
@endif @if(count($users) > 0)
{!! Form::label('user_id', __('lang_v1.assigned_to') . ':') !!} {!! Form::select('user_id', $users, null, ['class' => 'form-control select2', 'id' => 'user_id', 'placeholder' => __('messages.all')]); !!}
@endif
@endcomponent @component('components.widget', ['class' => 'box-primary', 'title' => __('crm::lang.all_leads')]) @slot('tool')
@endslot @if($lead_view == 'list_view') @php $custom_labels = json_decode(session('business.custom_labels'), true); @endphp
@lang('messages.action') @lang('lang_v1.contact_id') @lang('contact.name') @lang('contact.mobile') @lang('business.email') @lang('crm::lang.source') @lang('crm::lang.last_follow_up') @lang('crm::lang.upcoming_follow_up') @lang('crm::lang.life_stage') @lang('lang_v1.assigned_to') @lang('business.address') @lang('contact.tax_no') @lang('lang_v1.added_on') {{ $custom_labels['contact']['custom_field_1'] ?? __('lang_v1.contact_custom_field1') }} {{ $custom_labels['contact']['custom_field_2'] ?? __('lang_v1.contact_custom_field2') }} {{ $custom_labels['contact']['custom_field_3'] ?? __('lang_v1.contact_custom_field3') }} {{ $custom_labels['contact']['custom_field_4'] ?? __('lang_v1.contact_custom_field4') }} {{ $custom_labels['contact']['custom_field_5'] ?? __('lang_v1.custom_field', ['number' => 5]) }} {{ $custom_labels['contact']['custom_field_6'] ?? __('lang_v1.custom_field', ['number' => 6]) }} {{ $custom_labels['contact']['custom_field_7'] ?? __('lang_v1.custom_field', ['number' => 7]) }} {{ $custom_labels['contact']['custom_field_8'] ?? __('lang_v1.custom_field', ['number' => 8]) }} {{ $custom_labels['contact']['custom_field_9'] ?? __('lang_v1.custom_field', ['number' => 9]) }} {{ $custom_labels['contact']['custom_field_10'] ?? __('lang_v1.custom_field', ['number' => 10]) }}
@endif @if($lead_view == 'kanban')
@endif @endcomponent
@endsection @section('javascript') @endsection