@seniorsistemas/yms-integration 1.37.0-9bc3b776-9051-4b32-85b2-1f81b35e02cc → 1.37.0-b333af94-daee-455c-9c78-2797113c9974
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 +5 -3
- 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 +1 -2
- package/esm2015/src/wms/components/document-list/document-list.component.js +6 -3
- package/esm5/src/wms/components/document-grid/document-grid.component.js +1 -2
- package/esm5/src/wms/components/document-list/document-list.component.js +6 -3
- package/fesm2015/seniorsistemas-yms-integration.js +5 -3
- package/fesm2015/seniorsistemas-yms-integration.js.map +1 -1
- package/fesm5/seniorsistemas-yms-integration.js +5 -3
- package/fesm5/seniorsistemas-yms-integration.js.map +1 -1
- package/package.json +1 -1
- package/seniorsistemas-yms-integration.metadata.json +1 -1
|
@@ -3601,7 +3601,6 @@
|
|
|
3601
3601
|
var columns = __spread([
|
|
3602
3602
|
{ field: "key", header: this.translate.instant("yms.int.wms_purchaseOrder") }
|
|
3603
3603
|
], this.getColumnPartner(), this.getColumnlogistcUnit());
|
|
3604
|
-
this.addInvoiceSituationIfNotClienteExterno(columns);
|
|
3605
3604
|
return columns;
|
|
3606
3605
|
};
|
|
3607
3606
|
DocumentGridComponent.prototype.wmsWisIntegration = function () {
|
|
@@ -4274,6 +4273,9 @@
|
|
|
4274
4273
|
{ field: "key", label: 'yms.int.wms_purchaseOrder' },
|
|
4275
4274
|
{ field: "partnerName", label: 'yms.int.wms_register_document_invoice_partner_name' },
|
|
4276
4275
|
{ field: "partnerDocument", label: 'yms.int.wms_register_document_invoice_partner_document' },
|
|
4276
|
+
{ field: "logistcUnitName", label: 'yms.int.wms_register_document_logistc_unit_name' },
|
|
4277
|
+
{ field: "logistcUnitDocument", label: 'yms.int.wms_register_document_logistc_unit_document' },
|
|
4278
|
+
{ field: "notes", label: 'yms.int.wms_register_document_notes' },
|
|
4277
4279
|
];
|
|
4278
4280
|
}
|
|
4279
4281
|
return __spread([
|
|
@@ -4368,8 +4370,8 @@
|
|
|
4368
4370
|
], DocumentListComponent.prototype, "wmsSystem", void 0);
|
|
4369
4371
|
DocumentListComponent = __decorate([
|
|
4370
4372
|
core.Component({
|
|
4371
|
-
template: "<div class=\"ui-g\">\n <div class=\"ui-g-12\">\n <p-table\n selectionMode=\"single\"\n [(selection)]=\"selected\"\n [value]=\"documents\"\n [columns]=\"getColumns\"\n dataKey=\"id\"\n rows=\"10\"\n [paginator]=\"true\"\n [totalRecords]=\"gridTotalRecords\"\n [lazy]=\"true\"\n [resizableColumns]=\"true\"\n (onLazyLoad)=\"updateGridData($event)\"\n *sLoadingState=\"gridLoading\"\n sortMode=\"multiple\"\n styleClass=\"sds-table-scrollable\"\n [rowsPerPageOptions]=\"[10, 20, 50, 100, 200]\"\n paginatorDropdownScrollHeight=\"250px\"\n [scrollable]=\"true\"\n >\n <ng-template pTemplate=\"colgroup\" let-columns>\n <colgroup>\n <col *ngFor=\"let col of columns\"
|
|
4372
|
-
styles: [".
|
|
4373
|
+
template: "<div class=\"ui-g\">\n <div class=\"ui-g-12\">\n <p-table\n selectionMode=\"single\"\n [(selection)]=\"selected\"\n [value]=\"documents\"\n [columns]=\"getColumns\"\n dataKey=\"id\"\n rows=\"10\"\n [paginator]=\"true\"\n [totalRecords]=\"gridTotalRecords\"\n [lazy]=\"true\"\n [resizableColumns]=\"true\"\n (onLazyLoad)=\"updateGridData($event)\"\n *sLoadingState=\"gridLoading\"\n sortMode=\"multiple\"\n styleClass=\"sds-table-scrollable\"\n [rowsPerPageOptions]=\"[10, 20, 50, 100, 200]\"\n paginatorDropdownScrollHeight=\"250px\"\n [scrollable]=\"true\"\n >\n <ng-template pTemplate=\"colgroup\" let-columns>\n <colgroup>\n <col *ngFor=\"let col of columns\" [style.width]=\"col.field === 'notes' ? '400px' : '250px'\">\n </colgroup>\n </ng-template>\n\n <ng-template pTemplate=\"header\" let-columns>\n <tr>\n <th *ngFor=\"let col of columns\" pResizableColumn [pSortableColumn]=\"col.field\" scope=\"col\">\n <div class=\"senior-header\">\n <span class=\"senior-header-title\">{{ col.label | translate }}</span>\n <p-sortIcon [field]=\"col.field\"></p-sortIcon>\n </div>\n </th>\n </tr>\n </ng-template>\n\n <ng-template pTemplate=\"body\" let-rowData let-columns=\"columns\">\n <tr *ngIf=\"isWmsWIS()\">\n <td>{{ rowData?.invoiceNumber || 'N/A' }}</td>\n <td>{{ rowData?.invoiceSerialNumber || 'N/A' }}</td>\n <td>{{ rowData?.invoiceKey || 'N/A' }}</td>\n <td>{{ rowData?.partnerName || 'N/A' }}</td>\n <td>{{ rowData?.partnerDocument || 'N/A' }}</td>\n <td>{{ rowData?.code || 'N/A' }}</td>\n <td>\n <p-dropdown\n inputId=\"invoiceCondition\"\n name=\"invoiceCondition\"\n [autoWidth]=\"false\"\n [options]=\"getFilteredInvoiceConditions(rowData?.invoiceCondition)\"\n appendTo=\"body\"\n [(ngModel)]=\"rowData.invoiceCondition\"\n [disabled]=\"isAuthorized(rowData.invoiceCondition)\"\n (onChange)=\"onInvoiceConditionChange($event, rowData)\">\n </p-dropdown>\n </td>\n <td>{{ rowData?.notes || 'N/A' }}</td>\n </tr>\n <tr *ngIf=\"isWmsSeniorConnect()\">\n <td>{{rowData?.key}}</td>\n <td>{{rowData?.partnerName}}</td>\n <td>{{rowData?.partnerDocument}}</td>\n <td>{{rowData?.logistcUnitName}}</td>\n <td>{{rowData?.logistcUnitDocument}}</td>\n <td>{{rowData?.notes}}</td>\n </tr>\n <tr *ngIf=\"!isWmsWIS() && !isWmsSeniorConnect()\">\n <td>{{rowData?.invoiceKey}}</td>\n <td>{{rowData?.invoiceNumber}}</td>\n <td>{{rowData?.invoiceSerialNumber}}</td>\n </tr>\n </ng-template>\n\n <ng-template pTemplate=\"paginatorright\">\n <span>\n {{ gridTotalRecords + \" \" + \n ('yms.int.wms_register_document_total_elements' | translate:{value: gridTotalRecords}) }}\n </span>\n </ng-template>\n </p-table>\n <div class=\"button-save\">\n <s-button priority=\"primary\" [label]=\"'save' | translate\"\n [disabled]=\"!disabled || !this.documents\"\n (click)=\"save()\">\n </s-button>\n </div>\n </div>\n</div>",
|
|
4374
|
+
styles: [".button-save{margin:5px 0}"]
|
|
4373
4375
|
}),
|
|
4374
4376
|
__metadata("design:paramtypes", [DocumentService,
|
|
4375
4377
|
core$1.TranslateService,
|