{{ FindInsettingArr('business_name') }} {{-- {{ FindInsettingArr('business_name') }} --}}
{{-- {{ __('Welcome') }} {{ __('Admin') }} --}}
    @php $currentURL = url()->current(); $currentURL = str_replace(admin_url(), '', $currentURL); $arrLinks = []; $beforeLinks = \App\Helpers\DashboardLinks::$beforeLeftModuleLinks; $arrLinksModule = \App\Helpers\DashboardLinks::get_cms_modules('left'); $afterLinks = \App\Helpers\DashboardLinks::$afterLeftModuleLinks; $arrLinks = array_merge($beforeLinks, $arrLinksModule, $afterLinks); @endphp
  • Dashboard

  • @foreach ($arrLinks as $key => $val) @php $keys = array_keys($val); @endphp @if (is_array($val[$keys[0]])) @if (isset($val['user_type']) && in_array(auth()->user()->type, $val['user_type']))
  • {{ $key }}

      @foreach ($val as $key1 => $val1) @if (isset($val1['user_type']) && in_array(auth()->user()->type, $val1['user_type'])) @if ($key1 != 'icon')
    • {{ $val1[0] }}

    • @endif @endif @endforeach
  • @endif @else @if (isset($val['user_type']) && in_array(auth()->user()->type, $val['user_type']))
  • {{ $val[0] }}

  • @endif @endif @endforeach