@section('site_title', formatTitle([$website->domain, __('Campaigns'), config('settings.title')]))
{{ __('Campaigns') }}
@include('stats.filters', ['name' => __('Name'), 'count' => __('Visitors')])
@if(count($campaigns) == 0) {{ __('No data') }}. @else
{{ __('Name') }}
{{ __('Visitors') }}
{{ __('Total') }}
{{ number_format($total->count, 0, __('.'), __(',')) }}
{{ number_format((($total->count / $total->count) * 100), 1, __('.'), __(',')) }}%
@foreach($campaigns as $campaign)
{{ $campaign->value }}
{{ number_format($campaign->count, 0, __('.'), __(',')) }}
{{ number_format((($campaign->count / $total->count) * 100), 1, __('.'), __(',')) }}%
@endforeach
{{ __('Showing :from-:to of :total', ['from' => $campaigns->firstItem(), 'to' => $campaigns->lastItem(), 'total' => $campaigns->total()]) }}
{{ $campaigns->onEachSide(1)->links() }}
@endif