From 95c058e526ff9edc030f514a277c1c92dd991e16 Mon Sep 17 00:00:00 2001 From: Robert Zondervan Date: Tue, 2 Jul 2024 10:54:01 +0200 Subject: [PATCH] Add field 'omschrijvinglijkvinding' to mapping --- Service/DeceasementService.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Service/DeceasementService.php b/Service/DeceasementService.php index a6f310b..4f0226b 100644 --- a/Service/DeceasementService.php +++ b/Service/DeceasementService.php @@ -126,6 +126,10 @@ public function getDeathProperties(ObjectEntity $object, array $objectArray, boo $datum = new DateTime($caseProperties['tijdlijkvinding']); $objectArray['timeOfFinding'] = $datum->format('H:i'); } + + if (isset($caseProperties['omschrijvinglijkvinding']) === true) { + $objectArray['explanation'] = $caseProperties['omschrijvinglijkvinding']; + } $objectArray['correspondence'] = $this->getCorrespondence($caseProperties); $objectArray['extracts'] = $this->getExtracts($caseProperties); $objectArray['funeralServices'] = $this->getFuneralServices($caseProperties);