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
+7 -2
View File
@@ -94,6 +94,8 @@
@php
$average = $profile->average_stars ? round($profile->average_stars, 1) : null;
$imports = $profile->externalImports;
$visibleImports = $imports->filter->publiclyVisible();
$importedWorkCount = $visibleImports->sum(fn ($import) => $import->workHistoryEntries->count());
@endphp
<a href="{{ route('providers.show', $profile) }}" class="tse-panel block p-5 transition hover:border-sky-300 hover:shadow-md dark:hover:border-sky-700">
<div class="flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between">
@@ -121,8 +123,11 @@
@if ($profile->availability_notes)
<x-badge tone="amber">Availability noted</x-badge>
@endif
@if ($imports->isNotEmpty())
<x-badge tone="slate">{{ $imports->count() }} imported profile{{ $imports->count() === 1 ? '' : 's' }}</x-badge>
@if ($visibleImports->isNotEmpty())
<x-badge tone="slate">{{ $visibleImports->count() }} imported profile{{ $visibleImports->count() === 1 ? '' : 's' }}</x-badge>
@endif
@if ($importedWorkCount > 0)
<x-badge tone="amber">{{ number_format($importedWorkCount) }} external jobs</x-badge>
@endif
</div>