@php $topExchangesCoins = App\Models\Order::whereHas('coin', function ($q) { $q->active()->crypto(); })->where('status', '!=', Status::ORDER_CANCELED) ->selectRaw('*,SUM(filled_amount) as total_exchange_amount') ->groupBy('coin_id') ->orderBy('total_exchange_amount', 'desc') ->take(4) ->with('coin', 'coin.marketData') ->get(); @endphp
@lang('No coin found')