{{ $itemdata['category_info']->category_name }}

{{ number_format($itemdata->avg_ratting, 1) }}

@if ($itemdata->item_type == 1) @else @endif

{{ $itemdata->item_name }}

@if ($itemdata->item_allergens != null)
@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
@if ($off > 0)
{{ $off }}% {{ trans('labels.off') }}
@endif dishes