@extends('admin.layouts.master') @section('title', 'Admin Revenue Reports') @section('maincontent') @include('admin.layouts.topbar',$data)
@if ($errors->any()) @endif
{{ __('Admin Revenue Reports') }}
@foreach($orders as $order) @php $revenue = App\PendingPayout::where('order_id', $order->id)->first(); if(isset($revenue->instructor_revenue)){ $ull = $revenue->instructor_revenue; }else{ $ull = 0; } @endphp @endforeach
# {{ 'User Name' }} {{ 'Email' }} {{ __('Enrolled Courses') }} {{ __('Admin Revenue') }} {{ __('Enrolled Date') }}
1 {{ $order->user->fname }} {{ $order->user->email }} @if($order->courses) {{ $order->courses->title }} @endif @if($gsetting['currency_swipe'] == 1) @if($order->total_amount != NULL && $order->total_amount != '') {{ $order->total_amount - $ull }} @endif @else @if($order->total_amount != NULL && $order->total_amount != '') {{ $order->total_amount - $ull }} @endif @endif {{ date('d-m-Y', strtotime($order->created_at)) }}


@endsection @section('script') @endsection