@hitsoft/e-donusum 100.1.17-Edo-Test → 100.1.19-Edo-Test

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.
Files changed (32) hide show
  1. package/esm2020/lib/auto-send-rules/auto-send-rule/auto-send-rule.module.mjs +1 -1
  2. package/esm2020/lib/components/hit-inbound-invoices/hit-inbound-invoice.component.mjs +237 -83
  3. package/esm2020/lib/components/hit-inbound-invoices/hit-inbound-invoice.module.mjs +15 -5
  4. package/esm2020/lib/components/hit-setup-wizard/hit-setup-wizard.component.mjs +2 -2
  5. package/esm2020/lib/hit-proxy/hit-inbound-invoices/hit-inbound-invoice.service.mjs +28 -1
  6. package/esm2020/lib/hit-proxy/hit-inbound-invoices/models.mjs +1 -1
  7. package/esm2020/lib/proxy/auto-send-rule-doc-types/index.mjs +1 -1
  8. package/esm2020/lib/proxy/auto-send-rule-scenarios/index.mjs +1 -1
  9. package/esm2020/lib/proxy/auto-send-rules/index.mjs +1 -1
  10. package/esm2020/lib/proxy/document-serials/index.mjs +1 -1
  11. package/esm2020/lib/proxy/gib-partner-pks/index.mjs +1 -1
  12. package/esm2020/lib/proxy/note-rule-doc-types/index.mjs +1 -1
  13. package/esm2020/lib/proxy/note-rule-scenarios/index.mjs +1 -1
  14. package/esm2020/lib/proxy/note-rules/index.mjs +1 -1
  15. package/esm2020/lib/proxy/params-companies/index.mjs +1 -1
  16. package/esm2020/lib/proxy/params-generals/index.mjs +1 -1
  17. package/esm2020/lib/proxy/params-integrators/index.mjs +1 -1
  18. package/esm2020/lib/proxy/paramse-dispatches/index.mjs +1 -1
  19. package/esm2020/lib/proxy/paramse-invoices/index.mjs +1 -1
  20. package/esm2020/lib/proxy/xslt-formats/index.mjs +1 -1
  21. package/esm2020/lib/proxy/xslt-rule-doc-types/index.mjs +1 -1
  22. package/esm2020/lib/proxy/xslt-rule-scenarios/index.mjs +1 -1
  23. package/esm2020/lib/proxy/xslt-rules/index.mjs +1 -1
  24. package/fesm2015/hitsoft-e-donusum.mjs +283 -88
  25. package/fesm2015/hitsoft-e-donusum.mjs.map +1 -1
  26. package/fesm2020/hitsoft-e-donusum.mjs +278 -88
  27. package/fesm2020/hitsoft-e-donusum.mjs.map +1 -1
  28. package/lib/components/hit-inbound-invoices/hit-inbound-invoice.component.d.ts +15 -1
  29. package/lib/components/hit-inbound-invoices/hit-inbound-invoice.module.d.ts +2 -1
  30. package/lib/hit-proxy/hit-inbound-invoices/hit-inbound-invoice.service.d.ts +5 -0
  31. package/lib/hit-proxy/hit-inbound-invoices/models.d.ts +62 -0
  32. package/package.json +1 -1
@@ -6,7 +6,7 @@ import { HitInvoiceService } from '../../hit-proxy/hit-invoices/hit-invoice.serv
6
6
  import { FormBuilder, FormGroup } from '@angular/forms';
7
7
  import { ConfirmationService, ToasterService } from '@abp/ng.theme.shared';
8
8
  import { HitBusinessPartnerGroupService } from '../../hit-proxy/hit-business-partner-groups/hit-business-partner-group.service';
9
- import { OpenDocumentDto } from '../../hit-proxy/hit-inbound-invoices/models';
9
+ import { CatalogMatchLineDto, ManualLineDto, OpenDocumentDto, SapTaxGroupDto } from '../../hit-proxy/hit-inbound-invoices/models';
10
10
  import { HitBranchesService } from '../../hit-proxy/hit-branches/hit-branch.service';
11
11
  import { HitParamsGeneralsService } from '../../hit-proxy/hit-params-generals/hit-params-general.service';
12
12
  import { HitSharedService } from '../../hit-proxy/shared/hit-shared.service';
