@extends('frontend.layouts.master') @section('title') {{ __('header.hall_title') }} @endsection @section('main-content') @include('frontend.layouts.notification')
@csrf
{{--
--}} @if(count($rooms)>0) @foreach($rooms as $room)
@php $photo=explode(',',$room->photo); @endphp {{ Storage::url($room->photo) }}

{{$room->title}}

@php $after_discount=($room->price-($room->price*$room->discount)/100); @endphp

{{number_format($room->price,2)}} FBU/Pernight

@php $rate=ceil($room->getReview->avg('rate')) @endphp
@for($i=1; $i<=5; $i++) @if($rate>=$i) @else @endif @endfor
({{$room['getReview']->count()}}) {{ __('about.review') }}
{{ __('about.more_btn') }}
@endforeach @else

There are no rooms.

@endif
{{-- {{$rooms->appends($_GET)->links()}} --}}
@endsection @push('styles') @endpush @push('scripts') {{-- --}} @endpush