feat(manager): customers, throwaways, stock and notes on v2 (platform-v2 step 6.13b)
- CRM -> Customers: search ignoring case and Greek accents (and part of the phone), visits / spent / last visit, the card (contact, notes, open tab, every visit with what was on a tab), new/edit/remove - Inventory -> Throwaways: log (product, quantity with a comma, reason, note) with its cost, today's list (delete today only), a period's totals by reason and product, every entry; Inventory -> Stock: an honest 'not available yet' - Notes: notes (pinned first, edit in place) and to-dos (urgent first, done folded away, who did it kept) - backend: crm.manage / inventory.manage / notes.use (the customer search also with the dashboard key, for orders); spending counted by services/sales.py (refunds off, tab lines in); null clears a field; names/notes not blank, priorities checked; waste ?date_from=&date_to= venue dates; the Greek reason labels left the API; live customers.changed / waste.changed / notes.changed - the overview's notes card needs notes.use and refreshes live - tests: test_customers_waste_notes.py (4), crm.test.mjs (3), e2e manager.mjs (customers, throwaways, notes, stock, Greek) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -3261,5 +3261,148 @@
|
||||
"forgiveYes": "Χάρισμα",
|
||||
"forgiven": "{{name}}: χαρίστηκαν {{amount}}"
|
||||
}
|
||||
},
|
||||
"customers": {
|
||||
"title": "Πελάτες",
|
||||
"subtitle": "Οι τακτικοί πελάτες του καταστήματος: τι τους αρέσει, πόσο συχνά έρχονται, πόσα ξοδεύουν.",
|
||||
"new": "Νέος πελάτης",
|
||||
"newTitle": "Νέος πελάτης",
|
||||
"add": "Προσθήκη πελάτη",
|
||||
"save": "Αποθήκευση",
|
||||
"back": "Πίσω",
|
||||
"edit": "Επεξεργασία",
|
||||
"search": "Αναζήτηση: όνομα, παρατσούκλι, τηλέφωνο, email ή σημειώσεις",
|
||||
"name": "Όνομα",
|
||||
"nickname": "Παρατσούκλι",
|
||||
"nicknameHint": "Πώς τον ξέρει το προσωπικό.",
|
||||
"phone": "Τηλέφωνο",
|
||||
"phoneHint": "Η αναγνώριση κλήσης τον βρίσκει από αυτό.",
|
||||
"email": "Email",
|
||||
"notes": "Σημειώσεις",
|
||||
"notesHint": "Αλλεργίες, τι του αρέσει, ό,τι πρέπει να ξέρει το προσωπικό.",
|
||||
"visits": "Επισκέψεις",
|
||||
"spent": "Ξόδεψε",
|
||||
"spentTip": "Οι ολοκληρωμένες παραγγελίες του, όπως τις μετρούν οι αναφορές: μείον επιστροφές, μαζί με όσα μπήκαν σε καρτέλα.",
|
||||
"perVisit": "Ανά επίσκεψη",
|
||||
"lastVisit": "Τελευταία επίσκεψη",
|
||||
"none": "Δεν υπάρχουν πελάτες ακόμα.",
|
||||
"noneHint": "Προσθέστε εδώ τους τακτικούς, ή από μια παραγγελία (ο πελάτης της) ή μια κλήση.",
|
||||
"noMatch": "Κανένας πελάτης δεν ταιριάζει.",
|
||||
"editOf": "Επεξεργασία: {{name}}",
|
||||
"removeOf": "Αφαίρεση: {{name}}",
|
||||
"added": "Προστέθηκε: {{name}}",
|
||||
"saved": "Αποθηκεύτηκε: {{name}}",
|
||||
"removed": "Αφαιρέθηκε: {{name}}",
|
||||
"removeTitle": "Αφαίρεση: {{name}};",
|
||||
"removeBody": "Φεύγει από τη λίστα και την αναζήτηση. Οι παλιές παραγγελίες κρατούν το όνομά του.",
|
||||
"removeYes": "Αφαίρεση",
|
||||
"owes": "Χρωστάει στην καρτέλα",
|
||||
"owesSub": "ανοιχτή από {{date}} · έχει πληρώσει {{paid}}: εξόφληση στα Οικονομικά → Καρτέλες",
|
||||
"history": "Επισκέψεις",
|
||||
"noVisits": "Καμία παραγγελία ακόμα.",
|
||||
"atTable": "Τραπέζι {{table}}",
|
||||
"noTable": "Χωρίς τραπέζι",
|
||||
"orderType": {
|
||||
"takeaway": "Πακέτο",
|
||||
"delivery": "Διανομή",
|
||||
"here": "Στο κατάστημα"
|
||||
},
|
||||
"items_one": "{{count}} είδος",
|
||||
"items_other": "{{count}} είδη",
|
||||
"onTab": "{{amount}} στην καρτέλα",
|
||||
"orderStatus": {
|
||||
"open": "Ανοιχτή",
|
||||
"partially_paid": "Μερικώς πληρωμένη",
|
||||
"paid": "Πληρωμένη",
|
||||
"closed": "Κλειστή",
|
||||
"cancelled": "Ακυρωμένη"
|
||||
},
|
||||
"wrong": {
|
||||
"name": "Γράψτε ένα όνομα.",
|
||||
"email": "Δεν μοιάζει με διεύθυνση email."
|
||||
}
|
||||
},
|
||||
"waste": {
|
||||
"title": "Απορρίμματα",
|
||||
"subtitle": "Τι πετάχτηκε και πόσο κόστισε. Κάθε καταχώρηση κρατά το κόστος του προϊόντος εκείνη τη στιγμή.",
|
||||
"log": "Καταγραφή απόρριψης",
|
||||
"product": "Προϊόν",
|
||||
"choose": "Επιλέξτε προϊόν…",
|
||||
"pickProduct": "Επιλέξτε τι πετάχτηκε.",
|
||||
"quantity": "Πόσα",
|
||||
"wrongQty": "Βάλτε ποσότητα πάνω από μηδέν.",
|
||||
"reason": "Γιατί",
|
||||
"reasons": {
|
||||
"kitchen_error": "Λάθος κουζίνας",
|
||||
"dropped": "Έπεσε",
|
||||
"expired": "Έληξε",
|
||||
"other": "Άλλο"
|
||||
},
|
||||
"note": "Σημείωση",
|
||||
"noteHint": "Προαιρετικά: π.χ. το επέστρεψε πελάτης",
|
||||
"logIt": "Καταγραφή",
|
||||
"logged": "Καταγράφηκε: {{name}} (δεν έχει ορισμένο κόστος)",
|
||||
"loggedCost": "Καταγράφηκε: {{name}}, {{cost}}",
|
||||
"noDayHint": "Δεν είναι ανοιχτή εργάσιμη μέρα: καταγράφεται χωρίς μέρα.",
|
||||
"today": "Σήμερα",
|
||||
"todaySum_one": "{{count}} καταχώρηση · {{cost}}",
|
||||
"todaySum_other": "{{count}} καταχωρήσεις · {{cost}}",
|
||||
"noDay": "Δεν είναι ανοιχτή εργάσιμη μέρα.",
|
||||
"noneToday": "Τίποτα δεν πετάχτηκε σήμερα.",
|
||||
"when": "Πότε",
|
||||
"by": "Από",
|
||||
"cost": "Κόστος",
|
||||
"noCost": "χωρίς κόστος",
|
||||
"deleteOf": "Διαγραφή: {{name}}",
|
||||
"deleteTitle": "Διαγραφή αυτής της απόρριψης ({{name}});",
|
||||
"deleteYes": "Διαγραφή",
|
||||
"deleted": "Η απόρριψη διαγράφηκε",
|
||||
"back": "Πίσω",
|
||||
"history": "Παλιότερα",
|
||||
"entries": "Καταχωρήσεις",
|
||||
"uncosted_one": "{{count}} χωρίς κόστος",
|
||||
"uncosted_other": "{{count}} χωρίς κόστος",
|
||||
"byReason": "Ανά αιτία",
|
||||
"byProduct": "Ανά προϊόν (κόστος)",
|
||||
"times_one": "{{count}} φορά",
|
||||
"times_other": "{{count}} φορές",
|
||||
"units": "πετάχτηκαν {{qty}}",
|
||||
"every": "Όλα τα απορρίμματα",
|
||||
"noneInPeriod": "Τίποτα δεν πετάχτηκε σε αυτή την περίοδο."
|
||||
},
|
||||
"stock": {
|
||||
"title": "Απόθεμα",
|
||||
"soon": "Η καταμέτρηση αποθέματος δεν είναι διαθέσιμη ακόμα. Τα κόστη ορίζονται σε κάθε προϊόν (Προϊόντα) και οι απορρίψεις καταγράφονται στην Αποθήκη → Απορρίμματα."
|
||||
},
|
||||
"notes": {
|
||||
"title": "Σημειώσεις",
|
||||
"subtitle": "{{notes}} σημειώσεις · {{todos}} εκκρεμείς εργασίες. Κοινές για τους υπευθύνους.",
|
||||
"notes": "Σημειώσεις",
|
||||
"todos": "Εργασίες",
|
||||
"pinned": "Καρφιτσωμένες",
|
||||
"others": "Υπόλοιπες",
|
||||
"newNote": "Νέα σημείωση… (Ctrl+Enter για αποθήκευση)",
|
||||
"pinIt": "Καρφίτσωμα",
|
||||
"addNote": "Προσθήκη σημείωσης",
|
||||
"newTodo": "Κάτι να γίνει… (Enter για προσθήκη)",
|
||||
"urgent": "Επείγον",
|
||||
"urgentTag": "ΕΠΕΙΓΟΝ",
|
||||
"addTodo": "Προσθήκη",
|
||||
"noNotes": "Δεν υπάρχουν σημειώσεις ακόμα.",
|
||||
"noTodos": "Δεν υπάρχουν εργασίες ακόμα.",
|
||||
"edit": "Επεξεργασία",
|
||||
"tapToEdit": "Πατήστε για επεξεργασία",
|
||||
"pin": "Καρφίτσωμα",
|
||||
"unpin": "Ξεκαρφίτσωμα",
|
||||
"markDone": "Έγινε: {{what}}",
|
||||
"undo": "Δεν έγινε: {{what}}",
|
||||
"doneBy": "το έκανε {{name}}, {{time}}",
|
||||
"doneCount_one": "{{count}} ολοκληρωμένη",
|
||||
"doneCount_other": "{{count}} ολοκληρωμένες",
|
||||
"deleteNote": "Διαγραφή σημείωσης",
|
||||
"deleteTodo": "Διαγραφή εργασίας",
|
||||
"deleteYes": "Διαγραφή",
|
||||
"deleted": "Διαγράφηκε",
|
||||
"back": "Πίσω"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3261,5 +3261,148 @@
|
||||
"forgiveYes": "Forgive it",
|
||||
"forgiven": "{{name}}: {{amount}} forgiven"
|
||||
}
|
||||
},
|
||||
"customers": {
|
||||
"title": "Customers",
|
||||
"subtitle": "The venue's regular customers: what they like, how often they come, what they spend.",
|
||||
"new": "New customer",
|
||||
"newTitle": "New customer",
|
||||
"add": "Add the customer",
|
||||
"save": "Save",
|
||||
"back": "Back",
|
||||
"edit": "Edit",
|
||||
"search": "Search name, nickname, phone, e-mail or notes",
|
||||
"name": "Name",
|
||||
"nickname": "Nickname",
|
||||
"nicknameHint": "How the staff know them.",
|
||||
"phone": "Phone",
|
||||
"phoneHint": "Caller ID finds them by it.",
|
||||
"email": "E-mail",
|
||||
"notes": "Notes",
|
||||
"notesHint": "Allergies, what they like, anything the staff should know.",
|
||||
"visits": "Visits",
|
||||
"spent": "Spent",
|
||||
"spentTip": "Their finished orders, as the reports count them: refunds off, lines on a tab included.",
|
||||
"perVisit": "Per visit",
|
||||
"lastVisit": "Last visit",
|
||||
"none": "No customers yet.",
|
||||
"noneHint": "Add regulars here, or from an order (its customer) or a phone call.",
|
||||
"noMatch": "No customer matches.",
|
||||
"editOf": "Edit {{name}}",
|
||||
"removeOf": "Remove {{name}}",
|
||||
"added": "{{name}} added",
|
||||
"saved": "{{name}} saved",
|
||||
"removed": "{{name}} removed",
|
||||
"removeTitle": "Remove {{name}}?",
|
||||
"removeBody": "They leave the list and the search. Their past orders keep their name.",
|
||||
"removeYes": "Remove",
|
||||
"owes": "Owes on their tab",
|
||||
"owesSub": "open since {{date}} · {{paid}} paid so far: settle it in Finance → Tabs",
|
||||
"history": "Visits",
|
||||
"noVisits": "No orders yet.",
|
||||
"atTable": "Table {{table}}",
|
||||
"noTable": "Without a table",
|
||||
"orderType": {
|
||||
"takeaway": "Takeaway",
|
||||
"delivery": "Delivery",
|
||||
"here": "In the shop"
|
||||
},
|
||||
"items_one": "{{count}} item",
|
||||
"items_other": "{{count}} items",
|
||||
"onTab": "{{amount}} on the tab",
|
||||
"orderStatus": {
|
||||
"open": "Open",
|
||||
"partially_paid": "Partly paid",
|
||||
"paid": "Paid",
|
||||
"closed": "Closed",
|
||||
"cancelled": "Cancelled"
|
||||
},
|
||||
"wrong": {
|
||||
"name": "Enter a name.",
|
||||
"email": "This doesn't look like an e-mail address."
|
||||
}
|
||||
},
|
||||
"waste": {
|
||||
"title": "Throwaways",
|
||||
"subtitle": "What was thrown away and what it cost. Each entry keeps the product's cost at that moment.",
|
||||
"log": "Log a throwaway",
|
||||
"product": "Product",
|
||||
"choose": "Choose a product…",
|
||||
"pickProduct": "Choose what was thrown away.",
|
||||
"quantity": "How many",
|
||||
"wrongQty": "Enter a quantity above zero.",
|
||||
"reason": "Why",
|
||||
"reasons": {
|
||||
"kitchen_error": "Kitchen mistake",
|
||||
"dropped": "Dropped",
|
||||
"expired": "Expired",
|
||||
"other": "Other"
|
||||
},
|
||||
"note": "Note",
|
||||
"noteHint": "Optional: e.g. a customer sent it back",
|
||||
"logIt": "Log it",
|
||||
"logged": "{{name}} logged (it has no cost set)",
|
||||
"loggedCost": "{{name}} logged: {{cost}}",
|
||||
"noDayHint": "No business day is open: the entry is logged without one.",
|
||||
"today": "Today",
|
||||
"todaySum_one": "{{count}} entry · {{cost}}",
|
||||
"todaySum_other": "{{count}} entries · {{cost}}",
|
||||
"noDay": "No business day is open.",
|
||||
"noneToday": "Nothing thrown away today.",
|
||||
"when": "When",
|
||||
"by": "Logged by",
|
||||
"cost": "Cost",
|
||||
"noCost": "no cost",
|
||||
"deleteOf": "Delete {{name}}",
|
||||
"deleteTitle": "Delete this throwaway ({{name}})?",
|
||||
"deleteYes": "Delete",
|
||||
"deleted": "Throwaway deleted",
|
||||
"back": "Back",
|
||||
"history": "Earlier",
|
||||
"entries": "Entries",
|
||||
"uncosted_one": "{{count}} without a cost",
|
||||
"uncosted_other": "{{count}} without a cost",
|
||||
"byReason": "By reason",
|
||||
"byProduct": "By product (cost)",
|
||||
"times_one": "{{count}} time",
|
||||
"times_other": "{{count}} times",
|
||||
"units": "{{qty}} thrown away",
|
||||
"every": "Every throwaway",
|
||||
"noneInPeriod": "Nothing thrown away in this period."
|
||||
},
|
||||
"stock": {
|
||||
"title": "Stock",
|
||||
"soon": "Counting stock isn't available yet. Costs are set on each product (Products) and throwaways are logged in Inventory → Throwaways."
|
||||
},
|
||||
"notes": {
|
||||
"title": "Notes",
|
||||
"subtitle": "{{notes}} notes · {{todos}} to-dos open. Shared by the managers.",
|
||||
"notes": "Notes",
|
||||
"todos": "To-dos",
|
||||
"pinned": "Pinned",
|
||||
"others": "Others",
|
||||
"newNote": "A new note… (Ctrl+Enter saves)",
|
||||
"pinIt": "Pin it",
|
||||
"addNote": "Add the note",
|
||||
"newTodo": "Something to do… (Enter adds it)",
|
||||
"urgent": "Urgent",
|
||||
"urgentTag": "URGENT",
|
||||
"addTodo": "Add",
|
||||
"noNotes": "No notes yet.",
|
||||
"noTodos": "Nothing to do yet.",
|
||||
"edit": "Edit",
|
||||
"tapToEdit": "Tap to edit",
|
||||
"pin": "Pin",
|
||||
"unpin": "Unpin",
|
||||
"markDone": "Mark done: {{what}}",
|
||||
"undo": "Not done: {{what}}",
|
||||
"doneBy": "done by {{name}}, {{time}}",
|
||||
"doneCount_one": "{{count}} done",
|
||||
"doneCount_other": "{{count}} done",
|
||||
"deleteNote": "Delete the note",
|
||||
"deleteTodo": "Delete the to-do",
|
||||
"deleteYes": "Delete",
|
||||
"deleted": "Deleted",
|
||||
"back": "Back"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user