@sachin9822/reports-lib 0.0.213 → 0.0.215

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 (211) hide show
  1. package/esm2020/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.mjs +240 -0
  2. package/esm2020/lib/components/accounting-report/accounting-report.component.mjs +614 -0
  3. package/esm2020/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.mjs +218 -0
  4. package/esm2020/lib/components/branch-activity-send-report/branch-activity-send-report.component.mjs +263 -0
  5. package/esm2020/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.mjs +718 -0
  6. package/esm2020/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.mjs +275 -0
  7. package/esm2020/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.mjs +192 -0
  8. package/esm2020/lib/components/funding-report/funding-report.component.mjs +198 -0
  9. package/esm2020/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.mjs +244 -0
  10. package/esm2020/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.mjs +776 -0
  11. package/esm2020/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.mjs +282 -0
  12. package/esm2020/lib/components/transaction-monitoring-report/transaction-monitoring-report.component.mjs +332 -0
  13. package/esm2020/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.mjs +631 -0
  14. package/esm2020/lib/models/acc-gl-details-enquiry-report/accgl-details-enquiry-reportmodel.mjs +2 -0
  15. package/esm2020/lib/models/acc-gl-details-enquiry-report/journal-voucher-entry-model.mjs +2 -0
  16. package/esm2020/lib/models/accounting-report/accounting-report-branch-group.mjs +2 -0
  17. package/esm2020/lib/models/accounting-report/accounting-report-entry-model.mjs +2 -0
  18. package/esm2020/lib/models/accounting-report/accounting-report-model.mjs +2 -0
  19. package/esm2020/lib/models/accounting-report/accounting-report-sub-group.mjs +2 -0
  20. package/esm2020/lib/models/app-config.model.mjs +2 -0
  21. package/esm2020/lib/models/branch-activity-receive-report/branch-activity-receive.model.mjs +2 -0
  22. package/esm2020/lib/models/branch-activity-report/branch-activity-send-report-request-domain-model.mjs +6 -0
  23. package/esm2020/lib/models/branch-activity-report/branch-activity-send-report.mjs +3 -0
  24. package/esm2020/lib/models/cancellation-transaction-report/cancellation-transaction.model.mjs +10 -0
  25. package/esm2020/lib/models/component-loading-states.mjs +7 -0
  26. package/esm2020/lib/models/credit-limit-status-enquiry-report/credit-limit-status-enquiry.model.mjs +5 -0
  27. package/esm2020/lib/models/revenue-per-transaction-report/revenue-per-transaction.model.mjs +2 -0
  28. package/esm2020/lib/models/statement-of-account-report/statement-of-accounts.model.mjs +2 -0
  29. package/esm2020/lib/models/transaction-enquiry-report/transaction-enquiry.model.mjs +8 -0
  30. package/esm2020/lib/models/transaction-monitoring-report/transaction-monitoring-report-request-domain-model.mjs +6 -0
  31. package/esm2020/lib/models/transaction-monitoring-report/transaction-monitoring-report.mjs +5 -0
  32. package/esm2020/lib/models/trial-balance-accounts-report/trial-balance-accounts.models.mjs +3 -0
  33. package/esm2020/lib/reports-lib-routing.module.mjs +24 -0
  34. package/esm2020/lib/reports-lib.component.mjs +22 -0
  35. package/esm2020/lib/reports-lib.module.mjs +172 -0
  36. package/esm2020/lib/reports-lib.service.mjs +14 -0
  37. package/esm2020/lib/services/config.service.mjs +39 -0
  38. package/esm2020/lib/services/report.service.mjs +374 -0
  39. package/esm2020/lib/shared/export-generic.service.mjs +443 -0
  40. package/esm2020/lib/shared/export.service.mjs +379 -0
  41. package/esm2020/lib/shared/loader/loader.component.mjs +11 -0
  42. package/esm2020/lib/shared/metadata/metadata.component.mjs +51 -0
  43. package/esm2020/lib/shared/page-size-selector/page-size-selector.component.mjs +44 -0
  44. package/esm2020/lib/shared/search-filter/search-filter.component.mjs +2147 -0
  45. package/esm2020/lib/shared/shared.module.mjs +21 -0
  46. package/esm2020/public-api.mjs +41 -0
  47. package/esm2020/sachin9822-reports-lib.mjs +5 -0
  48. package/fesm2015/sachin9822-reports-lib.mjs +8649 -0
  49. package/fesm2015/sachin9822-reports-lib.mjs.map +1 -0
  50. package/fesm2020/sachin9822-reports-lib.mjs +8510 -0
  51. package/fesm2020/sachin9822-reports-lib.mjs.map +1 -0
  52. package/index.d.ts +5 -0
  53. package/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.d.ts +70 -0
  54. package/lib/components/accounting-report/accounting-report.component.d.ts +76 -0
  55. package/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.d.ts +58 -0
  56. package/lib/components/branch-activity-send-report/branch-activity-send-report.component.d.ts +69 -0
  57. package/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.d.ts +78 -0
  58. package/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.d.ts +108 -0
  59. package/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.d.ts +55 -0
  60. package/lib/components/funding-report/funding-report.component.d.ts +55 -0
  61. package/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.d.ts +57 -0
  62. package/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.d.ts +109 -0
  63. package/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.d.ts +76 -0
  64. package/lib/components/transaction-monitoring-report/transaction-monitoring-report.component.d.ts +69 -0
  65. package/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.d.ts +71 -0
  66. package/lib/models/acc-gl-details-enquiry-report/accgl-details-enquiry-reportmodel.d.ts +8 -0
  67. package/lib/models/acc-gl-details-enquiry-report/journal-voucher-entry-model.d.ts +18 -0
  68. package/lib/models/accounting-report/accounting-report-branch-group.d.ts +6 -0
  69. package/lib/models/accounting-report/accounting-report-entry-model.d.ts +24 -0
  70. package/lib/models/accounting-report/accounting-report-model.d.ts +6 -0
  71. package/{src/lib/models/accounting-report/accounting-report-sub-group.ts → lib/models/accounting-report/accounting-report-sub-group.d.ts} +2 -3
  72. package/{src/lib/models/app-config.model.ts → lib/models/app-config.model.d.ts} +7 -8
  73. package/lib/models/branch-activity-receive-report/branch-activity-receive.model.d.ts +18 -0
  74. package/lib/models/branch-activity-report/branch-activity-send-report-request-domain-model.d.ts +13 -0
  75. package/lib/models/branch-activity-report/branch-activity-send-report.d.ts +24 -0
  76. package/lib/models/cancellation-transaction-report/cancellation-transaction.model.d.ts +44 -0
  77. package/lib/models/component-loading-states.d.ts +5 -0
  78. package/lib/models/credit-limit-status-enquiry-report/credit-limit-status-enquiry.model.d.ts +26 -0
  79. package/{src/lib/models/revenue-per-transaction-report/revenue-per-transaction.model.ts → lib/models/revenue-per-transaction-report/revenue-per-transaction.model.d.ts} +1 -1
  80. package/lib/models/statement-of-account-report/statement-of-accounts.model.d.ts +18 -0
  81. package/lib/models/transaction-enquiry-report/transaction-enquiry.model.d.ts +113 -0
  82. package/lib/models/transaction-monitoring-report/transaction-monitoring-report-request-domain-model.d.ts +13 -0
  83. package/lib/models/transaction-monitoring-report/transaction-monitoring-report.d.ts +23 -0
  84. package/lib/models/trial-balance-accounts-report/trial-balance-accounts.models.d.ts +38 -0
  85. package/lib/reports-lib-routing.module.d.ts +7 -0
  86. package/lib/reports-lib.component.d.ts +8 -0
  87. package/lib/reports-lib.module.d.ts +33 -0
  88. package/lib/reports-lib.service.d.ts +6 -0
  89. package/lib/services/config.service.d.ts +20 -0
  90. package/lib/services/report.service.d.ts +80 -0
  91. package/lib/shared/export-generic.service.d.ts +50 -0
  92. package/lib/shared/export.service.d.ts +32 -0
  93. package/lib/shared/loader/loader.component.d.ts +5 -0
  94. package/lib/shared/metadata/metadata.component.d.ts +24 -0
  95. package/lib/shared/page-size-selector/page-size-selector.component.d.ts +15 -0
  96. package/lib/shared/search-filter/search-filter.component.d.ts +127 -0
  97. package/lib/shared/shared.module.d.ts +11 -0
  98. package/package.json +31 -16
  99. package/{src/public-api.ts → public-api.d.ts} +7 -17
  100. package/karma.conf.js +0 -44
  101. package/ng-package.json +0 -17
  102. package/src/assets/images/BreadcrumbArrow.png +0 -0
  103. package/src/assets/images/XMCoral.png +0 -0
  104. package/src/lib/assets/images/Search.svg +0 -10
  105. package/src/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.html +0 -27
  106. package/src/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.scss +0 -46
  107. package/src/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.spec.ts +0 -23
  108. package/src/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.ts +0 -292
  109. package/src/lib/components/accounting-report/accounting-report.component.html +0 -64
  110. package/src/lib/components/accounting-report/accounting-report.component.scss +0 -24
  111. package/src/lib/components/accounting-report/accounting-report.component.spec.ts +0 -23
  112. package/src/lib/components/accounting-report/accounting-report.component.ts +0 -738
  113. package/src/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.html +0 -46
  114. package/src/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.scss +0 -2
  115. package/src/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.spec.ts +0 -23
  116. package/src/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.ts +0 -247
  117. package/src/lib/components/branch-activity-send-report/branch-activity-send-report.component.html +0 -46
  118. package/src/lib/components/branch-activity-send-report/branch-activity-send-report.component.scss +0 -3
  119. package/src/lib/components/branch-activity-send-report/branch-activity-send-report.component.spec.ts +0 -23
  120. package/src/lib/components/branch-activity-send-report/branch-activity-send-report.component.ts +0 -276
  121. package/src/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.html +0 -51
  122. package/src/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.scss +0 -7
  123. package/src/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.spec.ts +0 -23
  124. package/src/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.ts +0 -840
  125. package/src/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.html +0 -68
  126. package/src/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.scss +0 -65
  127. package/src/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.spec.ts +0 -23
  128. package/src/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.ts +0 -290
  129. package/src/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.html +0 -25
  130. package/src/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.scss +0 -1
  131. package/src/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.spec.ts +0 -23
  132. package/src/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.ts +0 -213
  133. package/src/lib/components/funding-report/funding-report.component.html +0 -49
  134. package/src/lib/components/funding-report/funding-report.component.scss +0 -1
  135. package/src/lib/components/funding-report/funding-report.component.spec.ts +0 -23
  136. package/src/lib/components/funding-report/funding-report.component.ts +0 -221
  137. package/src/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.html +0 -26
  138. package/src/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.scss +0 -1
  139. package/src/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.spec.ts +0 -23
  140. package/src/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.ts +0 -267
  141. package/src/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.html +0 -95
  142. package/src/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.scss +0 -54
  143. package/src/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.spec.ts +0 -23
  144. package/src/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.ts +0 -904
  145. package/src/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.html +0 -49
  146. package/src/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.scss +0 -2
  147. package/src/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.spec.ts +0 -32
  148. package/src/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.ts +0 -304
  149. package/src/lib/components/transaction-monitoring-report/transaction-monitoring-report.component.html +0 -46
  150. package/src/lib/components/transaction-monitoring-report/transaction-monitoring-report.component.scss +0 -7
  151. package/src/lib/components/transaction-monitoring-report/transaction-monitoring-report.component.ts +0 -343
  152. package/src/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.html +0 -25
  153. package/src/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.scss +0 -23
  154. package/src/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.spec.ts +0 -23
  155. package/src/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.ts +0 -745
  156. package/src/lib/models/acc-gl-details-enquiry-report/accgl-details-enquiry-reportmodel.ts +0 -10
  157. package/src/lib/models/acc-gl-details-enquiry-report/journal-voucher-entry-model.ts +0 -20
  158. package/src/lib/models/accounting-report/accounting-report-branch-group.ts +0 -7
  159. package/src/lib/models/accounting-report/accounting-report-entry-model.ts +0 -25
  160. package/src/lib/models/accounting-report/accounting-report-model.ts +0 -7
  161. package/src/lib/models/branch-activity-receive-report/branch-activity-receive.model.ts +0 -18
  162. package/src/lib/models/branch-activity-report/branch-activity-send-report-request-domain-model.ts +0 -16
  163. package/src/lib/models/branch-activity-report/branch-activity-send-report.ts +0 -26
  164. package/src/lib/models/cancellation-transaction-report/cancellation-transaction.model.ts +0 -65
  165. package/src/lib/models/component-loading-states.ts +0 -5
  166. package/src/lib/models/credit-limit-status-enquiry-report/credit-limit-status-enquiry.model.ts +0 -28
  167. package/src/lib/models/statement-of-account-report/statement-of-accounts.model.ts +0 -21
  168. package/src/lib/models/transaction-enquiry-report/transaction-enquiry.model.ts +0 -127
  169. package/src/lib/models/transaction-monitoring-report/transaction-monitoring-report-request-domain-model.ts +0 -16
  170. package/src/lib/models/transaction-monitoring-report/transaction-monitoring-report.ts +0 -29
  171. package/src/lib/models/trial-balance-accounts-report/trial-balance-accounts.models.ts +0 -46
  172. package/src/lib/reports-lib-routing.module.ts +0 -20
  173. package/src/lib/reports-lib.component.spec.ts +0 -23
  174. package/src/lib/reports-lib.component.ts +0 -20
  175. package/src/lib/reports-lib.module.ts +0 -102
  176. package/src/lib/reports-lib.service.spec.ts +0 -16
  177. package/src/lib/reports-lib.service.ts +0 -9
  178. package/src/lib/services/config.service.ts +0 -43
  179. package/src/lib/services/report.service.spec.ts +0 -16
  180. package/src/lib/services/report.service.ts +0 -463
  181. package/src/lib/shared/export-generic.service.ts +0 -557
  182. package/src/lib/shared/export.service.spec.ts +0 -16
  183. package/src/lib/shared/export.service.ts +0 -457
  184. package/src/lib/shared/loader/loader.component.html +0 -8
  185. package/src/lib/shared/loader/loader.component.scss +0 -52
  186. package/src/lib/shared/loader/loader.component.ts +0 -10
  187. package/src/lib/shared/metadata/metadata.component.html +0 -42
  188. package/src/lib/shared/metadata/metadata.component.scss +0 -95
  189. package/src/lib/shared/metadata/metadata.component.spec.ts +0 -23
  190. package/src/lib/shared/metadata/metadata.component.ts +0 -38
  191. package/src/lib/shared/page-size-selector/page-size-selector.component.html +0 -7
  192. package/src/lib/shared/page-size-selector/page-size-selector.component.scss +0 -42
  193. package/src/lib/shared/page-size-selector/page-size-selector.component.spec.ts +0 -23
  194. package/src/lib/shared/page-size-selector/page-size-selector.component.ts +0 -38
  195. package/src/lib/shared/search-filter/search-filter.component.html +0 -601
  196. package/src/lib/shared/search-filter/search-filter.component.scss +0 -203
  197. package/src/lib/shared/search-filter/search-filter.component.spec.ts +0 -23
  198. package/src/lib/shared/search-filter/search-filter.component.ts +0 -2387
  199. package/src/lib/shared/shared.module.ts +0 -13
  200. package/src/styles/ag-grid-report-style.scss +0 -71
  201. package/src/styles/common-ag-grid-style.scss +0 -146
  202. package/src/styles/common-report-style.scss +0 -395
  203. package/src/styles/common-style.scss +0 -615
  204. package/src/test.ts +0 -27
  205. package/tsconfig.lib.json +0 -15
  206. package/tsconfig.lib.prod.json +0 -10
  207. package/tsconfig.spec.json +0 -17
  208. /package/{src/lib → lib}/assets/config/app-config.json +0 -0
  209. /package/{src → lib}/assets/images/Search.svg +0 -0
  210. /package/{src/lib → lib}/assets/images/XMLogo.png +0 -0
  211. /package/{src/lib → lib}/assets/svg-loaders/blue-tail-spin.svg +0 -0
