penambahan room list
This commit is contained in:
@@ -52,6 +52,15 @@
|
||||
formControlName="address"
|
||||
/>
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label for="address">KWH:</label>
|
||||
<input
|
||||
type="number"
|
||||
class="form-control"
|
||||
id="kwh"
|
||||
formControlName="kwh"
|
||||
/>
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label for="statusId">Status:</label>
|
||||
<!-- <select
|
||||
|
||||
@@ -41,6 +41,7 @@ export class AddEditMasterBuildingComponent {
|
||||
owner: ["", Validators.required],
|
||||
address: ["", Validators.required],
|
||||
phone: ["", Validators.required],
|
||||
kwh: ["", Validators.required],
|
||||
});
|
||||
}
|
||||
|
||||
@@ -53,6 +54,7 @@ export class AddEditMasterBuildingComponent {
|
||||
owner: this.dataRow.owner,
|
||||
address: this.dataRow.address,
|
||||
phone: this.dataRow.phone,
|
||||
kwh: this.dataRow.phone,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -116,7 +116,7 @@ export class MasterBuildingComponent {
|
||||
const confirmDelete = confirm("Are you sure you want to delete this item?");
|
||||
if (confirmDelete) {
|
||||
this.monitoringApiService
|
||||
.deleteHeaderDetailParam(row.id)
|
||||
.deleteMasterBuildingParam(row.id)
|
||||
.subscribe((res) => {
|
||||
this.fetchData();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user