mirror of
https://github.com/wasrusgen/zov-tech.git
synced 2026-06-03 17:04:48 +00:00
NEW FILE assets/clients.js: - Clients.mount(container) — hash-routed view - #/clients — list of all clients (cards: avatar, name, phone, leads count, last date) - #/clients/client/<key> — single client history (all leads as items) - #/clients/lead/<id> — full lead detail with re-rendered report UI: - Card style: avatar with initial, name + phone, footer with N подборов + дата - Pluralization for Russian (1 подбор / 2 подбора / 5 подборов) - Date format: 'сегодня · 14:30' or 'DD.MM.YYYY' - Status pills: new / sent / viewed / ordered PODBOR.JS: - Exposed renderSavedReport(ai, leadId) for Clients module reuse - Same renderer as live podbor — same matrix, pros/cons, links APP.JS: - Quick action 'Клиенты' added (icon: user) - Hash router: #/clients → Clients.mount() INDEX.HTML: - clients.js script added - Cache bumped to v=20260512a CSS: - .client-list, .client-card with avatar+meta+footer - .client-detail-head (big card with avatar 56px) - .leads-list with .lead-item (grid: date | id | status | arrow) - .loader-inline for async fetch - .ai-text-fallback for legacy text-only responses |
||
|---|---|---|
| .. | ||
| assets | ||
| index.html | ||
| preview-all-picts.html | ||
| preview-fridge-styles.html | ||
| preview-fridges.html | ||
| preview-report.html | ||