@extends('layouts.patient') @section('title') Order Details | {{ config('app.name') }} @endsection @section('body')

Orders

Your Order Details
{{-- --}}
Order made by: {{ $order->user->fullname() }}
{{--
Order made by: {{ $order->user->fullName() }}
--}}
Location of User: {{ $order->address }}
{{--
Location of User: {{ $user->fullAddress() }}
--}}
Date of Order: {{ $order->created_at->toDayDateTimeString() }}
{{--
Date of Order: {{ $order->created_at->toDayDateTimeString() }}
--}}
{{--
Order Price: NGN 3000
--}}
Order Price: {{ config()->get('sitedata.currency') }} {{ $order->total_price }}
{{--
Order Status: Pending
--}}
Order Status: {{ $order->getStatus() }}
Items Ordered
{{-- --}} {{-- --}} {{-- --}} @forelse ($order->orderitems as $item) @empty @endforelse
# Item QuantityUnit Price (NGN)Unit Price ({{config()->get('sitedata.currency') }})Total Price (NGN)Total Price ({{config()->get('sitedata.currency') }})
2 Septrin 2 80
Total 200
{{ $loop->iteration }} {{ $item->name }} {{ $item->quantity }} {{ $item->unit_price }} {{ $item->unit_price * $item->quantity }}
Nothing to show here
@if($order->getStatus() === "pending")
@endif
@include('partials.copyrights') @endsection