fixing cost management
This commit is contained in:
@@ -114,7 +114,7 @@
|
||||
style="height: 20px"
|
||||
>
|
||||
<span class="text-bold-600">{{
|
||||
dataCompAct?.est_cost
|
||||
dataCompAct?.real_cost
|
||||
}}</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -124,8 +124,8 @@
|
||||
<ngb-progressbar
|
||||
height="35px"
|
||||
type="danger"
|
||||
[value]="dataCompAct?.real_cost"
|
||||
[max]="dataCompAct?.real_cost"
|
||||
[value]="dataCompAct?.est_cost"
|
||||
[max]="dataCompAct?.est_cost"
|
||||
></ngb-progressbar>
|
||||
</div>
|
||||
<div
|
||||
@@ -133,7 +133,7 @@
|
||||
style="height: 20px"
|
||||
>
|
||||
<span class="text-bold-600">{{
|
||||
dataCompAct?.real_cost
|
||||
dataCompAct?.est_cost
|
||||
}}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -232,7 +232,7 @@ export class CostManagementComponent implements OnInit {
|
||||
this.costService
|
||||
.getRealCostByBuildingId(4, this.dateSelected)
|
||||
.subscribe((data) => {
|
||||
console.log(data.data[0]);
|
||||
// console.log(data.data[0]);
|
||||
// this.costTerm = data.data[0].est_cost
|
||||
});
|
||||
setTimeout(() => {
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
Total Device
|
||||
</h6>
|
||||
<h3 style="color: #ffffff !important">
|
||||
{{ filteredRows.length }}
|
||||
{{ filteredRows?.length }}
|
||||
</h3>
|
||||
</div>
|
||||
<div class="align-self-center">
|
||||
|
||||
Reference in New Issue
Block a user