@seniorsistemas/yms-integration 1.22.0 → 1.23.0-c9dd79ae-4dab-4952-982d-6f13fd198efb
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/seniorsistemas-yms-integration.umd.js +10 -6
- package/bundles/seniorsistemas-yms-integration.umd.js.map +1 -1
- package/bundles/seniorsistemas-yms-integration.umd.min.js +1 -1
- package/bundles/seniorsistemas-yms-integration.umd.min.js.map +1 -1
- package/esm2015/src/wms/components/document-grid/document-grid.component.js +3 -3
- package/esm2015/src/wms/components/document-grid/register-document/register-document.component.js +4 -4
- package/esm2015/src/wms/entities/document/document-dto.js +1 -1
- package/esm2015/src/wms/entities/document/document.js +2 -2
- package/esm2015/src/wms/form/form-wms.component.js +6 -2
- package/esm5/src/wms/components/document-grid/document-grid.component.js +3 -3
- package/esm5/src/wms/components/document-grid/register-document/register-document.component.js +4 -4
- package/esm5/src/wms/entities/document/document-dto.js +1 -1
- package/esm5/src/wms/entities/document/document.js +2 -2
- package/esm5/src/wms/form/form-wms.component.js +6 -2
- package/fesm2015/seniorsistemas-yms-integration.js +11 -7
- package/fesm2015/seniorsistemas-yms-integration.js.map +1 -1
- package/fesm5/seniorsistemas-yms-integration.js +11 -7
- package/fesm5/seniorsistemas-yms-integration.js.map +1 -1
- package/package.json +1 -1
- package/seniorsistemas-yms-integration.metadata.json +1 -1
- package/src/wms/entities/document/document-dto.d.ts +3 -1
- package/src/wms/entities/document/document.d.ts +3 -1
|
@@ -23,7 +23,7 @@ var Document = /** @class */ (function () {
|
|
|
23
23
|
"partnerName",
|
|
24
24
|
"partnerDocument",
|
|
25
25
|
"notes",
|
|
26
|
-
"
|
|
26
|
+
"code",
|
|
27
27
|
"createdBy",
|
|
28
28
|
"createdDate",
|
|
29
29
|
"lastModifiedBy",
|
|
@@ -41,4 +41,4 @@ var Document = /** @class */ (function () {
|
|
|
41
41
|
return Document;
|
|
42
42
|
}());
|
|
43
43
|
export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JzY2hlZHVsaW5nSWRcIixcbiAgICAgICAgICAgIFwiaW52b2ljZUtleVwiLFxuICAgICAgICAgICAgXCJpbnZvaWNlTnVtYmVyXCIsXG4gICAgICAgICAgICBcImludm9pY2VTZXJpYWxOdW1iZXJcIixcbiAgICAgICAgICAgIFwic3lzdGVtSW50ZWdyYXRpb25cIixcbiAgICAgICAgICAgIFwibG9naXN0Y1VuaXROYW1lXCIsXG4gICAgICAgICAgICBcImxvZ2lzdGNVbml0RG9jdW1lbnRcIixcbiAgICAgICAgICAgIFwib3duZXJOYW1lXCIsXG4gICAgICAgICAgICBcIm93bmVyRG9jdW1lbnRcIixcbiAgICAgICAgICAgIFwicGFydG5lck5hbWVcIixcbiAgICAgICAgICAgIFwicGFydG5lckRvY3VtZW50XCIsXG4gICAgICAgICAgICBcIm5vdGVzXCIsXG4gICAgICAgICAgICBcImNvZGVcIixcbiAgICAgICAgICAgIFwiY3JlYXRlZEJ5XCIsXG4gICAgICAgICAgICBcImNyZWF0ZWREYXRlXCIsXG4gICAgICAgICAgICBcImxhc3RNb2RpZmllZEJ5XCIsXG4gICAgICAgICAgICBcImxhc3RNb2RpZmllZERhdGVcIixcbiAgICAgICAgXTtcblxuICAgICAgICBtb2RlbC5sYWJlbCA9IGRpc3BsYXlGaWVsZHMubWFwKGZpZWxkID0+IG1vZGVsW2ZpZWxkXSkuam9pbihsb29rdXBTZXBhcmF0b3IpO1xuXG4gICAgICAgIHJldHVybiBtb2RlbCBhcyBEb2N1bWVudDtcbiAgICB9XG5cbiAgICBwdWJsaWMgc3RhdGljIHRvRHRvKGRvY3VtZW50OiBEb2N1bWVudCwgb3JpZ2luRW50aXR5Pzogc3RyaW5nKTogRG9jdW1lbnREdG8ge1xuICAgICAgICBjb25zdCBkdG86IGFueSA9IHsgLi4uZG9jdW1lbnQgfTtcblxuICAgICAgICBkdG8uY3JlYXRlZERhdGUgPSBkdG8uY3JlYXRlZERhdGUgJiYgbW9tZW50KGR0by5jcmVhdGVkRGF0ZSkuZm9ybWF0KCk7XG4gICAgICAgIGR0by5sYXN0TW9kaWZpZWREYXRlID0gZHRvLmxhc3RNb2RpZmllZERhdGUgJiYgbW9tZW50KGR0by5sYXN0TW9kaWZpZWREYXRlKS5mb3JtYXQoKTtcblxuICAgICAgICByZXR1cm4gZHRvO1xuICAgIH1cbn1cbiJdfQ==
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as tslib_1 from "tslib";
|
|
2
2
|
import { Agenda } from './../../erp-senior/core/entities/agenda/agenda';
|
|
3
3
|
import { Component, Output, Input } from "@angular/core";
|
|
4
|
-
import { ChegadaVeiculo, IntegrationEventsCallback } from "@seniorsistemas/yms-routines";
|
|
4
|
+
import { Agendamento, ChegadaVeiculo, IntegrationEventsCallback } from "@seniorsistemas/yms-routines";
|
|
5
5
|
import { Subject, empty } from "rxjs";
|
|
6
6
|
import { mergeMap, takeUntil } from 'rxjs/operators';
|
|
7
7
|
export var INFORMACAOES_ADICIONAIS_HEADER = "Informações adicionais";
|
|
@@ -9,6 +9,10 @@ var FormWmsDescritor = /** @class */ (function () {
|
|
|
9
9
|
function FormWmsDescritor() {
|
|
10
10
|
}
|
|
11
11
|
FormWmsDescritor = tslib_1.__decorate([
|
|
12
|
+
Agendamento({
|
|
13
|
+
header: INFORMACAOES_ADICIONAIS_HEADER,
|
|
14
|
+
name: 'yms.integracao.wms'
|
|
15
|
+
}),
|
|
12
16
|
ChegadaVeiculo({
|
|
13
17
|
header: INFORMACAOES_ADICIONAIS_HEADER,
|
|
14
18
|
name: 'yms.integracao.wms',
|
|
@@ -60,4 +64,4 @@ var FormWmsComponent = /** @class */ (function (_super) {
|
|
|
60
64
|
return FormWmsComponent;
|
|
61
65
|
}(FormWmsDescritor));
|
|
62
66
|
export { FormWmsComponent };
|
|
63
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
67
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS13bXMuY29tcG9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XG4gICAgICAgICAgICB9KVxuICAgICAgICApXG4gICAgICAgIC5zdWJzY3JpYmUoKTtcbiAgICB9XG5cbiAgICBuZ09uRGVzdHJveSgpIHtcbiAgICAgICAgdGhpcy51bnN1YnNjcmliZSQubmV4dCgpO1xuICAgICAgICB0aGlzLnVuc3Vic2NyaWJlJC5jb21wbGV0ZSgpO1xuICAgIH1cbn1cbiJdfQ==
|
|
@@ -9,7 +9,7 @@ import { MessageModule } from 'primeng/message';
|
|
|
9
9
|
import { TableModule, Table } from 'primeng/table';
|
|
10
10
|
import { HttpParams, HttpClient, HttpClientModule } from '@angular/common/http';
|
|
11
11
|
import { MessageService, DynamicDialogRef, DynamicDialogConfig, DialogService, ConfirmationService } from 'primeng/api';
|
|
12
|
-
import { ControleCircuito, ControleOperacao, IntegrationDispatcher, CircuitoFinalizado, ControleUnificado, ChegadaVeiculo, IntegrationEventsCallback, IntegrationModule,
|
|
12
|
+
import { ControleCircuito, ControleOperacao, IntegrationDispatcher, CircuitoFinalizado, ControleUnificado, ChegadaVeiculo, IntegrationEventsCallback, IntegrationModule, Agendamento, ChegadaVeiculoOverride } from '@seniorsistemas/yms-routines';
|
|
13
13
|
import { trigger, state, style, transition, animate } from '@angular/animations';
|
|
14
14
|
import { PermissionsModule } from '@seniorsistemas/platform-components';
|
|
15
15
|
import { StompConfig, StompService } from '@stomp/ng2-stompjs';
|
|
@@ -2799,6 +2799,10 @@ const INFORMACAOES_ADICIONAIS_HEADER = "Informações adicionais";
|
|
|
2799
2799
|
let FormWmsDescritor = class FormWmsDescritor {
|
|
2800
2800
|
};
|
|
2801
2801
|
FormWmsDescritor = __decorate([
|
|
2802
|
+
Agendamento({
|
|
2803
|
+
header: INFORMACAOES_ADICIONAIS_HEADER,
|
|
2804
|
+
name: 'yms.integracao.wms'
|
|
2805
|
+
}),
|
|
2802
2806
|
ChegadaVeiculo({
|
|
2803
2807
|
header: INFORMACAOES_ADICIONAIS_HEADER,
|
|
2804
2808
|
name: 'yms.integracao.wms',
|
|
@@ -2982,7 +2986,7 @@ let DocumentGridComponent = class DocumentGridComponent {
|
|
|
2982
2986
|
{ field: "invoiceSerialNumber", header: this.translate.instant("yms.int.wms_register_document_invoice_serial_number") },
|
|
2983
2987
|
{ field: "ownerName", header: this.translate.instant("yms.int.wms_register_document_owner_name") },
|
|
2984
2988
|
{ field: "ownerDocument", header: this.translate.instant("yms.int.wms_register_document_owner_document") },
|
|
2985
|
-
{ field: "
|
|
2989
|
+
{ field: "code", header: this.translate.instant("yms.int.wms_register_document_order_receiving_code") },
|
|
2986
2990
|
];
|
|
2987
2991
|
}
|
|
2988
2992
|
message(severity, summary, detail) {
|
|
@@ -3036,7 +3040,7 @@ __decorate([
|
|
|
3036
3040
|
DocumentGridComponent = __decorate([
|
|
3037
3041
|
Component({
|
|
3038
3042
|
selector: 'document-grid',
|
|
3039
|
-
template: "<p-panel>\n <p-header>\n <div class=\"buttons\">\n <div>\n <s-button\n label=\"{{'yms.int.wms_add_document' | translate}}\"\n priority=\"primary\"\n [model]=\"getActions()\"\n [auxiliary]=\"false\">\n </s-button>\n <s-button\n label=\"{{'yms.wms_view_button' | translate}}\"\n priority=\"secondary\"\n [auxiliary]=\"false\"\n [disabled]=\"!selection || selection.length !== 1\"\n (onClick)=\"view()\">\n </s-button>\n <s-button\n label=\"{{'yms.wms_delete_button' | translate}}\"\n priority=\"secondary\"\n [disabled]=\"!selection || !selection.length\"\n (click)=\"onDelete()\">\n </s-button>\n </div>\n <s-button\n id=\"refresh-button\"\n priority=\"default\"\n iconClass=\"fa fa-refresh\"\n (onClick)=\"listDocuments()\"\n >\n </s-button>\n </div>\n </p-header>\n <div class=\"ui-g\">\n <div class=\"ui-g-12\" *ngIf=\"gridData && gridData.length; else emptyList\">\n <p-table #documentTable [value]=\"gridData\"\n [columns]=\"gridColumns\" dataKey=\"id\" [lazy]=\"true\" [scrollable]=\"true\" [resizableColumns]=\"true\"\n sortMode=\"multiple\" [paginator]=\"true\" [totalRecords]=\"documentTotalRecords\" rows=\"10\"\n [rowsPerPageOptions]=\"[10, 20, 50, 100]\" [(selection)]=\"selection\"\n [loading]=\"loading\">\n <ng-template pTemplate=\"colgroup\" let-columns>\n <colgroup>\n <col *ngFor=\"let col of columns\" [style.width]=\"col.width\"/>\n </colgroup>\n </ng-template>\n <ng-template pTemplate=\"header\" let-columns>\n <tr>\n <th id=\"checkbox\" class=\"table-checkbox\">\n <p-tableHeaderCheckbox></p-tableHeaderCheckbox>\n </th>\n <th id=\"col\" *ngFor=\"let col of columns\" [pSortableColumn]=\"col.field\" pResizableColumn>\n <div class=\"senior-header\">\n <span class=\"senior-header-title\">{{ col.header }}</span>\n <p-sortIcon [field]=\"col.field\"></p-sortIcon>\n </div>\n </th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowData let-columns let-expanded=\"expanded\">\n <tr [pSelectableRow]=\"rowData\">\n <td class=\"table-checkbox\">\n <p-tableCheckbox [value]=\"rowData\"></p-tableCheckbox>\n </td>\n <td (click)=\"selection = [rowData]\">\n <span>{{ rowData[\"logistcUnitName\"] }}</span>\n </td>\n <td (click)=\"selection = [rowData]\">\n <span>{{ rowData[\"logistcUnitDocument\"] }}</span>\n </td>\n <td (click)=\"selection = [rowData]\">\n <span>{{ rowData[\"invoiceKey\"] }}</span>\n </td>\n <td (click)=\"selection = [rowData]\">\n <span>{{ rowData[\"invoiceNumber\"] }}</span>\n </td>\n <td (click)=\"selection = [rowData]\">\n <span>{{ rowData[\"invoiceSerialNumber\"] }}</span>\n </td>\n <td (click)=\"selection = [rowData]\">\n <span>{{ rowData[\"ownerName\"] }}</span>\n </td>\n <td (click)=\"selection = [rowData]\">\n <span>{{ rowData[\"ownerDocument\"] }}</span>\n </td>\n <td (click)=\"selection = [rowData]\">\n <span>{{ rowData[\"
|
|
3043
|
+
template: "<p-panel>\n <p-header>\n <div class=\"buttons\">\n <div>\n <s-button\n label=\"{{'yms.int.wms_add_document' | translate}}\"\n priority=\"primary\"\n [model]=\"getActions()\"\n [auxiliary]=\"false\">\n </s-button>\n <s-button\n label=\"{{'yms.wms_view_button' | translate}}\"\n priority=\"secondary\"\n [auxiliary]=\"false\"\n [disabled]=\"!selection || selection.length !== 1\"\n (onClick)=\"view()\">\n </s-button>\n <s-button\n label=\"{{'yms.wms_delete_button' | translate}}\"\n priority=\"secondary\"\n [disabled]=\"!selection || !selection.length\"\n (click)=\"onDelete()\">\n </s-button>\n </div>\n <s-button\n id=\"refresh-button\"\n priority=\"default\"\n iconClass=\"fa fa-refresh\"\n (onClick)=\"listDocuments()\"\n >\n </s-button>\n </div>\n </p-header>\n <div class=\"ui-g\">\n <div class=\"ui-g-12\" *ngIf=\"gridData && gridData.length; else emptyList\">\n <p-table #documentTable [value]=\"gridData\"\n [columns]=\"gridColumns\" dataKey=\"id\" [lazy]=\"true\" [scrollable]=\"true\" [resizableColumns]=\"true\"\n sortMode=\"multiple\" [paginator]=\"true\" [totalRecords]=\"documentTotalRecords\" rows=\"10\"\n [rowsPerPageOptions]=\"[10, 20, 50, 100]\" [(selection)]=\"selection\"\n [loading]=\"loading\">\n <ng-template pTemplate=\"colgroup\" let-columns>\n <colgroup>\n <col *ngFor=\"let col of columns\" [style.width]=\"col.width\"/>\n </colgroup>\n </ng-template>\n <ng-template pTemplate=\"header\" let-columns>\n <tr>\n <th id=\"checkbox\" class=\"table-checkbox\">\n <p-tableHeaderCheckbox></p-tableHeaderCheckbox>\n </th>\n <th id=\"col\" *ngFor=\"let col of columns\" [pSortableColumn]=\"col.field\" pResizableColumn>\n <div class=\"senior-header\">\n <span class=\"senior-header-title\">{{ col.header }}</span>\n <p-sortIcon [field]=\"col.field\"></p-sortIcon>\n </div>\n </th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowData let-columns let-expanded=\"expanded\">\n <tr [pSelectableRow]=\"rowData\">\n <td class=\"table-checkbox\">\n <p-tableCheckbox [value]=\"rowData\"></p-tableCheckbox>\n </td>\n <td (click)=\"selection = [rowData]\">\n <span>{{ rowData[\"logistcUnitName\"] }}</span>\n </td>\n <td (click)=\"selection = [rowData]\">\n <span>{{ rowData[\"logistcUnitDocument\"] }}</span>\n </td>\n <td (click)=\"selection = [rowData]\">\n <span>{{ rowData[\"invoiceKey\"] }}</span>\n </td>\n <td (click)=\"selection = [rowData]\">\n <span>{{ rowData[\"invoiceNumber\"] }}</span>\n </td>\n <td (click)=\"selection = [rowData]\">\n <span>{{ rowData[\"invoiceSerialNumber\"] }}</span>\n </td>\n <td (click)=\"selection = [rowData]\">\n <span>{{ rowData[\"ownerName\"] }}</span>\n </td>\n <td (click)=\"selection = [rowData]\">\n <span>{{ rowData[\"ownerDocument\"] }}</span>\n </td>\n <td (click)=\"selection = [rowData]\">\n <span>{{ rowData[\"code\"] }}</span>\n </td>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"paginatorright\">\n <span [translate]=\"'total_records'\" [translateParams]=\"{ value: documentTotalRecords }\"></span>\n </ng-template>\n </p-table> \n </div>\n </div>\n <register-document\n [edit]=\"edit\"\n [viewDocument]=\"selection\"\n (document)=\"onChangeDocument($event)\"\n [(visible)]=\"visibleDocumentRegister\"\n [agenda]=\"agenda\">\n </register-document>\n <insert-key (document)=\"onChangeDocument($event)\" [(visible)]=\"visibleInvoiceKey\"></insert-key>\n</p-panel>\n<div class=\"button-save\">\n <s-button \n priority=\"primary\" [label]=\"'save' | translate\" [disabled]=\"disabled || !this.gridData\" (click)=\"save()\">\n </s-button>\n</div>\n\n\n<ng-template #emptyList>\n <div class=\"center\">\n <s-empty-state\n iconClass=\"fa fa-exclamation-triangle\" [title]=\"'detail_empty_state_title' | translate\"\n [description]=\"'detail_empty_state_description' | translate\">\n </s-empty-state>\n </div>\n</ng-template>\n",
|
|
3040
3044
|
styles: [".buttons{display:flex;justify-content:space-between}.center{flex-direction:column;text-align:center}.ui-g{display:block}.button-save{margin:5px 0}#refresh-button{color:#fff}.table-checkbox{width:50px}"]
|
|
3041
3045
|
}),
|
|
3042
3046
|
__metadata("design:paramtypes", [TranslateService,
|
|
@@ -3066,7 +3070,7 @@ class Document {
|
|
|
3066
3070
|
"partnerName",
|
|
3067
3071
|
"partnerDocument",
|
|
3068
3072
|
"notes",
|
|
3069
|
-
"
|
|
3073
|
+
"code",
|
|
3070
3074
|
"createdBy",
|
|
3071
3075
|
"createdDate",
|
|
3072
3076
|
"lastModifiedBy",
|
|
@@ -3232,7 +3236,7 @@ let RegisterDocumentComponent = class RegisterDocumentComponent {
|
|
|
3232
3236
|
this.formGroup.get('logistcUnitDocument').setValue(document.logistcUnitDocument);
|
|
3233
3237
|
this.formGroup.get('logistcUnitName').setValue(document.logistcUnitName);
|
|
3234
3238
|
this.formGroup.get('notes').setValue(document.notes);
|
|
3235
|
-
this.formGroup.get('
|
|
3239
|
+
this.formGroup.get('code').setValue(document.code);
|
|
3236
3240
|
this.formGroup.get('ownerDocument').setValue(document.ownerDocument);
|
|
3237
3241
|
this.formGroup.get('ownerName').setValue(document.ownerName);
|
|
3238
3242
|
}
|
|
@@ -3255,7 +3259,7 @@ let RegisterDocumentComponent = class RegisterDocumentComponent {
|
|
|
3255
3259
|
partnerName: [undefined],
|
|
3256
3260
|
partnerDocument: [undefined],
|
|
3257
3261
|
notes: [undefined],
|
|
3258
|
-
|
|
3262
|
+
code: [undefined],
|
|
3259
3263
|
});
|
|
3260
3264
|
}
|
|
3261
3265
|
save() {
|
|
@@ -3304,7 +3308,7 @@ __decorate([
|
|
|
3304
3308
|
RegisterDocumentComponent = __decorate([
|
|
3305
3309
|
Component({
|
|
3306
3310
|
selector: "register-document",
|
|
3307
|
-
template: "<s-sidebar\n [visible]=\"visible\"\n header=\"{{ 'yms.int.wms_register_document_add_document' | translate }}\"\n (visibleChange)=\"close()\">\n <form [formGroup]=\"formGroup\">\n <div class=\"ui-g ui-fluid\">\n <div class=\"ui-g-6 required\">\n <label for=\"invoiceKey\">{{'yms.int.wms_register_document_invoice_key' | translate}}</label>\n <input id=\"invoiceKey\" pInputText type=\"text\" formControlName=\"invoiceKey\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"invoiceNumber\">{{'yms.int.wms_register_document_invoice_number' | translate}}</label>\n <input id=\"invoiceNumber\" pInputText type=\"text\" formControlName=\"invoiceNumber\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"invoiceSerialNumber\">\n {{'yms.int.wms_register_document_invoice_serial_number' | translate}}\n </label>\n <input id=\"invoiceSerialNumber\" pInputText type=\"text\" formControlName=\"invoiceSerialNumber\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"logistcUnitName\">{{'yms.int.wms_register_document_logistc_unit_name' | translate}}</label>\n <input id=\"logistcUnitName\" pInputText type=\"text\" formControlName=\"logistcUnitName\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"logistcUnitDocument\">\n {{'yms.int.wms_register_document_logistc_unit_document' | translate}}\n </label>\n <input id=\"logistcUnitDocument\" pInputText type=\"text\" formControlName=\"logistcUnitDocument\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"documentOwnerName\">{{'yms.int.wms_register_document_owner_name' | translate}}</label>\n <input id=\"documentOwnerName\" pInputText type=\"text\" formControlName=\"ownerName\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"ownerDocument\">{{'yms.int.wms_register_document_owner_document' | translate}}</label>\n <input id=\"ownerDocument\" pInputText type=\"text\" formControlName=\"ownerDocument\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"partnerName\">{{'yms.int.wms_register_document_partner_name' | translate}}</label>\n <input id=\"partnerName\" pInputText type=\"text\" formControlName=\"partnerName\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"partnerDocument\">{{'yms.int.wms_register_document_partner_document' | translate}}</label>\n <input id=\"partnerDocument\" pInputText type=\"text\" formControlName=\"partnerDocument\">\n </div>\n <div class=\"ui-g-12\">\n <label for=\"notes\" id=\"notes\">{{'yms.int.wms_register_document_notes' | translate}}</label>\n <textarea id=\"notes\" rows=\"5\" pInputTextarea autoResize=\"autoResize\" formControlName=\"notes\"></textarea>\n </div>\n <div class=\"ui-g-6\">\n <label for=\"
|
|
3311
|
+
template: "<s-sidebar\n [visible]=\"visible\"\n header=\"{{ 'yms.int.wms_register_document_add_document' | translate }}\"\n (visibleChange)=\"close()\">\n <form [formGroup]=\"formGroup\">\n <div class=\"ui-g ui-fluid\">\n <div class=\"ui-g-6 required\">\n <label for=\"invoiceKey\">{{'yms.int.wms_register_document_invoice_key' | translate}}</label>\n <input id=\"invoiceKey\" pInputText type=\"text\" formControlName=\"invoiceKey\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"invoiceNumber\">{{'yms.int.wms_register_document_invoice_number' | translate}}</label>\n <input id=\"invoiceNumber\" pInputText type=\"text\" formControlName=\"invoiceNumber\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"invoiceSerialNumber\">\n {{'yms.int.wms_register_document_invoice_serial_number' | translate}}\n </label>\n <input id=\"invoiceSerialNumber\" pInputText type=\"text\" formControlName=\"invoiceSerialNumber\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"logistcUnitName\">{{'yms.int.wms_register_document_logistc_unit_name' | translate}}</label>\n <input id=\"logistcUnitName\" pInputText type=\"text\" formControlName=\"logistcUnitName\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"logistcUnitDocument\">\n {{'yms.int.wms_register_document_logistc_unit_document' | translate}}\n </label>\n <input id=\"logistcUnitDocument\" pInputText type=\"text\" formControlName=\"logistcUnitDocument\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"documentOwnerName\">{{'yms.int.wms_register_document_owner_name' | translate}}</label>\n <input id=\"documentOwnerName\" pInputText type=\"text\" formControlName=\"ownerName\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"ownerDocument\">{{'yms.int.wms_register_document_owner_document' | translate}}</label>\n <input id=\"ownerDocument\" pInputText type=\"text\" formControlName=\"ownerDocument\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"partnerName\">{{'yms.int.wms_register_document_partner_name' | translate}}</label>\n <input id=\"partnerName\" pInputText type=\"text\" formControlName=\"partnerName\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"partnerDocument\">{{'yms.int.wms_register_document_partner_document' | translate}}</label>\n <input id=\"partnerDocument\" pInputText type=\"text\" formControlName=\"partnerDocument\">\n </div>\n <div class=\"ui-g-12\">\n <label for=\"notes\" id=\"notes\">{{'yms.int.wms_register_document_notes' | translate}}</label>\n <textarea id=\"notes\" rows=\"5\" pInputTextarea autoResize=\"autoResize\" formControlName=\"notes\"></textarea>\n </div>\n <div class=\"ui-g-6\">\n <label for=\"code\">\n {{'yms.int.wms_register_document_order_receiving_code' | translate}}\n </label>\n <input id=\"code\" pInputText type=\"text\" formControlName=\"code\">\n </div>\n </div>\n </form>\n <div class=\"space-between\">\n <button\n pButton label=\"{{'save' | translate}}\" (click)=\"save()\" [attr.data-hidden]=\"hideSaveButton\">\n </button>\n <button\n type=\"button\" class=\"ui-button-link\" pButton label=\"{{'cancel' | translate}}\" (click)=\"close()\">\n </button>\n </div>\n</s-sidebar>"
|
|
3308
3312
|
}),
|
|
3309
3313
|
__metadata("design:paramtypes", [FormBuilder,
|
|
3310
3314
|
MessageService,
|