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();
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ class MY_Controller extends CI_Controller {
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
$this->version = '1.00.02';
|
||||
$this->version = '1.00.03';
|
||||
|
||||
$this->load->library( 'beheer/session/RetrieveUserSession' );
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@ class MonthForecast {
|
||||
|
||||
private function setInitialsForecastMonths()
|
||||
{
|
||||
for ( $i = 0; $i <= 12; $i ++ )
|
||||
for ( $i = 0; $i < 12; $i ++ )
|
||||
{
|
||||
$this->forecastMonths[ $i ] = ['forecastamount' => 0];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user