From 0cfc7af07a4015190e97a7c46d61f0abe168fd96 Mon Sep 17 00:00:00 2001 From: Muskan Khedia <36980003+muskankhedia@users.noreply.github.com> Date: Sat, 4 Jul 2020 10:48:40 +0530 Subject: [PATCH] feat: add recurring deposit account tab (charges) (#985) Fixes: #983 --- .../charges-tab/charges-tab.component.html | 101 ++++++++++++++++++ .../charges-tab/charges-tab.component.scss | 19 ++++ .../charges-tab/charges-tab.component.spec.ts | 25 +++++ .../charges-tab/charges-tab.component.ts | 81 ++++++++++++++ ...rring-deposits-account-view.component.html | 3 + .../recurring-deposits-routing.module.ts | 10 +- .../recurring-deposits.module.ts | 4 +- 7 files changed, 240 insertions(+), 3 deletions(-) create mode 100644 src/app/deposits/recurring-deposits/recurring-deposits-account-view/charges-tab/charges-tab.component.html create mode 100644 src/app/deposits/recurring-deposits/recurring-deposits-account-view/charges-tab/charges-tab.component.scss create mode 100644 src/app/deposits/recurring-deposits/recurring-deposits-account-view/charges-tab/charges-tab.component.spec.ts create mode 100644 src/app/deposits/recurring-deposits/recurring-deposits-account-view/charges-tab/charges-tab.component.ts diff --git a/src/app/deposits/recurring-deposits/recurring-deposits-account-view/charges-tab/charges-tab.component.html b/src/app/deposits/recurring-deposits/recurring-deposits-account-view/charges-tab/charges-tab.component.html new file mode 100644 index 000000000..dac44911c --- /dev/null +++ b/src/app/deposits/recurring-deposits/recurring-deposits-account-view/charges-tab/charges-tab.component.html @@ -0,0 +1,101 @@ +
| Name | +{{ charge.name }} | +Fee/Penalty | +{{ charge.penalty === true ? 'Penalty' : 'Fee' }} | +Payment Due At | +{{ charge.chargeTimeType.value }} | +Due As Of | +{{ charge.dueDate | date }} | +Repeats On (M/d) | +{{ charge.feeOnMonthDay ? charge.feeOnMonthDay.join('/') : '' }} | +Calculation Type | +{{charge.chargeCalculationType.value}} | +Due | +{{charge.currency.displaySymbol}} {{charge.amount}} | +Paid | +{{charge.currency.displaySymbol}} {{charge.amountPaid}} | +Waived | +{{charge.currency.displaySymbol}} {{charge.amountWaived}} | +Outstanding | +{{charge.currency.displaySymbol}} {{charge.amountOutstanding}} | +Actions | +
+
+
+
+
+
+
+
+ |
+
|---|