diff --git a/src/app_modules/investasi/main/view.tsx b/src/app_modules/investasi/main/view.tsx
index 9d214c15..bc2fa3d1 100644
--- a/src/app_modules/investasi/main/view.tsx
+++ b/src/app_modules/investasi/main/view.tsx
@@ -5,6 +5,7 @@ import { INVESTASI } from "@/app_modules/models/investasi";
import { MODEL_ALL_MASTER } from "@/app_modules/models/model_AllMaster";
import {
AspectRatio,
+ Badge,
Box,
Button,
Card,
@@ -20,6 +21,9 @@ import {
Title,
} from "@mantine/core";
import { useRouter } from "next/navigation";
+import dataDummy from "../dummy/data_dummy.json";
+import moment from "moment";
+import { IconCheck, IconCircleCheck } from "@tabler/icons-react";
export default function MainInvestasi({
listData,
@@ -33,11 +37,18 @@ export default function MainInvestasi({
pembagianDeviden: MODEL_ALL_MASTER[];
}) {
const router = useRouter();
+
return (
<>
+ {/* {JSON.stringify(listData, null, 2)} */}
+ {dataDummy.map((e) => (
+ router.push(`/dev/investasi/detail/${e.id}`)}
+ >
- {listData.map((e) => (
-
{e.imagesId ? (
@@ -49,20 +60,19 @@ export default function MainInvestasi({
-
+
+ {e.title}
- {e.title}
-
+
+
+
@@ -93,8 +103,48 @@ export default function MainInvestasi({
-
- Selesai
+
+
+ {e.saham_beli === 0 ? (
+ ""
+ ) : (
+
+ Saham Anda
+
+ )}
+
+ {(() => {
+ if (
+ e.masterPencarianInvestorId -
+ moment(new Date()).diff(new Date(e.createdAt), "days") <=
+ 0
+ ) {
+ return (
+ <>
+
+
+ Selesai
+
+ >
+ );
+ } else {
+ return (
+ <>
+
+ Sisa waktu:
+
+ {e.masterPencarianInvestorId -
+ moment(new Date()).diff(
+ new Date(e.createdAt),
+ "days"
+ )}
+
+ Hari
+
+ >
+ );
+ }
+ })()}
diff --git a/src/app_modules/investasi/metode_transfer/layout.tsx b/src/app_modules/investasi/metode_transfer/layout.tsx
new file mode 100644
index 00000000..3da9da0d
--- /dev/null
+++ b/src/app_modules/investasi/metode_transfer/layout.tsx
@@ -0,0 +1,19 @@
+"use client";
+
+import HeaderTamplate from "@/app_modules/component/header_tamplate";
+import { AppShell } from "@mantine/core";
+import React from "react";
+
+export default function LayoutMetodeTransferInvestasi({
+ children,
+}: {
+ children: React.ReactNode;
+}) {
+ return (
+ <>
+ }>
+ {children}
+