diff --git a/app/api/artwork.py b/app/api/artwork.py index 4941a03..9db788a 100644 --- a/app/api/artwork.py +++ b/app/api/artwork.py @@ -10,7 +10,7 @@ from fastapi import APIRouter, Depends, HTTPException from ..core import db from .. import proof from ..artwork import submit_files -from ..core.auth import can, operator +from ..core.auth import can, can_any, operator from ..core.models import ArtworkSubmission, UploadStart from ..runtime import file_rows, operator_identity from .uploads import begin_upload, cancel_upload, complete_upload, part_url, upload_status @@ -38,15 +38,15 @@ def final_status(uid: UUID, user=Depends(operator)): # The parts of an upload its operator started: a final (produce) or the # photo of a signed pickup receipt (deliver, which includes produce). @router.post('/api/operator/uploads/{uid}/parts/{number}') -def final_part(uid: UUID, number: int, user=Depends(can('deliver'))): +def final_part(uid: UUID, number: int, user=Depends(can_any('deliver', 'assemble'))): return part_url(uid,number,session_id=operator_identity(user)) @router.post('/api/operator/uploads/{uid}/complete') -def final_complete(uid: UUID, user=Depends(can('deliver'))): +def final_complete(uid: UUID, user=Depends(can_any('deliver', 'assemble'))): return complete_upload(uid,session_id=operator_identity(user)) @router.delete('/api/operator/uploads/{uid}') -def final_cancel(uid: UUID, user=Depends(can('deliver'))): +def final_cancel(uid: UUID, user=Depends(can_any('deliver', 'assemble'))): return cancel_upload(uid,session_id=operator_identity(user)) @router.get('/api/operator/orders/{oid}/files') diff --git a/app/api/stamps.py b/app/api/stamps.py index 9a45ba2..91b1754 100644 --- a/app/api/stamps.py +++ b/app/api/stamps.py @@ -1,9 +1,17 @@ -"""The montador's stamp sizes (Fase 2, front 7): Gestão edits the table.""" -from fastapi import APIRouter, Depends +"""The montador's stamp sizes and its invoiced orders (Fase 2, front 7).""" +import hashlib +import json +from uuid import uuid4 +from fastapi import APIRouter, Depends, HTTPException, Request +from psycopg.types.json import Jsonb + +from .. import payments, quote_review from ..core import db from ..core.auth import audit, can -from ..core.models import StampSizeTable +from ..core.models import Freight, MontadorOrder, QuoteRequest, StampSizeTable, UploadStart +from ..runtime import operator_identity +from .uploads import begin_upload router = APIRouter() @@ -19,7 +27,44 @@ def stamp_sizes(user=Depends(can('assemble'))): def save_stamp_sizes(body: StampSizeTable, user=Depends(can('manage'))): with db.connect() as c: c.execute('DELETE FROM dtf_local.stamp_sizes') - c.cursor().executemany('INSERT INTO dtf_local.stamp_sizes(letter,width_cm,updated_by) VALUES(%s,%s,%s)', + c.executemany('INSERT INTO dtf_local.stamp_sizes(letter,width_cm,updated_by) VALUES(%s,%s,%s)', [(row.letter, row.width_cm, user) for row in body.sizes]) audit('stamp_sizes_changed', operator=user, sizes=len(body.sizes)) return {'ok': True} + + +@router.post('/api/operator/montador/uploads') +def montador_upload(body: UploadStart, user=Depends(can('assemble'))): + if not body.name.lower().endswith('.png'): + raise HTTPException(422, 'A estampa precisa ser um PNG.') + return begin_upload(body, session_id=operator_identity(user)) + + +@router.post('/api/operator/montador/orders') +def montador_order(body: MontadorOrder, request: Request, user=Depends(can('assemble'))): + """The order a montador sheet becomes, already invoiced (front 7a.2b): + typed customer, pickup, the Site's table price, and held out of Tiny until + Dropstar decides how it is invoiced there.""" + origin = 'dropflow' if request.state.operator['role'] == 'expedicao' else 'atendimento' + draft = QuoteRequest(request_key=body.request_key, customer=body.customer, items=body.items, + freight=Freight(service='pickup')).model_dump(mode='json', exclude={'request_key'}) + digest = hashlib.sha256(json.dumps(draft, sort_keys=True).encode()).hexdigest() + owner = operator_identity(user) + with db.connect() as c: + c.execute('''INSERT INTO dtf_local.quotes(id,owner,request_key,request_hash,draft) + VALUES(%s,%s,%s,%s,%s) ON CONFLICT(owner,request_key) DO NOTHING''', + (uuid4(), owner, body.request_key, digest, Jsonb(draft))) + quote = c.execute('SELECT * FROM dtf_local.quotes WHERE owner=%s AND request_key=%s FOR UPDATE', + (owner, body.request_key)).fetchone() + if quote['request_hash'] != digest: + raise HTTPException(409, 'A montagem mudou durante o envio. Tente de novo.') + if not quote['approved']: + quote_review.approve(c, quote, body.items, user) + quote = c.execute('SELECT * FROM dtf_local.quotes WHERE id=%s', (quote['id'],)).fetchone() + receipt = {'provider': payments.MANUAL_PROVIDER, 'method': payments.INVOICED_METHOD, 'note': '', + 'status': 'paid', 'total_cents': quote['approved']['total_cents'], 'operator': user} + order, created = payments.create_order(c, quote, receipt, origin) + if not created: + raise HTTPException(409, f"Esta montagem já virou o pedido #{order['number']}.") + audit('montador_order_created', order=str(order['id']), origin=origin, operator=user) + return order diff --git a/app/core/auth.py b/app/core/auth.py index bf54c05..5ce4c6c 100644 --- a/app/core/auth.py +++ b/app/core/auth.py @@ -241,4 +241,15 @@ def can(capability): return check +def can_any(*capabilities): + """A dependency that lets through a profile with any of these capabilities, + and returns the operator's e-mail, as the routes record it.""" + def check(request: Request): + account = signed_in(request) + if not any(account['role'] in CAPABILITIES[capability] for capability in capabilities): + raise HTTPException(403, 'Seu perfil não permite esta ação.') + return account['email'] + return check + + operator = can('view') diff --git a/app/core/models.py b/app/core/models.py index 0335383..cf80034 100644 --- a/app/core/models.py +++ b/app/core/models.py @@ -286,6 +286,19 @@ class QuoteRequest(StrictModel): raise ValueError('The delivery address CEP must be the CEP freight was quoted for') return self +class MontadorOrder(StrictModel): + """What the montador sends (front 7a.2b): the typed customer, pickup only + and loose artwork only; the server prices and approves it as a quote.""" + request_key: UUID + customer: Customer + items: list[Item] = Field(min_length=1, max_length=30) + + @model_validator(mode='after') + def loose_art_only(self): + if any(item.mode != 'avulsa' for item in self.items): + raise ValueError('O montador só monta artes avulsas.') + return self + class Review(StrictModel): items: list[Item] = Field(min_length=1, max_length=30) diff --git a/app/payments.py b/app/payments.py index 0fa1aec..ff182c3 100644 --- a/app/payments.py +++ b/app/payments.py @@ -60,12 +60,19 @@ def is_test(order): # (Dropstar's rule D-35, 2026-10-26; the user's answers of 2026-10-27). MANUAL_PROVIDER = 'manual' OUTSIDE_METHODS = ('pix', 'card', 'cash', 'credit') +# A montador order is invoiced, not paid at the counter: it is not one of the +# Cotações "registrar" methods. +INVOICED_METHOD = 'faturado' def in_tiny(order): """Whether the order goes to Tiny: every order but a test or a proof card (app/proof.py), which is no sale. A Dropflow order goes in its own revenue category (app/tiny.py, CATEGORIES).""" + if (order.get('payment') or {}).get('method') == INVOICED_METHOD: + # Held until Dropstar decides how invoiced montador orders reach Tiny + # (asked 2026-11-09). + return False return not is_test(order) and not order.get('parent_id') @@ -146,7 +153,10 @@ def create_order(c, quote, payment, origin): proof.create_child(c, order) if is_test(order): return order, True - mail.order_paid(c, order, PUBLIC_ORIGIN) + # An invoiced montador order was not paid: no "pedido pago" e-mail until + # Dropstar says what the customer hears (asked 2026-11-09). + if payment.get('method') != INVOICED_METHOD: + mail.order_paid(c, order, PUBLIC_ORIGIN) if not in_tiny(order): return order, True # How it was paid, for the order's payment in Tiny. diff --git a/tests/stamps_test.py b/tests/stamps_test.py index 61277ed..a17197a 100644 --- a/tests/stamps_test.py +++ b/tests/stamps_test.py @@ -1,13 +1,19 @@ -"""The montador's stamp sizes: Expedição reads them and Gestão edits them. +"""The montador: stamp sizes, and the invoiced order a sheet becomes. Run against the local stack: python -m tests.stamps_test """ import secrets +import time +from pathlib import Path +from urllib.request import Request, urlopen +from uuid import UUID, uuid4 from app.core import db +from app.runtime import operator_identity from tests.smoke_test import Client PASSWORD = 'senha-de-teste-123' +PNG = (Path(__file__).resolve().parent / 'fixtures' / 'final-300.png').read_bytes() def signed_in(email, password=PASSWORD): @@ -17,6 +23,38 @@ def signed_in(email, password=PASSWORD): return client +def upload_stamp(client, name='LOCAL-ESTAMP.png'): + start = client.call('/operator/montador/uploads', {'name': name, 'size': len(PNG)}) + uid = start['id'] + url = client.call(f'/operator/uploads/{uid}/parts/1', {})['url'] + with urlopen(Request(url, data=PNG, method='PUT'), timeout=30) as response: + assert response.status == 200 + client.call(f'/operator/uploads/{uid}/complete', {}) + deadline = time.monotonic() + 150 + while client.call(f'/operator/uploads/{uid}')['scan_state'] != 'clean': + assert time.monotonic() < deadline, 'stamp scan did not finish' + time.sleep(0.5) + return uid + + +def montador_item(uid, mode='avulsa'): + """One source, 3 copies in a row: a valid Item for the montador route.""" + sheet = mode == 'file' + height = 1.75 if sheet else 1.25 + return { + 'mode': mode, 'metres': height / 100, 'grade': 100, 'uploads': [uid], + 'production': { + 'version': 3, 'film_width_cm': 57, 'height_cm': height, + 'sources': [{'upload_id': uid, 'kind': 'sheet' if sheet else 'artwork', + 'width_cm': 0.5, 'length_cm': 0.25, 'copies': 3, + 'rotation_degrees': 0, 'mirrored': False, 'measurement': 'file'}], + 'placements': [{'source_index': 0, 'copy_index': copy, + 'x_cm': 0 if sheet else 0.5 + copy * 0.5, 'y_cm': 0.5 + copy * 0.5, + 'width_cm': 0.5, 'length_cm': 0.25, + 'rotation_degrees': 0, 'mirrored': False} for copy in range(3)]}, + 'quality_status': 'ok', 'quality_acknowledged': False, 'residue_accepted': 0} + + def run(): tag = secrets.token_hex(3) su = Client() @@ -26,6 +64,10 @@ def run(): original = c.execute('SELECT letter,width_cm FROM dtf_local.stamp_sizes ORDER BY width_cm, letter').fetchall() emails = {role: f'{role}-{tag}@example.test' for role in ('expedicao', 'designer', 'gestao')} table = [(row['letter'], float(row['width_cm'])) for row in original] + customer = {'name': 'Cliente Montador', 'cnpj': '11222333000181', 'zap': '16999999999', + 'mail': f'montador-{tag}@example.test'} + identity = operator_identity(emails['expedicao']) + made_orders, made_quotes = [], [] try: for role, email in emails.items(): su.call('/operator/users', {'name': role.title(), 'email': email, 'role': role, @@ -59,9 +101,46 @@ def run(): expected=403) read = manager.call('/operator/stamp-sizes')['sizes'] assert [(row['letter'], float(row['width_cm'])) for row in read] == [('A', 20), ('B', 24.5), ('D', 30)], read - print('PASS: Expedição reads the montador size table; Gestão replaces it; invalid rows are refused') + + # The montador's order: the stamp upload, then the invoiced card in rec. + stamp = upload_stamp(shipping) + request_key = uuid4() + body = {'request_key': str(request_key), 'customer': customer, + 'items': [montador_item(stamp)]} + order = shipping.call('/operator/montador/orders', body) + made_orders.append(UUID(order['id'])) + made_quotes.append(UUID(order['quote_id'])) + assert order['state'] == 'rec' and order['origin'] == 'dropflow', order + payment = order['payment'] + assert (payment['provider'], payment['method'], payment['status']) == ('manual', 'faturado', 'paid'), payment + assert payment['total_cents'] == order['snapshot']['total_cents'], payment + with db.connect() as c: + assert c.execute('SELECT 1 FROM dtf_local.print_files WHERE order_id=%s', + (UUID(order['id']),)).fetchone() + assert not c.execute('SELECT 1 FROM dtf_local.outbox WHERE event_key=%s', + (f"{order['id']}:paid:tiny",)).fetchone() + # The same montagem cannot become a second order. + refused = shipping.call('/operator/montador/orders', body, expected=409) + assert refused['detail'] == f"Esta montagem já virou o pedido #{order['number']}.", refused + # A designer does not use the montador, and only loose art becomes one. + designer.call('/operator/montador/uploads', {'name': 'ESTAMPA.png', 'size': 1}, expected=403) + designer.call('/operator/montador/orders', body, expected=403) + shipping.call('/operator/montador/orders', {'request_key': str(uuid4()), 'customer': customer, + 'items': [montador_item(stamp, 'file')]}, expected=422) + print('PASS: Expedição reads the sizes, uploads a stamp and gets the invoiced montador card; ' + 'Gestão edits the table; invalid rows, profiles and modes are refused') finally: with db.connect() as c: + for oid in made_orders: + c.execute('DELETE FROM dtf_local.print_files WHERE order_id=%s', (oid,)) + c.execute('DELETE FROM dtf_local.order_files WHERE order_id=%s', (oid,)) + c.execute('DELETE FROM dtf_local.movements WHERE order_id=%s', (oid,)) + c.execute('DELETE FROM dtf_local.contact_waits WHERE order_id=%s', (oid,)) + c.execute('DELETE FROM dtf_local.orders WHERE id=%s', (oid,)) + if made_quotes: + c.execute('DELETE FROM dtf_local.quotes WHERE id=ANY(%s)', (made_quotes,)) + c.execute('DELETE FROM dtf_local.mail_queue WHERE to_addr=%s', (customer['mail'],)) + c.execute('DELETE FROM dtf_local.uploads WHERE owner=%s', (identity,)) c.execute('DELETE FROM dtf_local.stamp_sizes') c.cursor().executemany('INSERT INTO dtf_local.stamp_sizes(letter,width_cm) VALUES(%s,%s)', table) c.execute('DELETE FROM dtf_local.operators WHERE email LIKE %s', (f'%-{tag}@example.test',)) diff --git a/tests/test_moves.py b/tests/test_moves.py index e0eea62..f2cc637 100644 --- a/tests/test_moves.py +++ b/tests/test_moves.py @@ -1,6 +1,9 @@ """Who moves which card on the Kanban: Dropstar's flow of 2026-10-23.""" import unittest +from unittest import mock +from app import payments +from app.core import auth from app.core.auth import CAPABILITIES, ROLES, may_move, may_reorder from app.runtime import BACK, STATES, TRANSITIONS @@ -60,5 +63,29 @@ class MovesTest(unittest.TestCase): self.assertTrue(all(may_reorder('gestao', s) for s in STATES)) +class CanAnyTest(unittest.TestCase): + def test_a_profile_with_any_of_the_capabilities_gets_through(self): + # The montador's stamp uploads: deliver or assemble (Fase 2, front 7). + for role, allowed in (('operador', True), ('expedicao', True), ('vendedor', True), + ('designer', True), ('financeiro', False)): + with mock.patch.object(auth, 'signed_in', + return_value={'role': role, 'email': role + '@example.test'}): + route = auth.can_any('deliver', 'assemble') + if allowed: + self.assertEqual(route(None), role + '@example.test') + else: + with self.assertRaises(auth.HTTPException): + route(None) + + +class InvoicedOrderTest(unittest.TestCase): + def test_an_invoiced_montador_order_is_held_out_of_tiny(self): + self.assertEqual(payments.INVOICED_METHOD, 'faturado') + # It is not one of the Cotações "registrar" methods. + self.assertNotIn(payments.INVOICED_METHOD, payments.OUTSIDE_METHODS) + self.assertFalse(payments.in_tiny({'payment': {'provider': 'manual', 'method': 'faturado'}})) + self.assertTrue(payments.in_tiny({'payment': {'provider': 'manual', 'method': 'pix'}})) + + if __name__ == '__main__': unittest.main() diff --git a/web/kanban-montador.js b/web/kanban-montador.js index ab9ff13..9ab4e73 100644 --- a/web/kanban-montador.js +++ b/web/kanban-montador.js @@ -8,7 +8,7 @@ const MONTAR_CODE=/^[A-Za-z0-9_-]{1,40}$/; const MONTAR_DPI_REFUSE=96, MONTAR_DPI_WARN=200; const MONTAR_FILM_CM=57, MONTAR_GAP_CM=0.5; const MONTAR={sizes:[],lines:[],seq:0,preview:null,timer:null,dirty:false,token:0, - layout:null,layoutTimer:null,layoutToken:0,layoutPending:false}; + layout:null,layoutTimer:null,layoutToken:0,layoutPending:false,creating:false,requestKey:null}; const montarFolderReady=()=>!!FOLDER.handle&&!!FOLDER.granted; const montarDpi=found=>found.width/(found.widthCm/2.54); @@ -113,6 +113,7 @@ function montarPaintTotals(){ $('montar-count').textContent=MONTAR.lines.length?plural(MONTAR.lines.length,'estampa','estampas'):''; $('montar-clear').disabled=!MONTAR.lines.length; $('montar-warning').hidden=!(MONTAR.lines.length>20||MONTAR.lines.some(line=>line.qty>200)); + montarPaintActions(); } // The line's image, loaded once and kept for the packing and the preview. function montarStampImage(url){ @@ -127,6 +128,7 @@ function montarChanged(){ MONTAR.layoutToken+=1; MONTAR.layout=null; MONTAR.layoutPending=true; + MONTAR.requestKey=null; montarPaintLines(); if(!MONTAR.lines.length)montarDrawPreview(null); clearTimeout(MONTAR.layoutTimer); @@ -186,6 +188,100 @@ function montarDrawPreview(layout){ ctx.restore(); } } +// ---- Criar o pedido ------------------------------------------------------- +// The typed customer, as the Site's own Customer model validates it. +const MONTAR_CUSTOMER=['montar-name','montar-doc','montar-zap','montar-mail']; +function montarCustomer(){ + return {name:$('montar-name').value.trim(),cnpj:$('montar-doc').value.trim(), + zap:$('montar-zap').value.trim(),mail:$('montar-mail').value.trim()}; +} +const montarCustomerFilled=()=>MONTAR_CUSTOMER.every(id=>$(id).value.trim()); +function montarClearCustomer(){ + for(const id of MONTAR_CUSTOMER)$(id).value=''; + MONTAR.requestKey=null; +} +// Montar is the real thing now: a sheet, its layout and the customer. +function montarPaintActions(){ + const build=$('montar-build'); + const ready=!!(MONTAR.lines.length&&MONTAR.layout&&!MONTAR.layoutPending&& + montarCustomerFilled()&&!MONTAR.creating); + build.disabled=!ready; + build.title=ready?'':(MONTAR.lines.length?'Aguarde a montagem e preencha o cliente.':'Monte a folha primeiro.'); +} +// The Site's grade for loose art (web/site-quality.js): each stamp's DPI over +// the ideal 200, from 6 to 100; the item's is the average of its stamps'. +const montarGrade=dpi=>Math.max(6,Math.min(100,Math.round(dpi/200*100))); +function montarItem(sources){ + const cargas=[]; + sources.forEach((source,sourceIndex)=>{ + for(let copyIndex=0;copyIndexmontarGrade(source.line.dpi)); + const warning=sources.some(source=>source.line.dpisum+n,0)/grades.length), + uploads:sources.map(source=>source.uploadId), + production:{version:3,film_width_cm:MONTAR_FILM_CM,height_cm:height, + sources:sources.map(source=>({upload_id:source.uploadId,kind:'artwork', + width_cm:source.line.widthCm,length_cm:+source.line.heightCm.toFixed(4), + copies:source.copies,rotation_degrees:0,mirrored:false,measurement:'file'})), + placements:placementsDe(enc.pos)}, + quality_status:warning?'warning':'ok',quality_acknowledged:warning,residue_accepted:0}; +} +// 20 sources and 4000 copies per item; a stamp above 200 copies becomes +// several sources of the same upload, 200 each; items in list order. +function montarItems(lines,uploads){ + const pool=[]; + for(const line of lines){ + const uploadId=uploads.get(line.id); + for(let left=line.qty;left>0;left-=200) + pool.push({line,uploadId,copies:Math.min(200,left)}); + } + const groups=[];let current=null; + for(const source of pool){ + if(!current||current.sources.length>=20||current.copies+source.copies>4000){ + current={sources:[],copies:0};groups.push(current); + } + current.sources.push(source);current.copies+=source.copies; + } + return groups.map(group=>montarItem(group.sources)); +} +async function montarCreate(){ + if(MONTAR.creating)return; + const customer=montarCustomer(); + if(!montarCustomerFilled())return say('Preencha os dados do cliente.',true); + if(!MONTAR.lines.length)return say('Monte a folha primeiro.',true); + if(!MONTAR.layout||MONTAR.layoutPending)return say('A montagem ainda está sendo calculada.',true); + const lines=[...MONTAR.lines]; + if(!await ask('Criar pedido','Criar o pedido com '+plural(lines.reduce((t,line)=>t+line.qty,0),'estampa','estampas')+ + ', '+metres(MONTAR.layout.altura/100)+', para '+customer.name+'?','Criar pedido'))return; + MONTAR.creating=true;montarPaintActions(); + try{ + const uploads=new Map(); + for(let index=0;index{}); + }catch(e){say(e.message,true);} + finally{MONTAR.creating=false;montarPaintActions();} +} + function montarLine(line){ const row=node('div',undefined,'montar-line'); const img=node('img',undefined,'montar-thumb');img.src=line.url;img.alt=''; @@ -330,7 +426,8 @@ $('montar-add').onclick=async()=>{ try{await montarAdd();}catch(e){say(e.message,true);}finally{$('montar-add').disabled=false;} }; $('montar-clear').onclick=()=>montarClear(); -$('montar-build').title='Em breve'; +$('montar-build').onclick=()=>montarCreate(); +for(const id of MONTAR_CUSTOMER)$(id).addEventListener('input',()=>{MONTAR.requestKey=null;montarPaintActions();}); $('montar-size-add').onclick=()=>{MONTAR.dirty=true;$('montar-sizes').append(montarSizeRow(null));}; $('montar-size-save').onclick=async()=>{ $('montar-size-save').disabled=true; diff --git a/web/kanban.css b/web/kanban.css index f451a6e..0fce47d 100644 --- a/web/kanban.css +++ b/web/kanban.css @@ -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} diff --git a/web/kanban.html b/web/kanban.html index 96b52e4..a898843 100644 --- a/web/kanban.html +++ b/web/kanban.html @@ -132,9 +132,18 @@

Folha

+
+

Cliente

+
+ + + + +
+
- +