export const useSales = () => { return useState('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: 'Fulfillment Orders', translatedText: '', value: 'sales_fulfillment_orders', link: '/sales/fulfillment-orders', active: false }, { text: 'Invoices & Credit Notes', translatedText: '', value: 'sales_invoices', link: '/sales/invoices', 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: '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 }, ] }, ] }, ])) }