Add ids for total rows in balance sheet

This commit is contained in:
RunasSudo 2025-05-26 23:07:18 +10:00
parent f4c232ae35
commit eb3fbccc85
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A

View File

@ -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,