Reform Ziyaretler page with status colors, target stats, agency suggestions
rodopsin+1: Claude Opus 4.7
3fab7e5
- Visit color palette with 4 tones: planned (blue), completed (green),
overdue/missed (red), ad-hoc (purple). Past planned visits flip to red
automatically. Centralised in visit-colors.ts and used across calendar
cells, upcoming list, and detail badges
- Top stat row replaces single summary card: Hedef / Planlanan /
Gerçekleşen / Tamamlanmayan with monthly scope. Hedef card has inline
pencil button opening a modal that stores VisitTarget in ops-storage
(period-keyed, setBy: self|manager)
- Add 'Ad-hoc' visit type and optional `title` field on DemoVisit so a
user can name an event ("Sezon kick-off etkinliği") instead of always
inheriting the agency name. Visit detail h1 prefers the custom title
- Replace 'Kaynak Özeti' + 'Son Rota Kayıtları' + 'Seyahat Planı tek
kaynak' navy block with 'Ziyaret Edilmesi Gereken Acenteler' panel
fed by getSalesDiscoveryRecommendations(5), each with a 'Ziyaret
Planla' shortcut to /ziyaretler/yeni?agency=...
- Color legend strip benea…