From ca9b1294945e56e92dedb06f598bdec8300fe7d2 Mon Sep 17 00:00:00 2001 From: Fuzi_fauzia Date: Mon, 20 May 2024 19:46:50 +0700 Subject: [PATCH] integrasi master floor dan master voltage --- .../_layout/settings/menu-settings.config.ts | 8 +- .../master-floor.component.css} | 0 .../master-floor.component.html} | 17 +-- .../master-floor.component.spec.ts} | 12 +- .../master-floor/master-floor.component.ts | 137 ++++++++++++++++++ .../master-location-room.component.spec.ts | 23 --- .../master-location-room.component.ts | 83 ----------- .../master-location.component.ts | 83 ----------- .../master-voltage.component.css} | 0 .../master-voltage.component.html} | 17 +-- .../master-voltage.component.spec.ts | 23 +++ .../master-voltage.component.ts | 137 ++++++++++++++++++ .../content/hemat-app/master/master.module.ts | 18 +-- 13 files changed, 330 insertions(+), 228 deletions(-) rename src/app/content/hemat-app/master/{master-location-room/master-location-room.component.css => master-floor/master-floor.component.css} (100%) rename src/app/content/hemat-app/master/{master-location/master-location.component.html => master-floor/master-floor.component.html} (91%) rename src/app/content/hemat-app/master/{master-location/master-location.component.spec.ts => master-floor/master-floor.component.spec.ts} (50%) create mode 100644 src/app/content/hemat-app/master/master-floor/master-floor.component.ts delete mode 100644 src/app/content/hemat-app/master/master-location-room/master-location-room.component.spec.ts delete mode 100644 src/app/content/hemat-app/master/master-location-room/master-location-room.component.ts delete mode 100644 src/app/content/hemat-app/master/master-location/master-location.component.ts rename src/app/content/hemat-app/master/{master-location/master-location.component.css => master-voltage/master-voltage.component.css} (100%) rename src/app/content/hemat-app/master/{master-location-room/master-location-room.component.html => master-voltage/master-voltage.component.html} (91%) create mode 100644 src/app/content/hemat-app/master/master-voltage/master-voltage.component.spec.ts create mode 100644 src/app/content/hemat-app/master/master-voltage/master-voltage.component.ts diff --git a/src/app/_layout/settings/menu-settings.config.ts b/src/app/_layout/settings/menu-settings.config.ts index 4547ee5..9679eee 100644 --- a/src/app/_layout/settings/menu-settings.config.ts +++ b/src/app/_layout/settings/menu-settings.config.ts @@ -69,12 +69,12 @@ export const MenuSettingsConfig: MenuConfig = { page: '/master/master-category' }, { - title: 'Master Location', - page: '/master/master-location' + title: 'Master Voltage', + page: '/master/master-voltage' }, { - title: 'Master Location Room', - page: '/master/master-location-room' + title: 'Master Floor', + page: '/master/master-floor' }, { title: 'Master Type', diff --git a/src/app/content/hemat-app/master/master-location-room/master-location-room.component.css b/src/app/content/hemat-app/master/master-floor/master-floor.component.css similarity index 100% rename from src/app/content/hemat-app/master/master-location-room/master-location-room.component.css rename to src/app/content/hemat-app/master/master-floor/master-floor.component.css diff --git a/src/app/content/hemat-app/master/master-location/master-location.component.html b/src/app/content/hemat-app/master/master-floor/master-floor.component.html similarity index 91% rename from src/app/content/hemat-app/master/master-location/master-location.component.html rename to src/app/content/hemat-app/master/master-floor/master-floor.component.html index daeefe1..d49656f 100644 --- a/src/app/content/hemat-app/master/master-location/master-location.component.html +++ b/src/app/content/hemat-app/master/master-floor/master-floor.component.html @@ -12,7 +12,7 @@ > - Master Location Table + Master Floor Table
@@ -29,6 +29,7 @@
@@ -37,7 +38,7 @@
@@ -85,7 +86,7 @@ ngx-datatable-cell-template let-value="value" > - {{ value }} + {{ value === '1' ? 'Aktif' : 'Tidak Aktif'}} - @@ -37,7 +38,7 @@
@@ -85,7 +86,7 @@ ngx-datatable-cell-template let-value="value" > - {{ value }} + {{ value === '1' ? 'Aktif' : 'Tidak Aktif'}} -