@if( count((array) $errors) > 0)
@foreach($errors->all() as $error)
@endif
@if(session()->has('error'))
@endif
{{ trans('labels.Error') }}:
{{ $error }}
@endforeach
@endif
@if(session()->has('message'))
{{ trans('labels.Successlabel') }}
{{ session()->get('message') }}{{ trans('labels.WarningLabel') }}
{{ session()->get('error') }}
@if(in_array("Edit",$Leads ))
{!! Form::open(array('url' =>'admin/update-leads-data', 'method'=>'post', 'class' => 'form-horizontal', 'id' => 'updateLeadsData', 'enctype'=>'multipart/form-data')) !!}
@if(count((array) $result['leadsData']['comments_data'])>0)
@endif
@endforeach
@endif
@if(count((array) $result['getCustomlog'])>0)
{!! Form::close() !!}
@else
Customer Information
{!! Form::text('customers_firstname', $result['leadsData']['customers']->customers_firstname, array('class'=>'form-control', 'id'=>'customers_firstname', 'required'=>'required')) !!}
{!! Form::text('customers_lastname', $result['leadsData']['customers']->customers_lastname, array('class'=>'form-control', 'id'=>'customers_lastname', 'required'=>'required')) !!}
{!! Form::text('customers_email_address', $result['leadsData']['customers']->customers_email_address, array('class'=>'form-control', 'id'=>'customers_email_address')) !!}
{!! Form::checkbox('whatspp_available_for_telephone', '1', $whatspp_available_for_telephone , array( 'id'=>'whatspp_available_for_telephone')) !!}
{!! Form::text('customers_telephone', $result['leadsData']['customers']->customers_telephone, array('class'=>'form-control', 'id'=>'customers_telephone', 'required'=>'required', 'minlength'=>'9', 'maxlength'=>'12')) !!}
{!! Form::checkbox('whatspp_available_for_alt_phone','1',$whatspp_available_for_alt_phone, array( 'id'=>'whatspp_available_for_alt_phone')) !!}
{!! Form::text('alternate_mobile', $result['leadsData']['customers']->alternate_mobile, array('class'=>'form-control', 'id'=>'alternate_mobile', 'minlength'=>'9', 'maxlength'=>'12')) !!}
{!! Form::text('quantity', $result['leadsData']->quantity, array('class'=>'form-control', 'id'=>'quantity', 'required'=>'required')) !!}
{!! Form::text('custom_price', $result['leadsData']->custom_price, array('class'=>'form-control', 'id'=>'custom_price')) !!}
Verification Information
@if($i == 0)
@endif
@if($i == 0)
@endif
{!! Form::text('source_of_call', $result['leadsData']->source_of_call, array('class'=>'form-control', 'id'=>'source_of_call', 'readonly'=>'readonly')) !!}
{!! Form::text('transaction_id', $tans_ids[$i], array('class'=>'form-control', 'id'=>'transaction_id', 'readonly'=>'readonly')) !!}
@if($i == 0)
@endif
Address Information
{!! Form::text('primary_address', $result['leadsData']->primary_address, array('class'=>'form-control', 'id'=>'primary_address', 'required'=>'required', 'maxlength'=>'35', 'minlength'=>'1')) !!}
{!! Form::text('primary_address2', $result['leadsData']->primary_address2, array('class'=>'form-control', 'id'=>'primary_address2', 'maxlength'=>'35', 'minlength'=>'1')) !!}
p_country == 'others') required="" @endif>
@if (empty($result['leadsData']->p_country) && $result['leadsData']->p_country != 'others')
{!! Form::text('p_city', $result['leadsData']->p_city, array('class'=>'form-control', 'id'=>'p_city', 'required'=>'required')) !!}
@else
{!! Form::text('p_city', $result['leadsData']->p_city, array('class'=>'form-control', 'id'=>'p_city')) !!}
@endif
@if (empty($result['leadsData']->p_country) && $result['leadsData']->p_country != 'others')
{!! Form::text('p_postal_code', $result['leadsData']->p_postal_code, array('class'=>'form-control', 'id'=>'p_postal_code', 'maxlength'=>$p_maxlength, 'minlength'=>$p_minlength)) !!}
@else
{!! Form::text('p_postal_code', $result['leadsData']->p_postal_code, array('class'=>'form-control', 'id'=>'p_postal_code')) !!}
@endif
{!! Form::text('other_address', $result['leadsData']->other_address, array('class'=>'form-control', 'id'=>'other_address', 'required'=>'required', 'maxlength'=>'35', 'minlength'=>'1')) !!}
{!! Form::text('other_address2', $result['leadsData']->other_address2, array('class'=>'form-control', 'id'=>'other_address2', 'maxlength'=>'35', 'minlength'=>'1')) !!}
o_country == 'others') required="" @endif>
@if (empty($result['leadsData']->o_country) && $result['leadsData']->o_country != 'others')
{!! Form::text('o_city', $result['leadsData']->o_city, array('class'=>'form-control', 'id'=>'o_city', 'required'=>'required')) !!}
@else
{!! Form::text('o_city', $result['leadsData']->o_city, array('class'=>'form-control', 'id'=>'o_city')) !!}
@endif
@if (empty($result['leadsData']->o_country) && $result['leadsData']->o_country != 'others')
{!! Form::text('o_postal_code', $result['leadsData']->o_postal_code, array('class'=>'form-control', 'id'=>'o_postal_code', 'maxlength'=>$o_maxlength, 'minlength'=>$o_minlength)) !!}
@else
{!! Form::text('o_postal_code', $result['leadsData']->o_postal_code, array('class'=>'form-control', 'id'=>'o_postal_code')) !!}
@endif
Other Information
{!! Form::textarea('comments', '', array('class'=>'form-control', 'id'=>'comments', 'rows'=>'3', 'cols'=>'10')) !!}
Notes
@foreach ($result['leadsData']['comments_data'] as $cmVal)
@if(!empty($cmVal->description))
{!!nl2br($string)!!}
History Logs
@foreach ($result['getCustomlog'] as $cmVal)
@if(!empty($cmVal->all_logs_manage_first_name))
{{$cmVal->all_logs_manage_first_name}} {{$cmVal->all_logs_manage_last_name}} changed {{$cmVal->name}} @if(!empty($cmVal->old_values)) {{$cmVal->old_values}} @else -- @endif to {{$cmVal->new_values}} on {{date('d/m/Y H:i:s', strtotime($cmVal->created_at))}}
@endif
@endforeach
@endif
Please contact with SuperAdmin
@endif