@extends('admin.layout.main') @section('content')

@if(isset($data)) Edit @else Add @endif Company Management

@csrf @if(isset($data)) @endif
@if ($errors->has('name'))
{{ $errors->first('name') }}
@endif
@if ($errors->has('address'))
{{ $errors->first('address') }}
@endif
@if ($errors->has('address_2'))
{{ $errors->first('address_2') }}
@endif
@if ($errors->has('address_3'))
{{ $errors->first('address_3') }}
@endif
@if ($errors->has('country_id'))
{{ $errors->first('country_id') }}
@endif
@if ($errors->has('state_id'))
{{ $errors->first('state_id') }}
@endif
@if ($errors->has('phonecode'))
{{ $errors->first('phonecode') }}
@endif
@if ($errors->has('phonecode')) @elseif ($errors->has('phone_number'))
{{ $errors->first('phone_number') }}
@endif
@if ($errors->has('email_address'))
{{ $errors->first('email_address') }}
@endif

Only .png, .jpg, .jpeg files are allowed

@if(isset($data)) @if($data->logo_image != '') @if(file_exists($logo_image)) @endif @endif @endif @if ($errors->has('logo_image'))
{{ $errors->first('logo_image') }}
@endif
@endsection @section('js') @endsection