@extends('layouts.app') @section('meta.title') {{($seo_data != "")?$seo_data->metaTitle:"Restorantet"}} @endsection @section('meta.description') metaDescription:"Baboon eshte aplikacion shqiptar ku porosit ushqim online nga kompjuteri, tablet apo celulari."}}"> @endsection @section('meta.keywords') metaKeyWords:"Baboon Albania, pizza taxi, sherbim taksi 24 ore, delivery and food tirana, restorante ne tirane, fast food ne tirane,ushqim i castit."}}"> @endsection @section('custom-css') @endsection @section('content')

Zgjidhni restorantet më të mira në Baboon

{{($seo_data != "")?$seo_data->metaDescription:"Baboon është vendi më i mirë për të porositur restorantet online në shtëpi në Shqipëri: Zgjidhni restorantin që ju pëlqen më së miri dhe porositni direkt në internet!"}}

Restorantet {{ ($selected_category !== '') ? $selected_category->categoryName : ''}}

{{----}}

Çfarë doni?

Zgjidhni një kuzhinë:

@if(count($restaurants) != 0) @foreach($restaurants as $key => $restaurant) {{-- @if($key%15 == 0 && $key!=0)--}} {{--
--}} {{-- --}} {{--
--}} {{-- @endif--}}
@if($restaurant->newRestaurant == true)

New

@else
@endif @php $description = ''; $today = date("l"); $dayOfWeek = date("l", strtotime($today)); switch ($dayOfWeek){ case 'Monday': $open = substr($restaurant->monday,0,5); break; case 'Tuesday': $open = substr($restaurant->tuesday,0,5); break; case 'Wednesday': $open = substr($restaurant->wednesday,0,5); break; case 'Thursday': $open = substr($restaurant->thursday,0,5); break; case 'Friday': $open = substr($restaurant->friday,0,5); break; case 'Saturday': $open = substr($restaurant->saturday,0,5); break; case 'Sunday': $open = substr($restaurant->sunday,0,5); break; default: $open = explode('-',$restaurant->monday)[0]; } @endphp

{{$restaurant->restaurantName}} Shiko Menunë

{{$restaurant->address}}
@if(!$restaurant->isOpen)Hapet ne {{ date("g:i a", strtotime($open)) }} @endif

@if(isset($restaurant->averageRate)) @for($i = 0; $i < round($restaurant->averageRate);$i++) @endfor @if(round($restaurant->averageRate) == 4) @elseif(round($restaurant->averageRate) == 3) @elseif(round($restaurant->averageRate) == 2) @elseif(round($restaurant->averageRate) == 1) @elseif(round($restaurant->averageRate) == 0) @endif @endif

@php $description = ''; $minimumOrder = ''; @endphp @if(isset($restaurant->discountList) && $restaurant->discountList != null) @php $description = $restaurant->discountList[0]->description; $minimumOrder = $restaurant->discountList[0]->minimumOrder; $percentage = $restaurant->discountList[0]->percentage ? '%' : ''; @endphp -{{$restaurant->discountList[0]->discount}}{{$percentage}}

{{$description}} @if(isset($restaurant->discountList[0]->minimumOrder) && $restaurant->discountList[0]->minimumOrder != null) @endif

@endif
{{--
--}} {{--Shiko Menunë--}} {{--
--}}
@endforeach
@else


@if(isset($flag) && $flag == 'category')

Nuk gjenden restorante që i përkasin kësaj kategorie !

@elseif(isset($flag) && $flag == 'filtrim')

Nuk gjenden restorante nga filtrimi juaj !

@else

Nuk gjenden restorante që shërbejnë afër zonës suaj !

@endif @endif
{{-- --}}
{{--
--}} {{--{{ csrf_field() }}--}} {{----}} {{----}} {{--
--}} @endsection @section('custom-js')