@foreach($transcations as $transcation) @endforeach
{{ __('SL') }}. {{ __('Invoice Number') }} {{ __('Party Name') }} {{ __('Total Due') }} {{ __('Pay Due Amount') }} {{ __('Payment Type') }} {{ __('Payment Date') }}
{{ $loop->iteration }} {{ $transcation->invoiceNumber }} {{ $transcation->party?->name }} {{ 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 }} {{ formatted_date($transcation->paymentDate) }}