export const useAccountingMenu = () => { return useState('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: 'OPOS-Liste (Offene Posten)', translatedText: '', value: 'opos_list', link: '/accounting/opos', 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: 'Banking', translatedText: '', value: 'banking', link: '/accounting/banking', active: false, }, { text: 'Bankabruf', translatedText: '', value: 'bank_transactions', link: '/accounting/bank-transactions', active: false, }, { text: 'Bankabgleich', translatedText: '', value: 'bank_reconciliation', link: '/accounting/bank-reconciliation', active: false, }, { text: 'Amazon Zahlungsabgleich', 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: 'Amazon Ads Rechnungen', translatedText: '', value: 'amazon_ads_invoices', link: '/accounting/amazon-ads-invoices', active: false, }, { text: 'eBay Zahlungsabgleich', 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, } ] }, ])) }