@extends('layout.main') @section('content') @if ($data)

DETALLES DE HABITACION
{{$data->habitacion->numero}}

Personal que registró ingreso :
{{ ucwords(mb_strtolower($data->usuario->nombres)) }} {{ ucwords(mb_strtolower($data->usuario->apellidos)) }} ({{ $data->usuario->username }})
Habitacion Ocupada :
{{ $data->habitacion->numero }} - {{ $data->habitacion->tipo_habitacion->nombre }}
Precio de habitacion por Noche :
S/ {{ $data->habitacion->precio }}
Facturado :
@if ($data->id_venta == null)
NO
@else @endif
Monto a Cobrar :
Fecha de Ingreso :
{{ date('d-m-Y g:i A', strtotime($data->fecha_ingreso)) }}
Monto de Adelanto :
S/ {{ $data->adelanto != null ? $data->adelanto : '0.00' }}
Tiempo Transcurrido :
@foreach ($detalles as $detalle) @endforeach
Nombre del Huesped DNI Procedencia N° Papeleta Acciones
{{ ucwords(mb_strtolower($detalle->huesped->nombre)) }} {{ $detalle->huesped->dni }} {{ $detalle->huesped->ciudad }} - {{ $detalle->huesped->pais }} {{ $detalle->papeleta }}
@else

No se puede realizar esta accion

@endif @stop @section('scripts') @stop