Test foto server
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
"use server";
|
||||
import { MODEL_Investasi } from "../model/model_investasi";
|
||||
import { MODEL_INVESTASI } from "../_lib/interface";
|
||||
import moment from "moment";
|
||||
import prisma from "@/app/lib/prisma";
|
||||
|
||||
export default async function funUpadteProgresPersenInvestasi(data: MODEL_Investasi) {
|
||||
export default async function funUpadteProgresPersenInvestasi(data: MODEL_INVESTASI) {
|
||||
// console.log(data)
|
||||
if (data.MasterProgresInvestasi.id !== "2" && data.progress === "100") {
|
||||
const res = await prisma.investasi.update({
|
||||
|
||||
Reference in New Issue
Block a user