@extends( 'layouts.app') @section('title') Edit Customer @stop @section('breadcrumb') @stop @section('content')
@if($errors->any())

Errors

    {!! implode('', $errors->all('
  • :message
  • ')) !!}
@endif

Edit Customer

Update Customer Information

{{csrf_field()}}
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if($customer->father_type == 1) S/O D/O W/O @elseif($customer->father_type == 2) S/O D/O W/O @elseif($customer->father_type == 3) S/O D/O W/O @else S/O D/O W/O @endif @if ($errors->has('father_name')) {{ $errors->first('father_name') }} @endif
@if($customer->cnic_flag == \App\Customer::locally) Locally Internationally @elseif($customer->cnic_flag == \App\Customer::internationally) Locally Internationally @else Locally Internationally @endif @if ($errors->has('cnic')) {{ $errors->first('cnic') }} @endif
@if ($errors->has('passport_no')) {{ $errors->first('passport_no') }} @endif
@if ($errors->has('dob')) {{ $errors->first('dob') }} @endif
@if ($errors->has('occupation')) {{ $errors->first('occupation') }} @endif
@if ($errors->has('mailing_address')) {{ $errors->first('mailing_address') }} @endif
    same as above
@if ($errors->has('permanent_address')) {{ $errors->first('permanent_address') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@if ($errors->has('password')) {{ $errors->first('password') }} @endif
@if ($errors->has('mobile_number')) {{ $errors->first('mobile_number') }} @endif
@if ($errors->has('phone_number')) {{ $errors->first('phone_number') }} @endif
@if ($errors->has('re_number')) {{ $errors->first('res_number') }} @endif
@if ($errors->has('file')) {{ $errors->first('file') }} @endif
@if ($errors->has('document')) {{ $errors->first('document') }} @endif
@if ($errors->has('is_filer')) {{ $errors->first('is_filer') }} @endif
@if ($errors->has('ntn_number')) {{ $errors->first('ntn_number') }} @endif