正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -45,7 +45,7 @@ class SalesmanorderController extends AdminBaseController{ | @@ -45,7 +45,7 @@ class SalesmanorderController extends AdminBaseController{ | ||
45 | } | 45 | } |
46 | $money = 0; | 46 | $money = 0; |
47 | foreach($data_arr['data'] as $key => $val){ | 47 | foreach($data_arr['data'] as $key => $val){ |
48 | - if($data_arr['state'] == 2 || $data_arr['state'] == 3 || $data_arr['state'] == 5){ | 48 | + if($data_arr['data']['state'] == 2 || $data_arr['data']['state'] == 3 || $data_arr['data']['state'] == 5){ |
49 | $data_arr['data'][$key]['grade_class'] = $val['school'].'-'.$val['grade'].$val['class']; | 49 | $data_arr['data'][$key]['grade_class'] = $val['school'].'-'.$val['grade'].$val['class']; |
50 | $money += $data_arr['data'][$key]['money']; | 50 | $money += $data_arr['data'][$key]['money']; |
51 | } | 51 | } |
-
请 注册 或 登录 后发表评论