@extends('website.branches.spa.layouts.index') @section('content') @if ($advertisement_locations->isNotEmpty()) @foreach ($advertisement_locations as $location) $location->advertisement->url]) href="{{ $location->advertisement->url ?? 'javascript:void(0)' }}" @if ($location->advertisement->url) target="_blank" @endif ar-image="{{ uploads($location->advertisement->getTranslation('image', 'ar')) }}" en-image="{{ uploads($location->advertisement->getTranslation('image', 'en')) }}" data-id="{{ $location->id }}"> @endforeach @endif @foreach ($branch->sections as $section) {{ $section->title }} @endforeach @foreach ($branch->sections as $section) {{ $section->title }} @foreach ($section->sitems as $sitem) @if (in_array(strtolower(pathinfo($sitem->media, PATHINFO_EXTENSION)), ['gif', 'jpg', 'jpeg', 'png', 'jfif', 'webp'])) @else @endif {{ $sitem->title }} @if ($sitem->spa_tag_id) {{ $sitem->tag->title }} @endif {!! $sitem->description ?: __('global.no_description') !!} @if ($sitem->price == 0) @elseif ($sitem->offer) {{ $sitem->price }} {{ $sitem->offer_price }} SAR @else {{ $sitem->offer_price }} SAR @endif @if (!$order) @if ($branch->settings->orders->is_active && $branch->settings->services->menu_type === 'order') @else @endif @endif @endforeach @if ($section->children->isNotEmpty()) @foreach ($section->children as $section_child) $loop->first]) id="section-{{ $section_child->id }}" data-section="{{ $section_child->id }}"> {{ $section_child->title }} @foreach ($section_child->sitems as $sitem) @if (in_array(strtolower(pathinfo($sitem->media, PATHINFO_EXTENSION)), ['gif', 'jpg', 'jpeg', 'png', 'jfif', 'webp'])) @else @endif {{ $sitem->title }} @if ($sitem->spa_tag_id) {{ $sitem->tag->title }} @endif {!! $sitem->description ?: __('global.no_description') !!} @if ($sitem->price == 0) @elseif ($sitem->offer) {{ $sitem->price }} {{ $sitem->offer_price }} SAR @else {{ $sitem->offer_price }} SAR @endif @if (!$order) @if ($branch->settings->orders->is_active && $branch->settings->services->menu_type === 'order') @else @endif @endif @endforeach @endforeach @endif @endforeach @lang('global.add_from_menu_options')
00:59