From eb3fbccc85f1492793a4b80ae27468d194628c5f Mon Sep 17 00:00:00 2001 From: RunasSudo Date: Mon, 26 May 2025 23:07:18 +1000 Subject: [PATCH] Add ids for total rows in balance sheet --- src/reporting/steps.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/reporting/steps.rs b/src/reporting/steps.rs index a152bbe..db9a3fb 100644 --- a/src/reporting/steps.rs +++ b/src/reporting/steps.rs @@ -388,7 +388,7 @@ impl ReportingStep for BalanceSheet { calculate_fn: |report| LiteralRow { text: "Total assets".to_string(), quantity: report.subtotal_for_id("assets"), - id: None, + id: Some("total_assets".to_string()), visible: true, auto_hide: false, link: None, @@ -412,7 +412,7 @@ impl ReportingStep for BalanceSheet { calculate_fn: |report| LiteralRow { text: "Total liabilities".to_string(), quantity: report.subtotal_for_id("liabilities"), - id: None, + id: Some("total_liabilities".to_string()), visible: true, auto_hide: false, link: None, @@ -436,7 +436,7 @@ impl ReportingStep for BalanceSheet { calculate_fn: |report| LiteralRow { text: "Total equity".to_string(), quantity: report.subtotal_for_id("equity"), - id: None, + id: Some("total_equity".to_string()), visible: true, auto_hide: false, link: None,