@extends('website.branches.charity.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->citems as $citem) @if (in_array(strtolower(pathinfo($citem->media, PATHINFO_EXTENSION)), ['gif', 'jpg', 'jpeg', 'png', 'jfif', 'webp'])) @else @endif {{ $citem->title }} @if ($citem->charity_tag_id) {{ $citem->tag->title }} @endif {!! $citem->description ?: __('global.no_description') !!} @if ($citem->offer) {{ $citem->price }} {{ $citem->offer_price }} SAR @else {{ $citem->offer_price }} SAR @endif @if (!$order || ($order && in_array($order->status->title, $branch->settings->orders->enable_adding_citem_on_status))) $branch->link && $branch->force_redirect_link, ]) data-link="{{ $branch->link }}"> @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->citems as $citem) @if (in_array(strtolower(pathinfo($citem->media, PATHINFO_EXTENSION)), ['gif', 'jpg', 'jpeg', 'png', 'jfif', 'webp'])) @else @endif {{ $citem->title }} @if ($citem->charity_tag_id) {{ $citem->tag->title }} @endif {!! $citem->description ?: __('global.no_description') !!} @if ($citem->offer) {{ $citem->price }} {{ $citem->offer_price }} SAR @else {{ $citem->offer_price }} SAR @endif @if (!$order || ($order && in_array($order->status->title, $branch->settings->orders->enable_adding_citem_on_status))) $branch->link && $branch->force_redirect_link, ]) data-link="{{ $branch->link }}"> @endif @endforeach @endforeach @endif @endforeach @lang('global.add_from_menu_options')
00:59