feat: expired quotes leave the Kanban, and the buyer's name comes before the e-mail
All checks were successful
Build and deploy / Validate source (push) Successful in 7s
Build and deploy / Integration suite on a real stack (push) Successful in 2m42s
Build and deploy / Secret scan and release gate (push) Successful in 5s
Build and deploy / Publish images (push) Successful in 57s

A quote approved more than QUOTE_VALID_HOURS ago can never be paid; it no
longer shows in Cotações, its count or the search. Wherever a customer is
shown, the name comes first (the customer's, else whoever receives the
delivery) with the e-mail under it; with no name, the e-mail alone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Cauê Faleiros
2026-10-02 11:31:50 -03:00
parent 7a908060fc
commit 1fb2e5d55a
3 changed files with 39 additions and 14 deletions

View File

@@ -280,7 +280,8 @@ a.zap{display:inline-flex;align-items:center;gap:4px;vertical-align:bottom}
/* Quote rows */
.qitem .qmain{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
.qhead{display:flex;align-items:center;gap:8px;min-width:0}
.qmail{font-size:14.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.qmail{min-width:0}
.qmail b{display:block;font-size:14.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.qtotal{margin-left:auto;font-size:15px;flex-shrink:0}
.qtotal.muted{font-size:13px;font-weight:600}
.newdot{width:7px;height:7px;flex-shrink:0;border-radius:999px;background:var(--accent)}
@@ -329,3 +330,10 @@ a.zap{display:inline-flex;align-items:center;gap:4px;vertical-align:bottom}
.timeline small{flex-shrink:0;color:var(--faint);font-size:13px}
/* Without a picture, a long sheet's layout drawing stays a preview, not a column. */
.item .preview:not(.with-art) svg{width:auto;max-width:100%;max-height:260px;margin:0 auto}
/* The buyer: a name over the e-mail, or the e-mail alone. */
.buyer{display:flex;flex-direction:column;min-width:0}
.buyer b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.buyer-mail{font-size:12.5px;color:var(--faint);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card .buyer b{font-size:14px;font-weight:600}
.qname .buyer b{font-size:19px}