@seniorsistemas/yms-integration 1.31.1-f472999f-36a6-412f-af44-e2024a57be58 → 1.32.0-7a92407d-4195-45d3-80d8-96605c56a35a
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 +108 -22
- 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/erp-senior/recebimento/form/recebimento-form.component.js +1 -1
- package/esm2015/src/wms/components/document-grid/document-grid.component.js +45 -14
- package/esm2015/src/wms/components/document-grid/document-grid.module.js +6 -3
- package/esm2015/src/wms/components/document-grid/insert-key/insert-key.component.js +38 -3
- package/esm2015/src/wms/components/document-grid/register-document/register-document.component.js +16 -7
- package/esm2015/src/wms/components/document-grid/register-document/register-document.module.js +4 -3
- package/esm2015/src/wms/entities/document/document-dto.js +1 -1
- package/esm2015/src/wms/entities/document/document.js +2 -1
- package/esm2015/src/wms/entities/invoice-condition/invoice-condition.js +8 -0
- package/esm5/src/erp-senior/recebimento/form/recebimento-form.component.js +1 -1
- package/esm5/src/wms/components/document-grid/document-grid.component.js +45 -14
- package/esm5/src/wms/components/document-grid/document-grid.module.js +6 -3
- package/esm5/src/wms/components/document-grid/insert-key/insert-key.component.js +39 -3
- package/esm5/src/wms/components/document-grid/register-document/register-document.component.js +16 -7
- package/esm5/src/wms/components/document-grid/register-document/register-document.module.js +4 -3
- package/esm5/src/wms/entities/document/document-dto.js +1 -1
- package/esm5/src/wms/entities/document/document.js +2 -1
- package/esm5/src/wms/entities/invoice-condition/invoice-condition.js +8 -0
- package/fesm2015/seniorsistemas-yms-integration.js +107 -22
- package/fesm2015/seniorsistemas-yms-integration.js.map +1 -1
- package/fesm5/seniorsistemas-yms-integration.js +108 -22
- 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/components/document-grid/document-grid.component.d.ts +9 -0
- package/src/wms/components/document-grid/insert-key/insert-key.component.d.ts +4 -0
- package/src/wms/components/document-grid/register-document/register-document.component.d.ts +8 -3
- package/src/wms/entities/document/document-dto.d.ts +1 -0
- package/src/wms/entities/document/document.d.ts +2 -0
- package/src/wms/entities/invoice-condition/invoice-condition.d.ts +6 -0
|
@@ -8,6 +8,7 @@ import { Document } from "../../entities/document/document";
|
|
|
8
8
|
import { DocumentService } from '../../entities/document/document.service';
|
|
9
9
|
import { WmsSystem } from '../../entities/wms-system/wms-system';
|
|
10
10
|
import { IntegrationService, ProcessType } from './../../entities/integration/integration.service';
|
|
11
|
+
import { InvoiceCondition } from "../../../../src/wms/entities/invoice-condition/invoice-condition";
|
|
11
12
|
export declare class DocumentGridComponent implements OnInit, AfterContentChecked {
|
|
12
13
|
private readonly translate;
|
|
13
14
|
private readonly documentService;
|
|
@@ -31,6 +32,7 @@ export declare class DocumentGridComponent implements OnInit, AfterContentChecke
|
|
|
31
32
|
processType: ProcessType;
|
|
32
33
|
private isClienteExterno;
|
|
33
34
|
enableButtonIsClienteExterno: boolean;
|
|
35
|
+
private readonly summary;
|
|
34
36
|
private readonly ngUnsubscribe;
|
|
35
37
|
table: Table;
|
|
36
38
|
customTemplate: TemplateRef<any>;
|
|
@@ -38,6 +40,10 @@ export declare class DocumentGridComponent implements OnInit, AfterContentChecke
|
|
|
38
40
|
customGridColgroup: TemplateRef<any>;
|
|
39
41
|
customGridHeader: TemplateRef<any>;
|
|
40
42
|
customGridBody: TemplateRef<any>;
|
|
43
|
+
invoiceCondition: {
|
|
44
|
+
label: string;
|
|
45
|
+
value: InvoiceCondition;
|
|
46
|
+
}[];
|
|
41
47
|
constructor(translate: TranslateService, documentService: DocumentService, confirmationService: ConfirmationService, integrationService: IntegrationService, agendaService: AgendaService, utils: UtilsMessageService);
|
|
42
48
|
ngOnInit(): void;
|
|
43
49
|
ngAfterContentChecked(): void;
|
|
@@ -60,8 +66,11 @@ export declare class DocumentGridComponent implements OnInit, AfterContentChecke
|
|
|
60
66
|
field: string;
|
|
61
67
|
header: any;
|
|
62
68
|
}[];
|
|
69
|
+
private getColumninvoiceCondition;
|
|
63
70
|
private getColumnInvoiceAndlogistcUnit;
|
|
64
71
|
private getColumnPartner;
|
|
65
72
|
isWmsSeniorConnect(): boolean;
|
|
66
73
|
isWmsWIS(): boolean;
|
|
74
|
+
isWmsSilt(): boolean;
|
|
75
|
+
private sucessMessage;
|
|
67
76
|
}
|
|
@@ -12,6 +12,7 @@ export declare class InsertKeyComponent implements OnInit {
|
|
|
12
12
|
wmsSystem: WmsSystem;
|
|
13
13
|
visibleChange: EventEmitter<{}>;
|
|
14
14
|
key: string;
|
|
15
|
+
keyErrorMessage: string;
|
|
15
16
|
formGroup: FormGroup;
|
|
16
17
|
isLoading: boolean;
|
|
17
18
|
constructor(formBuilder: FormBuilder, documentService: DocumentService, utils: UtilsMessageService);
|
|
@@ -20,6 +21,9 @@ export declare class InsertKeyComponent implements OnInit {
|
|
|
20
21
|
isWmsSeniorConnect(): boolean;
|
|
21
22
|
add(): void;
|
|
22
23
|
private searchKey;
|
|
24
|
+
private validateKeyDetails;
|
|
25
|
+
private extractKeyDetails;
|
|
26
|
+
private setValuesOfKey;
|
|
23
27
|
cancel(): void;
|
|
24
28
|
onDialogShow(): void;
|
|
25
29
|
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges, OnInit } from "@angular/core";
|
|
2
2
|
import { FormBuilder, FormGroup } from "@angular/forms";
|
|
3
3
|
import { Agenda } from '../../../../erp-senior/core/entities/agenda/agenda';
|
|
4
|
-
import { UtilsMessageService } from "../../../../utils/utils-message";
|
|
5
4
|
import { Document } from '../../../entities/document/document';
|
|
6
5
|
import { WmsSystem } from "../../../entities/wms-system/wms-system";
|
|
6
|
+
import { InvoiceCondition } from "../../../entities/invoice-condition/invoice-condition";
|
|
7
|
+
import { TranslateService } from "@ngx-translate/core";
|
|
7
8
|
export declare class RegisterDocumentComponent implements OnInit, OnChanges {
|
|
8
9
|
private readonly fb;
|
|
9
|
-
private readonly
|
|
10
|
+
private readonly translate;
|
|
10
11
|
viewDocument: Document[];
|
|
11
12
|
edit: boolean;
|
|
12
13
|
agenda: Agenda;
|
|
@@ -17,7 +18,11 @@ export declare class RegisterDocumentComponent implements OnInit, OnChanges {
|
|
|
17
18
|
formGroup: FormGroup;
|
|
18
19
|
hideSaveButton: boolean;
|
|
19
20
|
isSaveFormValid: boolean;
|
|
20
|
-
constructor(fb: FormBuilder,
|
|
21
|
+
constructor(fb: FormBuilder, translate: TranslateService);
|
|
22
|
+
invoiceCondition: {
|
|
23
|
+
label: string;
|
|
24
|
+
value: InvoiceCondition;
|
|
25
|
+
}[];
|
|
21
26
|
ngOnInit(): void;
|
|
22
27
|
ngOnChanges(): void;
|
|
23
28
|
visibilityConfig(): EventEmitter<boolean>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { WmsSystem } from "../wms-system/wms-system";
|
|
2
|
+
import { InvoiceCondition } from "../invoice-condition/invoice-condition";
|
|
2
3
|
import { DocumentDto } from "./document-dto";
|
|
3
4
|
export declare class Document {
|
|
4
5
|
id?: string;
|
|
@@ -17,6 +18,7 @@ export declare class Document {
|
|
|
17
18
|
partnerDocument?: string;
|
|
18
19
|
notes?: string;
|
|
19
20
|
code?: string;
|
|
21
|
+
invoiceCondition?: InvoiceCondition;
|
|
20
22
|
static fromDto(documentDto: DocumentDto, originEntity?: string): Document;
|
|
21
23
|
static toDto(document: Document, originEntity?: string): DocumentDto;
|
|
22
24
|
}
|