diff --git a/app/(application)/admin/donation/[id]/[status]/index.tsx b/app/(application)/admin/donation/[id]/[status]/index.tsx
index 2a5c8fe..3c74b4a 100644
--- a/app/(application)/admin/donation/[id]/[status]/index.tsx
+++ b/app/(application)/admin/donation/[id]/[status]/index.tsx
@@ -7,6 +7,8 @@ import {
DrawerCustom,
DummyLandscapeImage,
MenuDrawerDynamicGrid,
+ ProgressCustom,
+ Spacing,
StackCustom,
TextCustom,
ViewWrapper,
@@ -18,10 +20,12 @@ import AdminButtonReview from "@/components/_ShareComponent/Admin/ButtonReview";
import { GridDetail_4_8 } from "@/components/_ShareComponent/GridDetail_4_8";
import { MainColor } from "@/constants/color-palet";
import { ICON_SIZE_BUTTON, TEXT_SIZE_LARGE } from "@/constants/constans-value";
+import AdminDonation_BoxOfDonationStory from "@/screens/Admin/Donation/BoxOfDonationStory";
import { Ionicons } from "@expo/vector-icons";
import { router, useLocalSearchParams } from "expo-router";
import _ from "lodash";
import React from "react";
+import { View } from "react-native";
export default function AdminDonationDetail() {
const { id, status } = useLocalSearchParams();
@@ -68,18 +72,18 @@ export default function AdminDonationDetail() {
label: "Kategori",
value: "Kategori Donasi",
},
- {
- label: "Total Donatur",
- value: "-",
- },
- {
- label: "Progress",
- value: "0 %",
- },
- {
- label: "Dana Terkumpul",
- value: "Rp 0",
- },
+ // {
+ // label: "Total Donatur",
+ // value: "-",
+ // },
+ // {
+ // label: "Progress",
+ // value: "0 %",
+ // },
+ // {
+ // label: "Dana Terkumpul",
+ // value: "Rp 0",
+ // },
];
const listPencarianDana = [
@@ -114,6 +118,8 @@ export default function AdminDonationDetail() {
/>
);
+
+
return (
<>
{status === "publish" && (
-
-
-
- Pencarian Dana
-
+
+
+
+
+ Pencarian Dana
+
-
- {listPencarianDana.map((item, i) => (
- {item.label}}
- value={{item.value}}
- />
- ))}
+
+ {listPencarianDana.map((item, i) => (
+ {item.label}}
+ value={{item.value}}
+ />
+ ))}
+
+
+ }
+ onPress={() => {
+ router.push(`/admin/donation/${id}/disbursement-of-funds`);
+ }}
+ >
+ Cairkan Dana
+
-
- }
- onPress={() => {
- router.push(`/admin/donation/${id}/disbursement-of-funds`);
- }}
- >
- Cairkan Dana
-
-
-
+
+
+
+
+
+
+ Jumlah Donatur}
+ value={0 orang}
+ />
+ Dana Terkumpul}
+ value={Rp 0}
+ />
+
+
+
)}
@@ -168,34 +191,42 @@ export default function AdminDonationDetail() {
{status === "review" && (
- {
- 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/donation/${id}/reject-input`);
- }}
- />
+
+
+
+ {
+ 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/donation/${id}/reject-input`);
+ }}
+ />
+
)}
{status === "reject" && (
- {
- router.push(`/admin/donation/${id}/reject-input`);
- }}
- />
+
+
+
+ {
+ router.push(`/admin/donation/${id}/reject-input`);
+ }}
+ />
+
)}
diff --git a/screens/Admin/Donation/BoxOfDonationStory.tsx b/screens/Admin/Donation/BoxOfDonationStory.tsx
new file mode 100644
index 0000000..a50540f
--- /dev/null
+++ b/screens/Admin/Donation/BoxOfDonationStory.tsx
@@ -0,0 +1,34 @@
+import {
+ BaseBox,
+ TextCustom,
+ Spacing,
+ StackCustom,
+ DummyLandscapeImage,
+} from "@/components";
+
+export default function AdminDonation_BoxOfDonationStory() {
+ return (
+ <>
+
+ Cerita Penggalang Dana
+
+
+
+
+ Lorem ipsum dolor sit, amet consectetur adipisicing elit. Rem magni
+ perspiciatis eius ipsam provident, impedit, fugiat aliquid nobis
+ pariatur asperiores fuga quidem temporibus labore, molestias
+ perferendis optio ipsum. Praesentium, tempore?
+
+
+
+ Lorem ipsum dolor sit, amet consectetur adipisicing elit. Rem magni
+ perspiciatis eius ipsam provident, impedit, fugiat aliquid nobis
+ pariatur asperiores fuga quidem temporibus labore, molestias
+ perferendis optio ipsum. Praesentium, tempore?
+
+
+
+ >
+ );
+}