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,
        }
      ]
    },
  ]))
}
