@if (count($Transaction) > 0) {{-- # --}} Company Name Company Email Status {{-- Transaction ID --}} Amount No Of ID Offer Date Free ID Total ID Due Amount Total Amount Transaction Date Payment Type @foreach ($Transaction as $key => $T) @php $CompanyDetails = App\Models\CompanyDetails::find($T['company_id']); $compnay_name = ''; $compnay_email = ''; if ($CompanyDetails) { $compnay_name = $CompanyDetails->company_name; $compnay_email = $CompanyDetails->company_email; } @endphp {{-- {{ $key + 1 }} --}} {{ $compnay_name }} {{ $compnay_email }} {!! checkStatus($T['status']) !!} {{-- {{ $T['txnid'] }} --}} {{ getCurrency() . $T['amount'] }} {{ $T['no_of_id'] }} {{ $T['offer_date'] != '' ? $T['offer_date'] : '-' }} {{ $T['free_id'] }} {{ $T['total_id'] }} {{ getCurrency() . $T['due_amount'] }} {{ getCurrency() . $T['total_paid_amount'] }} {{ date('d M Y', strtotime($T['created_at'])) }} {{ ucfirst(str_replace('_', ' ', $T['type'])) }} @endforeach {{ $Transaction->appends(request()->query())->links() }} @else

{{ 'No Record Found!' }}

@endif