Penambahan Data P1 Dawai di Remunerasi Keseluruhan

This commit is contained in:
Ariyutta
2026-09-29 19:46:13 +07:00
parent e4b446ed6a
commit bd97f7510f
7 changed files with 562 additions and 40 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, bool $includePppk2025 = false, bool $includeP1Zero = false)
public function __construct(int $tahun, ?string $jenisPegawai, mixed $unit, bool $includePppk2025 = false, bool $includeP1Zero = false, string $sumberP1 = 'db')
{
$controller = app(KeseluruhanController::class);
$this->rows = $controller->getRekapRows($tahun, $jenisPegawai, $unit, $includePppk2025, $includeP1Zero);
$this->rows = $controller->getRekapRows($tahun, $jenisPegawai, $unit, $includePppk2025, $includeP1Zero, $sumberP1);
$this->bulanTerakhir = $controller->getBulanTerakhir($tahun);
}