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

@@ -132,9 +132,18 @@
<div class="phead"><h2>Folha</h2><span class="n" id="montar-count"></span><b class="montar-total" id="montar-total"></b></div>
<div id="montar-lines"></div>
<div id="montar-layout" class="montar-layout" hidden><canvas id="montar-canvas"></canvas></div>
<div class="montar-customer">
<h3>Cliente</h3>
<div class="montar-customer-fields">
<label class="fld"><span>Nome</span><input id="montar-name" maxlength="80" autocomplete="off" placeholder="Como devemos chamar"></label>
<label class="fld"><span>CPF ou CNPJ</span><input id="montar-doc" inputmode="numeric" maxlength="18" autocomplete="off" placeholder="CPF ou CNPJ"></label>
<label class="fld"><span>WhatsApp</span><input id="montar-zap" inputmode="numeric" maxlength="15" autocomplete="off" placeholder="(16) 99999-9999"></label>
<label class="fld"><span>E-mail</span><input id="montar-mail" type="email" maxlength="254" autocomplete="off" placeholder="voce@empresa.com.br"></label>
</div>
</div>
<div class="montar-actions">
<button class="btn ghost" id="montar-clear" type="button">Limpar lista</button>
<button class="btn pri" id="montar-build" type="button" disabled title="Em breve">Montar</button>
<button class="btn pri" id="montar-build" type="button" disabled>Montar</button>
</div>
</section>
<section class="panel clip" id="montar-sizes-panel" hidden>