Add Customer

@if ($errors->has('error'))
{{ $errors->first('error') }}
@endif

{{Lang::get('customer.personal_details')}}

{!! Form::label('customer_type', Lang::get('litigation.customer_type'))!!} * :
@error('customer_type') {{ $message }} @enderror
@if ($customer_type == "Personal")
{!! Form::label('first_name', Lang::get('customer.first_name')) !!} * :
@error('first_name') {{ $message }} @enderror
{!! Form::label('second_name', Lang::get('customer.second_name')) !!} * :
@error('second_name') {{ $message }} @enderror
{!! Form::label('third_name', Lang::get('customer.third_name')) !!} * :
@error('third_name') {{ $message }} @enderror
{!! Form::label('fourth_name', Lang::get('customer.fourth_name')) !!}:
@error('fourth_name') {{ $message }} @enderror
{!! Form::label('date_of_birth', Lang::get('customer.date_of_birth')) !!}:
@error('date_of_birth') {{ $message }} @enderror
{!! Form::label('place_of_birth', Lang::get('customer.place_of_birth')) !!}:
@error('place_of_birth') {{ $message }} @enderror
{!! Form::label('gender', Lang::get('customer.gender')) !!} * :

@error('gender') {{ $message }} @enderror

@endif
@if (!empty($customer_type) && $customer_type != "Personal")

@if($this->customer_type == "Business") Business Details @elseif($this->customer_type == "Trust") Trust Details @elseif($this->customer_type == "Non Profit") Non Profit Details @elseif($this->customer_type == "Government") Government Details @elseif($this->customer_type == "Mosque") Mosque Details @endif

@if($this->customer_type == "Business") @elseif($this->customer_type == "Trust") @elseif($this->customer_type == "Non Profit") @elseif($this->customer_type == "Government") @elseif($this->customer_type == "Mosque") @endif
@error('business_name') {{ $message }} @enderror
@if($this->customer_type == "Business") @elseif($this->customer_type == "Trust") @elseif($this->customer_type == "Non Profit") @elseif($this->customer_type == "Government") @elseif($this->customer_type == "Mosque") @endif
@error('business_registration_number') {{ $message }} @enderror
@if($this->customer_type == "Business") @elseif($this->customer_type == "Trust") @elseif($this->customer_type == "Non Profit") @elseif($this->customer_type == "Government") @elseif($this->customer_type == "Mosque") @endif
@error('business_address') {{ $message }} @enderror
@endif

{{Lang::get('customer.contact_details')}}

{!! Form::label('phone_carrier', Lang::get('customer.phone_carrier')) !!} * :
@error('phone_carrier') {{ $message }} @enderror
{!! Form::label('mobile_1', Lang::get('customer.contact_number')) !!} * :
@if($mobile_prefix1_others != "1") {{$mobile_prefix1}} @else @endif
@error('mobile_1') {{ $message }} @enderror
{!! Form::label('phone_carrier2', Lang::get('customer.phone_carrier2')) !!}:
@error('phone_carrier2') {{ $message }} @enderror
@isset ($this->phone_carrier2)
{!! Form::label('mobile_2', Lang::get('litigation.customer_mobile_number')) !!}
@if($mobile_prefix2_others != "1") {{$mobile_prefix2}} @else @endif
@error('mobile_2') {{ $message }} @enderror
@endisset
{!! Form::label('email', Lang::get('customer.email')) !!}:
{!! Form::label('address', Lang::get('customer.address')) !!}:
@error('address') {{ $message }} @enderror
:
@error('region') {{ $message }} @enderror
:
@error('city') {{ $message }} @enderror
{!! Form::label('district', Lang::get('customer.district')) !!}:
@error('district') {{ $message }} @enderror
{!! Form::label('sub_division', Lang::get('customer.sub_division')) !!}:
@error('sub_division') {{ $message }} @enderror
{!! Form::label('area', Lang::get('property.area')) !!}:
@error('area') {{ $message }} @enderror
{!! Form::label('block',Lang::get('customer.block')) !!}:
@error('block') {{ $message }} @enderror
{!! Form::label('photo', Lang::get('customer.photo')) !!}:
@isset($photo) {{ $photo->getClientOriginalName() }} @endisset