@extends('admin.layouts.master') @section('content')
|
Invoice{{ $order->order_no }}Date: {{ $order->created_at->format('Y-m-d') }} |
Invoice To:{{ $order->billing_name }} {{ $order->billing_email }} {{ $order->billing_phone }} {{ $order->billing_address }} {{ $order->billing_city }}, {{ $order->billing_state }}, {{ $order->billing_zip }} |
Invoice From:{{ env('APP_NAME') }} {{ Auth::guard('admin')->user()->email }} 215-899-5780 3145 Glen Falls Road Bensalem, PA 19020 |
| SL | Product | Price | Quantity | Subtotal |
|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $product_detail->name }} | ${{ $item->product_price }} | {{ $item->quantity }} | @php $subtotal = $item->product_price * $item->quantity; @endphp${{ number_format($subtotal, 2) }} |
| Subtotal: | ${{ number_format($main_subtotal, 2) }} | |||
| Shipping Cost: | (+) ${{ number_format($order->shipping_cost, 2) }} | |||
| Coupon Discount: | @php $coupon_discount = $main_subtotal * $order->coupon_percentage / 100; @endphp(-) ${{ number_format($coupon_discount, 2) }} | |||
Payment Method{{ $order->payment_method }} |
Total${{ $order->final_amount }} |