From 85afb9d332af496e09741900574edb639e1ac952 Mon Sep 17 00:00:00 2001 From: Iqbal Rizqi Kurniawan Date: Wed, 22 Oct 2025 12:04:39 +0700 Subject: [PATCH] feat: add brand code, country, and description fields to AddBrandDevice form --- .../master/brandDevice/AddBrandDevice.jsx | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/src/pages/master/brandDevice/AddBrandDevice.jsx b/src/pages/master/brandDevice/AddBrandDevice.jsx index 984695f..2f0f01d 100644 --- a/src/pages/master/brandDevice/AddBrandDevice.jsx +++ b/src/pages/master/brandDevice/AddBrandDevice.jsx @@ -38,6 +38,9 @@ const AddBrandDevice = () => { manufacturer: '', model: '', status: true, + brand_code: '', + country: '', + description: '', }; const [formData, setFormData] = useState(defaultData); @@ -177,18 +180,27 @@ const AddBrandDevice = () => { style={{ backgroundColor: formData.status ? '#23A55A' : '#bfbfbf' }} /> + + + - + + + + - + + + + ); } @@ -322,4 +334,4 @@ const AddBrandDevice = () => { ); }; -export default AddBrandDevice; +export default AddBrandDevice; \ No newline at end of file