@extends('layout.main') @section('content')

LISTADO DE HABITACIONES

@foreach ($data as $habitacion) {{-- --}} @endforeach {{-- --}}
Numero Tipo Precio S/ Estado Acciones
{{ $i }}
{{ $habitacion->numero }}
{{ $habitacion->tipo_habitacion->nombre }} {{ $habitacion->precio }} {{ $habitacion->situacion }}@if($habitacion->situacion == "DISPONIBLE")
{{ $habitacion->situacion }}
@elseif ($habitacion->situacion == "MANTENIMIENTO")
{{ $habitacion->situacion }}
@elseif ($habitacion->situacion == "OCUPADO")
{{ $habitacion->situacion }}
@endif
@if($habitacion->situacion == "DISPONIBLE")
@endif
@include('layout.includes.pagination')
@stop @section('scripts') @stop