@extends('backend.partials.master') @section('title') {{ ___('admin.hotel_reports_726ef0') }} @endsection @section('maincontent')
{{ ___('admin.total_hotels_3a7489') }}

{{ $totalHotels }}

{{ ___('admin.active_hotels_da079b') }}

{{ $activeCount }}

{{ ___('admin.total_rooms_abf5d8') }}

{{ number_format($totalRooms) }}

{{ ___('admin.avg_rate_night_1d38db') }}

{{ currency_symbol() }}{{ number_format($avgPrice) }}

{{ ___('admin.room_types_69fd3c') }}

{{ number_format($roomTypes) }}

{{ ___('admin.total_bookings_93af95') }}

{{ number_format($totalBookings) }}

{{ ___('admin.hotels_by_city_94bb68') }}

@foreach($byCity as $city => $total) {{ $city }}{{ $total }} @endforeach

{{ ___('admin.hotels_by_star_rating_fa24cf') }}

@foreach($byCategory as $category => $total) {{ $category }}{{ $total }} @endforeach

{{ ___('admin.rate_by_hotel_6ea811') }}

@foreach($hotels as $h) @php $c = $h->status === 'active' ? 'success' : 'danger'; @endphp {{ $h->name }} {{ $h->city }} {{ $h->category }} {{ $h->rooms_count }} {{ currency_symbol() }}{{ number_format($h->price_per_night) }} {{ admin_label(ucfirst($h->status)) }} @endforeach
@endsection