amalia/15-jan-26 #112

Merged
amaliadwiy merged 3 commits from amalia/15-jan-26 into main 2026-01-15 14:33:16 +08:00
4 changed files with 13 additions and 18 deletions
Showing only changes of commit 59b4f1d73f - Show all commits

View File

@@ -7,7 +7,7 @@ export default function SKKelahiran({ data }: { data: any }) {
const getValue = (jenis: string) => const getValue = (jenis: string) =>
_.upperFirst( _.upperFirst(
data.surat.dataText.find((item: any) => item.jenis === jenis)?.value || data.surat.dataText.find((item: any) => item.jenis === jenis)?.value ||
"", "",
); );
const loadImage = async () => { const loadImage = async () => {
@@ -161,7 +161,7 @@ export default function SKKelahiran({ data }: { data: any }) {
<tr> <tr>
<td>Tempat & Tanggal Lahir</td> <td>Tempat & Tanggal Lahir</td>
<td>:</td> <td>:</td>
<td>{`${getValue("tempat_lahir_ayah")}, ${"tanggal_lahir_ayah"}`}</td> <td>{`${getValue("tempat_lahir_ayah")}, ${getValue("tanggal_lahir_ayah")}`}</td>
</tr> </tr>
<tr> <tr>
<td>Pekerjaan</td> <td>Pekerjaan</td>

View File

@@ -163,6 +163,11 @@ function DetailDataPengajuan({
message: "Success send message to warga", message: "Success send message to warga",
type: "success", type: "success",
}); });
if (status == "selesai") {
onAction()
}
} else { } else {
notification({ notification({
title: "Failed", title: "Failed",