SatSale

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 0fbad0df3bad16ccd5a2669641c1216fd0310d61
parent ac6b718fea65243d3da8659e0cda9cf507c6be8d
Author: Nick <nick@nickfarrow.com>
Date:   Tue, 30 Aug 2022 10:42:36 +0800

Merge pull request #93 from kristapsk/fix-generate_payment_report

Fix `scripts/generate_payment_report.py` after recent changes
Diffstat:
Mscripts/generate_payment_report.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/generate_payment_report.py b/scripts/generate_payment_report.py @@ -65,7 +65,7 @@ def main(): with open(args.report_file, "w", newline="") as csvfile: reportwriter = csv.writer(csvfile) reportwriter.writerow([ - "Date", "Invoice ID", "Fiat value", "BTC value", + "Date", "Invoice ID", "Base value", "Base currency", "BTC value", "BTC paid", "Payment method", "Address" ]) num_rows = 0 @@ -89,6 +89,7 @@ def main(): int(invoice["time"])).strftime("%Y-%m-%d"), invoice["uuid"], invoice["base_value"], + invoice["base_currency"], "%.8f" % float(invoice["btc_value"]), "%.8f" % float(conf_paid), invoice["method"],