PK

ADDRLIN : /home/questend/public_html/subdomain/payroll.questend.com/app/Exports/
FLL :
Current File : /home/questend/public_html/subdomain/payroll.questend.com/app/Exports/ProfessionalTaxExport.php

<?php

namespace App\Exports;

use Maatwebsite\Excel\Concerns\FromArray;
use Maatwebsite\Excel\Concerns\WithHeadings;
use App\Services\ProfessionalTaxReportGenerator;

class ProfessionalTaxExport implements FromArray, WithHeadings
{
    protected $month;
    protected $year;
    protected $state;

    public function __construct($month, $year, $state)
    {
        $this->month = $month;
        $this->year  = $year;
        $this->state = $state;
    }

    public function array(): array
    {
        return app(ProfessionalTaxReportGenerator::class)
            ->generate($this->month, $this->year, $this->state);
    }

    public function headings(): array
    {
        return ['Employee', 'State', 'PT Amount'];
    }
}


PK 99
E-SHOP || DASHBOARD
404

Page Not Found

It looks like you found a glitch in the matrix...

← Back to Home