Use include directive to embed common print format
This commit is contained in:
parent
db4ba39824
commit
6cc5babd2e
1
erpnext/accounts/report/balance_sheet/balance_sheet.html
Normal file
1
erpnext/accounts/report/balance_sheet/balance_sheet.html
Normal file
@ -0,0 +1 @@
|
||||
{% include "accounts/report/financial_statements.html" %}
|
@ -5,8 +5,6 @@ from __future__ import unicode_literals
|
||||
import frappe
|
||||
from erpnext.accounts.report.financial_statements import (process_filters, get_period_list, get_columns, get_data)
|
||||
|
||||
print_path = "accounts/report/financial_statements.html"
|
||||
|
||||
def execute(filters=None):
|
||||
process_filters(filters)
|
||||
period_list = get_period_list(filters.fiscal_year, filters.periodicity, from_beginning=True)
|
||||
|
@ -0,0 +1 @@
|
||||
{% include "accounts/report/financial_statements.html" %}
|
@ -7,8 +7,6 @@ from frappe import _
|
||||
from frappe.utils import flt
|
||||
from erpnext.accounts.report.financial_statements import (process_filters, get_period_list, get_columns, get_data)
|
||||
|
||||
print_path = "accounts/report/financial_statements.html"
|
||||
|
||||
def execute(filters=None):
|
||||
process_filters(filters)
|
||||
period_list = get_period_list(filters.fiscal_year, filters.periodicity)
|
||||
|
Loading…
x
Reference in New Issue
Block a user