@extends('layouts.admin') @section('content') @can('hotel_create')
{{ trans('global.add') }} {{ trans('cruds.hotel.title_singular') }}
@endcan
{{ trans('cruds.hotel.title_singular') }} {{ trans('global.list') }}
@foreach($hotels as $key => $hotel) @endforeach
{{ trans('cruds.hotel.fields.id') }} {{ trans('cruds.hotel.fields.name') }} {{ trans('cruds.hotel.fields.photo') }} {{ trans('cruds.hotel.fields.address') }} {{ trans('cruds.hotel.fields.description') }} {{ trans('cruds.hotel.fields.rating') }}  
{{ $hotel->id ?? '' }} {{ $hotel->name ?? '' }} @if($hotel->photo) @endif {{ $hotel->address ?? '' }} {{ $hotel->description ?? '' }} {{ $hotel->rating ?? '' }} @can('hotel_show') {{ trans('global.view') }} @endcan @can('hotel_edit') {{ trans('global.edit') }} @endcan @can('hotel_delete')
@endcan
@endsection @section('scripts') @parent @endsection