{{ trans('labels.EditCustomers') }}
@if(count($data['message'])>0)
{{ $data['message'] }}
@endif
@if(count($data['errorMessage'])>0)
{{ $data['errorMessage'] }}
@endif
{!! Form::open(array('url' =>'admin/updatecustomers', 'method'=>'post', 'class' => 'form-horizontal form-validate', 'enctype'=>'multipart/form-data')) !!}
{!! Form::hidden('customers_id', $data['customers'][0]->customers_id, array('class'=>'form-control', 'id'=>'customers_id')) !!}
{!! Form::close() !!}
{!! Form::text('customers_firstname', $data['customers'][0]->customers_firstname, array('class'=>'form-control field-validate', 'id'=>'customers_firstname')) !!}
{{ trans('labels.FirstNameText') }}
{!! Form::text('customers_lastname', $data['customers'][0]->customers_lastname, array('class'=>'form-control field-validate', 'id'=>'customers_lastname')) !!}
{{ trans('labels.lastNameText') }}
{!! Form::file('newImage', array('id'=>'newImage')) !!}
{{ trans('labels.PictureText') }}
{!! 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')) !!}
{{ trans('labels.DOBText') }}
{!! Form::text('customers_telephone', $data['customers'][0]->customers_telephone, array('class'=>'form-control', 'id'=>'customers_telephone')) !!}
{{ trans('labels.TelephoneText') }}
{!! Form::text('customers_fax', $data['customers'][0]->customers_fax, array('class'=>'form-control', 'id'=>'customers_fax')) !!}
{{ trans('labels.FaxText') }}
{!! Form::hidden('old_email_address', $data['customers'][0]->email, array('class'=>'form-control', 'id'=>'old_email_address')) !!}
{!! Form::email('email', $data['customers'][0]->email, array('class'=>'form-control email-validate', 'id'=>'email')) !!}
{{ trans('labels.EmailText') }}
{!! Form::checkbox('changePassword', 'yes', null, ['class' => '', 'id'=>'change-passowrd']) !!}
{!! Form::password('password', array('class'=>'form-control ', 'id'=>'password')) !!}
{{ trans('labels.PasswordText') }}
{{ trans('labels.StatusText') }}