Invesment

Add:
- app/(application)/(user)/investment/[id]/(document)/

## No Issue
This commit is contained in:
2025-07-31 16:38:28 +08:00
parent 2931f6ba55
commit cc35bc6907
11 changed files with 62 additions and 57 deletions

View File

@@ -214,13 +214,6 @@ export default function UserLayout() {
headerLeft: () => <BackButton />,
}}
/>
<Stack.Screen
name="investment/[id]/list-of-document"
options={{
title: "Daftar Dokumen",
headerLeft: () => <BackButton />,
}}
/>
<Stack.Screen
name="investment/[id]/edit"
options={{
@@ -228,27 +221,36 @@ export default function UserLayout() {
headerLeft: () => <BackButton />,
}}
/>
<Stack.Screen
name="investment/[id]/add-document"
name="investment/[id]/edit-prospectus"
options={{
title: "Edit Prospektus",
headerLeft: () => <BackButton />,
}}
/>
<Stack.Screen
name="investment/[id]/(document)/list-of-document"
options={{
title: "Daftar Dokumen",
headerLeft: () => <BackButton />,
}}
/>
<Stack.Screen
name="investment/[id]/(document)/add-document"
options={{
title: "Tambah Dokumen",
headerLeft: () => <BackButton />,
}}
/>
<Stack.Screen
name="investment/[id]/edit-document"
name="investment/[id]/(document)/edit-document"
options={{
title: "Edit Dokumen",
headerLeft: () => <BackButton />,
}}
/>
<Stack.Screen
name="investment/[id]/edit-prospectus"
options={{
title: "Edit Prospektus",
headerLeft: () => <BackButton />,
}}
/>
<Stack.Screen
name="investment/[id]/(news)/add-news"

View File

@@ -75,7 +75,7 @@ export default function InvestmentRecapOfDocument() {
/>
),
label: "Tambah Dokumen",
path: `/investment/${id}/add-document`,
path: `/investment/${id}/(document)/add-document`,
},
]}
onPressItem={(item) => {
@@ -96,7 +96,7 @@ export default function InvestmentRecapOfDocument() {
{
icon: <IconEdit />,
label: "Edit Dokumen",
path: `/investment/${id}/edit-document`,
path: `/investment/${id}/(document)/edit-document`,
},
{
icon: (

View File

@@ -101,7 +101,7 @@ export default function InvestmentDetailStatus() {
/>
),
label: "Update Dokumen",
path: `/investment/${id}/recap-of-document`,
path: `/investment/${id}/(document)/recap-of-document`,
},
]}
columns={4}
@@ -120,7 +120,7 @@ export default function InvestmentDetailStatus() {
{
icon: <IconDocument />,
label: "Update Dokumen",
path: `/investment/${id}/recap-of-document`,
path: `/investment/${id}/(document)/recap-of-document`,
},
{
icon: <IconNews />,

View File

@@ -37,7 +37,7 @@ export default function InvestmentDetail() {
const bottomSection = (
<Invesment_ComponentBoxOnBottomDetail
id={id as string}
status={status as string}
status={'publish'}
/>
);