@extends('layouts.master') @section('page_title') @if(isset($page_title)) {{ $page_title }} @endif @endsection @section('content')
Update Branch Offices @include('commons.notifications')
{{-- start of content --}}

{!! Form::model($officelocation, [ 'method' => 'PATCH', 'files' => 'true', 'url' => ['officelocations', $officelocation], 'class' => 'form-horizontal form-label-left' ]) !!}
{!! Form::text('street_name', old('street_name'), ['class' => 'form-control col-md-7 col-xs-12', 'placeholder'=>'Enter Street Name' , 'id' => 'streetName']) !!} {!! $errors->first('street_name', '

:message

') !!}
{!! Form::text('physical_address', old('physical_address'), ['class' => 'form-control col-md-7 col-xs-12', 'placeholder'=>'Enter physical number' , 'id' => 'physicalAddress', 'required' => 'true']) !!} {!! $errors->first('physical_address', '

:message

') !!}
{!! Form::text('postal_address', old('postal_address'), ['class' => 'form-control col-md-7 col-xs-12', 'placeholder'=>'Enter postal address' , 'id' => 'postalAddress', 'required' => 'true']) !!} {!! $errors->first('postal_address', '

:message

') !!}
{!! Form::text('city_town', old('city_town'), ['class' => 'form-control col-md-7 col-xs-12', 'placeholder'=>'Enter city/town ' , 'id' => 'cityTown', 'required' => 'true']) !!} {!! $errors->first('city_town', '

:message

') !!}
{!! Form::select('country', $countries ,old('country'), ['class' => 'form-control col-md-7 col-xs-12', 'placeholder'=>'Select country ' , 'id' => 'theCountry', 'required' => 'true']) !!} {!! $errors->first('country', '

:message

') !!}
{!! Form::select('country_manager_id', $staffmembers, old('country_manager_id'), ['class' => 'form-control', 'placeholder'=>'Select Country Manager' , 'id' => 'countryManager', 'required' => 'true']) !!} {!! $errors->first('country_manager_id', '

:message

') !!}
{!! Form::text('office_phone', old('office_phone'), ['class' => 'form-control col-md-7 col-xs-12', 'placeholder'=>'Enter office phone number' , 'id' => 'officePhone']) !!} {!! $errors->first('office_phone', '

:message

') !!}
{!! Form::close() !!}
{{-- end of x_content --}}
{{-- end of x_panel --}}
@endsection @section('javascript') @endsection