fix for excelreport
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user