@hitsoft/e-donusum 1.0.46 → 1.0.47
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/config/providers/hit-providers/document-serial-route.provider.d.ts +9 -0
- package/esm2020/config/e-donusum-config.module.mjs +3 -1
- package/esm2020/config/providers/document-serial-route.provider.mjs +2 -2
- package/esm2020/config/providers/hit-providers/document-serial-route.provider.mjs +20 -0
- package/esm2020/lib/components/hit-despatches/hit-despatch.component.mjs +91 -17
- package/esm2020/lib/components/hit-document-serial/hit-document-serial.component.mjs +88 -0
- package/esm2020/lib/components/hit-document-serial/hit-document-serial.module.mjs +67 -0
- package/esm2020/lib/components/hit-invoices/hit-invoice.component.mjs +71 -17
- package/esm2020/lib/despatches/despatch/components/despatch.component.mjs +5 -4
- package/esm2020/lib/document-serials/document-serial/components/document-serial.component.mjs +5 -4
- package/esm2020/lib/document-serials/document-serial/document-serial-routing.module.mjs +16 -4
- package/esm2020/lib/e-donusum-routing.module.mjs +3 -1
- package/esm2020/lib/e-donusum.module.mjs +6 -1
- package/esm2020/lib/hit-proxy/hit-despatches/hit-despatch.service.mjs +6 -1
- package/esm2020/lib/hit-proxy/hit-document-serials/hit-document-serial.service.mjs +29 -0
- package/esm2020/lib/hit-proxy/hit-invoices/hit-invoice.service.mjs +6 -1
- package/esm2020/lib/invoices/invoice/components/invoice.component.mjs +5 -4
- package/esm2020/lib/proxy/despatches/despatch.service.mjs +2 -2
- package/esm2020/lib/proxy/despatches/models.mjs +1 -1
- package/esm2020/lib/proxy/document-serials/document-serial.service.mjs +2 -2
- package/esm2020/lib/proxy/document-serials/index.mjs +3 -0
- package/esm2020/lib/proxy/document-serials/models.mjs +1 -1
- package/esm2020/lib/proxy/invoices/invoice.service.mjs +2 -2
- package/esm2020/lib/proxy/invoices/models.mjs +1 -1
- package/fesm2015/hitsoft-e-donusum-config.mjs +117 -98
- package/fesm2015/hitsoft-e-donusum-config.mjs.map +1 -1
- package/fesm2015/hitsoft-e-donusum.mjs +340 -37
- package/fesm2015/hitsoft-e-donusum.mjs.map +1 -1
- package/fesm2020/hitsoft-e-donusum-config.mjs +117 -98
- package/fesm2020/hitsoft-e-donusum-config.mjs.map +1 -1
- package/fesm2020/hitsoft-e-donusum.mjs +343 -37
- package/fesm2020/hitsoft-e-donusum.mjs.map +1 -1
- package/lib/components/hit-despatches/hit-despatch.component.d.ts +13 -2
- package/lib/components/hit-document-serial/hit-document-serial.component.d.ts +33 -0
- package/lib/components/hit-document-serial/hit-document-serial.module.d.ts +15 -0
- package/lib/components/hit-invoices/hit-invoice.component.d.ts +13 -1
- package/lib/hit-proxy/hit-despatches/hit-despatch.service.d.ts +1 -0
- package/lib/hit-proxy/hit-document-serials/hit-document-serial.service.d.ts +13 -0
- package/lib/hit-proxy/hit-invoices/hit-invoice.service.d.ts +1 -0
- package/lib/proxy/despatches/models.d.ts +4 -0
- package/lib/proxy/document-serials/index.d.ts +2 -0
- package/lib/proxy/document-serials/models.d.ts +5 -0
- package/lib/proxy/invoices/models.d.ts +4 -0
- package/package.json +1 -1
|
@@ -3,22 +3,27 @@ import { OnInit } from '@angular/core';
|
|
|
3
3
|
import { DxDataGridComponent } from 'devextreme-angular';
|
|
4
4
|
import { HitDespatchService } from '../../hit-proxy/hit-despatches/hit-despatch.service';
|
|
5
5
|
import { HitFileDocumentTypeService } from '../../hit-proxy/hit-file-document-type/hit-file-document-type.service';
|
|
6
|
-
import { ToasterService } from '@abp/ng.theme.shared';
|
|
6
|
+
import { ConfirmationService, ToasterService } from '@abp/ng.theme.shared';
|
|
7
7
|
import { HitGibPartnerPkService } from '../../hit-proxy/hit-gib-partner-pks/hit-gib-partner-pk.service';
|
|
8
|
+
import { HitDocumentSerialService } from '../../hit-proxy/hit-document-serials/hit-document-serial.service';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class HitDespatchComponent implements OnInit {
|
|
10
11
|
readonly list: ListService;
|
|
11
12
|
readonly service: HitDespatchService;
|
|
12
13
|
private readonly fileDocumentTypeService;
|
|
13
14
|
private readonly gibPartnerPkService;
|
|
15
|
+
private readonly hitDocumentSerialService;
|
|
16
|
+
private readonly confirmation;
|
|
14
17
|
private readonly toasterService;
|
|
15
18
|
dxDespatchInstance: DxDataGridComponent;
|
|
16
19
|
dxDespatchFileInstance: DxDataGridComponent;
|
|
20
|
+
dxDespatchSerialInstance: DxDataGridComponent;
|
|
17
21
|
despatchesDataSource: any;
|
|
18
22
|
despatchStatusLookup: any;
|
|
19
23
|
despatchReceiverResponseLookup: any;
|
|
20
24
|
despatchObjectsEnumLookup: any;
|
|
21
25
|
despatchReceiverPKDataSource: any;
|
|
26
|
+
despatchSerialDataSource: any;
|
|
22
27
|
despatchFileNameLookup: any;
|
|
23
28
|
despatchFilesDataSource: any;
|
|
24
29
|
isFileModalOpen: boolean;
|
|
@@ -27,14 +32,20 @@ export declare class HitDespatchComponent implements OnInit {
|
|
|
27
32
|
isPKModalBusy: boolean;
|
|
28
33
|
pkModalSelectedDespatchId: any;
|
|
29
34
|
pkModalSelectedDespatchResourceDocEntry: any;
|
|
30
|
-
|
|
35
|
+
isSerialModalOpen: boolean;
|
|
36
|
+
isSerialModalBusy: boolean;
|
|
37
|
+
serialModalSelectedDespatchId: any;
|
|
38
|
+
serialModalSelectedDespatchResourceDocEntry: any;
|
|
39
|
+
constructor(list: ListService, service: HitDespatchService, fileDocumentTypeService: HitFileDocumentTypeService, gibPartnerPkService: HitGibPartnerPkService, hitDocumentSerialService: HitDocumentSerialService, confirmation: ConfirmationService, toasterService: ToasterService);
|
|
31
40
|
ngOnInit(): void;
|
|
32
41
|
sendDespatchSingle(record: any): void;
|
|
33
42
|
sendDespatchMultiple(): void;
|
|
34
43
|
setDespatchCancelWithOpen(record: any): void;
|
|
35
44
|
setDespatchCancelWithRevise(record: any): void;
|
|
36
45
|
listDespatchReceiverPK(record: any): void;
|
|
46
|
+
listActiveSeries(record: any): void;
|
|
37
47
|
selectPKAddress(record: any): void;
|
|
48
|
+
selectDespatchSerial(record: any): void;
|
|
38
49
|
getDespatchPreview(record: any): void;
|
|
39
50
|
getDespatchXML(record: any): void;
|
|
40
51
|
getDocObjectName(data: any): string;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ConfirmationService, ToasterService } from '@abp/ng.theme.shared';
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
3
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
4
|
+
import { DxDataGridComponent } from 'devextreme-angular/ui/data-grid';
|
|
5
|
+
import { DocumentSerialDto, DocumentSerialService } from '../../proxy/document-serials';
|
|
6
|
+
import { HitDocumentSerialService } from '../../hit-proxy/hit-document-serials/hit-document-serial.service';
|
|
7
|
+
import { HitXsltFormatService } from '../../hit-proxy/hit-xslt-formats/hit-xslt-format.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class HitDocumentSerialComponent implements OnInit {
|
|
10
|
+
private readonly toasterService;
|
|
11
|
+
private confirmation;
|
|
12
|
+
private readonly service;
|
|
13
|
+
private readonly hitDocumentSerialService;
|
|
14
|
+
private readonly hitXsltFormatService;
|
|
15
|
+
private fb;
|
|
16
|
+
dxDocumentSerialInstance: DxDataGridComponent;
|
|
17
|
+
constructor(toasterService: ToasterService, confirmation: ConfirmationService, service: DocumentSerialService, hitDocumentSerialService: HitDocumentSerialService, hitXsltFormatService: HitXsltFormatService, fb: FormBuilder);
|
|
18
|
+
documentSerialDataSource: any;
|
|
19
|
+
typesDataSource: any[];
|
|
20
|
+
form: FormGroup;
|
|
21
|
+
isModalBusy: boolean;
|
|
22
|
+
isModalOpen: boolean;
|
|
23
|
+
selected?: DocumentSerialDto;
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
create(): void;
|
|
26
|
+
showForm(): void;
|
|
27
|
+
update(record: DocumentSerialDto): void;
|
|
28
|
+
buildForm(): void;
|
|
29
|
+
hideForm(): void;
|
|
30
|
+
submitForm(): void;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HitDocumentSerialComponent, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HitDocumentSerialComponent, "lib-document-serial", never, {}, {}, never, never, false>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./hit-document-serial.component";
|
|
3
|
+
import * as i2 from "@abp/ng.core";
|
|
4
|
+
import * as i3 from "@abp/ng.theme.shared";
|
|
5
|
+
import * as i4 from "@volo/abp.commercial.ng.ui";
|
|
6
|
+
import * as i5 from "@ngx-validate/core";
|
|
7
|
+
import * as i6 from "@ng-bootstrap/ng-bootstrap";
|
|
8
|
+
import * as i7 from "devextreme-angular";
|
|
9
|
+
import * as i8 from "@abp/ng.components/page";
|
|
10
|
+
export declare class HitDocumentSerialModule {
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HitDocumentSerialModule, never>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HitDocumentSerialModule, [typeof i1.HitDocumentSerialComponent], [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.DxSelectBoxModule, typeof i7.DxLookupModule, typeof i7.DxTabPanelModule, typeof i8.PageModule], never>;
|
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<HitDocumentSerialModule>;
|
|
14
|
+
}
|
|
15
|
+
export declare function loadHitDocumentSerialModuleAsChild(): Promise<typeof HitDocumentSerialModule>;
|
|
@@ -5,16 +5,21 @@ import { HitInvoiceService } from '../../hit-proxy/hit-invoices/hit-invoice.serv
|
|
|
5
5
|
import { HitFileDocumentTypeService } from '../../hit-proxy/hit-file-document-type/hit-file-document-type.service';
|
|
6
6
|
import { HitGibPartnerPkService } from '../../hit-proxy/hit-gib-partner-pks/hit-gib-partner-pk.service';
|
|
7
7
|
import { ToasterService } from '@abp/ng.theme.shared';
|
|
8
|
+
import { HitDocumentSerialService } from '../../hit-proxy/hit-document-serials/hit-document-serial.service';
|
|
9
|
+
import { ConfirmationService } from '@abp/ng.theme.shared';
|
|
8
10
|
import * as i0 from "@angular/core";
|
|
9
11
|
export declare class HitInvoiceComponent implements OnInit {
|
|
10
12
|
readonly list: ListService;
|
|
11
13
|
private readonly invoiceService;
|
|
12
14
|
private readonly gibPartnerPkService;
|
|
13
15
|
private readonly fileDocumentTypeService;
|
|
16
|
+
private readonly hitDocumentSerialService;
|
|
14
17
|
private readonly toasterService;
|
|
18
|
+
private readonly confirmation;
|
|
15
19
|
dxInvoiceInstance: DxDataGridComponent;
|
|
16
20
|
dxInvoiceFileInstance: DxDataGridComponent;
|
|
17
21
|
dxReceiverPKSInstance: DxDataGridComponent;
|
|
22
|
+
dxInvoiceSerialInstance: DxDataGridComponent;
|
|
18
23
|
invoicesDataSource: any;
|
|
19
24
|
invoiceStatusLookup: any;
|
|
20
25
|
invoiceFileNameLookup: any;
|
|
@@ -22,6 +27,7 @@ export declare class HitInvoiceComponent implements OnInit {
|
|
|
22
27
|
invoiceObjectsEnumLookup: any;
|
|
23
28
|
invoiceFilesDataSource: any;
|
|
24
29
|
invoiceReceiverPKDataSource: any;
|
|
30
|
+
invoiceSerialDataSource: any;
|
|
25
31
|
isPreviewModalOpen: boolean;
|
|
26
32
|
isPreviewModalBusy: boolean;
|
|
27
33
|
isFileModalOpen: boolean;
|
|
@@ -30,14 +36,20 @@ export declare class HitInvoiceComponent implements OnInit {
|
|
|
30
36
|
isPKModalBusy: boolean;
|
|
31
37
|
pkModalSelectedInvoiceId: any;
|
|
32
38
|
pkModalSelectedInvoiceResourceDocEntry: any;
|
|
39
|
+
isSerialModalOpen: boolean;
|
|
40
|
+
isSerialModalBusy: boolean;
|
|
41
|
+
serialModalSelectedInvoiceId: any;
|
|
42
|
+
serialModalSelectedInvoiceResourceDocEntry: any;
|
|
33
43
|
faturaOnizleme: any;
|
|
34
|
-
constructor(list: ListService, invoiceService: HitInvoiceService, gibPartnerPkService: HitGibPartnerPkService, fileDocumentTypeService: HitFileDocumentTypeService, toasterService: ToasterService);
|
|
44
|
+
constructor(list: ListService, invoiceService: HitInvoiceService, gibPartnerPkService: HitGibPartnerPkService, fileDocumentTypeService: HitFileDocumentTypeService, hitDocumentSerialService: HitDocumentSerialService, toasterService: ToasterService, confirmation: ConfirmationService);
|
|
35
45
|
ngOnInit(): void;
|
|
36
46
|
sendInvoiceSingle(record: any): void;
|
|
37
47
|
setInvoiceCancelWithOpen(record: any): void;
|
|
38
48
|
setInvoiceCancelWithRevise(record: any): void;
|
|
39
49
|
listReceiverPK(record: any): void;
|
|
50
|
+
listActiveSeries(record: any): void;
|
|
40
51
|
selectPKAddress(record: any): void;
|
|
52
|
+
selectInvoiceSerial(record: any): void;
|
|
41
53
|
sendInvoiceMultiple(): void;
|
|
42
54
|
sendInvoiceToEntegrator(): void;
|
|
43
55
|
getInvoicesFromConnector(): void;
|
|
@@ -20,6 +20,7 @@ export declare class HitDespatchService {
|
|
|
20
20
|
requeueDespatchById: (despatchIds: string[]) => import("rxjs").Observable<any>;
|
|
21
21
|
setDespatchCancelById: (despatchId: string, status: number) => import("rxjs").Observable<any>;
|
|
22
22
|
updateDespatchReceiver: (despatchId: string, receiverPK: string) => import("rxjs").Observable<any>;
|
|
23
|
+
updateDespatchSerial: (despatchId: string, serial: string) => import("rxjs").Observable<any>;
|
|
23
24
|
getDespatchXML: (despatchGUID: string, tableValue: number) => import("rxjs").Observable<any>;
|
|
24
25
|
constructor(restService: RestService, devexService: DevexpressRestService);
|
|
25
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<HitDespatchService, never>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { RestService } from "@abp/ng.core";
|
|
2
|
+
import { DevexpressRestService } from "../devexpress-query-builder/devexpress-query-builder";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class HitDocumentSerialService {
|
|
5
|
+
private restService;
|
|
6
|
+
private devexService;
|
|
7
|
+
apiName: string;
|
|
8
|
+
LoadDocumentSerials: import("devextreme-aspnet-data-nojquery").CustomStore;
|
|
9
|
+
ListActiveSeriesForDocument: (eDocType: number) => import("rxjs").Observable<any>;
|
|
10
|
+
constructor(restService: RestService, devexService: DevexpressRestService);
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HitDocumentSerialService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<HitDocumentSerialService>;
|
|
13
|
+
}
|
|
@@ -10,6 +10,7 @@ export declare class HitInvoiceService {
|
|
|
10
10
|
sendInvoiceById: (invoiceIds: string[]) => import("rxjs").Observable<any>;
|
|
11
11
|
setInvoiceCancelBydId: (invoiceId: string, status: number) => import("rxjs").Observable<any>;
|
|
12
12
|
updateInvoiceReceiver: (invoiceUUID: string, receiverPK: string) => import("rxjs").Observable<any>;
|
|
13
|
+
updateInvoiceSerial: (invoiceUUID: string, serial: string) => import("rxjs").Observable<any>;
|
|
13
14
|
requeueInvoiceById: (invoiceIds: string[]) => import("rxjs").Observable<any>;
|
|
14
15
|
returnBaseStateInvoiceById: (invoiceIds: string[]) => import("rxjs").Observable<any>;
|
|
15
16
|
sendInvoiceToEntegrator: () => import("rxjs").Observable<any>;
|
|
@@ -88,6 +88,7 @@ export interface DespatchCreateDto {
|
|
|
88
88
|
resourceJournalEntry?: number;
|
|
89
89
|
resourceSubDocType?: number;
|
|
90
90
|
isDraft?: boolean;
|
|
91
|
+
selectedDespatchSerial?: string;
|
|
91
92
|
}
|
|
92
93
|
export interface DespatchDto extends FullAuditedEntityDto<string> {
|
|
93
94
|
ublVersionId: string;
|
|
@@ -178,6 +179,7 @@ export interface DespatchDto extends FullAuditedEntityDto<string> {
|
|
|
178
179
|
resourceJournalEntry?: number;
|
|
179
180
|
resourceSubDocType?: number;
|
|
180
181
|
isDraft?: boolean;
|
|
182
|
+
selectedDespatchSerial?: string;
|
|
181
183
|
concurrencyStamp?: string;
|
|
182
184
|
}
|
|
183
185
|
export interface DespatchExcelDownloadDto {
|
|
@@ -274,6 +276,7 @@ export interface DespatchUpdateDto {
|
|
|
274
276
|
resourceJournalEntry?: number;
|
|
275
277
|
resourceSubDocType?: number;
|
|
276
278
|
isDraft?: boolean;
|
|
279
|
+
selectedDespatchSerial?: string;
|
|
277
280
|
concurrencyStamp?: string;
|
|
278
281
|
}
|
|
279
282
|
export interface GetDespatchesInput extends PagedAndSortedResultRequestDto {
|
|
@@ -398,4 +401,5 @@ export interface GetDespatchesInput extends PagedAndSortedResultRequestDto {
|
|
|
398
401
|
resourceSubDocTypeMin?: number;
|
|
399
402
|
resourceSubDocTypeMax?: number;
|
|
400
403
|
isDraft?: boolean;
|
|
404
|
+
selectedDespatchSerial?: string;
|
|
401
405
|
}
|
|
@@ -3,17 +3,20 @@ export interface DocumentSerialCreateDto {
|
|
|
3
3
|
code: string;
|
|
4
4
|
name?: string;
|
|
5
5
|
isPassive?: boolean;
|
|
6
|
+
type?: number;
|
|
6
7
|
}
|
|
7
8
|
export interface DocumentSerialDto extends FullAuditedEntityDto<string> {
|
|
8
9
|
code: string;
|
|
9
10
|
name?: string;
|
|
10
11
|
isPassive?: boolean;
|
|
12
|
+
type?: number;
|
|
11
13
|
concurrencyStamp?: string;
|
|
12
14
|
}
|
|
13
15
|
export interface DocumentSerialUpdateDto {
|
|
14
16
|
code: string;
|
|
15
17
|
name?: string;
|
|
16
18
|
isPassive?: boolean;
|
|
19
|
+
type?: number;
|
|
17
20
|
concurrencyStamp?: string;
|
|
18
21
|
}
|
|
19
22
|
export interface GetDocumentSerialsInput extends PagedAndSortedResultRequestDto {
|
|
@@ -21,4 +24,6 @@ export interface GetDocumentSerialsInput extends PagedAndSortedResultRequestDto
|
|
|
21
24
|
code?: string;
|
|
22
25
|
name?: string;
|
|
23
26
|
isPassive?: boolean;
|
|
27
|
+
typeMin?: number;
|
|
28
|
+
typeMax?: number;
|
|
24
29
|
}
|
|
@@ -116,6 +116,7 @@ export interface GetInvoicesInput extends PagedAndSortedResultRequestDto {
|
|
|
116
116
|
resourceSubDocTypeMin?: number;
|
|
117
117
|
resourceSubDocTypeMax?: number;
|
|
118
118
|
isDraft?: boolean;
|
|
119
|
+
selectedInvoiceSerial?: string;
|
|
119
120
|
}
|
|
120
121
|
export interface InvoiceCreateDto {
|
|
121
122
|
ublVersionId: string;
|
|
@@ -201,6 +202,7 @@ export interface InvoiceCreateDto {
|
|
|
201
202
|
resourceJournalEntry?: number;
|
|
202
203
|
resourceSubDocType?: number;
|
|
203
204
|
isDraft?: boolean;
|
|
205
|
+
selectedInvoiceSerial?: string;
|
|
204
206
|
}
|
|
205
207
|
export interface InvoiceDto extends FullAuditedEntityDto<string> {
|
|
206
208
|
ublVersionId: string;
|
|
@@ -286,6 +288,7 @@ export interface InvoiceDto extends FullAuditedEntityDto<string> {
|
|
|
286
288
|
resourceJournalEntry?: number;
|
|
287
289
|
resourceSubDocType?: number;
|
|
288
290
|
isDraft?: boolean;
|
|
291
|
+
selectedInvoiceSerial?: string;
|
|
289
292
|
concurrencyStamp?: string;
|
|
290
293
|
}
|
|
291
294
|
export interface InvoiceExcelDownloadDto {
|
|
@@ -377,5 +380,6 @@ export interface InvoiceUpdateDto {
|
|
|
377
380
|
resourceJournalEntry?: number;
|
|
378
381
|
resourceSubDocType?: number;
|
|
379
382
|
isDraft?: boolean;
|
|
383
|
+
selectedInvoiceSerial?: string;
|
|
380
384
|
concurrencyStamp?: string;
|
|
381
385
|
}
|