caipin 5 år sedan
förälder
incheckning
fefb7e374f
1 ändrade filer med 3 tillägg och 0 borttagningar
  1. 3 0
      protected/class/receipt.func.php

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

@@ -1824,7 +1824,10 @@ function excelRCData($summaryData,$aiAllList,$cglist,$year){
 		$LS+=14;
 	}
 	
+	echo $sectionCount[$aiak]['0']+1;die;
+	
 	foreach ($aiAllList as $aiak=>$aiav){
+		$sectionStart=$sectionCount[$aiak]['0']+1;
 		$sectionCount[$aiak]['0']++;
 		$obj-> getActiveSheet() -> getStyle($col.$onRow) -> getFont()->getColor()->setRGB('f70000');
 		$obj->getactivesheet()->setCellValue( $col.$onRow, '=SUM('.$sectionCount[$aiak]['0'].$onRow.':'.$sectionCount[$aiak]['1'].$onRow.')' );