@extends('layouts.dashboard') @section('page_title', 'Order #' . $order->order_number) @section('dashboard_content')
{{ $order->status }} Created {{ $order->created_at->format('M d, Y') }}

{{ $order->service->name ?? 'Compliance Service' }}

{{ $order->package->name ?? 'Custom Service Package' }}

Fee Strategy
{{ $order->currency }} {{ number_format($order->total_amount) }}
Paid to Date
{{ $order->currency }} {{ number_format($order->paid_amount) }}
Payment Status
{{ $order->payment_status }}
EST. Delivery
Standard

Communication Stream

@forelse($order->remarks ?? [] as $remark)
{{ $remark->user_id === auth()->id() ? 'You' : 'Texora Admin' }} • {{ $remark->created_at->diffForHumans() }}

{{ $remark->content ?? $remark->message }}

@empty

Initialize the conversation below...

@endforelse
@csrf

Service Invoice

{{ $order->payment_status }}
Total Amount {{ number_format($order->total_amount) }} {{ $order->currency }}
@if($order->payment_status === 'unpaid')
Please complete your service fee payment to expedite the processing of your application.
@endif View Service Invoice

Government PSID

{{ $order->government_payment_status }} {{-- Reuse simple PSID modal --}}
@php $psids = $order->psid ? array_filter(array_map('trim', explode("\n", $order->psid))) : []; @endphp @forelse($psids as $psid)
{{ $psid }}
@if($order->government_payment_status !== 'paid') @endif
@empty
PSID Awaiting Generation...
@endforelse

Government fees are paid directly to the department via 1Bill/ATM. Marking these as paid will notify our case managers to continue processing.

Document Center

Secure Storage
@php $certificates = $order->documents->where('status', 'approved')->whereNotNull('file_path'); $required = $order->documents->where('status', '!=', 'approved'); @endphp @if($certificates->count() > 0)
Official Outputs / Certificates
@foreach($certificates as $doc)
{{ $doc->document_name }}
Ready for Download
@endforeach
@endif
Verification Queue
@foreach($required as $doc)
{{ $doc->document_name }}
{{ $doc->status }}
@if($doc->file_path) Uploaded @else
@csrf
@endif
@if($doc->rejection_reason)
Instruction: {{ $doc->rejection_reason }}
@endif
@endforeach
@csrf
@push('scripts') @endpush @endsection