Order #{{ $order->id }}
{{ $order->status_description ?: 'Status not provided' }}Plot {{ $plot->plotnumber }} · {{ $property->name }} · Reference {{ $order->referenceid ?: 'not provided' }}
Purchase Details
Customer, payment plan and deadlines.
- Order reference
- {{ $order->referenceid ?: 'Not provided' }}
- Payment plan
- {{ $order->order_type ?: 'Not provided' }}
- Customer
- @if($order->user){{ trim($order->user->first_name . ' ' . $order->user->last_name) }}@else Not available @endif
- Customer phone
- {{ optional($order->user)->phone ?: 'Not provided' }}
- Initial payment amount
- TZS {{ number_format((float) $order->initial_payment_amount) }}
- Initial payment deadline
- {{ $order->initial_expiry_date ?: 'Not set' }}
- Completion deadline
- {{ $order->full_expiry_date ?: 'Not set' }}
- Order created
- {{ optional($order->created_at)->format('M d, Y H:i') ?: 'Not available' }}
- Payment progress
- {{ number_format($completion, 1) }}% paid
- Owner disbursement
- @if($order->ownerDisbursementOrder)Paid to owner@if($ownerPayment && (Auth::user()->hasRole('superadmin') || (int) Auth::user()->propertyownerid === (int) $ownerPayment->property_owner_id))
View disbursement {{ $ownerPayment->transfer_reference }}@endif @elseif((int) $order->status === 2)Awaiting disbursement @else Not yet completed @endif
Purchase Contacts
Beneficiary and next of kin recorded with the purchase.
{{ $person[0] }}
- @foreach(['Name', 'Phone', 'Email', 'Relationship', 'ID type', 'ID number'] as $index => $label)
- {{ $label }}
- {{ $person[$index + 1] ?: 'Not provided' }}
Payment Transactions
Payments recorded against this order reference.
| # | Reference / Transaction | Receipt | Date | Source | Amount paid (TZS) | Status |
|---|---|---|---|---|---|---|
| {{ $transactions->firstItem() + $index }} | {{ $transaction->reference }}{{ $transaction->transactionId ?: $transaction->id }} | {{ $transaction->receipt ?: '—' }} | {{ optional($transaction->created_at)->format('M d, Y H:i') ?: '—' }} | {{ $transaction->sourceInstitution ?: '—' }} | {{ number_format((float) $transaction->amount_paid) }} | {{ $transaction->status_description ?: 'Not provided' }} |
No payment transactionsPayments for this order will appear here. | ||||||