Skip to content

Commit

Permalink
Add Due until today in month view
Browse files Browse the repository at this point in the history
  • Loading branch information
Gitsko authored Jul 12, 2018
1 parent 680d9f5 commit 545c4f2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pages/Month.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@
<th>Worked</th>
<td class="text-right">{{sum.worked | minutes}}</td>
</tr>
<tr>
<th>Due until today</th>
<td class="text-right" :class="sum.worked - sum.expectedUntilToday < 0 ? 'alert-danger' : 'alert-success'">{{sum.worked - sum.expectedUntilToday | minutes(true)}}</td>
</tr>
<tr>
<th>Due</th>
<td class="text-right" :class="sum.diffUntilToday < 0 ? 'alert-danger' : 'alert-success'">{{sum.diff | minutes(true)}}</td>
Expand Down

0 comments on commit 545c4f2

Please sign in to comment.