@extends('backend.layouts.master') @section('body')
Customer Details
Customer Name {{ $order->name }}
Email {{ $order->email }}
Phone {{ $order->mobile_no }}
Address {{ $order->address }}
Product Details
@php use Carbon\Carbon; $count = 1; $dateTime = Carbon::parse($order->created_at); $timeAgo = $dateTime->diffForHumans(); $createdAt = Carbon::parse($order->created_at); $order_date = $createdAt->format('d F Y'); @endphp @foreach($order->order_info as $v) @endforeach @php $discount_amount = $order->discount_amount ? $order->discount_amount : 0; @endphp @if($order->is_payment == 1) @else @endif @if($order->is_payment == 1) @else @endif
Sl. Product Title Unit Price Quantity Total
{{ $count++ }} {{ $v->product->product_name_en }} @if($v->color_name != null || $v->size_name != null) ( @if($v->color_name != null) Color-{{ $v->color_name }} @endif | @if($v->size_name != null) Size-{{ $v->size_name }} @endif ) @endif {{ $v->product->regular_price - $v->product->discount_amount }} {{ $v->qty }} {{ $v->product->discount_amount * $v->qty }}
Shipping {{ $order->shipping_cost }}
Total Amount {{ $order->shipping_cost + $order->total }}
Paid Amount{{ $order->total_amount }}0
Due Amount0{{ $order->shipping_cost + $order->total }}
Order Details
Order Id Transaction_id Payment Method Shipping Cost Order Time Order Date Issue Date
#{{ $order->id }} {{ $order->transaction_id ? $order->transaction_id : '-' }}
{{ $order->payment_method }}
{{ $order->shipping_cost }} {{ $timeAgo }} {{ $order_date }} -
Update Order Status
Current Status
@if($order->status == 0) Pending @endif @if($order->status == 1) Processing @endif @if($order->status == 2) In Delivery @endif @if($order->status == 3) Completed @endif @if($order->status == 4) Canceled @endif
@endsection