caipin 5 년 전
부모
커밋
cd92871ba8
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      protected/class/receipt.func.php

+ 2 - 2
protected/class/receipt.func.php

@@ -94,7 +94,7 @@ function _getReceiptSummaryHtml($cglist,$aiAllList,$dataSummary,$year){
 				}
 				
 				$summaryYearHtml.='<th>'.$yearLawsPriceArray[$aalk][$v['name']].'</th>';
-				$topYearLawsPrice[$aalk][$v['name']]+=$yearPriceArray[$aalk];
+				$topYearLawsPrice[$aalk][$v['name']]+=$yearLawsPriceArray[$aalk][$v['name']];
 			}
 		}
 		$summaryYearHtml.='</tr>';
@@ -120,7 +120,7 @@ function _getReceiptSummaryHtml($cglist,$aiAllList,$dataSummary,$year){
 		}
 	}
 	$topYearTempHtml.='</tr>';
-	
+	$topHtml='';
 	$topHtml.=$topYearTempHtml;
 	$topHtml.=$html;