@php $data = $this->getPaginatedResults(); $results = $data['results']; $chartData = $data['chartData']; $total = $data['total']; $from = $data['from']; $to = $data['to']; $currentPage = $data['currentPage']; $lastPage = $data['lastPage']; @endphp

{{ __('Courses Data') }} ({{ $total }} {{ __('records') }})

{{ __('Export Excel') }} {{ __('Export PDF') }}
@forelse($results as $row) @empty @endforelse
{{ __('Coach') }} {{ __('Prestation') }} {{ __('Number of Courses') }} {{ __('Client Payment TTC') }} {{ __('Client Payment HT') }} {{ __('Platform Share') }} {{ __('Coach Share') }}
{{ $row['coach'] }} {{ $row['prestation'] }} {{ $row['count'] }} {{ $row['ttc'] }} {{ $row['ht'] }} {{ $row['platform_share'] }} {{ $row['coach_share'] }}
{{ __('No courses found for the selected criteria.') }}
@if($total > 0)
{{ __('Showing') }} {{ $from }} {{ __('to') }} {{ $to }} {{ __('of') }} {{ $total }} {{ __('results') }}
{{ __('Page') }} {{ $currentPage }} {{ __('of') }} {{ $lastPage }}
@endif
@if(count($chartData['labels']) > 0)

{{ __('Top 5 Chart') }}

@endif