@extends("layouts.admin.app") @section("page-title") {{__("Dashboard")}} @endSection @section("page-nav-title")

{{__("Main Users")}}

{{__("Create New User ".$main_Client->name) }}

@endsection @section("css-links") @endsection @section("content")

{{__("Create New User ".$main_Client->name) }}

$main_Client->id])}}" enctype="multipart/form-data"> @csrf
@error("full_name")
{{$message}}
@enderror
@error("email")
{{$message}}
@enderror
@error("phone_number")
{{$message}}
@enderror
@error("country")
{{$message}}
@enderror
@error("city")
{{$message}}
@enderror
@error("provided_section_en")
{{$message}}
@enderror
@error("provided_section_ar")
{{$message}}
@enderror
@error("section_phone_number")
{{$message}}
@enderror
@error("section_city")
{{$message}}
@enderror
{{-- js-basic-single-select2--}}
@error("sub_areas")
{{$message}}
@enderror

@error("lng")
{{$message}}
@enderror
@error("iban")
{{$message}}
@enderror
@error("bank_name")
{{$message}}
@enderror
@if($main_Client->type == "mar")
Used New Origin Duplicate
@error("specialty")
must select at least one
@enderror
@error("vehicle_type_specialist")
{{$message}}
@enderror
@endif



{{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{-- --}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}}
@if($main_Client->type == 'gar')
@error("garage_type")
{{$message}}
@enderror
@error("certified_insurance_company")
{{$message}}
@enderror
@error("section_specialization")
{{$message}}
@enderror
@error("section_specialized_for")
{{$message}}
@enderror
@endif @if($main_Client->type == 'gar' || $main_Client->type == 'mar' || $main_Client->type == 'enq' || $main_Client->type == 'enq-wo' || $main_Client->type == 'enq-cwo') {{-- || $main_Client->type == 's-mar')--}} @if($main_Client->type != 'enq' && $main_Client->type != 'enq-wo'&& $main_Client->type != 'enq-cwo')
@error("vehicle_type_specialist")
{{$message}}
@enderror
@if($main_Client->type != 'gar')
@error("car_type_specialist")
{{$message}}
@enderror


@error("car_model_name_specialist")
{{$message}}
@enderror
@endif
@endif @if($main_Client->type == 'gar' || $main_Client->type == 'enq' || $main_Client->type == 'enq-wo' || $main_Client->type == 'enq-cwo' )
@if($service_with_price)
@endif
{{--
--}} {{--
--}} {{--
--}}

@endif {{-- @php--}} {{-- dd($main_Client->type);--}} {{-- @endphp--}} {{-- @switch($main_Client->type)--}} {{-- @case('gar')--}} {{-- @case('s-mar')--}} @if($main_Client->type === 's-mar' || $main_Client->type == 'gar')
{{-- @break--}} {{-- @endswitch--}} @endif @if($main_Client->type == 'gar')
@endif @endif @if($main_Client->type == 's-mar' || $main_Client->type == 'enq-crl' || $main_Client->type == 'enq'|| $main_Client->type == 'enq-wo' )
@php $vector = \App\Models\Vector::find($main_Client->id); $vectorType = $vector->vectorFiltersData->where('service_type','ty') ?? null; @endphp
@if(count($vectorType)>0)
@foreach($vectorType as $type)
@endforeach @endif
{{--
--}} {{-- --}} {{-- --}} {{--
--}}
@endif @if($main_Client->type == 'enq-crl')
@endif
@endsection @section("scripts") @include("admin.users_vectors.template") @endsection