@foreach ($purchases as $purchase) @endforeach
{{ __('SL') }}. {{ __('Invoice No') }} {{ __('Party Name') }} {{ __('Total Amount') }} {{ __('Discount Amount') }} {{ __('Paid Amount') }} {{ __('Due Amount') }} {{ __('Payment Type') }} {{ __('Sale Date') }}
{{ $loop->index + 1 }} {{ $purchase->invoiceNumber }} {{ $purchase->party?->name }} {{ currency_format($purchase->totalAmount, 'icon', 2, business_currency()) }} {{ currency_format($purchase->discountAmount, 'icon', 2, business_currency()) }} {{ currency_format($purchase->paidAmount, 'icon', 2, business_currency()) }} {{ currency_format($purchase->dueAmount, 'icon', 2, business_currency()) }} {{ $purchase->paymentType }} {{ formatted_date($purchase->purchaseDate) }}