Adds create customer drawer to customers page

Implements new drawer for creating customers with form inputs for contact details and notes

Enhances customer management by providing a streamlined way to add new customer records directly from the customers index page
This commit is contained in:
Janus C. H. Knudsen 2026-01-24 10:59:21 +01:00
parent dc2bab5702
commit 38e9243bcd
5 changed files with 193 additions and 1 deletions

View file

@ -606,6 +606,13 @@
"searchPlaceholder": "Søg kunde (navn, telefon, email...)",
"export": "Eksporter",
"create": "Ny kunde",
"createDrawer": {
"title": "Opret ny kunde",
"name": "Navn *",
"note": "Note",
"notePlaceholder": "Skriv en note om kunden...",
"save": "Opret kunde"
},
"emptySearch": "Ingen kunder matcher din søgning",
"column": {
"name": "Navn",

View file

@ -601,6 +601,60 @@
}
},
"customers": {
"title": "Customers",
"subtitle": "Manage customers and customer cards",
"searchPlaceholder": "Search customer (name, phone, email...)",
"export": "Export",
"create": "New customer",
"createDrawer": {
"title": "Create new customer",
"name": "Name *",
"note": "Note",
"notePlaceholder": "Write a note about the customer...",
"save": "Create customer"
},
"emptySearch": "No customers match your search",
"column": {
"name": "Name",
"phone": "Phone",
"email": "Email",
"visits": "Visits",
"lastVisit": "Last",
"hairdresser": "Hairdresser",
"created": "Created",
"tags": "Tags"
},
"stats": {
"total": "Total customers",
"newThisMonth": "New this month",
"avgVisits": "Avg. visits"
},
"drawer": {
"title": "Customer card",
"visits": "Visits",
"avgInterval": "Avg. interval",
"preferredHairdresser": "Preferred hairdresser",
"contactInfo": "Contact information",
"phone": "Phone",
"email": "Email",
"address": "Address",
"zipCity": "Zip + City",
"marketing": "Marketing",
"emailMarketing": "Email marketing",
"smsMarketing": "SMS marketing",
"profile": "Profile",
"hairType": "Hair type",
"porosity": "Porosity",
"preference": "Preference",
"warnings": "Warnings",
"revenueChart": "Revenue (last 6 months)",
"services": "Services",
"products": "Products",
"recentNotes": "Recent notes",
"noteType": "Note",
"colorFormula": "Color formula",
"seeAllNotes": "See all notes →"
},
"detail": {
"tabs": {
"activitylog": "Activity log"