@extends('front.app') @section('title', 'Page Vendor List') @section('content')

Your Order Is Completed !

Thank you. Your order has been received.

  • Order Number

    {{ $order->order_number }}
  • Date

    {{ $order->created_at->format('d/m/Y') }}
  • Total

    ₹{{ number_format($order->order_amount_with_shipping, 2) }}
  • Payment Method

    {{ $order->payment_method === 'offline' ? 'Direct Bank Transfer' : 'CCavenue' }}

Order Details

  • Product Subtotal

  • @php $prediscount = 0; @endphp @foreach($order->order_detailss as $item)
  • {{ $item->product_name }} x {{ $item->quantity }} ₹{{ number_format($item->price * $item->quantity, 2) }}

  • @php $prediscount += $item->discount_amount * $item->quantity; @endphp @endforeach
  • Sub Total ₹{{ number_format($order->order_amount, 2) }}

  • @if($prediscount > 0)
  • Pre Discount - ₹{{ number_format($prediscount, 2) }}

  • @endif @if($order->discount_amount > 0)
  • Discount @if($order->coupon_code) ({{ $order->coupon_code }}) @endif - ₹{{ number_format($order->discount_amount, 2) }}

  • @endif @if($order->discount_amount > 0 || $prediscount > 0)
  • Amount After Discount ₹{{ number_format($order->order_amount_after_discount, 2) }}

  • @endif @if($order->total_gst_amount > 0)
  • GST ({{ $order->total_gst_percentage }}%) ₹{{ number_format($order->total_gst_amount, 2) }}

  • @endif
  • Shipping {{ $order->shipping_type_price == 0 ? 'Free Shipping' : '₹' . number_format($order->shipping_type_price, 2) }}

  • Total ₹{{ number_format($order->order_amount_with_shipping, 2) }}

@endsection