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

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

@component('components.filters', ['title' => __('report.filters')])
{!! Form::label('contact_id_filter', __('contact.contact') . ':') !!} {!! Form::select('contact_id_filter', $contacts, null, ['class' => 'form-control select2', 'id' => 'contact_id_filter', 'placeholder' => __('messages.all')]); !!}
@if(auth()->user()->can('crm.access_all_schedule'))
{!! Form::label('assgined_to_filter', __('crm::lang.assgined') . ':') !!} {!! Form::select('assgined_to_filter', $assigned_to, $default_user, ['class' => 'form-control select2', 'id' => 'assgined_to_filter', 'placeholder' => __('messages.all')]); !!}
@endif
{!! Form::label('status_filter', __('sale.status') . ':') !!} {!! Form::select('status_filter', $statuses, $default_status, ['class' => 'form-control select2', 'id' => 'status_filter', 'placeholder' => __('messages.all')]); !!}
{!! Form::label('schedule_type_filter', __('crm::lang.schedule_type') . ':') !!} {!! Form::select('schedule_type_filter', $follow_up_types, null, ['class' => 'form-control select2', 'id' => 'schedule_type_filter', 'placeholder' => __('messages.all')]); !!}
{!! Form::label('follow_up_date_range', __('report.date_range') . ':') !!} {!! Form::text('follow_up_date_range', null, ['placeholder' => __('lang_v1.select_a_date_range'), 'class' => 'form-control', 'readonly']); !!}
{!! Form::label('follow_up_by_filter', __('crm::lang.follow_up_by') . ':') !!} {!! Form::select('follow_up_by_filter', ['payment_status' => __('sale.payment_status'), 'orders' => __('restaurant.orders')], null, ['class' => 'form-control select2', 'id' => 'follow_up_by_filter', 'placeholder' => __('messages.all')]); !!}
{!! Form::label('followup_category_id_filter', __('crm::lang.followup_category') . ':') !!} {!! Form::select('followup_category_id_filter', $followup_category, $default_followup_category_id, ['class' => 'form-control select2', 'id' => 'followup_category_id_filter', 'placeholder' => __('messages.all')]); !!}
@endcomponent
@component('components.widget', ['class' => 'box box-solid', 'title' => __('crm::lang.all_schedules')]) @slot('tool')
@endslot
@endcomponent
@include('crm::schedule.partial.advance_followup_modal') @endsection @section('javascript') @endsection