@@ -35,13 +35,14 @@ public function download($filename)
3535 $ showHeader = $ this ->showHeader ;
3636 $ showMeta = $ this ->showMeta ;
3737 $ applyFlush = $ this ->applyFlush ;
38+ $ showNumColumn = $ this ->showNumColumn ;
3839
3940 $ sheet ->setColumnFormat (['A:Z ' => '@ ' ]);
4041
4142 if ($ this ->withoutManipulation ) {
42- $ sheet ->loadView ('report-generator-view::without-manipulation-excel-template ' , compact ('headers ' , 'columns ' , 'showTotalColumns ' , 'query ' , 'limit ' , 'orientation ' , 'showHeader ' , 'showMeta ' , 'applyFlush ' ));
43+ $ sheet ->loadView ('report-generator-view::without-manipulation-excel-template ' , compact ('headers ' , 'columns ' , 'showTotalColumns ' , 'query ' , 'limit ' , 'orientation ' , 'showHeader ' , 'showMeta ' , 'applyFlush ' , ' showNumColumn ' ));
4344 } else {
44- $ sheet ->loadView ('report-generator-view::general-excel-template ' , compact ('headers ' , 'columns ' , 'editColumns ' , 'showTotalColumns ' , 'styles ' , 'query ' , 'limit ' , 'groupByArr ' , 'orientation ' , 'showHeader ' , 'showMeta ' , 'applyFlush ' ));
45+ $ sheet ->loadView ('report-generator-view::general-excel-template ' , compact ('headers ' , 'columns ' , 'editColumns ' , 'showTotalColumns ' , 'styles ' , 'query ' , 'limit ' , 'groupByArr ' , 'orientation ' , 'showHeader ' , 'showMeta ' , 'applyFlush ' , ' showNumColumn ' ));
4546 }
4647 });
4748 })->export ($ this ->format );
@@ -143,4 +144,4 @@ private function formatRow($result)
143144
144145 return $ rows ;
145146 }
146- }
147+ }
0 commit comments