@extends('administrator.layout') @section('admintitle', 'Earning') @section('content')
@if (session()->has('success')) @endif @if (session()->has('error')) @endif

{{ __('text.earning') }} {{$symbol}}{{ $total }}

@forelse($data as $index => $d) @empty @endforelse
{{ __('text.commission') }} {{ __('text.description') }} {{ __('text.referral') }} {{ __('text.date') }}
{{$symbol}}{{ $d->commission }} {{ $d->description }} {{ $d->referral_id}} {{ date('Y-m-d', strtotime($d->date_added)) }}
{{ __('text.no_records_found') }}
{{ $data->links() }}
@endsection