diff options
author | John Wiegley <johnw@newartisans.com> | 2012-05-10 04:03:32 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-05-10 04:03:32 -0500 |
commit | 1cc618a95600d9908cda4975807b971f36440386 (patch) | |
tree | a30344c50864387b4b861ca53b79b32b641c9b18 /src/report.h | |
parent | 2bc14c3919ad58d25a348574ac2de5dfa05ee3ee (diff) | |
download | fork-ledger-1cc618a95600d9908cda4975807b971f36440386.tar.gz fork-ledger-1cc618a95600d9908cda4975807b971f36440386.tar.bz2 fork-ledger-1cc618a95600d9908cda4975807b971f36440386.zip |
Added a * for cleared entries in the time report
Diffstat (limited to 'src/report.h')
-rw-r--r-- | src/report.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/report.h b/src/report.h index e7d68dda..d04b3e15 100644 --- a/src/report.h +++ b/src/report.h @@ -965,10 +965,13 @@ public: OPTION_(report_t, time_report, DO() { OTHER(balance_format_) .on(none, - "%(justify(earliest_checkin ? " - " format_datetime(earliest_checkin) : \"\", 19, -1, true)) " - "%(justify(latest_checkout ? " - " format_datetime(latest_checkout) : \"\", 19, -1, true)) " + "%(ansify_if(justify(earliest_checkin ? " + " format_datetime(earliest_checkin) : \"\", 19, -1, true)," + " bold if latest_checkout_cleared)) " + "%(ansify_if(justify(latest_checkout ? " + " format_datetime(latest_checkout) : \"\", 19, -1, true), " + " bold if latest_checkout_cleared)) " + "%(latest_checkout_cleared ? \"*\" : \" \") " "%(ansify_if(" " justify(scrub(display_total), 8," " 8 + 4 + 19 * 2, true, color), bold if should_bold))" |