BMU CRM
{!! nl2br(wordwrap($logged_name, 50, "\n")) !!}
({{ $logged_role_name }})
    {{-- 1. Dashboard --}}
  • Dashboard

  • {{-- 2. Master --}} @if (array_intersect(['end-users', 'outlets', 'dealers', 'device-models', 'principal-data', 'reward-items', 'cities'], $menus))
  • Master

      @if (in_array('end-users', $menus))
    • End Users

    • @endif @if (in_array('dealers', $menus))
    • Dealers

    • @endif @if (in_array('outlets', $menus))
    • Outlets

    • @endif @if (in_array('device-models', $menus))
    • Device Models

    • @endif @if (in_array('principal-data', $menus))
    • Principal Data

    • @endif @if (in_array('reward-items', $menus))
    • Item Reward

    • @endif @if (in_array('cities', $menus))
    • City

    • @endif
  • @endif {{-- 3. Transaction --}} @if (array_intersect(['claims', 'promotions', 'lottery', 'reward-fulfillments'], $menus))
  • Transaction

      @if (in_array('claims', $menus))
    • Claims

    • @endif @if (in_array('promotions', $menus))
    • Promotions

    • @endif @if (in_array('lottery', $menus))
    • Lottery

    • @endif @if (in_array('reward-fulfillments', $menus))
    • Reward Fulfillment

    • @endif {{-- Banners hidden --}}
  • @endif {{-- 4. Landing Page --}} @if (in_array('landing-page', $menus))
  • Landing Page

    • Settings

    • Products

  • @endif {{-- 5. Reports --}} @if (array_intersect(['nav-transactions', 'point-transactions', 'reward_claims', 'sales_by_outlet', 'sales_by_device', 'claim_by_promotion_summary', 'claim_by_promotion_detail'], $menus))
  • Reports

      @if (in_array('nav-transactions', $menus))
    • Transaksi NAV

    • @endif @if (in_array('point-transactions', $menus))
    • Point Transaction

    • @endif {{-- Transaction History (balance_histories) hidden --}} @if (in_array('reward_claims', $menus))
    • List Reward

    • @endif @if (in_array('sales_by_outlet', $menus))
    • Penjualan per Outlet

    • @endif @if (in_array('sales_by_device', $menus))
    • Penjualan per Device

    • @endif @if (in_array('claim_by_promotion_summary', $menus))
    • Claim By Promo - Summary

    • @endif @if (in_array('claim_by_promotion_detail', $menus))
    • Claim By Promo - Detail

    • @endif
  • @endif {{-- 6. Configurations --}} @if (array_intersect(['permissions', 'roles', 'users', 'parameter_globals', 'client-auths', 'message-channels'], $menus))
  • Configurations

      @if (in_array('permissions', $menus))
    • Permission

    • @endif @if (in_array('roles', $menus))
    • Role

    • @endif @if (in_array('users', $menus))
    • User

    • @endif @if (in_array('parameter_globals', $menus))
    • Parameter Globals

    • @endif @if (in_array('client-auths', $menus))
    • Client Auth

    • @endif @if (in_array('message-channels', $menus))
    • Message Channels

    • @endif
  • @endif