@hitsoft/e-donusum 100.1.4-Edo-Test → 100.1.4-edo-prod
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/components/hit-inbound-invoices/hit-inbound-invoice.component.mjs +60 -246
- package/esm2020/lib/components/hit-inbound-invoices/hit-inbound-invoice.module.mjs +5 -15
- package/esm2020/lib/components/hit-invoices/hit-invoice.component.mjs +26 -11
- package/esm2020/lib/hit-proxy/hit-inbound-invoices/hit-inbound-invoice.service.mjs +6 -23
- package/esm2020/lib/hit-proxy/hit-inbound-invoices/models.mjs +1 -1
- package/esm2020/lib/hit-proxy/hit-invoices/hit-invoice.service.mjs +1 -1
- package/fesm2015/hitsoft-e-donusum.mjs +107 -307
- package/fesm2015/hitsoft-e-donusum.mjs.map +1 -1
- package/fesm2020/hitsoft-e-donusum.mjs +93 -290
- package/fesm2020/hitsoft-e-donusum.mjs.map +1 -1
- package/lib/components/hit-inbound-invoices/hit-inbound-invoice.component.d.ts +6 -17
- package/lib/components/hit-inbound-invoices/hit-inbound-invoice.module.d.ts +1 -2
- package/lib/components/hit-invoices/hit-invoice.component.d.ts +2 -0
- package/lib/hit-proxy/hit-inbound-invoices/hit-inbound-invoice.service.d.ts +1 -4
- package/lib/hit-proxy/hit-inbound-invoices/models.d.ts +0 -53
- package/lib/hit-proxy/hit-invoices/hit-invoice.service.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { ListService } from '@abp/ng.core';
|
|
2
2
|
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
3
3
|
import { DxDataGridComponent, DxTabPanelComponent } from 'devextreme-angular';
|
|
4
|
-
import CustomStore from 'devextreme/data/custom_store';
|
|
5
4
|
import { HitInboundInvoiceService } from '../../hit-proxy/hit-inbound-invoices/hit-inbound-invoice.service';
|
|
6
5
|
import { HitInvoiceService } from '../../hit-proxy/hit-invoices/hit-invoice.service';
|
|
7
6
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
8
7
|
import { ConfirmationService, ToasterService } from '@abp/ng.theme.shared';
|
|
9
8
|
import { HitBusinessPartnerGroupService } from '../../hit-proxy/hit-business-partner-groups/hit-business-partner-group.service';
|
|
10
|
-
import {
|
|
9
|
+
import { OpenDocumentDto } from '../../hit-proxy/hit-inbound-invoices/models';
|
|
11
10
|
import { HitBranchesService } from '../../hit-proxy/hit-branches/hit-branch.service';
|
|
12
11
|
import { HitParamsGeneralsService } from '../../hit-proxy/hit-params-generals/hit-params-general.service';
|
|
13
12
|
import { HitSharedService } from '../../hit-proxy/shared/hit-shared.service';
|
|
@@ -51,6 +50,8 @@ export declare class HitInboundInvoiceComponent implements OnInit {
|
|
|
51
50
|
openDocumentsForPartner: [];
|
|
52
51
|
invoiceObjectsEnumLookup: any;
|
|
53
52
|
invoiceFilesDataSource: any;
|
|
53
|
+
userCommentMap: Record<string, string>;
|
|
54
|
+
isSavingComment: Record<string, boolean>;
|
|
54
55
|
purchaseOrderDocuments: [];
|
|
55
56
|
documentLines: OpenDocumentDto[];
|
|
56
57
|
purchaseDespatchDocuments: [];
|
|
@@ -93,14 +94,6 @@ export declare class HitInboundInvoiceComponent implements OnInit {
|
|
|
93
94
|
hasValidSelection: boolean;
|
|
94
95
|
branchPopupVisible: boolean;
|
|
95
96
|
selectedBranchId: number;
|
|
96
|
-
isModalOpenForManualLine: boolean;
|
|
97
|
-
isModalBusyForManualLine: boolean;
|
|
98
|
-
manualLines: ManualLineDto[];
|
|
99
|
-
sapItemsStore: CustomStore;
|
|
100
|
-
taxGroups: SapTaxGroupDto[];
|
|
101
|
-
isModalOpenForCatalog: boolean;
|
|
102
|
-
isModalBusyForCatalog: boolean;
|
|
103
|
-
catalogMatchLines: CatalogMatchLineDto[];
|
|
104
97
|
invoiceFileNameLookup: any;
|
|
105
98
|
isFileModalBusy: boolean;
|
|
106
99
|
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);
|
|
@@ -118,6 +111,9 @@ export declare class HitInboundInvoiceComponent implements OnInit {
|
|
|
118
111
|
getInboundInvoice(): void;
|
|
119
112
|
getInvoicePreview(record: any): void;
|
|
120
113
|
viewPDFsMultiple(): void;
|
|
114
|
+
getRowComment(record: any): string;
|
|
115
|
+
onUserCommentChanged(value: string, record: any): void;
|
|
116
|
+
saveUserComment(record: any): void;
|
|
121
117
|
openResponseModal(record: any): void;
|
|
122
118
|
buildForm(record: any): void;
|
|
123
119
|
sendInvoiceResponse(response: boolean): void;
|
|
@@ -137,13 +133,6 @@ export declare class HitInboundInvoiceComponent implements OnInit {
|
|
|
137
133
|
sendDocument(documentGridLines: any[]): void;
|
|
138
134
|
createDraftDocument(): void;
|
|
139
135
|
processManual(record: any): void;
|
|
140
|
-
openManualLineModal(): void;
|
|
141
|
-
onItemLookupChanged(event: any, lineIndex: number): void;
|
|
142
|
-
initSapItemsStore(): void;
|
|
143
|
-
toggleAllManualLines(event: any): void;
|
|
144
|
-
openCatalogMatchModal(): void;
|
|
145
|
-
addCatalogLinesToDocument(): void;
|
|
146
|
-
addManualLinesToDocument(): void;
|
|
147
136
|
checkBoxChanged(event: any): void;
|
|
148
137
|
changeRowsColor(e: any): void;
|
|
149
138
|
getReceiverResponseName(responseId: any): any;
|
|
@@ -8,10 +8,9 @@ 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";
|
|
12
11
|
export declare class HitInboundInvoiceModule {
|
|
13
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<HitInboundInvoiceModule, 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
|
|
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>;
|
|
15
14
|
static ɵinj: i0.ɵɵInjectorDeclaration<HitInboundInvoiceModule>;
|
|
16
15
|
}
|
|
17
16
|
export declare function loadHitInboundInvoiceModuleAsChild(): Promise<typeof HitInboundInvoiceModule>;
|
|
@@ -66,6 +66,8 @@ export declare class HitInvoiceComponent implements OnInit, OnDestroy {
|
|
|
66
66
|
sendInvoiceToEntegrator(): void;
|
|
67
67
|
getInvoicesFromConnector(): void;
|
|
68
68
|
triggerGetInvoicesFromConnector(): void;
|
|
69
|
+
private buildQueueIssues;
|
|
70
|
+
private notifyQueuedSuccess;
|
|
69
71
|
private _stopPolling;
|
|
70
72
|
ngOnDestroy(): void;
|
|
71
73
|
getInvoiceResponses(): void;
|
|
@@ -14,6 +14,7 @@ export declare class HitInboundInvoiceService {
|
|
|
14
14
|
checkBusinessPartnerExist: (tcknVkn: string) => import("rxjs").Observable<any>;
|
|
15
15
|
getPartnerNumberingSeries: () => import("rxjs").Observable<any>;
|
|
16
16
|
getPartnerDetails: (invoiceGuid: string) => import("rxjs").Observable<any>;
|
|
17
|
+
saveInvoiceUserComment: (invoiceID: string, comment: string) => import("rxjs").Observable<any>;
|
|
17
18
|
getCountries: () => import("rxjs").Observable<any>;
|
|
18
19
|
getStates: (countryCode: string) => import("rxjs").Observable<any>;
|
|
19
20
|
getOpenDocuments: (tcknVkn: string) => import("rxjs").Observable<any>;
|
|
@@ -22,10 +23,6 @@ export declare class HitInboundInvoiceService {
|
|
|
22
23
|
createPurchaseInvoiceDocument: (requestDto: ConnectorPurchaseInvoiceDocumentDto, invoiceID: string) => import("rxjs").Observable<any>;
|
|
23
24
|
processManual: (invoiceID: string) => import("rxjs").Observable<any>;
|
|
24
25
|
createMultipleEmptyDrafts: (requestDto: ConnectorMultipleEmptyDraftDto[]) => import("rxjs").Observable<any>;
|
|
25
|
-
getInvoiceXmlLines: (invoiceId: string) => import("rxjs").Observable<any>;
|
|
26
|
-
getItems: (searchText: string) => import("rxjs").Observable<any>;
|
|
27
|
-
getTaxGroups: (category: string) => import("rxjs").Observable<any>;
|
|
28
|
-
getCatalogMatchLines: (invoiceId: string) => import("rxjs").Observable<any>;
|
|
29
26
|
getIncomingInvoicePdfsMultiple: (invoiceIds: string[]) => import("rxjs").Observable<Blob>;
|
|
30
27
|
LoadInboundInvoiceFiles: (invoiceGUID: string) => import("devextreme-aspnet-data-nojquery").CustomStore;
|
|
31
28
|
downloadFileById: (blobID: string) => import("rxjs").Observable<any>;
|
|
@@ -27,14 +27,6 @@ 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;
|
|
38
30
|
}
|
|
39
31
|
export interface ConnectorDraftDocumentDto {
|
|
40
32
|
docEntry: number | null;
|
|
@@ -66,7 +58,6 @@ export interface OpenDocumentDto {
|
|
|
66
58
|
text: string;
|
|
67
59
|
freeTxt: string;
|
|
68
60
|
lineNum: number;
|
|
69
|
-
unitPrice?: number | null;
|
|
70
61
|
objType: number;
|
|
71
62
|
openQty: number;
|
|
72
63
|
selectedQty: number;
|
|
@@ -98,50 +89,6 @@ export interface ConnectorMultipleEmptyDraftDto {
|
|
|
98
89
|
invoiceID: string;
|
|
99
90
|
draftDocument: ConnectorDraftDocumentDto;
|
|
100
91
|
}
|
|
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
|
-
}
|
|
129
|
-
export interface CatalogMatchLineDto {
|
|
130
|
-
lineNumber: number;
|
|
131
|
-
xmlItemName: string;
|
|
132
|
-
matchedItemCode: string;
|
|
133
|
-
matchedItemName: string;
|
|
134
|
-
catalogSubstitute: string;
|
|
135
|
-
catalogItemCode: string;
|
|
136
|
-
isMatched: boolean;
|
|
137
|
-
quantity: number | null;
|
|
138
|
-
unitPrice: number | null;
|
|
139
|
-
discountPercent: number | null;
|
|
140
|
-
taxPercent: number | null;
|
|
141
|
-
unitCode: string;
|
|
142
|
-
currencyCode: string;
|
|
143
|
-
taxCode: string;
|
|
144
|
-
}
|
|
145
92
|
export interface ConnectorMultipleEmptyDraftResponseDto {
|
|
146
93
|
invoiceID: string;
|
|
147
94
|
EFATNO: string;
|
|
@@ -11,6 +11,7 @@ export declare class HitInvoiceService {
|
|
|
11
11
|
sendInvoiceById: (input: string[]) => import("rxjs").Observable<{
|
|
12
12
|
multiPkDocEntries: number[];
|
|
13
13
|
cancelledDocEntries: number[];
|
|
14
|
+
successInvoiceCount: number;
|
|
14
15
|
}>;
|
|
15
16
|
getInvoicePdfsMultiple: (invoiceIds: string[]) => import("rxjs").Observable<any>;
|
|
16
17
|
getInvoicePdfsMerged: (input: string[]) => import("rxjs").Observable<any>;
|