{!! Form::open(['method' => 'PUT','url' => '/admin/branch-pickup-locations/edit/'. $branchPickupLocationDetail->id, 'enctype' => 'multipart/form-data']) !!}
{!! Form::label('Branch Name') !!}
{!! Form::text('branch_name', $branchPickupLocationDetail->branch_name , ['class' => 'form-control', 'placeholder' => 'Branch Name', 'id' => 'branch_name']) !!}
@if ($errors->has('branch_name'))
{!! $errors->first('brand_name') !!}@endif
{!! Form::label('Street') !!}
{!! Form::text('street', $branchPickupLocationDetail->street, ['class' => 'form-control', 'placeholder' => 'Street', 'id' => 'street']) !!}
@if ($errors->has('street'))
{!! $errors->first('street') !!}@endif
{!! Form::label('Region') !!}
{!! Form::text('region', $branchPickupLocationDetail->region , ['class' => 'form-control', 'placeholder' => 'Region']) !!}
@if ($errors->has('region'))
{!! $errors->first('region') !!}@endif
{!! Form::label('Postal Code') !!}
{!! Form::text('postal_code', $branchPickupLocationDetail->postal_code, ['class' => 'form-control', 'placeholder' => 'Postal Code']) !!}
@if ($errors->has('postal_code'))
{!! $errors->first('postal_code') !!}@endif
{!! Form::label('Telephone') !!}
{!! Form::text('telephone', $branchPickupLocationDetail->telephone, ['class' => 'form-control', 'placeholder' => 'Telephone']) !!}
@if ($errors->has('telephone'))
{!! $errors->first('telephone') !!}@endif
{!! Form::label('Opening Hour') !!}
{!! Form::text('opening_hour', $branchPickupLocationDetail->opening_hour, ['class' => 'form-control', 'placeholder' => 'Opening Hour']) !!}
@if ($errors->has('opening_hour'))
{!! $errors->first('opening_hour') !!}@endif
{!! Form::label('Closing Hour') !!}
{!! Form::text('closing_hour', $branchPickupLocationDetail->closing_hour, ['class' => 'form-control', 'placeholder' => 'Closing Hour']) !!}
@if ($errors->has('closing_hour'))
{!! $errors->first('closing_hour') !!}@endif
{!! Form::label('Location Map(Embed)') !!}
{!! Form::text('location_map', $branchPickupLocationDetail->location_map, ['class' => 'form-control', 'placeholder' => 'Location Map']) !!}
@if ($errors->has('location_map'))
{!! $errors->first('location_map') !!}@endif
{!! Form::label('Details') !!}
{!! Form::textarea('details', $branchPickupLocationDetail->details, ['class' => 'form-control', 'rows'=> 3, 'placeholder' => 'Details']) !!}
@if ($errors->has('details'))
{!! $errors->first('details') !!}@endif
{!! Form::label('Branch Position') !!}
{!! Form::select('show_position', $branch_position, $branchPickupLocationDetail->show_position, ['class' => 'form-control item_type_select2', 'placeholder' => 'Select branch position', 'id' => 'branch_position']) !!}
@if ($errors->has('branch_position'))
{!! $errors->first('branch_position') !!}@endif
{!! Form::label('Status') !!}
{!! Form::select('status', ['active' => 'Active', 'inactive' => 'Inactive'], $branchPickupLocationDetail->status, ['class' => 'form-control']) !!}
{!! Form::close() !!}