{{ trans('plugins/marketplace::marketplace.reports.sale_commissions') }}

@if ($count['revenues']->isNotEmpty())
{{ format_price($salesReport['totalFee']) }} {{ trans('plugins/ecommerce::reports.total_earnings') }}
@foreach ($count['revenues'] as $item)

{{ format_price($item['value']) }} {{ $item['label'] }}

@endforeach
@else
@include('core/dashboard::partials.no-data')
@endif
@php $revenues = fn(string $key): array => $count['revenues']->pluck($key)->toArray(); @endphp @if (request()->ajax()) @include('plugins/marketplace::reports.widgets.chart-script') @else @push('footer') @include('plugins/marketplace::reports.widgets.chart-script') @endpush @endif