Improve the frontend
This commit is contained in:
@@ -25,9 +25,30 @@
|
||||
"real_time_alerts": "Real-time Alerts",
|
||||
"procurement_today": "Procurement Today",
|
||||
"production_today": "Production Today",
|
||||
"tomorrow_procurement": "Tomorrow's Procurement",
|
||||
"today_production": "Today's Production",
|
||||
"pending_po_approvals": "Pending Purchase Orders",
|
||||
"recent_activity": "Recent Activity",
|
||||
"quick_actions": "Quick Actions"
|
||||
},
|
||||
"procurement": {
|
||||
"title": "What needs to be bought for tomorrow?",
|
||||
"empty": "All supplies ready for tomorrow",
|
||||
"items_needed": "items needed"
|
||||
},
|
||||
"production": {
|
||||
"title": "What needs to be produced today?",
|
||||
"empty": "No production scheduled for today",
|
||||
"batches_pending": "batches pending"
|
||||
},
|
||||
"po_approvals": {
|
||||
"title": "What purchase orders need approval?",
|
||||
"empty": "No purchase orders pending approval",
|
||||
"pos_pending": "purchase orders pending approval",
|
||||
"view_all": "View all orders",
|
||||
"approve": "Approve",
|
||||
"reject": "Reject"
|
||||
},
|
||||
"quick_actions": {
|
||||
"add_new_bakery": "Add New Bakery",
|
||||
"create_order": "Create Order",
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
},
|
||||
"smart_inventory": {
|
||||
"title": "Smart Inventory",
|
||||
"description": "Automatic stock control with predictive alerts, automated purchase orders, and cost optimization.",
|
||||
"description": "Automatic stock control with predictive alerts, automated purchase orders, and real-time raw material cost optimization.",
|
||||
"features": {
|
||||
"alerts": "Automatic low stock alerts",
|
||||
"orders": "Automated purchase orders",
|
||||
@@ -93,7 +93,7 @@
|
||||
},
|
||||
"production_planning": {
|
||||
"title": "Production Planning",
|
||||
"description": "Automatically schedules daily production based on predictions, optimizes schedules and available resources.",
|
||||
"description": "Automatically schedules daily production based on AI predictions, optimizes schedules, resources, and maximizes your ovens' efficiency.",
|
||||
"features": {
|
||||
"scheduling": "Automatic baking scheduling",
|
||||
"oven": "Oven usage optimization",
|
||||
@@ -102,7 +102,12 @@
|
||||
},
|
||||
"advanced_analytics": {
|
||||
"title": "Advanced Analytics",
|
||||
"description": "Real-time dashboards with key metrics"
|
||||
"description": "Real-time dashboards with key business metrics, product profitability analysis, and customizable reports for data-driven decisions.",
|
||||
"features": {
|
||||
"realtime": "Real-time dashboards",
|
||||
"profitability": "Product profitability analysis",
|
||||
"reports": "Customizable reports"
|
||||
}
|
||||
},
|
||||
"pos_integration": {
|
||||
"title": "Integrated POS",
|
||||
@@ -115,6 +120,10 @@
|
||||
"automation": {
|
||||
"title": "Automation",
|
||||
"description": "Automatic processes that save time"
|
||||
},
|
||||
"cloud_based": {
|
||||
"title": "Cloud-Based",
|
||||
"description": "Access from anywhere, always up-to-date"
|
||||
}
|
||||
},
|
||||
"benefits": {
|
||||
|
||||
124
frontend/src/locales/en/procurement.json
Normal file
124
frontend/src/locales/en/procurement.json
Normal file
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"page": {
|
||||
"title": "Procurement Planning",
|
||||
"description": "Manage purchase orders and procurement"
|
||||
},
|
||||
"modes": {
|
||||
"ai": "AI Automatic",
|
||||
"manual": "Manual"
|
||||
},
|
||||
"guideline": {
|
||||
"title": "AI-Powered Automated Procurement System",
|
||||
"description": "The AI system automatically generates procurement plans based on:",
|
||||
"features": {
|
||||
"forecasts": "Sales and production forecasts",
|
||||
"inventory": "Current inventory levels",
|
||||
"history": "Order history and consumption patterns",
|
||||
"suppliers": "Trusted supplier relationships"
|
||||
},
|
||||
"note": "Approved plans are automatically converted into purchase orders."
|
||||
},
|
||||
"stats": {
|
||||
"plans": {
|
||||
"total": "Total Plans",
|
||||
"active": "Active Plans",
|
||||
"pending_requirements": "Pending Requirements",
|
||||
"critical": "Critical",
|
||||
"estimated_cost": "Estimated Cost",
|
||||
"approved_cost": "Approved Cost"
|
||||
},
|
||||
"purchase_orders": {
|
||||
"total": "Total Orders",
|
||||
"pending_approval": "Pending Approval",
|
||||
"urgent": "Urgent",
|
||||
"due_this_week": "Due This Week",
|
||||
"total_value": "Total Value",
|
||||
"approved_value": "Approved Value"
|
||||
}
|
||||
},
|
||||
"search": {
|
||||
"plans_placeholder": "Search plans by number, status, or notes...",
|
||||
"pos_placeholder": "Search by PO number, supplier, or reference..."
|
||||
},
|
||||
"filters": {
|
||||
"status": "Status",
|
||||
"priority": "Priority",
|
||||
"supplier": "Supplier",
|
||||
"all_statuses": "All statuses",
|
||||
"all_priorities": "All"
|
||||
},
|
||||
"priority": {
|
||||
"urgent": "Urgent",
|
||||
"high": "High",
|
||||
"normal": "Normal",
|
||||
"low": "Low"
|
||||
},
|
||||
"show_archived": "Show completed/cancelled orders",
|
||||
"actions": {
|
||||
"create_po": "Create Purchase Order",
|
||||
"execute_scheduler": "Execute Scheduler",
|
||||
"executing": "Executing...",
|
||||
"send_to_approval": "Send to Approval",
|
||||
"send_to_supplier": "Send to Supplier",
|
||||
"approve": "Approve",
|
||||
"reject": "Reject",
|
||||
"confirm": "Confirm",
|
||||
"receive_items": "Receive Items",
|
||||
"complete": "Complete",
|
||||
"cancel": "Cancel",
|
||||
"view_details": "View Details",
|
||||
"cancel_po": "Cancel Order"
|
||||
},
|
||||
"empty_states": {
|
||||
"plans": {
|
||||
"title": "No procurement plans found",
|
||||
"description": "Try adjusting your search or generate a new procurement plan",
|
||||
"action": "Generate Procurement Plan"
|
||||
},
|
||||
"purchase_orders": {
|
||||
"title": "No purchase orders found",
|
||||
"description": "Create a manual purchase order or switch to AI mode to generate automatic plans",
|
||||
"description_filtered": "No purchase orders match the selected filters",
|
||||
"action": "Create Purchase Order"
|
||||
}
|
||||
},
|
||||
"approval_modal": {
|
||||
"approve_plan": "Approve Plan",
|
||||
"reject_plan": "Reject Plan",
|
||||
"approve_order": "Approve Order",
|
||||
"reject_order": "Reject Order",
|
||||
"notes_optional": "Notes (Optional)",
|
||||
"notes_required": "Notes (Required)",
|
||||
"plan_details": "Plan Details",
|
||||
"order_details": "Order Details",
|
||||
"requirements": "Requirements",
|
||||
"estimated_cost": "Estimated Cost",
|
||||
"suppliers": "Suppliers",
|
||||
"supplier": "Supplier",
|
||||
"total_amount": "Total Amount",
|
||||
"priority": "Priority",
|
||||
"cancel_button": "Cancel",
|
||||
"processing": "Processing...",
|
||||
"approval_placeholder": "Reason for approval...",
|
||||
"rejection_placeholder": "Reason for rejection..."
|
||||
},
|
||||
"card": {
|
||||
"po_prefix": "PO",
|
||||
"plan_prefix": "Plan",
|
||||
"delivery": "Delivery",
|
||||
"no_date": "Not defined",
|
||||
"no_supplier": "No supplier",
|
||||
"ordered": "Ordered",
|
||||
"reference": "Reference",
|
||||
"trust_score": "Trust",
|
||||
"preferred_supplier": "⭐ Preferred Supplier",
|
||||
"auto_approve": "🤖 Auto-approve"
|
||||
},
|
||||
"messages": {
|
||||
"confirm_send": "Send order {{po_number}} to supplier?",
|
||||
"confirm_receive": "Confirm receipt of order {{po_number}}?",
|
||||
"confirm_items": "Mark items as received for {{po_number}}?",
|
||||
"confirm_complete": "Complete order {{po_number}}?",
|
||||
"cancel_reason": "Why do you want to cancel order {{po_number}}?"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user