@php $products = App\Models\Product::where(['status' => 'Active']) ->whereHas('collections', function ($query) { $query->where(['status' => 'Active', 'option_id' => 5]); }) ->orderBy('position', 'asc') ->limit(10) ->get(); @endphp @if ($products->count())
| Cab | Price | Toll & Tax |
|---|---|---|
| {{ $product->name }} | {{ getPrice($product->extra_per_km) }} per KM | Included |
| Note: Price list might change on basis of locations | ||