Improve backend
This commit is contained in:
@@ -16,7 +16,26 @@
|
||||
"steps": {
|
||||
"productType": "Product Type",
|
||||
"basicInfo": "Basic Information",
|
||||
"stockConfig": "Stock Configuration"
|
||||
"stockConfig": "Stock Configuration",
|
||||
"initialStock": "Initial Stock"
|
||||
},
|
||||
"initialStockDescription": "Add one or more lots to register the initial inventory",
|
||||
"stockConfig": {
|
||||
"product": "Product",
|
||||
"totalQuantity": "Total Quantity",
|
||||
"totalValue": "Total Value",
|
||||
"lotsRegistered": "Lots Registered",
|
||||
"lot": "Lot",
|
||||
"remove": "Remove",
|
||||
"quantity": "Quantity",
|
||||
"unitCost": "Unit Cost ($)",
|
||||
"lotNumber": "Lot Number",
|
||||
"expirationDate": "Expiration Date",
|
||||
"location": "Location",
|
||||
"lotValue": "Lot value:",
|
||||
"addInitialLot": "Add Initial Lot",
|
||||
"addAnotherLot": "Add Another Lot",
|
||||
"skipMessage": "You can skip this step if you prefer to add the initial stock later"
|
||||
},
|
||||
"typeDescriptions": {
|
||||
"ingredient": "Raw materials and ingredients used in recipes",
|
||||
@@ -499,6 +518,125 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"salesEntry": {
|
||||
"title": "Sales Record",
|
||||
"steps": {
|
||||
"entryMethod": "Entry Method",
|
||||
"entryMethodDescription": "Choose how to register sales",
|
||||
"manualEntry": "Enter Data",
|
||||
"manualEntryDescription": "Record sale details",
|
||||
"fileUpload": "Upload File",
|
||||
"fileUploadDescription": "Import sales from file",
|
||||
"review": "Review",
|
||||
"reviewDescription": "Confirm data before saving"
|
||||
},
|
||||
"entryMethod": {
|
||||
"title": "How do you want to register sales?",
|
||||
"subtitle": "Choose the method that best suits your needs",
|
||||
"manual": {
|
||||
"title": "Manual Entry",
|
||||
"description": "Enter one or more sales individually",
|
||||
"benefits": {
|
||||
"1": "Ideal for daily totals",
|
||||
"2": "Detailed control per sale",
|
||||
"3": "Easy and fast"
|
||||
}
|
||||
},
|
||||
"file": {
|
||||
"title": "Upload File",
|
||||
"description": "Import from Excel or CSV",
|
||||
"recommended": "⭐ Recommended for historical data",
|
||||
"benefits": {
|
||||
"1": "Ideal for historical data",
|
||||
"2": "Bulk upload (hundreds of records)",
|
||||
"3": "Saves significant time"
|
||||
}
|
||||
}
|
||||
},
|
||||
"manualEntry": {
|
||||
"title": "Record Manual Sale",
|
||||
"subtitle": "Enter sale details",
|
||||
"fields": {
|
||||
"saleDate": "Sale Date",
|
||||
"paymentMethod": "Payment Method",
|
||||
"notes": "Notes (Optional)",
|
||||
"notesPlaceholder": "Additional information about this sale..."
|
||||
},
|
||||
"products": {
|
||||
"title": "Products Sold",
|
||||
"addProduct": "+ Add Product",
|
||||
"loading": "Loading products...",
|
||||
"noFinishedProducts": "No finished products available",
|
||||
"addToInventory": "Add products to inventory first",
|
||||
"noProductsAdded": "No products added",
|
||||
"clickToBegin": "Click 'Add Product' to begin",
|
||||
"selectProduct": "Select product...",
|
||||
"quantity": "Qty.",
|
||||
"price": "Price",
|
||||
"removeProduct": "Remove product",
|
||||
"total": "Total:"
|
||||
}
|
||||
},
|
||||
"fileUpload": {
|
||||
"title": "Upload Sales File",
|
||||
"subtitle": "Import your sales from Excel or CSV",
|
||||
"downloadTemplate": "Download CSV Template",
|
||||
"downloading": "Downloading...",
|
||||
"dragDrop": {
|
||||
"title": "Drag a file here",
|
||||
"subtitle": "or click to select",
|
||||
"button": "Select File",
|
||||
"supportedFormats": "Supported formats: CSV, Excel (.xlsx, .xls)"
|
||||
},
|
||||
"validated": {
|
||||
"title": "✓ File validated successfully",
|
||||
"recordsFound": "Records found:",
|
||||
"validRecords": "Valid records:",
|
||||
"errors": "Errors:"
|
||||
},
|
||||
"validateButton": "Validate File",
|
||||
"validating": "Validating...",
|
||||
"importButton": "Import Data",
|
||||
"importing": "Importing...",
|
||||
"instructions": {
|
||||
"title": "The file must contain the columns:",
|
||||
"columns": "date, product, quantity, unit_price, payment_method"
|
||||
}
|
||||
},
|
||||
"review": {
|
||||
"title": "Review and Confirm",
|
||||
"subtitle": "Verify that all information is correct",
|
||||
"fields": {
|
||||
"date": "Date:",
|
||||
"paymentMethod": "Payment Method:",
|
||||
"products": "Products",
|
||||
"total": "Total:",
|
||||
"notes": "Notes:"
|
||||
},
|
||||
"imported": {
|
||||
"title": "✓ File imported successfully",
|
||||
"recordsImported": "Records imported:",
|
||||
"recordsFailed": "Records failed:"
|
||||
}
|
||||
},
|
||||
"paymentMethods": {
|
||||
"cash": "Cash",
|
||||
"card": "Card",
|
||||
"mobile": "Mobile Payment",
|
||||
"transfer": "Transfer",
|
||||
"other": "Other"
|
||||
},
|
||||
"messages": {
|
||||
"errorObtainingTenantInfo": "Could not obtain tenant information",
|
||||
"errorLoadingProducts": "Error loading products",
|
||||
"salesEntryCreatedSuccessfully": "Sales entry created successfully",
|
||||
"errorCreatingSalesEntry": "Error creating sales entry",
|
||||
"errorValidatingFile": "Error validating file",
|
||||
"errorImportingFile": "Error importing file",
|
||||
"fileValidatedSuccessfully": "File validated successfully",
|
||||
"fileImportedSuccessfully": "File imported successfully"
|
||||
}
|
||||
},
|
||||
"tooltips": {
|
||||
"averageCost": "Average cost per unit based on purchase history",
|
||||
"standardCost": "Standard/expected cost per unit for costing calculations",
|
||||
|
||||
Reference in New Issue
Block a user