caipin пре 5 година
родитељ
комит
e4345024aa
1 измењених фајлова са 2 додато и 3 уклоњено
  1. 2 3
      protected/controller/ReceiptExtendController.php

+ 2 - 3
protected/controller/ReceiptExtendController.php

@@ -2672,7 +2672,7 @@ class ReceiptExtendController extends DooController {
     		array_push($cidIn, $XDeode->decode($value));
     	}
     	$cidIn=implode(',', $cidIn);
-    	echo $cidIn;die;
+    	
     	$year= $this->get_args ( 'year' ) ? $this->get_args ( 'year' ) : date('Y');
     	
     	
@@ -2727,8 +2727,7 @@ class ReceiptExtendController extends DooController {
     	
     	//办事处显示设置
     	$categoryList=$category->getCategory();
-    	$selectedSummary=file_get_contents("protected/config/receipt/summary.conf.ini");
-    	$selectedSummary=explode(',', $selectedSummary);
+    	$selectedSummary=$cidKeyIn;
     	foreach ($categoryList as $key=>$value){
     		$categoryList[$key]['checked']='';
     		foreach ($selectedSummary as $v){