@if(str_replace('_', '-', app()->getLocale()) == 'ar')
@endif
{{ config('app.name') }}
@auth @canany(['add customer','update customer','view customer','delete customer'])
{{ __('Customers') }}
@endcanany @canany(['view project', 'update project', 'add project', 'close project'])
{{ __('Projects') }}
@endcanany @canany(['view invoice','add invoice','update invoice'])
{{ __('Invoices') }}
@endcanany @if(Auth::user()->hasRole('super-admin','admin') or Auth::user()->hasAnyPermission('view income','add income','update income'))
{{ __('Incomes') }}
@endif @canany(['add expense','update expense','view expense','delete expense'])
{{ __('Expenses') }}
@endcanany @canany(['add asset','update asset','view asset','delete asset'])
{{ __('Assets') }}
@endcanany @canany(['add purchase','update purchase','view purchase','delete purchase'])
{{ __('Purchasing') }}
@endcanany @canany(['add warehouse','update warehouse','view warehouse','delete warehouse'])
{{ __('Warehouse') }}
@endcanany @canany(['add supplier','update supplier','view supplier','delete supplier'])
{{ __('Suppliers') }}
@endcanany @canany(['add user','update user','view user','delete user'])
{{ __('Users') }}
@endcanany @can('view report')
{{ __('Reports') }}
@endcan @endauth
@guest
{{ __('Login') }}
@else
{{ Auth::user()->name }}
{{ __('Logout') }}
@csrf
{{ app()->getLocale() }}
en
ar
@endguest
@yield('content')
@yield('scripts')