|
@@ -80,11 +80,11 @@ |
|
|
block discarded – undo |
|
80
|
80
|
{ |
|
81
|
81
|
$options = $this->options; |
|
82
|
82
|
$table = $this->table; |
|
83
|
|
- $this->excel = Excel::create('payments', function (LaravelExcelWriter $excel) use ($table, $options) { |
|
|
83
|
+ $this->excel = Excel::create('payments', function(LaravelExcelWriter $excel) use ($table, $options) { |
|
84
|
84
|
$excel->setTitle($options['title']); |
|
85
|
85
|
$excel->setCreator($options['creator'])->setCompany($options['company']); |
|
86
|
86
|
$excel->setDescription($options['description']); |
|
87
|
|
- $closer = function (LaravelExcelWorksheet $sheet) use ($table){ |
|
|
87
|
+ $closer = function(LaravelExcelWorksheet $sheet) use ($table){ |
|
88
|
88
|
$sheet->fromArray($table, null, 'A1', false, false); |
|
89
|
89
|
}; |
|
90
|
90
|
$excel->sheet("sheet", $closer); |
Please login to merge, or discard this patch.