export const useProcurements = () => {
  return useState<any[]>('procurements', () => ([
    {
      menu: true,
      text: 'Procurements',
      translatedText: '', 
      value: 'procurements', 
      link: '#', 
      icon: 'menu-icon tf-icons ti ti-receipt-2', //ti-garden-cart
      active: false,
      child: true,
      children: [
        {
          text: 'Purchase Orders',
          translatedText: '', 
          value: 'purchase_orders', 
          link: '/procurements/orders', 
          active: false
        },
        {
          text: 'Bills & Debit Notes',
          translatedText: '', 
          value: 'purchase_invoices', 
          link: '/procurements/invoices', 
          active: false
        },
        {
          text: 'Vendor Payments',
          translatedText: '', 
          value: 'vendor_payments', 
          link: '/procurements/payments', 
          active: false
        },
        {
          text: 'Material Receipts',
          translatedText: '', 
          value: 'material_receipts', 
          link: '/procurements/receipts', 
          active: false
        },
        {
          text: 'Vendor RMA',
          translatedText: '', 
          value: 'vendor_rma', 
          link: '/procurements/vendor-rma', 
          active: false
        },
        {
          text: 'Vendor Returns',
          translatedText: '', 
          value: 'vendor_returns', 
          link: '/procurements/returns', 
          active: false
        },
      ]
    },
  ]))
}