Financial Statements Button translateabled (#9032)
This commit is contained in:
parent
d702cbfbfa
commit
44c1a610a1
@ -48,15 +48,15 @@ erpnext.financial_statements = {
|
||||
report.page.add_inner_button(__("Balance Sheet"), function() {
|
||||
var filters = report.get_values();
|
||||
frappe.set_route('query-report', 'Balance Sheet', {company: filters.company});
|
||||
}, 'Financial Statements');
|
||||
}, __('Financial Statements'));
|
||||
report.page.add_inner_button(__("Profit and Loss"), function() {
|
||||
var filters = report.get_values();
|
||||
frappe.set_route('query-report', 'Profit and Loss Statement', {company: filters.company});
|
||||
}, 'Financial Statements');
|
||||
}, __('Financial Statements'));
|
||||
report.page.add_inner_button(__("Cash Flow Statement"), function() {
|
||||
var filters = report.get_values();
|
||||
frappe.set_route('query-report', 'Cash Flow', {company: filters.company});
|
||||
}, 'Financial Statements');
|
||||
}, __('Financial Statements'));
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user