mirror of
https://github.com/frappe/books.git
synced 2024-11-08 14:50:56 +00:00
feat: add Export to P&L, BS and TB
This commit is contained in:
parent
cb190eed94
commit
89bc652571
@ -1,4 +1,5 @@
|
||||
import frappe from 'frappejs';
|
||||
import getCommonExportActions from '../commonExporter';
|
||||
|
||||
export default {
|
||||
title: 'Balance Sheet',
|
||||
@ -25,6 +26,7 @@ export default {
|
||||
default: 'Monthly',
|
||||
},
|
||||
],
|
||||
actions: getCommonExportActions('balance-sheet'),
|
||||
getColumns(data) {
|
||||
const columns = [
|
||||
{ label: 'Account', fieldtype: 'Data', fieldname: 'account', width: 2 },
|
||||
|
@ -1,4 +1,5 @@
|
||||
import frappe from 'frappejs';
|
||||
import getCommonExportActions from '../commonExporter';
|
||||
|
||||
const title = 'Profit and Loss';
|
||||
|
||||
@ -39,6 +40,7 @@ export default {
|
||||
fieldname: 'periodicity',
|
||||
},
|
||||
],
|
||||
actions: getCommonExportActions('profit-and-loss'),
|
||||
getColumns(data) {
|
||||
const columns = [
|
||||
{ label: 'Account', fieldtype: 'Data', fieldname: 'account', width: 2 },
|
||||
|
@ -1,4 +1,5 @@
|
||||
import frappe from 'frappejs';
|
||||
import getCommonExportActions from '../commonExporter';
|
||||
|
||||
const title = 'Trial Balance';
|
||||
|
||||
@ -30,7 +31,7 @@ export default {
|
||||
},
|
||||
},
|
||||
],
|
||||
actions: [],
|
||||
actions: getCommonExportActions('trial-balance'),
|
||||
getColumns(data) {
|
||||
const columns = [
|
||||
{ label: 'Account', fieldtype: 'Data', fieldname: 'account', width: 2 },
|
||||
|
Loading…
Reference in New Issue
Block a user