feat(investment): prepare evidence-led territorial needs and ideas in existing workflows

This commit is contained in:
2026-10-27 09:35:20 +02:00
parent f8d57bddf9
commit 3439f35038
22 changed files with 605 additions and 14 deletions
+1
View File
@@ -35,6 +35,7 @@ class Opportunity extends Model
{
$data = parent::toArray();
if (isset($data['description'])) $data['description'] = \App\Services\OpportunityPublicText::description($this, $data['description']);
if ($this->exists && ($proactive = app(\App\Services\ProactiveInvestment::class)->publicData($this))) $data['proactive'] = $proactive;
return $data;
}