From 3b104cb052db99454abd67f3ba3878fb4b92dc45 Mon Sep 17 00:00:00 2001 From: Kostis Trantzas Date: Thu, 21 Nov 2024 18:24:50 +0200 Subject: [PATCH] Fix for #24 - A non-admin user must not be able to change a Service Order & Service state --- .../preview-service-order.component.html | 12 ++++++------ .../preview-service/preview-service.component.html | 12 ++++++------ .../preview-service/preview-service.component.ts | 2 ++ 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/src/app/p_services/admin/orderManagement/preview-service-order/preview-service-order.component.html b/src/app/p_services/admin/orderManagement/preview-service-order/preview-service-order.component.html index 92974ea..950134d 100644 --- a/src/app/p_services/admin/orderManagement/preview-service-order/preview-service-order.component.html +++ b/src/app/p_services/admin/orderManagement/preview-service-order/preview-service-order.component.html @@ -155,12 +155,12 @@ -->
- +
State

{{serviceOrder?.state}}

- + State @@ -181,7 +181,7 @@
- +
Starting Date

{{serviceOrder?.startDate | date:'d MMM y, h:mm a'}} - Local Time

@@ -189,7 +189,7 @@
- + Starting Date @@ -200,7 +200,7 @@
- +
Expected Completion Date

{{serviceOrder?.expectedCompletionDate | date:'d MMM y, h:mm a'}} - Local Time

@@ -209,7 +209,7 @@ - + Expected Completion Date diff --git a/src/app/p_services/admin/serviceActivationAndConfiguration/preview-service/preview-service.component.html b/src/app/p_services/admin/serviceActivationAndConfiguration/preview-service/preview-service.component.html index 7296ad1..fc1630d 100644 --- a/src/app/p_services/admin/serviceActivationAndConfiguration/preview-service/preview-service.component.html +++ b/src/app/p_services/admin/serviceActivationAndConfiguration/preview-service/preview-service.component.html @@ -61,13 +61,13 @@
- +
State

{{service?.state}}

- + State
- +
Starting Date

@@ -127,7 +127,7 @@ UTC

- Starting Date
- +
Ending Date

{{service?.endDate | date:'d MMM y, h:mm a'}} - Local @@ -152,7 +152,7 @@ UTC

- Ending Date