@extends('layouts.main') @section('title', 'My Order') @section('extra-css') @endsection {{-- @section('content') --}} @section('main-section') @component('components.breadcrumbs') Home My Order My Order Details @endcomponent
@if (session()->has('success_message'))
{{ session()->get('success_message') }}
@endif @if(count($errors) > 0)
@endif

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

{{--
--}}
Order Placed
{{ presentDate($order->created_at) }}
Order ID
{{ $order->id }}
Total
Rs.{{ ($order->billing_total) }}
Name {{ $order->user->name }}
Address {{ $order->billing_address }}
City {{ $order->billing_city }}
Subtotal Rs.{{ ($order->billing_subtotal) }}
Tax Rs.{{ ($order->billing_tax) }}
Total Rs.{{ ($order->billing_total) }}
{{--
--}}
Order Items
@foreach ($products as $product)
Product Image
Rs.{{ ($product->price) }}
Quantity: {{ $product->pivot->quantity }}
@endforeach
@endsection @section('extra-js') @endsection