@extends('layouts.provider') @section('after-styles') @endsection @section('content')
@if(Auth::guard('provider')->user()->is_approved == PROVIDER_STATUS_PENDING)
{{tr('provider_waiting_for_admin_approval')}}
@endif @include('notification.notify')

{{tr('total_earnings')}}

{{ formatted_amount($revenues->data->total_earnings) }}

{{tr('total_upcoming_jobs')}}

{{ $revenues->data->total_upcoming_jobs}}

{{tr('total_completed_jobs')}}

{{$revenues->data->total_completed_jobs}}

{{tr('total_cancelled_jobs')}}

{{$revenues->data->total_cancelled_jobs}}

{{tr('service_based_revenue')}}


@foreach($revenues->data->service_based_revenues as $key => $value)
{{$value->sub_category_name}}

{{formatted_amount($value->total_earnings)}}

@endforeach

{{tr('revenue_of_x_days')}}


@endsection @section('after-scripts') @endsection