mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Merge fix for reports
This commit is contained in:
parent
1bbd36232c
commit
c7cb72546f
@ -202,6 +202,7 @@ class ReportController extends BaseController
|
|||||||
$sheet->setAutoSize(true);
|
$sheet->setAutoSize(true);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (count($summary)) {
|
||||||
$excel->sheet(trans("texts.totals"), function($sheet) use($report, $summary, $format) {
|
$excel->sheet(trans("texts.totals"), function($sheet) use($report, $summary, $format) {
|
||||||
$sheet->setOrientation('landscape');
|
$sheet->setOrientation('landscape');
|
||||||
$sheet->freezeFirstRow();
|
$sheet->freezeFirstRow();
|
||||||
@ -221,6 +222,7 @@ class ReportController extends BaseController
|
|||||||
});
|
});
|
||||||
$sheet->setAutoSize(true);
|
$sheet->setAutoSize(true);
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
})->export($format);
|
})->export($format);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user