Admin

@foreach ($counts as $label => $count)

{{ str_replace('_', ' ', $label) }}

{{ $count }}

@endforeach

Recent users

@foreach ($users as $user)

{{ $user->name }} | {{ $user->email }} | {{ $user->roles->pluck('name')->join(', ') }}

@endforeach

Recent jobs

@foreach ($jobs as $job)

{{ $job->title }} | {{ $job->status }} | {{ $job->buyer->name }}

@endforeach

Recent work orders

@foreach ($workOrders as $order)

{{ $order->jobPost->title }} | {{ $order->status }}

@endforeach

Recent disputes

@foreach ($disputes as $dispute)

{{ $dispute->summary }} | {{ $dispute->status }} | {{ $dispute->openedBy->name }}

@endforeach

Reported reviews

Reported reviews stay visible as moderation records. Hiding a review removes it from normal participant view without deleting the audit trail.

@forelse ($reportedReviews as $review)

{{ $review->workOrder->jobPost->title }}

{{ $review->reviewer->name }} rated {{ $review->reviewee->name }} {{ $review->rating }}/5 | reported by {{ $review->reportedBy?->name ?? 'unknown' }} | {{ $review->reported_at?->diffForHumans() }}

{{ $review->report_reason }}

@csrf @method('PATCH') Save moderation
@empty

No reported reviews are waiting for moderation.

@endforelse

Imported history verification

Imported marketplace history is provider-controlled until an admin verifies selected proof. Verification does not merge imported history into native TSE reputation.

@forelse ($importedHistories as $import)

{{ $import->providerProfile->business_name }} | {{ $import->platform }} {{ $import->external_id ? '#'.$import->external_id : '' }}

{{ \App\Models\ExternalProfileImport::VERIFICATION_STATUSES[$import->verification_status] ?? $import->verification_status }} | Rating {{ $import->rating ?? 'n/a' }} | Reviews {{ $import->review_count ?? 'n/a' }} | Completed {{ $import->completed_jobs ?? 'n/a' }} | Proof files {{ $import->attachments->count() }}

@if ($import->work_categories)

Categories: {{ implode(', ', $import->work_categories) }}

@endif
@csrf @method('PATCH') Save verification
@empty

No imported-history records are waiting for verification.

@endforelse

Import source batches

Raw Field Nation, WorkMarket, and marketplace source files are private proof batches. They should be reviewed and redacted before any public summary is approved.

@forelse ($importSources as $source)

{{ $source->providerProfile->business_name }} | {{ $source->platform }} | {{ $source->sourceTypeLabel() }}

{{ $source->original_name }} | {{ number_format($source->size / 1024, 1) }} KB | {{ $source->parseStatusLabel() }} | {{ $source->reviewStatusLabel() }} | uploaded by {{ $source->uploadedBy?->name ?? 'unknown' }}

@if ($source->externalProfileImport)

Linked summary: {{ $source->externalProfileImport->platform }} {{ $source->externalProfileImport->external_id ? '#'.$source->externalProfileImport->external_id : '' }}

@endif @if ($source->provider_notes)

{{ $source->provider_notes }}

@endif
@empty

No import source batches are waiting for review.

@endforelse

Moderation reports

Reports are triage records for profiles, jobs, and attachments. They do not delete or hide content by themselves.

@forelse ($moderationReports as $report)

{{ class_basename($report->reportable_type) }} #{{ $report->reportable_id }} | {{ \App\Models\ModerationReport::REASON_CODES[$report->reason_code] ?? $report->reason_code }}

Reported by {{ $report->reporter->name }} | {{ $report->status }} | {{ $report->created_at->diffForHumans() }}

{{ $report->details }}

@csrf @method('PATCH') Save report
@empty

No moderation reports are waiting.

@endforelse

Recent audit log

@forelse ($auditLogs as $log) @empty @endforelse
When Actor Action Target
{{ $log->created_at->format('M j, g:i A') }} {{ $log->actor?->name ?? 'System' }} {{ str_replace('.', ' ', $log->action) }} {{ $log->auditable_type ? class_basename($log->auditable_type).' #'.$log->auditable_id : 'n/a' }}
No audit records yet.