mirror of
https://github.com/wasrusgen/zov-tech.git
synced 2026-06-03 22:24:48 +00:00
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> |
||
|---|---|---|
| .. | ||
| parsers | ||
| __init__.py | ||
| ai.py | ||
| auth.py | ||
| catalog.py | ||
| config.py | ||
| drive.py | ||
| gcalendar.py | ||
| geocoder.py | ||
| main.py | ||
| proposals.py | ||
| proxy_pool.py | ||
| sheets.py | ||
| telegram.py | ||