CRM
@can('show my target')
-
@livewire('control-header-link-component', ['route_link'=>'/crm','link' => __('messages.home') ,"fa"=>"fa-home" ,"active"=>($active=="crm")])
@endcan
{{-- @can('show monthly_target_points')
-
@livewire('control-header-link-component', ['route_link'=>'/crm/targets','link' => __('messages.Targets') ,"fa"=>"fas fa-bullseye","active"=>($active=="targets")])
@endcan --}}
@can('show tasks')
-
@livewire('control-header-link-component', ['route_link'=>'/crm/tasks','link' => __('messages.tasks') ,"fa"=>"fa-tasks","active"=>($active=="tasks")])
@endcan
@can('show opportunities')
-
@livewire('control-header-link-component', ['route_link'=>route('crm.opportunities'),'link' => __('messages.opportunities') ,
"fa"=>"fa-dice-d6","active"=>($active=="opportunities")])
@endcan
@canany(['show leads' ,'show lead_customers'])
-
@livewire('control-header-link-component', ['route_link'=>'/crm/leads','link' => __('messages.Leads') ,"fa"=>"fa-podcast","active"=>($active=="leads")])
@endcanany
@can('show activities')
-
@livewire('control-header-link-component', ['route_link'=>'/crm/activities','link' => __('messages.Activities') ,"fa"=>"fa-headset","active"=>($active=="activities")])
@endcan
@can('show corporates')
-
@livewire('control-header-link-component', ['route_link'=>'/crm/corporates','link' => __('messages.Corporates') ,"fa"=>"fa-school","active"=>($active=="corporates")])
@endcan
@can('show customers')
-
@livewire('control-header-link-component', ['route_link'=>'/crm/contacts/search','link' => trans_choice('messages.Customers',5) ,"fa"=>"fa-users","active"=>($active=="contacts")])
@endcan
@hasanyrole('Sales Supervisor|super-admin')
-
@livewire('control-header-link-component', ['route_link'=>'/crm/contacts/sales_followup','link' => __('messages.sales_followup') ,"fa"=>"fas fa-chart-bar","active"=>($active=="SalesFollowup")])
@endhasanyrole
{{-- @can('manage_requests_follow')
-
@livewire('control-header-link-component', ['route_link'=> route('crm.my_request_follow_up.allRequests'),'link' => __('messages.requestsFollowUp') ,"fa"=>"fas fa-thumbtack","active"=>($active=="requests_follow_up")])
@endcan --}}
{{-- --}}
@can('show tickets')
-
@livewire('control-header-link-component', ['route_link'=>'/crm/tickets','link' => __('messages.tickets') ,"fa"=>"fa-ticket-alt","active"=>($active=="tickets")])
@endcan
@can('show orders')
-
@livewire('control-header-link-component', ['route_link'=>'/crm/orders','link' => __('messages.Orders') ,"fa"=>"fa-file-invoice","active"=>($active=="orders")])
@endcan
@can('show all receipts')
-
@livewire('control-header-link-component', ['route_link'=>'/crm/receipts','link' => __('messages.Receipts') ,"fa"=>"fa-file-invoice","active"=>($active=="receipts")])
@endcan
@can('show offers')
-
@livewire('control-header-link-component', ['route_link'=>'/crm/offers','link' => trans_choice('messages.Offers',5) ,"fa"=>"fa-percent","active"=>($active=="offers")])
@endcan
@can('show packages')
-
@livewire('control-header-link-component', ['route_link'=>'/crm/packages','link' => trans_choice('messages.Packages',5) ,"fa"=>"fa-box-open","active"=>($active=="packages")])
@endcan
@can('show installment_packages')
-
@livewire('control-header-link-component', ['route_link'=>'/crm/installment_packages','link' => __('messages.Installment Packages') ,"fa"=>"fas fa-th-large","active"=>($active=="installment_packages")])
@endcan