Adds comprehensive customer detail view components

Implements full customer detail page with multiple feature-rich components including overview, economy, statistics, journal, appointments, giftcards, and activity sections

Creates reusable ViewComponents for different customer detail aspects with robust data modeling and presentation logic
This commit is contained in:
Janus C. H. Knudsen 2026-01-25 01:55:41 +01:00
parent 38e9243bcd
commit 1b25978d9b
26 changed files with 3792 additions and 956 deletions

View file

@ -656,8 +656,52 @@
"seeAllNotes": "Se alle noter →"
},
"detail": {
"back": "Tilbage til kunder",
"delete": "Slet kunde",
"save": "Gem",
"tabs": {
"overview": "Oversigt",
"economy": "Økonomi",
"statistics": "Statistik",
"journal": "Journal",
"appointments": "Aftaler",
"giftcards": "Gavekort",
"activitylog": "Aktivitetslog"
},
"visits": "besøg",
"interval": "dage interval",
"preferredHairdresser": "foretrukken frisør",
"totalRevenue": "total omsætning",
"bookingAllowed": "Booking tilladt",
"bookingBlocked": "Booking blokeret",
"contactInfo": "Kontaktoplysninger",
"phone": "Telefon",
"email": "Email",
"address": "Adresse",
"zipCity": "Postnr + By",
"profile": "Profil",
"marketing": "Marketing",
"emailMarketing": "Email marketing",
"smsMarketing": "SMS marketing",
"paymentSettings": "Betalingsindstillinger",
"requirePrepayment": "Kræv forudbetaling",
"allowPartialPayment": "Tillad delvis betaling",
"preferences": "Præferencer",
"preferredDay": "Foretrukken dag",
"specialRequests": "Specielle ønsker",
"warnings": "Advarsler",
"groupAndRelations": "Kundegruppe & Relationer",
"economy": {
"thisYear": "I år ({0})",
"lastYear": "Sidste år",
"avgPerVisit": "Gns. pr. besøg",
"avgPerMonth": "Gns. pr. måned",
"revenueOverTime": "Omsætning over tid",
"services": "Services",
"products": "Produkter",
"purchaseHistory": "Købshistorik",
"seeAll": "Se alle transaktioner",
"noData": "Ingen økonomiske data tilgængelige"
}
}
}

View file

@ -656,8 +656,52 @@
"seeAllNotes": "See all notes →"
},
"detail": {
"back": "Back to customers",
"delete": "Delete customer",
"save": "Save",
"tabs": {
"overview": "Overview",
"economy": "Economy",
"statistics": "Statistics",
"journal": "Journal",
"appointments": "Appointments",
"giftcards": "Gift cards",
"activitylog": "Activity log"
},
"visits": "visits",
"interval": "days interval",
"preferredHairdresser": "preferred hairdresser",
"totalRevenue": "total revenue",
"bookingAllowed": "Booking allowed",
"bookingBlocked": "Booking blocked",
"contactInfo": "Contact information",
"phone": "Phone",
"email": "Email",
"address": "Address",
"zipCity": "Zip + City",
"profile": "Profile",
"marketing": "Marketing",
"emailMarketing": "Email marketing",
"smsMarketing": "SMS marketing",
"paymentSettings": "Payment settings",
"requirePrepayment": "Require prepayment",
"allowPartialPayment": "Allow partial payment",
"preferences": "Preferences",
"preferredDay": "Preferred day",
"specialRequests": "Special requests",
"warnings": "Warnings",
"groupAndRelations": "Customer group & Relations",
"economy": {
"thisYear": "This year ({0})",
"lastYear": "Last year",
"avgPerVisit": "Avg. per visit",
"avgPerMonth": "Avg. per month",
"revenueOverTime": "Revenue over time",
"services": "Services",
"products": "Products",
"purchaseHistory": "Purchase history",
"seeAll": "See all transactions",
"noData": "No economic data available"
}
}
}