Added a * for cleared entries in the time report
This commit is contained in:
parent
2bc14c3919
commit
1cc618a956
1 changed files with 7 additions and 4 deletions
11
src/report.h
11
src/report.h
|
|
@ -965,10 +965,13 @@ public:
|
||||||
OPTION_(report_t, time_report, DO() {
|
OPTION_(report_t, time_report, DO() {
|
||||||
OTHER(balance_format_)
|
OTHER(balance_format_)
|
||||||
.on(none,
|
.on(none,
|
||||||
"%(justify(earliest_checkin ? "
|
"%(ansify_if(justify(earliest_checkin ? "
|
||||||
" format_datetime(earliest_checkin) : \"\", 19, -1, true)) "
|
" format_datetime(earliest_checkin) : \"\", 19, -1, true),"
|
||||||
"%(justify(latest_checkout ? "
|
" bold if latest_checkout_cleared)) "
|
||||||
" format_datetime(latest_checkout) : \"\", 19, -1, true)) "
|
"%(ansify_if(justify(latest_checkout ? "
|
||||||
|
" format_datetime(latest_checkout) : \"\", 19, -1, true), "
|
||||||
|
" bold if latest_checkout_cleared)) "
|
||||||
|
"%(latest_checkout_cleared ? \"*\" : \" \") "
|
||||||
"%(ansify_if("
|
"%(ansify_if("
|
||||||
" justify(scrub(display_total), 8,"
|
" justify(scrub(display_total), 8,"
|
||||||
" 8 + 4 + 19 * 2, true, color), bold if should_bold))"
|
" 8 + 4 + 19 * 2, true, color), bold if should_bold))"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue