Integrasi API: Investment & Admin Investment

Add:
- components/_ShareComponent/NoDataText.tsx
- service/api-admin/api-admin-investment.ts

Fix:
- app/(application)/(user)/investment/(tabs)/index.tsx
- app/(application)/admin/investment/[id]/[status]/index.tsx
- app/(application)/admin/investment/[id]/reject-input.tsx
- app/(application)/admin/investment/[status]/status.tsx
- app/(application)/admin/investment/index.tsx
- screens/Invesment/DetailDataPublishSection.tsx

### No Issue
This commit is contained in:
2025-10-30 15:13:33 +08:00
parent b3209dc7ee
commit f23cfe1107
8 changed files with 413 additions and 119 deletions

View File

@@ -7,6 +7,7 @@ import React from "react";
import Invesment_BoxDetailDataSection from "./BoxDetailDataSection";
import Invesment_BoxProgressSection from "./BoxProgressSection";
import Investment_ButtonStatusSection from "./ButtonStatusSection";
import ReportBox from "@/components/Box/ReportBox";
export default function Invesment_DetailDataPublishSection({
status,
@@ -23,6 +24,9 @@ export default function Invesment_DetailDataPublishSection({
return (
<>
<StackCustom gap={"sm"}>
{data && data?.catatan && (status === "draft" || status === "reject") && (
<ReportBox text={data?.catatan} />
)}
<Invesment_BoxProgressSection progress={data?.progress} status={status as string} />
<Invesment_BoxDetailDataSection
title={data?.title}