Add vehicle repair functionality in Falukant module
- Implemented a new repairVehicle method in FalukantService to handle vehicle repairs, including cost calculation and precondition checks. - Updated FalukantController to expose the repairVehicle endpoint, allowing users to initiate repairs via the API. - Enhanced FalukantRouter to include a new route for vehicle repairs. - Modified BranchView component to add UI elements for repairing vehicles, including a dialog for repair confirmation and displaying repair details. - Updated German localization files to include translations related to vehicle repair actions, improving user experience for German-speaking users.
This commit is contained in:
@@ -316,7 +316,21 @@
|
||||
"noVehiclesSelected": "Keine Fahrzeuge ausgewählt.",
|
||||
"sendSuccess": "Fahrzeuge erfolgreich versendet!",
|
||||
"sendError": "Fehler beim Versenden der Fahrzeuge.",
|
||||
"cancel": "Abbrechen"
|
||||
"cancel": "Abbrechen",
|
||||
"close": "Schließen",
|
||||
"repair": "Reparieren",
|
||||
"repairTooltip": "Fahrzeug reparieren",
|
||||
"repairVehicleTitle": "Fahrzeug reparieren",
|
||||
"repairVehicleType": "Fahrzeugtyp",
|
||||
"repairCurrentCondition": "Aktueller Zustand",
|
||||
"repairCost": "Reparaturkosten",
|
||||
"repairBuildTime": "Reparaturdauer",
|
||||
"repairBuildTimeInstant": "Sofort",
|
||||
"repairBuildTimeHours": "Stunden",
|
||||
"repairBuildTimeMinutes": "Minuten",
|
||||
"repairConfirm": "Reparieren",
|
||||
"repairSuccess": "Fahrzeug wird repariert!",
|
||||
"repairError": "Fehler beim Reparieren des Fahrzeugs."
|
||||
},
|
||||
"stocktype": {
|
||||
"wood": "Holzlager",
|
||||
|
||||
Reference in New Issue
Block a user