caipin 5 years ago
parent
commit
0d62bc2ef9
1 changed files with 4 additions and 2 deletions
  1. 4 2
      protected/controller/ReceiptExtendController.php

+ 4 - 2
protected/controller/ReceiptExtendController.php

@@ -2664,7 +2664,7 @@ class ReceiptExtendController extends DooController {
     	//$cidIn = $this->get_args ( 'cidIn' ) ? $this->get_args ( 'cidIn' ) : '12,10,9';
     	include Doo::conf()->BASE_PATH.'diagnostic/debug.php';
     	Doo::loadClass ( 'XDeode' );
-    	
+    	//参数
     	$cidKeyIn=file_get_contents( "protected/config/receipt/summary.conf.ini");
     	if(!empty($cidKeyIn)){
 	    	$cidKeyIn=explode(',', $cidKeyIn);$cidIn=array();
@@ -2676,11 +2676,13 @@ class ReceiptExtendController extends DooController {
     	}else{
     		$cidKeyIn=array();
     	}
+    	
     	$year= $this->get_args ( 'year' ) ? $this->get_args ( 'year' ) : date('Y');
     	
+    	//主体
     	Doo::loadModel ( 'L_category' );
     	$category = new L_category ();
-    	$sectionHtml=$sectionItemHtml='';$dataSummary=array();
+    	$sectionHtml=$sectionItemHtml='';$dataSummary=array();$summaryDateHtml='';
     	if(!empty($cidIn)){
     		Doo::loadModel ( 'receiptDetail' );
     		$receiptDetail = new receiptDetail ();