|
...
|
...
|
@@ -159,7 +159,7 @@ class MonthCountDate extends Command |
|
|
|
->where('updated_date','>=',$start.' 00:00:00')
|
|
|
|
->where('updated_date','<=',$end.' 23:59:59')->count();
|
|
|
|
if($arr['ip'] != 0){
|
|
|
|
$arr['rate'] = round((($arr['month_total'] ?? 0) / $arr['ip']) * 10,2);
|
|
|
|
$arr['rate'] = round((($arr['month_total'] ?? 0) / $arr['ip']) * 100,2);
|
|
|
|
}
|
|
|
|
return $arr;
|
|
|
|
}
|
...
|
...
|
|