@extends('backend.layouts.app') @section('content')

Order Detail
@csrf
{{-- Download Invoice --}} Download Invoice Order ID: #{{ $orders->order_id }}

@csrf @method('put')
Shipped To:

Note:

Order Date:

{{ $orders->created_at->format('h:i:s') }}
{{ $orders->created_at->format('d M Y') }}

PRODUCT SUMMARY

@foreach ($orderproduct as $key=>$product) @endforeach @if ($orders->due != 0) @endif
# IMAGE PRODUCT QUANTITY PRICE/UNIT SUBTOTAL
{{ $key+1 }} {{ $product->rel_to_pro->name }}
@if ($orders->landing == 1) @if ($orders->color) Color: @endif @if ($orders->size) Size: {{ $orders->size }} @endif @else @if ($product->rel_to_attribute->color_id) Color: {{ $product->rel_to_attribute->rel_to_color->name }}, Size: {{ $product->rel_to_attribute->rel_to_size->name }} @elseif ($product->rel_to_attribute->weight) Package: {{ $product->rel_to_attribute->weight }} @endif @endif
{{ number_format($product->rel_to_attribute->sell_price ?? $product->rel_to_attribute->price, 2) }} Tk {{ number_format(($product->rel_to_attribute->sell_price ?? $product->rel_to_attribute->price) * $product->quantity, 2) }} Tk
Charge (+)
Discount (-)
Paid (-) {{ number_format($orders->paid) }} Tk
Due (-) {{ number_format($orders->due) }} Tk
Total {{ number_format($orders->total) }} Tk
Tracking Order No - {{ $orders->order_id }}

Pending

On Hold

Processing Order

On Delivery

Confirmed

@endsection