mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +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)
|
public function alterQuery(QueryBuilder $qb, $data)
|
||||||
{
|
{
|
||||||
$qb
|
$qb->andWhere('workeval.endDate IS NULL');
|
||||||
->andWhere(
|
|
||||||
$qb->expr()->in('', ':')
|
|
||||||
)
|
|
||||||
->setParameter('', $data[]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function applyOn(): string
|
public function applyOn(): string
|
||||||
@ -39,13 +35,12 @@ class CurrentEvaluationsFilter implements FilterInterface
|
|||||||
|
|
||||||
public function buildForm(FormBuilderInterface $builder)
|
public function buildForm(FormBuilderInterface $builder)
|
||||||
{
|
{
|
||||||
$builder->add();
|
//no form needed
|
||||||
}
|
}
|
||||||
|
|
||||||
public function describeAction($data, $format = 'string'): array
|
public function describeAction($data, $format = 'string'): array
|
||||||
{
|
{
|
||||||
return ['', [
|
return ['Filtered by current evaluations'];
|
||||||
]];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getTitle(): string
|
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 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%"
|
"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
|
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 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 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
|
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