Bursa Investasi
# feat: - Tampilan portofolio selesai - Hapus investasi - Function get data publish ### no issue
This commit is contained in:
@@ -5,17 +5,27 @@ import HeaderTamplate from "@/app_modules/component/header_tamplate";
|
||||
import { AppShell } from "@mantine/core";
|
||||
import { IconEdit } from "@tabler/icons-react";
|
||||
import React from "react";
|
||||
import getOneInvestasiById from "../fun/get_one_investasi_by_id";
|
||||
import { MODEL_Investasi } from "../model/model_investasi";
|
||||
|
||||
export default function LayoutEditProspektusInvestasi({
|
||||
children,
|
||||
idInves
|
||||
dataInvestasi,
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
idInves: string
|
||||
dataInvestasi: MODEL_Investasi;
|
||||
}) {
|
||||
return (
|
||||
<>
|
||||
<AppShell header={<HeaderTamplate title="Edit Prospektus" icon={<IconEdit/>}route2={RouterInvestasi.upload_prospektus + `${idInves}`} />}>
|
||||
<AppShell
|
||||
header={
|
||||
<HeaderTamplate
|
||||
title="Edit Prospektus"
|
||||
icon={<IconEdit />}
|
||||
route2={RouterInvestasi.upload_prospektus + `${dataInvestasi.id}`}
|
||||
/>
|
||||
}
|
||||
>
|
||||
{children}
|
||||
</AppShell>
|
||||
</>
|
||||
|
||||
@@ -49,13 +49,13 @@ export default function EditProspektusInvestasi({
|
||||
px={"sm"}
|
||||
onClick={() => ""}
|
||||
>
|
||||
<Grid.Col span={10}>
|
||||
<Grid.Col span={11}>
|
||||
<Group>
|
||||
{/* <IconFileTypePdf /> */}
|
||||
<Text lineClamp={1}>Prospektus_{prospek.title}</Text>
|
||||
</Group>
|
||||
</Grid.Col>
|
||||
<Grid.Col span={2}>
|
||||
<Grid.Col span={1}>
|
||||
<Center>
|
||||
<IconChevronRight />
|
||||
</Center>
|
||||
@@ -68,7 +68,7 @@ export default function EditProspektusInvestasi({
|
||||
<Title order={4}>Tidak ada file</Title>
|
||||
</Center>
|
||||
)}
|
||||
<Divider my={"lg"} />
|
||||
{/* <Divider my={"lg"} /> */}
|
||||
</Stack>
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user