Improve te panel de control logic

This commit is contained in:
Urtzi Alfaro
2025-11-21 16:15:09 +01:00
parent 2ee94fb4b1
commit 3242c8d837
21 changed files with 2805 additions and 696 deletions

View File

@@ -1,6 +1,7 @@
{
"purchaseOrder": {
"low_stock_detection": "Low stock for {supplier_name}. Current stock of {product_names_joined} will run out in {days_until_stockout} days.",
"low_stock_detection_detailed": "{critical_product_count, plural, =1 {{critical_products_0} will deplete in {min_depletion_hours} hours} other {{critical_product_count} critical items running low}}. With {supplier_name}'s {supplier_lead_time_days}-day delivery, we must order {order_urgency, select, critical {IMMEDIATELY} urgent {TODAY} important {soon} other {now}} to prevent {affected_batches_count, plural, =0 {production delays} =1 {disruption to {affected_batches_0}} other {{affected_batches_count} batch disruptions}}{potential_loss_eur, select, 0 {} other { (€{potential_loss_eur} at risk)}}.",
"forecast_demand": "Order scheduled based on {forecast_period_days}-day demand forecast for {product_names_joined} from {supplier_name}.",
"safety_stock_replenishment": "Replenishing safety stock for {product_names_joined} from {supplier_name}.",
"supplier_contract": "Scheduled order per contract with {supplier_name}.",
@@ -108,8 +109,8 @@
"title": "Last Night I Planned Your Day",
"ready_to_plan": "Ready to Plan Your Bakery Day",
"run_planning": "Run Daily Planning",
"run_info": "Orchestration run #{{runNumber}}",
"took": "Took {{seconds}}s",
"run_info": "Orchestration run #{runNumber}",
"took": "Took {seconds}s",
"created_pos": "Created {count} purchase order{count, plural, one {} other {s}}",
"scheduled_batches": "Scheduled {count} production batch{count, plural, one {} other {es}}",
"show_more": "Show {count} more",