打印月份
This commit is contained in:
parent
aa88f1d0aa
commit
53ce6d5993
@ -17,6 +17,7 @@ $end = Carbon::parse('2019-07')->endOfMonth();
|
|||||||
for ($i = 0; $i <= $end->diffInMonths($start); $i++) {
|
for ($i = 0; $i <= $end->diffInMonths($start); $i++) {
|
||||||
$month = $start->copy()->addMonths($i)->format('Y-m');
|
$month = $start->copy()->addMonths($i)->format('Y-m');
|
||||||
$conditions['month'] = $month;
|
$conditions['month'] = $month;
|
||||||
|
echo $month . PHP_EOL;
|
||||||
$export = new CompanyReportExport($conditions);
|
$export = new CompanyReportExport($conditions);
|
||||||
$url = ExportService::store($export, $this->disk);
|
$url = ExportService::store($export, $this->disk);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user