feat : ajout de l'export récap. salaire
Some checks failed
Auto Tag Develop / tag (push) Has been cancelled

This commit is contained in:
2026-03-16 12:25:41 +01:00
parent f0ee489c26
commit b93c4bf3e9
10 changed files with 975 additions and 9 deletions

View File

@@ -43,4 +43,21 @@ final class EmployeeRttPaymentRepository extends ServiceEntityRepository
->getResult()
;
}
/**
* @return EmployeeRttPayment[]
*/
public function findByYearAndMonth(int $year, int $month): array
{
return $this->createQueryBuilder('p')
->andWhere('p.year = :year')
->andWhere('p.month = :month')
->setParameter('year', $year)
->setParameter('month', $month)
->innerJoin('p.employee', 'e')
->addSelect('e')
->getQuery()
->getResult()
;
}
}