Fix #127
This commit is contained in:
parent
db6b7a7f02
commit
4116f09b5b
@ -33,7 +33,7 @@
|
||||
<ng-container matColumnDef="current_price">
|
||||
<th mat-header-cell *matHeaderCellDef>Price</th>
|
||||
<td mat-cell *matCellDef="let element">
|
||||
{{ element.current_price }}
|
||||
{{ element.current_price }}$
|
||||
</td>
|
||||
</ng-container>
|
||||
|
||||
@ -84,18 +84,18 @@
|
||||
<div class="row">
|
||||
<div class="col-6 col-sm-4">
|
||||
<mat-icon>savings</mat-icon
|
||||
><span class="money">{{ depotCurrentValue.toFixed(2) }}</span>
|
||||
><span class="money">{{ depotCurrentValue.toFixed(2) }}$</span>
|
||||
</div>
|
||||
<div class="col-6 col-sm-4">
|
||||
<mat-icon>paid</mat-icon
|
||||
><span class="money">{{ depotCost.toFixed(2) }}</span>
|
||||
><span class="money">{{ depotCost.toFixed(2) }}$</span>
|
||||
</div>
|
||||
<div class="col-6 col-sm-4">
|
||||
<mat-icon>account_balance</mat-icon
|
||||
><span
|
||||
class="money"
|
||||
[ngClass]="{ green: profit >= 0, red: profit < 0 }"
|
||||
>{{ profit.toFixed(2) }}</span
|
||||
>{{ profit.toFixed(2) }}$</span
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
@ -140,7 +140,7 @@
|
||||
<!-- Name Column -->
|
||||
<ng-container matColumnDef="name">
|
||||
<th mat-header-cell *matHeaderCellDef>Price</th>
|
||||
<td mat-cell *matCellDef="let element">{{ element.price }}</td>
|
||||
<td mat-cell *matCellDef="let element">{{ element.price }}$</td>
|
||||
</ng-container>
|
||||
|
||||
<!-- Weight Column -->
|
||||
|
@ -55,7 +55,7 @@
|
||||
/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="price">Price</label>
|
||||
<label for="price">Price in $</label>
|
||||
<input
|
||||
class="form-control"
|
||||
name="price"
|
||||
|
Loading…
Reference in New Issue
Block a user