caipin пре 5 година
родитељ
комит
9a41517de7
1 измењених фајлова са 5 додато и 0 уклоњено
  1. 5 0
      protected/class/receipt.func.php

+ 5 - 0
protected/class/receipt.func.php

@@ -1744,6 +1744,11 @@ function excelRCData($summaryData,$cellCount,$year){
 					),),);
 	$obj->getActiveSheet()->getStyle( 'A1:'.$maxCol.'3')->applyFromArray($styleThinBlackBorderOutline);
 	
+	//设置合并单元格
+	$obj->getActiveSheet()->mergeCells('A1:A3');
+	$obj->getActiveSheet()->mergeCells('B1:B2');
+	$obj->getActiveSheet()->mergeCells('B1:G1');
+	
 // 	echo (int)($cellCount/26).'</br>';
 // 	echo ($cellCount%26).'</br>';