Implement empty transport feature in DirectorInfo component

- Added functionality to allow directors to initiate empty transports without products, enhancing logistics management.
- Introduced a new transport form in the DirectorInfo component, enabling selection of vehicle types and target branches.
- Updated the i18n localization files to include new translations for the empty transport feature.
- Enhanced the BranchView to pass vehicle and branch data to the DirectorInfo component, ensuring proper functionality.
- This update aims to improve user experience and streamline transport operations within the application.
This commit is contained in:
Torsten Schulz (local)
2025-12-04 14:48:55 +01:00
parent e5ef334f7c
commit 98dea7dd39
6 changed files with 382 additions and 83 deletions

View File

@@ -151,7 +151,22 @@
"teach": "Weiterbilden",
"produce": "Darf produzieren",
"sell": "Darf verkaufen",
"starttransport": "Darf Transporte veranlassen"
"starttransport": "Darf Transporte veranlassen",
"emptyTransport": {
"title": "Transport ohne Produkte",
"description": "Bewege Transportmittel von dieser Niederlassung zu einer anderen, um sie besser zu nutzen.",
"vehicleType": "Fahrzeugtyp",
"selectVehicle": "Fahrzeugtyp auswählen",
"targetBranch": "Ziel-Niederlassung",
"selectTarget": "Ziel-Niederlassung auswählen",
"cost": "Kosten: {cost}",
"duration": "Dauer: {duration}",
"arrival": "Ankunft: {datetime}",
"route": "Route",
"create": "Transport starten",
"success": "Transport erfolgreich gestartet!",
"error": "Fehler beim Starten des Transportes."
}
},
"sale": {
"title": "Inventar",