@extends(\Auth::user()->role != 10 ? 'layout' : 'layoutfrontdesk') @section('title', 'Hotel Group | Edit Hotel Group') @section('content')
@csrf @method('PUT')
#Data Hotel Group
{{-- @php $jumlahdata = 0; $jumlahdata = count($group->hotel_group_detail); @endphp #Address
@if (is_object($group->hotel_group_detail)) @if (count($group->hotel_group_detail) > 1) @php $i=2; $l=1; @endphp @foreach ($group->hotel_group_detail as $detail) @if ($group->hotel_group_detail[$l]->nama_alamat && $group->hotel_group_detail[$l]->alamat_alamat) @if ($loop->first) @continue @endif
 
 
@endif @php $i++; $l++; @endphp @endforeach @endif @endif
#Contact
@if (is_object($group->hotel_group_detail)) @if (count($group->hotel_group_detail) > 1) @php $x=2; $l2=1; @endphp @foreach ($group->hotel_group_detail as $detail) @if ($group->hotel_group_detail[$l2]->nama_kontak && $group->hotel_group_detail[$l2]->kontak_kontak) @if ($loop->first) @continue @endif
 
 
@endif @php $i++; $l++; @endphp @endforeach @endif @endif
#PIC
@if (is_object($group->hotel_group_detail)) @if (count($group->hotel_group_detail) > 1) @php $z=2; $l3=1; @endphp @foreach ($group->hotel_group_detail as $detail) @if ($group->hotel_group_detail[$l3]->nama_pic && $group->hotel_group_detail[$l3]->kontak_pic) @if ($loop->first) @continue @endif
 
 
@endif @php $i++; $l++; @endphp @endforeach @endif @endif
#Logo
--}}
Back
@endsection @section('js') {{-- --}} @endsection