Merge remote-tracking branch 'origin/master'

master
FlayInAHook 4 years ago
commit 343a9b79e9

@ -7,6 +7,9 @@ fragment ProviderFieldsGeneral on Provider {
organisation { organisation {
id id
name name
address {
...AddressFields
}
contactInformation { contactInformation {
...ContactInformationFieldsGeneral ...ContactInformationFieldsGeneral
} }

@ -209,6 +209,10 @@ export class BikeComponent implements OnInit {
dataPath: 'provider.organisation.address.zip', dataPath: 'provider.organisation.address.zip',
translation: 'Postleitzahl', translation: 'Postleitzahl',
}, },
{
dataPath: 'provider.organisation.address.city',
translation: 'Ort',
},
], ],
}, },
{ {

@ -101,16 +101,42 @@ export class BikesComponent implements OnInit {
dataPath: 'taxes.organisationArea', dataPath: 'taxes.organisationArea',
translation: 'Steuern Vereinsbereich', translation: 'Steuern Vereinsbereich',
}, },
{ dataPath: 'provider.id', translation: '' }, { dataPath: 'provider.formName', translation: 'Anbieter Formular Name' },
{ 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: '' },
{ {
dataPath: 'provider.privatePerson.person.contactInformation.email', dataPath: 'provider.privatePerson.person.firstName',
translation: '', translation: 'Anbieter (Person) Vorname',
}, },
{
dataPath: 'provider.privatePerson.person.name',
translation: 'Anbieter (Person) Nachname',
link: (data) => {
return '/provider/' + data['provider.id'];
},
},
{
dataPath: 'provider.organisation.name',
translation: 'Anbieter (Organisation) Name',
link: (data) => {
return '/provider/' + data['provider.id'];
},
},
{
dataPath: 'provider.organisation.address.street',
translation: 'Straße',
},
{
dataPath: 'provider.organisation.address.number',
translation: 'Hausnummer',
},
{
dataPath: 'provider.organisation.address.zip',
translation: 'Postleitzahl',
},
{
dataPath: 'provider.organisation.address.city',
translation: 'Ort',
},
{ {
dataPath: 'lendingStation.name', dataPath: 'lendingStation.name',
translation: 'Standort', translation: 'Standort',

@ -2490,7 +2490,10 @@ export type PersonFieldsForPageFragment = (
export type ProviderFieldsGeneralFragment = { __typename?: 'Provider', id: string, formName?: Maybe<string>, privatePerson?: Maybe<( export type ProviderFieldsGeneralFragment = { __typename?: 'Provider', id: string, formName?: Maybe<string>, privatePerson?: Maybe<(
{ __typename?: 'ContactInformation' } { __typename?: 'ContactInformation' }
& ContactInformationFieldsGeneralFragment & ContactInformationFieldsGeneralFragment
)>, organisation?: Maybe<{ __typename?: 'Organisation', id: string, name: string, contactInformation?: Maybe<( )>, organisation?: Maybe<{ __typename?: 'Organisation', id: string, name: string, address?: Maybe<(
{ __typename?: 'Address' }
& AddressFieldsFragment
)>, contactInformation?: Maybe<(
{ __typename?: 'ContactInformation' } { __typename?: 'ContactInformation' }
& ContactInformationFieldsGeneralFragment & ContactInformationFieldsGeneralFragment
)> }> }; )> }> };
@ -3136,6 +3139,14 @@ export const ContactInformationFieldsGeneralFragmentDoc = gql`
note note
} }
${PersonFieldsGeneralFragmentDoc}`; ${PersonFieldsGeneralFragmentDoc}`;
export const AddressFieldsFragmentDoc = gql`
fragment AddressFields on Address {
street
number
zip
city
}
`;
export const ProviderFieldsGeneralFragmentDoc = gql` export const ProviderFieldsGeneralFragmentDoc = gql`
fragment ProviderFieldsGeneral on Provider { fragment ProviderFieldsGeneral on Provider {
id id
@ -3146,20 +3157,16 @@ export const ProviderFieldsGeneralFragmentDoc = gql`
organisation { organisation {
id id
name name
address {
...AddressFields
}
contactInformation { contactInformation {
...ContactInformationFieldsGeneral ...ContactInformationFieldsGeneral
} }
} }
} }
${ContactInformationFieldsGeneralFragmentDoc}`; ${ContactInformationFieldsGeneralFragmentDoc}
export const AddressFieldsFragmentDoc = gql` ${AddressFieldsFragmentDoc}`;
fragment AddressFields on Address {
street
number
zip
city
}
`;
export const OrganisationFieldsGeneralFragmentDoc = gql` export const OrganisationFieldsGeneralFragmentDoc = gql`
fragment OrganisationFieldsGeneral on Organisation { fragment OrganisationFieldsGeneral on Organisation {
id id

Loading…
Cancel
Save