feat: Expedição profile, stamp sizes and the Montar folha screen (front 7a.1)
The new Expedição profile and the seller may assemble sheets (capability assemble). Gestão edits the size table (letter and width). The Montar tab reads Estampas/<code>-<size>.png or <code>.png from the orders folder, checks the resolution with the Site's 96/200 DPI ruler, merges repeated lines and estimates the metres. Montar itself is slice 2. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -38,6 +38,7 @@
|
||||
<svg class="mark" viewBox="0 0 40 40" role="img" aria-label="Kanban DTF"><path d="M8 5h24a2 2 0 0 1 2 2v19l-9 9H8a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2z" fill="currentColor"></path><path class="cut" d="M16 9v22 M24 9v14" fill="none" stroke-width="2"></path><path d="M34 26l-9 9v-7a2 2 0 0 1 2-2z" fill="var(--acc)"></path></svg>
|
||||
<button class="nav" type="button" data-tab="board" aria-selected="true"><svg class="i" viewBox="0 0 20 20" aria-hidden="true"><path d="M3 3.75h4v12.5H3z M8 3.75h4v8.5H8z M13 3.75h4v10.5h-4z"></path></svg><span>Produção</span></button>
|
||||
<button class="nav" type="button" data-tab="quotes" aria-selected="false"><svg class="i" viewBox="0 0 20 20" aria-hidden="true"><path d="M5 2.75h7l3 3v11.5H5z M12 2.75v3h3 M7.5 9.5h5 M7.5 12.5h5 M7.5 15h3"></path></svg><span>Cotações</span><span class="pip" id="badge-quotes"></span></button>
|
||||
<button class="nav" type="button" data-tab="montar" aria-selected="false" hidden><svg class="i" viewBox="0 0 20 20" aria-hidden="true"><path d="M10 2.75l7 3.5-7 3.5-7-3.5z M3 10l7 3.5 7-3.5 M3 13.5L10 17l7-3.5"></path></svg><span>Montar</span></button>
|
||||
<button class="nav" type="button" data-tab="payments" aria-selected="false"><svg class="i" viewBox="0 0 20 20" aria-hidden="true"><path d="M2.75 5h14.5v10H2.75z M2.75 8.25h14.5 M5.5 12.25h3"></path></svg><span>Pagamentos</span><span class="pip" id="badge-payments"></span></button>
|
||||
<button class="nav" type="button" data-tab="stats" aria-selected="false"><svg class="i" viewBox="0 0 20 20" aria-hidden="true"><path d="M3 16.75h14 M4.75 14V9.5 M8.5 14V4.5 M12.25 14V7.5 M16 14v-3.5"></path></svg><span>Números</span></button>
|
||||
<button class="nav" type="button" data-tab="integrations" aria-selected="false"><svg class="i" viewBox="0 0 20 20" aria-hidden="true"><path d="M8.5 6.5H6a3.25 3.25 0 0 0 0 6.5h2.5 M11.5 6.5H14a3.25 3.25 0 0 1 0 6.5h-2.5 M7 9.75h6"></path></svg><span>Integrações</span><span class="pip" id="badge-integrations" title="A pasta da fila precisa de atenção"></span></button>
|
||||
@@ -114,6 +115,35 @@
|
||||
<div class="review" id="reviews"></div>
|
||||
</div>
|
||||
</section>
|
||||
<section id="tab-montar" class="page" hidden>
|
||||
<section class="panel clip" id="montar-setup">
|
||||
<div class="phead"><h2>Estampas</h2><span class="n" id="montar-folder"></span></div>
|
||||
<p class="phint" id="montar-nofolder" hidden>Para ler as estampas, escolha a pasta dos pedidos em Integrações neste computador.</p>
|
||||
<div class="montar-add">
|
||||
<label class="fld"><span>Código</span><input id="montar-code" maxlength="40" autocomplete="off" spellcheck="false" placeholder="1001"></label>
|
||||
<label class="fld"><span>Tamanho</span><select id="montar-size"></select></label>
|
||||
<label class="fld"><span>Quantidade</span><input id="montar-qty" type="number" min="1" max="9999" step="1" value="1"></label>
|
||||
<button class="btn pri" id="montar-add" type="button">Adicionar</button>
|
||||
</div>
|
||||
<div class="montar-preview" id="montar-preview"></div>
|
||||
</section>
|
||||
<section class="panel clip" id="montar-sheet">
|
||||
<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 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>
|
||||
</div>
|
||||
</section>
|
||||
<section class="panel clip" id="montar-sizes-panel" hidden>
|
||||
<div class="phead"><h2>Tamanhos</h2><span class="n">Cada letra com a largura em centímetros.</span></div>
|
||||
<div id="montar-sizes" class="montar-sizes"></div>
|
||||
<div class="montar-actions">
|
||||
<button class="btn ghost" id="montar-size-add" type="button">Adicionar tamanho</button>
|
||||
<button class="btn pri" id="montar-size-save" type="button">Salvar</button>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
<section id="tab-payments" class="page" hidden>
|
||||
<section id="payments"></section>
|
||||
</section>
|
||||
@@ -188,4 +218,4 @@
|
||||
<div class="scrim" id="scrim"></div>
|
||||
<aside class="drawer" id="panel" aria-label="Pedido"></aside>
|
||||
</div>
|
||||
<script src="/upload.js"></script><script src="/kanban-viewer.js"></script><script src="/kanban.js"></script></body></html>
|
||||
<script src="/upload.js"></script><script src="/kanban-viewer.js"></script><script src="/kanban.js"></script><script src="/kanban-montador.js"></script></body></html>
|
||||
|
||||
Reference in New Issue
Block a user