@sachin9822/reports-lib 0.0.211 → 0.0.213
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/karma.conf.js +44 -0
- package/ng-package.json +17 -0
- package/package.json +16 -31
- package/src/assets/images/BreadcrumbArrow.png +0 -0
- package/src/lib/assets/images/Search.svg +10 -0
- package/src/lib/assets/images/XMLogo.png +0 -0
- package/src/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.html +27 -0
- package/src/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.scss +46 -0
- package/src/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.spec.ts +23 -0
- package/src/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.ts +292 -0
- package/src/lib/components/accounting-report/accounting-report.component.html +64 -0
- package/src/lib/components/accounting-report/accounting-report.component.scss +24 -0
- package/src/lib/components/accounting-report/accounting-report.component.spec.ts +23 -0
- package/src/lib/components/accounting-report/accounting-report.component.ts +738 -0
- package/src/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.html +46 -0
- package/src/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.scss +2 -0
- package/src/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.spec.ts +23 -0
- package/src/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.ts +247 -0
- package/src/lib/components/branch-activity-send-report/branch-activity-send-report.component.html +46 -0
- package/src/lib/components/branch-activity-send-report/branch-activity-send-report.component.scss +3 -0
- package/src/lib/components/branch-activity-send-report/branch-activity-send-report.component.spec.ts +23 -0
- package/src/lib/components/branch-activity-send-report/branch-activity-send-report.component.ts +276 -0
- package/src/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.html +51 -0
- package/src/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.scss +7 -0
- package/src/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.spec.ts +23 -0
- package/src/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.ts +840 -0
- package/src/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.html +68 -0
- package/src/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.scss +65 -0
- package/src/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.spec.ts +23 -0
- package/src/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.ts +290 -0
- package/src/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.html +25 -0
- package/src/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.scss +1 -0
- package/src/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.spec.ts +23 -0
- package/src/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.ts +213 -0
- package/src/lib/components/funding-report/funding-report.component.html +49 -0
- package/src/lib/components/funding-report/funding-report.component.scss +1 -0
- package/src/lib/components/funding-report/funding-report.component.spec.ts +23 -0
- package/src/lib/components/funding-report/funding-report.component.ts +221 -0
- package/src/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.html +26 -0
- package/src/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.scss +1 -0
- package/src/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.spec.ts +23 -0
- package/src/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.ts +267 -0
- package/src/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.html +95 -0
- package/src/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.scss +54 -0
- package/src/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.spec.ts +23 -0
- package/src/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.ts +904 -0
- package/src/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.html +49 -0
- package/src/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.scss +2 -0
- package/src/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.spec.ts +32 -0
- package/src/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.ts +304 -0
- package/src/lib/components/transaction-monitoring-report/transaction-monitoring-report.component.html +46 -0
- package/src/lib/components/transaction-monitoring-report/transaction-monitoring-report.component.scss +7 -0
- package/src/lib/components/transaction-monitoring-report/transaction-monitoring-report.component.ts +343 -0
- package/src/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.html +25 -0
- package/src/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.scss +23 -0
- package/src/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.spec.ts +23 -0
- package/src/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.ts +745 -0
- package/src/lib/models/acc-gl-details-enquiry-report/accgl-details-enquiry-reportmodel.ts +10 -0
- package/src/lib/models/acc-gl-details-enquiry-report/journal-voucher-entry-model.ts +20 -0
- package/src/lib/models/accounting-report/accounting-report-branch-group.ts +7 -0
- package/src/lib/models/accounting-report/accounting-report-entry-model.ts +25 -0
- package/src/lib/models/accounting-report/accounting-report-model.ts +7 -0
- package/{lib/models/accounting-report/accounting-report-sub-group.d.ts → src/lib/models/accounting-report/accounting-report-sub-group.ts} +3 -2
- package/{lib/models/app-config.model.d.ts → src/lib/models/app-config.model.ts} +8 -7
- package/src/lib/models/branch-activity-receive-report/branch-activity-receive.model.ts +18 -0
- package/src/lib/models/branch-activity-report/branch-activity-send-report-request-domain-model.ts +16 -0
- package/src/lib/models/branch-activity-report/branch-activity-send-report.ts +26 -0
- package/src/lib/models/cancellation-transaction-report/cancellation-transaction.model.ts +65 -0
- package/src/lib/models/component-loading-states.ts +5 -0
- package/src/lib/models/credit-limit-status-enquiry-report/credit-limit-status-enquiry.model.ts +28 -0
- package/{lib/models/revenue-per-transaction-report/revenue-per-transaction.model.d.ts → src/lib/models/revenue-per-transaction-report/revenue-per-transaction.model.ts} +1 -1
- package/src/lib/models/statement-of-account-report/statement-of-accounts.model.ts +21 -0
- package/src/lib/models/transaction-enquiry-report/transaction-enquiry.model.ts +127 -0
- package/src/lib/models/transaction-monitoring-report/transaction-monitoring-report-request-domain-model.ts +16 -0
- package/src/lib/models/transaction-monitoring-report/transaction-monitoring-report.ts +29 -0
- package/src/lib/models/trial-balance-accounts-report/trial-balance-accounts.models.ts +46 -0
- package/src/lib/reports-lib-routing.module.ts +20 -0
- package/src/lib/reports-lib.component.spec.ts +23 -0
- package/src/lib/reports-lib.component.ts +20 -0
- package/src/lib/reports-lib.module.ts +102 -0
- package/src/lib/reports-lib.service.spec.ts +16 -0
- package/src/lib/reports-lib.service.ts +9 -0
- package/src/lib/services/config.service.ts +43 -0
- package/src/lib/services/report.service.spec.ts +16 -0
- package/src/lib/services/report.service.ts +463 -0
- package/src/lib/shared/export-generic.service.ts +557 -0
- package/src/lib/shared/export.service.spec.ts +16 -0
- package/src/lib/shared/export.service.ts +457 -0
- package/src/lib/shared/loader/loader.component.html +8 -0
- package/src/lib/shared/loader/loader.component.scss +52 -0
- package/src/lib/shared/loader/loader.component.ts +10 -0
- package/src/lib/shared/metadata/metadata.component.html +42 -0
- package/src/lib/shared/metadata/metadata.component.scss +95 -0
- package/src/lib/shared/metadata/metadata.component.spec.ts +23 -0
- package/src/lib/shared/metadata/metadata.component.ts +38 -0
- package/src/lib/shared/page-size-selector/page-size-selector.component.html +7 -0
- package/src/lib/shared/page-size-selector/page-size-selector.component.scss +42 -0
- package/src/lib/shared/page-size-selector/page-size-selector.component.spec.ts +23 -0
- package/src/lib/shared/page-size-selector/page-size-selector.component.ts +38 -0
- package/src/lib/shared/search-filter/search-filter.component.html +601 -0
- package/src/lib/shared/search-filter/search-filter.component.scss +203 -0
- package/src/lib/shared/search-filter/search-filter.component.spec.ts +23 -0
- package/src/lib/shared/search-filter/search-filter.component.ts +2387 -0
- package/src/lib/shared/shared.module.ts +13 -0
- package/{public-api.d.ts → src/public-api.ts} +17 -7
- package/src/styles/ag-grid-report-style.scss +71 -0
- package/src/styles/common-ag-grid-style.scss +146 -0
- package/src/styles/common-report-style.scss +395 -0
- package/src/styles/common-style.scss +615 -0
- package/src/test.ts +27 -0
- package/tsconfig.lib.json +15 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +17 -0
- package/esm2020/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.mjs +0 -240
- package/esm2020/lib/components/accounting-report/accounting-report.component.mjs +0 -596
- package/esm2020/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.mjs +0 -218
- package/esm2020/lib/components/branch-activity-send-report/branch-activity-send-report.component.mjs +0 -243
- package/esm2020/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.mjs +0 -700
- package/esm2020/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.mjs +0 -255
- package/esm2020/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.mjs +0 -192
- package/esm2020/lib/components/funding-report/funding-report.component.mjs +0 -198
- package/esm2020/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.mjs +0 -244
- package/esm2020/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.mjs +0 -776
- package/esm2020/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.mjs +0 -266
- package/esm2020/lib/components/transaction-monitoring-report/transaction-monitoring-report.component.mjs +0 -311
- package/esm2020/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.mjs +0 -631
- package/esm2020/lib/models/acc-gl-details-enquiry-report/accgl-details-enquiry-reportmodel.mjs +0 -2
- package/esm2020/lib/models/acc-gl-details-enquiry-report/journal-voucher-entry-model.mjs +0 -2
- package/esm2020/lib/models/accounting-report/accounting-report-branch-group.mjs +0 -2
- package/esm2020/lib/models/accounting-report/accounting-report-entry-model.mjs +0 -2
- package/esm2020/lib/models/accounting-report/accounting-report-model.mjs +0 -2
- package/esm2020/lib/models/accounting-report/accounting-report-sub-group.mjs +0 -2
- package/esm2020/lib/models/app-config.model.mjs +0 -2
- package/esm2020/lib/models/branch-activity-receive-report/branch-activity-receive.model.mjs +0 -2
- package/esm2020/lib/models/branch-activity-report/branch-activity-send-report-request-domain-model.mjs +0 -6
- package/esm2020/lib/models/branch-activity-report/branch-activity-send-report.mjs +0 -3
- package/esm2020/lib/models/cancellation-transaction-report/cancellation-transaction.model.mjs +0 -10
- package/esm2020/lib/models/component-loading-states.mjs +0 -7
- package/esm2020/lib/models/credit-limit-status-enquiry-report/credit-limit-status-enquiry.model.mjs +0 -5
- package/esm2020/lib/models/revenue-per-transaction-report/revenue-per-transaction.model.mjs +0 -2
- package/esm2020/lib/models/statement-of-account-report/statement-of-accounts.model.mjs +0 -2
- package/esm2020/lib/models/transaction-enquiry-report/transaction-enquiry.model.mjs +0 -8
- package/esm2020/lib/models/transaction-monitoring-report/transaction-monitoring-report-request-domain-model.mjs +0 -6
- package/esm2020/lib/models/transaction-monitoring-report/transaction-monitoring-report.mjs +0 -5
- package/esm2020/lib/models/trial-balance-accounts-report/trial-balance-accounts.models.mjs +0 -3
- package/esm2020/lib/reports-lib-routing.module.mjs +0 -24
- package/esm2020/lib/reports-lib.component.mjs +0 -22
- package/esm2020/lib/reports-lib.module.mjs +0 -172
- package/esm2020/lib/reports-lib.service.mjs +0 -14
- package/esm2020/lib/services/config.service.mjs +0 -39
- package/esm2020/lib/services/report.service.mjs +0 -374
- package/esm2020/lib/shared/export-generic.service.mjs +0 -443
- package/esm2020/lib/shared/export.service.mjs +0 -379
- package/esm2020/lib/shared/loader/loader.component.mjs +0 -11
- package/esm2020/lib/shared/metadata/metadata.component.mjs +0 -51
- package/esm2020/lib/shared/page-size-selector/page-size-selector.component.mjs +0 -44
- package/esm2020/lib/shared/search-filter/search-filter.component.mjs +0 -2134
- package/esm2020/lib/shared/shared.module.mjs +0 -21
- package/esm2020/public-api.mjs +0 -41
- package/esm2020/sachin9822-reports-lib.mjs +0 -5
- package/fesm2015/sachin9822-reports-lib.mjs +0 -8402
- package/fesm2015/sachin9822-reports-lib.mjs.map +0 -1
- package/fesm2020/sachin9822-reports-lib.mjs +0 -8384
- package/fesm2020/sachin9822-reports-lib.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.d.ts +0 -70
- package/lib/components/accounting-report/accounting-report.component.d.ts +0 -76
- package/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.d.ts +0 -58
- package/lib/components/branch-activity-send-report/branch-activity-send-report.component.d.ts +0 -69
- package/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.d.ts +0 -78
- package/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.d.ts +0 -95
- package/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.d.ts +0 -55
- package/lib/components/funding-report/funding-report.component.d.ts +0 -55
- package/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.d.ts +0 -57
- package/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.d.ts +0 -109
- package/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.d.ts +0 -76
- package/lib/components/transaction-monitoring-report/transaction-monitoring-report.component.d.ts +0 -68
- package/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.d.ts +0 -71
- package/lib/models/acc-gl-details-enquiry-report/accgl-details-enquiry-reportmodel.d.ts +0 -8
- package/lib/models/acc-gl-details-enquiry-report/journal-voucher-entry-model.d.ts +0 -18
- package/lib/models/accounting-report/accounting-report-branch-group.d.ts +0 -6
- package/lib/models/accounting-report/accounting-report-entry-model.d.ts +0 -24
- package/lib/models/accounting-report/accounting-report-model.d.ts +0 -6
- package/lib/models/branch-activity-receive-report/branch-activity-receive.model.d.ts +0 -18
- package/lib/models/branch-activity-report/branch-activity-send-report-request-domain-model.d.ts +0 -13
- package/lib/models/branch-activity-report/branch-activity-send-report.d.ts +0 -24
- package/lib/models/cancellation-transaction-report/cancellation-transaction.model.d.ts +0 -44
- package/lib/models/component-loading-states.d.ts +0 -5
- package/lib/models/credit-limit-status-enquiry-report/credit-limit-status-enquiry.model.d.ts +0 -26
- package/lib/models/statement-of-account-report/statement-of-accounts.model.d.ts +0 -18
- package/lib/models/transaction-enquiry-report/transaction-enquiry.model.d.ts +0 -113
- package/lib/models/transaction-monitoring-report/transaction-monitoring-report-request-domain-model.d.ts +0 -13
- package/lib/models/transaction-monitoring-report/transaction-monitoring-report.d.ts +0 -23
- package/lib/models/trial-balance-accounts-report/trial-balance-accounts.models.d.ts +0 -38
- package/lib/reports-lib-routing.module.d.ts +0 -7
- package/lib/reports-lib.component.d.ts +0 -8
- package/lib/reports-lib.module.d.ts +0 -33
- package/lib/reports-lib.service.d.ts +0 -6
- package/lib/services/config.service.d.ts +0 -20
- package/lib/services/report.service.d.ts +0 -80
- package/lib/shared/export-generic.service.d.ts +0 -50
- package/lib/shared/export.service.d.ts +0 -32
- package/lib/shared/loader/loader.component.d.ts +0 -5
- package/lib/shared/metadata/metadata.component.d.ts +0 -24
- package/lib/shared/page-size-selector/page-size-selector.component.d.ts +0 -15
- package/lib/shared/search-filter/search-filter.component.d.ts +0 -127
- package/lib/shared/shared.module.d.ts +0 -11
- /package/{lib → src}/assets/images/Search.svg +0 -0
- /package/{lib/assets/images/XMLogo.png → src/assets/images/XMCoral.png} +0 -0
- /package/{lib → src/lib}/assets/config/app-config.json +0 -0
- /package/{lib → src/lib}/assets/svg-loaders/blue-tail-spin.svg +0 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { journalVoucherEntryModel } from "./journal-voucher-entry-model"
|
|
2
|
+
|
|
3
|
+
export interface AccGlDetailsEnquiryReportModel
|
|
4
|
+
{
|
|
5
|
+
companyName :string,
|
|
6
|
+
reportUser :string
|
|
7
|
+
reportTime: string
|
|
8
|
+
date : Date
|
|
9
|
+
journalVoucherEntries :journalVoucherEntryModel[]
|
|
10
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface journalVoucherEntryModel
|
|
2
|
+
{
|
|
3
|
+
|
|
4
|
+
journalID :string,
|
|
5
|
+
transactionNo :string,
|
|
6
|
+
transactionCode :string,
|
|
7
|
+
journalType :string,
|
|
8
|
+
postingDate :string, // datetime in backend
|
|
9
|
+
valueDate :String, // dateonly in backend
|
|
10
|
+
description :string,
|
|
11
|
+
accountCode :string,
|
|
12
|
+
currency :string,
|
|
13
|
+
rate :string, //decimal in backend
|
|
14
|
+
forexDebit :string, //decimal in backend
|
|
15
|
+
localDebit :string, //decimal in backend
|
|
16
|
+
forexCredit :string, //decimal in backend
|
|
17
|
+
localCredit :string, //decimal in backend
|
|
18
|
+
id :number, // long in backend
|
|
19
|
+
rateDecimal :number, //int in backend
|
|
20
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface AccountingReportEntryModel
|
|
2
|
+
{
|
|
3
|
+
businessDate: string; // DateOnly in C# → string (ISO date from API)
|
|
4
|
+
transactionDateAndTime: string; // DateTime → string (ISO date-time)
|
|
5
|
+
transactionNumber: string;
|
|
6
|
+
sendClient: string;
|
|
7
|
+
principleSendClient: string;
|
|
8
|
+
receiveClient: string;
|
|
9
|
+
principleReceiveClient: string;
|
|
10
|
+
receiveCurrency: string;
|
|
11
|
+
amountPaid: string;
|
|
12
|
+
sendCurrency: string;
|
|
13
|
+
serviceFee: string;
|
|
14
|
+
tax: string;
|
|
15
|
+
principleSendAmount: string;
|
|
16
|
+
transactionStatus: string;
|
|
17
|
+
settlementCurrency: string;
|
|
18
|
+
clientSettlementInSCcy: string;
|
|
19
|
+
clientSettlementInUSD: string;
|
|
20
|
+
shareType: string;
|
|
21
|
+
shareValue: string;
|
|
22
|
+
sendReceiveFeeCcy: string;
|
|
23
|
+
shareAmountInUSD: string;
|
|
24
|
+
settlementRate: string;
|
|
25
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AccountingReportEntryModel } from "./accounting-report-entry-model";
|
|
2
|
+
|
|
2
3
|
export interface AccountingReportSubGroup {
|
|
3
|
-
|
|
4
|
-
|
|
4
|
+
subGroupName: string; // "Send Transactions" / "Receive Transactions"
|
|
5
|
+
entries: AccountingReportEntryModel[];
|
|
5
6
|
}
|
|
@@ -8,7 +8,7 @@ export interface IAppConfig {
|
|
|
8
8
|
auth?: {
|
|
9
9
|
issuer?: string;
|
|
10
10
|
redirectUri?: string;
|
|
11
|
-
silentRefreshRedirectUri?: string
|
|
11
|
+
silentRefreshRedirectUri?: string,
|
|
12
12
|
clientId?: string;
|
|
13
13
|
logoutUrl?: string;
|
|
14
14
|
scope?: string;
|
|
@@ -19,10 +19,10 @@ export interface IAppConfig {
|
|
|
19
19
|
useSilentRefresh?: boolean;
|
|
20
20
|
};
|
|
21
21
|
formatting?: {
|
|
22
|
-
shortDate?: string
|
|
23
|
-
longDate?: string
|
|
24
|
-
time?: string
|
|
25
|
-
timeZone?: string
|
|
22
|
+
shortDate?: string,
|
|
23
|
+
longDate?: string,
|
|
24
|
+
time?: string,
|
|
25
|
+
timeZone?: string
|
|
26
26
|
};
|
|
27
27
|
logging?: {
|
|
28
28
|
levelMin?: string;
|
|
@@ -43,6 +43,7 @@ export interface IAppConfig {
|
|
|
43
43
|
sysBaseRoundOff?: string;
|
|
44
44
|
sysBaseRoundOffVat?: string;
|
|
45
45
|
sessionTimeoutMinutes?: string;
|
|
46
|
-
directToAccount?:
|
|
47
|
-
cashPayout?:
|
|
46
|
+
directToAccount?:string;
|
|
47
|
+
cashPayout?:string;
|
|
48
|
+
|
|
48
49
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface BranchActivityReceiveReportModel {
|
|
2
|
+
LastModifiedById: string;
|
|
3
|
+
SenderName: string;
|
|
4
|
+
ReceiverName: string;
|
|
5
|
+
SendAgentName: string;
|
|
6
|
+
ReceiveAgentName: string;
|
|
7
|
+
PayOutCurrency: string;
|
|
8
|
+
BusinessDateTime: string;
|
|
9
|
+
TransactionDateAndTime: string;
|
|
10
|
+
TransactionNumber: string;
|
|
11
|
+
Product: string;
|
|
12
|
+
SendAgentCode: string;
|
|
13
|
+
ReceiveAgentBranchName: string;
|
|
14
|
+
ReceiveAgentBranchCode: string;
|
|
15
|
+
ReceivePrincipalAgentCode: string;
|
|
16
|
+
AmountPaid: number;
|
|
17
|
+
Status: string;
|
|
18
|
+
}
|
package/src/lib/models/branch-activity-report/branch-activity-send-report-request-domain-model.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export class BranchActivitySendReportRequestDomainModel {
|
|
2
|
+
startDate: string;
|
|
3
|
+
endDate: string;
|
|
4
|
+
sendCountryCode: string;
|
|
5
|
+
recvCountryCode: string;
|
|
6
|
+
businessPartnerCode: string;
|
|
7
|
+
transactionStatus: string;
|
|
8
|
+
payoutCurrency: string;
|
|
9
|
+
transactionType: string;
|
|
10
|
+
branchCode: string;
|
|
11
|
+
companyCode: string;
|
|
12
|
+
|
|
13
|
+
constructor(values: Object = {}) {
|
|
14
|
+
Object.assign(this, values);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface BranchActivityReportDictionay{
|
|
2
|
+
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
export class BranchActivityReport {
|
|
6
|
+
SendAgentBranchNameAndCode: string;
|
|
7
|
+
BusinessDateTime: string;
|
|
8
|
+
TransactionDateTime: string;
|
|
9
|
+
TransactionNumber: string;
|
|
10
|
+
Product: string;
|
|
11
|
+
SendAgentBranchCode: string;
|
|
12
|
+
SendPrincipalAgentCode: string;
|
|
13
|
+
ReceiveAgentCode: string;
|
|
14
|
+
PayoutCCcode: string;
|
|
15
|
+
PayoutAmount?: number;
|
|
16
|
+
PayinCCcode: string;
|
|
17
|
+
PayinAmount?: number;
|
|
18
|
+
TransactionCommissionAmount?: number;
|
|
19
|
+
Tax?: number;
|
|
20
|
+
TotalPayinAmount?: number;
|
|
21
|
+
Status: string;
|
|
22
|
+
TransactionCount: number;
|
|
23
|
+
payinCCcode: string;
|
|
24
|
+
IsTotalRow:boolean
|
|
25
|
+
isTotalRow: boolean;
|
|
26
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
export interface Country {
|
|
2
|
+
number: string;
|
|
3
|
+
countryCode: string;
|
|
4
|
+
country: string;
|
|
5
|
+
ezRemitCountry: string;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export interface PayInAgent {
|
|
9
|
+
correlationId: string;
|
|
10
|
+
code: string;
|
|
11
|
+
agent: string;
|
|
12
|
+
number: string;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export interface ProductType {
|
|
16
|
+
name: string;
|
|
17
|
+
productCode: string;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
// export interface Currency {
|
|
21
|
+
// currencyCode: string;
|
|
22
|
+
// number: string;
|
|
23
|
+
// currency: string;
|
|
24
|
+
// od: number;
|
|
25
|
+
// }
|
|
26
|
+
|
|
27
|
+
export interface CancellationTransactionPageLoadData {
|
|
28
|
+
countries: Country[];
|
|
29
|
+
payInAgents: PayInAgent[];
|
|
30
|
+
productTypes: ProductType[];
|
|
31
|
+
// currencies: Currency[];
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// export interface Branch {
|
|
35
|
+
// businessPartnerBranch: string;
|
|
36
|
+
// businessPartnerBranch_CorrelationId: string;
|
|
37
|
+
// branchCode: string;
|
|
38
|
+
// bank: string;
|
|
39
|
+
// number: string;
|
|
40
|
+
// }
|
|
41
|
+
|
|
42
|
+
export class CancellationTransaction {
|
|
43
|
+
sendAgentBranchNameAndCode: string;
|
|
44
|
+
businessDateTime: string;
|
|
45
|
+
txnDateAndTime: string;
|
|
46
|
+
transactionNumber: string;
|
|
47
|
+
product: string;
|
|
48
|
+
sendAgentBranchCode: string;
|
|
49
|
+
sendPrincipalAgentCode: string;
|
|
50
|
+
recvAGTcode: string;
|
|
51
|
+
payoutCCcode: string;
|
|
52
|
+
payOutAmount: number;
|
|
53
|
+
payinCCcode: string;
|
|
54
|
+
payInAmount: number;
|
|
55
|
+
txnCommission: number;
|
|
56
|
+
tax: number;
|
|
57
|
+
totalPayinAmount: number;
|
|
58
|
+
status: string;
|
|
59
|
+
cancellationBranchDateTime: string;
|
|
60
|
+
cancellationBusinessDate: string;
|
|
61
|
+
cancellationLocationCode: string;
|
|
62
|
+
statusChangedBy: string;
|
|
63
|
+
cancellationReason: string;
|
|
64
|
+
}
|
|
65
|
+
|
package/src/lib/models/credit-limit-status-enquiry-report/credit-limit-status-enquiry.model.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export class CreditLimitStatusEnquiryReportModel {
|
|
2
|
+
agentName: string;
|
|
3
|
+
createdDate: string;
|
|
4
|
+
authorisationDate: string;
|
|
5
|
+
requestCreatedDate: string;
|
|
6
|
+
authorisedDate: string;
|
|
7
|
+
requestNumber: number;
|
|
8
|
+
currencyCode: string;
|
|
9
|
+
agentCode: string;
|
|
10
|
+
creditLimit: number;
|
|
11
|
+
requestTCLAmount: number;
|
|
12
|
+
requestStatus: string;
|
|
13
|
+
authorisingUserId: string;
|
|
14
|
+
creditTransferNo: number;
|
|
15
|
+
requestingUserId: string;
|
|
16
|
+
authorisingUser: string;
|
|
17
|
+
requestingUser: string;
|
|
18
|
+
requestDescription: string;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export class CreditLimitEnquiryBusinessPartnerAgentModel {
|
|
22
|
+
name: string;
|
|
23
|
+
businessPartnerType: string;
|
|
24
|
+
code: string;
|
|
25
|
+
id: number;
|
|
26
|
+
sortOrder: number;
|
|
27
|
+
}
|
|
28
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
|
|
2
|
+
export interface StatementOfAccountRequest {
|
|
3
|
+
businessPartnerID: number;
|
|
4
|
+
fromDate: string;
|
|
5
|
+
toDate: string;
|
|
6
|
+
clientType: string;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export interface StatementOfAccountItem {
|
|
10
|
+
id: number;
|
|
11
|
+
description: string;
|
|
12
|
+
settlmentCcy: string;
|
|
13
|
+
amountInSettlmentCcy: number;
|
|
14
|
+
amountInUSD: number;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface StatementOfAccountResponse {
|
|
18
|
+
openingBalAndFunding: StatementOfAccountItem[];
|
|
19
|
+
sendDetails: StatementOfAccountItem[] | null;
|
|
20
|
+
receiveDetails: StatementOfAccountItem[] | null;
|
|
21
|
+
}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
// transaction-enquiry.model.ts
|
|
2
|
+
|
|
3
|
+
export interface Client {
|
|
4
|
+
businessPartnerCode: string;
|
|
5
|
+
businessPartnerName: string;
|
|
6
|
+
displayOrder: number;
|
|
7
|
+
clientType: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export interface Branch {
|
|
11
|
+
businessPartnerBranch: string;
|
|
12
|
+
businessPartnerBranch_CorrelationId: string;
|
|
13
|
+
branchCode: string;
|
|
14
|
+
bank: string;
|
|
15
|
+
number: number;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface User {
|
|
19
|
+
userName: string;
|
|
20
|
+
userId: number;
|
|
21
|
+
number: number;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface Currency {
|
|
25
|
+
currencyCode: string;
|
|
26
|
+
currency: string;
|
|
27
|
+
number: string;
|
|
28
|
+
od: number;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export interface Product {
|
|
32
|
+
productCode: string;
|
|
33
|
+
productName: string;
|
|
34
|
+
number: number;
|
|
35
|
+
serviceTypeCode: string;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export interface TransactionStatus {
|
|
39
|
+
transactionStatus: string;
|
|
40
|
+
number: number;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export interface IdentityType {
|
|
44
|
+
identityType: string;
|
|
45
|
+
identityDescription: string;
|
|
46
|
+
number: number;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export interface UserReportDefaults {
|
|
50
|
+
PrincipleUserName: string;
|
|
51
|
+
ADPrincipleUserName: string;
|
|
52
|
+
UserName: string;
|
|
53
|
+
UserId: number;
|
|
54
|
+
BranchCode: string;
|
|
55
|
+
BranchName: string;
|
|
56
|
+
BusinessDate: string;
|
|
57
|
+
TillCode: string;
|
|
58
|
+
LocalCurrency: string;
|
|
59
|
+
TimeZone: string;
|
|
60
|
+
ExecutionTime: string;
|
|
61
|
+
StockEnquiryAll: number;
|
|
62
|
+
StockEnquiryBranch: number;
|
|
63
|
+
StockEnquiryExceptOwn: number;
|
|
64
|
+
StockEnquiryExcludeLocalAmount: number;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export interface CompanyReportConfig {
|
|
68
|
+
Company: string;
|
|
69
|
+
CompanyName: string;
|
|
70
|
+
ReportLanguage: string;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export interface TransactionData {
|
|
74
|
+
product: string;
|
|
75
|
+
id: string;
|
|
76
|
+
transactionNumber: string;
|
|
77
|
+
transactionReferenceNumber: string;
|
|
78
|
+
businessDate: string;
|
|
79
|
+
sendAgent: string;
|
|
80
|
+
sendAgtBranch: string;
|
|
81
|
+
recvAgent: string;
|
|
82
|
+
rcvAgtBranch: string;
|
|
83
|
+
sendName: string;
|
|
84
|
+
sendIdType: string;
|
|
85
|
+
sendIdNumber: string;
|
|
86
|
+
benName: string;
|
|
87
|
+
payOutCurrency: string;
|
|
88
|
+
payOutAmount: number;
|
|
89
|
+
commission: number;
|
|
90
|
+
payInCurrency: string;
|
|
91
|
+
payInAmount: number;
|
|
92
|
+
transactionStatus: string;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export interface SearchCriteria {
|
|
96
|
+
fromDate: string;
|
|
97
|
+
toDate: string;
|
|
98
|
+
client: string;
|
|
99
|
+
branch: string;
|
|
100
|
+
user: string;
|
|
101
|
+
currency: string;
|
|
102
|
+
product: string;
|
|
103
|
+
transactionStatus: string;
|
|
104
|
+
transactionNo: string;
|
|
105
|
+
cardNo: string;
|
|
106
|
+
idType: string;
|
|
107
|
+
idNo: string;
|
|
108
|
+
senderName: string;
|
|
109
|
+
beneficiaryName: string;
|
|
110
|
+
telNo: string;
|
|
111
|
+
receiveAmount: number;
|
|
112
|
+
branchName: string;
|
|
113
|
+
country: string;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export interface PageLoadDataResponse {
|
|
117
|
+
clients: Client[];
|
|
118
|
+
currencies: Currency[];
|
|
119
|
+
transactionStatuses: TransactionStatus[];
|
|
120
|
+
products: Product[];
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export enum ComponentLoadingState {
|
|
124
|
+
Error = -1,
|
|
125
|
+
Loading = 0,
|
|
126
|
+
Complete = 1,
|
|
127
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export class TransactionMonitoringRequestDomainModel {
|
|
2
|
+
startDate: string;
|
|
3
|
+
endDate: string;
|
|
4
|
+
sendCountryCode: string;
|
|
5
|
+
recvCountryCode: string;
|
|
6
|
+
businessPartnerCode: string;
|
|
7
|
+
transactionStatus: string;
|
|
8
|
+
payoutCurrency: string;
|
|
9
|
+
transactionType: string;
|
|
10
|
+
branchCode: string;
|
|
11
|
+
companyCode: string;
|
|
12
|
+
|
|
13
|
+
constructor(values: Object = {}) {
|
|
14
|
+
Object.assign(this, values);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// export interface BranchActivityReportDictionay{
|
|
2
|
+
|
|
3
|
+
// }
|
|
4
|
+
|
|
5
|
+
export class TransactionMonitoringReport {
|
|
6
|
+
SendAgentBranchNameAndCode: string;
|
|
7
|
+
BusinessDateTime: string;
|
|
8
|
+
TransactionDateTime: string;
|
|
9
|
+
TransactionNumber: string;
|
|
10
|
+
Product: string;
|
|
11
|
+
SendAgentBranchCode: string;
|
|
12
|
+
SendPrincipalAgentCode: string;
|
|
13
|
+
ReceiveAgentCode: string;
|
|
14
|
+
PayoutCCcode: string;
|
|
15
|
+
PayoutAmount?: number;
|
|
16
|
+
PayinCCcode: string;
|
|
17
|
+
PayinAmount?: number;
|
|
18
|
+
TransactionCommissionAmount?: number;
|
|
19
|
+
Tax?: number;
|
|
20
|
+
TotalPayinAmount?: number;
|
|
21
|
+
Status: string;
|
|
22
|
+
TxnStatusDateAndTime:string;
|
|
23
|
+
SendAgentCode:string;
|
|
24
|
+
SendAgentBranchName:string;
|
|
25
|
+
SenderName:string;
|
|
26
|
+
ReceiverName:string;
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
// trial-balance-accounts.model.ts
|
|
2
|
+
|
|
3
|
+
export interface TrialBalanceReport {
|
|
4
|
+
reportUser: string;
|
|
5
|
+
mainCOAGroups: MainCOAGroup[];
|
|
6
|
+
grandTotal: TrialBalanceTotals;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export interface MainCOAGroup {
|
|
10
|
+
mainCOADescription: string;
|
|
11
|
+
subCOAGroups: SubCOAGroup[];
|
|
12
|
+
totals: TrialBalanceTotals;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export interface SubCOAGroup {
|
|
16
|
+
subCOADescription: string;
|
|
17
|
+
coaGroups: COAGroup[];
|
|
18
|
+
totals: TrialBalanceTotals;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export interface COAGroup {
|
|
22
|
+
coaDescription: string;
|
|
23
|
+
accounts: AccountDetail[];
|
|
24
|
+
totals: TrialBalanceTotals;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface AccountDetail {
|
|
28
|
+
companyFullName: string;
|
|
29
|
+
coaCode: string;
|
|
30
|
+
accountCode: string;
|
|
31
|
+
accountDescription: string;
|
|
32
|
+
openingBalance: string;
|
|
33
|
+
debit: string;
|
|
34
|
+
credit: string;
|
|
35
|
+
netMovement: string;
|
|
36
|
+
closingBalance: string;
|
|
37
|
+
isTotalRow?: boolean;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export interface TrialBalanceTotals {
|
|
41
|
+
openingBalance: number;
|
|
42
|
+
debit: number;
|
|
43
|
+
credit: number;
|
|
44
|
+
netMovement: number;
|
|
45
|
+
closingBalance: number;
|
|
46
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
|
|
2
|
+
import { NgModule } from '@angular/core';
|
|
3
|
+
import { RouterModule, Routes } from '@angular/router';
|
|
4
|
+
|
|
5
|
+
import { TransactionEnquiryComponent } from './components/transaction-enquiry-report/transaction-enquiry-report.component';
|
|
6
|
+
|
|
7
|
+
const routes: Routes = [
|
|
8
|
+
{
|
|
9
|
+
path: 'transaction-enquiry-report',
|
|
10
|
+
component: TransactionEnquiryComponent
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
];
|
|
14
|
+
|
|
15
|
+
@NgModule({
|
|
16
|
+
imports: [RouterModule.forChild(routes)],
|
|
17
|
+
exports: [RouterModule]
|
|
18
|
+
})
|
|
19
|
+
|
|
20
|
+
export class ReportsLibRoutingModule {}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { ReportsLibComponent } from './reports-lib.component';
|
|
4
|
+
|
|
5
|
+
describe('ReportsLibComponent', () => {
|
|
6
|
+
let component: ReportsLibComponent;
|
|
7
|
+
let fixture: ComponentFixture<ReportsLibComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
declarations: [ ReportsLibComponent ]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
|
|
15
|
+
fixture = TestBed.createComponent(ReportsLibComponent);
|
|
16
|
+
component = fixture.componentInstance;
|
|
17
|
+
fixture.detectChanges();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
it('should create', () => {
|
|
21
|
+
expect(component).toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Component, OnInit } from '@angular/core';
|
|
2
|
+
|
|
3
|
+
@Component({
|
|
4
|
+
selector: 'lib-reports-lib',
|
|
5
|
+
template: `
|
|
6
|
+
<p>
|
|
7
|
+
reports-lib works!
|
|
8
|
+
</p>
|
|
9
|
+
`,
|
|
10
|
+
styles: [
|
|
11
|
+
]
|
|
12
|
+
})
|
|
13
|
+
export class ReportsLibComponent implements OnInit {
|
|
14
|
+
|
|
15
|
+
constructor() { }
|
|
16
|
+
|
|
17
|
+
ngOnInit(): void {
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
}
|