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

Kundali Earnings

@if ($totalRecords > 0) PDF CSV @endif
@csrf
@if (!$searchString) @else @endif
@if ($totalRecords > 0)
@php $no = 0; @endphp @foreach ($kundaliEarnings as $req) @if($req->pdf_link!=null) @else @endif @endforeach
# USER TYPE USER DATE KUNDALI TYPE COST PDF
{{ ($page - 1) * 15 + ++$no }} {{$req->user_type}} {{ $req->userName }} - {{ $req->userContactNo }} {{ date('d-m-Y', strtotime($req->created_at)) ? date('d-m-Y ', strtotime($req->created_at)) : '--' }} {{ $req->kundaliType }} @if($req->kundaliType=='small') 20 @elseif($req->kundaliType=='medium') 30 @elseif($req->kundaliType=='large') 49 @endif No Pdf Available
Showing {{ $start }} to {{ $end }} of {{ $totalRecords }} entries
@else
noData

No Data Available

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