@include('admin.header')

ORDERS

ORDER Id- #{{ $order->order_number }} @if($order->order_status=="Cancelled" || $order->order_status=="Delivered") @else @endif @if ($order->order_status =='Cancelled' && $order->payment_status !='refunded') @elseif($order->order_status =='Cancelled') @else @endif Download Invoice @if($order->payment_status=="pending") @else @endif

Basic Detail

{{ $order->name }}

{{ $order->email }}

{{$order->mobile_number}}

{{ $order->created_at }}

{{ '#'.$order->order_number }}

{{$order->order_status}}

{{$order->order_amount_with_shipping}}

{{ $order->payment_status }}

@if($order->payment_status == "failed")

{{ $order->payment_message }}

@endif @if($order->payment_status == "success")

{{ date("jS F Y h:i:s A",strtotime($order->payment_approved_date)) }}

@endif

{{ $order->transaction_number }}

{{ $order->payment_method }}

{{ $order->address_type }}

{{ $order->coupon_id ? 'Applied':'Not Applied' }}

{{ $order->coupon_code }}

{{ $order->total_item_count }}

{{ $order->order_amount_with_shipping }}

@if($order->payment_method =="offline")

{{ $order->refrence_id }}

@endif @if ($order->cancelorder)

{{$order->cancelorder->cancellation_reason_admin}}

{{$order->cancelorder->cancellation_reason}}

{{$order->cancelorder->reasons->title ?? ""}}

{{ ucfirst($order->cancelorder->cancelled_by)}}

@endif @if ($order->cancelorder && $order->refundorder)

{{$order->refundorder->transaction_id}}

{{$order->refundorder->refunded_amount}}

{{ date('d/m/Y H:i A', strtotime($order->refundorder->refunded_date))}}

@endif @if ($order->courierorder)

{{$order->courierorder->awb_number}}

{{$order->courierorder->courier_name}}

{{ $order->courierorder->delivery_date}} Days

@endif
{{--

Order Shipping Information

@csrf @csrf @csrf
Shipping Type
p
Shipping By
Tracking Number
Tracking Details

Note: After Entering Shipping information please click on Shipping Detail button to change the Payment Status / Order Status so that Customer may get Shipping information through SMS / Email

--}}

Order - Details

@php $prediscount=0; @endphp @if (isset($order->order_detailss) && count($order->order_detailss) > 0) @foreach ($order->order_detailss as $key=> $order_detail) @php $prediscount+=$order_detail->discount_amount*$order_detail->quantity; @endphp @endforeach @endif @if ($order->gst_type == 'IGST') @else @endif
Sr. No. Image Product Name MRP (Per QTY) Quantity Pre-Discount (Per QTY) Product Cost
{{++$key}} @if(isset($order_detail->product)) @else @endif {{ $order_detail->product_name }} ({{ $order_detail->product->categories->name }} / @if(isset($order_detail->product->subcategories)) {{ $order_detail->product->subcategories->name }} @else NA @endif / {{ $order_detail->brand_name }}) {{ $order_detail->mrp }}{{ $order_detail->quantity }} {{ $order_detail->discount_amount }} {{ $order_detail->total_price }}
@if($order->shipping_type_price != "0") @endif
Product Mrp {{ $order->order_amount }}
Pre Discount {{number_format( (float) $prediscount, 2, '.', '')}}
Coupon Discount {{ $order->discount_amount }}
Sub Total {{ $order->order_amount_after_discount }}
Shipping Charges {{ $order->shipping_type_price }}
Total Billed Amount {{ $order->order_amount_with_shipping }}

Shipping Details

{{ $order->shippingaddress->name }}

{{ $order->shippingaddress->address }}

{{ $order->shippingaddress->mobile_number }}

{{ $order->shippingaddress->email }}

{{ $order->shippingaddress->address }} {{ $order->shippingaddress->cities->name }} {{ $order->shippingaddress->states->name }} {{ $order->shippingaddress->countries->name }} {{ $order->shippingaddress->pincode }}

Billing Details

{{ $order->billingaddress->name }}

{{ $order->billingaddress->mobile_number }}

{{ $order->billingaddress->email }}

{{ $order->billingaddress->address }} {{ $order->billingaddress->cities->name }} {{ $order->billingaddress->states->name }} {{ $order->billingaddress->countries->name }} {{ $order->billingaddress->pincode }}

@include('admin.footer')