@extends(\Auth::user()->role != 10 ? 'layout' : 'layoutfrontdesk') @section('title', 'Company Guest Profile | Edit Company Guest Profile') @section('css') @endsection @section('content')
@csrf @method('PUT')
Data Company Guest Profile
{{-- KOLOM 1 --}}
{{--
 
--}}
 
statuslimittime ? 'checked' : '' }}>
statuslimittime ? '': 'disabled' }}>
{{-- KOLOM 2 --}}

{{--
--}}
main_segment == 4 ? '' : 'disabled'}}> %
{{--
--}}
@if (count($multiRates) > 1) @php $countdata = 1; @endphp @foreach ($multiRates as $multi) @if ($loop->first) @continue @endif
 
@php $countdata++; @endphp @endforeach @endif
If null will be fill with default value COA: {{@$coa_def->coaCompanyLedger->account_no}} - {{@$coa_def->coaCompanyLedger->description}}
@if ($cguest->creditlimit - $total_tagihan < 0) @if ($cguest->creditlimit != 0)
Total unpaid bills: Rp. {{ number_format($total_tagihan - $cguest->creditlimit,2,',','.') }}
@if ($cguest->creditlimit - $total_tagihan < 0) @endif @else @endif @else @endif {{-- @if ($cguest->status_ledger == 2 ) @endif --}}
Company Guest Contact @php $jumlahdata = 0; $jumlahdata = count($cguest->guest_contact); @endphp
@if (is_object($cguest->guest_contact)) @if (count($cguest->guest_contact) > 1) @php $i=2; $l=1; @endphp @foreach ($cguest->guest_contact as $contact) @if ($loop->first) @continue @endif
Guest Contacts #{{$i}}
@php $i++; $l++; @endphp @endforeach @endif @endif
Back
@endsection @section('js') @endsection