Skip to content

Commit

Permalink
missing file with last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
emilschn committed Oct 19, 2023
1 parent 24a87c6 commit 5db1804
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/Manager/SignalementManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,17 @@ public function updateFromSituationFoyerRequest(Signalement $signalement, Situat

public function updateFromProcedureDemarchesRequest(Signalement $signalement, ProcedureDemarchesRequest $procedureDemarchesRequest)
{
$signalement->setIsProprioAverti($procedureDemarchesRequest->getIsProprioAverti());
switch ($procedureDemarchesRequest->getIsProprioAverti()) {
case 'oui':
$signalement->setIsProprioAverti(true);
break;
case 'non':
$signalement->setIsProprioAverti(false);
break;
case 'nsp':
$signalement->setIsProprioAverti(null);
break;
}

$informationProcedure = $signalement->getInformationProcedure();
$informationProcedure
Expand Down

0 comments on commit 5db1804

Please sign in to comment.