diff --git a/src/app/_layout/footer/footer.component.html b/src/app/_layout/footer/footer.component.html index 1375712..164396a 100644 --- a/src/app/_layout/footer/footer.component.html +++ b/src/app/_layout/footer/footer.component.html @@ -13,7 +13,7 @@ href="https://allbestsistem.com/" target="_blank" style="background-color: #000000 !important;" - >Smart Building Management Systems (V@2024-07-3.01) + >Smart Building Management Systems (V@2024-07-4.01)

diff --git a/src/app/content/hemat-app/device/device-control/device-control.component.ts b/src/app/content/hemat-app/device/device-control/device-control.component.ts index 5df0246..b764daa 100644 --- a/src/app/content/hemat-app/device/device-control/device-control.component.ts +++ b/src/app/content/hemat-app/device/device-control/device-control.component.ts @@ -146,18 +146,15 @@ export class DeviceControlComponent { } switchChanged(ev, data) { - console.log(ev); - console.log(data); - - // const requestData = { - // device_id: data.device_id, - // switch: data.mapping[0].switch, - // value: ev, - // command_type: "on_off", - // }; - // this.deviceService.deviceSwitch(requestData).subscribe((res) => { - // console.log(res); - // }); + const requestData = { + device_id: data.device_id, + switch: data.mapping[0].switch, + value: ev, + command_type: "on_off", + }; + this.deviceService.deviceSwitch(requestData).subscribe((res) => { + console.log(res); + }); } addFieldValue() {} diff --git a/src/app/content/hemat-app/user-profile/profil-information/profil-information.component.html b/src/app/content/hemat-app/user-profile/profil-information/profil-information.component.html index d084259..9cffecc 100644 --- a/src/app/content/hemat-app/user-profile/profil-information/profil-information.component.html +++ b/src/app/content/hemat-app/user-profile/profil-information/profil-information.component.html @@ -9,24 +9,46 @@
- + -
- Full Name is required +
+ Full First Name is required +
+
+
+
+ + + +
+ Full lastName is required
diff --git a/src/app/content/hemat-app/user-profile/profil-information/profil-information.component.ts b/src/app/content/hemat-app/user-profile/profil-information/profil-information.component.ts index 58dbd0b..39684d3 100644 --- a/src/app/content/hemat-app/user-profile/profil-information/profil-information.component.ts +++ b/src/app/content/hemat-app/user-profile/profil-information/profil-information.component.ts @@ -23,7 +23,8 @@ export class ProfilInformationComponent { ngOnInit(): void { this.profilInfo = this.formBuilder.group({ - name: ["", Validators.required], + firstName: ["", Validators.required], + lastName: ["", Validators.required], email: ["", Validators.required], phone: ["", Validators.required], profilePicture: [null] diff --git a/src/app/content/hemat-app/user-profile/update-password/update-password.component.html b/src/app/content/hemat-app/user-profile/update-password/update-password.component.html index b7eafff..2fee70f 100644 --- a/src/app/content/hemat-app/user-profile/update-password/update-password.component.html +++ b/src/app/content/hemat-app/user-profile/update-password/update-password.component.html @@ -1,6 +1,6 @@
-
+
diff --git a/src/app/login/login.component.html b/src/app/login/login.component.html index 77f7b7b..adee37a 100644 --- a/src/app/login/login.component.html +++ b/src/app/login/login.component.html @@ -138,7 +138,7 @@

- (v@2024.07.3.01) + (v@2024.07.4.01)