Resolve "Customer source report" #1441

Merged
korina.cordero merged 6 commits from 539-customer-source-report into master 2021-03-02 02:38:45 +00:00
Showing only changes of commit 8f839674b5 - Show all commits

View file

@ -77,6 +77,23 @@ class GenerateCustomerSourceReportCommand extends Command
'year' => $year,
]);
// add header rows
fputcsv($fp, [
'Customer ID',
'First Name',
'Last Name',
'Mobile Phone',
'Landline',
'Office Phone',
'Fax',
'Email Address',
'Vehicle Manufacturer',
'Vehicle Make',
'Model Year',
'Plate Number',
'Source',
]);
// go through rows
while ($row = $stmt->fetch(PDO::FETCH_NUM))
{