fix: surat keterangan kelahiran
Deskripsi: - update value tanggal_lahir_ayah No Issues
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user