@extends('layouts.main') @push('title') Fit Sport Hub - My Order Details @endpush @section('main-section')
@if (session()->has('success_message')) @endif @if(count($errors) > 0) @endif

Order Details

Order ID: {{ $order->id }}

Order Placed

{{ presentDate($order->created_at) }}

Order ID

{{ $order->id }}

Final Amount

Rs. {{ $order->billing_total }}

Order Items

@php $subtotal = 0; @endphp
@foreach ($products as $product) @php $product_total = $product->variant_price ? ($product->variant_price * $product->product_quantity) : ($product->after_discount * $product->product_quantity); $subtotal += $product_total; @endphp @endforeach
Image MRP Price Price Gst Quantity Total
Product Image {{ $product->price }} @if ($product->variant_price) Rs. {{$product->variant_price}} @else Rs. {{$product->sale_price }} @endif {{ !empty($product->gst_amount) ? $product->gst_amount : 0 }} {{ $product->product_quantity }} {{ $product->total_price }}
@php $gst = $subtotal * 0.18; $grand_total = $subtotal + $gst; @endphp

Shipping Information

Name

{{ $order->user->name }}

Address

{{ $order->billing_address }}

City

{{ $order->billing_city }}

Order Summary

Discount Amount

Rs. {{$order->billing_discount }}

Final Amount

Rs. {{ $order->billing_total - $order->billing_discount }}

@endsection @section('extrascripts') @endsection