fix : prise en compte des jours de congés sur l'année N-1 même si on a pas d'historique de contrat sur l'année N-1
All checks were successful
Auto Tag Develop / tag (push) Successful in 5s
All checks were successful
Auto Tag Develop / tag (push) Successful in 5s
This commit is contained in:
@@ -163,7 +163,7 @@ final readonly class EmployeeLeaveSummaryProvider implements ProviderInterface
|
|||||||
|
|
||||||
$effectiveFrom = $this->resolveEffectivePeriodStart($employee, $from, $to);
|
$effectiveFrom = $this->resolveEffectivePeriodStart($employee, $from, $to);
|
||||||
$hasShiftedStart = $effectiveFrom > $from;
|
$hasShiftedStart = $effectiveFrom > $from;
|
||||||
if ($hasShiftedStart) {
|
if ($hasShiftedStart && null === $openingBalance) {
|
||||||
$carryDays = 0.0;
|
$carryDays = 0.0;
|
||||||
$carrySaturdays = 0.0;
|
$carrySaturdays = 0.0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user