|
|
@@ -32,7 +32,7 @@ class Home extends Controller
|
|
|
$totalFail = (float)$query->where($where)->whereBetween('created_at', [$start, $end])->where('status', 3)->sum('amount');
|
|
|
|
|
|
$query = Withdraw::query();
|
|
|
- $usdTotalAmount = $query->whereBetween('created_at', [$start, $end])->sum('amount');
|
|
|
+ $usdTotalAmount = (float)$query->whereBetween('created_at', [$start, $end])->sum('amount');
|
|
|
|
|
|
|
|
|
$result = [
|