mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
CurrentEvaluationsFilter
This commit is contained in:
parent
f714c7206c
commit
0e553594a0
@ -25,11 +25,7 @@ class CurrentEvaluationsFilter implements FilterInterface
|
||||
|
||||
public function alterQuery(QueryBuilder $qb, $data)
|
||||
{
|
||||
$qb
|
||||
->andWhere(
|
||||
$qb->expr()->in('', ':')
|
||||
)
|
||||
->setParameter('', $data[]);
|
||||
$qb->andWhere('workeval.endDate IS NULL');
|
||||
}
|
||||
|
||||
public function applyOn(): string
|
||||
@ -39,13 +35,12 @@ class CurrentEvaluationsFilter implements FilterInterface
|
||||
|
||||
public function buildForm(FormBuilderInterface $builder)
|
||||
{
|
||||
$builder->add();
|
||||
//no form needed
|
||||
}
|
||||
|
||||
public function describeAction($data, $format = 'string'): array
|
||||
{
|
||||
return ['', [
|
||||
]];
|
||||
return ['Filtered by current evaluations'];
|
||||
}
|
||||
|
||||
public function getTitle(): string
|
||||
|
@ -575,6 +575,7 @@ end period date: Date de fin de la période
|
||||
"Filtered by start date: between %start_date% and %end_date%": "Filtré par la date de début: comprise entre %start_date% et %end_date%"
|
||||
"Filtered by end date: between %start_date% and %end_date%": "Filtré par la date de fin: comprise entre %start_date% et %end_date%"
|
||||
Filter by current evaluations: Filtrer les évaluations en cours
|
||||
"Filtered by current evaluations": "Filtré selon les évaluations en cours"
|
||||
Group by start date evaluations: Grouper les évaluations par semaine/mois/année de la date de début
|
||||
Group by end date evaluations: Grouper les évaluations par semaine/mois/année de la date de fin
|
||||
Group by max date evaluations: Grouper les évaluations par semaine/mois/année de la date d'échéance
|
||||
|
Loading…
x
Reference in New Issue
Block a user