Fix Purchase Order modal and reorganize documentation
Frontend Changes: - Fix runtime error: Remove undefined handleModify reference from ActionQueueCard in DashboardPage - Migrate PurchaseOrderDetailsModal to use correct PurchaseOrderItem type from purchase_orders service - Fix item display: Parse unit_price as string (Decimal) instead of number - Use correct field names: item_notes instead of notes - Remove deprecated PurchaseOrder types from suppliers.ts to prevent type conflicts - Update CreatePurchaseOrderModal to use unified types - Clean up API exports: Remove old PO hooks re-exported from suppliers - Add comprehensive translations for PO modal (en, es, eu) Documentation Reorganization: - Move WhatsApp implementation docs to docs/03-features/notifications/whatsapp/ - Move forecast validation docs to docs/03-features/forecasting/ - Move specification docs to docs/03-features/specifications/ - Move deployment docs (Colima, K8s, VPS sizing) to docs/05-deployment/ - Archive completed implementation summaries to docs/archive/implementation-summaries/ - Delete obsolete FRONTEND_CHANGES_NEEDED.md - Standardize filenames to lowercase with hyphens 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -3,13 +3,57 @@
|
||||
"purchase_orders": "Purchase Orders",
|
||||
"created": "Created",
|
||||
"supplier": "Supplier",
|
||||
"supplier_name": "Supplier Name",
|
||||
"order_date": "Order Date",
|
||||
"expected_delivery": "Expected Delivery",
|
||||
"items": "Items",
|
||||
"no_items": "No items in this order",
|
||||
"notes": "Notes",
|
||||
"order_notes": "Order Notes",
|
||||
"not_found": "Purchase order not found",
|
||||
"total_amount": "Total Amount",
|
||||
"general_information": "General Information",
|
||||
"financial_summary": "Financial Summary",
|
||||
"dates": "Dates",
|
||||
"po_number": "PO Number",
|
||||
"status_label": "Status",
|
||||
"quantity": "Quantity",
|
||||
"unit_price": "Unit Price",
|
||||
"quality_requirements": "Quality Requirements",
|
||||
"total": "Total",
|
||||
"priority": "Priority",
|
||||
"required_delivery_date": "Required Delivery Date",
|
||||
"supplier_info": "Supplier Information",
|
||||
"order_details": "Order Details",
|
||||
"products": "Products",
|
||||
"modify_order": "Modify Purchase Order",
|
||||
"modifying_order": "Modifying Order",
|
||||
"supplier_cannot_modify": "Supplier cannot be modified",
|
||||
"adjust_priority": "Adjust the priority of this order",
|
||||
"delivery_deadline": "Delivery deadline",
|
||||
"special_instructions": "Special instructions for supplier...",
|
||||
"additional_info": "Additional information or special instructions",
|
||||
"product": "Product",
|
||||
"sku": "SKU",
|
||||
"ordered_quantity": "Ordered Quantity",
|
||||
"unit": "Unit",
|
||||
"unit_price_euro": "Unit Price (€)",
|
||||
"add_product": "Add Product",
|
||||
"modify_quantities": "Modify quantities, units and prices as needed",
|
||||
"at_least_one_product": "Please add at least one product",
|
||||
"quantities_greater_zero": "All quantities must be greater than 0",
|
||||
"products_need_names": "All products must have a name",
|
||||
"priority_urgent": "Urgent",
|
||||
"priority_high": "High",
|
||||
"priority_normal": "Normal",
|
||||
"priority_low": "Low",
|
||||
"unit_kg": "Kilograms",
|
||||
"unit_g": "Grams",
|
||||
"unit_l": "Liters",
|
||||
"unit_ml": "Milliliters",
|
||||
"unit_units": "Units",
|
||||
"unit_boxes": "Boxes",
|
||||
"unit_bags": "Bags",
|
||||
"status": {
|
||||
"draft": "Draft",
|
||||
"pending_approval": "Pending Approval",
|
||||
@@ -31,6 +75,8 @@
|
||||
"actions": {
|
||||
"approve": "Approve Order",
|
||||
"modify": "Modify Order",
|
||||
"close": "Close"
|
||||
"close": "Close",
|
||||
"save": "Save Changes",
|
||||
"cancel": "Cancel"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,13 +3,57 @@
|
||||
"purchase_orders": "Órdenes de Compra",
|
||||
"created": "Creada",
|
||||
"supplier": "Proveedor",
|
||||
"supplier_name": "Nombre del Proveedor",
|
||||
"order_date": "Fecha de Pedido",
|
||||
"expected_delivery": "Entrega Esperada",
|
||||
"items": "Artículos",
|
||||
"no_items": "No hay artículos en esta orden",
|
||||
"notes": "Notas",
|
||||
"order_notes": "Notas de la Orden",
|
||||
"not_found": "Orden de compra no encontrada",
|
||||
"total_amount": "Monto Total",
|
||||
"general_information": "Información General",
|
||||
"financial_summary": "Resumen Financiero",
|
||||
"dates": "Fechas",
|
||||
"po_number": "Número de Orden",
|
||||
"status_label": "Estado",
|
||||
"quantity": "Cantidad",
|
||||
"unit_price": "Precio Unitario",
|
||||
"quality_requirements": "Requisitos de Calidad",
|
||||
"total": "Total",
|
||||
"priority": "Prioridad",
|
||||
"required_delivery_date": "Fecha de Entrega Requerida",
|
||||
"supplier_info": "Información del Proveedor",
|
||||
"order_details": "Detalles de la Orden",
|
||||
"products": "Productos",
|
||||
"modify_order": "Modificar Orden de Compra",
|
||||
"modifying_order": "Modificando Orden",
|
||||
"supplier_cannot_modify": "El proveedor no puede ser modificado",
|
||||
"adjust_priority": "Ajusta la prioridad de esta orden",
|
||||
"delivery_deadline": "Fecha límite para la entrega",
|
||||
"special_instructions": "Instrucciones especiales para el proveedor...",
|
||||
"additional_info": "Información adicional o instrucciones especiales",
|
||||
"product": "Producto",
|
||||
"sku": "SKU",
|
||||
"ordered_quantity": "Cantidad Pedida",
|
||||
"unit": "Unidad",
|
||||
"unit_price_euro": "Precio Unitario (€)",
|
||||
"add_product": "Agregar Producto",
|
||||
"modify_quantities": "Modifica las cantidades, unidades y precios según sea necesario",
|
||||
"at_least_one_product": "Por favor, agrega al menos un producto",
|
||||
"quantities_greater_zero": "Todas las cantidades deben ser mayores a 0",
|
||||
"products_need_names": "Todos los productos deben tener un nombre",
|
||||
"priority_urgent": "Urgente",
|
||||
"priority_high": "Alta",
|
||||
"priority_normal": "Normal",
|
||||
"priority_low": "Baja",
|
||||
"unit_kg": "Kilogramos",
|
||||
"unit_g": "Gramos",
|
||||
"unit_l": "Litros",
|
||||
"unit_ml": "Mililitros",
|
||||
"unit_units": "Unidades",
|
||||
"unit_boxes": "Cajas",
|
||||
"unit_bags": "Bolsas",
|
||||
"status": {
|
||||
"draft": "Borrador",
|
||||
"pending_approval": "Pendiente de Aprobación",
|
||||
@@ -31,6 +75,8 @@
|
||||
"actions": {
|
||||
"approve": "Aprobar Orden",
|
||||
"modify": "Modificar Orden",
|
||||
"close": "Cerrar"
|
||||
"close": "Cerrar",
|
||||
"save": "Guardar Cambios",
|
||||
"cancel": "Cancelar"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,13 +3,57 @@
|
||||
"purchase_orders": "Erosketa Aginduak",
|
||||
"created": "Sortua",
|
||||
"supplier": "Hornitzailea",
|
||||
"supplier_name": "Hornitzailearen Izena",
|
||||
"order_date": "Eskabidearen Data",
|
||||
"expected_delivery": "Espero den Entrega",
|
||||
"items": "Produktuak",
|
||||
"no_items": "Ez dago produkturik eskaera honetan",
|
||||
"notes": "Oharrak",
|
||||
"order_notes": "Eskaeraren Oharrak",
|
||||
"not_found": "Erosketa agindua ez da aurkitu",
|
||||
"total_amount": "Guztira",
|
||||
"general_information": "Informazio Orokorra",
|
||||
"financial_summary": "Finantza Laburpena",
|
||||
"dates": "Datak",
|
||||
"po_number": "Agindu Zenbakia",
|
||||
"status_label": "Egoera",
|
||||
"quantity": "Kopurua",
|
||||
"unit_price": "Unitate Prezioa",
|
||||
"quality_requirements": "Kalitate Baldintzak",
|
||||
"total": "Guztira",
|
||||
"priority": "Lehentasuna",
|
||||
"required_delivery_date": "Beharrezko Entrega Data",
|
||||
"supplier_info": "Hornitzailearen Informazioa",
|
||||
"order_details": "Eskaeraren Xehetasunak",
|
||||
"products": "Produktuak",
|
||||
"modify_order": "Erosketa Agindua Aldatu",
|
||||
"modifying_order": "Agindua Aldatzen",
|
||||
"supplier_cannot_modify": "Hornitzailea ezin da aldatu",
|
||||
"adjust_priority": "Doitu eskaera honen lehentasuna",
|
||||
"delivery_deadline": "Entregaren muga data",
|
||||
"special_instructions": "Hornitzailearentzako jarraibide bereziak...",
|
||||
"additional_info": "Informazio gehigarria edo jarraibide bereziak",
|
||||
"product": "Produktua",
|
||||
"sku": "SKU",
|
||||
"ordered_quantity": "Eskatutako Kopurua",
|
||||
"unit": "Unitatea",
|
||||
"unit_price_euro": "Unitate Prezioa (€)",
|
||||
"add_product": "Produktua Gehitu",
|
||||
"modify_quantities": "Aldatu kopuruak, unitateak eta prezioak behar den bezala",
|
||||
"at_least_one_product": "Mesedez, gehitu gutxienez produktu bat",
|
||||
"quantities_greater_zero": "Kopuru guztiak 0 baino handiagoak izan behar dira",
|
||||
"products_need_names": "Produktu guztiek izena izan behar dute",
|
||||
"priority_urgent": "Premiazkoa",
|
||||
"priority_high": "Altua",
|
||||
"priority_normal": "Normala",
|
||||
"priority_low": "Baxua",
|
||||
"unit_kg": "Kilogramoak",
|
||||
"unit_g": "Gramoak",
|
||||
"unit_l": "Litroak",
|
||||
"unit_ml": "Mililitroak",
|
||||
"unit_units": "Unitateak",
|
||||
"unit_boxes": "Kutxak",
|
||||
"unit_bags": "Poltsak",
|
||||
"status": {
|
||||
"draft": "Zirriborroa",
|
||||
"pending_approval": "Onarpenaren Zain",
|
||||
@@ -31,6 +75,8 @@
|
||||
"actions": {
|
||||
"approve": "Agindua Onartu",
|
||||
"modify": "Agindua Aldatu",
|
||||
"close": "Itxi"
|
||||
"close": "Itxi",
|
||||
"save": "Aldaketak Gorde",
|
||||
"cancel": "Ezeztatu"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user