<?php
//Obfuscated by YAK Pro - Php Obfuscator 2.0.13 at 2025-06-18 09:19:12
 namespace App\Exports; use App\RetirementFund; use Maatwebsite\Excel\Concerns\FromCollection; use Maatwebsite\Excel\Concerns\WithHeadings; use Maatwebsite\Excel\Concerns\WithMapping; use Maatwebsite\Excel\Concerns\ShouldAutoSize; use Maatwebsite\Excel\Concerns\WithTitle; use Maatwebsite\Excel\Concerns\WithStyles; use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet; use Maatwebsite\Excel\Concerns\WithEvents; use Maatwebsite\Excel\Events\AfterSheet; use PhpOffice\PhpSpreadsheet\Style\Alignment; use PhpOffice\PhpSpreadsheet\Style\Border; class DropoutsExport implements FromCollection, WithHeadings, WithMapping, ShouldAutoSize, WithTitle, WithStyles, WithEvents { public function title() : string { return "\x44\162\x6f\160\x6f\165\x74\163"; } public function collection() { return RetirementFund::with(["\145\x6d\x70\154\x6f\171\x65\x65"])->get(); } public function headings() : array { return ["\347\244\276\xe5\x93\241\347\x95\xaa\xe5\217\xb7", "\xe4\270\255\351\x80\x80\xe5\x85\261\xe9\200\200\350\x81\267\351\207\x91"]; } public function map($JMrle) : array { return [$JMrle->employee ? $JMrle->employee->employee_code : "\116\x2f\101", $JMrle->amount ?? 0]; } public function styles(Worksheet $zfHOe) { return [1 => ["\x61\154\x69\x67\x6e\x6d\145\156\164" => ["\150\x6f\162\x69\172\157\156\164\141\x6c" => Alignment::HORIZONTAL_CENTER, "\x76\145\x72\164\x69\143\x61\x6c" => Alignment::VERTICAL_CENTER]], "\101\61\x3a\x42" . $zfHOe->getHighestRow() => ["\142\x6f\162\x64\x65\162\x73" => ["\141\154\154\x42\x6f\162\144\145\162\163" => ["\142\157\162\x64\x65\162\x53\x74\x79\x6c\x65" => Border::BORDER_THIN]]], "\101\62\x3a\101" . $zfHOe->getHighestRow() => ["\141\154\151\x67\156\x6d\145\156\164" => ["\x68\157\162\151\172\157\156\x74\x61\154" => Alignment::HORIZONTAL_LEFT, "\x76\x65\x72\164\151\143\x61\x6c" => Alignment::VERTICAL_CENTER]]]; } public function registerEvents() : array { return [AfterSheet::class => function (AfterSheet $lWPPk) { $lWPPk->sheet->freezePane("\x41\62"); }]; } }