Agree an overall commission at approval, seeded from the market

FeatureSecurityService
Ya
4 Agosti 2026, 23:02 UTC
Mwandishi
Kamo
Ahadi ya
c07fac6

The approver now records what the organization pays on the sale to the requesting agent and their group. Omit it on approve and the lead's market default applies — that is what makes the market setting a default rather than a suggestion only the UI honours. applyCommission sets the three fields together and never merges them field-wise with what is stored. Merging looks harmless and is not: an edit carrying only a share type would flip a stored 15 from fifteen percent to fifteen dollars, re-denominating a payout nobody meant to touch. An invalid or half-configured market default is logged and ignored rather than thrown. A default is convenience, not law, and one saved through some other path with a nonsense figure must not turn into an unapprovable-market outage — the approver can still type a commission in, and approving without one is legitimate. clearCommission is honoured ahead of everything, including the market default: an approver who deletes a prefilled figure has made a decision, and quietly putting it back would reverse it. 49 tests, including the clear paths, the merge guard, and both bad-default cases.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei