|
|
@ -32,9 +32,6 @@ class FinancialSummaryController extends AdminController
|
|
|
|
}
|
|
|
|
}
|
|
|
|
public function index($p=1)
|
|
|
|
public function index($p=1)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$this->beginThismonth = mktime(0,0,0,date('m'),1,date('Y'));
|
|
|
|
|
|
|
|
$this->endThismonth = mktime(0,0,0,date('m')+1,1,date('Y'))-1;
|
|
|
|
|
|
|
|
dd($this->beginThismonth, $this->endThismonth);
|
|
|
|
|
|
|
|
if(!array_key_exists("year",$_REQUEST) || !array_key_exists("type",$_REQUEST)){
|
|
|
|
if(!array_key_exists("year",$_REQUEST) || !array_key_exists("type",$_REQUEST)){
|
|
|
|
$this->redirect(ACTION_NAME, array('year' => date('Y',time()),"type"=>2));
|
|
|
|
$this->redirect(ACTION_NAME, array('year' => date('Y',time()),"type"=>2));
|
|
|
|
}
|
|
|
|
}
|
|
|
|