fixing cost management

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

View File

@ -111,7 +111,7 @@
<span class="badge badge-pill badge-danger badge-up badge-glow">5</span> <span class="badge badge-pill badge-danger badge-up badge-glow">5</span>
</a> --> </a> -->
<a class="nav-link nav-link-label"> <a class="nav-link nav-link-label">
<i class="ficon feather ft-bell" style="color: #bef264"></i> <i class="ficon la la-bell" style="color: #bef264"></i>
<!-- <span class="badge badge-pill badge-danger badge-up badge-glow">5</span> --> <!-- <span class="badge badge-pill badge-danger badge-up badge-glow">5</span> -->
</a> </a>
<ul class="dropdown-menu-media dropdown-menu-right" ngbDropdownMenu> <ul class="dropdown-menu-media dropdown-menu-right" ngbDropdownMenu>

File diff suppressed because it is too large Load Diff

View File

@ -114,7 +114,7 @@
style="height: 20px" style="height: 20px"
> >
<span class="text-bold-600">{{ <span class="text-bold-600">{{
dataCompAct?.est_cost dataCompAct?.real_cost
}}</span> }}</span>
</div> </div>
</div> </div>
@ -124,8 +124,8 @@
<ngb-progressbar <ngb-progressbar
height="35px" height="35px"
type="danger" type="danger"
[value]="dataCompAct?.real_cost" [value]="dataCompAct?.est_cost"
[max]="dataCompAct?.real_cost" [max]="dataCompAct?.est_cost"
></ngb-progressbar> ></ngb-progressbar>
</div> </div>
<div <div
@ -133,7 +133,7 @@
style="height: 20px" style="height: 20px"
> >
<span class="text-bold-600">{{ <span class="text-bold-600">{{
dataCompAct?.real_cost dataCompAct?.est_cost
}}</span> }}</span>
</div> </div>
</div> </div>

View File

@ -232,7 +232,7 @@ export class CostManagementComponent implements OnInit {
this.costService this.costService
.getRealCostByBuildingId(4, this.dateSelected) .getRealCostByBuildingId(4, this.dateSelected)
.subscribe((data) => { .subscribe((data) => {
console.log(data.data[0]); // console.log(data.data[0]);
// this.costTerm = data.data[0].est_cost // this.costTerm = data.data[0].est_cost
}); });
setTimeout(() => { setTimeout(() => {

View File

@ -19,7 +19,7 @@
Total Device Total Device
</h6> </h6>
<h3 style="color: #ffffff !important"> <h3 style="color: #ffffff !important">
{{ filteredRows.length }} {{ filteredRows?.length }}
</h3> </h3>
</div> </div>
<div class="align-self-center"> <div class="align-self-center">