|
|
|
|
@ -551,7 +551,6 @@ class StatisticsController extends CommonController
|
|
|
|
|
$total['order_total'] = $total['shouxufei'] = $total['zengshishui'] = $total['shijishouru'] = $total['guanlifei'] = 0;
|
|
|
|
|
$area = [];
|
|
|
|
|
foreach ($areaList as $item) {
|
|
|
|
|
$beds = Bed::where('area_id', $item->id)->where('project_id', $project_id)->get();
|
|
|
|
|
// 订单总数
|
|
|
|
|
$orderTotal = Balance::where('created_at', 'like', '%' . $month . '%')
|
|
|
|
|
->whereHas("order", function ($query) use ($project_id) {
|
|
|
|
|
|