|
|
|
|
@ -581,8 +581,8 @@ class StatisticsController extends CommonController
|
|
|
|
|
$refund['guanlifei'] = round($refund['order_total'] * 0.06, 2);
|
|
|
|
|
// 总计
|
|
|
|
|
$zongji['order_total'] = $total['order_total'] - $refund['order_total'];
|
|
|
|
|
$zongji['shouxufei'] =
|
|
|
|
|
$zongji['zengshishui'] =
|
|
|
|
|
$zongji['shouxufei'] = $total['shouxufei'] * 2;
|
|
|
|
|
$zongji['zengshishui'] = $total['zengshishui'] * 2;
|
|
|
|
|
$zongji['shijishouru'] = $total['shijishouru'] - $refund['shijishouru'];
|
|
|
|
|
$zongji['guanlifei'] = $total['guanlifei'] - $refund['guanlifei'];
|
|
|
|
|
|
|
|
|
|
@ -614,7 +614,7 @@ class StatisticsController extends CommonController
|
|
|
|
|
exit;
|
|
|
|
|
}
|
|
|
|
|
$admin = Auth::guard("admin")->user();
|
|
|
|
|
return view($this->bladePath . ".income", compact("admin","zongji","refund", "total", "area", "project", "project_id", "month", "projects"));
|
|
|
|
|
return view($this->bladePath . ".income", compact("admin", "zongji", "refund", "total", "area", "project", "project_id", "month", "projects"));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|