@extends('layouts.admin') @section('content')
@include('includes.admin.accountSidebar')

Order Id : {{$orders->formattedOrderId}}

@if (session()->has('message'))
{{session()->get('message')}}
@endif

Order Value

{{$orders->grand_total}}

Amount Paid

{{number_format($orders->amount_paid,2)}}

@if (!empty($orders->gst_invoice_no))

GST Invoice Number

{{$orders->gst_invoice_no}}

@endif @if (!empty($orders->gst_invoice_name))

GST Invoice Name

{{$orders->gst_invoice_name}}

@endif

Purchased date

{{$orders->order_date}}

Payment Method

{{$orders->payment_mode_en}}

Shipment Method

{{$orders->shipment_method}}

Delivery Time

{{$orders->delivery_time}}

Status

{{$orders->order_status}}

@if (!empty($orders->gift_to_others_amount) && $orders->gift_to_others_amount != '0.00')

GIFT

gift Amount:{{number_format($orders->gift_to_others_amount,2)}}

gift From:{{$orders->gift_from}}

gift To:{{$orders->gift_to}}

gift Message:{{$orders->gift_to_others_text}}

@endif
@if ($orders->order_status_id <> 9 && $orders->order_status_id <> 12 && $orders->order_status_id <> 14 && $orders->order_status_id <> 15 && $orders->order_status_id <> 10 && $orders->order_status_id <> 20 && $orders->order_status_id <> 19 && $orders->order_status_id <> 11)

Order Track

Order confirmed
Processing order
Ready for dispatch
Product dispatched
Product delivered
@endif

Order Item

@if ($orders->order_status_id == 9) @endif @php $product_discount = 0 ; $product_subtotal = 0; $total_gst_val = 0; @endphp @if(isset($order_items)) @foreach($order_items as $key => $product) @foreach($product as $item) @php $colspan = ''; @endphp @if ($orders->order_status_id == 9 && ($item->is_partially_canceled != '1' || $item->quantity > 0)) @elseif ($orders->order_status_id == 9) @php $colspan = 'colspan="2"'; @endphp @endif
Product MRP Price Discounted Price Quantity Total

{{ $key }}

( {{ count($product) }} Items )