• {{ setting('project_name') }}

  • {!! trans('dashboard.general.home') !!}
  • @if (auth()->user()->hasPermissions('setting','store'))
  • {!! trans('dashboard.setting.setting') !!}
  • @endif {{-- category --}} {{-- show category --}} @if (auth()->user()->hasPermissions('category'))
  • {!! trans('dashboard.category.categories') !!}
  • {!! trans('dashboard.general.show_all') !!}
  • @endif {{-- add category --}} @if (auth()->user()->hasPermissions('category'))
  • {!! trans('dashboard.general.add_new') !!}
  • @endif @if (auth()->user()->hasPermissions('company'))
  • {!! trans('dashboard.company.companies') !!}
  • {!! trans('dashboard.general.show_all') !!}
  • @endif @if (auth()->user()->hasPermissions('company'))
  • {!! trans('dashboard.general.add_new') !!}
  • @endif @if (auth()->user()->hasPermissions('customer'))
  • {!! trans('dashboard.customer.customers') !!}
  • {!! trans('dashboard.general.show_all') !!}
  • @endif @if (auth()->user()->hasPermissions('customer'))
  • {!! trans('dashboard.general.add_new') !!}
  • @endif @if (auth()->user()->hasPermissions('product'))
  • {!! trans('dashboard.product.products') !!}
  • {!! trans('dashboard.general.show_all') !!}
  • @endif @if (auth()->user()->hasPermissions('product'))
  • {!! trans('dashboard.general.add_new') !!}
  • @endif {{-- @if (auth()->user()->hasPermissions('product'))
  • {!! trans('dashboard.product.products') !!}
    • {!! trans('dashboard.general.show_all') !!}
    • @if (auth()->user()->hasPermissions('product','store'))
    • {!! trans('dashboard.general.add_new') !!}
    • @endif
  • @endif --}} {{-- show bill --}} @if (auth()->user()->hasPermissions('bill') || auth()->user()->hasPermissions('bill'))
  • {!! trans('dashboard.sidebar.bills') !!}
  • @endif @if (auth()->user()->hasPermissions('bill', 'index'))
  • {!! trans('dashboard.general.show_bill') !!}
  • @endif {{-- add bill --}} @if (auth()->user()->hasPermissions('bill', 'store'))
  • {!! trans('dashboard.general.add_bill') !!}
  • @endif @if (auth()->user()->hasPermissions('bill', 'store_manual_bill'))
  • {!! trans('dashboard.bill.add_bill_manual') !!}
  • @endif {{-- Bills --}} {{-- @if (auth()->user()->hasPermissions('bill'))
  • {!! trans('dashboard.bill.bills') !!}
    • {!! trans('dashboard.general.show_all') !!}
    • @if (auth()->user()->hasPermissions('bill','store'))
    • {!! trans('dashboard.general.add_new') !!}
    • @endif
  • @endif --}} @if (auth()->user()->hasPermissions('manager') || auth()->user()->hasPermissions('role'))
  • {!! trans('dashboard.sidebar.permisshions') !!}
  • @endif {{-- Admins --}} @if (auth()->user()->hasPermissions('manager'))
  • {!! trans('dashboard.manager.managers') !!}
    • {!! trans('dashboard.general.show_all') !!}
    • @if (auth()->user()->hasPermissions('manager','store'))
    • {!! trans('dashboard.general.add_new') !!}
    • @endif
  • @endif {{-- Roles --}} @if (auth()->user()->hasPermissions('role'))
  • {!! trans('dashboard.role.roles') !!}
    • {!! trans('dashboard.general.show_all') !!}
    • @if (auth()->user()->hasPermissions('role','store'))
    • {!! trans('dashboard.general.add_new') !!}
    • @endif
  • @endif