mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-16 11:39:18 +00:00
Use include directive to embed common print format
This commit is contained in:
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
|
import frappe
|
||||||
from erpnext.accounts.report.financial_statements import (process_filters, get_period_list, get_columns, get_data)
|
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):
|
def execute(filters=None):
|
||||||
process_filters(filters)
|
process_filters(filters)
|
||||||
period_list = get_period_list(filters.fiscal_year, filters.periodicity, from_beginning=True)
|
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 frappe.utils import flt
|
||||||
from erpnext.accounts.report.financial_statements import (process_filters, get_period_list, get_columns, get_data)
|
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):
|
def execute(filters=None):
|
||||||
process_filters(filters)
|
process_filters(filters)
|
||||||
period_list = get_period_list(filters.fiscal_year, filters.periodicity)
|
period_list = get_period_list(filters.fiscal_year, filters.periodicity)
|
||||||
|
|||||||
Reference in New Issue
Block a user