mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
17 lines
637 B
JavaScript
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'}
|
||
|
]
|
||
|
});
|
||
|
}
|
||
|
}
|