@extends('layouts.main') @push('nav_title') {{-- User--}} Enzy @endpush @section('page_title') @endsection @section('profile') @include('layouts/profile') @endsection @section('side_bar') @include('layouts/side_bar') @endsection @section('main_div')

Order Details

Order no. #{{ $order_details['order_id'] }} from {{ date('d F, Y \a\t h:i A', strtotime($order_details['created_at'])) }}
{{-- Code: {{ $order_details['cart_group_id'] }}--}}

@foreach($order_details['products'] as $product)
{{-- Product Image--}}

{{ $product['product_name'] }}

Order was delivered 2 days ago.

{{-- you can make this dynamic if you have delivery date --}}
{{ucwords($current_order_status)}}
{{-- You can also make status dynamic --}}
View Product {{-- --}} {{-- Do you like the product? Leave us a review here.--}}
@endforeach

Track Order

Order {{ucwords($current_order_status)}} {{ date('d F, Y \a\t h:i A', strtotime($order_details['created_at'])) }}
{{--
--}} {{-- Generate order id #1832412--}} {{-- 22 DEC 7:21 AM--}} {{--
--}} {{--
--}} {{-- Order transmitted to courier--}} {{-- 22 DEC 8:10 AM--}} {{--
--}} {{--
--}} {{-- Order delivered--}} {{-- 22 DEC 4:54 PM--}} {{--
--}}

Order Summary

Product Price: ${{$order_details['total']}}

Delivery:

Taxes:

Total: ${{$order_details['total']}}

@include('layouts.cart')
@endsection