Geology
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 }}
@foreach($payment->orderDetails as $item) @endforeach
Items Qty Price Amount
{{ $item->product->name }}({{ $item->productDetails->style }}) {{ $item->quantity }} ${{ number_format($item->productDetails->price) }} ${{ number_format($item->productDetails->price * $item->quantity) }}
Subtotal: ${{ number_format($payment->amount) }}
Total: ${{ number_format($payment->amount) }}