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

{{$entity->buyer->name}}

Phone Number: {{$entity->buyer->phone}}
Address: {{$entity->buyer->address}}

{{$entity->payment->displayamount}} @if($entity->hasCoupon()) @endif

@if($entity->isDispatched()) @else @endif @if($entity->isPaid()) Paid @else Mark Paid @endif @if($entity->isDelivered()) Delivered @else Mark Delivered @endif @if($entity->isDispatched())

Dispatch Details

Dispatcher: {{$entity->dispatch->name}}

Phone: {{$entity->dispatch->phone}}

Total Kg: {{$entity->totalCartKg()}}kg

@endif

Order Details

@foreach($entity->cartItems as $item) @endforeach
Product Amount/Unit Kg Quantity Discounted Total
{{$item->cartable->name}} NGN {{number_format($item->price) ?? ''}} {{$item->cartable->kg}} {{$item->quantity}} {{$item->is_discounted ? 'Yes' : 'No'}} NGN {{number_format($item->quantity * $item->price)}}
@endsection