@extends('layouts.app') @section('content') @include('layouts.headers.cards')
Daily performance

Revenue

{{-- --}}
Overview

Revenue

Earnings by websites
This month so far

@foreach($websites as $website) @endforeach
Website name Impressions Clicks Ecpm Earnings
{{ $website->name }} {{ $website->total_impressions ?? 0 }} {{ $website->total_clicks ?? 0 }} {{ round($website->average_ecpm, 2) }} {{ $website->total_earnings ?? 0 }}

Reports
Daily overview earnings

@if(!$reports->count()) @endif @foreach($reports as $date => $report) {{-- --}} @endforeach
Date Impressions Ecpm Earnings
No data for this month
{{ $date }} {{ $report['impressions'] }} {{ $report['ecpm'] }} $ {{ $report['earnings'] }}
60%
@if(auth()->user()->isAdmin()) @endif @include('layouts.footers.auth')
@endsection @push('js') @endpush