@if(Session::has('success_message'))
@if(!empty($orderDetails['coupon_code']))
@endif
@if(!empty($userDetails['address']))
@endif
@if(!empty($userDetails['city']))
@endif
@if(!empty($userDetails['state']))
@endif
@if(!empty($userDetails['country']))
@endif
@if(!empty($userDetails['pincode']))
@endif
@if(!empty($orderDetails['address']))
@endif
@if(!empty($orderDetails['city']))
@endif
@if(!empty($orderDetails['state']))
@endif
@if(!empty($orderDetails['country']))
@endif
@if(!empty($orderDetails['pincode']))
@endif
@foreach($orderLog as $key => $log) {{ $log['order_status'] }} @if(isset($log['order_item_id'])&&$log['order_item_id']>0) @php $getItemDetails = OrdersLog::getItemDetails($log['order_item_id']) @endphp - for item {{ $getItemDetails['product_code'] }} @if(!empty($getItemDetails['courier_name']))
Courier Name: {{ $getItemDetails['courier_name'] }} @endif @if(!empty($getItemDetails['tracking_number']))
Tracking Number: {{ $getItemDetails['tracking_number'] }} @endif @endif
{{ date('Y-m-d h:i:s', strtotime($log['created_at'])); }}
@endforeach @else This feature is restricted. @endif
@include('admin.layout.footer')
Success: {{ Session::get('success_message')}}
@endif
Order Details
Back to Orders
Order Details
Customer Details
Delivery Address
Update Order Status
@if(Auth::guard('admin')->user()->type!="vendor")@foreach($orderLog as $key => $log) {{ $log['order_status'] }} @if(isset($log['order_item_id'])&&$log['order_item_id']>0) @php $getItemDetails = OrdersLog::getItemDetails($log['order_item_id']) @endphp - for item {{ $getItemDetails['product_code'] }} @if(!empty($getItemDetails['courier_name']))
Courier Name: {{ $getItemDetails['courier_name'] }} @endif @if(!empty($getItemDetails['tracking_number']))
Tracking Number: {{ $getItemDetails['tracking_number'] }} @endif @endif
{{ date('Y-m-d h:i:s', strtotime($log['created_at'])); }}
@endforeach @else This feature is restricted. @endif
Ordered Products
Product Image | Code | Name | Size | Color | Unit Price | Product Qty | Total Price | @if(Auth::guard('admin')->user()->type!="vendor")Product by | @endifCommission | Final Amount | Item Status | |||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@php $getProductImage = Product::getProductImage($product['product_id']) @endphp
|
{{ $product['product_code'] }} | {{ $product['product_name'] }} | {{ $product['product_size'] }} | {{ $product['product_color'] }} | {{ $product['product_price'] }} | {{ $product['product_qty'] }} | @if($product['vendor_id']>0) @if($orderDetails['coupon_amount']>0) @php $couponDetails = Coupon::couponDetails($orderDetails['coupon_code']) @endphp @if($couponDetails['vendor_id']>0) {{ $total_price = $product['product_price']*$product['product_qty']-$item_discount }} @else {{ $total_price = $product['product_price']*$product['product_qty'] }} @endif @else {{ $total_price = $product['product_price']*$product['product_qty'] }} @endif @else {{ $total_price = $product['product_price']*$product['product_qty'] }} @endif | @if(Auth::guard('admin')->user()->type!="vendor") @if($product['vendor_id']>0)Vendor | @elseAdmin | @endif @endif @if($product['vendor_id']>0){{ $commission = round($total_price * $product['commission']/100,2) }} | {{ $total_price - $commission }} | @else0 | {{ $total_price }} | @endif