@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.
Files changed (211) hide show
  1. package/karma.conf.js +44 -0
  2. package/ng-package.json +17 -0
  3. package/package.json +16 -31
  4. package/src/assets/images/BreadcrumbArrow.png +0 -0
  5. package/src/lib/assets/images/Search.svg +10 -0
  6. package/src/lib/assets/images/XMLogo.png +0 -0
  7. package/src/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.html +27 -0
  8. package/src/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.scss +46 -0
  9. package/src/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.spec.ts +23 -0
  10. package/src/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.ts +292 -0
  11. package/src/lib/components/accounting-report/accounting-report.component.html +64 -0
  12. package/src/lib/components/accounting-report/accounting-report.component.scss +24 -0
  13. package/src/lib/components/accounting-report/accounting-report.component.spec.ts +23 -0
  14. package/src/lib/components/accounting-report/accounting-report.component.ts +738 -0
  15. package/src/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.html +46 -0
  16. package/src/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.scss +2 -0
  17. package/src/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.spec.ts +23 -0
  18. package/src/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.ts +247 -0
  19. package/src/lib/components/branch-activity-send-report/branch-activity-send-report.component.html +46 -0
  20. package/src/lib/components/branch-activity-send-report/branch-activity-send-report.component.scss +3 -0
  21. package/src/lib/components/branch-activity-send-report/branch-activity-send-report.component.spec.ts +23 -0
  22. package/src/lib/components/branch-activity-send-report/branch-activity-send-report.component.ts +276 -0
  23. package/src/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.html +51 -0
  24. package/src/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.scss +7 -0
  25. package/src/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.spec.ts +23 -0
  26. package/src/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.ts +840 -0
  27. package/src/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.html +68 -0
  28. package/src/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.scss +65 -0
  29. package/src/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.spec.ts +23 -0
  30. package/src/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.ts +290 -0
  31. package/src/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.html +25 -0
  32. package/src/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.scss +1 -0
  33. package/src/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.spec.ts +23 -0
  34. package/src/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.ts +213 -0
  35. package/src/lib/components/funding-report/funding-report.component.html +49 -0
  36. package/src/lib/components/funding-report/funding-report.component.scss +1 -0
  37. package/src/lib/components/funding-report/funding-report.component.spec.ts +23 -0
  38. package/src/lib/components/funding-report/funding-report.component.ts +221 -0
  39. package/src/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.html +26 -0
  40. package/src/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.scss +1 -0
  41. package/src/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.spec.ts +23 -0
  42. package/src/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.ts +267 -0
  43. package/src/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.html +95 -0
  44. package/src/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.scss +54 -0
  45. package/src/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.spec.ts +23 -0
  46. package/src/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.ts +904 -0
  47. package/src/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.html +49 -0
  48. package/src/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.scss +2 -0
  49. package/src/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.spec.ts +32 -0
  50. package/src/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.ts +304 -0
  51. package/src/lib/components/transaction-monitoring-report/transaction-monitoring-report.component.html +46 -0
  52. package/src/lib/components/transaction-monitoring-report/transaction-monitoring-report.component.scss +7 -0
  53. package/src/lib/components/transaction-monitoring-report/transaction-monitoring-report.component.ts +343 -0
  54. package/src/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.html +25 -0
  55. package/src/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.scss +23 -0
  56. package/src/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.spec.ts +23 -0
  57. package/src/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.ts +745 -0
  58. package/src/lib/models/acc-gl-details-enquiry-report/accgl-details-enquiry-reportmodel.ts +10 -0
  59. package/src/lib/models/acc-gl-details-enquiry-report/journal-voucher-entry-model.ts +20 -0
  60. package/src/lib/models/accounting-report/accounting-report-branch-group.ts +7 -0
  61. package/src/lib/models/accounting-report/accounting-report-entry-model.ts +25 -0
  62. package/src/lib/models/accounting-report/accounting-report-model.ts +7 -0
  63. package/{lib/models/accounting-report/accounting-report-sub-group.d.ts → src/lib/models/accounting-report/accounting-report-sub-group.ts} +3 -2
  64. package/{lib/models/app-config.model.d.ts → src/lib/models/app-config.model.ts} +8 -7
  65. package/src/lib/models/branch-activity-receive-report/branch-activity-receive.model.ts +18 -0
  66. package/src/lib/models/branch-activity-report/branch-activity-send-report-request-domain-model.ts +16 -0
  67. package/src/lib/models/branch-activity-report/branch-activity-send-report.ts +26 -0
  68. package/src/lib/models/cancellation-transaction-report/cancellation-transaction.model.ts +65 -0
  69. package/src/lib/models/component-loading-states.ts +5 -0
  70. package/src/lib/models/credit-limit-status-enquiry-report/credit-limit-status-enquiry.model.ts +28 -0
  71. 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
  72. package/src/lib/models/statement-of-account-report/statement-of-accounts.model.ts +21 -0
  73. package/src/lib/models/transaction-enquiry-report/transaction-enquiry.model.ts +127 -0
  74. package/src/lib/models/transaction-monitoring-report/transaction-monitoring-report-request-domain-model.ts +16 -0
  75. package/src/lib/models/transaction-monitoring-report/transaction-monitoring-report.ts +29 -0
  76. package/src/lib/models/trial-balance-accounts-report/trial-balance-accounts.models.ts +46 -0
  77. package/src/lib/reports-lib-routing.module.ts +20 -0
  78. package/src/lib/reports-lib.component.spec.ts +23 -0
  79. package/src/lib/reports-lib.component.ts +20 -0
  80. package/src/lib/reports-lib.module.ts +102 -0
  81. package/src/lib/reports-lib.service.spec.ts +16 -0
  82. package/src/lib/reports-lib.service.ts +9 -0
  83. package/src/lib/services/config.service.ts +43 -0
  84. package/src/lib/services/report.service.spec.ts +16 -0
  85. package/src/lib/services/report.service.ts +463 -0
  86. package/src/lib/shared/export-generic.service.ts +557 -0
  87. package/src/lib/shared/export.service.spec.ts +16 -0
  88. package/src/lib/shared/export.service.ts +457 -0
  89. package/src/lib/shared/loader/loader.component.html +8 -0
  90. package/src/lib/shared/loader/loader.component.scss +52 -0
  91. package/src/lib/shared/loader/loader.component.ts +10 -0
  92. package/src/lib/shared/metadata/metadata.component.html +42 -0
  93. package/src/lib/shared/metadata/metadata.component.scss +95 -0
  94. package/src/lib/shared/metadata/metadata.component.spec.ts +23 -0
  95. package/src/lib/shared/metadata/metadata.component.ts +38 -0
  96. package/src/lib/shared/page-size-selector/page-size-selector.component.html +7 -0
  97. package/src/lib/shared/page-size-selector/page-size-selector.component.scss +42 -0
  98. package/src/lib/shared/page-size-selector/page-size-selector.component.spec.ts +23 -0
  99. package/src/lib/shared/page-size-selector/page-size-selector.component.ts +38 -0
  100. package/src/lib/shared/search-filter/search-filter.component.html +601 -0
  101. package/src/lib/shared/search-filter/search-filter.component.scss +203 -0
  102. package/src/lib/shared/search-filter/search-filter.component.spec.ts +23 -0
  103. package/src/lib/shared/search-filter/search-filter.component.ts +2387 -0
  104. package/src/lib/shared/shared.module.ts +13 -0
  105. package/{public-api.d.ts → src/public-api.ts} +17 -7
  106. package/src/styles/ag-grid-report-style.scss +71 -0
  107. package/src/styles/common-ag-grid-style.scss +146 -0
  108. package/src/styles/common-report-style.scss +395 -0
  109. package/src/styles/common-style.scss +615 -0
  110. package/src/test.ts +27 -0
  111. package/tsconfig.lib.json +15 -0
  112. package/tsconfig.lib.prod.json +10 -0
  113. package/tsconfig.spec.json +17 -0
  114. package/esm2020/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.mjs +0 -240
  115. package/esm2020/lib/components/accounting-report/accounting-report.component.mjs +0 -596
  116. package/esm2020/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.mjs +0 -218
  117. package/esm2020/lib/components/branch-activity-send-report/branch-activity-send-report.component.mjs +0 -243
  118. package/esm2020/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.mjs +0 -700
  119. package/esm2020/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.mjs +0 -255
  120. package/esm2020/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.mjs +0 -192
  121. package/esm2020/lib/components/funding-report/funding-report.component.mjs +0 -198
  122. package/esm2020/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.mjs +0 -244
  123. package/esm2020/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.mjs +0 -776
  124. package/esm2020/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.mjs +0 -266
  125. package/esm2020/lib/components/transaction-monitoring-report/transaction-monitoring-report.component.mjs +0 -311
  126. package/esm2020/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.mjs +0 -631
  127. package/esm2020/lib/models/acc-gl-details-enquiry-report/accgl-details-enquiry-reportmodel.mjs +0 -2
  128. package/esm2020/lib/models/acc-gl-details-enquiry-report/journal-voucher-entry-model.mjs +0 -2
  129. package/esm2020/lib/models/accounting-report/accounting-report-branch-group.mjs +0 -2
  130. package/esm2020/lib/models/accounting-report/accounting-report-entry-model.mjs +0 -2
  131. package/esm2020/lib/models/accounting-report/accounting-report-model.mjs +0 -2
  132. package/esm2020/lib/models/accounting-report/accounting-report-sub-group.mjs +0 -2
  133. package/esm2020/lib/models/app-config.model.mjs +0 -2
  134. package/esm2020/lib/models/branch-activity-receive-report/branch-activity-receive.model.mjs +0 -2
  135. package/esm2020/lib/models/branch-activity-report/branch-activity-send-report-request-domain-model.mjs +0 -6
  136. package/esm2020/lib/models/branch-activity-report/branch-activity-send-report.mjs +0 -3
  137. package/esm2020/lib/models/cancellation-transaction-report/cancellation-transaction.model.mjs +0 -10
  138. package/esm2020/lib/models/component-loading-states.mjs +0 -7
  139. package/esm2020/lib/models/credit-limit-status-enquiry-report/credit-limit-status-enquiry.model.mjs +0 -5
  140. package/esm2020/lib/models/revenue-per-transaction-report/revenue-per-transaction.model.mjs +0 -2
  141. package/esm2020/lib/models/statement-of-account-report/statement-of-accounts.model.mjs +0 -2
  142. package/esm2020/lib/models/transaction-enquiry-report/transaction-enquiry.model.mjs +0 -8
  143. package/esm2020/lib/models/transaction-monitoring-report/transaction-monitoring-report-request-domain-model.mjs +0 -6
  144. package/esm2020/lib/models/transaction-monitoring-report/transaction-monitoring-report.mjs +0 -5
  145. package/esm2020/lib/models/trial-balance-accounts-report/trial-balance-accounts.models.mjs +0 -3
  146. package/esm2020/lib/reports-lib-routing.module.mjs +0 -24
  147. package/esm2020/lib/reports-lib.component.mjs +0 -22
  148. package/esm2020/lib/reports-lib.module.mjs +0 -172
  149. package/esm2020/lib/reports-lib.service.mjs +0 -14
  150. package/esm2020/lib/services/config.service.mjs +0 -39
  151. package/esm2020/lib/services/report.service.mjs +0 -374
  152. package/esm2020/lib/shared/export-generic.service.mjs +0 -443
  153. package/esm2020/lib/shared/export.service.mjs +0 -379
  154. package/esm2020/lib/shared/loader/loader.component.mjs +0 -11
  155. package/esm2020/lib/shared/metadata/metadata.component.mjs +0 -51
  156. package/esm2020/lib/shared/page-size-selector/page-size-selector.component.mjs +0 -44
  157. package/esm2020/lib/shared/search-filter/search-filter.component.mjs +0 -2134
  158. package/esm2020/lib/shared/shared.module.mjs +0 -21
  159. package/esm2020/public-api.mjs +0 -41
  160. package/esm2020/sachin9822-reports-lib.mjs +0 -5
  161. package/fesm2015/sachin9822-reports-lib.mjs +0 -8402
  162. package/fesm2015/sachin9822-reports-lib.mjs.map +0 -1
  163. package/fesm2020/sachin9822-reports-lib.mjs +0 -8384
  164. package/fesm2020/sachin9822-reports-lib.mjs.map +0 -1
  165. package/index.d.ts +0 -5
  166. package/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.d.ts +0 -70
  167. package/lib/components/accounting-report/accounting-report.component.d.ts +0 -76
  168. package/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.d.ts +0 -58
  169. package/lib/components/branch-activity-send-report/branch-activity-send-report.component.d.ts +0 -69
  170. package/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.d.ts +0 -78
  171. package/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.d.ts +0 -95
  172. package/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.d.ts +0 -55
  173. package/lib/components/funding-report/funding-report.component.d.ts +0 -55
  174. package/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.d.ts +0 -57
  175. package/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.d.ts +0 -109
  176. package/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.d.ts +0 -76
  177. package/lib/components/transaction-monitoring-report/transaction-monitoring-report.component.d.ts +0 -68
  178. package/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.d.ts +0 -71
  179. package/lib/models/acc-gl-details-enquiry-report/accgl-details-enquiry-reportmodel.d.ts +0 -8
  180. package/lib/models/acc-gl-details-enquiry-report/journal-voucher-entry-model.d.ts +0 -18
  181. package/lib/models/accounting-report/accounting-report-branch-group.d.ts +0 -6
  182. package/lib/models/accounting-report/accounting-report-entry-model.d.ts +0 -24
  183. package/lib/models/accounting-report/accounting-report-model.d.ts +0 -6
  184. package/lib/models/branch-activity-receive-report/branch-activity-receive.model.d.ts +0 -18
  185. package/lib/models/branch-activity-report/branch-activity-send-report-request-domain-model.d.ts +0 -13
  186. package/lib/models/branch-activity-report/branch-activity-send-report.d.ts +0 -24
  187. package/lib/models/cancellation-transaction-report/cancellation-transaction.model.d.ts +0 -44
  188. package/lib/models/component-loading-states.d.ts +0 -5
  189. package/lib/models/credit-limit-status-enquiry-report/credit-limit-status-enquiry.model.d.ts +0 -26
  190. package/lib/models/statement-of-account-report/statement-of-accounts.model.d.ts +0 -18
  191. package/lib/models/transaction-enquiry-report/transaction-enquiry.model.d.ts +0 -113
  192. package/lib/models/transaction-monitoring-report/transaction-monitoring-report-request-domain-model.d.ts +0 -13
  193. package/lib/models/transaction-monitoring-report/transaction-monitoring-report.d.ts +0 -23
  194. package/lib/models/trial-balance-accounts-report/trial-balance-accounts.models.d.ts +0 -38
  195. package/lib/reports-lib-routing.module.d.ts +0 -7
  196. package/lib/reports-lib.component.d.ts +0 -8
  197. package/lib/reports-lib.module.d.ts +0 -33
  198. package/lib/reports-lib.service.d.ts +0 -6
  199. package/lib/services/config.service.d.ts +0 -20
  200. package/lib/services/report.service.d.ts +0 -80
  201. package/lib/shared/export-generic.service.d.ts +0 -50
  202. package/lib/shared/export.service.d.ts +0 -32
  203. package/lib/shared/loader/loader.component.d.ts +0 -5
  204. package/lib/shared/metadata/metadata.component.d.ts +0 -24
  205. package/lib/shared/page-size-selector/page-size-selector.component.d.ts +0 -15
  206. package/lib/shared/search-filter/search-filter.component.d.ts +0 -127
  207. package/lib/shared/shared.module.d.ts +0 -11
  208. /package/{lib → src}/assets/images/Search.svg +0 -0
  209. /package/{lib/assets/images/XMLogo.png → src/assets/images/XMCoral.png} +0 -0
  210. /package/{lib → src/lib}/assets/config/app-config.json +0 -0
  211. /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,7 @@
