|
|
|
|
@ -563,7 +563,7 @@ class StatisticsController extends CommonController
|
|
|
|
|
|
|
|
|
|
$orderTotal = OrderItems::where('paid_at', 'like', '%' . $month . '%')
|
|
|
|
|
->whereIn('bed_id', $beds->pluck('id'))
|
|
|
|
|
->sum("money");
|
|
|
|
|
->sum("total");
|
|
|
|
|
|
|
|
|
|
$item->order_total = $orderTotal;
|
|
|
|
|
$item->shouxufei = round($orderTotal * 0.006, 2);
|
|
|
|
|
|