@hitsoft/e-donusum 100.1.2-Edo-Test → 100.1.2-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/business-partners/business-partner/components/business-partner.component.mjs +59 -12
- package/esm2020/lib/components/hit-business-partners/hit-business-partner.component.mjs +57 -10
- package/esm2020/lib/components/hit-inbound-invoices/hit-inbound-invoice.component.mjs +16 -245
- 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-business-partners/hit-business-partner.service.mjs +10 -1
- package/esm2020/lib/hit-proxy/hit-inbound-invoices/hit-inbound-invoice.service.mjs +1 -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 +225 -375
- package/fesm2015/hitsoft-e-donusum.mjs.map +1 -1
- package/fesm2020/hitsoft-e-donusum.mjs +224 -369
- package/fesm2020/hitsoft-e-donusum.mjs.map +1 -1
- package/lib/business-partners/business-partner/components/business-partner.component.d.ts +14 -4
- package/lib/components/hit-business-partners/hit-business-partner.component.d.ts +12 -3
- package/lib/components/hit-inbound-invoices/hit-inbound-invoice.component.d.ts +1 -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-business-partners/hit-business-partner.service.d.ts +4 -0
- package/lib/hit-proxy/hit-inbound-invoices/hit-inbound-invoice.service.d.ts +0 -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,16 +1,19 @@
|
|
|
1
1
|
import { ListService, PagedResultDto, TrackByService } from '@abp/ng.core';
|
|
2
|
-
import { ConfirmationService } from '@abp/ng.theme.shared';
|
|
3
|
-
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ConfirmationService, ToasterService } from '@abp/ng.theme.shared';
|
|
3
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
4
4
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
5
5
|
import type { GetBusinessPartnersInput, BusinessPartnerWithNavigationPropertiesDto } from '../../../proxy/business-partners/models';
|
|
6
6
|
import { BusinessPartnerService } from '../../../proxy/business-partners/business-partner.service';
|
|
7
|
+
import { HitBusinessPartnerService } from '../../../hit-proxy/hit-business-partners/hit-business-partner.service';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class BusinessPartnerComponent implements OnInit {
|
|
9
|
+
export declare class BusinessPartnerComponent implements OnInit, OnDestroy {
|
|
9
10
|
readonly list: ListService;
|
|
10
11
|
readonly track: TrackByService;
|
|
11
12
|
readonly service: BusinessPartnerService;
|
|
12
13
|
private confirmation;
|
|
13
14
|
private fb;
|
|
15
|
+
private hitBusinessPartnerService;
|
|
16
|
+
private toasterService;
|
|
14
17
|
data: PagedResultDto<BusinessPartnerWithNavigationPropertiesDto>;
|
|
15
18
|
filters: GetBusinessPartnersInput;
|
|
16
19
|
form: FormGroup;
|
|
@@ -18,7 +21,11 @@ export declare class BusinessPartnerComponent implements OnInit {
|
|
|
18
21
|
isModalBusy: boolean;
|
|
19
22
|
isModalOpen: boolean;
|
|
20
23
|
selected?: BusinessPartnerWithNavigationPropertiesDto;
|
|
21
|
-
|
|
24
|
+
isTriggerGetBusinessPartnerBusy: boolean;
|
|
25
|
+
triggerElapsedSeconds: number;
|
|
26
|
+
private _pollingInterval;
|
|
27
|
+
private _elapsedInterval;
|
|
28
|
+
constructor(list: ListService, track: TrackByService, service: BusinessPartnerService, confirmation: ConfirmationService, fb: FormBuilder, hitBusinessPartnerService: HitBusinessPartnerService, toasterService: ToasterService);
|
|
22
29
|
ngOnInit(): void;
|
|
23
30
|
clearFilters(): void;
|
|
24
31
|
buildForm(): void;
|
|
@@ -28,6 +35,9 @@ export declare class BusinessPartnerComponent implements OnInit {
|
|
|
28
35
|
create(): void;
|
|
29
36
|
update(record: BusinessPartnerWithNavigationPropertiesDto): void;
|
|
30
37
|
delete(record: BusinessPartnerWithNavigationPropertiesDto): void;
|
|
38
|
+
triggerGetBusinessPartnerFromConnector(): void;
|
|
39
|
+
private _stopPolling;
|
|
40
|
+
ngOnDestroy(): void;
|
|
31
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<BusinessPartnerComponent, never>;
|
|
32
42
|
static ɵcmp: i0.ɵɵComponentDeclaration<BusinessPartnerComponent, "lib-business-partner", never, {}, {}, never, never, false>;
|
|
33
43
|
}
|
|
@@ -1,16 +1,25 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ToasterService } from '@abp/ng.theme.shared';
|
|
2
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
3
|
import { DxDataGridComponent } from 'devextreme-angular';
|
|
3
4
|
import { HitBusinessPartnerGroupService } from '../../hit-proxy/hit-business-partner-groups/hit-business-partner-group.service';
|
|
4
5
|
import { HitBusinessPartnerService } from '../../hit-proxy/hit-business-partners/hit-business-partner.service';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class HitBusinessPartnerComponent implements OnInit {
|
|
7
|
+
export declare class HitBusinessPartnerComponent implements OnInit, OnDestroy {
|
|
7
8
|
private hitBusinessPartnerService;
|
|
8
9
|
private hitBusinessPartnerGroupService;
|
|
10
|
+
private toasterService;
|
|
9
11
|
dxBusinessPartnerInstance: DxDataGridComponent;
|
|
10
12
|
businessPartnersDataSource: any;
|
|
11
13
|
businessPartnerGroupDataSource: any;
|
|
12
|
-
|
|
14
|
+
isTriggerGetBusinessPartnerBusy: boolean;
|
|
15
|
+
triggerElapsedSeconds: number;
|
|
16
|
+
private _pollingInterval;
|
|
17
|
+
private _elapsedInterval;
|
|
18
|
+
constructor(hitBusinessPartnerService: HitBusinessPartnerService, hitBusinessPartnerGroupService: HitBusinessPartnerGroupService, toasterService: ToasterService);
|
|
13
19
|
ngOnInit(): void;
|
|
20
|
+
triggerGetBusinessPartnerFromConnector(): void;
|
|
21
|
+
private _stopPolling;
|
|
22
|
+
ngOnDestroy(): void;
|
|
14
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<HitBusinessPartnerComponent, never>;
|
|
15
24
|
static ɵcmp: i0.ɵɵComponentDeclaration<HitBusinessPartnerComponent, "lib-business-partner", never, {}, {}, never, never, false>;
|
|
16
25
|
}
|
|
@@ -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';
|
|
@@ -93,14 +92,6 @@ export declare class HitInboundInvoiceComponent implements OnInit {
|
|
|
93
92
|
hasValidSelection: boolean;
|
|
94
93
|
branchPopupVisible: boolean;
|
|
95
94
|
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
95
|
invoiceFileNameLookup: any;
|
|
105
96
|
isFileModalBusy: boolean;
|
|
106
97
|
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);
|
|
@@ -137,13 +128,6 @@ export declare class HitInboundInvoiceComponent implements OnInit {
|
|
|
137
128
|
sendDocument(documentGridLines: any[]): void;
|
|
138
129
|
createDraftDocument(): void;
|
|
139
130
|
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
131
|
checkBoxChanged(event: any): void;
|
|
148
132
|
changeRowsColor(e: any): void;
|
|
149
133
|
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;
|
|
@@ -6,6 +6,10 @@ export declare class HitBusinessPartnerService {
|
|
|
6
6
|
private devexService;
|
|
7
7
|
apiName: string;
|
|
8
8
|
LoadBusinessPartners: import("devextreme-aspnet-data-nojquery").CustomStore;
|
|
9
|
+
triggerGetBusinessPartnerFromConnector: () => import("rxjs").Observable<string>;
|
|
10
|
+
getBusinessPartnerJobStatus: (jobId: string) => import("rxjs").Observable<{
|
|
11
|
+
state: string;
|
|
12
|
+
}>;
|
|
9
13
|
constructor(restService: RestService, devexService: DevexpressRestService);
|
|
10
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<HitBusinessPartnerService, never>;
|
|
11
15
|
static ɵprov: i0.ɵɵInjectableDeclaration<HitBusinessPartnerService>;
|
|
@@ -22,10 +22,6 @@ export declare class HitInboundInvoiceService {
|
|
|
22
22
|
createPurchaseInvoiceDocument: (requestDto: ConnectorPurchaseInvoiceDocumentDto, invoiceID: string) => import("rxjs").Observable<any>;
|
|
23
23
|
processManual: (invoiceID: string) => import("rxjs").Observable<any>;
|
|
24
24
|
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
25
|
getIncomingInvoicePdfsMultiple: (invoiceIds: string[]) => import("rxjs").Observable<Blob>;
|
|
30
26
|
LoadInboundInvoiceFiles: (invoiceGUID: string) => import("devextreme-aspnet-data-nojquery").CustomStore;
|
|
31
27
|
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>;
|