Fix
## Deskripsi: - Cek notif ## No Issue
This commit is contained in:
@@ -8,7 +8,7 @@ export async function Donasi_getMasterBank() {
|
||||
// createdAt: "asc",
|
||||
// },
|
||||
where: {
|
||||
active: true,
|
||||
isActive: true,
|
||||
},
|
||||
});
|
||||
return data;
|
||||
|
||||
@@ -1,19 +1,16 @@
|
||||
"use client";
|
||||
|
||||
import { RouterDonasi } from "@/app/lib/router_hipmi/router_donasi";
|
||||
import { ActionIcon, Affix, Box, Center, rem } from "@mantine/core";
|
||||
import { useWindowScroll } from "@mantine/hooks";
|
||||
import { IconPencilPlus } from "@tabler/icons-react";
|
||||
import { useRouter } from "next/navigation";
|
||||
import ComponentGlobal_CreateButton from "@/app_modules/_global/component/button_create";
|
||||
import ComponentGlobal_IsEmptyData from "@/app_modules/_global/component/is_empty_data";
|
||||
import ComponentGlobal_Loader from "@/app_modules/_global/component/loader";
|
||||
import { Box, Center } from "@mantine/core";
|
||||
import _ from "lodash";
|
||||
import { ScrollOnly } from "next-scroll-loader";
|
||||
import { useState } from "react";
|
||||
import ComponentDonasi_CardPublish from "../component/card_view/card_publish";
|
||||
import { MODEL_DONASI } from "../model/interface";
|
||||
import ComponentGlobal_CreateButton from "@/app_modules/_global/component/button_create";
|
||||
import _ from "lodash";
|
||||
import ComponentGlobal_IsEmptyData from "@/app_modules/_global/component/is_empty_data";
|
||||
import { ScrollOnly } from "next-scroll-loader";
|
||||
import { donasi_funGetAllPublish } from "../fun/get/get_list_beranda";
|
||||
import ComponentGlobal_Loader from "@/app_modules/_global/component/loader";
|
||||
import { MODEL_DONASI } from "../model/interface";
|
||||
|
||||
export default function MainDonasi({
|
||||
listDonasi,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { MODEL_USER } from "@/app_modules/home/model/interface";
|
||||
import { MODEL_DATA_BANK } from "@/app_modules/investasi/_lib/interface";
|
||||
import { MODEL_MASTER_BANK } from "@/app_modules/investasi/_lib/interface";
|
||||
import { MODEL_IMAGES } from "@/app_modules/model_global/interface";
|
||||
|
||||
export interface MODEL_DONASI {
|
||||
|
||||
@@ -7,7 +7,7 @@ import {
|
||||
} from "@/app_modules/_global/color/color_pallet";
|
||||
import { ComponentGlobal_NotifikasiBerhasil } from "@/app_modules/_global/notif_global/notifikasi_berhasil";
|
||||
import { ComponentGlobal_NotifikasiGagal } from "@/app_modules/_global/notif_global/notifikasi_gagal";
|
||||
import { MODEL_DATA_BANK } from "@/app_modules/investasi/_lib/interface";
|
||||
import { MODEL_MASTER_BANK } from "@/app_modules/investasi/_lib/interface";
|
||||
import notifikasiToAdmin_funCreate from "@/app_modules/notifikasi/fun/create/create_notif_to_admin";
|
||||
import mqtt_client from "@/util/mqtt_client";
|
||||
import { Button, Paper, Radio, Stack, Title } from "@mantine/core";
|
||||
@@ -22,7 +22,7 @@ export default function Donasi_MetodePembayaran({
|
||||
donasiId,
|
||||
authorId,
|
||||
}: {
|
||||
listBank: MODEL_DATA_BANK[];
|
||||
listBank: MODEL_MASTER_BANK[];
|
||||
donasiId: string;
|
||||
authorId: string;
|
||||
}) {
|
||||
@@ -110,7 +110,7 @@ export default function Donasi_MetodePembayaran({
|
||||
value={e.id}
|
||||
label={
|
||||
<Title order={6} color="white">
|
||||
{e.name}
|
||||
{e.namaBank}
|
||||
</Title>
|
||||
}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user