@extends('admin.layouts.main') @section('title') @if($edit) Edit Client @else Add Client @endif @endsection @section('content')
@include("admin.common.sidebar")
@csrf
@if($edit)

Edit Client

@else

Add Client

@endif
@if($errors->has('name')) {{$errors->first('name')}} @endif
@if($errors->has('abbreviation')) {{$errors->first('abbreviation')}} @endif
@if(isset($companyDetail->logo_image)) @else @endif
@if($errors->has('address1')) {{$errors->first('address1')}} @endif
@if($errors->has('address2')) {{$errors->first('address2')}} @endif
@if($errors->has('country_id')) {{$errors->first('country_id')}} @endif
@if($errors->has('state_id')) {{$errors->first('state_id')}} @endif
@if($errors->has('city_id')) {{$errors->first('city_id')}} @endif
@if($errors->has('zip_code')) {{$errors->first('zip_code')}} @endif
@if($errors->has('google_map_location')) {{$errors->first('google_map_location')}} @endif
@if($errors->has('mobile')) {{$errors->first('mobile')}} @endif
@if($errors->has('mobile2')) {{$errors->first('mobile2')}} @endif
@if($errors->has('mobile3')) {{$errors->first('mobile3')}} @endif
@if($errors->has('email')) {{$errors->first('email')}} @endif
@if($errors->has('email2')) {{$errors->first('email2')}} @endif
@if($errors->has('email3')) {{$errors->first('email3')}} @endif
@if($errors->has('staff_range')) {{$errors->first('staff_range')}} @endif
@if($errors->has('industry_id')) {{$errors->first('industry_id')}} @endif
@endsection @push('pageJs') {!! JsValidator::formRequest('App\Http\Requests\Client\StoreClient', '#formStep') !!} @endpush