fix for excelreport

This commit is contained in:
2019-02-26 16:04:55 +01:00
parent e8004d6e0a
commit 0ee4785a40
4 changed files with 9 additions and 5 deletions
@@ -68,9 +68,9 @@ class ReportsController extends MY_Controller {
$this->json( $invoiceReport );
}
public function createInvoicesSpreadsheet( $year = FALSE )
public function createInvoicesSpreadsheet( $year = FALSE, $orderType, $orderDirection, $archive )
{
$invoices = new Invoices( $year );
$invoices = new Invoices( $year, $orderType, $orderDirection, $archive );
$invoiceReport = $invoices->getInvoiceReport();