@extends('layouts.business.pdf.pdf_layout') @section('pdf_title')
@include('business::print.header')

{{ __('Purchase Report List') }}

@endsection @section('pdf_content') @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, currency: business_currency()) }} {{ currency_format($purchase->discountAmount, currency: business_currency()) }} {{ currency_format($purchase->paidAmount, currency: business_currency()) }} {{ currency_format($purchase->dueAmount, currency: business_currency()) }} {{ $purchase->payment_type_id != null ? $purchase->payment_type->name ?? '' : $purchase->paymentType }} {{ formatted_date($purchase->purchaseDate) }}
@endsection