| {{"labels.inputs.Id" | translate}} |
{{ transaction.id }}
diff --git a/src/app/loans/loans-view/transactions-tab/transactions-tab.component.ts b/src/app/loans/loans-view/transactions-tab/transactions-tab.component.ts
index 4af57be3b..c1ba48fae 100644
--- a/src/app/loans/loans-view/transactions-tab/transactions-tab.component.ts
+++ b/src/app/loans/loans-view/transactions-tab/transactions-tab.component.ts
@@ -27,7 +27,7 @@ export class TransactionsTabComponent implements OnInit {
/** Stores the status of the loan account */
status: string;
/** Columns to be displayed in original schedule table. */
- displayedColumns: string[] = ['id', 'office', 'externalId', 'date', 'transactionType', 'amount', 'principal', 'interest', 'fee', 'penalties', 'loanBalance', 'actions'];
+ displayedColumns: string[] = ['row', 'id', 'office', 'externalId', 'date', 'transactionType', 'amount', 'principal', 'interest', 'fee', 'penalties', 'loanBalance', 'actions'];
dataSource: MatTableDataSource;
@ViewChild(MatPaginator, { static: true }) paginator: MatPaginator;
diff --git a/src/app/savings/models/savings-account-transaction.model.ts b/src/app/savings/models/savings-account-transaction.model.ts
new file mode 100644
index 000000000..33f6d883a
--- /dev/null
+++ b/src/app/savings/models/savings-account-transaction.model.ts
@@ -0,0 +1,57 @@
+import { Currency } from 'app/shared/models/general.model';
+
+export interface SavingsAccountTransaction {
+ id: number;
+ transactionType: SavingsAccountTransactionType;
+ entryType: string;
+ accountId: number;
+ accountNo: string;
+ date: number[];
+ currency: Currency;
+ amount: number;
+ runningBalance: number;
+ reversed: boolean;
+ transfer: Transfer;
+ submittedOnDate: number[];
+ interestedPostedAsOn: boolean;
+ submittedByUsername: string;
+ isManualTransaction: boolean;
+ isReversal: boolean;
+ originalTransactionId: number;
+ lienTransaction: boolean;
+ releaseTransactionId: number;
+ chargesPaidByData: any[];
+}
+
+
+export interface SavingsAccountTransactionType {
+ id: number;
+ code: string;
+ value: string;
+ deposit: boolean;
+ dividendPayout: boolean;
+ withdrawal: boolean;
+ interestPosting: boolean;
+ feeDeduction: boolean;
+ initiateTransfer: boolean;
+ approveTransfer: boolean;
+ withdrawTransfer: boolean;
+ rejectTransfer: boolean;
+ overdraftInterest: boolean;
+ writtenoff: boolean;
+ overdraftFee: boolean;
+ withholdTax: boolean;
+ escheat: boolean;
+ amountHold: boolean;
+ amountRelease: boolean;
+ accrual: boolean;
+}
+
+export interface Transfer {
+ id: number;
+ reversed: boolean;
+ currency: Currency;
+ transferAmount: number;
+ transferDate: number[];
+ transferDescription: string;
+}
diff --git a/src/app/savings/savings-account-view/transactions-tab/transactions-tab.component.html b/src/app/savings/savings-account-view/transactions-tab/transactions-tab.component.html
index 5c78c8fae..50b33cf43 100644
--- a/src/app/savings/savings-account-view/transactions-tab/transactions-tab.component.html
+++ b/src/app/savings/savings-account-view/transactions-tab/transactions-tab.component.html
@@ -7,6 +7,8 @@
All Transactions
|