fixing cost management

This commit is contained in:
2024-06-14 13:27:32 +07:00
parent 2180311f4e
commit 6b962028db
5 changed files with 949 additions and 956 deletions

View File

@@ -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>

View File

@@ -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(() => {