diff --git a/src/pages/master/brandDevice/AddBrandDevice.jsx b/src/pages/master/brandDevice/AddBrandDevice.jsx
index a2563af..dfa88e5 100644
--- a/src/pages/master/brandDevice/AddBrandDevice.jsx
+++ b/src/pages/master/brandDevice/AddBrandDevice.jsx
@@ -640,22 +640,53 @@ const AddBrandDevice = () => {
}}>
- Error Code Form
-
+ fontSize: '16px',
+ fontWeight: '600',
+ color: '#262626',
+ display: 'flex',
+ alignItems: 'center',
+ gap: '8px'
+ }}>
+
+ Error Code Form
+
+
+
}
style={{
width: '100%',
@@ -681,24 +712,6 @@ const AddBrandDevice = () => {
transition: 'all 0.3s ease',
boxShadow: '0 1px 3px rgba(0,0,0,0.04)'
}}>
-
-
-
- Error Code Details
-
-
{
Cancel
)}
-
-
-
-
-
@@ -1026,7 +1011,7 @@ const AddBrandDevice = () => {
borderColor: '#23A55A',
}}
>
- Lanjut
+ Error Code
)}
{currentStep === 1 && (
@@ -1039,7 +1024,7 @@ const AddBrandDevice = () => {
borderColor: '#23A55A',
}}
>
- Selesai
+ Done
)}
diff --git a/src/pages/master/brandDevice/EditBrandDevice.jsx b/src/pages/master/brandDevice/EditBrandDevice.jsx
index f4d6fe1..5aa8213 100644
--- a/src/pages/master/brandDevice/EditBrandDevice.jsx
+++ b/src/pages/master/brandDevice/EditBrandDevice.jsx
@@ -724,22 +724,53 @@ const EditBrandDevice = () => {
}}>
- Error Code Form
-
+ fontSize: '16px',
+ fontWeight: '600',
+ color: '#262626',
+ display: 'flex',
+ alignItems: 'center',
+ gap: '8px'
+ }}>
+
+ Error Code Form
+
+
+
}
style={{
width: '100%',
@@ -765,24 +796,6 @@ const EditBrandDevice = () => {
transition: 'all 0.3s ease',
boxShadow: '0 1px 3px rgba(0,0,0,0.04)'
}}>
-
-
-
- Error Code Details
-
-
{
Cancel
)}
-
-
-
-
-
@@ -1016,7 +1001,7 @@ const EditBrandDevice = () => {
borderColor: '#23A55A',
}}
>
- Selesai
+ Done
)}
diff --git a/src/pages/master/brandDevice/component/ErrorCodeForm.jsx b/src/pages/master/brandDevice/component/ErrorCodeForm.jsx
index 0dbf604..3ce9d6e 100644
--- a/src/pages/master/brandDevice/component/ErrorCodeForm.jsx
+++ b/src/pages/master/brandDevice/component/ErrorCodeForm.jsx
@@ -201,56 +201,19 @@ const ErrorCodeForm = ({
error_code_color: '#000000'
}}
>
-
-
-
-
-
-
- {statusWatch ? 'Active' : 'Inactive'}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ {/* Header bar with color picker, icon upload, and status toggle */}
+
+ {/* Color picker on left */}
+
e.target.value}
getValueProps={(value) => ({ value: value || '#000000' })}
>
@@ -267,11 +230,55 @@ const ErrorCodeForm = ({
/>
-
+ {/* Icon upload beside color picker */}
+
{renderIconUpload()}
-
+
+ {/* Status toggle on right */}
+
+
+
+
+
+ {statusWatch ? 'Active' : 'Inactive'}
+
+
+
+
+ {/* Error Code and Error Name in one row with 1/3 and 2/3 ratio */}
+
+
+
+
+
+
+
+
+
+
+
+