admin docs: hide phantom prepared-filing PDF for non-form services

The dot-compliance-remediation pipeline seeds filing_status.pdf_minio_path on
every order in a batch, but only MCS-150-producing slugs (mcs150-update,
dot-registration, usdot-reactivation, dot-full-compliance) ever generate it.
For admin-assisted services like UCR it was a phantom 'Prepared filing PDF /
not generated yet' row. Gate the prepared-filing artifacts on FORM_PRODUCING_SLUGS
(mirrors the worker's MCS150_FORM_SLUGS) and give the empty state a clearer
explanation.
This commit is contained in:
justin 2026-06-16 02:35:29 -05:00
parent d18de006d8
commit c8e0065729
2 changed files with 24 additions and 4 deletions

View file

@ -393,7 +393,7 @@
try {
const { documents } = await api("/api/v1/admin/compliance-orders/" + encodeURIComponent(orderNumber) + "/documents");
if (!documents || !documents.length) {
box.innerHTML = '<div class="muted" style="font-size:12px;">No documents on file yet.</div>';
box.innerHTML = '<div class="muted" style="font-size:12px;">No documents on file. Admin-assisted services (e.g. UCR, MC authority) are filed manually and have no generated form; form-based filings appear here once intake is complete.</div>';
return;
}
// Stream endpoint takes the JWT via ?token= so it opens in a new tab.