Persist a market's quote-contact rule, and refuse a half-stated one

Featurekamo-shared-library
Shipped
September 2, 2026 at 2:24 AM UTC
Author
Kamo
Commit
b41eee0

The DTOs carried quoteContactMode and quoteContactMemberId but no writer read them, so the setting round-tripped through the form and was silently dropped. Both the create and update paths now apply it. The member is kept only under EXPLICIT and cleared otherwise, so a market that switches back does not leave a person behind to be reinstated by a later flip, and EXPLICIT naming nobody is rejected rather than quietly downgraded — the quiet version prints a different name on the next quote than whoever saved the form expected. The lookup is org-scoped: Member ids are globally unique, so an unscoped one would let a tenant name another tenant's staff on its own document.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing