@extends('user.layout_user.main') @section('content')

Chọn loại phòng phù hợp

@if ($errors->any())
@endif @if (session('suggestion'))
Gợi ý chia phòng: {{ session('suggestion') }}
@endif
@csrf
@foreach($roomTypes as $roomType) @php $firstRoom = $roomType->rooms->first(); $oldRoomType = old('room_types.' . $roomType->id, []); $selected = isset($oldRoomType['selected']); $quantity = $oldRoomType['quantity'] ?? 1; @endphp @if($firstRoom)
{{ number_format($roomType->price) }} VNĐ/đêm
{{ $roomType->name }}

{{ $roomType->overview }}

  • Tối đa: {{ $roomType->max_adults }} người lớn, {{ $roomType->max_children }} trẻ em
  • {{ $roomType->bed_type }}
  • {{ $roomType->size }} m2
@endif @endforeach
Quay lại
@endsection @section('css') @endsection