caipin 5 年之前
父節點
當前提交
af6caf4aee
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      protected/class/receipt.func.php

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

@@ -83,7 +83,7 @@ function _getReceiptSummaryHtml($cglist,$aiAllList,$dataSummary){
 			$summaryYearHtml.='<td class="taR colRed">'.$yearPriceArray[$aalk].'</td>';
 			//栏目细则
 			foreach ($aalv as $k=>$v){
-				$summaryYearHtml.='<th>'.$yearPriceArray[$aalk][].'</th>';
+				$summaryYearHtml.='<th>'.$yearPriceArray[$aalk][$v['name']].'</th>';
 			}
 		}
 		$summaryYearHtml.='</tr>';