Transaksi
# feat: - proses transfer - metode pembayaran ### issue: - data nama bank dan rekenening belum masuk
This commit is contained in:
@@ -34,7 +34,7 @@ import { getFotoProfile } from "../profile/api/get-foto-profile";
|
||||
import { ApiHipmi } from "@/app/lib/api";
|
||||
import { ListPortofolioView } from "../portofolio";
|
||||
import { User } from "@prisma/client";
|
||||
import { MODEL_User_profile } from "@/app_modules/models/user_profile";
|
||||
import { MODEL_User_profile } from "@/app_modules/home/models/user_profile";
|
||||
import { LIST_PORTOFOLIO } from "@/app_modules/models/portofolio";
|
||||
|
||||
export default function KatalogView({ user, listPorto }: { user: MODEL_User_profile, listPorto: LIST_PORTOFOLIO }) {
|
||||
|
||||
@@ -13,7 +13,7 @@ import { useState } from "react";
|
||||
import toast from "react-simple-toasts";
|
||||
import { gs_profile } from "../state/global_state";
|
||||
import { loadDataProfile } from "../fun/fun_get_profile";
|
||||
import { MODEL_User_profile } from "@/app_modules/models/user_profile";
|
||||
import { MODEL_User_profile } from "@/app_modules/home/models/user_profile";
|
||||
import funEditProfile from "../fun/fun_edit_profile";
|
||||
|
||||
export default function EditProfile({ data }: { data: MODEL_User_profile }) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"use server";
|
||||
|
||||
import prisma from "@/app/lib/prisma";
|
||||
import { MODEL_User_profile } from "@/app_modules/models/user_profile";
|
||||
import { MODEL_User_profile } from "@/app_modules/home/models/user_profile";
|
||||
|
||||
export default async function funEditProfile(data: MODEL_User_profile) {
|
||||
const res = await prisma.profile.update({
|
||||
|
||||
@@ -32,7 +32,7 @@ import { loadDataProfile } from "../fun/fun_get_profile";
|
||||
import { getFotoProfile } from "../api/get-foto-profile";
|
||||
import { gs_fotoProfile, gs_profile } from "../state/global_state";
|
||||
import { getProfile } from "..";
|
||||
import { MODEL_User_profile } from "@/app_modules/models/user_profile";
|
||||
import { MODEL_User_profile } from "@/app_modules/home/models/user_profile";
|
||||
import { funGetUserProfile } from "@/app_modules/fun/get_user_profile";
|
||||
|
||||
export default function ProfileView({ user }: { user: MODEL_User_profile }) {
|
||||
|
||||
Reference in New Issue
Block a user