@@ -107,6 +107,14 @@ export declare class HitInboundInvoiceComponent implements OnInit {
107
107
  selectedBranchId: number;
108
108
  invoiceFileNameLookup: any;
109
109
  isFileModalBusy: boolean;
110
+ isModalOpenForManualLine: boolean;
111
+ isModalBusyForManualLine: boolean;
112
+ manualLines: ManualLineDto[];
113
+ itemsGridStore: any;
114
+ taxGroups: SapTaxGroupDto[];
115
+ isModalOpenForCatalog: boolean;
116
+ isModalBusyForCatalog: boolean;
117
+ catalogMatchLines: CatalogMatchLineDto[];
110
118
  constructor(list: ListService, service: HitInboundInvoiceService, invoiceService: HitInvoiceService, hitBranchesService: HitBranchesService, hitParamsGeneralsService: HitParamsGeneralsService, formBuilder: FormBuilder, formBuilderForPartner: FormBuilder, formBuilderForDocument: FormBuilder, toasterService: ToasterService, businessPartnerGroupService: HitBusinessPartnerGroupService, ref: ChangeDetectorRef, confirmation: ConfirmationService, hitSharedService: HitSharedService, fileDocumentTypeService: HitFileDocumentTypeService, route: ActivatedRoute, localizationService: LocalizationService);
111
119
  countryGridBox_displayExpr(): string;
112
120
  stateGridBox_displayExpr(): string;
@@ -154,6 +162,12 @@ export declare class HitInboundInvoiceComponent implements OnInit {
154
162
  sendDocument(documentGridLines: any[]): void;
155
163
  createDraftDocument(): void;
156
164
  processManual(record: any): void;
165
+ openManualLineModal(): void;
166
+ onItemGridSelectionChanged(event: any, lineIndex: number): void;
167
+ toggleAllManualLines(event: any): void;
168
+ openCatalogMatchModal(): void;
169
+ addCatalogLinesToDocument(): void;
170
+ addManualLinesToDocument(): void;
157
171
  checkBoxChanged(event: any): void;
158
172
  changeRowsColor(e: any): void;
159
173
  getReceiverResponseName(responseId: any): any;
@@ -8,9 +8,10 @@ import * as i6 from "@ng-bootstrap/ng-bootstrap";
8
8
  import * as i7 from "devextreme-angular";
9
9
  import * as i8 from "@abp/ng.components/page";
10
10
  import * as i9 from "./hit-inbound-invoice-routing.module";
11
+ import * as i10 from "@angular/forms";
11
12
  export declare class HitInboundInvoiceModule {
12
13
  static ɵfac: i0.ɵɵFactoryDeclaration<HitInboundInvoiceModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<HitInboundInvoiceModule, [typeof i1.HitInboundInvoiceComponent], [typeof i2.CoreModule, typeof i3.ThemeSharedModule, typeof i4.CommercialUiModule, typeof i5.NgxValidateCoreModule, typeof i6.NgbCollapseModule, typeof i6.NgbDatepickerModule, typeof i6.NgbDropdownModule, typeof i7.DxDataGridModule, typeof i7.DxTextAreaModule, typeof i7.DxTextBoxModule, typeof i7.DxHtmlEditorModule, typeof i7.DxSelectBoxModule, typeof i7.DxLookupModule, typeof i7.DxTabPanelModule, typeof i8.PageModule, typeof i9.HitInboundInvoiceRoutingModule, typeof i7.DxRadioGroupModule, typeof i7.DxDateBoxModule, typeof i7.DxTemplateModule, typeof i7.DxDropDownBoxModule, typeof i7.DxPopupModule], never>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<HitInboundInvoiceModule, [typeof i1.HitInboundInvoiceComponent], [typeof i2.CoreModule, typeof i3.ThemeSharedModule, typeof i4.CommercialUiModule, typeof i5.NgxValidateCoreModule, typeof i6.NgbCollapseModule, typeof i6.NgbDatepickerModule, typeof i6.NgbDropdownModule, typeof i7.DxDataGridModule, typeof i7.DxTextAreaModule, typeof i7.DxTextBoxModule, typeof i7.DxHtmlEditorModule, typeof i7.DxSelectBoxModule, typeof i7.DxLookupModule, typeof i7.DxTabPanelModule, typeof i8.PageModule, typeof i9.HitInboundInvoiceRoutingModule, typeof i7.DxRadioGroupModule, typeof i7.DxDateBoxModule, typeof i7.DxTemplateModule, typeof i7.DxDropDownBoxModule, typeof i7.DxPopupModule, typeof i7.DxNumberBoxModule, typeof i7.DxCheckBoxModule, typeof i10.FormsModule], never>;
14
15
  static ɵinj: i0.ɵɵInjectorDeclaration<HitInboundInvoiceModule>;
15
16
  }
16
17
  export declare function loadHitInboundInvoiceModuleAsChild(): Promise<typeof HitInboundInvoiceModule>;
@@ -24,10 +24,15 @@ export declare class HitInboundInvoiceService {
24
24
  processManual: (invoiceID: string) => import("rxjs").Observable<any>;
25
25
  createMultipleEmptyDrafts: (requestDto: ConnectorMultipleEmptyDraftDto[]) => import("rxjs").Observable<any>;
26
26
  getIncomingInvoicePdfsMultiple: (invoiceIds: string[]) => import("rxjs").Observable<Blob>;
27
+ getInvoiceXmlLines: (invoiceId: string) => import("rxjs").Observable<any>;
28
+ getItems: (searchText: string) => import("rxjs").Observable<any>;
29
+ itemsGridStore: import("devextreme-aspnet-data-nojquery").CustomStore;
30
+ getTaxGroups: (category: string) => import("rxjs").Observable<any>;
27
31
  LoadInboundInvoiceFiles: (invoiceGUID: string) => import("devextreme-aspnet-data-nojquery").CustomStore;
28
32
  downloadFileById: (blobID: string) => import("rxjs").Observable<any>;
29
33
  getInboundInvoicePdfsMultiple: (invoiceIds: string[]) => import("rxjs").Observable<any>;
30
34
  getInboundInvoicePdfsMerged: (invoiceIds: string[]) => import("rxjs").Observable<any>;
35
+ getCatalogMatchLines: (invoiceId: string) => import("rxjs").Observable<any>;
31
36
  constructor(restService: RestService, devexService: DevexpressRestService);
32
37
  static ɵfac: i0.ɵɵFactoryDeclaration<HitInboundInvoiceService, never>;
33
38
  static ɵprov: i0.ɵɵInjectableDeclaration<HitInboundInvoiceService>;
@@ -27,6 +27,14 @@ export interface ConnectorDraftDocumentLineDto {
27
27
  baseType: number | null;
28
28
  baseEntry: number | null;
29
29
  baseLine: number | null;
30
+ itemCode?: string;
31
+ itemDescription?: string;
32
+ unitPrice?: number | null;
33
+ taxCode?: string;
34
+ vatGroup?: string;
35
+ currency?: string;
36
+ uomCode?: string;
37
+ discPrcnt?: number | null;
30
38
  }
31
39
  export interface ConnectorDraftDocumentDto {
32
40
  docEntry: number | null;
@@ -58,6 +66,7 @@ export interface OpenDocumentDto {
58
66
  text: string;
59
67
  freeTxt: string;
60
68
  lineNum: number;
69
+ unitPrice?: number | null;
61
70
  objType: number;
62
71
  openQty: number;
63
72
  selectedQty: number;
@@ -84,11 +93,64 @@ export interface ConnectorPurchaseInvoiceDocumentLineDto {
84
93
  baseType: number | null;
85
94
  baseEntry: number | null;
86
95
  baseLine: number | null;
96
+ itemCode?: string;
97
+ itemDescription?: string;
98
+ unitPrice?: number | null;
99
+ taxCode?: string;
100
+ vatGroup?: string;
101
+ currency?: string;
102
+ uomCode?: string;
103
+ discPrcnt?: number | null;
87
104
  }
88
105
  export interface ConnectorMultipleEmptyDraftDto {
89
106
  invoiceID: string;
90
107
  draftDocument: ConnectorDraftDocumentDto;
91
108
  }
109
+ export interface InvoiceXmlLineDto {
110
+ lineNumber: number;
111
+ itemName: string;
112
+ quantity: number | null;
113
+ unitPrice: number | null;
114
+ taxPercent: number | null;
115
+ currencyCode: string;
116
+ }
117
+ export interface SapItemDto {
118
+ itemCode: string;
119
+ itemName: string;
120
+ }
121
+ export interface SapTaxGroupDto {
122
+ code: string;
123
+ name: string;
124
+ rate: number;
125
+ category: string;
126
+ }
127
+ export interface ManualLineDto {
128
+ lineNumber: number;
129
+ itemCode: string;
130
+ itemName: string;
131
+ quantity: number | null;
132
+ unitPrice: number | null;
133
+ taxCode: string;
134
+ currencyCode: string;
135
+ selected: boolean;
136
+ itemBoxOpened?: boolean;
137
+ }
138
+ export interface CatalogMatchLineDto {
139
+ lineNumber: number;
140
+ xmlItemName: string;
141
+ matchedItemCode: string;
142
+ matchedItemName: string;
143
+ catalogSubstitute: string;
144
+ catalogItemCode: string;
145
+ isMatched: boolean;
146
+ quantity: number | null;
147
+ unitPrice: number | null;
148
+ discountPercent: number | null;
149
+ taxPercent: number | null;
150
+ unitCode: string;
151
+ currencyCode: string;
152
+ taxCode: string;
153
+ }
92
154
  export interface ConnectorMultipleEmptyDraftResponseDto {
93
155
  invoiceID: string;
94
156
  EFATNO: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hitsoft/e-donusum",
3
- "version": "100.1.17-Edo-Test",
3
+ "version": "100.1.19-Edo-Test",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=9",
6
6
  "@angular/core": ">=9",