@extends('layouts.venue.app') @section('styles') @error('category') @enderror @error('district') @enderror @endsection @section('content')
@csrf

{{ __('global.details') }}

@if($product->image && File::exists(public_path('assets/images/products/' . $product->image))) @else @endif
@if($product->image && File::exists(public_path('assets/images/products/' . $product->image))) Uploaded File @else Default Product @endif
@error('category') {{ $message }} @enderror
@error('district') {{ $message }} @enderror
is_partner ? 'checked' : '' }}> {{ __('global.partner') }}
is_popular ? 'checked' : '' }}> {{ __('global.popular') }}

{{ __('global.information') }}

@error('title_ge') {{ $message }} @enderror
@error('address_ge') {{ $message }} @enderror
@error('title_en') {{ $message }} @enderror
@error('address_en') {{ $message }} @enderror
@error('title_ru') {{ $message }} @enderror
@error('address_ru') {{ $message }} @enderror
{{ __('global.media') }}
@csrf

{{ __('global.active_hours') }}

@foreach($weekArray as $key => $day) @if(!empty($product->activeHours))
@if($product->activeHours->{$day . '_start'} == null || $product->activeHours->{$day . '_start'} == 'full')
{{ __('global.'.$day) }}
activeHours->{$day . '_start'} == null ? 'style="display: none;"' : '' !!}>
activeHours->{$day . '_end'} == null || $product->activeHours->{$day . '_end'} == 'full' ? 'style="display: none;"' : '' !!}>
activeHours->{$day . '_start'} == null || $product->activeHours->{$day . '_start'} == 'full' ? 'style="display: none;"' : '' !!}>
@else @foreach(unserialize($product->activeHours->{$day . '_start'}) as $timeKey => $timeData)
@if($timeKey == 0)
{{ __('global.'.$day) }}
@endif
activeHours->{$day . '_start'} == null ? 'style="display: none;"' : '' !!}>
activeHours->{$day . '_end'} == null || $product->activeHours->{$day . '_end'} == 'full' ? 'style="display: none;"' : '' !!}>
@if($timeKey == 0)
activeHours->{$day . '_start'} == null || $product->activeHours->{$day . '_start'} == 'full' ? 'style="display: none;"' : '' !!}>
@else
@endif
@endforeach @endif
@else
{{ __('global.'.$day) }}
@endif @endforeach

{{ __('global.attributes') }}

@foreach($product->productAttributes as $keyId => $productAttribute)
@if($productAttribute->attribute->type == 'select')
@elseif($productAttribute->attribute->type == 'checkbox')
value == 'on' ? 'checked' : '' }}> {{ __('global.yes_no') }}
@else
@endif
@endforeach

{{ __('global.additional_products') }}

@foreach($product->productAdditional as $keyId => $productAdditional)
@endforeach

{{ __('global.location') }}

{{ __('global.meta_data') }}

{{ __('global.keywords_info_1') }} ,{{ __('global.keywords_info_2') }}
{{ __('global.keywords_info_1') }} ,{{ __('global.keywords_info_2') }}
{{ __('global.keywords_info_1') }} ,{{ __('global.keywords_info_2') }}
@endsection @section('scripts') @vite('resources/assets/js/select2.js') @endsection