E-Invoice - Project 27: Import Tax Entity, Customers Data Report

This commit is contained in:
Dillon Ngo
2025-07-24 16:01:26 +08:00
parent 7d956888d2
commit 755961b23d
@@ -79,8 +79,8 @@ class ExportsCompanies implements FromQuery, WithHeadings, WithHeadingRow, WithM
return [
$company->tin, // 'TIN',
$identityNo ? $identityNo->reference: '', // 'IdentityNo',
$employee ? $employee->name : '', // 'Name',
$identityType === DocumentType::IDENTITY_CARD ? 'MyKad' : '', // 'IdentityType',
$company->name, // 'Name',
$identityType === DocumentType::IDENTITY_CARD ? 'MyKAD' : '', // 'IdentityType',
$company->type !== null ? (string) $company->type : '0', // 'TaxClassification',
$company->msic_code, // 'MSICCode',
$company->msic_code ? Helper::getMsicDescriptionByCode($company->msic_code) : '', // 'BusinessActivityDesc',