Terakhir Di Investasi Perbaikan Tampilannya
This commit is contained in:
@@ -60,8 +60,8 @@ export function Investasi_UiPortofolioNew() {
|
||||
style={{
|
||||
transition: "ease 0.5s ",
|
||||
backgroundColor:
|
||||
param.id === e.id ? MainColor.yellow : AccentColor.blue,
|
||||
color: param.id === e.id ? "black" : MainColor.white,
|
||||
param.id === e.id ? MainColor.yellow : MainColor.white,
|
||||
color: param.id === e.id ? MainColor.darkblue : MainColor.black,
|
||||
}}
|
||||
>
|
||||
{e.name}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"use client";
|
||||
|
||||
import { NEW_RouterInvestasi } from "@/app/lib/router_hipmi/router_investasi";
|
||||
import { MainColor } from "@/app_modules/_global/color/color_pallet";
|
||||
import { AccentColor, MainColor } from "@/app_modules/_global/color/color_pallet";
|
||||
import ComponentGlobal_BoxInformation from "@/app_modules/_global/component/box_information";
|
||||
import { funGlobal_DeleteFileById } from "@/app_modules/_global/fun";
|
||||
import { ComponentGlobal_NotifikasiBerhasil } from "@/app_modules/_global/notif_global/notifikasi_berhasil";
|
||||
@@ -119,9 +119,8 @@ export default function Investasi_ViewDetailDraft({
|
||||
<Group position="apart" grow>
|
||||
<Button
|
||||
radius={50}
|
||||
bg={MainColor.yellow}
|
||||
color="yellow"
|
||||
c={"black"}
|
||||
style={{ backgroundColor: AccentColor.yellow}}
|
||||
c={MainColor.darkblue}
|
||||
onClick={() => setOpenModal(true)}
|
||||
>
|
||||
Ajukan Review
|
||||
@@ -129,8 +128,8 @@ export default function Investasi_ViewDetailDraft({
|
||||
|
||||
<Button
|
||||
radius={50}
|
||||
color="red"
|
||||
c={"black"}
|
||||
style={{ backgroundColor: MainColor.red}}
|
||||
c={AccentColor.white}
|
||||
onClick={() => setOpenModalDelete(true)}
|
||||
>
|
||||
Hapus
|
||||
@@ -144,19 +143,20 @@ export default function Investasi_ViewDetailDraft({
|
||||
close={() => setOpenModal(false)}
|
||||
title={"Anda yakin ingin mengajukan review ?"}
|
||||
buttonKiri={
|
||||
<Button radius={"xl"} onClick={() => setOpenModal(false)}>
|
||||
<Button style={{ color: AccentColor.white }} radius={"xl"} onClick={() => setOpenModal(false)}>
|
||||
Batal
|
||||
</Button>
|
||||
}
|
||||
buttonKanan={
|
||||
<Button
|
||||
style={{
|
||||
transition: "0.5s",
|
||||
transition: "0.5s", color: "black",
|
||||
backgroundColor: AccentColor.yellow,
|
||||
}}
|
||||
loaderPosition="center"
|
||||
loading={isLoading}
|
||||
radius={"xl"}
|
||||
color={"orange"}
|
||||
c={MainColor.darkblue}
|
||||
onClick={() => onChangeStatus()}
|
||||
>
|
||||
Simpan
|
||||
@@ -178,11 +178,12 @@ export default function Investasi_ViewDetailDraft({
|
||||
<Button
|
||||
style={{
|
||||
transition: "0.5s",
|
||||
backgroundColor: MainColor.red
|
||||
}}
|
||||
loaderPosition="center"
|
||||
loading={isLoadingDelete}
|
||||
radius={"xl"}
|
||||
color={"red"}
|
||||
c={AccentColor.white}
|
||||
onClick={() => {
|
||||
onDelete();
|
||||
}}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
"use client";
|
||||
|
||||
import { NEW_RouterInvestasi } from "@/app/lib/router_hipmi/router_investasi";
|
||||
import { AccentColor, MainColor } from "@/app_modules/_global/color";
|
||||
import { ComponentGlobal_NotifikasiBerhasil } from "@/app_modules/_global/notif_global/notifikasi_berhasil";
|
||||
import { ComponentGlobal_NotifikasiPeringatan } from "@/app_modules/_global/notif_global/notifikasi_peringatan";
|
||||
import { UIGlobal_Modal } from "@/app_modules/_global/ui";
|
||||
@@ -65,9 +66,10 @@ export default function Investasi_ViewDetailReview({
|
||||
<Button
|
||||
mb={"xl"}
|
||||
radius={50}
|
||||
bg={"orange"}
|
||||
color="yellow"
|
||||
c={"black"}
|
||||
style={{
|
||||
backgroundColor: MainColor.orange,
|
||||
}}
|
||||
c={MainColor.darkblue}
|
||||
onClick={() => setOpenModal(true)}
|
||||
>
|
||||
Batalkan Review
|
||||
@@ -80,19 +82,21 @@ export default function Investasi_ViewDetailReview({
|
||||
close={() => setOpenModal(false)}
|
||||
title={"Anda yakin ingin batalkan review?"}
|
||||
buttonKiri={
|
||||
<Button radius={"xl"} onClick={() => setOpenModal(false)}>
|
||||
<Button style={{ color: AccentColor.white }} radius={"xl"} onClick={() => setOpenModal(false)}>
|
||||
Batal
|
||||
</Button>
|
||||
}
|
||||
buttonKanan={
|
||||
<Button
|
||||
|
||||
style={{
|
||||
transition: "0.5s",
|
||||
transition: "0.5s", color: "black",
|
||||
backgroundColor: AccentColor.yellow
|
||||
}}
|
||||
loaderPosition="center"
|
||||
loading={isLoading}
|
||||
radius={"xl"}
|
||||
color={"orange"}
|
||||
c={MainColor.darkblue}
|
||||
onClick={() => onChangeStatus()}
|
||||
>
|
||||
Simpan
|
||||
|
||||
@@ -446,7 +446,10 @@ export default function InvestasiCreateNew() {
|
||||
},
|
||||
input: {
|
||||
backgroundColor: MainColor.white,
|
||||
}
|
||||
},
|
||||
dropdown: {
|
||||
backgroundColor: MainColor.white,
|
||||
},
|
||||
}}
|
||||
withAsterisk
|
||||
label="Pencarian Investor"
|
||||
@@ -475,7 +478,10 @@ export default function InvestasiCreateNew() {
|
||||
},
|
||||
input: {
|
||||
backgroundColor: MainColor.white,
|
||||
}
|
||||
},
|
||||
dropdown: {
|
||||
backgroundColor: MainColor.white,
|
||||
},
|
||||
}}
|
||||
withAsterisk
|
||||
label="Periode Deviden"
|
||||
@@ -501,7 +507,10 @@ export default function InvestasiCreateNew() {
|
||||
},
|
||||
input: {
|
||||
backgroundColor: MainColor.white,
|
||||
}
|
||||
},
|
||||
dropdown: {
|
||||
backgroundColor: MainColor.white,
|
||||
},
|
||||
}}
|
||||
withAsterisk
|
||||
label="Pembagian Deviden"
|
||||
|
||||
@@ -64,12 +64,13 @@ export default function PortofolioInvestasi({
|
||||
c={"black"}
|
||||
style={{
|
||||
transition: "0.5s",
|
||||
backgroundColor:
|
||||
activeTab === e.name ? MainColor.yellow : "white",
|
||||
border:
|
||||
activeTab === e.name
|
||||
? `1px solid ${AccentColor.yellow}`
|
||||
: `1px solid white`,
|
||||
color: activeTab === e.id ? MainColor.darkblue : MainColor.black,
|
||||
// backgroundColor:
|
||||
// activeTab === e.name ? MainColor.yellow : AccentColor.white,
|
||||
// border:
|
||||
// activeTab === e.name
|
||||
// ? `1px solid ${AccentColor.yellow}`
|
||||
// : `1px solid white`,
|
||||
}}
|
||||
>
|
||||
{e.name}
|
||||
|
||||
Reference in New Issue
Block a user