@extends('admin.layouts.master') @section('title', 'Payout - Admin') @section('maincontent') @include('admin.layouts.topbar',$data)
@foreach($users as $user) @endforeach
# {{ __('Instructor') }} {{ __('View') }}
1 {{$user->fname}}
@foreach($payout as $pay) @endforeach
# {{ __('User') }} {{ __('Payer') }} {{ __('Pay Total') }} {{ __('Order Id') }} {{ __('Pay Status') }} {{ __('View') }}
1 {{$pay->user->fname}} {{$pay->payer_id}} {{$pay->pay_total}} @foreach($pay->order_id as $order) @php $id= App\Order::find($order); @endphp @if(isset($id->order_id)){{ $id['order_id'] }} @endif, @endforeach @if($pay->pay_status ==1) {{ __('Recieved') }} @else {{ __('Pending') }} @endif {{ __('View') }}
@endsection