Skip to content
Permalink
Browse files

fix: added missing profit number

  • Loading branch information...
jew-er committed Nov 4, 2019
1 parent bd5b4fc commit 1a95045c79e7ec00dcbe83ab5b961b0c928644d5
@@ -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"
@@ -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;
}

0 comments on commit 1a95045

Please sign in to comment.
You can’t perform that action at this time.