@extends('admin.layouts.master') @section('title', 'Admin Revenue - Admin') @section('maincontent') @component('components.breadcumb',['fourthactive' => 'active']) @slot('heading') {{ __('Admin Revenue') }} @endslot @slot('menu1') {{ __('Admin Revenue') }} @endslot @slot('button')
@endslot @endcomponent
@if ($errors->any()) @endif
{{ __('Admin Revenue') }}
@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' }} {{ __('adminstaticword.Enrolled') }} {{ __('adminstaticword.Courses') }} {{ __('adminstaticword.AdminRevenue') }} {{ __('adminstaticword.Enrolled') }} {{ __('adminstaticword.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