Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a60294a8f7 | ||
| dd7f9ef8a0 | |||
| cfa7d25521 |
@@ -1,2 +1,2 @@
|
||||
parameters:
|
||||
app.version: '0.1.44'
|
||||
app.version: '0.1.45'
|
||||
|
||||
@@ -102,13 +102,13 @@ class LeaveRecapPrintProvider implements ProviderInterface
|
||||
|
||||
if (null !== $yearSummary) {
|
||||
if ($isForfait) {
|
||||
$cpN1Remaining = $yearSummary['previousYearRemainingDays'];
|
||||
$cpN = (string) $yearSummary['acquiredDays'];
|
||||
$cpN1Remaining = round($yearSummary['previousYearRemainingDays'], 2);
|
||||
$cpN = (string) round($yearSummary['acquiredDays'], 2);
|
||||
$acquiredSaturdays = '-';
|
||||
} else {
|
||||
$cpN1Remaining = $yearSummary['remainingDays'];
|
||||
$cpN = (string) $yearSummary['accruingDays'];
|
||||
$acquiredSaturdays = (string) $yearSummary['remainingSaturdays'];
|
||||
$cpN1Remaining = round($yearSummary['remainingDays'], 2);
|
||||
$cpN = (string) round($yearSummary['accruingDays'], 2);
|
||||
$acquiredSaturdays = (string) round($yearSummary['remainingSaturdays'], 2);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user