feat: drop a card on the machine it prints on; Pagamentos says who paid
All checks were successful
Build and deploy / Validate source (push) Successful in 5s
Build and deploy / Integration suite on a real stack (push) Successful in 3m38s
Build and deploy / Secret scan and release gate (push) Successful in 5s
Build and deploy / Publish images (push) Successful in 57s
All checks were successful
Build and deploy / Validate source (push) Successful in 5s
Build and deploy / Integration suite on a real stack (push) Successful in 3m38s
Build and deploy / Secret scan and release gate (push) Successful in 5s
Build and deploy / Publish images (push) Successful in 57s
- Imprimindo: every active machine has its lane, and a card dragged from the queue onto a lane goes to that machine (if it prints the product and has a place), instead of the one it came with. The operator's pull still goes to the machine they are on (item 12). - Pagamentos: each payment shows who tried to pay and what they were buying (the quote's customer and items, and its order if there is one); a click opens the customer's name, e-mail, CPF/CNPJ, WhatsApp and delivery, the quote, and Mercado Pago's id and status. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -251,6 +251,10 @@ main{padding:0}
|
||||
.card+.lanehead,.freeslot+.lanehead{margin-top:8px}
|
||||
.freeslot{display:flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:8px 14px;border:1.5px dashed var(--ln2);border-radius:11px;font-size:12.5px;color:var(--tx3);text-align:center}
|
||||
.freemark{width:10px;height:10px;flex:none;border-radius:2px;border:1.5px dashed var(--ln3)}
|
||||
/* Dragging into Imprimindo: the machine lane the card would drop on. */
|
||||
.lanehead.droplane,.lanehead.droplane b{color:var(--acc)}
|
||||
.freeslot.droplane{border-color:var(--acc);color:var(--acc);background:color-mix(in srgb,var(--acc) 6%,transparent)}
|
||||
.card.droplane{border-color:color-mix(in srgb,var(--acc) 50%,transparent)}
|
||||
|
||||
.card{display:flex;flex-direction:column;gap:10px;width:100%;padding:10px;border:1px solid var(--ln);border-radius:11px;background:var(--sf);text-align:left;color:inherit;transition:border-color .15s,transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s}
|
||||
.card:hover{border-color:var(--ln3);transform:translateY(-1px);box-shadow:var(--lift)}
|
||||
@@ -789,6 +793,20 @@ select.inp{appearance:none;-webkit-appearance:none;padding-right:32px;background
|
||||
.mtile ul b{margin-left:auto;font-weight:600;color:var(--tx)}
|
||||
.mtiles .emptystate{background:var(--sf)}
|
||||
|
||||
/* A payment's details: who, what for, what Mercado Pago said. */
|
||||
.modal h4.sh{margin:4px 0 -8px;font-size:13px;font-weight:650;color:var(--tx2)}
|
||||
.modal .prow{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
|
||||
.paybox,.modal .mblock{display:flex;flex-direction:column;padding:4px 16px;border:1px solid var(--ln);border-radius:12px;background:var(--sf2)}
|
||||
.paybox .mfact,.modal .mfact{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--ln);font-size:13.5px}
|
||||
.paybox .mfact:last-child{border-bottom:0}
|
||||
.paybox .mfact span{color:var(--tx2);flex:none}
|
||||
.paybox .mfact b{font-weight:550;text-align:right;min-width:0;overflow-wrap:anywhere;display:flex;align-items:center;justify-content:flex-end;gap:4px}
|
||||
.modal .mlist{display:flex;flex-direction:column;border:1px solid var(--ln);border-radius:12px;overflow:hidden}
|
||||
.modal .mli{display:flex;align-items:center;gap:12px;padding:10px 14px;border-bottom:1px solid var(--ln)}
|
||||
.modal .mli:last-child{border-bottom:0}
|
||||
.modal .mli .grow{flex:1;min-width:0}
|
||||
#payments .table td .who{gap:10px}
|
||||
|
||||
/* Lists never change the page's size: a panel keeps its height and its
|
||||
list scrolls inside, however many users, machines or orders there are. */
|
||||
.scrollbox{overflow:auto;min-height:0}
|
||||
|
||||
Reference in New Issue
Block a user