@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')) !!}
{!! Form::text('customers_lastname', $data['customers'][0]->customers_lastname, array('class'=>'form-control field-validate', 'id'=>'customers_lastname')) !!}
{!! Form::file('newImage', array('id'=>'newImage' , 'class'=>'form-control')) !!} {{ 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))
@endif {!! 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]->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 email-validate', 'id'=>'customers_email_address')) !!}
{{ trans('labels.StatusText') }}