@extends('../layout/' . $layout) @section('subhead') Earning Report @endsection @section('subcontent') @php $currency = DB::table('systemflag') ->where('name', 'Currency') ->select('value') ->first(); @endphp

Earning Report

@if ($totalRecords > 0) PDF CSV @endif
@if ($totalRecords > 0)
@php $no = 0; @endphp @foreach ($astrologerEarning as $earning) @endforeach
# User Order Type Order Amount Total Min Charge Order Date
{{ ($page - 1) * 15 + ++$no }} {{ $earning->userName }} {{ $earning->orderType }} {{ $currency->value }}{{ $earning->totalPayable }} {{ $earning->totalMin??'--' }} {{ $currency->value }}{{ $earning->charge??'--' }} {{ date('d-m-Y', strtotime($earning->created_at)) ? date('d-m-Y h:i', strtotime($earning->created_at)) : '--' }}
Showing {{ $start }} to {{ $end }} of {{ $totalRecords }} entries
@else
noData

No Data Available

@endif @endsection @section('script') @endsection