From 5d0942e9e0623a5040e09a271c8998dd94e406e3 Mon Sep 17 00:00:00 2001 From: Aaron Fiore Date: Wed, 27 Mar 2024 00:13:59 -0700 Subject: [PATCH] hledger-flow: electrum: add subaccount to applicable memos --- .../hledger-flow/accounts/electrum/electrum-shared.rules | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/container/src/hledger-flow/accounts/electrum/electrum-shared.rules b/container/src/hledger-flow/accounts/electrum/electrum-shared.rules index 70eeea1..3a2b7d4 100644 --- a/container/src/hledger-flow/accounts/electrum/electrum-shared.rules +++ b/container/src/hledger-flow/accounts/electrum/electrum-shared.rules @@ -48,13 +48,13 @@ if %direction ^IN$ if %direction ^IN$ & %label Gift account2 income:electrum:%subaccount:gifts:BTC - comment2 %timestamp,GIFTIN,electrum,BTC,%value_without_fee,USD,%fiat_value,Unknown + comment2 %timestamp,GIFTIN,electrum,BTC,%value_without_fee,USD,%fiat_value,To %subaccount # OUT if %direction ^OUT$ account2 expenses:electrum:%subaccount:BTC - comment2 %timestamp,SPEND,electrum,BTC,%value_without_fee,USD,, + comment2 %timestamp,SPEND,electrum,BTC,%value_without_fee,USD,,From %subaccount if %direction ^OUT$ & %label (Self|Equity transfer|Capital contribution) @@ -65,7 +65,7 @@ if %direction ^OUT$ if %direction ^OUT$ & %label Gift account2 expenses:electrum:%subaccount:gifts:BTC - comment2 %timestamp,GIFT,electrum,BTC,%value_without_fee,USD,%fiat_value,Unknown + comment2 %timestamp,GIFT,electrum,BTC,%value_without_fee,USD,%fiat_value,From %subaccount # Fees if %direction ^OUT$