Penambahan filter PPPK di Keseluruhan

This commit is contained in:
Ariyutta
2026-09-28 13:00:46 +07:00
parent c21910fb7c
commit bbbe40afb3
3 changed files with 19 additions and 6 deletions
+2 -2
View File
@@ -44,11 +44,11 @@ class KeseluruhanExport implements FromArray, ShouldAutoSize, WithColumnFormatti
return ['C'];
}
public function __construct(int $tahun, ?string $jenisPegawai, mixed $unit)
public function __construct(int $tahun, ?string $jenisPegawai, mixed $unit, bool $includePppk2025 = false)
{
$controller = app(KeseluruhanController::class);
$this->rows = $controller->getRekapRows($tahun, $jenisPegawai, $unit);
$this->rows = $controller->getRekapRows($tahun, $jenisPegawai, $unit, $includePppk2025);
$this->bulanTerakhir = $controller->getBulanTerakhir($tahun);
}