skip existing

This commit is contained in:
Luca Haid
2025-05-12 18:01:06 +02:00
parent b6c4149e4e
commit d65e67571d

View File

@@ -1098,6 +1098,9 @@ class ConstructionConsentController extends mfBaseController {
$ownerRecord = new ConstructionConsentOwner();
$ownerRecord->constructionconsent_id = $consentRecord->id;
$ownerRecord->create_by = $this->me->id;
} else {
$counts["skipped"]++;
continue;
}
$addressKey = null; foreach(array_keys($ownerData) as $k) { if(strpos($k,"ADR") === 0) {$addressKey=$k; break;} }