@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')
{{ $error}}
@endforeach# | {{ 'User Name' }} | {{ 'Email' }} | {{ __('adminstaticword.Enrolled') }} {{ __('adminstaticword.Courses') }} | {{ __('adminstaticword.AdminRevenue') }} | {{ __('adminstaticword.Enrolled') }} {{ __('adminstaticword.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)) }} |