@@ -1,10 +0,0 @@
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
- }
@@ -1,20 +0,0 @@
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
- }
@@ -1,7 +0,0 @@
1
- import { AccountingReportSubGroup } from "./accounting-report-sub-group";
2
-
3
- export interface AccountingReportBranchGroup {
4
- branchNameAndCode: string;
5
- sendTransactions: AccountingReportSubGroup;
6
- receiveTransactions: AccountingReportSubGroup;
7
- }
@@ -1,25 +0,0 @@
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,7 +0,0 @@
1
- import { AccountingReportBranchGroup } from "./accounting-report-branch-group";
2
-
3
- export interface AccountingReportModel {
4
- reportUser: string;
5
- reportTime: string;
6
- accountingReportByBranchGroups: AccountingReportBranchGroup[];
7
- }
@@ -1,18 +0,0 @@
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
- }
@@ -1,16 +0,0 @@
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
- }
@@ -1,26 +0,0 @@
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
- }
@@ -1,65 +0,0 @@
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
-
@@ -1,5 +0,0 @@
1
- export enum ComponentLoadingStates {
2
- Error = -1,
3
- Loading = 0,
4
- Complete = 1,
5
- }
@@ -1,28 +0,0 @@
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
-
@@ -1,21 +0,0 @@
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
- }
@@ -1,127 +0,0 @@
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
- }
@@ -1,16 +0,0 @@
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
- }
@@ -1,29 +0,0 @@
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
- }
@@ -1,46 +0,0 @@
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
- }
@@ -1,20 +0,0 @@
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 {}
@@ -1,23 +0,0 @@
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
- });
@@ -1,20 +0,0 @@
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
- }
@@ -1,102 +0,0 @@
1
- import { APP_INITIALIZER, NgModule } from '@angular/core';
2
- import { AccGlDetailsEnquiryReportComponent } from './components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component';
3
- import { AgGridModule } from 'ag-grid-angular';
4
- import { ReportsLibRoutingModule } from './reports-lib-routing.module';
5
-
6
- import { BrowserModule } from '@angular/platform-browser';
7
- import { FormsModule, ReactiveFormsModule } from '@angular/forms';
8
- import { BranchActivitySendReportComponent } from './components/branch-activity-send-report/branch-activity-send-report.component';
9
- import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
10
- import { NgSelectModule } from '@ng-select/ng-select';
11
- import { LoaderComponent } from './shared/loader/loader.component'
12
- import { CommonModule } from '@angular/common';
13
- import { RouterModule } from '@angular/router';
14
- import { ConfigService } from '../lib/services/config.service';
15
- import { NgbDatepickerModule } from '@ng-bootstrap/ng-bootstrap';
16
- import { SharedModule } from './shared/shared.module';
17
- import { TransactionEnquiryComponent } from './components/transaction-enquiry-report/transaction-enquiry-report.component';
18
- import { SearchFilterComponent } from './shared/search-filter/search-filter.component';
19
- import { ReportsLibComponent } from './reports-lib.component';
20
- import { BranchActivityReceiveReportComponent } from './components/branch-activity-receive-report/branch-activity-receive-report.component';
21
- import { CancellationTransactionReportComponent } from './components/cancellation-transaction-report/cancellation-transaction-report.component';
22
- import { RevenuePerTransactionReportComponent } from './components/revenue-per-transaction-report/revenue-per-transaction-report.component';
23
- import { StatementOfAccountsReportComponent } from './components/statement-of-accounts-report/statement-of-accounts-report.component';
24
- import { AccountingReportComponent } from './components/accounting-report/accounting-report.component';
25
- import { CreditLimitStatusEnquiryReportComponent } from './components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component';
26
- import { FundingReportComponent } from './components/funding-report/funding-report.component';
27
-
28
- import { TrialBalanceAccountsReportComponent } from './components/trial-balance-accounts-report/trial-balance-accounts-report.component';
29
- import { BranchActivitySendSummaryReportComponent } from './components/branch-activity-send-summary-report/branch-activity-send-summary-report.component';
30
- import { TransactionMonitoringReportComponent } from './components/transaction-monitoring-report/transaction-monitoring-report.component';
31
- export function initializeApp(config: ConfigService) {
32
- const configFile = '/assets/config/app-config.json';
33
-
34
- return () => config.load(configFile).toPromise();
35
- }
36
-
37
-
38
- @NgModule({
39
- declarations: [
40
- ReportsLibComponent,
41
- AccGlDetailsEnquiryReportComponent,
42
- BranchActivitySendReportComponent,
43
- LoaderComponent,
44
- TransactionEnquiryComponent,
45
- LoaderComponent,
46
- SearchFilterComponent,
47
- BranchActivityReceiveReportComponent,
48
- CancellationTransactionReportComponent,
49
- RevenuePerTransactionReportComponent,
50
- StatementOfAccountsReportComponent,
51
- AccountingReportComponent,
52
- CreditLimitStatusEnquiryReportComponent,
53
- FundingReportComponent,
54
- TrialBalanceAccountsReportComponent,
55
- BranchActivitySendSummaryReportComponent,
56
- TransactionMonitoringReportComponent
57
-
58
- ],
59
- imports: [
60
- AgGridModule,
61
- ReportsLibRoutingModule,
62
- CommonModule,
63
- RouterModule,
64
- NgbDatepickerModule,
65
- SharedModule,
66
- BrowserModule,
67
- AgGridModule,
68
- ReportsLibRoutingModule,
69
- FormsModule,
70
- AgGridModule,
71
- NgbModule,
72
- ReactiveFormsModule,
73
- NgSelectModule,
74
- ReactiveFormsModule,
75
- NgbModule,
76
- NgSelectModule
77
- ],
78
- providers: [
79
- ConfigService,
80
- {
81
- provide: APP_INITIALIZER,
82
- useFactory: initializeApp,
83
- deps: [ConfigService],
84
- multi: true
85
- }
86
- ],
87
- exports: [
88
- ReportsLibComponent,
89
- AccGlDetailsEnquiryReportComponent,
90
- BranchActivitySendReportComponent,
91
- TransactionEnquiryComponent,
92
- CancellationTransactionReportComponent,
93
- StatementOfAccountsReportComponent,
94
- AccountingReportComponent,
95
- FundingReportComponent,
96
- CreditLimitStatusEnquiryReportComponent,
97
- TrialBalanceAccountsReportComponent,
98
- BranchActivitySendSummaryReportComponent ,
99
- TransactionMonitoringReportComponent
100
- ]
101
- })
102
- export class ReportsLibModule { }
@@ -1,16 +0,0 @@
1
- import { TestBed } from '@angular/core/testing';
2
-
3
- import { ReportsLibService } from './reports-lib.service';
4
-
5
- describe('ReportsLibService', () => {
6
- let service: ReportsLibService;
7
-
8
- beforeEach(() => {
9
- TestBed.configureTestingModule({});
10
- service = TestBed.inject(ReportsLibService);
11
- });
12
-
13
- it('should be created', () => {
14
- expect(service).toBeTruthy();
15
- });
16
- });
@@ -1,9 +0,0 @@
1
- import { Injectable } from '@angular/core';
2
-
3
- @Injectable({
4
- providedIn: 'root'
5
- })
6
- export class ReportsLibService {
7
-
8
- constructor() { }
9
- }