@forelse($extra_menus as $menu)
...

${{$menu->price}}

@if($menu->status == 'Active') {{$menu->status}} @else {{$menu->status}} @endif
@php $maxLength = 20; $isLong = strlen(strip_tags($menu->title)) > $maxLength; $shortTitle = Str::limit(strip_tags($menu->title), $maxLength, ''); @endphp
{{ $shortTitle }}@if($isLong)...@endif {{ $menu->title }} @if($isLong) Read more @endif
{{ $menu->restaurants ? number_format($menu->restaurants->rating, 1) : 0 }}
@php $maxLength = 30; $shortDesc = Str::limit(strip_tags($menu->description), $maxLength, ''); @endphp

{{ $shortDesc }}@if(strlen($menu->description) > $maxLength)...@endif {{ $menu->description }} @if(strlen($menu->description) > $maxLength) Read more @endif

@empty

No Extra Menus Found.

@endforelse @if ($extra_menus->hasPages())
{{ $extra_menus->appends(request()->query())->links() }}
@endif