|
|
|
|
@ -244,6 +244,7 @@ class StatisticsController extends CommonController
|
|
|
|
|
$recharge["total_online"] = collect($recharge_by_payment)->filter(function ($item) use ($payment_online_methods) {
|
|
|
|
|
return in_array($item["payment"], array_keys($payment_online_methods));
|
|
|
|
|
})->sum("total");
|
|
|
|
|
$val = intval($recharge["total_online"] * 100) / 100;
|
|
|
|
|
|
|
|
|
|
foreach ($payment_methods as $k => $v) {
|
|
|
|
|
$val = isset($recharge_by_payment[$k]) ? $recharge_by_payment[$k]["total"] : 0;
|
|
|
|
|
|