@extends(\Auth::user()->role != 10 ? 'layout' : 'layoutfrontdesk') @section('title', 'Company Profile') @section('css') @endsection @section('content')
@if(!$cguests->isEmpty()) @php ($i = 1) @foreach($cguests as $guest) @if ($guest->status_ledger == 1) @elseif($guest->status_ledger == 2) @endif @php ($i++) @endforeach @endif
Number Name Phone Email Address Segment Status Actions
{{$i}}
{{$guest->name}}
{{$guest->phone}}
{{$guest->email}}
{{$guest->address}}
{{@config('custom.segment_ratecodes')[$guest->main_segment]}}
{{config('custom.status_aktif')[$guest->status_ledger]}}
@if (!in_array(\Auth::user()->role,[10])) @if(!count($guest->pembayaranFo) > 0 && !count($guest->pembayarans) > 0) @endif @endif
@endsection @section('js') @endsection