2
0
mirror of https://github.com/frappe/books.git synced 2024-11-10 15:50:56 +00:00
books/reports/BalanceSheet/BalanceSheetView.js
Faris Ansari 180825243f Reports
- Common FinancialStatementsView
- Add BalanceSheet
- Add Fiscal Year in Accounting Settings
2018-04-24 13:28:57 +05:30

17 lines
637 B
JavaScript

const frappe = require('frappejs');
const FinancialStatementsView = require('../FinancialStatements/FinancialStatementsView');
module.exports = class BalanceSheetView extends FinancialStatementsView {
constructor() {
super({
title: frappe._('Balance Sheet'),
method: 'balance-sheet',
filterFields: [
{fieldtype: 'Date', label: 'To Date', required: 1},
{fieldtype: 'Select', options: ['Monthly', 'Quarterly', 'Half Yearly', 'Yearly'],
label: 'Periodicity', fieldname: 'periodicity', default: 'Monthly'}
]
});
}
}