@hitsoft/e-donusum 100.1.17-Edo-Test → 100.1.18-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.
- package/esm2020/lib/auto-send-rules/auto-send-rule/auto-send-rule.module.mjs +1 -1
- package/esm2020/lib/components/hit-inbound-invoices/hit-inbound-invoice.component.mjs +229 -83
- package/esm2020/lib/components/hit-inbound-invoices/hit-inbound-invoice.module.mjs +15 -5
- package/esm2020/lib/components/hit-setup-wizard/hit-setup-wizard.component.mjs +2 -2
- package/esm2020/lib/hit-proxy/hit-inbound-invoices/hit-inbound-invoice.service.mjs +28 -1
- package/esm2020/lib/hit-proxy/hit-inbound-invoices/models.mjs +1 -1
- package/esm2020/lib/proxy/auto-send-rule-doc-types/index.mjs +1 -1
- package/esm2020/lib/proxy/auto-send-rule-scenarios/index.mjs +1 -1
- package/esm2020/lib/proxy/auto-send-rules/index.mjs +1 -1
- package/esm2020/lib/proxy/document-serials/index.mjs +1 -1
- package/esm2020/lib/proxy/gib-partner-pks/index.mjs +1 -1
- package/esm2020/lib/proxy/note-rule-doc-types/index.mjs +1 -1
- package/esm2020/lib/proxy/note-rule-scenarios/index.mjs +1 -1
- package/esm2020/lib/proxy/note-rules/index.mjs +1 -1
- package/esm2020/lib/proxy/params-companies/index.mjs +1 -1
- package/esm2020/lib/proxy/params-generals/index.mjs +1 -1
- package/esm2020/lib/proxy/params-integrators/index.mjs +1 -1
- package/esm2020/lib/proxy/paramse-dispatches/index.mjs +1 -1
- package/esm2020/lib/proxy/paramse-invoices/index.mjs +1 -1
- package/esm2020/lib/proxy/xslt-formats/index.mjs +1 -1
- package/esm2020/lib/proxy/xslt-rule-doc-types/index.mjs +1 -1
- package/esm2020/lib/proxy/xslt-rule-scenarios/index.mjs +1 -1
- package/esm2020/lib/proxy/xslt-rules/index.mjs +1 -1
- package/fesm2015/hitsoft-e-donusum.mjs +274 -88
- package/fesm2015/hitsoft-e-donusum.mjs.map +1 -1
- package/fesm2020/hitsoft-e-donusum.mjs +270 -88
- package/fesm2020/hitsoft-e-donusum.mjs.map +1 -1
- package/lib/components/hit-inbound-invoices/hit-inbound-invoice.component.d.ts +15 -1
- package/lib/components/hit-inbound-invoices/hit-inbound-invoice.module.d.ts +2 -1
- package/lib/hit-proxy/hit-inbound-invoices/hit-inbound-invoice.service.d.ts +5 -0
- package/lib/hit-proxy/hit-inbound-invoices/models.d.ts +54 -0
- 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;
|
|
@@ -89,6 +98,51 @@ export interface ConnectorMultipleEmptyDraftDto {
|
|
|
89
98
|
invoiceID: string;
|
|
90
99
|
draftDocument: ConnectorDraftDocumentDto;
|
|
91
100
|
}
|
|
101
|
+
export interface InvoiceXmlLineDto {
|
|
102
|
+
lineNumber: number;
|
|
103
|
+
itemName: string;
|
|
104
|
+
quantity: number | null;
|
|
105
|
+
unitPrice: number | null;
|
|
106
|
+
taxPercent: number | null;
|
|
107
|
+
currencyCode: string;
|
|
108
|
+
}
|
|
109
|
+
export interface SapItemDto {
|
|
110
|
+
itemCode: string;
|
|
111
|
+
itemName: string;
|
|
112
|
+
}
|
|
113
|
+
export interface SapTaxGroupDto {
|
|
114
|
+
code: string;
|
|
115
|
+
name: string;
|
|
116
|
+
rate: number;
|
|
117
|
+
category: string;
|
|
118
|
+
}
|
|
119
|
+
export interface ManualLineDto {
|
|
120
|
+
lineNumber: number;
|
|
121
|
+
itemCode: string;
|
|
122
|
+
itemName: string;
|
|
123
|
+
quantity: number | null;
|
|
124
|
+
unitPrice: number | null;
|
|
125
|
+
taxCode: string;
|
|
126
|
+
currencyCode: string;
|
|
127
|
+
selected: boolean;
|
|
128
|
+
itemBoxOpened?: boolean;
|
|
129
|
+
}
|
|
130
|
+
export interface CatalogMatchLineDto {
|
|
131
|
+
lineNumber: number;
|
|
132
|
+
xmlItemName: string;
|
|
133
|
+
matchedItemCode: string;
|
|
134
|
+
matchedItemName: string;
|
|
135
|
+
catalogSubstitute: string;
|
|
136
|
+
catalogItemCode: string;
|
|
137
|
+
isMatched: boolean;
|
|
138
|
+
quantity: number | null;
|
|
139
|
+
unitPrice: number | null;
|
|
140
|
+
discountPercent: number | null;
|
|
141
|
+
taxPercent: number | null;
|
|
142
|
+
unitCode: string;
|
|
143
|
+
currencyCode: string;
|
|
144
|
+
taxCode: string;
|
|
145
|
+
}
|
|
92
146
|
export interface ConnectorMultipleEmptyDraftResponseDto {
|
|
93
147
|
invoiceID: string;
|
|
94
148
|
EFATNO: string;
|