feat(dashboard): clickable stat cards + 2 new WO counters + parts row link
Every card on the tenant main dashboard now links to a relevant page:
Operations widget (was 5 cards, now 7):
- Clienți → /app/clients
- Mașini → /app/vehicles
- Cereri noi → /app/leads pre-filtered by status=new
- Deal-uri active → /app/deals
- Programări azi → /app/calendar-board
- NEW: Fișe în lucru (in_work + awaiting_parts) → /app/work-orders filter
- NEW: Fișe gata predare (ready) → /app/work-orders filter
Finance widget (all 4 cards clickable now):
- Încasări → /app/payments
- Cheltuieli → /app/expenses
- Profit → /app/reports (with "Vezi raportul financiar" hint)
- Datorii → /app/work-orders pre-filtered by pay_status=unpaid
LowStockTable rows now navigate to /app/parts/{id}/edit on click and
have an explicit edit action for touch users.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -276,6 +276,7 @@
|
||||
"Avans achitat": "Аванс оплачен",
|
||||
"Avg zile": "Ср. дней",
|
||||
"Azi": "Сегодня",
|
||||
"Așteaptă client": "Ожидают клиента",
|
||||
"Așteaptă piese": "Ждёт запчасти",
|
||||
"Așteaptă piesele": "Ждёт запчасти",
|
||||
"Aștept aprobare client": "Ожидание одобрения клиента",
|
||||
@@ -854,8 +855,11 @@
|
||||
"Fișa nu are client asociat.": "К заказ-наряду не привязан клиент.",
|
||||
"Fișe": "Наряды",
|
||||
"Fișe active": "Активные наряды",
|
||||
"Fișe cu plată în așteptare": "Заказы с ожидающей оплатой",
|
||||
"Fișe deschise": "Открытые наряды",
|
||||
"Fișe gata predare": "Готовы к выдаче",
|
||||
"Fișe lucru": "Рабочие листы",
|
||||
"Fișe în lucru": "Заказы в работе",
|
||||
"Fișe închise": "Закрытые наряды",
|
||||
"Fișier": "Файл",
|
||||
"Fișier Excel (.xlsx) sau CSV *": "Файл Excel (.xlsx) или CSV *",
|
||||
@@ -2192,6 +2196,7 @@
|
||||
"Vezi profit & pierdere (P&L)": "Просмотр P&L",
|
||||
"Vezi propriul salariu": "Просмотр своей зарплаты",
|
||||
"Vezi rapoarte & analitică": "Просмотр отчётов и аналитики",
|
||||
"Vezi raportul financiar": "Открыть финансовый отчёт",
|
||||
"Vezi salariile tuturor": "Просмотр зарплат всех",
|
||||
"Vezi stoc (piese)": "Просмотр склада (запчасти)",
|
||||
"Vezi toate fișele": "Просмотр всех нарядов",
|
||||
@@ -2525,6 +2530,7 @@
|
||||
"În lucru": "В работе",
|
||||
"În pipeline": "В воронке",
|
||||
"În procesare": "В обработке",
|
||||
"În serviciu sau așteaptă piese": "В работе или ожидание запчастей",
|
||||
"În trial": "В триале",
|
||||
"Înainte": "Назад",
|
||||
"Înapoi": "Назад",
|
||||
|
||||
Reference in New Issue
Block a user