@extends('layouts.adminlayouts.app') @section('title') Order Details of ID: {{ $order->id }} {{$appSetting->h1}} - {{$appSetting->slogan}} @endsection @push('css') @endpush @section('contents')
@include('alerts.alerts')

From:
{{ $appSetting->h1 }}.
{{$appSetting->address_one}}
Mobile: {{$appSetting->mobile}}
Email: {{$appSetting->email}}

Payment: @if($order->payment_status=='paid')Paid @else Unpaid @endif

Invoice No.

INV-{{ $order->id }}

To:
{{ $order->name }}
{{ $order->address }}
Mobile: {{ $order->mobile }}
Email: {{ $order->email }}

Invoice Date: {{ $order->created_at->toDateString() }}
{{ ucfirst($order->order_status) }} Date: @if($orderS = $order->order_status) {{ $order[$orderS.'_at']->toDateString() }} @endif

@foreach($order->items as $item) @endforeach
Item List Quantity Unit Price Total Price
{{ $item->product_name }}
ID:{{ $item->product_id }}, Color: {{ $item->color }}, Size: {{ $item->size }}
{{ number_format($item->total_quantity,0) }} {{$appSetting->currency}} {{ number_format($item->unit_price - $item->unit_pro_discount,0) }} {{$appSetting->currency}} {{ number_format($item->total_quantity*($item->unit_price-$item->unit_pro_discount),0) }}
Sub Total : {{$appSetting->currency}} {{ number_format($order->final_price,0) }}
Delivery Cost : {{$appSetting->currency}} {{ $order->delivery_cost }}
TOTAL : {{$appSetting->currency}} {{ number_format($order->final_price + $order->delivery_cost,0) }}
Total Weight : {{ $order->total_weight }} Kg
{{--
Comments It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less
--}}

Manage Products (Vendor)
@foreach($order->items as $item) @endforeach
SL Item List Qty Weight (Kg) Vendor Order Status
{{ $i }} {{ $item->product_name }}
{{ $item->product_name }}
ID:{{ $item->product_id }}, Color: {{ $item->color }}, Size: {{ $item->size }}
{{ $item->total_quantity }} {{ $item->total_quantity * $item->total_weight }}
@if($item->seller_id) Vendor ID:{{ $item->seller_id }},{{ $item->seller->title }} ({{ $item->seller->user->name }})
{{ $item->seller->mobile }},{{ $item->seller->address }},{{ $item->seller->city }}
@endif {{ $item->order_status }}: {{ $item[$item->order_status.'_at'] }}
@csrf
Payment Status: {{ $order->payment_status }}
@csrf
@csrf
@endsection @push('js') {{-- --}} @endpush