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) =>
|
||||
_.upperFirst(
|
||||
data.surat.dataText.find((item: any) => item.jenis === jenis)?.value ||
|
||||
"",
|
||||
"",
|
||||
);
|
||||
|
||||
const loadImage = async () => {
|
||||
@@ -161,7 +161,7 @@ export default function SKKelahiran({ data }: { data: any }) {
|
||||
<tr>
|
||||
<td>Tempat & Tanggal Lahir</td>
|
||||
<td>:</td>
|
||||
<td>{`${getValue("tempat_lahir_ayah")}, ${"tanggal_lahir_ayah"}`}</td>
|
||||
<td>{`${getValue("tempat_lahir_ayah")}, ${getValue("tanggal_lahir_ayah")}`}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Pekerjaan</td>
|
||||
|
||||
@@ -163,6 +163,11 @@ function DetailDataPengajuan({
|
||||
message: "Success send message to warga",
|
||||
type: "success",
|
||||
});
|
||||
|
||||
if (status == "selesai") {
|
||||
onAction()
|
||||
}
|
||||
|
||||
} else {
|
||||
notification({
|
||||
title: "Failed",
|
||||
|
||||
Reference in New Issue
Block a user