export const useSales = () => {
  return useState<any[]>('sales', () => ([
    {
      menu: true,
      text: 'Sales',
      translatedText: '', 
      value: 'sales', 
      link: '#', 
      icon: 'menu-icon tf-icons ti ti-shopping-cart', //ti-file-invoice
      active: false,
      child: true,
      children: [
        {
          text: 'Sales Orders',
          translatedText: '',
          value: 'sales_orders',
          link: '/sales/orders',
          active: false
        },
        {
          text: 'Quick Order',
          translatedText: '',
          value: 'quick_order',
          link: '/partners/partners/add',
          active: false
        },
        {
          text: 'Fulfillment Orders',
          translatedText: '', 
          value: 'sales_fulfillment_orders', 
          link: '/sales/fulfillment-orders', 
          active: false
        },
        {
          text: 'Customer Payments',
          translatedText: '', 
          value: 'customer_payments', 
          link: '/sales/payments', 
          active: false
        },
        {
          text: 'Shipments',
          translatedText: '', 
          value: 'shipments_and_generation', 
          link: '/sales/shipments', 
          active: false,
          child: true,
          children: [
            {
              text: 'Shipments',
              translatedText: '', 
              value: 'shipments', 
              link: '/sales/shipments', 
              active: false
            },
            {
              text: 'Generate Shipments',
              translatedText: '', 
              value: 'generate_shipments', 
              link: '/generate-shipments', 
              active: false
            },
          ]
        },
        {
          text: 'RMA',
          translatedText: '',
          value: 'rma_section',
          link: '#',
          active: false,
          child: true,
          children: [
            {
              text: 'Quick RMA Return',
              translatedText: '',
              value: 'quick_rma_return',
              link: '/sales/orders/return',
              active: false
            },
            {
              text: 'Customer RMA',
              translatedText: '',
              value: 'customer_rma',
              link: '/sales/customer-rma',
              active: false
            },
            {
              text: 'Customer Returns',
              translatedText: '',
              value: 'customer_returns',
              link: '/sales/returns',
              active: false
            }
          ]
        },
        {
          text: 'Marketings',
          translatedText: '', 
          value: 'marketings', 
          link: '#', 
          active: false,
          child: true,
          children: [
            {
              text: 'Marketing Channels',
              translatedText: '', 
              value: 'marketing_channels', 
              link: '/sales/channels', 
              active: false
            },
            {
              text: 'Marketing Campaigns',
              translatedText: '', 
              value: 'marketing_campaigns', 
              link: '/sales/campaigns', 
              active: false
            },
          ]
        },
      ]
    },
  ]))
}