@extends('layouts.app') @section('title') {{ __('messages.Restaurants') }} @endsection @section('content')
@include('inc.breadcrumb', [ 'breadcrumb_items' => [ __('messages.Home') => route('home'), __('messages.Restaurants') => route('admin.restaurants.index'), __('messages.Add ons') => 'active', ], ])
@if (request('key_words')) {{ __('messages.Keywords') }} : {{ request('key_words') }} @endif @if (request('min_price')) {{ __('messages.Price less than') }} : {{ request('min_price') }} @endif @if (request('max_price')) {{ __('messages.Price higher than') }} : {{ request('max_price') }} @endif @if ($restaurant_sel_serach) {{ __('messages.Restaurants') }} : {{ $restaurant_sel_serach->name }} @endif

@php $i = 1; $skipCount = $data->perPage() * $data->currentPage() - $data->perPage(); @endphp @include('inc.is_empty_data', [ 'var_check_empty' => $data, 'var_check_empty_rows' => 4, ]) @foreach ($data as $item) @php $i++ @endphp {{-- --}} @endforeach
# {{ __('messages.Restaurant') }} {{ __('messages.Name') }} {{ __('messages.Price') }}
{{ $skipCount + $i }}{{ $item->user->restaurant_info->name }} {{ $item->name }} {{ $item->price }}{{ $item->mobile }}
{{ $data->appends(Request::except(['_token']))->links() }}
@endsection @section('script') @endsection