@extends('admin.layouts.main') @section('panel') {{ __('admin.report.statistics.trade.one.total') }} {{ getCurrencySymbol() }}{{ shortAmount($trade->total) }} @foreach (['today', 'wining', 'loss', 'draw', 'high', 'low'] as $key) {{ __("admin.report.statistics.trade.one.{$key}") }} {{ getCurrencySymbol() }}{{ shortAmount($trade->$key) }} @endforeach {{ __('admin.report.statistics.investment.one') }} {{ __('admin.report.statistics.trade.four') }} @php $investments = [ 'today_invest' => ['wallet text--primary', 'admin.dashboard.content.invest.today_invest'], 'running' => ['wallet text--primary', 'admin.dashboard.content.invest.running'], 'profit' => ['chart-line text--success', 'admin.dashboard.content.invest.profit'], 'closed' => ['comment-dollar text--warning', 'admin.dashboard.content.invest.closed'], 're_invest' => ['sort-amount-up text--info', 'admin.dashboard.content.invest.re_invest'], ]; @endphp @foreach($investments as $key => $details) {{ __($details[1]) }} {{ getCurrencySymbol() }}{{ shortAmount($investment->$key) }} @endforeach @endsection @push('script-push') @endpush