Skip to content

fix(invoer): drop the "adressen missen een funderingstype" check - #293

Merged
yorickdewid merged 1 commit into
mainfrom
fix/drop-foundation-type-check
Jul 28, 2026
Merged

fix(invoer): drop the "adressen missen een funderingstype" check#293
yorickdewid merged 1 commit into
mainfrom
fix/drop-foundation-type-check

Conversation

@yorickdewid

Copy link
Copy Markdown
Contributor

A sample records what a report observed, and plenty of reports observe an address without ever establishing its foundation type. Treating a missing foundationType as an incomplete dossier was wrong on the facts, and it showed up in two places.

Controle (step 3)InquiryStep3.vue

  • Amber callout "N adressen missen een funderingstype" / "Zonder funderingstype werkt het adres niet door in de kaart en de producten" — removed, along with the withoutFoundationType computed behind it.
  • The same sentence repeated in the "Aanbieden ter review?" confirm dialog — removed.
  • isClean no longer requires a foundation type, so a dossier of otherwise-complete samples now gets the green "Klaar om aan te bieden" callout instead of a false warning. Its wording lost the "hebben een funderingstype" clause.

Dossier viewInquiryView.vue

  • The blocker line "N van de N adressen mist een funderingstype. Zodra dat gevuld is kan het dossier ter controle." — removed. It now falls through to the generic pipeline sentence. The blocker still names the two real facts: no addresses at all, and addresses that are completely empty.

The "· N met funderingstype" stat stays — that is a count, not a complaint, so completeness.withFoundationType is still computed.

pnpm type-check clean. No behaviour change beyond the removed warnings; nothing gated submission before, so nothing is newly unblocked.

🤖 Generated with Claude Code

A sample records what a report observed, and plenty of reports observe an
address without ever establishing its foundation type. Treating that as an
incomplete dossier was wrong on the facts, and it showed up twice:

- Controle (step 3): an amber callout claiming the address "werkt niet door
  in de kaart en de producten", plus the same sentence repeated in the
  submit confirm dialog. Both gone; `isClean` no longer requires a
  foundation type, so these dossiers now get the green "klaar om aan te
  bieden" callout they always deserved.
- Dossier view: a `blocker` telling people the dossier could not go to
  review until the field was filled. Gone; it now falls through to the
  generic pipeline sentence.

The "N met funderingstype" stat on the dossier view stays — that is a count,
not a complaint.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@yorickdewid
yorickdewid merged commit a9f0ab3 into main Jul 28, 2026
1 check passed
@yorickdewid
yorickdewid deleted the fix/drop-foundation-type-check branch July 28, 2026 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant