@isset($type)@endisset
@if(!isset($type)||$type==='restaurant')
@endif @if(!isset($type))
@endif @if(($type??'')==='products')
@endif @if(in_array($type??'',['bookings','occupancy','debtors']))
@endif @if(in_array($type??'',['bookings','occupancy']))
@endif @if(!isset($type)||in_array($type,['products','restaurant','payments']))
@endif