@extends('layouts.app')
@push('datatable-styles')
@include('sections.datatable_css')
@endpush
@section('filter-section')
@include('leads.filters')
@endsection
@php
$addLeadPermission = user()->permission('add_lead');
$addLeadCustomFormPermission = user()->permission('manage_lead_custom_forms');
@endphp
@section('content')
@if ($addLeadPermission == 'all' || $addLeadPermission == 'added')
@lang('app.addLead')
@endif
@if ($addLeadCustomFormPermission == 'all')
@lang('modules.lead.leadForm')
@endif
@if ($addLeadPermission == 'all' || $addLeadPermission == 'added')
@lang('app.importExcel')
@endif
{!! $dataTable->table(['class' => 'table table-hover border-0 w-100']) !!}
@endsection
@push('scripts')
@include('sections.datatable_js')
@endpush