master
cody 2 years ago
parent e134e4e66b
commit 3ab3a3f0a3

@ -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);

Loading…
Cancel
Save