@foreach($transactions as $transcation) {{ ($transactions->currentPage() - 1) * $transactions->perPage() + $loop->iteration }} {{ formatted_date($transcation->paymentDate) }} {{ $transcation->invoiceNumber }} {{ $transcation->party?->name }} {{ $transcation->party?->type }} {{ currency_format($transcation->totalDue, currency: business_currency()) }} {{ currency_format($transcation->payDueAmount, currency: business_currency()) }} {{ $transcation->payment_type_id != null ? $transcation->payment_type->name ?? '' : $transcation->paymentType }} @endforeach