Plot {{ $plot->plotnumber }}
{{ $plotStatus[0] }}Plot details, purchase information and payment activity.
Order Details
Purchase and payment information for this plot.
- Order reference
- {{ $order->referenceid ?: $order->id }}
- Order status
- {{ $order->status_description ?: 'Not provided' }}
- Order value
- TZS {{ number_format((float) $order->amount) }}
- Payment plan
- {{ $order->order_type ?: 'Not provided' }}
- Amount paid
- TZS {{ number_format((float) $amount_paid) }}
- Balance after latest payment
- {{ $lastTransaction ? 'TZS ' . number_format((float) $balance) : 'No payment recorded' }}
- Customer
- @if($order->user){{ $customerName }}@else{{ $customerName }}@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' }}
No active order
Purchase details will appear here when an order is placed for this plot.
Purchase Contacts
Property beneficiary and next of kin recorded on the order.
{{ $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 the current order.
| Order / Transaction | Receipt | Date | Source institution | Amount paid (TZS) | Status |
|---|---|---|---|---|---|
| {{ $transaction->reference }}{{ $transaction->transactionId ?: 'No 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 ?: '—' }} |
No payment transactionsPayments for this order will appear here. | |||||
Site Visit Bookings
Confirmed and processed visits for this plot.
| Booking / Visitor | Phone | Receipt | Visit date | Location | Amount (TZS) | Status |
|---|---|---|---|---|---|---|
| #{{ $booking->id }}{{ trim($booking->firstname . ' ' . $booking->lastname) }} | {{ $booking->phone ?: '—' }} | {{ optional($booking->visitPayments->first())->receipt ?: '—' }} | {{ $booking->booked_date_time ?: '—' }} | {{ $booking->location ?: '—' }} | {{ number_format((float) $booking->amount) }} | {{ $booking->status ?: '—' }} |
No site visitsProcessed bookings for this plot will appear here. | ||||||
Post-Purchase History
{{ number_format($statuses->total()) }} status updates recorded for this plot.
| # | Status | Notes | Document | Date |
|---|---|---|---|---|
| {{ $statuses->firstItem() + $index }} | {{ $status->status_description }} | {!! App\Support\RichTextSanitizer::clean($status->notes) ?: '—' !!} | @if($status->attachment) View document@else — @endif | {{ optional($status->created_at)->format('M d, Y H:i') ?: '—' }} |
No status updatesAdd an update to track post-purchase progress. | ||||