@extends('layouts.panel.base') @section('hotel-active', 'kt-menu__item--active') @section('title', 'Detalles del Hotel') @section('content')

Hoteles

Detalles del Hotel

@if(Session::has('success')) @endif

Información General

Nombre: {{ $hotel->name }}

Check In: {{ $hotel->check_in }} Check Out: {{ $hotel->check_out }}

País: {{ $hotel->country->name }}

Estado: {{ $hotel->state->name }}

Ciudad: {{ $hotel->city->name }}

Dirección: {{ $hotel->address }}

@if($detail)

Características del Hotel

Todo Incluido: {{ $detail->all_inclusive }}

Detalle: {{ $detail->all_inclusive_detail }}

Situado en la playa: {{ $detail->located_beach }}

Playa: {{ $detail->name_beach }}

Sustainability Travelife: {{ $detail->sustainability_travelife }}

Tipo de Certificación: {{ $detail->certification_type }}

Infantes Exonerados: {{ $detail->exonerated_infant }}

Edad: {{ $detail->infants_age }} años

Wifi Gratuito: {{ $detail->free_wifi }}

Amenidades: {{ $detail->amenities }}

@if($detail->type_price != 'General')

Precio el resto del año: ${{ $detail->price_rest_year }}

@endif
@if($detail->type_price == 'General') @if($detail->price == 'Si')
Precio
Precios Generales $ {{ $detail->general_price }}
@endif @else @if(count($days)>0) @foreach($days as $key => $value) @endforeach
In Out Habitación Precio
{{ $value->in }} {{ $value->out }} {{ $value->type_room }} {{ $value->price }}
> @endif @endif
@if(count($amenities)>0) @foreach($amenities as $key => $value) @endforeach
Amenidades
{{ $value->name }}
@else @endif
@endif @if($rooms)

Detalles de las Habitaciones

@foreach($rooms as $key => $value) @php if($key == 0){ $active = 'active'; }else{ $active = null; } @endphp
Precios Modificar

{!! $value->detail !!}
@foreach($value->roomDayPrice as $key2 => $value2) In: {{ date("d-m-Y", strtotime($value2->in)) }} Out: {{ date("d-m-Y", strtotime($value2->out)) }} Precio: ${{ number_format($value2->price, 2) }}
@endforeach @if($value->price_rest_of_year != null || $value->price_rest_of_year != '') Resto del año: ${{ number_format($value->price_rest_of_year, 2) }} @endif @if($value->general_price != null || $value->general_price != '') Precio General: ${{ number_format($value->general_price, 2) }} @endif @if($value->room->hotelRoom->roomPriceObservation)
Observación: {!! $value->room->hotelRoom->roomPriceObservation->observation !!} @endif
@endforeach
@endif

Historial

@if(count($history)>0) @foreach($history as $key => $value) @endforeach
Estatus Usuario Fecha
{{ $value->status }} @if(isset($datos->motivo) || isset($datos->comentario)) {!! '
'.$mensaje.'' !!} @endif
{{ ucwords($value->user->name) }} {{ ucwords($value->user->last_name) }} {{ date_format(date_create($value->created_at),"d/m/Y H:i:s") }}
@else @endif
@endsection @section('js') @endsection