@php
$this_disabled = (checkLicense() == 1 ? (cekSetupCompleted() ? '' : 'disabled') : 'disabled');
$this_properti = propertiTipe();
@endphp
@if (!in_array(\Auth::user()->role, [10,40]))
@endif
@if (!in_array(\Auth::user()->role, [40,10]))
Dashboard
@endif
@if (in_array(\Auth::user()->role, [1,2,7]))
Statistic Menu
@endif
@if(in_array(\Auth::user()->role, [1,11,12]) && hotelID())
Group Hotel Report
@endif
@if(in_array(\Auth::user()->role, [1,2, 5, 7, 10, 11,12, 20, 40, 30]))
@section('accounting_menu')
@if(in_array(\Auth::user()->role, [1,2, 5,7, 10, 11,12, 20, 30]))
@if (in_array($this_properti, [1,2]))
Report FO
@endif
@endif
@if(in_array(\Auth::user()->role, [1,2, 5, 7, 11,12, 20, 40]))
@if (!in_array(\Auth::user()->role, [30]))
@if (in_array($this_properti, [1]))
General Ledger
@endif
@endif
@endif
@endsection
@if (!in_array(\Auth::user()->role, [10, 40]))
Quick Report Menu
Accounting Menu
@yield('accounting_menu')
@else
@yield('accounting_menu')
@endif
@endif
Patchlist