|
|
|
@ -86,13 +86,6 @@ |
|
|
|
{{ 'asset.name-max-length' | translate }} |
|
|
|
</mat-error> |
|
|
|
</mat-form-field> |
|
|
|
<tb-asset-profile-autocomplete |
|
|
|
[selectDefaultProfile]="isAdd" |
|
|
|
required |
|
|
|
formControlName="assetProfileId" |
|
|
|
[showDetailsPageLink]="true" |
|
|
|
(assetProfileUpdated)="onAssetProfileUpdated()"> |
|
|
|
</tb-asset-profile-autocomplete> |
|
|
|
<mat-form-field class="mat-block"> |
|
|
|
<mat-label translate>asset.label</mat-label> |
|
|
|
<input matInput formControlName="label"> |
|
|
|
@ -100,6 +93,20 @@ |
|
|
|
{{ 'asset.label-max-length' | translate }} |
|
|
|
</mat-error> |
|
|
|
</mat-form-field> |
|
|
|
<tb-asset-profile-autocomplete |
|
|
|
[selectDefaultProfile]="isAdd" |
|
|
|
required |
|
|
|
formControlName="assetProfileId" |
|
|
|
[showDetailsPageLink]="true" |
|
|
|
(assetProfileUpdated)="onAssetProfileUpdated()"> |
|
|
|
</tb-asset-profile-autocomplete> |
|
|
|
<tb-entity-autocomplete |
|
|
|
*ngIf="isAdd" |
|
|
|
useFullEntityId |
|
|
|
formControlName="customerId" |
|
|
|
labelText="asset.customer-to-assign-asset" |
|
|
|
[entityType]="entityType.CUSTOMER"> |
|
|
|
</tb-entity-autocomplete> |
|
|
|
<div formGroupName="additionalInfo"> |
|
|
|
<mat-form-field class="mat-block"> |
|
|
|
<mat-label translate>asset.description</mat-label> |
|
|
|
|