diff --git a/src/app/(app)/quotes/[id]/page.tsx b/src/app/(app)/quotes/[id]/page.tsx index b5c552c..4c921d3 100644 --- a/src/app/(app)/quotes/[id]/page.tsx +++ b/src/app/(app)/quotes/[id]/page.tsx @@ -1578,601 +1578,606 @@ export default function QuoteDetailPage({ params }: { params: Promise<{ id: stri )} -
{quote.expand?.customer?.customer || "—"}
- {quote.expand?.customer?.expand?.company && ( -{quote.expand.customer.expand.company.company}
- )} -{quote.expand?.company?.company || "—"}
-{quote.company_letterhead || "CNL"}
-{formatDate(quote.created)}
-- {claimerName || (quote.claimed_by.length > 12 ? `${quote.claimed_by.slice(0, 12)}…` : quote.claimed_by)} -
-Unclaimed
- )} -{quote.description}
-- Toggle the original email request above the items for line-by-line comparison. -
- -{quote.description}
+No items yet
-{item.description}
+{item.description}
-- No orders linked to this quote yet. They show up here - automatically when an order’s matcher picks this quote, - or when one is created from this quote via the menu. -
- )} -{quote.notes}
-- Templates don't carry a quote date or validity — those - are set on the real quote generated from this template. - Use the follow-up date below to remind yourself to issue - this template on a particular day. -
- ) : null} -- Date printed on the PDF. Defaults to today. -
-- Empty = 30 day default. Set 60 for 2 months, etc. -
- Dashboard flags this quote when overdue. -
-- Derived from the existing quote + email fields. Full audit trail - (with actor + per-field diffs) requires a new PB collection and - write hooks — tracked as a follow-up migration. -
-Delivered
-{quote.expand?.customer?.customer || "—"}
+ {quote.expand?.customer?.expand?.company && ( +{quote.expand.customer.expand.company.company}
)} - {quote.email_delivered ? "Yes" : "No"}Opened
-Company
+{quote.expand?.company?.company || "—"}
+Letterhead
+{quote.company_letterhead || "CNL"}
+Created
+{formatDate(quote.created)}
+Quote date
+{formatDate(quote.quote_date)}
+Sender
-{quote.email_sender || "—"}
-Subject
-{quote.email_subject || "—"}
-Claimed by
+ {quote.claimed_by ? ( ++ {claimerName || (quote.claimed_by.length > 12 ? `${quote.claimed_by.slice(0, 12)}…` : quote.claimed_by)} +
+Unclaimed
+ )} ++ No orders linked yet. They show up automatically when an order's matcher picks this quote, or when one is created from this quote via the menu. +
+ )} ++ Templates don't carry a quote date or validity — those + are set on the real quote generated from this template. + Use the follow-up date below to remind yourself to issue + this template on a particular day. +
+ ) : null} ++ Date printed on the PDF. Defaults to today. +
++ Empty = 30 day default. Set 60 for 2 months, etc. +
++ Dashboard flags this quote when overdue. +
++ Derived from the existing quote + email fields. Full audit trail + (with actor + per-field diffs) requires a new PB collection and + write hooks — tracked as a follow-up migration. +
+Delivered
+Opened
+Sender
+{quote.email_sender || "—"}
+Subject
+{quote.email_subject || "—"}
+