|
@@ -8,13 +8,21 @@ function _getReceiptSummaryHtml($cglist,$aiAllList,$dataSummary){
|
|
|
foreach ($cglist as $cgk=>$value){
|
|
|
|
|
|
|
|
|
-
|
|
|
+ //初始化年合计数组
|
|
|
+ foreach ($aiAllList as $key=>$value){
|
|
|
+ $yearPriceArray[$key]=0;
|
|
|
+
|
|
|
+ //栏目细则
|
|
|
+// foreach ($value as $k=>$v){
|
|
|
+// $summaryYearHtml.='<th>'.$v['name'].'</th>';
|
|
|
+// }
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//办事处每月数据展示
|
|
|
- $summaryDateHtml='';$yearPriceArray=array();
|
|
|
+ $summaryDateHtml='';
|
|
|
for($month=1;$month<=12;$month++){
|
|
|
$summaryDateHtml.='<tr>';
|
|
|
$summaryDateHtml.='<th>'.$value['title'].$month.'月合计</th>
|