mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
fix bug: closing motive are present at today date in timeline
This commit is contained in:
parent
cc29c6ee70
commit
fd3ccd62e2
@ -52,6 +52,12 @@ class TimelineAccompanyingPeriodClosing extends AbstractTimelineAccompanyingPeri
|
|||||||
|
|
||||||
$data['type'] = 'accompanying_period_closing';
|
$data['type'] = 'accompanying_period_closing';
|
||||||
$data['date'] = $metadata->getColumnName('closingDate');
|
$data['date'] = $metadata->getColumnName('closingDate');
|
||||||
|
$data['WHERE'] = sprintf('%s = %d AND %s IS NOT NULL',
|
||||||
|
$metadata
|
||||||
|
->getAssociationMapping('person')['joinColumns'][0]['name'],
|
||||||
|
$args['person']->getId(),
|
||||||
|
$metadata->getColumnName('closingDate'))
|
||||||
|
;
|
||||||
|
|
||||||
return $data;
|
return $data;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user