@extends('layouts.default') @section('title', 'Consultant call list') @section('new_button')
add Add lead

call Add lead

clear
{{ Form::selectGroup('consultant_id', 'Consultant', $consultants, null, ['id'=>'consultant', 'required'=>'required', 'data-live-search'=>'true']) }} {!! Form::emailGroup('email', 'Email', '', ['id'=>'email','disabled'=>'disabled']) !!} {!! Form::textGroup('mobile', 'Mobile', '', ['id'=>'mobile','disabled']) !!} {{ Form::selectGroup('call_status', 'Call Status', $call_statues, null, ['id'=>'call_status', 'required'=>'required']) }}
{{ Form::textGroup('callback_date', 'Callback Date', '', ['id' => 'callback_date', 'class' => 'form-control', 'data-inputmask' => '\'alias\': \'yyyy-mm-dd\'']) }}
{!! Form::textareaGroup('comments', 'Comments', '', ['id'=>'', 'required'=>'required']) !!}
{{ csrf_field()}}
@endsection @section('content')
@foreach($list as $call) @endforeach
Consultant Name Status Comments Call On Action
{{ ucwords($call->consultant->name) }} {{ ucwords(str_replace('_', ' ', $call->call_status)) }} {{ ucwords($call->comments) }} @if($call->call_status == 'call_me_later') {{ \Carbon\Carbon::parse($call->callback_date)->format(env('APP_DATE')) }} @endif {{-- create --}} mail
@include('includes.new-comment') @include('includes.new-mail') {{-- To Add Comment Script --}} {{-- Required Page JS Script --}} @include('includes.datepicker') @stop