{{ trans('labels.EditCustomers') }}
@if(count($data['message'])>0)
{{ $data['message'] }}
@endif
@if(count($data['errorMessage'])>0)
{{ $data['errorMessage'] }}
@endif
@if(in_array("Edit",$Customers ))
{!! Form::open(array('url' =>'admin/update-customers', 'method'=>'post', 'class' => 'form-horizontal', 'id' => 'updateCustomers', 'enctype'=>'multipart/form-data')) !!}
{!! Form::hidden('customers_id', $data['customers'][0]->customers_id, array('class'=>'form-control', 'id'=>'customers_id')) !!}
{!! Form::close() !!}
@else
{!! Form::text('customers_firstname', $data['customers'][0]->customers_firstname, array('class'=>'form-control', 'id'=>'customers_firstname', 'required'=>'required')) !!}
{!! Form::text('customers_lastname', $data['customers'][0]->customers_lastname, array('class'=>'form-control', 'id'=>'customers_lastname', 'required'=>'required')) !!}
{!! Form::file('newImage', array('id'=>'newImage', 'class'=>'form-control')) !!}
{!! Form::hidden('oldImage', $data['customers'][0]->customers_picture, array('id'=>'oldImage')) !!} @if(!empty($data['customers'][0]->customers_picture))
@else
@endif
{!! Form::hidden('oldImage', $data['customers'][0]->customers_picture, array('id'=>'oldImage')) !!} @if(!empty($data['customers'][0]->customers_picture))
.'/resources/assets/images/default_images/user.png' }})
{!! Form::text('customers_dob', $data['customers'][0]->customers_dob, array('class'=>'form-control datepicker' , 'id'=>'customers_dob', 'required'=>'required')) !!}
{!! Form::text('customers_telephone', $data['customers'][0]->customers_telephone, array('class'=>'form-control', 'id'=>'customers_telephone', 'required'=>'required')) !!}
{!! Form::text('alternate_mobile', $data['customers'][0]->alternate_mobile, array('class'=>'form-control', 'id'=>'alternate_mobile')) !!}
{!! Form::text('customers_fax', $data['customers'][0]->customers_fax, array('class'=>'form-control', 'id'=>'customers_fax')) !!}
{!! Form::hidden('old_email_address', $data['customers'][0]->customers_email_address, array('class'=>'form-control', 'id'=>'old_email_address')) !!}
{!! Form::email('customers_email_address', $data['customers'][0]->customers_email_address, array('class'=>'form-control', 'id'=>'customers_email_address', 'required'=>'required')) !!}
Please contact with SuperAdmin
@endif