fix: Admin
Deskripsi: - Penambahan field nama rekening di db bank - Optimalisasi event ## No Issue
This commit is contained in:
@@ -32,6 +32,16 @@ export function Investasi_ComponentCardDaftarTransaksi({
|
||||
invoiceId: string;
|
||||
statusInvoiceId: string;
|
||||
}) {
|
||||
|
||||
// Berhasil
|
||||
if (statusInvoiceId === "1") {
|
||||
setVisible(true);
|
||||
return router.push(NEW_RouterInvestasi.transaksi_berhasil + invoiceId, {
|
||||
scroll: false,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
// Proses
|
||||
if (statusInvoiceId === "2") {
|
||||
setVisible(true);
|
||||
@@ -48,6 +58,13 @@ export function Investasi_ComponentCardDaftarTransaksi({
|
||||
});
|
||||
}
|
||||
|
||||
if (statusInvoiceId === "4") {
|
||||
setVisible(true);
|
||||
return router.push(NEW_RouterInvestasi.transaksi_gagal + invoiceId, {
|
||||
scroll: false,
|
||||
});
|
||||
}
|
||||
|
||||
ComponentGlobal_NotifikasiPeringatan("Status Belum Tersedia");
|
||||
}
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user