@extends('layouts.business.pdf.pdf_layout') @section('pdf_title')
| {{ __('Supplier Name') }} | : {{ $purchase->party->name ?? '' }} |
| {{ __('Mobile') }} | : {{ $purchase->party->phone ?? '' }} |
| {{ __('Sells By') }} | : {{ $purchase->user->name ?? '' }} |
| {{ __('Invoice') }} | : {{ $purchase->invoiceNumber ?? '' }} |
| {{ __('Date') }} | : {{ formatted_date($purchase->purchaseDate ?? '') }} |
| {{ __('SL') }} | {{ __('Item') }} | {{ __('Quantity') }} | {{ __('Unit Price') }} | {{ __('Total Price') }} |
|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $detail->product->productName ?? '' }} | {{ $detail->quantities ?? '' }} | {{ currency_format($detail->productPurchasePrice ?? 0, currency: business_currency()) }} | {{ currency_format($productTotal, currency: business_currency()) }} |
| {{ __('Supplier Name') }} | : {{ $purchase->party->name ?? '' }} |
| {{ __('Mobile') }} | : {{ $purchase->party->phone ?? '' }} |
| {{ __('Sells By') }} | : {{ $purchase->user->name ?? '' }} | |
| {{ __('Vat') }} | : | {{ currency_format($purchase->vat_amount, currency: business_currency()) }} |
| {{ __('Shipping Charge') }} | : | {{ currency_format($purchase->shipping_charge, currency: business_currency()) }} |
| {{ __('Discount') }} @if ($purchase->discount_type == 'percent') ({{ $purchase->discount_percent }}%) @endif | : | {{ currency_format($purchase->discountAmount, currency: business_currency()) }} |
| {{ __('Total Amount') }} | : | {{ currency_format($subtotal + $purchase->vat_amount + $purchase->discountAmount + $purchase->shipping_charge, currency: business_currency()) }} |
| {{ __('SL') }} | {{ __('Date') }} | {{ __('Returned Item') }} | {{ __('Quantity') }} | {{ __('Total Amount') }} |
|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $detail->product->productName ?? '' }} | {{ $detail->quantities ?? '' }} | {{ currency_format($detail->productPurchasePrice ?? 0, currency: business_currency()) }} | {{ currency_format($productTotal, currency: business_currency()) }} |
| {{ __('Paid by') }} : {{ $purchase->payment_type_id != null ? $purchase->payment_type->name ?? '' : $purchase->paymentType }} |
| {{ __('Total Return Amount') }} | : | {{ currency_format($total_return_amount, currency: business_currency()) }} | ||
|---|---|---|---|---|
| {{ __('Payable Amount') }} | : | {{ currency_format($purchase->totalAmount, currency: business_currency()) }} | ||
| {{ __('Paid Amount') }} | : | {{ currency_format($purchase->paidAmount, currency: business_currency()) }} | ||
| {{ __('Due') }} | : | {{ currency_format($purchase->dueAmount, currency: business_currency()) }} | ||
| {{ $loop->iteration }} | {{ formatted_date($return->return_date) }} | {{ $detail->purchaseDetail->product->productName ?? '' }} | {{ $detail->return_qty ?? 0 }} | {{ currency_format($detail->return_amount ?? 0, currency: business_currency()) }} |
| {{ __('SL') }} | {{ __('Item') }} | {{ __('Quantity') }} | {{ __('Unit Price') }} | {{ __('Total Price') }} |
|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $detail->product->productName ?? '' }} | {{ $detail->quantities ?? '' }} | {{ currency_format($detail->productPurchasePrice ?? 0, currency: business_currency()) }} | {{ currency_format($productTotal, currency: business_currency()) }} |
| {{ __('Paid by') }} : {{ $purchase->payment_type_id != null ? $purchase->payment_type->name ?? '' : $purchase->paymentType }} |
| {{ __('Subtotal') }} | : | {{ currency_format($subtotal, currency: business_currency()) }} |
| {{ __('Vat') }} | : | {{ currency_format($purchase->vat_amount, currency: business_currency()) }} |
| {{ __('Shipping Charge') }} | : | {{ currency_format($purchase->shipping_charge, currency: business_currency()) }} |
| {{ __('Discount') }} @if ($purchase->discount_type == 'percent') ({{ $purchase->discount_percent }}%) @endif | : | {{ currency_format($purchase->discountAmount, currency: business_currency()) }} |
| {{ __('Total Amount') }} | : | {{ currency_format($purchase->totalAmount, currency: business_currency()) }} |
| {{ __('Paid Amount') }} | : | {{ currency_format($purchase->paidAmount, currency: business_currency()) }} |
| {{ __('Due') }} | : | {{ currency_format($purchase->dueAmount, currency: business_currency()) }} |