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

{{ @trans('client_branch.edit_branch') }}

@else

{{ @trans('client_branch.add_branch') }}

@endif
@if($errors->has('name')) {{$errors->first('name')}} @endif
@if($errors->has('abbreviation')) {{$errors->first('abbreviation')}} @endif
@if($errors->has('company_id')) {{$errors->first('company_id')}} @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('google_map_location')) {{$errors->first('google_map_location')}} @endif
@if($errors->has('branch_color_code')) {{$errors->first('branch_color_code')}} @endif
@endsection @push('pageJs') {!! JsValidator::formRequest('App\Http\Requests\Client_branch\StoreClientBranch', '#formStep') !!} @endpush