@if (!empty($kamars[$i]))
{{$kamars[$i]->no_kamar}} |
@php
$type='';
foreach ($kamars[$i]->jenisKamars as $key => $value) {
if ($type) {
$type.=','.$value->room_tag;
}else{
$type=$value->room_tag;
}
}
@endphp
{{$type}}
|
{{$kamars[$i]->lantai}} |
{{$kamars[$i]->ukuran_kamar}} |
{{$kamars[$i]->ukuran_bed}} |
{{$kamars[$i]->keterangan}} |
@else
|
|
|
|
|
|
@endif
|
|
@if ($i==0)
Tag |
Type Name |
@else
@if (count($jenis) > 0)
@if (!empty($jenis[$i-1]))
{{ $jenis[$i-1]->room_tag }} |
{{ $jenis[$i-1]->nama }} |
@else
|
|
@endif
@else
please input room type first |
@endif
@endif
@endfor
{{-- @endforeach --}}
@else
@if($jenis_count > 0)