Skip to content

Commit dc644c0

Browse files
- Fix absence counting after contract change (#530)
* - fix to counting hours * - fix to counting hours
1 parent 2e8c308 commit dc644c0

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

app/Http/Controllers/TimesheetController.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,7 @@ public function __invoke(VacationTypeConfigRetriever $configRetriever, ?string $
3030
->get();
3131

3232
$types = VacationType::all()
33-
->filter(
34-
fn(VacationType $type): bool => $configRetriever->isAvailableFor(
35-
$type,
36-
EmploymentForm::EmploymentContract,
37-
) && $configRetriever->isVacation($type),
38-
);
33+
->filter(fn(VacationType $type): bool => $configRetriever->isVacation($type));
3934

4035
$filename = "{$month->translatedFormat("F Y")}.xlsx";
4136

0 commit comments

Comments
 (0)