@extends('admin.layouts.master') @section('title', 'Admin Revenue Reports') @section('maincontent') @include('admin.layouts.topbar',$data)
{{ $error}}
@endforeach# | {{ 'User Name' }} | {{ 'Email' }} | {{ __('Enrolled Courses') }} | {{ __('Admin Revenue') }} | {{ __('Enrolled Date') }} | @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
---|---|---|---|---|---|
1 {{ __('Are You Sure') }} ?{{ __('Do you really want to delete selected item ? This process cannot be undone') }}. |
{{ $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)) }} |