- Fitur hot menu ditambah
- Fitur portofolio khusus status investasi
- Fitur halaman transaksi
### No Issue
#fix:
- Perubahan minor
This commit is contained in:
2023-11-03 16:28:05 +08:00
parent c90aca8e8f
commit 33e363af89
51 changed files with 1953 additions and 408 deletions

View File

@@ -5,6 +5,7 @@ import bidangBisnis from "../../../bin/seeder/bidang_bisnis.json";
import pencarianInvestor from "./../../../bin/seeder/investasi/pencarian_investor.json";
import periodeDeviden from "./../../../bin/seeder/investasi/periode_deviden.json";
import pembagianDeviden from "./../../../bin/seeder/investasi/pembagian_deviden.json";
import statusInvestasi from "./../../../bin/seeder/investasi/status_investasi.json";
export async function GET(req: Request) {
const dev = new URL(req.url).searchParams.get("dev");
@@ -89,6 +90,24 @@ export async function GET(req: Request) {
});
}
// for (let i of statusInvestasi) {
// await prisma.masterStatusInvestasi.upsert({
// where: {
// id: i.id,
// },
// create: {
// id: i.id,
// name: i.name,
// color: i.color,
// },
// update: {
// id: i.id,
// name: i.name,
// color: i.color,
// },
// });
// }
return NextResponse.json({ success: true });
}