Add ids for total rows in balance sheet
This commit is contained in:
parent
f4c232ae35
commit
eb3fbccc85
@ -388,7 +388,7 @@ impl ReportingStep for BalanceSheet {
|
|||||||
calculate_fn: |report| LiteralRow {
|
calculate_fn: |report| LiteralRow {
|
||||||
text: "Total assets".to_string(),
|
text: "Total assets".to_string(),
|
||||||
quantity: report.subtotal_for_id("assets"),
|
quantity: report.subtotal_for_id("assets"),
|
||||||
id: None,
|
id: Some("total_assets".to_string()),
|
||||||
visible: true,
|
visible: true,
|
||||||
auto_hide: false,
|
auto_hide: false,
|
||||||
link: None,
|
link: None,
|
||||||
@ -412,7 +412,7 @@ impl ReportingStep for BalanceSheet {
|
|||||||
calculate_fn: |report| LiteralRow {
|
calculate_fn: |report| LiteralRow {
|
||||||
text: "Total liabilities".to_string(),
|
text: "Total liabilities".to_string(),
|
||||||
quantity: report.subtotal_for_id("liabilities"),
|
quantity: report.subtotal_for_id("liabilities"),
|
||||||
id: None,
|
id: Some("total_liabilities".to_string()),
|
||||||
visible: true,
|
visible: true,
|
||||||
auto_hide: false,
|
auto_hide: false,
|
||||||
link: None,
|
link: None,
|
||||||
@ -436,7 +436,7 @@ impl ReportingStep for BalanceSheet {
|
|||||||
calculate_fn: |report| LiteralRow {
|
calculate_fn: |report| LiteralRow {
|
||||||
text: "Total equity".to_string(),
|
text: "Total equity".to_string(),
|
||||||
quantity: report.subtotal_for_id("equity"),
|
quantity: report.subtotal_for_id("equity"),
|
||||||
id: None,
|
id: Some("total_equity".to_string()),
|
||||||
visible: true,
|
visible: true,
|
||||||
auto_hide: false,
|
auto_hide: false,
|
||||||
link: None,
|
link: None,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user