Transaksi

# feat:
- proses transfer
- metode pembayaran
### issue:
- data nama bank dan rekenening belum masuk
This commit is contained in:
2023-11-18 08:33:56 +08:00
parent 71834ddb2f
commit 19e870f8cd
38 changed files with 615 additions and 219 deletions

View File

@@ -0,0 +1,25 @@
"use server"
import prisma from "@/app/lib/prisma"
export default async function getTransaksiInvestasi(id: string) {
const data = await prisma.transaksiInvestasi.findUnique({
where: {
id: id
},
select: {
id: true,
namaBank: true,
nomorRekening: true,
lembarTerbeli: true,
totalTransfer: true,
active: true,
createdAt: true,
updatedAt: true,
Author: true,
Investasi: true
}
})
return data
}