diff options
author | John Wiegley <johnw@newartisans.com> | 2010-05-22 17:08:16 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-05-22 21:35:02 -0400 |
commit | 33aa0cc3a6ad9485198c0e5abe694822811483b4 (patch) | |
tree | 752e8d478350eba705703268b5d399cef17c73fb /src/report.h | |
parent | a158dc123b01d19a1f1cd8488a0b93067dd65ffd (diff) | |
download | fork-ledger-33aa0cc3a6ad9485198c0e5abe694822811483b4.tar.gz fork-ledger-33aa0cc3a6ad9485198c0e5abe694822811483b4.tar.bz2 fork-ledger-33aa0cc3a6ad9485198c0e5abe694822811483b4.zip |
Changed the report generated by the csv command
Fields are now:
Date,Code,Payee,Account,Commodity,Total,State,Note
Instead of outputting amounts potentially as $1,000.00 (which was an
error anyway), the output is now: $,1000.00. This makes the commodity
available in a separate field, and removes display of thousands markers.
Also, european formatting is always off.
Diffstat (limited to 'src/report.h')
-rw-r--r-- | src/report.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/report.h b/src/report.h index 783f0026..df2f3469 100644 --- a/src/report.h +++ b/src/report.h @@ -459,11 +459,12 @@ public: OPTION__(report_t, csv_format_, CTOR(report_t, csv_format_) { on(none, "%(quoted(date))," + "%(quoted(code))," "%(quoted(payee))," "%(quoted(account))," - "%(quoted(scrub(display_amount)))," + "%(quoted(commodity))," + "%(quoted(quantity(scrub(display_amount))))," "%(quoted(cleared ? \"*\" : (pending ? \"!\" : \"\")))," - "%(quoted(code))," "%(quoted(join(note | xact.note)))\n"); }); |