anchor.diff:                  tdTag([{class, "timeReportSum timeReportColumn"}], RemainingSum)
               ])]).
   
  -showTimeReport2([Uid|Rest], Acc) ->
  +removeEmptyAndDone(Uids) ->
  +    removeEmptyAndDone(Uids, []).
  +
  +removeEmptyAndDone([], Acc) ->
  +    lists:reverse(Acc);
  +removeEmptyAndDone([Uid|Rest], Acc) ->
       {Estimate, Remaining} = eTodoDB:getTime(Uid),
       AllLogged = eTodoDB:getAllLoggedWork(Uid),
       {ok, _Desc, _ShowInWL, ShowInTL} = eTodoDB:getWorkDescAll(Uid),
  
positive.code: makeTimeLogReport2([Uid|Rest], Acc) ->
      {Estimate, Remaining} = eTodoDB:getTime(Uid),
      AllLogged = eTodoDB:getAllLoggedWork(Uid),
      {ok, _Desc, _ShowInWL, ShowInTL} = eTodoDB:getWorkDescAll(Uid),
      Todo = eTodoDB:getTodo(tryInt(Uid)),
      Done = (Todo#todo.status == done),
      case {{Estimate, Remaining, AllLogged}, default(ShowInTL, false), Done} of
          {{0, 0, "00:00"}, false, _Done} ->
              makeTimeLogReport2(Rest, Acc);
          {_Time, false, true} ->
              makeTimeLogReport2(Rest, Acc);
          _ ->
              Desc1     = eTodoDB:getWorkDesc(Uid),
              Desc2     = eGuiFunctions:getWorkDesc(Desc1, Todo#todo.description),
              Odd       = ((length(Acc) rem 2) =/= 0),
              Opts2     = [{width, "20%"}, {align, center}],
              Opts3     = [{width, "20%"}],
              UidInt    = tryInt(Uid),
              UidStr    = eTodoUtils:convertUid(UidInt),
              Date      = date(),
  
              Link1  = aTag([{href, convertUid(UidInt, Date)}], time(Estimate) ++ ":00"),
              Link2  = aTag([{href, convertUid(UidInt, incDate(Date, 1))}], AllLogged),
              Link3  = aTag([{href, convertUid(UidInt, incDate(Date, 2))}], time(Remaining) ++ ":00"),
  
              makeTimeLogReport2(Rest,
                  [trTag(bgColor(Odd),
                      [tdTag(Opts3, [aTag([{href, UidStr}], Desc2)]),
                          tdTag(Opts2, Link1),
                          tdTag(Opts2, Link2),
                          tdTag(Opts2, Link3)]) | Acc])
      end;
  makeTimeLogReport2([], Result) ->
      Opts = [{width, "20%"}, {align, center}],
      [trTag([{bgcolor, "black"}],
  
negative.code:                 false ->
                      addSubTodos(Uids1, SharedUids)
              end,
      Uids3 = removeEmptyAndDone(Uids2),
      {EstimateSum, SpentSum, RemainingSum} = sum(Uids2),
      tableTag([showTimeReport2(Uids3, []),
          trTag([{class, "timeReportTable"}],
              [tdTag([{class, "timeReportDesc timeReportSum"}], "Total"),
                  tdTag([{class, "timeReportSum timeReportColumn"}], EstimateSum),
  