Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | 2x | <ish-error-message [error]="error$ | async" />
<div class="container">
<ng-container *ngIf="configItems$ | async">
<div class="row list-header d-sm-flex">
<div class="col-md-3 list-header-item no-seperator">
{{ 'account.punchout.configuration.form.heading.attribute' | translate }}
</div>
<div class="col-md-3 list-header-item no-seperator">
{{ 'account.punchout.configuration.form.heading.transformed-attribute' | translate }}
<ng-template #OciConfigurationPlaceholder>
<ng-container *ngIf="availablePlaceholders$ | async as placeholders">
<div *ngFor="let placeholder of placeholders">{{ '{' + placeholder + '}' }}</div>
</ng-container>
</ng-template>
<button
type="button"
class="btn btn-link header-note details-tooltip"
[ngbPopover]="OciConfigurationPlaceholder"
placement="bottom"
[title]="'account.punchout.configuration.form.tooltip.placeholder.icon' | translate"
popoverTitle="{{ 'account.punchout.configuration.form.tooltip.placeholder.headline' | translate }}"
>
<fa-icon [icon]="['fas', 'info-circle']" />
</button>
</div>
<div class="col-md-3 list-header-item no-seperator">
{{ 'account.punchout.configuration.form.heading.mapping' | translate }}
<ng-template #OciConfigurationMapping>
<div
innerHTML="{{ 'account.punchout.configuration.form.tooltip.mapping.content' | translate }}"
class="list-position-outside"
></div>
</ng-template>
<button
type="button"
class="btn btn-link header-note details-tooltip"
[ngbPopover]="OciConfigurationMapping"
placement="bottom"
[title]="'account.punchout.configuration.form.tooltip.mapping.icon' | translate"
popoverTitle="{{ 'account.punchout.configuration.form.tooltip.mapping.headline' | translate }}"
>
<fa-icon [icon]="['fas', 'info-circle']" />
</button>
</div>
<div class="col-md-3 list-header-item no-seperator">
{{ 'account.punchout.configuration.form.heading.format' | translate }}
</div>
</div>
<form [formGroup]="form" ishFormSubmit #configForm="ngForm" (ngSubmit)="submitForm()" class="pt-1" novalidate>
<div class="list-body">
<formly-form [model]="model$ | async" [fields]="fields$ | async" [form]="form" class="pt-1" />
</div>
<div class="row">
<div class="button-group w-100 gx-0 clearfix">
<div class="float-md-end">
<div
*ngIf="form.invalid && configForm.submitted"
id="submit-button-help"
aria-live="polite"
class="visually-hidden"
>
{{ 'form.submit.validation.message' | translate }}
</div>
<button
type="submit"
class="btn btn-primary"
[attr.aria-describedby]="form.invalid && configForm.submitted ? 'submit-button-help' : null"
data-testing-id="update-oci-configuration"
>
{{ 'account.update.button.label' | translate }}
</button>
<a [routerLink]="['/account/punchout']" [queryParams]="{ format: 'oci' }" class="btn btn-secondary">{{
'account.cancel.link' | translate
}}</a>
</div>
<div class="float-md-start">
<a class="btn btn-link ps-md-0" [routerLink]="['/account/punchout']" [queryParams]="{ format: 'oci' }">{{
'account.punchout.configuration.back_to_list' | translate
}}</a>
</div>
</div>
</div>
</form>
</ng-container>
</div>
<ish-loading *ngIf="loading$ | async" />
|