@hitsoft/e-donusum 1.0.43 → 1.0.44
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 +351 -20
- package/esm2020/lib/components/hit-inbound-invoices/hit-inbound-invoice.module.mjs +10 -4
- package/esm2020/lib/despatches/despatch/despatch.module.mjs +1 -1
- package/esm2020/lib/gib-partner-pk-alls/gib-partner-pk-all/gib-partner-pk-all.module.mjs +1 -1
- package/esm2020/lib/gib-partner-pks/gib-partner-pk/gib-partner-pk.module.mjs +1 -1
- package/esm2020/lib/hit-proxy/hit-business-partner-groups/hit-business-partner-group.service.mjs +5 -1
- package/esm2020/lib/hit-proxy/hit-inbound-invoices/hit-inbound-invoice.service.mjs +49 -1
- package/esm2020/lib/hit-proxy/hit-inbound-invoices/models.mjs +2 -0
- package/esm2020/lib/invoices/invoice/invoice.module.mjs +1 -1
- package/esm2020/lib/note-rules/note-rule/note-rule.module.mjs +1 -1
- package/esm2020/lib/params-companies/params-company/params-company.module.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 +444 -54
- package/fesm2015/hitsoft-e-donusum.mjs.map +1 -1
- package/fesm2020/hitsoft-e-donusum.mjs +440 -54
- package/fesm2020/hitsoft-e-donusum.mjs.map +1 -1
- package/lib/components/hit-inbound-invoices/hit-inbound-invoice.component.d.ts +54 -3
- package/lib/components/hit-inbound-invoices/hit-inbound-invoice.module.d.ts +1 -1
- package/lib/hit-proxy/hit-business-partner-groups/hit-business-partner-group.service.d.ts +1 -0
- package/lib/hit-proxy/hit-inbound-invoices/hit-inbound-invoice.service.d.ts +11 -0
- package/lib/hit-proxy/hit-inbound-invoices/models.d.ts +57 -0
- package/package.json +1 -1
|
@@ -1,36 +1,87 @@
|
|
|
1
1
|
import { ListService } from '@abp/ng.core';
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
|
-
import { DxDataGridComponent } from 'devextreme-angular';
|
|
3
|
+
import { DxDataGridComponent, DxTabPanelComponent } from 'devextreme-angular';
|
|
4
4
|
import { HitInboundInvoiceService } from '../../hit-proxy/hit-inbound-invoices/hit-inbound-invoice.service';
|
|
5
5
|
import { HitInvoiceService } from '../../hit-proxy/hit-invoices/hit-invoice.service';
|
|
6
6
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
7
7
|
import { ToasterService } from '@abp/ng.theme.shared';
|
|
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';
|
|
8
10
|
import * as i0 from "@angular/core";
|
|
9
11
|
export declare class HitInboundInvoiceComponent implements OnInit {
|
|
10
12
|
readonly list: ListService;
|
|
11
13
|
private readonly service;
|
|
12
14
|
private readonly invoiceService;
|
|
13
15
|
private readonly formBuilder;
|
|
16
|
+
private readonly formBuilderForPartner;
|
|
14
17
|
private readonly toasterService;
|
|
18
|
+
private readonly businessPartnerGroupService;
|
|
15
19
|
dxInboundInvoiceInstance: DxDataGridComponent;
|
|
20
|
+
dxPurchaseOrderDocuments: DxDataGridComponent;
|
|
21
|
+
dxPurchaseDespatchDocuments: DxDataGridComponent;
|
|
22
|
+
dxDraftDocumentLines: DxDataGridComponent;
|
|
23
|
+
tabPanel: DxTabPanelComponent;
|
|
16
24
|
inboundInvoicesDataSource: any;
|
|
17
25
|
inboundInvoiceStatusLookup: any;
|
|
18
26
|
inboundInvoiceReceiverResponseLookup: any;
|
|
27
|
+
partnerAvailableAccounts: Array<{
|
|
28
|
+
id: string;
|
|
29
|
+
text: string;
|
|
30
|
+
}>;
|
|
31
|
+
objectTypesLookup: Array<{
|
|
32
|
+
id: string;
|
|
33
|
+
text: string;
|
|
34
|
+
}>;
|
|
35
|
+
partnerAvailableSeries: [];
|
|
36
|
+
partnerAvailableGroups: [];
|
|
37
|
+
partnerAvailableCountries: [];
|
|
38
|
+
partnerAvailableStates: [];
|
|
39
|
+
openDocumentsForPartner: [];
|
|
40
|
+
invoiceObjectsEnumLookup: any;
|
|
41
|
+
purchaseOrderDocuments: [];
|
|
42
|
+
draftDocumentLines: OpenDocumentDto[];
|
|
43
|
+
purchaseDespatchDocuments: [];
|
|
19
44
|
isModalBusyForResponse: boolean;
|
|
20
45
|
isModalOpenForResponse: boolean;
|
|
46
|
+
isModalBusyForPartner: boolean;
|
|
47
|
+
isModalOpenForPartner: boolean;
|
|
48
|
+
isModalBusyForOpenDocs: boolean;
|
|
49
|
+
isModalOpenForOpenDocs: boolean;
|
|
50
|
+
isModalBusyForDraft: boolean;
|
|
51
|
+
isModalOpenForDraft: boolean;
|
|
52
|
+
isLoadingStates: boolean;
|
|
53
|
+
isLoadingSeries: boolean;
|
|
54
|
+
isLoadingGroups: boolean;
|
|
55
|
+
isLoadingAccounts: boolean;
|
|
56
|
+
isLoadingCountries: boolean;
|
|
21
57
|
faturaOnizleme: any;
|
|
22
58
|
formResponse: FormGroup;
|
|
23
|
-
|
|
59
|
+
formPartner: FormGroup;
|
|
60
|
+
selectedInboundInvoice: any;
|
|
61
|
+
constructor(list: ListService, service: HitInboundInvoiceService, invoiceService: HitInvoiceService, formBuilder: FormBuilder, formBuilderForPartner: FormBuilder, toasterService: ToasterService, businessPartnerGroupService: HitBusinessPartnerGroupService);
|
|
24
62
|
ngOnInit(): void;
|
|
63
|
+
getInboundInvoice(): void;
|
|
25
64
|
getInvoicePreview(record: any): void;
|
|
26
65
|
openResponseModal(record: any): void;
|
|
27
66
|
buildForm(record: any): void;
|
|
28
67
|
sendInvoiceResponse(response: boolean): void;
|
|
29
|
-
|
|
68
|
+
openPartnerModal(record: any): void;
|
|
69
|
+
getStates(): void;
|
|
70
|
+
hideFormPartner(): void;
|
|
71
|
+
createBusinessPartner(): void;
|
|
72
|
+
buildFormForPartner(record: any): void;
|
|
73
|
+
openDraftForm(record: any): void;
|
|
74
|
+
openOpenDocumentsForm(): void;
|
|
75
|
+
selectOpenDocuments(): void;
|
|
76
|
+
hideFormOpenDocuments(): void;
|
|
77
|
+
hideFormDraft(): void;
|
|
78
|
+
createDraftDocument(): void;
|
|
79
|
+
processManual(record: any): void;
|
|
30
80
|
checkBoxChanged(event: any): void;
|
|
31
81
|
changeRowsColor(e: any): void;
|
|
32
82
|
getReceiverResponseName(responseId: any): any;
|
|
33
83
|
getIconClass(responseId: any): "" | "fas fa-clock" | "fas fa-check-circle" | "fas fa-times-circle";
|
|
84
|
+
getDocObjectName(data: any): string;
|
|
34
85
|
static ɵfac: i0.ɵɵFactoryDeclaration<HitInboundInvoiceComponent, never>;
|
|
35
86
|
static ɵcmp: i0.ɵɵComponentDeclaration<HitInboundInvoiceComponent, "lib-inbound-invoice", never, {}, {}, never, never, false>;
|
|
36
87
|
}
|
|
@@ -10,7 +10,7 @@ import * as i8 from "@abp/ng.components/page";
|
|
|
10
10
|
import * as i9 from "./hit-inbound-invoice-routing.module";
|
|
11
11
|
export declare class HitInboundInvoiceModule {
|
|
12
12
|
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], 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], never>;
|
|
14
14
|
static ɵinj: i0.ɵɵInjectorDeclaration<HitInboundInvoiceModule>;
|
|
15
15
|
}
|
|
16
16
|
export declare function loadHitInboundInvoiceModuleAsChild(): Promise<typeof HitInboundInvoiceModule>;
|
|
@@ -6,6 +6,7 @@ export declare class HitBusinessPartnerGroupService {
|
|
|
6
6
|
private devexService;
|
|
7
7
|
apiName: string;
|
|
8
8
|
LoadBusinessPartnerGroups: import("devextreme-aspnet-data-nojquery").CustomStore;
|
|
9
|
+
getSupplierGroups: () => import("rxjs").Observable<any>;
|
|
9
10
|
constructor(restService: RestService, devexService: DevexpressRestService);
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<HitBusinessPartnerGroupService, never>;
|
|
11
12
|
static ɵprov: i0.ɵɵInjectableDeclaration<HitBusinessPartnerGroupService>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { RestService } from "@abp/ng.core";
|
|
2
2
|
import { DevexpressRestService } from "../devexpress-query-builder/devexpress-query-builder";
|
|
3
|
+
import { ConnectorDraftDocumentDto, CreateBusinessPartnerSupplierDto } from "./models";
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class HitInboundInvoiceService {
|
|
5
6
|
private restService;
|
|
@@ -8,6 +9,16 @@ export declare class HitInboundInvoiceService {
|
|
|
8
9
|
LoadInboundInvoices: import("devextreme-aspnet-data-nojquery").CustomStore;
|
|
9
10
|
sendInvoiceResponse: (invoiceUUID: string, isConfirm: boolean, id: string) => import("rxjs").Observable<any>;
|
|
10
11
|
getInboundInvoice: (startDate: string, endDate: string) => import("rxjs").Observable<any>;
|
|
12
|
+
getBankAccountByCurrency: (actCurr: string) => import("rxjs").Observable<any>;
|
|
13
|
+
checkBusinessPartnerExist: (tcknVkn: string) => import("rxjs").Observable<any>;
|
|
14
|
+
getPartnerNumberingSeries: () => import("rxjs").Observable<any>;
|
|
15
|
+
getPartnerDetails: (invoiceGuid: string) => import("rxjs").Observable<any>;
|
|
16
|
+
getCountries: () => import("rxjs").Observable<any>;
|
|
17
|
+
getStates: (countryCode: string) => import("rxjs").Observable<any>;
|
|
18
|
+
getOpenDocuments: (tcknVkn: string) => import("rxjs").Observable<any>;
|
|
19
|
+
createBusinessPartnerForSupplier: (requestDto: CreateBusinessPartnerSupplierDto) => import("rxjs").Observable<any>;
|
|
20
|
+
createDraftDocument: (requestDto: ConnectorDraftDocumentDto, invoiceID: string) => import("rxjs").Observable<any>;
|
|
21
|
+
processManual: (invoiceID: string) => import("rxjs").Observable<any>;
|
|
11
22
|
constructor(restService: RestService, devexService: DevexpressRestService);
|
|
12
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<HitInboundInvoiceService, never>;
|
|
13
24
|
static ɵprov: i0.ɵɵInjectableDeclaration<HitInboundInvoiceService>;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
export interface BpAddress {
|
|
2
|
+
addressName: string;
|
|
3
|
+
street: string;
|
|
4
|
+
block: string;
|
|
5
|
+
zipCode: string;
|
|
6
|
+
city: string;
|
|
7
|
+
county: string;
|
|
8
|
+
country: string;
|
|
9
|
+
state: string;
|
|
10
|
+
addressType: string;
|
|
11
|
+
}
|
|
12
|
+
export interface CreateBusinessPartnerSupplierDto {
|
|
13
|
+
cardCode: string;
|
|
14
|
+
cardName: string;
|
|
15
|
+
cardType: string;
|
|
16
|
+
groupCode: number;
|
|
17
|
+
currency: string;
|
|
18
|
+
additionalID: string;
|
|
19
|
+
debitorAccount: string;
|
|
20
|
+
website: string;
|
|
21
|
+
series: number;
|
|
22
|
+
unifiedFederalTaxID: string;
|
|
23
|
+
bpAddresses: BpAddress[];
|
|
24
|
+
}
|
|
25
|
+
export interface ConnectorDraftDocumentLineDto {
|
|
26
|
+
quantity: number | null;
|
|
27
|
+
baseType: number | null;
|
|
28
|
+
baseEntry: number | null;
|
|
29
|
+
baseLine: number | null;
|
|
30
|
+
}
|
|
31
|
+
export interface ConnectorDraftDocumentDto {
|
|
32
|
+
docEntry: number | null;
|
|
33
|
+
docNum: number | null;
|
|
34
|
+
docDate: string;
|
|
35
|
+
docDueDate: string;
|
|
36
|
+
taxDate: string;
|
|
37
|
+
cardCode: string;
|
|
38
|
+
docCurrency: string;
|
|
39
|
+
docRate: number | null;
|
|
40
|
+
docObjectCode: string;
|
|
41
|
+
numAtCard: string;
|
|
42
|
+
u_UUID: string;
|
|
43
|
+
u_EFATNO: string;
|
|
44
|
+
u_SEND: string;
|
|
45
|
+
u_ProfileId: string;
|
|
46
|
+
documentLines: ConnectorDraftDocumentLineDto[];
|
|
47
|
+
}
|
|
48
|
+
export interface OpenDocumentDto {
|
|
49
|
+
cardCode: string;
|
|
50
|
+
docDate: string;
|
|
51
|
+
docDueDate: string;
|
|
52
|
+
docEntry: number;
|
|
53
|
+
itemCode: string;
|
|
54
|
+
lineNum: number;
|
|
55
|
+
objType: number;
|
|
56
|
+
openQty: number;
|
|
57
|
+
}
|