Feature: [export][evaluation] filter by current evaluation (without any end date)

This commit is contained in:
Julien Fastré 2022-11-02 16:17:10 +01:00
parent 2d40c38c88
commit f0b2ec1348
2 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ class CurrentEvaluationsFilter implements FilterInterface
return null;
}
public function alterQuery(QueryBuilder $qb, $data)
public function alterQuery(QueryBuilder $qb, $data): void
{
$qb->andWhere('workeval.endDate IS NULL');
}
@ -33,7 +33,7 @@ class CurrentEvaluationsFilter implements FilterInterface
return Declarations::EVAL_TYPE;
}
public function buildForm(FormBuilderInterface $builder)
public function buildForm(FormBuilderInterface $builder): void
{
//no form needed
}

View File

@ -584,7 +584,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"
"Filtered by current evaluations": "Filtré: uniquement 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