feat: the art grade becomes configurable, off by default (front 8.5)

Gestão sets in the Site tab below which grade the designer is warned and
below which the designer treatment is required (only while it is offered).
The decision is stored with the approved quote, so a later change never
rewrites old orders; the card shows 'Nota N: conferir a arte', the Site
forces the treatment box with the reason. With no rule nothing changes.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Cauê Faleiros
2026-11-09 16:13:30 -03:00
parent 1d0353fe54
commit 272755d2bc
16 changed files with 338 additions and 13 deletions

View File

@@ -672,6 +672,12 @@ label.fopt{cursor:pointer;user-select:none}
#tab-site .siteCouponActions{display:flex;gap:8px;flex-wrap:wrap}
#tab-site .siteCouponActions .btn{height:32px;padding:0 10px;font-size:12.5px}
#tab-site .siteCouponNote{margin:0;font-size:13px;color:var(--tx2)}
#tab-site .siteGradeBody{display:flex;flex-direction:column;gap:14px;padding:16px 18px}
#tab-site .siteGradeRow{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
#tab-site .siteGradeField{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--tx2)}
#tab-site .siteGradeNumber{width:80px;height:38px;padding:0 10px;border-radius:8px;border:1px solid var(--ln2);background:var(--sf);color:var(--tx);font-size:14px;font-family:inherit}
#tab-site .siteGradeWarn{margin:0;font-size:12.5px;font-weight:600;color:var(--warn)}
#tab-site .siteGradeSave{display:flex;gap:8px}
#tab-site .siteHistory .table{font-size:13px}
#tab-site .siteHistory .table th,#tab-site .siteHistory .table td{padding:8px 12px}
.page>*{flex-shrink:0}