Add external import sources, work history, screening fields and Phase 1 docs

- New ExternalImportSource and ExternalWorkHistoryEntry models, controller and migrations
- Screening fields on external profile imports
- Admin and provider profile views, routes and workflow tests updated
- Phase 1 validation, route inventory, gap report template and roadmap docs
- Add the Google Sheets work-order parser tool (tools/google-sheets-wo-parser)
This commit is contained in:
Codex
2026-10-02 15:50:18 -05:00
parent 0670f48878
commit 62220186af
37 changed files with 3284 additions and 4 deletions
+27
View File
@@ -116,6 +116,33 @@
</div>
</section>
<section class="rounded border bg-white p-6">
<h3 class="font-semibold">Import source batches</h3>
<p class="mt-1 text-sm text-gray-600">Raw Field Nation, WorkMarket, and marketplace source files are private proof batches. They should be reviewed and redacted before any public summary is approved.</p>
<div class="mt-4 space-y-4">
@forelse ($importSources as $source)
<div class="rounded border bg-gray-50 p-4 text-sm">
<p class="font-semibold">{{ $source->providerProfile->business_name }} | {{ $source->platform }} | {{ $source->sourceTypeLabel() }}</p>
<p class="mt-1 text-gray-600">
{{ $source->original_name }}
| {{ number_format($source->size / 1024, 1) }} KB
| {{ $source->parseStatusLabel() }}
| {{ $source->reviewStatusLabel() }}
| uploaded by {{ $source->uploadedBy?->name ?? 'unknown' }}
</p>
@if ($source->externalProfileImport)
<p class="mt-1 text-gray-600">Linked summary: {{ $source->externalProfileImport->platform }} {{ $source->externalProfileImport->external_id ? '#'.$source->externalProfileImport->external_id : '' }}</p>
@endif
@if ($source->provider_notes)
<p class="mt-2 whitespace-pre-line text-gray-700">{{ $source->provider_notes }}</p>
@endif
</div>
@empty
<p class="text-sm text-gray-600">No import source batches are waiting for review.</p>
@endforelse
</div>
</section>
<section class="rounded border bg-white p-6">
<h3 class="font-semibold">Moderation reports</h3>
<p class="mt-1 text-sm text-gray-600">Reports are triage records for profiles, jobs, and attachments. They do not delete or hide content by themselves.</p>