Enhance vehicle transport functionality in FalukantService and update UI components
- Modified the createTransport method in FalukantService to support optional vehicleIds, allowing for more flexible vehicle selection. - Implemented logic to ensure that either specific vehicleIds or a vehicleTypeId must be provided, improving error handling for vehicle availability. - Updated the BranchView component to include new UI elements for sending vehicles, including buttons for sending single or multiple vehicles of the same type. - Added a modal dialog for selecting target branches when sending vehicles, enhancing user experience and streamlining transport operations. - Updated German localization files to include new translations related to vehicle actions and transport functionalities.
This commit is contained in:
@@ -295,13 +295,26 @@
|
||||
"mode": "Art",
|
||||
"speed": "Geschwindigkeit",
|
||||
"availableFrom": "Verfügbar ab",
|
||||
"status": "Status"
|
||||
"status": "Status",
|
||||
"actions": "Aktionen"
|
||||
},
|
||||
"status": {
|
||||
"inUse": "In Benutzung (mit Transport verknüpft)",
|
||||
"building": "Im Bau",
|
||||
"free": "Verfügbar"
|
||||
}
|
||||
},
|
||||
"send": "Versenden",
|
||||
"sendSingle": "Einzelnes Fahrzeug versenden",
|
||||
"sendAllFree": "Alle freien Fahrzeuge versenden",
|
||||
"sendAllOfType": "{count} × {type} versenden",
|
||||
"sendVehiclesTitle": "Fahrzeuge versenden",
|
||||
"selectTargetBranch": "Ziel-Niederlassung",
|
||||
"selectTarget": "Ziel-Niederlassung auswählen",
|
||||
"selectTargetError": "Bitte wähle eine Ziel-Niederlassung aus.",
|
||||
"noVehiclesSelected": "Keine Fahrzeuge ausgewählt.",
|
||||
"sendSuccess": "Fahrzeuge erfolgreich versendet!",
|
||||
"sendError": "Fehler beim Versenden der Fahrzeuge.",
|
||||
"cancel": "Abbrechen"
|
||||
},
|
||||
"stocktype": {
|
||||
"wood": "Holzlager",
|
||||
|
||||
Reference in New Issue
Block a user