zov-tech/miniapp
wasrusgen 3e7ae7764a feat(assembly): configurable assembly rates + admin panel
Backend:
- Sheet "Assembly_Rates": rules by assembler_tg_id + scope
- _resolve_rates(): priority matching (specific > wildcard)
- Default: client 10%, assembler 9% (1% margin)
- _calc_assembly_prices(): role-aware field set in detail API
- Endpoints: assembly_rates_list, assembly_rate_save, assembly_rate_delete
- Cache TTL 120s, auto-seeded default rule on first run

Frontend:
- assembly_detail.js: shows client rate %, assembler payout % (role-aware)
- admin_rates.js: list/add/edit/deactivate rules with live margin preview
- app.js: route #/admin/rates + "Ставки сборки" button in manager dashboard

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 09:20:03 +03:00
..
assets feat(assembly): configurable assembly rates + admin panel 2026-05-19 09:20:03 +03:00
font-preview.html add font preview page with 14 cursive variants for slogan 2026-05-13 10:37:35 +03:00
index.html feat(assembly): configurable assembly rates + admin panel 2026-05-19 09:20:03 +03:00
preview-all-picts.html miniapp: 25 SVG pictograms for 7 remaining categories (style D · 3D) 2026-05-11 21:27:40 +03:00
preview-fridge-styles.html miniapp: add fridge style preview — 4 styles × 4 variants for comparison 2026-05-10 23:26:30 +03:00
preview-fridges.html miniapp: redraw fridge pictograms in style D (3D perspective with shadow) 2026-05-10 23:33:07 +03:00
preview-report.html user feedback batch: model count, specs, manual link, dimensions, export 2026-05-11 17:11:30 +03:00