@extends('mainlayout.layout') @php use App\Models\{Property,PropertyOwner,Customer,PropertyPlotPricing,LandUse,User,PropertyPlot}; @endphp @section('title') {{env('APP_NAME')}} | {{$title}} @endsection @push('css') @endpush @section('content')

{{ $orders->total() }} Results found

@foreach($orders as $index => $order) @endforeach
# Reference ID Customer Amount Plot Number Order Type Completion Percentage Status Action
{{ $orders->firstItem() + $index }} {{$order->referenceid}} {{ optional($order->user)->first_name }} {{ optional($order->user)->last_name }} {{number_format($order->amount,0,'.',',')}} {{ optional($order->plot)->plotnumber ?: '—' }} {{$order->order_type}} {{calculate_percentage_completion($order)}} % {{$order->status_description}}@if($order->ownerDisbursementOrder)Paid to owner@elseif((int) $order->status === 2)Awaiting disbursement@endif View More
{{ $orders->links() }}
@endsection