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": "Advance paid",
|
||||
"Avg zile": "Avg days",
|
||||
"Azi": "Today",
|
||||
"Așteaptă client": "Awaiting customer",
|
||||
"Așteaptă piese": "Awaiting parts",
|
||||
"Așteaptă piesele": "Awaiting parts",
|
||||
"Aștept aprobare client": "Awaiting client approval",
|
||||
@@ -854,8 +855,11 @@
|
||||
"Fișa nu are client asociat.": "This work order has no client attached.",
|
||||
"Fișe": "Orders",
|
||||
"Fișe active": "Active orders",
|
||||
"Fișe cu plată în așteptare": "Work orders with pending payment",
|
||||
"Fișe deschise": "Open orders",
|
||||
"Fișe gata predare": "Ready for pickup",
|
||||
"Fișe lucru": "Work orders",
|
||||
"Fișe în lucru": "Active work orders",
|
||||
"Fișe închise": "Closed orders",
|
||||
"Fișier": "File",
|
||||
"Fișier Excel (.xlsx) sau CSV *": "Excel file (.xlsx) or CSV *",
|
||||
@@ -2192,6 +2196,7 @@
|
||||
"Vezi profit & pierdere (P&L)": "View P&L",
|
||||
"Vezi propriul salariu": "View own salary",
|
||||
"Vezi rapoarte & analitică": "View reports & analytics",
|
||||
"Vezi raportul financiar": "Open financial report",
|
||||
"Vezi salariile tuturor": "View all salaries",
|
||||
"Vezi stoc (piese)": "View stock (parts)",
|
||||
"Vezi toate fișele": "View all orders",
|
||||
@@ -2525,6 +2530,7 @@
|
||||
"În lucru": "In progress",
|
||||
"În pipeline": "In pipeline",
|
||||
"În procesare": "Processing",
|
||||
"În serviciu sau așteaptă piese": "In service or waiting for parts",
|
||||
"În trial": "In trial",
|
||||
"Înainte": "Back",
|
||||
"Înapoi": "Back",
|
||||
|
||||
Reference in New Issue
Block a user