@extends('layouts.admin') @section('title', 'Order '.$order->order_number) @section('content')

Order {{ $order->order_number }}

View / Print Invoice

Items

@foreach($order->items as $item) @endforeach
ProductVariantQtyPrice
{{ $item->product_title }}{{ is_array($item->variant_info) ? implode(', ', $item->variant_info) : '' }}{{ $item->quantity }}৳{{ number_format($item->price, 2) }}
@if($order->customer_lat && $order->customer_lng)

Customer Location

@endif
{{ $order->customer_name }}
{{ $order->customer_phone }}
{{ $order->address }}
@if($order->checkout_data) @foreach($order->checkout_data as $k => $v) @if(!is_array($v) && $v)
{{ $k }}: {{ $v }}
@endif @endforeach @endif
@csrf
Send to Courier
@if($order->courier)

Sent via {{ ucfirst($order->courier) }} — #{{ $order->courier_consignment_id }}

@else
@csrf
@endif
Subtotal৳{{ number_format($order->subtotal, 2) }}
Delivery৳{{ number_format($order->delivery_charge, 2) }}
Discount-৳{{ number_format($order->discount, 2) }}
Total৳{{ number_format($order->total, 2) }}
@endsection