diff --git a/frontend/dashboard/src/pages/CustomerService/Request/Components/DialogConfirmation.tsx b/frontend/dashboard/src/pages/CustomerService/Request/Components/DialogConfirmation.tsx index c30af4af..674c00e5 100755 --- a/frontend/dashboard/src/pages/CustomerService/Request/Components/DialogConfirmation.tsx +++ b/frontend/dashboard/src/pages/CustomerService/Request/Components/DialogConfirmation.tsx @@ -58,7 +58,7 @@ export default function DialogConfirmation({requestLog, setOpenDialog, openDialo const handleSubmit = () => { - if (formData.type_of_member === "") { + if (formData.type_of_member === "" && requestLog?.corporate_id === 4) { setError(true); alert('Silakan pilih Type Of Member sebelum mengirimkan data.'); } else { diff --git a/frontend/dashboard/src/pages/CustomerService/Request/Components/DialogEditInformation.tsx b/frontend/dashboard/src/pages/CustomerService/Request/Components/DialogEditInformation.tsx index 0131cf0a..7202392f 100755 --- a/frontend/dashboard/src/pages/CustomerService/Request/Components/DialogEditInformation.tsx +++ b/frontend/dashboard/src/pages/CustomerService/Request/Components/DialogEditInformation.tsx @@ -68,7 +68,7 @@ export default function DialogEditInformation({requestLog, setOpenDialog, openDi const handleSubmit = () => { - if (formData.type_of_member === "") { + if (formData.type_of_member === "" && requestLog?.corporate_id === 4) { setError(true); alert('Silakan pilih Type Of Member sebelum mengirimkan data.'); } else if (isReasonSelected && formData.reason !== '') {