@yield('styles')
@php $user = Auth::user(); @endphp
{{$user->name}} ({{$user->user_type}})
Change password
Logout
{{ csrf_field() }}
@if(Auth::user()->canDo(['create_sale','view_sales','view_stock','view_purchases']))
TOOLS
@endif
@if(Auth::user()->canDo(['create_sale']))
RECORD NEW SALES
@endif @if(Auth::user()->canDo(['view_sales']))
VIEW INVOICES
@endif @if(Auth::user()->canDo(['view_stock']))
VIEW STOCK
@endif @if(Auth::user()->canDo(['view_purchases']))
VIEW PURCHASES
@endif
Navigation
HOME
@if(Auth::user()->canDo(['create_sale']))
RECORD SALES
@endif @if(Auth::user()->canDo(['view_assets']))
ASSETS
@endif @if(Auth::user()->canDo(['view_quotations']))
QUOTATIONS
@endif
CUSTOMERS
@if(Auth::user()->canDo(['view_customer']))
VIEW CUSTOMERS
{{--
ACTIVE CUSTOMERS
--}} {{--
CUSTOMER SMS
--}} @endif @if(Auth::user()->canDo(['create_customer']))
CREATE CUSTOMER
@endif
CUSTOMER REQUESTS
{{--
CUSTOMER RETENTION
--}}
@if(Auth::user()->canDo(['view_assessments','view_focus_areas']))
FEEDBACK
@endif
@if(Auth::user()->canDo(['view_assessments']))
ASSESSMENTS
@endif @if(Auth::user()->canDo(['view_focus_areas']))
FOCUS AREAS
@endif
@if(Auth::user()->canDo(['view_categories','view_market_products','view_orders']))
MARKET PLACE
@endif
@if(Auth::user()->canDo(['view_categories']))
Categories
@endif @if(Auth::user()->canDo(['view_market_products']))
Products
@endif @if(Auth::user()->canDo(['view_orders']))
Orders
@endif
@if(Auth::user()->canDo(['view_employees','view_payroll']))
PAYROLL
@if(Auth::user()->canDo(['view_employees']))
Employees
@endif @if(Auth::user()->canDo(['view_payroll']))
Payrolls
@endif
@endif
@if(Auth::user()->canDo(['view_inventory','create_inventory']))
INVENTORY
@endif
@if(Auth::user()->canDo(['create_inventory']))
Create Inventory
@endif @if(Auth::user()->canDo(['view_inventory']))
Inventory Records
Summary
Report
@endif
@if(Auth::user()->canDo(['view_transactions']))
BANK TRANSACTIONS
@endif @if(Auth::user()->canDo(['view_expenses']))
EXPENSES
@endif @if(Auth::user()->canDo(['view_purchases']))
PURCHASES
@endif
@if(Auth::user()->canDo(['manage_prices','view_products','add_products','view_stock']))
STOCK
@endif
@if(Auth::user()->canDo(['view_products','view_stock','add_products'])) @if(Auth::user()->canDo(['add_products']))
Add Products
@endif
Stock levels
Stock records
Stock levels then
Stock sold
@endif @if(Auth::user()->canDo(['manage_prices']))
Price tags
@endif
@if(Auth::user()->canDo(['view_products','view_locations','view_user_locations']) || Auth::user()->user_type=='admin' )
SETTINGS
@endif
@if(Auth::user()->canDo(['view_locations']))
Locations
@endif @if(Auth::user()->canDo(['view_user_locations']))
User locations
@endif @if(Auth::user()->canDo(['view_users'])|| Auth::user()->user_type=='admin')
Users
@endif
Reminders
Audit trails
@if ($errors->any())
@foreach ($errors->all() as $error)
{{ $error }}
@endforeach
@endif
@yield('content')
@stack('scripts')