Fix Demo enterprise
This commit is contained in:
172
shared/demo/fixtures/enterprise/parent/12-distribution.json
Normal file
172
shared/demo/fixtures/enterprise/parent/12-distribution.json
Normal file
@@ -0,0 +1,172 @@
|
||||
{
|
||||
"delivery_routes": [
|
||||
{
|
||||
"id": "60000000-0000-0000-0000-000000000001",
|
||||
"tenant_id": "80000000-0000-4000-a000-000000000001",
|
||||
"route_number": "MAD-BCN-001",
|
||||
"route_date": "BASE_TS + 2h",
|
||||
"vehicle_id": "VEH-MAD-01",
|
||||
"driver_id": "d2e3f4a5-b6c7-48d9-e0f1-a2b3c4d5e6f7",
|
||||
"total_distance_km": 620.5,
|
||||
"estimated_duration_minutes": 480,
|
||||
"status": "planned",
|
||||
"route_sequence": [
|
||||
{
|
||||
"stop_number": 1,
|
||||
"location_id": "80000000-0000-4000-a000-000000000001",
|
||||
"location_name": "Panadería Central - Madrid",
|
||||
"estimated_arrival": "BASE_TS + 2h",
|
||||
"actual_arrival": null,
|
||||
"latitude": 40.4168,
|
||||
"longitude": -3.7038
|
||||
},
|
||||
{
|
||||
"stop_number": 2,
|
||||
"location_id": "A0000000-0000-4000-a000-000000000001",
|
||||
"location_name": "Madrid Centro",
|
||||
"estimated_arrival": "BASE_TS + 6h",
|
||||
"actual_arrival": null,
|
||||
"latitude": 40.4168,
|
||||
"longitude": -3.7038
|
||||
},
|
||||
{
|
||||
"stop_number": 3,
|
||||
"location_id": "B0000000-0000-4000-a000-000000000001",
|
||||
"location_name": "Barcelona Gràcia",
|
||||
"estimated_arrival": "BASE_TS + 10h",
|
||||
"actual_arrival": null,
|
||||
"latitude": 41.4036,
|
||||
"longitude": 2.1561
|
||||
}
|
||||
],
|
||||
"notes": "Daily delivery route from Madrid to Barcelona with stop at Madrid Centro"
|
||||
},
|
||||
{
|
||||
"id": "60000000-0000-0000-0000-000000000002",
|
||||
"tenant_id": "80000000-0000-4000-a000-000000000001",
|
||||
"route_number": "MAD-VLC-001",
|
||||
"route_date": "BASE_TS + 3h",
|
||||
"vehicle_id": "VEH-MAD-02",
|
||||
"driver_id": "ae38accc-1ad4-410d-adbc-a55630908924",
|
||||
"total_distance_km": 355.3,
|
||||
"estimated_duration_minutes": 300,
|
||||
"status": "planned",
|
||||
"route_sequence": [
|
||||
{
|
||||
"stop_number": 1,
|
||||
"location_id": "80000000-0000-4000-a000-000000000001",
|
||||
"location_name": "Panadería Central - Madrid",
|
||||
"estimated_arrival": "BASE_TS + 3h",
|
||||
"actual_arrival": null,
|
||||
"latitude": 40.4168,
|
||||
"longitude": -3.7038
|
||||
},
|
||||
{
|
||||
"stop_number": 2,
|
||||
"location_id": "C0000000-0000-4000-a000-000000000001",
|
||||
"location_name": "Valencia Ruzafa",
|
||||
"estimated_arrival": "BASE_TS + 7h",
|
||||
"actual_arrival": null,
|
||||
"latitude": 39.4623,
|
||||
"longitude": -0.3645
|
||||
}
|
||||
],
|
||||
"notes": "Daily delivery route from Madrid to Valencia"
|
||||
}
|
||||
],
|
||||
"shipments": [
|
||||
{
|
||||
"id": "60000000-0000-0000-0000-000000000101",
|
||||
"tenant_id": "80000000-0000-4000-a000-000000000001",
|
||||
"parent_tenant_id": "80000000-0000-4000-a000-000000000001",
|
||||
"child_tenant_id": "A0000000-0000-4000-a000-000000000001",
|
||||
"purchase_order_id": "50000000-0000-0000-0000-0000000INT01",
|
||||
"delivery_route_id": "60000000-0000-0000-0000-000000000001",
|
||||
"shipment_number": "SHIP-MAD-001",
|
||||
"shipment_date": "BASE_TS + 2h30m",
|
||||
"status": "pending",
|
||||
"items": [
|
||||
{
|
||||
"product_id": "20000000-0000-0000-0000-000000000001",
|
||||
"product_name": "Pan de Cristal",
|
||||
"quantity": 150,
|
||||
"unit": "units",
|
||||
"weight_kg": 30.0
|
||||
},
|
||||
{
|
||||
"product_id": "20000000-0000-0000-0000-000000000002",
|
||||
"product_name": "Baguette Tradicional",
|
||||
"quantity": 200,
|
||||
"unit": "units",
|
||||
"weight_kg": 40.0
|
||||
}
|
||||
],
|
||||
"total_weight_kg": 70.0,
|
||||
"estimated_delivery_time": "BASE_TS + 6h30m",
|
||||
"actual_delivery_time": null,
|
||||
"notes": "Daily bread delivery to Madrid Centro"
|
||||
},
|
||||
{
|
||||
"id": "60000000-0000-0000-0000-000000000102",
|
||||
"tenant_id": "80000000-0000-4000-a000-000000000001",
|
||||
"parent_tenant_id": "80000000-0000-4000-a000-000000000001",
|
||||
"child_tenant_id": "B0000000-0000-4000-a000-000000000001",
|
||||
"purchase_order_id": "50000000-0000-0000-0000-0000000INT02",
|
||||
"delivery_route_id": "60000000-0000-0000-0000-000000000001",
|
||||
"shipment_number": "SHIP-BCN-001",
|
||||
"shipment_date": "BASE_TS + 2h45m",
|
||||
"status": "pending",
|
||||
"items": [
|
||||
{
|
||||
"product_id": "20000000-0000-0000-0000-000000000003",
|
||||
"product_name": "Croissant",
|
||||
"quantity": 300,
|
||||
"unit": "units",
|
||||
"weight_kg": 45.0
|
||||
},
|
||||
{
|
||||
"product_id": "20000000-0000-0000-0000-000000000004",
|
||||
"product_name": "Pain au Chocolat",
|
||||
"quantity": 250,
|
||||
"unit": "units",
|
||||
"weight_kg": 37.5
|
||||
}
|
||||
],
|
||||
"total_weight_kg": 82.5,
|
||||
"estimated_delivery_time": "BASE_TS + 10h30m",
|
||||
"actual_delivery_time": null,
|
||||
"notes": "Pastry delivery to Barcelona Gràcia"
|
||||
},
|
||||
{
|
||||
"id": "60000000-0000-0000-0000-000000000103",
|
||||
"tenant_id": "80000000-0000-4000-a000-000000000001",
|
||||
"parent_tenant_id": "80000000-0000-4000-a000-000000000001",
|
||||
"child_tenant_id": "C0000000-0000-4000-a000-000000000001",
|
||||
"purchase_order_id": "50000000-0000-0000-0000-0000000INT03",
|
||||
"delivery_route_id": "60000000-0000-0000-0000-000000000002",
|
||||
"shipment_number": "SHIP-VLC-001",
|
||||
"shipment_date": "BASE_TS + 3h30m",
|
||||
"status": "pending",
|
||||
"items": [
|
||||
{
|
||||
"product_id": "20000000-0000-0000-0000-000000000005",
|
||||
"product_name": "Ensaimada",
|
||||
"quantity": 100,
|
||||
"unit": "units",
|
||||
"weight_kg": 25.0
|
||||
},
|
||||
{
|
||||
"product_id": "20000000-0000-0000-0000-000000000006",
|
||||
"product_name": "Tarta de Santiago",
|
||||
"quantity": 50,
|
||||
"unit": "units",
|
||||
"weight_kg": 15.0
|
||||
}
|
||||
],
|
||||
"total_weight_kg": 40.0,
|
||||
"estimated_delivery_time": "BASE_TS + 7h45m",
|
||||
"actual_delivery_time": null,
|
||||
"notes": "Specialty pastry delivery to Valencia Ruzafa"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user