Skip to content

Commit

Permalink
fix: added missing profit number
Browse files Browse the repository at this point in the history
  • Loading branch information
closedspace committed Nov 4, 2019
1 parent bd5b4fc commit 1a95045
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
@@ -1,8 +1,11 @@
<div class="profit-history">
<h5>Profit Report</h5>
<div>
<span>Total Expenses: {{ expensesTotal }}</span>
<span class="margin-offset">Total Income: {{ incomeTotal }}</span>
<div class="totals">
<div>
<span>Total Expenses: {{ expensesTotal }}</span>
<span class="margin-offset">Total Income: {{ incomeTotal }}</span>
</div>
<span> Total Profit: {{ incomeTotal - expensesTotal }}</span>
</div>
<ng2-smart-table
class="table"
Expand Down
Expand Up @@ -2,6 +2,10 @@
box-shadow: 0px 0px 16px 9px grey;
background: white;
padding: 15px;
.totals {
display: flex;
justify-content: space-between;
}
.margin-offset {
margin-left: 69px;
}
Expand Down

0 comments on commit 1a95045

Please sign in to comment.