@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])) @endif @if (in_array(\Auth::user()->role, [1,2,7])) @endif @if(in_array(\Auth::user()->role, [1,11,12]) && hotelID()) @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])) @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])) @endif @endif @endif @endsection @if (!in_array(\Auth::user()->role, [10, 40])) @else @yield('accounting_menu') @endif @endif