From 7b65d5d6e2c677a981aada330f357b760e1c09ea Mon Sep 17 00:00:00 2001 From: Aaron Fiore Date: Thu, 2 Jan 2025 19:59:35 -0800 Subject: [PATCH] container: hledger-flow: ledger: fix fees subaccount ordering Keep consistent with all other rules. --- .../src/hledger-flow/accounts/ledger/ledger-shared.rules | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/container/src/hledger-flow/accounts/ledger/ledger-shared.rules b/container/src/hledger-flow/accounts/ledger/ledger-shared.rules index 7854d2f..82cc249 100644 --- a/container/src/hledger-flow/accounts/ledger/ledger-shared.rules +++ b/container/src/hledger-flow/accounts/ledger/ledger-shared.rules @@ -39,7 +39,7 @@ if %type ^OUT$ & %fees [1-9] account3 assets:ledger:%account_name:%currency_ amount3 -%fees %currency_ - account4 expenses:ledger:fees:%account_name:%currency_ + account4 expenses:ledger:%account_name:fees:%currency_ amount4 %fees %currency_ comment type:%type, status:%status_, xpub:%xpub, txid:%txid, direction:%direction, taxed_as:SPEND comment2 @@ -82,7 +82,7 @@ if %currency_ ^ADA$ & %fees [1-9] account3 assets:ledger:%account_name:%currency_ amount3 -%fees %currency_ - account4 expenses:ledger:fees:%account_name:%currency_ + account4 expenses:ledger:%account_name:fees:%currency_ amount4 %fees %currency_ comment type:%type, status:%status_, xpub:%xpub, txid:%txid, direction:%direction, taxed_as:SPEND comment3 %date +0000,SPEND,ledger:%account_name:%currency_,%currency_,%fees,USD,,FEE @@ -95,7 +95,7 @@ if %currency_ ^ADA$ account2 equity:ledger:%account_name:withdrawal:stake_key_reg:%currency_ account3 assets:ledger:%account_name:%currency_ amount3 -%amount_ %currency_ - account4 expenses:ledger:fees:%account_name:%currency_ + account4 expenses:ledger:%account_name:fees:%currency_ amount4 %amount_ %currency_ comment type:%type, status:%status_, xpub:%xpub, txid:%txid, direction:%direction, taxed_as:SPEND comment2 Stake key registration withdrawal