Admin Investasi

# feat:
- Ganti status dan reject
### No issue
This commit is contained in:
2023-11-14 12:01:26 +08:00
parent 67212ca035
commit 989c9eed32
16 changed files with 341 additions and 158 deletions

View File

@@ -12,10 +12,10 @@ export default async function funEditInvestasi(
formData: FormData,
data: MODEL_Investasi
) {
const file = formData.get("file");
const file = formData?.get("file");
if (file !== "null") {
const file: any = formData.get("file");
const file: any = formData?.get("file");
const fName = file.name;
const fExt =
file && file.name ? _.lowerCase(file.name.split(".").pop()) : "";