2018-07-15 11:41:27 +00:00
|
|
|
import frappe from 'frappejs';
|
|
|
|
import { _ } from 'frappejs/utils';
|
2018-06-15 15:46:14 +00:00
|
|
|
|
2018-07-15 11:41:27 +00:00
|
|
|
export default {
|
|
|
|
async getTitle() {
|
|
|
|
const accountingSettings = await frappe.getSingle('AccountingSettings');
|
|
|
|
return accountingSettings.companyName;
|
2018-06-04 11:00:46 +00:00
|
|
|
},
|
2018-07-15 11:41:27 +00:00
|
|
|
groups: [
|
|
|
|
{
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
label: _('ToDo'), route: '#/list/ToDo'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: _('Event'), route: '#/list/Event'
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: _('Masters'),
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
label: _('Item'), route: '#/list/Item'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: _('Party'), route: '#/list/Party'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: _('Invoice'), route: '#/list/Invoice'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: _('Tax'), route: '#/list/Tax'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: _('Account'), route: '#/list/Account'
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: _('Reports'),
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
label: _('General Ledger'), route: '#/report/general-ledger'
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
};
|