@can('admin_dashboard') {{translate('Dashboard')}} @endcan @canany(['add_new_product', 'show_all_products','show_in_house_products','show_seller_products','show_digital_products','product_bulk_import','product_bulk_export','view_product_categories', 'view_all_brands','view_product_attributes','view_colors','view_product_reviews'])
{{translate('Products')}}
@can('add_new_product')
{{translate('Add New product')}}
@endcan @can('show_all_products')
{{ translate('All Products') }}
@endcan @can('product_bulk_export')
{{ translate('Bulk Export') }}
@endcan @can('view_product_categories')
{{ translate('Category') }}
@endcan @can('view_product_attributes')
{{ translate('Attribute') }}
@endcan @can('view_colors')
{{ translate('Colors') }}
@endcan @can('view_product_reviews')
{{ translate('Product Reviews') }}
@endcan
@endcanany {{-- stocks--}} @canany(['add_new_stock', 'show_all_stock'])
{{translate('Stocks')}}
@endcanany
{{translate('Marketers')}}
{{translate('Marketers')}}
{{translate('Ranks')}}
{{translate('Sales')}}
{{translate('Settings')}}
@canany(['view_all_orders', 'view_inhouse_orders','view_seller_orders','view_pickup_point_orders'])
{{translate('Sales')}}
@can('view_all_orders')
{{translate('All Orders')}}
@endcan
@endcanany @canany(['view_refund_requests','view_approved_refund_requests','view_rejected_refund_requests','refund_request_configuration'])
{{ translate('Refunds') }}
@can('view_refund_requests')
{{translate('Refund Requests')}}
@endcan @can('view_approved_refund_requests')
{{ translate('Approved Refunds') }}
@endcan @can('view_rejected_refund_requests')
{{ translate('Rejected Refunds') }}
@endcan @can('refund_request_configuration')
{{ translate('Refund Configuration') }}
@endcan
@endcanany @canany(['view_all_customers','view_classified_products','view_classified_packages'])
{{ translate('Customers') }}
@can('view_all_customers')
{{translate('Customer list')}}
@endcan
@endcanany {{-- --}} {{--
--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- {{ translate('Uploaded Files') }}--}} {{-- --}} {{-- --}} {{--
--}} @canany(['in_house_product_sale_report','seller_products_sale_report','products_stock_report','product_wishlist_report','user_search_report','commission_history_report','wallet_transaction_report'])
{{translate('Reports')}}
@can('in_house_product_sale_report')
{{translate('In House Product Sale')}}
@endcan @can('products_stock_report')
{{ translate('Products Stock') }}
@endcan @can('product_wishlist_report')
{{ translate('Products wishlist') }}
@endcan
@endcanany @canany(['view_blogs','view_blog_categories'])
{{ translate('Blog System') }}
@can('view_blogs')
{{translate('All Posts')}}
@endcan @can('view_blog_categories')
{{ translate('Categories') }}
@endcan
@endcanany @canany(['view_all_flash_deals','send_newsletter','send_bulk_sms','view_all_subscribers','view_all_coupons'])
{{ translate('Marketing') }}
@can('send_newsletter')
{{ translate('Newsletters') }}
@endcan @can('view_all_subscribers')
{{ translate('Subscribers') }}
@endcan @if (get_setting('coupon_system') == 1 && auth()->user()->can('view_all_coupons') )
{{ translate('Coupon') }}
@endif
@endcanany @canany(['view_all_support_tickets','view_all_product_conversations','view_all_product_queries'])
{{ translate('Support') }}
@can('view_all_support_tickets') @php $support_ticket = DB::table('tickets') ->where('viewed', 0) ->select('id') ->count(); @endphp
{{translate('Ticket')}} @if($support_ticket > 0) {{ $support_ticket }}@endif
@endcan @can('view_all_product_conversations') @php $conversation = \App\Models\Conversation::where('receiver_id', Auth::user()->id)->where('receiver_viewed', '1')->get(); @endphp
{{ translate('Product Conversations') }} @if (count($conversation) > 0) {{ count($conversation) }}@endif
@endcan @if (get_setting('product_query_activation') == 1) @can('view_all_product_queries')
{{ translate('Product Queries') }}
@endcan @endif
@endcanany {{-- --}} @canany(['view_all_manual_payment_methods','view_all_offline_wallet_recharges','view_all_offline_customer_package_payments','view_all_offline_seller_package_payments'])
{{ translate('Offline Payment') }}
@can('view_all_manual_payment_methods')
{{translate('Manual Payment Methods')}}
@endcan {{-- @can('view_all_offline_wallet_recharges')--}} {{--
--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- {{translate('Offline Wallet Recharge')}}--}} {{-- --}} {{-- --}} {{--
--}} {{-- @endcan--}} {{-- @if(get_setting('classified_product') == 1 && auth()->user()->can('view_all_offline_customer_package_payments'))--}} {{--
--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- {{ translate('Offline Customer Package Payments') }}--}} {{-- --}} {{-- --}} {{--
--}} {{-- @endif--}}
@endcanany {{-- --}} {{-- @canany(['club_point_configurations','set_club_points','view_users_club_points'])--}} {{--
--}} {{-- --}} {{-- --}} {{-- --}} {{-- {{ translate('Club Point System') }}--}} {{-- --}} {{-- --}} {{--
--}} {{-- --}} {{-- @can('club_point_configurations')--}} {{--
--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- {{translate('Club Point Configurations')}}--}} {{-- --}} {{-- --}} {{--
--}} {{-- @endcan--}} {{-- @can('set_club_points')--}} {{--
--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- {{translate('Set Product Point')}}--}} {{-- --}} {{-- --}} {{--
--}} {{-- @endcan--}} {{-- @can('view_users_club_points')--}} {{--
--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- {{translate('User Points')}}--}} {{-- --}} {{-- --}} {{--
--}} {{-- @endcan--}} {{--
--}} {{-- --}} {{--
--}} {{-- @endcanany--}} {{-- --}} {{-- @canany(['otp_configurations','sms_templates','sms_providers_configurations','send_bulk_sms'])--}} {{--
--}} {{-- --}} {{-- --}} {{-- --}} {{-- {{ translate('OTP System') }}--}} {{-- --}} {{-- --}} {{--
--}} {{-- --}} {{-- @can('otp_configurations')--}} {{--
--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- {{translate('OTP Configurations')}}--}} {{-- --}} {{-- --}} {{--
--}} {{-- @endcan--}} {{-- @can('sms_templates')--}} {{--
--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- {{translate('SMS Templates')}}--}} {{-- --}} {{-- --}} {{--
--}} {{-- @endcan--}} {{-- @can('sms_providers_configurations')--}} {{--
--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- {{translate('User Points')}}--}} {{-- --}} {{-- --}} {{--
--}} {{-- @endcan--}} {{--
--}} {{-- --}} {{--
--}} {{-- @endcanany--}} @canany(['header_setup','footer_setup','view_all_website_pages','website_appearance'])
{{ translate('Website Setup') }}
@can('header_setup')
{{translate('Header')}}
@endcan @can('footer_setup')
{{translate('Footer')}}
@endcan @can('view_all_website_pages')
{{translate('Pages')}}
@endcan @can('website_appearance')
{{translate('Appearance')}}
@endcan
@endcanany @canany(['general_settings','features_activation','language_setup','currency_setup','vat_&_tax_setup', 'pickup_point_setup','smtp_settings','payment_methods_configurations','order_configuration','file_system_&_cache_configuration', 'social_media_logins','facebook_chat','facebook_comment','analytics_tools_configuration','google_recaptcha_configuration','google_map_setting', 'google_firebase_setting','shipping_configuration','shipping_country_setting','manage_shipping_states','manage_shipping_cities','manage_zones','manage_carriers'])
{{ translate('Setup & Configurations') }}
@can('general_settings')
{{translate('General Settings')}}
@endcan @can('language_setup')
{{translate('Languages')}}
@endcan @can('currency_setup')
{{translate('Currency')}}
@endcan @can('vat_&_tax_setup')
{{translate('Vat & TAX')}}
@endcan @can('smtp_settings')
{{translate('SMTP Settings')}}
@endcan @can('payment_methods_configurations')
{{translate('Payment Methods')}}
@endcan @can('order_configuration')
{{translate('Order Configuration')}}
@endcan @can('file_system_&_cache_configuration')
{{translate('File System & Cache Configuration')}}
@endcan @can('social_media_logins')
{{translate('Social media Logins')}}
@endcan @canany(['facebook_chat','facebook_comment'])
{{translate('Facebook')}}
@can('facebook_chat')
{{translate('Facebook Chat')}}
@endcan @can('facebook_comment')
{{translate('Facebook Comment')}}
@endcan
@endcan @canany(['analytics_tools_configuration','google_recaptcha_configuration','google_map_setting','google_firebase_setting'])
{{translate('Google')}}
@can('analytics_tools_configuration')
{{translate('Analytics Tools')}}
@endcan @can('google_recaptcha_configuration')
{{translate('Google reCAPTCHA')}}
@endcan @can('google_map_setting')
{{translate('Google Map')}}
@endcan @can('google_firebase_setting')
{{translate('Google Firebase')}}
@endcan
@endcan @canany(['shipping_configuration','shipping_country_setting','manage_shipping_states','manage_shipping_cities','manage_zones','manage_carriers'])
{{translate('Shipping')}}
@can('shipping_configuration')
{{translate('Shipping Configuration')}}
@endcan @can('shipping_country_setting')
{{translate('Shipping Countries')}}
@endcan @can('manage_shipping_states')
{{translate('Shipping States')}}
@endcan @can('manage_shipping_cities')
{{translate('Shipping Cities')}}
@endcan @can('manage_zones')
{{translate('Shipping Zones')}}
@endcan @can('manage_carriers')
{{translate('Shipping Carrier')}}
@endcan
@endcan
@endcanany @canany(['view_all_staffs','view_staff_roles'])
{{ translate('Staffs') }}
@can('view_all_staffs')
{{translate('All staffs')}}
@endcan @can('view_staff_roles')
{{translate('Staff permissions')}}
@endcan
@endcanany