@extends('adminlayout.admin') @section('content')

Commission Distribution

@if (!$details->isEmpty())
@php $i=1; @endphp @foreach($details as $data) @if(Auth::user()->hasRole('super_admin')) @else @if($data->user_id == Auth::user()->user_id) @endif @endif @endforeach
User Id: {{ $data->user_id }}
Amount: {{ $data->amount }}
Remark: {{ $data->remark }}
User Id: {{ $data->user_id }}
Amount: {{ $data->amount }}
Remark: {{ $data->remark }}
@else
No records found.
Back
@endif
@endsection