| @@ -5376,6 +5376,14 @@ components: | |||||
| properties: | properties: | ||||
| name: | name: | ||||
| type: string | type: string | ||||
| navisionId: | |||||
| type: | |||||
| - integer | |||||
| - 'null' | |||||
| nameAddition: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| partnerType: | partnerType: | ||||
| type: string | type: string | ||||
| enum: | enum: | ||||
| @@ -5390,6 +5398,10 @@ components: | |||||
| type: | type: | ||||
| - string | - string | ||||
| - 'null' | - 'null' | ||||
| addressAddition: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| streetNo: | streetNo: | ||||
| type: | type: | ||||
| - string | - string | ||||
| @@ -5406,6 +5418,42 @@ components: | |||||
| type: | type: | ||||
| - string | - string | ||||
| - 'null' | - 'null' | ||||
| phone: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| language: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| currency: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| paymentCondition: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| deliveryCondition: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| businessGroup: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| vatBusinessGroup: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| creditLimit: | |||||
| type: | |||||
| - integer | |||||
| - 'null' | |||||
| routePoint: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| website: | website: | ||||
| type: | type: | ||||
| - string | - string | ||||
| @@ -5453,6 +5501,14 @@ components: | |||||
| format: iri-reference | format: iri-reference | ||||
| name: | name: | ||||
| type: string | type: string | ||||
| navisionId: | |||||
| type: | |||||
| - integer | |||||
| - 'null' | |||||
| nameAddition: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| partnerType: | partnerType: | ||||
| type: string | type: string | ||||
| enum: | enum: | ||||
| @@ -5467,6 +5523,10 @@ components: | |||||
| type: | type: | ||||
| - string | - string | ||||
| - 'null' | - 'null' | ||||
| addressAddition: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| streetNo: | streetNo: | ||||
| type: | type: | ||||
| - string | - string | ||||
| @@ -5483,6 +5543,42 @@ components: | |||||
| type: | type: | ||||
| - string | - string | ||||
| - 'null' | - 'null' | ||||
| phone: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| language: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| currency: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| paymentCondition: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| deliveryCondition: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| businessGroup: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| vatBusinessGroup: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| creditLimit: | |||||
| type: | |||||
| - integer | |||||
| - 'null' | |||||
| routePoint: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| website: | website: | ||||
| type: | type: | ||||
| - string | - string | ||||
| @@ -5544,6 +5640,14 @@ components: | |||||
| type: string | type: string | ||||
| name: | name: | ||||
| type: string | type: string | ||||
| navisionId: | |||||
| type: | |||||
| - integer | |||||
| - 'null' | |||||
| nameAddition: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| partnerType: | partnerType: | ||||
| type: string | type: string | ||||
| enum: | enum: | ||||
| @@ -5558,6 +5662,10 @@ components: | |||||
| type: | type: | ||||
| - string | - string | ||||
| - 'null' | - 'null' | ||||
| addressAddition: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| streetNo: | streetNo: | ||||
| type: | type: | ||||
| - string | - string | ||||
| @@ -5574,6 +5682,42 @@ components: | |||||
| type: | type: | ||||
| - string | - string | ||||
| - 'null' | - 'null' | ||||
| phone: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| language: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| currency: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| paymentCondition: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| deliveryCondition: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| businessGroup: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| vatBusinessGroup: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| creditLimit: | |||||
| type: | |||||
| - integer | |||||
| - 'null' | |||||
| routePoint: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| website: | website: | ||||
| type: | type: | ||||
| - string | - string | ||||
| @@ -6272,6 +6416,8 @@ components: | |||||
| deprecated: false | deprecated: false | ||||
| required: | required: | ||||
| - name | - name | ||||
| - blocked | |||||
| - inventory | |||||
| properties: | properties: | ||||
| name: | name: | ||||
| type: string | type: string | ||||
| @@ -6279,6 +6425,46 @@ components: | |||||
| type: | type: | ||||
| - string | - string | ||||
| - 'null' | - 'null' | ||||
| blocked: | |||||
| type: | |||||
| - boolean | |||||
| - 'null' | |||||
| inventory: | |||||
| type: | |||||
| - number | |||||
| - 'null' | |||||
| baseUnit: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| buyUnit: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| sellUnit: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| trackingCode: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| productGroup: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| customsPosition: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| productBookingGroup: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| vatProductBookingGroup: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| image: | image: | ||||
| type: | type: | ||||
| - string | - string | ||||
| @@ -6305,6 +6491,8 @@ components: | |||||
| deprecated: false | deprecated: false | ||||
| required: | required: | ||||
| - name | - name | ||||
| - blocked | |||||
| - inventory | |||||
| properties: | properties: | ||||
| _links: | _links: | ||||
| type: object | type: object | ||||
| @@ -6321,6 +6509,46 @@ components: | |||||
| type: | type: | ||||
| - string | - string | ||||
| - 'null' | - 'null' | ||||
| blocked: | |||||
| type: | |||||
| - boolean | |||||
| - 'null' | |||||
| inventory: | |||||
| type: | |||||
| - number | |||||
| - 'null' | |||||
| baseUnit: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| buyUnit: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| sellUnit: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| trackingCode: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| productGroup: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| customsPosition: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| productBookingGroup: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| vatProductBookingGroup: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| image: | image: | ||||
| type: | type: | ||||
| - string | - string | ||||
| @@ -6347,6 +6575,8 @@ components: | |||||
| deprecated: false | deprecated: false | ||||
| required: | required: | ||||
| - name | - name | ||||
| - blocked | |||||
| - inventory | |||||
| properties: | properties: | ||||
| '@context': | '@context': | ||||
| readOnly: true | readOnly: true | ||||
| @@ -6377,6 +6607,46 @@ components: | |||||
| type: | type: | ||||
| - string | - string | ||||
| - 'null' | - 'null' | ||||
| blocked: | |||||
| type: | |||||
| - boolean | |||||
| - 'null' | |||||
| inventory: | |||||
| type: | |||||
| - number | |||||
| - 'null' | |||||
| baseUnit: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| buyUnit: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| sellUnit: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| trackingCode: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| productGroup: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| customsPosition: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| productBookingGroup: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| vatProductBookingGroup: | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| image: | image: | ||||
| type: | type: | ||||
| - string | - string | ||||
| @@ -168,7 +168,26 @@ export class ListComponent implements OnInit, AfterViewInit { | |||||
| } | } | ||||
| if (column.address !== undefined) { | if (column.address !== undefined) { | ||||
| const field = column.address; | const field = column.address; | ||||
| return `${element[field.street]} ${element[field.streetNo]}<br/> ${element[field.zip]} ${element[field.city]} <br/> ${element[field.country]}`; | |||||
| let addressString = ''; | |||||
| if (element[field.street] !== undefined && element[field.street] !== null) { | |||||
| addressString += `${element[field.street].trim()} `; | |||||
| } | |||||
| if (element[field.streetNo] !== undefined && element[field.streetNo] !== null) { | |||||
| addressString += `${element[field.streetNo].trim()} `; | |||||
| } | |||||
| addressString += ' <br/> '; | |||||
| if (element[field.zip] !== undefined && element[field.zip] !== null) { | |||||
| addressString += `${element[field.zip].trim()} `; | |||||
| } | |||||
| if (element[field.city] !== undefined && element[field.city] !== null) { | |||||
| addressString += `${element[field.city].trim()}`; | |||||
| } | |||||
| addressString += ' <br/> '; | |||||
| if (element[field.country] !== undefined && element[field.country] !== null) { | |||||
| addressString += `${element[field.country].trim()}`; | |||||
| } | |||||
| return addressString; | |||||
| } | } | ||||
| return null; | return null; | ||||
| } | } | ||||
| @@ -167,13 +167,25 @@ export const mediaObjectJsonldMediaObjectReadForm = new FormGroup({ | |||||
| export const partnerForm = new FormGroup({ | export const partnerForm = new FormGroup({ | ||||
| name: new FormControl(null, [Validators.required]), | name: new FormControl(null, [Validators.required]), | ||||
| navisionId: new FormControl(null, []), | |||||
| nameAddition: new FormControl(null, []), | |||||
| partnerType: new FormControl(null, [Validators.required]), | partnerType: new FormControl(null, [Validators.required]), | ||||
| description: new FormControl(null, []), | description: new FormControl(null, []), | ||||
| street: new FormControl(null, []), | street: new FormControl(null, []), | ||||
| addressAddition: new FormControl(null, []), | |||||
| streetNo: new FormControl(null, []), | streetNo: new FormControl(null, []), | ||||
| zip: new FormControl(null, []), | zip: new FormControl(null, []), | ||||
| city: new FormControl(null, []), | city: new FormControl(null, []), | ||||
| country: new FormControl(null, []), | country: new FormControl(null, []), | ||||
| phone: new FormControl(null, []), | |||||
| language: new FormControl(null, []), | |||||
| currency: new FormControl(null, []), | |||||
| paymentCondition: new FormControl(null, []), | |||||
| deliveryCondition: new FormControl(null, []), | |||||
| businessGroup: new FormControl(null, []), | |||||
| vatBusinessGroup: new FormControl(null, []), | |||||
| creditLimit: new FormControl(null, []), | |||||
| routePoint: new FormControl(null, []), | |||||
| website: new FormControl(null, []), | website: new FormControl(null, []), | ||||
| logo: new FormControl(null, []), | logo: new FormControl(null, []), | ||||
| logoUrl: new FormControl(null, []), | logoUrl: new FormControl(null, []), | ||||
| @@ -184,13 +196,25 @@ export const partnerForm = new FormGroup({ | |||||
| export const partnerJsonhalForm = new FormGroup({ | export const partnerJsonhalForm = new FormGroup({ | ||||
| _links: new FormControl(null, []), | _links: new FormControl(null, []), | ||||
| name: new FormControl(null, [Validators.required]), | name: new FormControl(null, [Validators.required]), | ||||
| navisionId: new FormControl(null, []), | |||||
| nameAddition: new FormControl(null, []), | |||||
| partnerType: new FormControl(null, [Validators.required]), | partnerType: new FormControl(null, [Validators.required]), | ||||
| description: new FormControl(null, []), | description: new FormControl(null, []), | ||||
| street: new FormControl(null, []), | street: new FormControl(null, []), | ||||
| addressAddition: new FormControl(null, []), | |||||
| streetNo: new FormControl(null, []), | streetNo: new FormControl(null, []), | ||||
| zip: new FormControl(null, []), | zip: new FormControl(null, []), | ||||
| city: new FormControl(null, []), | city: new FormControl(null, []), | ||||
| country: new FormControl(null, []), | country: new FormControl(null, []), | ||||
| phone: new FormControl(null, []), | |||||
| language: new FormControl(null, []), | |||||
| currency: new FormControl(null, []), | |||||
| paymentCondition: new FormControl(null, []), | |||||
| deliveryCondition: new FormControl(null, []), | |||||
| businessGroup: new FormControl(null, []), | |||||
| vatBusinessGroup: new FormControl(null, []), | |||||
| creditLimit: new FormControl(null, []), | |||||
| routePoint: new FormControl(null, []), | |||||
| website: new FormControl(null, []), | website: new FormControl(null, []), | ||||
| logo: new FormControl(null, []), | logo: new FormControl(null, []), | ||||
| logoUrl: new FormControl(null, []), | logoUrl: new FormControl(null, []), | ||||
| @@ -200,13 +224,25 @@ export const partnerJsonhalForm = new FormGroup({ | |||||
| export const partnerJsonldForm = new FormGroup({ | export const partnerJsonldForm = new FormGroup({ | ||||
| name: new FormControl(null, [Validators.required]), | name: new FormControl(null, [Validators.required]), | ||||
| navisionId: new FormControl(null, []), | |||||
| nameAddition: new FormControl(null, []), | |||||
| partnerType: new FormControl(null, [Validators.required]), | partnerType: new FormControl(null, [Validators.required]), | ||||
| description: new FormControl(null, []), | description: new FormControl(null, []), | ||||
| street: new FormControl(null, []), | street: new FormControl(null, []), | ||||
| addressAddition: new FormControl(null, []), | |||||
| streetNo: new FormControl(null, []), | streetNo: new FormControl(null, []), | ||||
| zip: new FormControl(null, []), | zip: new FormControl(null, []), | ||||
| city: new FormControl(null, []), | city: new FormControl(null, []), | ||||
| country: new FormControl(null, []), | country: new FormControl(null, []), | ||||
| phone: new FormControl(null, []), | |||||
| language: new FormControl(null, []), | |||||
| currency: new FormControl(null, []), | |||||
| paymentCondition: new FormControl(null, []), | |||||
| deliveryCondition: new FormControl(null, []), | |||||
| businessGroup: new FormControl(null, []), | |||||
| vatBusinessGroup: new FormControl(null, []), | |||||
| creditLimit: new FormControl(null, []), | |||||
| routePoint: new FormControl(null, []), | |||||
| website: new FormControl(null, []), | website: new FormControl(null, []), | ||||
| logo: new FormControl(null, []), | logo: new FormControl(null, []), | ||||
| logoUrl: new FormControl(null, []), | logoUrl: new FormControl(null, []), | ||||
| @@ -349,6 +385,16 @@ export const postJsonldPostingCreateForm = new FormGroup({ | |||||
| export const productForm = new FormGroup({ | export const productForm = new FormGroup({ | ||||
| name: new FormControl(null, [Validators.required]), | name: new FormControl(null, [Validators.required]), | ||||
| description: new FormControl(null, []), | description: new FormControl(null, []), | ||||
| blocked: new FormControl(null, [Validators.required]), | |||||
| inventory: new FormControl(null, [Validators.required]), | |||||
| baseUnit: new FormControl(null, []), | |||||
| buyUnit: new FormControl(null, []), | |||||
| sellUnit: new FormControl(null, []), | |||||
| trackingCode: new FormControl(null, []), | |||||
| productGroup: new FormControl(null, []), | |||||
| customsPosition: new FormControl(null, []), | |||||
| productBookingGroup: new FormControl(null, []), | |||||
| vatProductBookingGroup: new FormControl(null, []), | |||||
| image: new FormControl(null, []), | image: new FormControl(null, []), | ||||
| imageUrl: new FormControl(null, []), | imageUrl: new FormControl(null, []), | ||||
| createdBy: new FormControl(null, []), | createdBy: new FormControl(null, []), | ||||
| @@ -359,6 +405,16 @@ export const productJsonhalForm = new FormGroup({ | |||||
| _links: new FormControl(null, []), | _links: new FormControl(null, []), | ||||
| name: new FormControl(null, [Validators.required]), | name: new FormControl(null, [Validators.required]), | ||||
| description: new FormControl(null, []), | description: new FormControl(null, []), | ||||
| blocked: new FormControl(null, [Validators.required]), | |||||
| inventory: new FormControl(null, [Validators.required]), | |||||
| baseUnit: new FormControl(null, []), | |||||
| buyUnit: new FormControl(null, []), | |||||
| sellUnit: new FormControl(null, []), | |||||
| trackingCode: new FormControl(null, []), | |||||
| productGroup: new FormControl(null, []), | |||||
| customsPosition: new FormControl(null, []), | |||||
| productBookingGroup: new FormControl(null, []), | |||||
| vatProductBookingGroup: new FormControl(null, []), | |||||
| image: new FormControl(null, []), | image: new FormControl(null, []), | ||||
| imageUrl: new FormControl(null, []), | imageUrl: new FormControl(null, []), | ||||
| createdBy: new FormControl(null, []), | createdBy: new FormControl(null, []), | ||||
| @@ -368,6 +424,16 @@ export const productJsonhalForm = new FormGroup({ | |||||
| export const productJsonldForm = new FormGroup({ | export const productJsonldForm = new FormGroup({ | ||||
| name: new FormControl(null, [Validators.required]), | name: new FormControl(null, [Validators.required]), | ||||
| description: new FormControl(null, []), | description: new FormControl(null, []), | ||||
| blocked: new FormControl(null, [Validators.required]), | |||||
| inventory: new FormControl(null, [Validators.required]), | |||||
| baseUnit: new FormControl(null, []), | |||||
| buyUnit: new FormControl(null, []), | |||||
| sellUnit: new FormControl(null, []), | |||||
| trackingCode: new FormControl(null, []), | |||||
| productGroup: new FormControl(null, []), | |||||
| customsPosition: new FormControl(null, []), | |||||
| productBookingGroup: new FormControl(null, []), | |||||
| vatProductBookingGroup: new FormControl(null, []), | |||||
| image: new FormControl(null, []), | image: new FormControl(null, []), | ||||
| imageUrl: new FormControl(null, []), | imageUrl: new FormControl(null, []), | ||||
| createdBy: new FormControl(null, []), | createdBy: new FormControl(null, []), | ||||
| @@ -4,27 +4,34 @@ | |||||
| <div class="spt-col col-12 col-sm-6 col-lg-8"> | <div class="spt-col col-12 col-sm-6 col-lg-8"> | ||||
| <div class="row"> | <div class="row"> | ||||
| <div class="col-12 col-lg-6"> | <div class="col-12 col-lg-6"> | ||||
| <h1>{{ partner.name }}</h1> | |||||
| <h1>{{ partner.name }} - {{partner.nameAddition}}</h1> | |||||
| <p>{{ partner.street }} {{ partner.streetNo }}<br/> | <p>{{ partner.street }} {{ partner.streetNo }}<br/> | ||||
| {{ partner.zip }} {{ partner.city }}<br/> | {{ partner.zip }} {{ partner.city }}<br/> | ||||
| {{ partner.country }}</p> | {{ partner.country }}</p> | ||||
| <p>Sprache: Deutsch</p> | |||||
| <p>Sprache: {{ partner.language }}</p> | |||||
| </div> | </div> | ||||
| <div class="col-12 col-lg-6"> | <div class="col-12 col-lg-6"> | ||||
| <h2>10002</h2> | |||||
| <h2>Navision id: {{ partner?.navisionId !== undefined ? partner?.navisionId : '-' }}</h2> | |||||
| <dl> | <dl> | ||||
| <dt>Telefon:</dt> | <dt>Telefon:</dt> | ||||
| <dd>0177 289 23 02</dd> | |||||
| <dd>{{ partner.phone }}</dd> | |||||
| <dt>Website:</dt> | <dt>Website:</dt> | ||||
| <dd><a href="{{partner.website}}" target="_blank">{{ partner.website }}</a></dd> | <dd><a href="{{partner.website}}" target="_blank">{{ partner.website }}</a></dd> | ||||
| <dt>Streckenpunkt:</dt> | |||||
| <dd>AT-Salzburg</dd> | |||||
| <dt>Geschäftsbuchungsgruppe:</dt> | <dt>Geschäftsbuchungsgruppe:</dt> | ||||
| <dd>DE-EU</dd> | |||||
| <dd>{{partner.businessGroup}}</dd> | |||||
| <dt>MwSt.-Geschäftsbuchungsgruppe:</dt> | <dt>MwSt.-Geschäftsbuchungsgruppe:</dt> | ||||
| <dd>DE-DE</dd> | |||||
| <dt>Kreditlimit:</dt> | |||||
| <dd>50.000 €</dd> | |||||
| <dd>{{partner.vatBusinessGroup}}</dd> | |||||
| <ng-container *ngIf="partner.partnerType === PartnerJsonld.PartnerTypeEnum.Customer"> | |||||
| <dt>Lieferbedingungscode:</dt> | |||||
| <dd>{{partner.deliveryCondition}}</dd> | |||||
| </ng-container> | |||||
| <ng-container *ngIf="partner.partnerType === PartnerJsonld.PartnerTypeEnum.Supplier"> | |||||
| <dt>Kreditlimit:</dt> | |||||
| <dd>{{partner.creditLimit}}</dd> | |||||
| <dt>Streckenpunkt:</dt> | |||||
| <dd>{{partner.routePoint}}</dd> | |||||
| </ng-container> | |||||
| </dl> | </dl> | ||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| @@ -128,4 +128,7 @@ export class PartnersDetailComponent implements OnInit, AfterViewInit { | |||||
| openModalEditPartner() { | openModalEditPartner() { | ||||
| this.appHelperService.openModal(NewPartnerComponent, {'partner': this.partner}, this.getData); | this.appHelperService.openModal(NewPartnerComponent, {'partner': this.partner}, this.getData); | ||||
| } | } | ||||
| protected readonly PartnerJsonld = PartnerJsonld; | |||||
| } | } | ||||
| @@ -12,7 +12,7 @@ | |||||
| <div class="mb-3"> | <div class="mb-3"> | ||||
| <label for="partner" class="form-label">{{ 'form.partner' | translate }}:</label> | <label for="partner" class="form-label">{{ 'form.partner' | translate }}:</label> | ||||
| <input type="text" class="form-control" value="{{partner.name}}" id="partner" disabled/> | |||||
| <input type="text" class="form-control" value="{{partner?.name}}" id="partner" disabled/> | |||||
| </div> | </div> | ||||
| <div class="mb-3"> | <div class="mb-3"> | ||||
| @@ -6,15 +6,15 @@ | |||||
| <p>{{ product.description }}</p> | <p>{{ product.description }}</p> | ||||
| <dl> | <dl> | ||||
| <dt>Lagerbestand:</dt> | <dt>Lagerbestand:</dt> | ||||
| <dd>376512 KG</dd> | |||||
| <dd>{{ product.inventory }} {{ product.baseUnit }}</dd> | |||||
| <dt>Gesperrt:</dt> | <dt>Gesperrt:</dt> | ||||
| <dd>Nein</dd> | |||||
| <dd>{{ product.blocked ? ('basic.yes' | translate) : ('basic.no' | translate) }}</dd> | |||||
| <dt>Einkaufseinheitencode:</dt> | <dt>Einkaufseinheitencode:</dt> | ||||
| <dd>Dose</dd> | |||||
| <dd>{{ product.buyUnit }}</dd> | |||||
| <dt>Verkaufseinkaufseinheitencode:</dt> | <dt>Verkaufseinkaufseinheitencode:</dt> | ||||
| <dd>Dose</dd> | |||||
| <dd>{{ product.sellUnit }}</dd> | |||||
| <dt>Zollposition:</dt> | <dt>Zollposition:</dt> | ||||
| <dd>234856372</dd> | |||||
| <dd>{{ product.customsPosition }}</dd> | |||||
| </dl> | </dl> | ||||
| </div> | </div> | ||||
| <div class="col-12 col-sm-6 col-lg-4 has-image"> | <div class="col-12 col-sm-6 col-lg-4 has-image"> | ||||
| @@ -16,13 +16,25 @@ | |||||
| */ | */ | ||||
| export interface Partner { | export interface Partner { | ||||
| name: string; | name: string; | ||||
| navisionId?: number | null; | |||||
| nameAddition?: string | null; | |||||
| partnerType: Partner.PartnerTypeEnum; | partnerType: Partner.PartnerTypeEnum; | ||||
| description?: string | null; | description?: string | null; | ||||
| street?: string | null; | street?: string | null; | ||||
| addressAddition?: string | null; | |||||
| streetNo?: string | null; | streetNo?: string | null; | ||||
| zip?: string | null; | zip?: string | null; | ||||
| city?: string | null; | city?: string | null; | ||||
| country?: string | null; | country?: string | null; | ||||
| phone?: string | null; | |||||
| language?: string | null; | |||||
| currency?: string | null; | |||||
| paymentCondition?: string | null; | |||||
| deliveryCondition?: string | null; | |||||
| businessGroup?: string | null; | |||||
| vatBusinessGroup?: string | null; | |||||
| creditLimit?: number | null; | |||||
| routePoint?: string | null; | |||||
| website?: string | null; | website?: string | null; | ||||
| logo?: string | null; | logo?: string | null; | ||||
| readonly logoUrl?: string | null; | readonly logoUrl?: string | null; | ||||
| @@ -18,13 +18,25 @@ import { CommentJsonhalLinks } from './commentJsonhalLinks'; | |||||
| export interface PartnerJsonhal { | export interface PartnerJsonhal { | ||||
| _links?: CommentJsonhalLinks; | _links?: CommentJsonhalLinks; | ||||
| name: string; | name: string; | ||||
| navisionId?: number | null; | |||||
| nameAddition?: string | null; | |||||
| partnerType: PartnerJsonhal.PartnerTypeEnum; | partnerType: PartnerJsonhal.PartnerTypeEnum; | ||||
| description?: string | null; | description?: string | null; | ||||
| street?: string | null; | street?: string | null; | ||||
| addressAddition?: string | null; | |||||
| streetNo?: string | null; | streetNo?: string | null; | ||||
| zip?: string | null; | zip?: string | null; | ||||
| city?: string | null; | city?: string | null; | ||||
| country?: string | null; | country?: string | null; | ||||
| phone?: string | null; | |||||
| language?: string | null; | |||||
| currency?: string | null; | |||||
| paymentCondition?: string | null; | |||||
| deliveryCondition?: string | null; | |||||
| businessGroup?: string | null; | |||||
| vatBusinessGroup?: string | null; | |||||
| creditLimit?: number | null; | |||||
| routePoint?: string | null; | |||||
| website?: string | null; | website?: string | null; | ||||
| logo?: string | null; | logo?: string | null; | ||||
| readonly logoUrl?: string | null; | readonly logoUrl?: string | null; | ||||
| @@ -20,13 +20,25 @@ export interface PartnerJsonld { | |||||
| readonly id?: string; | readonly id?: string; | ||||
| readonly type?: string; | readonly type?: string; | ||||
| name: string; | name: string; | ||||
| navisionId?: number | null; | |||||
| nameAddition?: string | null; | |||||
| partnerType: PartnerJsonld.PartnerTypeEnum; | partnerType: PartnerJsonld.PartnerTypeEnum; | ||||
| description?: string | null; | description?: string | null; | ||||
| street?: string | null; | street?: string | null; | ||||
| addressAddition?: string | null; | |||||
| streetNo?: string | null; | streetNo?: string | null; | ||||
| zip?: string | null; | zip?: string | null; | ||||
| city?: string | null; | city?: string | null; | ||||
| country?: string | null; | country?: string | null; | ||||
| phone?: string | null; | |||||
| language?: string | null; | |||||
| currency?: string | null; | |||||
| paymentCondition?: string | null; | |||||
| deliveryCondition?: string | null; | |||||
| businessGroup?: string | null; | |||||
| vatBusinessGroup?: string | null; | |||||
| creditLimit?: number | null; | |||||
| routePoint?: string | null; | |||||
| website?: string | null; | website?: string | null; | ||||
| logo?: string | null; | logo?: string | null; | ||||
| readonly logoUrl?: string | null; | readonly logoUrl?: string | null; | ||||
| @@ -18,6 +18,16 @@ import { User } from './user'; | |||||
| export interface Product { | export interface Product { | ||||
| name: string; | name: string; | ||||
| description?: string | null; | description?: string | null; | ||||
| blocked: boolean | null; | |||||
| inventory: number | null; | |||||
| baseUnit?: string | null; | |||||
| buyUnit?: string | null; | |||||
| sellUnit?: string | null; | |||||
| trackingCode?: string | null; | |||||
| productGroup?: string | null; | |||||
| customsPosition?: string | null; | |||||
| productBookingGroup?: string | null; | |||||
| vatProductBookingGroup?: string | null; | |||||
| image?: string | null; | image?: string | null; | ||||
| readonly imageUrl?: string | null; | readonly imageUrl?: string | null; | ||||
| /** | /** | ||||
| @@ -20,6 +20,16 @@ export interface ProductJsonhal { | |||||
| _links?: CommentJsonhalLinks; | _links?: CommentJsonhalLinks; | ||||
| name: string; | name: string; | ||||
| description?: string | null; | description?: string | null; | ||||
| blocked: boolean | null; | |||||
| inventory: number | null; | |||||
| baseUnit?: string | null; | |||||
| buyUnit?: string | null; | |||||
| sellUnit?: string | null; | |||||
| trackingCode?: string | null; | |||||
| productGroup?: string | null; | |||||
| customsPosition?: string | null; | |||||
| productBookingGroup?: string | null; | |||||
| vatProductBookingGroup?: string | null; | |||||
| image?: string | null; | image?: string | null; | ||||
| readonly imageUrl?: string | null; | readonly imageUrl?: string | null; | ||||
| /** | /** | ||||
| @@ -22,6 +22,16 @@ export interface ProductJsonld { | |||||
| readonly type?: string; | readonly type?: string; | ||||
| name: string; | name: string; | ||||
| description?: string | null; | description?: string | null; | ||||
| blocked: boolean | null; | |||||
| inventory: number | null; | |||||
| baseUnit?: string | null; | |||||
| buyUnit?: string | null; | |||||
| sellUnit?: string | null; | |||||
| trackingCode?: string | null; | |||||
| productGroup?: string | null; | |||||
| customsPosition?: string | null; | |||||
| productBookingGroup?: string | null; | |||||
| vatProductBookingGroup?: string | null; | |||||
| image?: string | null; | image?: string | null; | ||||
| readonly imageUrl?: string | null; | readonly imageUrl?: string | null; | ||||
| /** | /** | ||||
| @@ -54,7 +54,9 @@ | |||||
| "comment-it": "Kommentieren", | "comment-it": "Kommentieren", | ||||
| "show-comments": "Kommentare anzeigen", | "show-comments": "Kommentare anzeigen", | ||||
| "hide-comments": "Kommentare ausblenden", | "hide-comments": "Kommentare ausblenden", | ||||
| "back": "Zurück" | |||||
| "back": "Zurück", | |||||
| "yes": "Ja", | |||||
| "no": "Nein" | |||||
| }, | }, | ||||
| "user": | "user": | ||||
| { | { | ||||