diff --git a/app/(application)/admin/event/[id]/[status]/index.tsx b/app/(application)/admin/event/[id]/[status]/index.tsx
index 07c753b..cfd44aa 100644
--- a/app/(application)/admin/event/[id]/[status]/index.tsx
+++ b/app/(application)/admin/event/[id]/[status]/index.tsx
@@ -166,8 +166,8 @@ export default function AdminEventDetail() {
AlertDefaultSystem({
title: "Publish",
message: "Apakah anda yakin ingin mempublikasikan data ini?",
- textLeft: "Cancel",
- textRight: "Publish",
+ textLeft: "Batal",
+ textRight: "Ya",
onPressLeft: () => {
router.back();
},
@@ -191,7 +191,6 @@ export default function AdminEventDetail() {
/>
)}
-
{status === "review" && (
-
-
-
- Publish
-
-
-
-
- Reject
-
-
-
+ {
+ AlertDefaultSystem({
+ title: "Publish",
+ message: "Apakah anda yakin ingin mempublikasikan data ini?",
+ textLeft: "Batal",
+ textRight: "Ya",
+ onPressLeft: () => {
+ router.back();
+ },
+ onPressRight: () => {
+ router.back();
+ },
+ });
+ }}
+ onReject={() => {
+ router.push(`/admin/job/${id}/reject-input`);
+ }}
+ />
)}
+ {status === "reject" && (
+ {
+ router.push(`/admin/job/${id}/reject-input`);
+ }}
+ />
+ )}
+
>
);
diff --git a/app/(application)/admin/job/[id]/reject-input.tsx b/app/(application)/admin/job/[id]/reject-input.tsx
new file mode 100644
index 0000000..aca878e
--- /dev/null
+++ b/app/(application)/admin/job/[id]/reject-input.tsx
@@ -0,0 +1,55 @@
+import {
+ AlertDefaultSystem,
+ BoxButtonOnFooter,
+ TextAreaCustom,
+ ViewWrapper,
+} from "@/components";
+import AdminBackButtonAntTitle from "@/components/_ShareComponent/Admin/BackButtonAntTitle";
+import AdminButtonReject from "@/components/_ShareComponent/Admin/ButtonReject";
+import { router, useLocalSearchParams } from "expo-router";
+import { useState } from "react";
+
+export default function AdminJobRejectInput() {
+ const { id } = useLocalSearchParams();
+ const [value, setValue] = useState(id as string);
+ const buttonSubmit = (
+
+
+ AlertDefaultSystem({
+ title: "Reject",
+ message: "Apakah anda yakin ingin menolak data ini?",
+ textLeft: "Batal",
+ textRight: "Ya",
+ onPressLeft: () => {
+ router.back();
+ },
+ onPressRight: () => {
+ console.log("value:", value);
+ router.replace(`/admin/job/reject/status`);
+ },
+ })
+ }
+ />
+
+ );
+
+ return (
+ <>
+ }
+ >
+
+
+ >
+ );
+}