feat: Montar creates the invoiced order card (front 7a.2b)

The montador sends each stamp to storage, splits the list into items of
at most 20 sources and 4000 copies, packs each one with the Site's engine
and creates the order in Arte recebida: typed customer, pickup, the Site's
table price, payment 'faturado', origin dropflow for Expedição and
atendimento otherwise. Until Dropstar decides, these orders do not go to
Tiny and the customer gets no paid e-mail. Vendedor and Expedição may now
upload through the operator upload routes (can_any).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Cauê Faleiros
2026-11-09 15:27:04 -03:00
parent 8993eb25db
commit 2c80de0c0a
11 changed files with 312 additions and 15 deletions

View File

@@ -1261,6 +1261,10 @@ dialog.viewer::backdrop{background:var(--scrim)}
#tab-montar .montar-dpi{display:flex;justify-content:flex-end}
#tab-montar .montar-height{font-size:13px;color:var(--tx2);text-align:right;white-space:nowrap}
#tab-montar #montar-lines .emptystate{padding:28px 18px}
#tab-montar .montar-customer{border-top:1px solid var(--ln);padding:14px 18px}
#tab-montar .montar-customer h3{margin:0 0 10px;font-size:13px;font-weight:650;color:var(--tx2)}
#tab-montar .montar-customer-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
@media (max-width:1100px){#tab-montar .montar-customer-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
#tab-montar .montar-actions{display:flex;justify-content:flex-end;gap:10px;padding:12px 18px;border-top:1px solid var(--ln)}
#tab-montar .montar-warn{margin:0;padding:10px 18px;border-bottom:1px solid var(--ln);font-size:13px;font-weight:600;color:var(--warn)}
#tab-montar .montar-layout{height:340px;overflow:auto;scrollbar-gutter:stable;border-top:1px solid var(--ln);background:var(--sf2);padding:12px}
@@ -1283,6 +1287,8 @@ dialog.viewer::backdrop{background:var(--scrim)}
#tab-montar .montar-line>.btn{grid-area:remove}
#tab-montar .montar-actions{flex-wrap:wrap;padding:12px 14px}
#tab-montar .montar-actions .btn{flex:1}
#tab-montar .montar-customer{padding:12px 14px}
#tab-montar .montar-customer-fields{grid-template-columns:minmax(0,1fr)}
#tab-montar .montar-warn{padding:10px 14px}
#tab-montar .montar-layout{height:260px;padding:8px}
#tab-montar .montar-size-head,#tab-montar .montar-size-row{grid-template-columns:70px minmax(0,1fr) 36px;padding:6px 14px}