export const useAccountingMenu = () => {
  return useState<any[]>('accounting_menu', () => ([
    {
      menu: true,
      text: 'Accounting',
      translatedText: '',
      value: 'accounting_menu',
      link: '#',
      icon: 'menu-icon tf-icons ti ti-file-invoice',
      active: false,
      child: true,
      children: [
        {
          text: 'Invoices & Credit Notes',
          translatedText: '',
          value: 'accounting_invoices',
          link: '/sales/invoices',
          active: false,
        },
        {
          text: 'Generate Invoices from Orders',
          translatedText: '',
          value: 'generate_invoices_from_orders',
          link: '/generate-invoices-from-orders',
          active: false,
        },
        {
          text: 'Incoming Invoices',
          translatedText: '',
          value: 'incoming_invoices',
          link: '/accounting/incoming-invoices',
          active: false,
        },
        {
          text: 'Amazon Abrechnungen',
          translatedText: '',
          value: 'amazon_settlements',
          link: '/accounting/amazon-settlements',
          active: false,
        },
        {
          text: 'Amazon Bestellabgleich',
          translatedText: '',
          value: 'amazon_orders_check',
          link: '/accounting/amazon-orders-check',
          active: false,
        },
        {
          text: 'eBay Abrechnungen',
          translatedText: '',
          value: 'ebay_settlements',
          link: '/accounting/ebay-settlements',
          active: false,
        },
        {
          text: 'eBay Bestellabgleich',
          translatedText: '',
          value: 'ebay_orders_check',
          link: '/accounting/ebay-orders-check',
          active: false,
        }
      ]
    },
  ]))
}
