@extends('admin.layout.master') @section('css') @endsection @section('content')

{{ __('admin.edit_provider') }}

@csrf @method('PUT')
{{-- Image --}}
{{-- Basic Info --}}
{{-- Location --}}
{{-- Category --}}
{{-- Description --}}
{{-- Gallery Images --}} {{-- Dynamic Fields Container --}}
@if($provider->category->type === 'hall')
@elseif(in_array($provider->category->type, ['chalet', 'rest', 'hotel']))
@endif
{{-- Additions Container --}}
@if(in_array($provider->category->type, ['hall', 'chalet', 'rest', 'hotel']))

{{ __('admin.additions') }}
{{-- Free Additions --}}
@foreach($provider->additions()->where('type', 'free')->get() as $addition)
@if($addition->image) @else {{ __('admin.no_image') }} @endif
@endforeach
{{-- Paid Additions --}}
@endif
{{-- Deleted Additions Container --}}
{{-- Identity Images --}}

{{ __('admin.identity_data') }}

{{-- Bank Info --}}

{{ __('admin.bank_data') }}


{{__('admin.back')}}
{{-- Templates for Dynamic Fields --}} @endsection @section('js') {{-- show selected image script --}} @include('admin.shared.addImage') {{-- show selected image script --}} {{-- submit add form script --}} @include('admin.shared.submitEditForm') {{-- submit add form script --}} {{-- map --}} @endsection