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