{
 "absolute_value": 0,
 "align_labels_right": 0,
 "creation": "2026-03-30 20:20:56.195531",
 "custom_format": 1,
 "default_print_language": "en",
 "disabled": 0,
 "docstatus": 0,
 "doctype": "Print Format",
 "font_size": 14,
 "html": "{%\n\tconst report_columns = report\n\t\t.get_columns_for_print()\n\t\t.filter(col => !col.hidden);\n\n\tif (report_columns.length > 8) {\n\t\tfrappe.throw(\n\t\t\t__(\"Too many columns. Export the report and print it using a spreadsheet application.\")\n\t\t);\n\t}\n%}\n\n<style>\n    body, html {\n        margin-top: 10px;\n        padding: 0;\n        width: 100%;\n        height: auto;\n        font-family: Inter, sans-serif;\n        font-size: 14px;\n        line-height: 21px;\n        color: #171717;\n    }\n\n    .title-letter-spacing {\n        font-size: 14px;\n        font-weight: 600;\n        color: #171717;\n    }\n\n    .financial-statements-important td { \n        font-weight: bold; \n    }\n\n    .report-meta {\n        margin: 10px 0 14px;\n        padding: 8px 10px;\n        color: #171717;\n        display: flex;\n        justify-content: space-between;\n        align-items: flex-start;\n        gap: 12px;\n        font-size: 14px;\n    }\n\n    .report-meta .left,\n    .report-meta .right {\n        display: flex;\n        flex-direction: column;\n    }\n\n    .report-meta .filter-row {\n        margin-bottom: 4px;\n        line-height: 1.5;\n    }\n\n    .report-meta strong {\n        color: #7c7c7c;\n        font-weight: 500;\n    }\n\n    .report-subtitle {\n        margin: 10px 0 14px;\n    }\n\n    .text-center { text-align: center; }\n\n    .text-right {\n        text-align: right;\n        font-variant-numeric: tabular-nums;\n    }\n\n    .text-left { text-align: left; }\n\n    .text-bold { font-weight: 700; }\n\n    .text-muted { color: #7c7c7c; }\n\n    .report-table table {\n        width: 100%;\n        table-layout: fixed;\n        border-collapse: separate;\n        border-spacing: 0;\n    }\n\n    .report-table th,\n    .report-table td {\n        padding: 6px 8px;\n        font-size: 14px;\n        border-top: 1px solid #ededed;\n        border-bottom: 1px solid #ededed;\n    }\n\n    .report-table thead th {\n        background: #f8f8f8;\n        font-weight: 420;\n        color: #7c7c7c;\n    }\n\n    .report-table tbody td {\n        vertical-align: top;\n        word-wrap: break-word;\n        border-top: none;\n        border-bottom: 1px solid #ededed;\n    }\n    \n    .report-table tbody tr {\n        height: 43px;\n    }\n\n    .report-table thead tr:first-child th:first-child {\n        border-left: 1px solid #ededed;\n        border-top-left-radius: 10px;\n        border-bottom-left-radius: 10px;\n    }\n\n    .report-table thead tr:first-child th:last-child {\n        border-right: 1px solid #ededed;\n        border-top-right-radius: 10px;\n        border-bottom-right-radius: 10px;\n    }\n\n    .report-table tbody tr:last-child td {\n        border-bottom: none;\n    }\n\n    @media print {\n        @page {\n            size: A4;\n            margin-top: 10mm;\n        }\n\n        thead {\n            display: table-header-group;\n        }\n\n        tfoot {\n            display: table-footer-group;\n        }\n\n        tr {\n            page-break-inside: avoid;\n        }\n    }\n</style>\n\n<div>\n\n\t<div class=\"text-center\" style=\"margin-bottom: 12px;\">\n\t\t<div class=\"title-letter-spacing\">\n\t\t\t{%= __(report.report_name) %}\n\t\t</div>\n\t</div>\n\n\t{% if (subtitle && subtitle.trim()) { %}\n        <div class=\"report-subtitle\">\n            {{ subtitle }}\n        </div>\n    {% } else { %}\n        <div class=\"report-meta\">\n            <div class=\"left\">\n                <div>\n                    <strong>{%= __(\"Company\") %}:</strong> {%= filters.company %}\n                </div>\n                <div>\n                    <strong>{%= __(\"Currency\") %}:</strong>\n                    {%= filters.presentation_currency || erpnext.get_currency(filters.company) %}\n                </div>\n            </div>\n\n            <div class=\"right text-right\">\n                <div>\n                    <strong>{%= __(\"Period Based On\") %}:</strong>\n                    {%= filters.filter_based_on %}\n                </div>\n\n                {% if (filters.filter_based_on === \"Fiscal Year\") { %}\n                    <div>\n                        <strong>{%= __(\"Start Year\") %}:</strong> {%= filters.from_fiscal_year %}\n                    </div>\n                    <div>\n                        <strong>{%= __(\"End Year\") %}:</strong> {%= filters.to_fiscal_year %}\n                    </div>\n\n                {% } else if (filters.filter_based_on === \"Date Range\") { %}\n                    <div>\n                        <strong>{%= __(\"Start Date\") %}:</strong>\n                        {%= frappe.datetime.str_to_user(filters.period_start_date) %}\n                    </div>\n                    <div>\n                        <strong>{%= __(\"End Date\") %}:</strong>\n                        {%= frappe.datetime.str_to_user(filters.period_end_date) %}\n                    </div>\n                {% } %}\n            </div>\n        </div>\n    {% } %}\n\n\t<div class=\"report-table\">\n    \t<table>\n    \t\t<thead>\n    \t\t\t<tr>\n    \t\t\t\t{% for (let i = 0, l = report_columns.length; i < l; i++) { %}\n    \t\t\t\t\t{%\n    \t\t\t\t\t\tconst col = report_columns[i];\n    \t\t\t\t\t\tconst align = i === 0 ? \"text-left\" : \"text-right\";\n    \t\t\t\t\t%}\n    \t\t\t\t\t<th class=\"{%= align %}\">\n    \t\t\t\t\t\t{%= col.label %}\n    \t\t\t\t\t</th>\n    \t\t\t\t{% } %}\n    \t\t\t</tr>\n    \t\t</thead>\n    \n    \t\t<tbody>\n    \t\t\t{% for (let j = 0, k = data.length; j < k; j++) { %}\n    \t\t\t\t{%\n    \t\t\t\t\tconst row = data[j];\n    \n    \t\t\t\t\tlet row_class = \"\";\n    \t\t\t\t\tif (!(row.parent_account || row.parent_section)) {\n    \t\t\t\t\t\trow_class = \"financial-statements-important\";\n    \t\t\t\t\t}\n    \t\t\t\t%}\n    \n    \t\t\t\t<tr class=\"{%= row_class %}\">\n    \t\t\t\t\t{% for (let i = 0, l = report_columns.length; i < l; i++) { %}\n    \t\t\t\t\t\t{%\n    \t\t\t\t\t\t\tconst col = report_columns[i];\n    \t\t\t\t\t\t\tconst value = row[col.fieldname];\n    \t\t\t\t\t\t\tconst align = i === 0 ? \"text-left\" : \"text-right\";\n    \t\t\t\t\t\t%}\n    \n    \t\t\t\t\t\t<td class=\"{%= align %}\">\n    \t\t\t\t\t\t\t{% if (i === 0) { %}\n    \t\t\t\t\t\t\t\t<span style=\"padding-left: {%= cint(row.indent) * 2 %}em\">\n\t                                   {%= String(row.account_name || row.section || \"\").replace(/^['\"]|['\"]$/g, \"\") %}\n    \t\t\t\t\t\t\t\t</span>\n    \t\t\t\t\t\t\t{% } else if (!is_null(value)) { %}\n    \t\t\t\t\t\t\t\t{%= frappe.format(value, col, {}, row) %}\n    \t\t\t\t\t\t\t{% } %}\n    \t\t\t\t\t\t</td>\n    \t\t\t\t\t{% } %}\n    \t\t\t\t</tr>\n    \t\t\t{% } %}\n    \t\t</tbody>\n    \t</table>\n    </div>\n\n\t<p class=\"text-right text-muted\">\n\t\t{%= __(\"Printed on {0}\", [\n\t\t\tfrappe.datetime.str_to_user(frappe.datetime.get_datetime_as_string())\n\t\t]) %}\n\t</p>\n\n</div>",
 "idx": 0,
 "line_breaks": 0,
 "margin_bottom": 15.0,
 "margin_left": 15.0,
 "margin_right": 15.0,
 "margin_top": 15.0,
 "modified": "2026-05-21 19:07:07.724345",
 "modified_by": "Administrator",
 "module": "Accounts",
 "name": "Balance Sheet Standard",
 "owner": "Administrator",
 "page_number": "Hide",
 "pdf_generator": "chrome",
 "print_format_builder": 0,
 "print_format_builder_beta": 0,
 "print_format_for": "Report",
 "print_format_type": "JS",
 "raw_printing": 0,
 "report": "Balance Sheet",
 "show_section_headings": 0,
 "standard": "Yes"
}
