@section('style') @if (Amcoders\Plugin\Plugin::is_active('WebNotification')) @endif @endsection @extends('layouts.backend.app') @section('content') @php $currency=\App\Options::where('key','currency_name')->select('value')->first(); @endphp
@csrf
@if(Auth::user()->status=='approved') @else @endif
@if(Auth::user()->status=='approved')

{{ __('Online') }}

@else

{{ __('Offline') }}

@endif
@if(Auth::user()->status=='approved' || Auth::user()->status=='offline')
@csrf @if(Auth::user()->status=='approved') @else @endif
@endif

{{ __('Total Earnings') }}

{{ strtoupper($currency->value) }} {{ number_format($totals,2) }}

{{ __('Earnings In this Month') }}

{{ strtoupper($currency->value) }} {{ number_format($earningMonth,2) }}
@if(!empty($notice))
@else
@endif

{{ __('Latest Order') }}

@foreach($orders as $row) @endforeach
{{ __('Order') }} {{ __('Status') }} {{ __('Payment Status') }}
{{ __('Order No') }} #{{ $row->id }} @if($row->status == 1) {{ __('Completed') }} @elseif($row->status == 2) {{ __('Pending') }} @elseif($row->status == 3) {{ __('Resturend Order Accepted') }} @elseif($row->status == 0) {{ __('Cancelled') }} @endif @if($row->payment_status == 1) {{ __('Completed') }} @elseif($row->payment_status == 0) {{ __('Pending') }} @endif
{{ $orders->links() }}
@if(!empty($notice)) @php $json=json_decode($notice->value); @endphp

{{ __('Announcement') }}

{{ $json->title }}

{{ $json->message }}

@endif
@endsection @section('script') @endsection