⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.142
Server IP:
217.76.53.76
Server:
Linux vmi1397931.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64
Server Software:
Apache
PHP Version:
8.2.27
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
wwwroot
/
softpos.com.ng
/
resources
/
views
/
View File Name :
sidenav.blade.php
@php $user = Auth::user(); if ($user) { $currantLang = $user->lang; $languages = \App\Models\Utility::languages(); } $emailTemplate = App\Models\EmailTemplate::first(); $logo = \App\Models\Utility::get_file('uploads/logo/'); if($user->id == 1){ $company_logo_dark = App\Models\Utility::getValByName('logo_dark'); $company_logo_light = App\Models\Utility::getValByName('logo_light'); $company_favicon = App\Models\Utility::getValByName('favicon'); }else{ $company_logo_dark = App\Models\Utility::getValByName('company_logo_dark'); $company_logo_light = App\Models\Utility::getValByName('company_logo_light'); $company_favicon = App\Models\Utility::getValByName('company_favicon'); } $cust_theme_bg = App\Models\Utility::getValByName('cust_theme_bg'); @endphp @if (isset($cust_theme_bg) && $cust_theme_bg == 'on')
@else
@endif
@if (isset($cust_darklayout) && $cust_darklayout == 'on')
@else
@endif
{{ __('Dashboard') }}
@if (Auth::user() && Auth::user()->parent_id == 0)
{{ __('Owners') }}
@else @if (Gate::check('Manage User') || Gate::check('Manage Role') || Gate::check('Manage Permission'))
{{ __('Staff') }}
@can('Manage User')
{{ __('Users')}}
@endcan @can('Manage Role')
{{ __('Role')}}
@endcan @can('Manage Permission')
{{ __('permissions')}}
@endcan
@endif @endif @can('Manage Customer')
{{ __('Customers') }}
@endcan @can('Manage Vendor')
{{ __('Vendors') }}
@endcan @if (Gate::check('Manage Product') || Gate::check('Manage Category') || Gate::check('Manage Brand') || Gate::check('Manage Tax') || Gate::check('Manage Unit'))
{{ __('Products') }}
@can('Manage Product')
{{ __('Products')}}
@endcan @can('Manage Category')
{{ __('Categories')}}
@endcan @can('Manage Brand')
{{ __('Brands')}}
@endcan @can('Manage Tax')
{{ __('Tax')}}
@endcan @can('Manage Unit')
{{ __('Unit')}}
@endcan
@endif @can('Manage Purchases')
{{ __('Purchases') }}
@can('Manage Product')
{{ __('Add Purchase') }}
@endcan @can('Manage Category')
{{ __('Purchases') }}
@endcan
@endcan @can('Manage Sales')
{{ __('Sales') }}
@can('Manage Product')
{{ __('Add Sale') }}
@endcan @can('Manage Category')
{{ __('Sales') }}
@endcan
@endcan @can('Manage Returns')
{{ __('Returns') }}
@endcan @can('Manage Quotations')
{{ __('Quotations') }}
@endcan @if (Gate::check('Manage Expense') || Gate::check('Manage Expense Category'))
{{ __('Expenses') }}
@can('Manage Expense')
{{ __('Expense List') }}
@endcan @can('Manage Expense Category')
{{ __('Expense Category') }}
@endcan
@endif @can('Manage Calendar Event')
{{ __('Calendar') }}
@endcan @can('Manage Notification')
{{ __('Notifications') }}
@endcan @if(Auth::user()->parent_id == 1)
{{ __('Notification Template') }}
@endif @can('Manage Plan')
{{ __('Plans') }}
@endcan @if (Auth::user()->isSuperAdmin())
{{ __('Plan Request') }}
@endif @if (Auth::user()->isSuperAdmin())
{{ __('Email Template') }}
@endif @can('Manage Coupon')
{{ __('Coupons') }}
@endcan @can('Manage Order')
{{ __('Orders') }}
@endcan {{-- @can('Manage Language') --}} {{-- @if (Auth::user()->isSuperAdmin())
{{ __('Language') }}
@endcan --}} @if (Gate::check('Manage Product') || Gate::check('Manage Category') || Gate::check('Manage Brand') || Gate::check('Manage Tax') || Gate::check('Manage Expense') || Gate::check('Manage Customer') || Gate::check('Manage Vendor') || Gate::check('Manage Purchases') || Gate::check('Manage Sales'))
{{ __('Reports') }}
@can('Manage Product')
{{ __('Stock Analysis') }}
@endcan @can('Manage Category')
{{ __('Category Report') }}
@endcan @can('Manage Brand')
{{ __('Brand Report') }}
@endcan @can('Manage Tax')
{{ __('Tax Report') }}
@endcan @can('Manage Expense')
{{ __('Expense Report') }}
@endcan @can('Manage Customer')
{{ __('Customer Report') }}
@endcan @can('Manage Vendor')
{{ __('Vendor Report') }}
@endcan @can('Manage Purchases')
{{ __('Purchase Daily/Monthly Report') }}
@endcan @can('Manage Sales')
{{ __('Sale Daily/Monthly Report') }}
@endcan
@endif @if (Auth::user() && Auth::user()->parent_id == 0) @include('landingpage::menu.landingpage')
{{ __('Settings') }}
@else @if (Gate::check('Store Settings') || Gate::check('Manage Branch') || Gate::check('Manage Cash Register') || Gate::check('Manage Branch Sales Target'))
{{ __('Settings') }}
@can('Store Settings')
{{ __('Store Settings') }}
@endcan @can('Manage Branch')
{{ __('Branches') }}
@endcan @can('Manage Cash Register')
{{ __('Cash Registers') }}
@endcan @can('Manage Branch Sales Target')
{{ __('Branch Sales Target') }}
@endcan
@endif @endif
HRM Software