Invoice Number: {{ $payment->payment_id }}
Invoice Date: {{ $payment->created_at->format('D - d F, Y') }}
Payment Status:
@if($payment->payment_status=="[capture-received]")
Paid
@else
Pending
@endif
Bill to: {{ $payment->billingAddress->first_name }} {{ $payment->billingAddress->last_name }}
Email: {{ $payment->billingAddress->email }}
Address: {{ $payment->billingAddress->city }}, {{ $payment->billingAddress->state }}, {{ $payment->billingAddress->country }}-{{ $payment->billingAddress->pincode }}
Items |
Qty |
Price |
Amount |
@foreach($payment->orderDetails as $item)
{{ $item->product->name }}({{ $item->productDetails->style }}) |
{{ $item->quantity }} |
${{ number_format($item->productDetails->price) }} |
${{ number_format($item->productDetails->price * $item->quantity) }} |
@endforeach
Subtotal: ${{ number_format($payment->amount) }}
Total: ${{ number_format($payment->amount) }}