mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-18 14:56:13 +00:00
Fix styling
This commit is contained in:
parent
f3cc4a89af
commit
f383fab578
@ -58,9 +58,9 @@ readonly class AccompanyingPeriodWorkMergeService
|
|||||||
private function transferEvaluationsSQL(AccompanyingPeriodWork $toKeep, AccompanyingPeriodWork $toDelete): void
|
private function transferEvaluationsSQL(AccompanyingPeriodWork $toKeep, AccompanyingPeriodWork $toDelete): void
|
||||||
{
|
{
|
||||||
$this->em->getConnection()->executeQuery(
|
$this->em->getConnection()->executeQuery(
|
||||||
"UPDATE chill_person_accompanying_period_work_evaluation cpapwe
|
'UPDATE chill_person_accompanying_period_work_evaluation cpapwe
|
||||||
SET accompanyingperiodwork_id = :toKeepId
|
SET accompanyingperiodwork_id = :toKeepId
|
||||||
WHERE cpapwe.accompanyingperiodwork_id = :toDeleteId",
|
WHERE cpapwe.accompanyingperiodwork_id = :toDeleteId',
|
||||||
['toKeepId' => $toKeep->getId(), 'toDeleteId' => $toDelete->getId()]
|
['toKeepId' => $toKeep->getId(), 'toDeleteId' => $toDelete->getId()]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -85,7 +85,7 @@ readonly class AccompanyingPeriodWorkMergeService
|
|||||||
|
|
||||||
private function concatenateComments(AccompanyingPeriodWork $toKeep, AccompanyingPeriodWork $toDelete): void
|
private function concatenateComments(AccompanyingPeriodWork $toKeep, AccompanyingPeriodWork $toDelete): void
|
||||||
{
|
{
|
||||||
if ($toDelete->getNote() !== '') {
|
if ('' !== $toDelete->getNote()) {
|
||||||
$toKeep->setNote($toKeep->getNote()."\n\n-----------------\n\n".$toDelete->getNote());
|
$toKeep->setNote($toKeep->getNote()."\n\n-----------------\n\n".$toDelete->getNote());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user