@hitsoft/e-donusum 100.1.16-Edo-Test → 100.1.17-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.
Files changed (31) hide show
  1. package/esm2020/config/providers/hit-providers/inbound-invoice-route.provider.mjs +11 -3
  2. package/esm2020/lib/auto-send-rules/auto-send-rule/auto-send-rule.module.mjs +1 -1
  3. package/esm2020/lib/components/hit-inbound-invoices/hit-inbound-invoice-routing.module.mjs +18 -1
  4. package/esm2020/lib/components/hit-inbound-invoices/hit-inbound-invoice.component.mjs +133 -18
  5. package/esm2020/lib/proxy/auto-send-rule-doc-types/index.mjs +1 -1
  6. package/esm2020/lib/proxy/auto-send-rule-scenarios/index.mjs +1 -1
  7. package/esm2020/lib/proxy/auto-send-rules/index.mjs +1 -1
  8. package/esm2020/lib/proxy/document-serials/index.mjs +1 -1
  9. package/esm2020/lib/proxy/gib-partner-pks/index.mjs +1 -1
  10. package/esm2020/lib/proxy/note-rule-doc-types/index.mjs +1 -1
  11. package/esm2020/lib/proxy/note-rule-scenarios/index.mjs +1 -1
  12. package/esm2020/lib/proxy/note-rules/index.mjs +1 -1
  13. package/esm2020/lib/proxy/params-companies/index.mjs +1 -1
  14. package/esm2020/lib/proxy/params-generals/index.mjs +1 -1
  15. package/esm2020/lib/proxy/params-integrators/index.mjs +1 -1
  16. package/esm2020/lib/proxy/paramse-dispatches/index.mjs +1 -1
  17. package/esm2020/lib/proxy/paramse-invoices/index.mjs +1 -1
  18. package/esm2020/lib/proxy/xslt-formats/index.mjs +1 -1
  19. package/esm2020/lib/proxy/xslt-rule-doc-types/index.mjs +1 -1
  20. package/esm2020/lib/proxy/xslt-rule-scenarios/index.mjs +1 -1
  21. package/esm2020/lib/proxy/xslt-rules/index.mjs +1 -1
  22. package/fesm2015/hitsoft-e-donusum-config.mjs +10 -2
  23. package/fesm2015/hitsoft-e-donusum-config.mjs.map +1 -1
  24. package/fesm2015/hitsoft-e-donusum.mjs +166 -36
  25. package/fesm2015/hitsoft-e-donusum.mjs.map +1 -1
  26. package/fesm2020/hitsoft-e-donusum-config.mjs +10 -2
  27. package/fesm2020/hitsoft-e-donusum-config.mjs.map +1 -1
  28. package/fesm2020/hitsoft-e-donusum.mjs +167 -36
  29. package/fesm2020/hitsoft-e-donusum.mjs.map +1 -1
  30. package/lib/components/hit-inbound-invoices/hit-inbound-invoice.component.d.ts +24 -2
  31. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { ListService } from '@abp/ng.core';
1
+ import { ListService, LocalizationService } from '@abp/ng.core';
2
2
  import { ChangeDetectorRef, OnInit } from '@angular/core';
3
3
  import { DxDataGridComponent, DxTabPanelComponent } from 'devextreme-angular';
4
4
  import { HitInboundInvoiceService } from '../../hit-proxy/hit-inbound-invoices/hit-inbound-invoice.service';
@@ -11,7 +11,10 @@ import { HitBranchesService } from '../../hit-proxy/hit-branches/hit-branch.serv
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';
13
13
  import { HitFileDocumentTypeService } from '../../hit-proxy/hit-file-document-type/hit-file-document-type.service';
14
+ import { ActivatedRoute } from '@angular/router';
14
15
  import * as i0 from "@angular/core";
16
+ declare type InboundInvoiceViewMode = 'unprocessed' | 'processed';
17
+ declare type ProcessedInvoiceFilter = 'draft' | 'registered' | 'manual';
15
18
  export declare class HitInboundInvoiceComponent implements OnInit {
16
19
  readonly list: ListService;
17
20
  private readonly service;
@@ -27,6 +30,11 @@ export declare class HitInboundInvoiceComponent implements OnInit {
27
30
  private readonly confirmation;
28
31
  private readonly hitSharedService;
29
32
  private readonly fileDocumentTypeService;
33
+ private readonly route;
34
+ private readonly localizationService;
35
+ private readonly unprocessedStatuses;
36
+ private readonly processedStatuses;
37
+ private readonly processedStatusGroups;
30
38
  dxInboundInvoiceInstance: DxDataGridComponent;
31
39
  dxPurchaseOrderDocuments: DxDataGridComponent;
32
40
  dxPurchaseDespatchDocuments: DxDataGridComponent;
@@ -35,6 +43,9 @@ export declare class HitInboundInvoiceComponent implements OnInit {
35
43
  inboundInvoicesDataSource: any;
36
44
  inboundInvoiceStatusLookup: any;
37
45
  inboundInvoiceReceiverResponseLookup: any;
46
+ viewMode: InboundInvoiceViewMode;
47
+ isEArchive: boolean;
48
+ selectedProcessedFilter: ProcessedInvoiceFilter;
38
49
  partnerAvailableAccounts: Array<{
39
50
  id: string;
40
51
  text: string;
@@ -96,7 +107,7 @@ export declare class HitInboundInvoiceComponent implements OnInit {
96
107
  selectedBranchId: number;
97
108
  invoiceFileNameLookup: any;
98
109
  isFileModalBusy: boolean;
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);
110
+ 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);
100
111
  countryGridBox_displayExpr(): string;
101
112
  stateGridBox_displayExpr(): string;
102
113
  serialGridBox_displayExpr(): string;
@@ -108,6 +119,16 @@ export declare class HitInboundInvoiceComponent implements OnInit {
108
119
  onGroupGridBoxOptionChanged(e: any): void;
109
120
  onAccountGridBoxOptionChanged(e: any): void;
110
121
  ngOnInit(): void;
122
+ get isProcessedView(): boolean;
123
+ get pageTitleKey(): string;
124
+ get pageDescriptionKey(): string;
125
+ selectInvoiceType(isEArchive: boolean): void;
126
+ selectProcessedFilter(filter: ProcessedInvoiceFilter): void;
127
+ private configureInboundInvoicesDataSource;
128
+ private getRequiredInboundInvoiceFilter;
129
+ private combineFilters;
130
+ private reloadInboundInvoices;
131
+ private getProcessedStatusDisplayName;
111
132
  getInboundInvoice(): void;
112
133
  getInvoicePreview(record: any): void;
113
134
  viewPDFsMultiple(): void;
@@ -154,3 +175,4 @@ export declare class HitInboundInvoiceComponent implements OnInit {
154
175
  static ɵfac: i0.ɵɵFactoryDeclaration<HitInboundInvoiceComponent, never>;
155
176
  static ɵcmp: i0.ɵɵComponentDeclaration<HitInboundInvoiceComponent, "lib-inbound-invoice", never, {}, {}, never, never, false>;
156
177
  }
178
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hitsoft/e-donusum",
3
- "version": "100.1.16-Edo-Test",
3
+ "version": "100.1.17-Edo-Test",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=9",
6
6
  "@angular/core": ">=9",