@extends('layouts.website') @section('title', 'Menu') @section('content')

{{ $branch->name }} Menu

Select your items and add to cart.

@foreach($categories as $category) @php $catProducts = $products->where('category_id', $category->id); @endphp @if($catProducts->isNotEmpty())

{{ $category->name }}

@foreach($catProducts as $product) @php $price = $product->getPriceForBranch($branch->id); @endphp
@if($product->image) {{ $product->name }} @else
No image
@endif

{{ $product->name }}

@if($product->description)

{{ Str::limit($product->description, 80) }}

@endif
Rs {{ number_format($price, 0) }}
@endforeach
@endif @endforeach @if($products->isEmpty())

No products available at this branch.

@endif @endsection @section('scripts') @endsection