@if(isset($meals_products->data))
@if(isset($meals_products->data->data))
@foreach($meals_products->data->data as $category)
@php $itemcountid = 0; @endphp
{{--Meals under category--}}
{{$category->category_name}}
@if(count($category->data) > 0)
@foreach($category->data as $index => $meal)
@php $itemcountid++ @endphp
signature}}--}}
data-itemid = "{{$itemcountid}}"
data-itemname = "{{$meal->product_name}}"
data-itempoints = "{{$meal->price}}"
data-itemcode = "{{$meal->signature}}"
data-product_image = "{{$meal->image[0]->image_url}}"
>
{{str_limit(ucwords($meal->product_name), 25)}}
@if(Auth::check())
@if(Auth::user()->currency->is_currency_fixed == '1')
₦{{ (transform_product_price($meal->price, 1)) }}
@else
@php echo (transform_product_price($meal->price, Auth::user()->currency->rate) ) @endphp {{Auth::user()->currency->currency}}
@endif
@endif
@endforeach
@else
No items for the category
@endif
@endforeach
@endif
@else
No Products available
@endif
@endsection
@push('style')
@endpush
@push('script')
{{----}}