diff --git a/src/Command/GenerateCustomerSourceReportCommand.php b/src/Command/GenerateCustomerSourceReportCommand.php index 68339d5e..7b326963 100644 --- a/src/Command/GenerateCustomerSourceReportCommand.php +++ b/src/Command/GenerateCustomerSourceReportCommand.php @@ -48,19 +48,9 @@ class GenerateCustomerSourceReportCommand extends Command $month = $input->getArgument('month'); $csv_file = $input->getArgument('csv_file'); - $start_date = DateTime::createFromFormat('Y-m-d', $year . '-' . $month . '-01'); - $end_date = DateTime::createFromFormat('Y-m-d', $year . '-' . $month . '-01'); - $start_date->setTime(0, 0); - $str_start_date = $start_date->format('Y-m-d H:i:s'); - - $end_date->modify('last day of this month'); - $end_date->setTime(23, 59); - $str_end_date = $end_date->format('Y-m-d H:i:s'); - // get all mobile user customer id hash $resq_cust_ids = $this->getRESQCustomerIDs(); - // TODO: error checking for file $fp = fopen($csv_file, 'w');