1
+ import { AccountingReportSubGroup } from "./accounting-report-sub-group";
2
+
3
+ export interface AccountingReportBranchGroup {
4
+ branchNameAndCode: string;
5
+ sendTransactions: AccountingReportSubGroup;
6
+ receiveTransactions: AccountingReportSubGroup;
7
+ }
@@ -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
+ }
@@ -0,0 +1,7 @@
1
+ import { AccountingReportBranchGroup } from "./accounting-report-branch-group";
2
+
3
+ export interface AccountingReportModel {
4
+ reportUser: string;
5
+ reportTime: string;
6
+ accountingReportByBranchGroups: AccountingReportBranchGroup[];
7
+ }
@@ -1,5 +1,6 @@
1
1
  import { AccountingReportEntryModel } from "./accounting-report-entry-model";
2
+
2
3
  export interface AccountingReportSubGroup {
3
- subGroupName: string;
4
- entries: AccountingReportEntryModel[];
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?: string;
47
- cashPayout?: string;
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
+ }
@@ -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
+
@@ -0,0 +1,5 @@
1
+ export enum ComponentLoadingStates {
2
+ Error = -1,
3
+ Loading = 0,
4
+ Complete = 1,
5
+ }
@@ -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
+
@@ -30,4 +30,4 @@ export interface RevenuePerTransactionResponseModel {
30
30
  revenuePerTransaction?: number | null;
31
31
  totalSettleAmount?: number | null;
32
32
  transactionStatus?: string | null;
33
- }
33
+ }
@@ -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
+ }