@if (isset($branch) && $branch->id) Edit @else Create @endif branch
There were some problems adding client.
@endif
-
@foreach ($errors->all() as $error)
- {{ $error }} @endforeach
{!! Form::label('name', 'Name') !!}
{!! Form::text('name',
isset($branch) && $branch->name ? $branch->name : old('name'),
['class' => 'form-control',
'id' => 'name'])
!!}
{!! Form::label('alias', 'Alias') !!}
{!! Form::text('alias',
isset($branch) && $branch->alias ? $branch->alias : old('alias'),
['class' => 'form-control',
'id' => 'alias'])
!!}
{!! Form::label('pan_no', 'PAN No') !!}
{!! Form::text('pan_no',
isset($branch) && $branch->pan_no ? $branch->pan_no : old('pan_no'),
['class' => 'form-control',
'id' => 'pan_no'])
!!}
{!! Form::label('gstin', 'GSTIN') !!}
{!! Form::text('gstin',
isset($branch) && $branch->gstin ? $branch->gstin : old('gstin'),
['class' => 'form-control',
'id' => 'gstin'])
!!}
{!! Form::label('cin_no', 'CIN') !!}
{!! Form::text('cin_no',
isset($branch) && $branch->cin_no ? $branch->cin_no : old('cin_no'),
['class' => 'form-control',
'id' => 'cin_no'])
!!}
{!! Form::label('email', 'Email') !!}
{!! Form::text('email',
isset($branch) && $branch->email ? $branch->email : old('email'),
['class' => 'form-control',
'id' => 'email'])
!!}
{!! Form::label('phone', 'Phone No') !!}
{!! Form::text('phone',
isset($branch) && $branch->phone ? $branch->phone : old('phone'),
['class' => 'form-control',
'id' => 'phone'])
!!}
{!! Form::label('address1', 'Street Address') !!}
{!! Form::text('address1',
isset($branch) && $branch->address1 ? $branch->address1 : old('address1'),
['class' => 'form-control',
'id' => 'address1'])
!!}
{!! Form::label('address2', 'Street Address 2') !!}
{!! Form::text('address2',
isset($branch) && $branch->address2 ? $branch->address2 : old('address2'),
['class' => 'form-control',
'id' => 'address2'])
!!}
{!! Form::label('city', 'City') !!}
{!! Form::text('city',
isset($branch) && $branch->city ? $branch->city : old('city'),
['class' => 'form-control',
'id' => 'city'])
!!}
{!! Form::label('state', 'State') !!}
{!! Form::select('state_id', $states, isset($branch) && $branch->state_id ? $branch->state_id : old('state_id'), ['class' => 'form-control']) !!}
{!! Form::label('zip', 'Zip Code') !!}
{!! Form::text('zip',
isset($branch) && $branch->zip ? $branch->zip : old('zip'),
['class' => 'form-control',
'id' => 'zip'])
!!}
{!! Form::label('country', 'Country') !!}
{!! Form::select('country', $countries, isset($branch) && $branch->country ? $branch->country : old('country'), ['class' => 'form-control']) !!}
{!! Form::label('series_invoice', 'Series Invoice') !!}
{!! Form::text('series_invoice',
isset($branch) && $branch->series_invoice ? $branch->series_invoice : old('series_invoice'),
['class' => 'form-control',
'id' => 'series_invoice'])
!!}
{!! Form::label('series_quotation', 'Series Quotation') !!}
{!! Form::text('series_quotation',
isset($branch) && $branch->series_quotation ? $branch->series_quotation : old('series_quotation'),
['class' => 'form-control',
'id' => 'series_quotation'])
!!}