|
|
@ -13,10 +13,10 @@ export class BikeComponent implements OnInit {
|
|
|
|
type: 'Group',
|
|
|
|
type: 'Group',
|
|
|
|
title: 'Allgemein',
|
|
|
|
title: 'Allgemein',
|
|
|
|
properties: [
|
|
|
|
properties: [
|
|
|
|
{ name: 'name', translation: 'Name' },
|
|
|
|
{ dataPath: 'name', translation: 'Name' },
|
|
|
|
{ name: 'id', translation: 'ID', readonly: true },
|
|
|
|
{ dataPath: 'id', translation: 'ID', readonly: true },
|
|
|
|
{ name: 'Group', translation: 'Gruppe' },
|
|
|
|
{ dataPath: 'Group', translation: 'Gruppe' },
|
|
|
|
{ name: 'modelName', translation: 'Modell' },
|
|
|
|
{ dataPath: 'modelName', translation: 'Modell' },
|
|
|
|
],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -24,96 +24,96 @@ export class BikeComponent implements OnInit {
|
|
|
|
title: 'Versicherungsdaten',
|
|
|
|
title: 'Versicherungsdaten',
|
|
|
|
properties: [
|
|
|
|
properties: [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'insuranceData.billing',
|
|
|
|
dataPath: 'insuranceData.billing',
|
|
|
|
translation: 'Versicherung Abrechnung',
|
|
|
|
translation: 'Versicherung Abrechnung',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{ name: 'insuranceData.hasFixedRate', translation: 'Pauschale j/n' },
|
|
|
|
{ dataPath: 'insuranceData.hasFixedRate', translation: 'Pauschale j/n' },
|
|
|
|
{ name: 'insuranceData.fixedRate', translation: 'Pauschale Betrag' },
|
|
|
|
{ dataPath: 'insuranceData.fixedRate', translation: 'Pauschale Betrag' },
|
|
|
|
{ name: 'insuranceData.name', translation: 'Versicherer' },
|
|
|
|
{ dataPath: 'insuranceData.name', translation: 'Versicherer' },
|
|
|
|
{ name: 'insuranceData.benefactor', translation: 'Kostenträger' },
|
|
|
|
{ dataPath: 'insuranceData.benefactor', translation: 'Kostenträger' },
|
|
|
|
{ name: 'insuranceData.noPnP', translation: 'Nr. P&P' },
|
|
|
|
{ dataPath: 'insuranceData.noPnP', translation: 'Nr. P&P' },
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'insuranceData.maintenanceResponsible',
|
|
|
|
dataPath: 'insuranceData.maintenanceResponsible',
|
|
|
|
translation: 'Wartung zuständig',
|
|
|
|
translation: 'Wartung zuständig',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'insuranceData.maintenanceBenefactor',
|
|
|
|
dataPath: 'insuranceData.maintenanceBenefactor',
|
|
|
|
translation: 'Wartung Kostenträger',
|
|
|
|
translation: 'Wartung Kostenträger',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'insuranceData.maintenanceAgreement',
|
|
|
|
dataPath: 'insuranceData.maintenanceAgreement',
|
|
|
|
translation: 'Wartungsvereinbarung',
|
|
|
|
translation: 'Wartungsvereinbarung',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'insuranceData.projectAllowance',
|
|
|
|
dataPath: 'insuranceData.projectAllowance',
|
|
|
|
translation: 'Projektzuschuss',
|
|
|
|
translation: 'Projektzuschuss',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{ name: 'insuranceData.notes', translation: 'Sonstiges' },
|
|
|
|
{ dataPath: 'insuranceData.notes', translation: 'Sonstiges' },
|
|
|
|
],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
type: 'Group',
|
|
|
|
type: 'Group',
|
|
|
|
title: 'Maße und Ladungen',
|
|
|
|
title: 'Maße und Ladungen',
|
|
|
|
properties: [
|
|
|
|
properties: [
|
|
|
|
{ name: 'dimensionsAndLoad.bikeLength', translation: 'Länge' },
|
|
|
|
{ dataPath: 'dimensionsAndLoad.bikeLength', translation: 'Länge' },
|
|
|
|
{ name: 'dimensionsAndLoad.bikeWeight', translation: 'Gewicht' },
|
|
|
|
{ dataPath: 'dimensionsAndLoad.bikeWeight', translation: 'Gewicht' },
|
|
|
|
{ name: 'dimensionsAndLoad.bikeHeight', translation: 'Höhe' },
|
|
|
|
{ dataPath: 'dimensionsAndLoad.bikeHeight', translation: 'Höhe' },
|
|
|
|
{ name: 'dimensionsAndLoad.bikeWidth', translation: 'Breite' },
|
|
|
|
{ dataPath: 'dimensionsAndLoad.bikeWidth', translation: 'Breite' },
|
|
|
|
{ name: 'dimensionsAndLoad.boxHeight', translation: 'Boxhöhe' },
|
|
|
|
{ dataPath: 'dimensionsAndLoad.boxHeight', translation: 'Boxhöhe' },
|
|
|
|
{ name: 'dimensionsAndLoad.boxLength', translation: 'Boxlänge' },
|
|
|
|
{ dataPath: 'dimensionsAndLoad.boxLength', translation: 'Boxlänge' },
|
|
|
|
{ name: 'dimensionsAndLoad.boxWidth', translation: 'Boxbreite' },
|
|
|
|
{ dataPath: 'dimensionsAndLoad.boxWidth', translation: 'Boxbreite' },
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'dimensionsAndLoad.hasCoverBox',
|
|
|
|
dataPath: 'dimensionsAndLoad.hasCoverBox',
|
|
|
|
translation: 'Boxabdeckung j/n',
|
|
|
|
translation: 'Boxabdeckung j/n',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{ name: 'dimensionsAndLoad.lockable', translation: 'Box abschließbar' },
|
|
|
|
{ dataPath: 'dimensionsAndLoad.lockable', translation: 'Box abschließbar' },
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'dimensionsAndLoad.maxWeightBox',
|
|
|
|
dataPath: 'dimensionsAndLoad.maxWeightBox',
|
|
|
|
translation: 'max Zuladung Box',
|
|
|
|
translation: 'max Zuladung Box',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'dimensionsAndLoad.maxWeightLuggageRack',
|
|
|
|
dataPath: 'dimensionsAndLoad.maxWeightLuggageRack',
|
|
|
|
translation: 'max Zuladung Gepäckträger',
|
|
|
|
translation: 'max Zuladung Gepäckträger',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'dimensionsAndLoad.maxWeightTotal',
|
|
|
|
dataPath: 'dimensionsAndLoad.maxWeightTotal',
|
|
|
|
translation: 'max Gesamtgewicht',
|
|
|
|
translation: 'max Gesamtgewicht',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{ name: 'numberOfChildren', translation: 'Anzahl Kinder' },
|
|
|
|
{ dataPath: 'numberOfChildren', translation: 'Anzahl Kinder' },
|
|
|
|
{ name: 'numberOfWheels', translation: 'Anzahl Räder' },
|
|
|
|
{ dataPath: 'numberOfWheels', translation: 'Anzahl Räder' },
|
|
|
|
{ name: 'forCargo', translation: 'für Lasten j/n' },
|
|
|
|
{ dataPath: 'forCargo', translation: 'für Lasten j/n' },
|
|
|
|
{ name: 'forChildren', translation: 'für Kinder j/n' },
|
|
|
|
{ dataPath: 'forChildren', translation: 'für Kinder j/n' },
|
|
|
|
],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
type: 'Group',
|
|
|
|
type: 'Group',
|
|
|
|
title: 'Sicherheitsinformationen',
|
|
|
|
title: 'Sicherheitsinformationen',
|
|
|
|
properties: [
|
|
|
|
properties: [
|
|
|
|
{ name: 'security.frameNumber', translation: 'Rahmennummer' },
|
|
|
|
{ dataPath: 'security.frameNumber', translation: 'Rahmennummer' },
|
|
|
|
{ name: 'security.adfcCoding', translation: 'ADFC Codierung' },
|
|
|
|
{ dataPath: 'security.adfcCoding', translation: 'ADFC Codierung' },
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'security.keyNumberAXAChain',
|
|
|
|
dataPath: 'security.keyNumberAXAChain',
|
|
|
|
translation: 'Schlüsselnrummer Rahmenschloss',
|
|
|
|
translation: 'Schlüsselnrummer Rahmenschloss',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'security.keyNumberFrameLock',
|
|
|
|
dataPath: 'security.keyNumberFrameLock',
|
|
|
|
translation: 'Schlüsselnrummer AXA-Kette',
|
|
|
|
translation: 'Schlüsselnrummer AXA-Kette',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{ name: 'security.policeCoding', translation: 'Polizei Codierung' },
|
|
|
|
{ dataPath: 'security.policeCoding', translation: 'Polizei Codierung' },
|
|
|
|
],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
type: 'Group',
|
|
|
|
type: 'Group',
|
|
|
|
title: 'Ausstattung',
|
|
|
|
title: 'Ausstattung',
|
|
|
|
properties: [
|
|
|
|
properties: [
|
|
|
|
{ name: 'technicalEquipment.bicycleShift', translation: 'Schaltung' },
|
|
|
|
{ dataPath: 'technicalEquipment.bicycleShift', translation: 'Schaltung' },
|
|
|
|
{ name: 'technicalEquipment.isEBike', translation: 'E-Bike j/n' },
|
|
|
|
{ dataPath: 'technicalEquipment.isEBike', translation: 'E-Bike j/n' },
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'technicalEquipment.hasLightSystem',
|
|
|
|
dataPath: 'technicalEquipment.hasLightSystem',
|
|
|
|
translation: 'Lichtanlage j/n',
|
|
|
|
translation: 'Lichtanlage j/n',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'technicalEquipment.specialFeatures',
|
|
|
|
dataPath: 'technicalEquipment.specialFeatures',
|
|
|
|
translation: 'Besonderheiten',
|
|
|
|
translation: 'Besonderheiten',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
|
|
@ -122,11 +122,11 @@ export class BikeComponent implements OnInit {
|
|
|
|
type: 'Group',
|
|
|
|
type: 'Group',
|
|
|
|
title: 'Sonstiges',
|
|
|
|
title: 'Sonstiges',
|
|
|
|
properties: [
|
|
|
|
properties: [
|
|
|
|
{ name: 'stickerBikeNameState', translation: 'Aufkleber Status' },
|
|
|
|
{ dataPath: 'stickerBikeNameState', translation: 'Aufkleber Status' },
|
|
|
|
{ name: 'note', translation: 'Aufkleber Kommentar' },
|
|
|
|
{ dataPath: 'note', translation: 'Aufkleber Kommentar' },
|
|
|
|
{ name: 'taxes.costCenter', translation: 'Steuern Kostenstelle' },
|
|
|
|
{ dataPath: 'taxes.costCenter', translation: 'Steuern Kostenstelle' },
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'taxes.organisationArea',
|
|
|
|
dataPath: 'taxes.organisationArea',
|
|
|
|
translation: 'Steuern Vereinsbereich',
|
|
|
|
translation: 'Steuern Vereinsbereich',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
|
|
@ -135,14 +135,14 @@ export class BikeComponent implements OnInit {
|
|
|
|
type: 'Group',
|
|
|
|
type: 'Group',
|
|
|
|
title: 'provider',
|
|
|
|
title: 'provider',
|
|
|
|
properties: [
|
|
|
|
properties: [
|
|
|
|
{ name: 'provider.id', translation: '' },
|
|
|
|
{ dataPath: 'provider.id', translation: '' },
|
|
|
|
{ name: 'provider.formName', translation: '' },
|
|
|
|
{ dataPath: 'provider.formName', translation: '' },
|
|
|
|
{ name: 'provider.privatePerson.id', translation: '' },
|
|
|
|
{ dataPath: 'provider.privatePerson.id', translation: '' },
|
|
|
|
{ name: 'provider.privatePerson.person.id', translation: '' },
|
|
|
|
{ dataPath: 'provider.privatePerson.person.id', translation: '' },
|
|
|
|
{ name: 'provider.privatePerson.person.name', translation: '' },
|
|
|
|
{ dataPath: 'provider.privatePerson.person.name', translation: '' },
|
|
|
|
{ name: 'provider.privatePerson.person.firstName', translation: '' },
|
|
|
|
{ dataPath: 'provider.privatePerson.person.firstName', translation: '' },
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'provider.privatePerson.person.contactInformation.email',
|
|
|
|
dataPath: 'provider.privatePerson.person.contactInformation.email',
|
|
|
|
translation: '',
|
|
|
|
translation: '',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
|
|
@ -151,19 +151,19 @@ export class BikeComponent implements OnInit {
|
|
|
|
type: 'Group',
|
|
|
|
type: 'Group',
|
|
|
|
title: 'lendingstation',
|
|
|
|
title: 'lendingstation',
|
|
|
|
properties: [
|
|
|
|
properties: [
|
|
|
|
{ name: 'lendingStation.id', translation: '' },
|
|
|
|
{ dataPath: 'lendingStation.id', translation: '' },
|
|
|
|
{ name: 'lendingStation.name', translation: '' },
|
|
|
|
{ dataPath: 'lendingStation.name', translation: '' },
|
|
|
|
{ name: 'lendingStation.address.number', translation: '' },
|
|
|
|
{ dataPath: 'lendingStation.address.number', translation: '' },
|
|
|
|
{ name: 'lendingStation.address.street', translation: '' },
|
|
|
|
{ dataPath: 'lendingStation.address.street', translation: '' },
|
|
|
|
{ name: 'lendingStation.address.zip', translation: '' },
|
|
|
|
{ dataPath: 'lendingStation.address.zip', translation: '' },
|
|
|
|
],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
type: 'ReferenceTable',
|
|
|
|
type: 'ReferenceTable',
|
|
|
|
title: 'Equipmenttypen',
|
|
|
|
title: 'Equipmenttypen',
|
|
|
|
name: 'equipmentType',
|
|
|
|
dataPath: 'equipmentType',
|
|
|
|
dataService: null,
|
|
|
|
dataService: null,
|
|
|
|
columnInfo: [{name: 'name', translation: "Name"}, {name: 'description', translation: "Beschreibung"}],
|
|
|
|
columnInfo: [{dataPath: 'name', translation: "Name"}, {dataPath: 'description', translation: "Beschreibung"}],
|
|
|
|
nameToShowInSelection: (element) => {return element.name},
|
|
|
|
nameToShowInSelection: (element) => {return element.name},
|
|
|
|
propertyNameOfUpdateInput: "equipmentTypeIds"
|
|
|
|
propertyNameOfUpdateInput: "equipmentTypeIds"
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -180,7 +180,7 @@ export class BikeComponent implements OnInit {
|
|
|
|
private equipmentTypeService: EquipmentTypeService
|
|
|
|
private equipmentTypeService: EquipmentTypeService
|
|
|
|
) {
|
|
|
|
) {
|
|
|
|
this.propertiesInfo.find(
|
|
|
|
this.propertiesInfo.find(
|
|
|
|
(prop) => prop.name === 'equipmentType'
|
|
|
|
(prop) => prop.dataPath === 'equipmentType'
|
|
|
|
).dataService = this.equipmentTypeService;
|
|
|
|
).dataService = this.equipmentTypeService;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|