{!! Form::open([ 'method' => 'post', 'url' => '/admin/presale-salesmans/edit/'. $customer->customer_id ]) !!}
@csrf
{!! Form::label('Phone Number') !!}
{!! Form::text('phone', $customer->phone , ['class' => 'form-control', 'readonly' => 'readonly', 'required'=> 'required', 'placeholder' => 'Phone Number 10 digit without first 0']) !!}
@if ($errors->has('phone')){!! $errors->first('phone') !!}@endif
{!! Form::label('Password') !!}
{!! Form::text('password', null , ['class' => 'form-control', 'placeholder' => 'Enter Password']) !!}
{!! Form::label('Location') !!}
{!! Form::select('location_id', $locations, $customer->location_id, ['id' => 'location_id', 'class'=> 'form-control']) !!}
@if ($errors->has('location_id'))
{!! $errors->first('location_id') !!}
@endif
{!! Form::close() !!}