feat: progressive price bands per product (front 8.2)
A price may carry up to five bands, "from N m, R$ Y": the order's total billed metres of that product chooses one price for its whole quantity, the manual-file extra still on top. Bands start and become history with their price row. The Site charges the same band for the cart, shows "Faltam X m para R$ Y o metro" and lists the bands under the price table; the Kanban's Site tab edits them. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -651,6 +651,13 @@ label.fopt{cursor:pointer;user-select:none}
|
||||
#tab-site .sitePriceForm input{height:38px;padding:0 10px;border-radius:8px;border:1px solid var(--ln2);background:var(--sf);color:var(--tx);font-size:14px;font-family:inherit}
|
||||
#tab-site .sitePriceForm input:focus{border-color:var(--acc);box-shadow:0 0 0 3px color-mix(in srgb,var(--acc) 18%,transparent);outline:none}
|
||||
#tab-site .siteMoney{width:140px}
|
||||
#tab-site .siteBands{display:flex;flex-direction:column;gap:8px;flex:1 0 100%}
|
||||
#tab-site .siteBandsHead{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
|
||||
#tab-site .siteBandsHead>span{font-size:12px;color:var(--tx2)}
|
||||
#tab-site .siteBandRows{display:flex;flex-direction:column;gap:8px}
|
||||
#tab-site .siteBandRow{display:flex;align-items:end;gap:10px;flex-wrap:wrap}
|
||||
#tab-site .siteBandFrom{width:100px}
|
||||
#tab-site .siteBandPrice{width:120px}
|
||||
#tab-site .siteScheduled{display:flex;flex-direction:column;gap:8px;font-size:13.5px}
|
||||
#tab-site .siteScheduledRow{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
|
||||
#tab-site .siteScheduledRow .btn{height:30px;padding:0 10px;font-size:12.5px}
|
||||
|
||||
Reference in New Issue
Block a user