@extends('admin/layouts.master') @section('title', 'Admin Revenue - Admin') @section('body')
@include('admin.message')

{{ __('adminstaticword.AdminRevenue') }}

@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
# {{ __('adminstaticword.Enrolled') }}{{ __('adminstaticword.Courses') }} {{ __('adminstaticword.AdminRevenue') }} {{ __('adminstaticword.Enrolled') }} {{ __('adminstaticword.Date') }}
1 {{ $order->courses->title }} @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