mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-22 22:13:59 +00:00
add column to user csv list
This commit is contained in:
@@ -47,7 +47,7 @@ class ExportsCustomers implements FromQuery, WithHeadingRow, WithMapping
|
||||
return [
|
||||
$company->reference,
|
||||
$company->name,
|
||||
$company->employees()->first()->name,
|
||||
$company->employees()->first() ? $company->employees()->first()->phone : '',
|
||||
$company->contacts()->first() ? $company->contacts()->first()->phone : '',
|
||||
$company->type === CompanyType::COMPANY_BUSINESS ? 'Company' : 'individual',
|
||||
count($company->bookings),
|
||||
|
||||
Reference in New Issue
Block a user