@extends('layouts.template') @section('title') Liste des chambres @endsection @section('content')
| Intitulé | Prix | Capacité | Statut | Date Création | céer Par | Action | @forelse ($rooms as $key => $value)
|---|---|---|---|---|---|---|
|
{{ $value->room_name }}
{{ $value->room_code }}
|
{{ $value->room_price }} | {{ $value->room_capacity }} |
@if ($value->room_status == 0)
Libre
@elseif ($value->room_status == 1)
Occupé
@else
Réservé
@endif
|
{{ $value->created_at }} | {{ $value->user->name }} | |
| Pas de données | ||||||