Put the client's details on the document, read off the lead

Featurekamo-shared-library
Ya
4 Agosti 2026, 22:17 UTC
Mwandishi
Kamo
Ahadi ya
0580d55

Dropping the quote's own addressee fields left the document with nothing to say about the client: customerName only ever came from a linked Account, which lead-raised quotes do not have, so "Prepared for" printed blank. The addressee is now assembled from the lead — name, company, address, phone, email. It is a lookup rather than a join because the quote deliberately keeps only a soft leadId so the lead module stays independently deployable, so the controllers resolve it and pass the block in. A half-filled lead is the normal case, not the exception: leads arrive from vendors with whatever the source captured. The address collapses to one line and skips what is missing, so a lead holding only a city prints "London" rather than ", London, ". A lead that cannot be read yields no block rather than throwing — a quote whose lead was deleted should still render.

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