@foreach ($session as $key => $list)
@csrf

{{-- {{ $list->quantity }} - --}} X   ₹  {{ $list->quantity * $list->price }}

@php // $variation_mrp = \App\Models\Variation::where('item_id', $data->item_id)->first(); $category_item = \App\Models\CartItemAdd::where('session_id',Session::getid())->where('restaurant_id',session()->get('kitchen_id'))->where('item_id', $list->item_id)->get(); $sel_item = \App\Models\Item::where('id', $list->item_id)->first(); @endphp

{{ $list->item_name }}

{{-- @if ($category_item) @foreach ($category_item as $lists) @php $addonsel_item = \App\Models\Item::where('id', $lists->addon_id)->first(); @endphp

{{ $lists->addon_item_name }} - {{$lists->add_onn_price}}

@endforeach @endif --}}
@if ($category_item) @foreach ($category_item as $lists) @php $addonsel_item = \App\Models\Item::where('id', $lists->addon_id)->first(); @endphp
@if ($addonsel_item != null)
@else @endif

{{ $lists->addon_item_name }}₹ {{ $lists->add_onn_price }}

{{-- @if ($category_item) @foreach ($category_item as $lists) @php $addonsel_item = \App\Models\Item::where('id', $lists->addon_id)->first(); @endphp

{{ $lists->addon_item_name }} - {{$lists->add_onn_price}}

@endforeach @endif --}}
@endforeach @endif
@endforeach