Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
640bb42d3a | ||
| 50712ccb00 | |||
| 265b19a9d0 |
@@ -1,2 +1,2 @@
|
||||
parameters:
|
||||
app.version: '0.1.61'
|
||||
app.version: '0.1.62'
|
||||
|
||||
@@ -171,7 +171,8 @@ class LeaveRecapPrintProvider implements ProviderInterface
|
||||
$paid = 0;
|
||||
$payments = $this->rttPaymentRepository->findByEmployeeAndYear($employee, $exerciseYear);
|
||||
foreach ($payments as $payment) {
|
||||
$paid += $payment->getBase25Minutes() + $payment->getBase50Minutes();
|
||||
$paid += $payment->getBase25Minutes() + $payment->getBonus25Minutes()
|
||||
+ $payment->getBase50Minutes() + $payment->getBonus50Minutes();
|
||||
}
|
||||
|
||||
return $carry + $current->totalMinutes - $paid;
|
||||
|
||||
Reference in New Issue
Block a user