feat: Update eviction lawsuit naming to use first Mietverhältnis if available
This commit is contained in:
@@ -83,7 +83,13 @@ class CKuendigung extends \Espo\Services\Record
|
||||
|
||||
// 7. Prepare data for new Räumungsklage
|
||||
$data = new \stdClass();
|
||||
|
||||
// Use name from first Mietverhältnis (or fallback to Kündigung)
|
||||
if (!empty($alleMietverhaeltnisse)) {
|
||||
$data->name = 'Räumungsklage - ' . $alleMietverhaeltnisse[0]->get('name');
|
||||
} else {
|
||||
$data->name = 'Räumungsklage - ' . $kuendigung->get('name');
|
||||
}
|
||||
|
||||
// Copy Advoware fields if found
|
||||
if ($advowareAktenzeichen) {
|
||||
|
||||
@@ -68,7 +68,9 @@ class CVmhMietverhltnis extends \Espo\Services\Record
|
||||
|
||||
// 7. Prepare data for new Räumungsklage
|
||||
$data = new \stdClass();
|
||||
$data->name = 'Räumungsklage - ' . $mietverhaeltnis->get('name');
|
||||
|
||||
// Use name from first Mietverhältnis
|
||||
$data->name = 'Räumungsklage - ' . $alleMietverhaeltnisse[0]->get('name');
|
||||
|
||||
// Copy Advoware fields if found
|
||||
if ($advowareAktenzeichen) {
|
||||
|
||||
@@ -361,8 +361,8 @@ return [
|
||||
0 => 'youtube.com',
|
||||
1 => 'google.com'
|
||||
],
|
||||
'cacheTimestamp' => 1769346856,
|
||||
'microtime' => 1769346856.162518,
|
||||
'cacheTimestamp' => 1769347057,
|
||||
'microtime' => 1769347057.472966,
|
||||
'siteUrl' => 'https://crm.bitbylaw.com',
|
||||
'fullTextSearchMinLength' => 4,
|
||||
'appTimestamp' => 1768843902,
|
||||
|
||||
Reference in New Issue
Block a user