hledger-flow: gemini: allow 1INCH transfers

This commit is contained in:
2024-06-10 18:00:16 -07:00
parent a85ce38ef3
commit ce61e854ae

View File

@@ -77,6 +77,9 @@ function parse_transfers()
# Get/set info_method (if available)
if ($10 == "ACH" || $10 == "Wire" || $10 == "SEN" || $10 == "CreditCard") {$8=$10}
# Allow numerical symbols
gsub(/1INCH/, "ONEINCH")
printf $1 OFS # UID (info_eid)
printf date OFS # Date
printf "TRANSFER" OFS # Type
@@ -147,6 +150,9 @@ function parse_transfers()
# Get/set info_method (if available)
if ($8 == "ACH" || $8 == "Wire" || $8 == "SEN" || $8 == "CreditCard") {$6=$8}
# Allow numerical symbols
gsub(/1INCH/, "ONEINCH")
printf $1 OFS # UID (info_eid)
printf date OFS # Date
printf "TRANSFER" OFS # Type