@extends('layouts.admin') @section('title', 'Dashboard | Mintavia Admin') @section('content')

Manage Orders

Order Info:

Order ID {{$order->order_number}}

Place On {{$order->created_at->format('d-M-Y')}}

Delivery Status {{\App\Models\Order::status[$order->status]}}

Billing Address:

Name: {{$billingaddress->name}}
Street address: {{$billingaddress->address}}
{{$billingaddress->address2}}
Country: {{$billingaddress->country}}
State / County: {{$billingaddress->state}}
Town / City: {{$billingaddress->city}}
Postcode / ZIP: {{$billingaddress->pincode}}
Email: {{$order->order_email}}
Phone: {{$order->order_phone}}
Shipping Address:

Name: {{$shippingaddress->name}}
Street address: {{$shippingaddress->address}}
{{$shippingaddress->address2}}
Country: {{$shippingaddress->country}}
State / County: {{$shippingaddress->state}}
Town / City: {{$shippingaddress->city}}
Postcode / ZIP: {{$shippingaddress->pincode}}
@foreach($order->products as $product) @php $storeproduct = $product->storeproduct; $pro = $storeproduct->product; $url = asset('noimage.jpg'); if ($pro->getMedia('product_image_1')->count() > 0) { $url = $pro->getFirstMediaUrl('product_image_1'); } @endphp @endforeach
Image Name Quantiy Price Total
{{{$product->name}}} {{$product->quantity}} {{$product->price}} {{ $product->quantity * $product->price}}
@csrf
@foreach(\App\Models\Order::status as $key => $status) @endforeach
Discount Amount {{$order->discount_amount}}
Shipping Amount {{$order->shipping_charges}}
Net Amount {{$order->grand_total}}
Payment Info:

Reference Id {{$order->reference_Id}}
Payment Status {{$order->payment_status ? 'Paid' : 'Not Paid'}}
Payment Method {{$order->payment_method}}
@endsection