Invesment
Add : - lib/dummy-data/_master/bank.ts - investment/[id]/(transaction-flow)/select-bank.tsx - /investment/[id]/(transaction-flow)/process.tsx - investment/[id]/(transaction-flow)/invoice.tsx ## No Issue
This commit is contained in:
@@ -32,13 +32,13 @@ export default function LoginView() {
|
||||
|
||||
// router.navigate("/verification");
|
||||
// router.navigate(`/(application)/(user)/profile/${id}`);
|
||||
router.navigate("/(application)/(user)/home");
|
||||
// router.navigate("/(application)/(user)/home");
|
||||
// router.navigate(`/(application)/profile/${id}/edit`);
|
||||
// router.navigate(`/(application)/(user)/portofolio/${id}`)
|
||||
// router.navigate(`/(application)/(image)/preview-image/${id}`);
|
||||
// router.replace("/(application)/(user)/event/(tabs)");
|
||||
// router.replace("/(application)/coba");
|
||||
// router.navigate("/investment/(tabs)")
|
||||
router.navigate("/investment/(tabs)")
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
@@ -3,8 +3,10 @@ import { router } from "expo-router";
|
||||
|
||||
export default function Investment_ButtonStatusSection({
|
||||
status,
|
||||
buttonPublish
|
||||
}: {
|
||||
status: string;
|
||||
buttonPublish?: React.ReactNode;
|
||||
}) {
|
||||
const handleBatalkanReview = () => {
|
||||
AlertDefaultSystem({
|
||||
@@ -74,7 +76,9 @@ export default function Investment_ButtonStatusSection({
|
||||
|
||||
switch (status) {
|
||||
case "publish":
|
||||
return <></>;
|
||||
return <>
|
||||
{buttonPublish}
|
||||
</>;
|
||||
|
||||
case "review":
|
||||
return (
|
||||
|
||||
@@ -29,8 +29,10 @@ export default function Invesment_DetailDataPublishSection({
|
||||
}
|
||||
bottomSection={bottomSection}
|
||||
/>
|
||||
<Investment_ButtonStatusSection status={status as string} />
|
||||
{buttonSection}
|
||||
<Investment_ButtonStatusSection
|
||||
status={status as string}
|
||||
buttonPublish={buttonSection}
|
||||
/>
|
||||
</StackCustom>
|
||||
<Spacing />
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user