@if ($itemdata->item_type == 1) @else @endif
dishes @if ($itemdata->available_qty <= 0 && $itemdata->has_variation == 2)

{{ trans('labels.out_of_stock') }}

@endif
{{ $itemdata['category_info']->category_name }}
{{ $itemdata->item_name }}
@if (Auth::user() && Auth::user()->type == 2) @if ($itemdata->is_favorite == 1) @else @endif @endif
@php if ($itemdata->is_top_deals == 1 && $topdeals != null) { if (@$topdeals->offer_type == 1) { if ($itemdata->item_price > @$topdeals->offer_amount) { $price = $itemdata->item_price - @$topdeals->offer_amount; } else { $price = $itemdata->item_price; } } else { $price = $itemdata->item_price - $itemdata->item_price * (@$topdeals->offer_amount / 100); } $original_price = $itemdata->item_price; $off = $original_price > 0 ? number_format(100 - ($price * 100) / $original_price, 1) : 0; } else { $price = $itemdata->item_price; $original_price = $itemdata->original_price; $off = $itemdata->discount_percentage; } @endphp