@@ -1,6 +1,8 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit, Input, ViewChild } from '@angular/core';
|
||||
import { MatTableDataSource, MatPaginator, MatSort } from '@angular/material';
|
||||
import { MatPaginator } from '@angular/material/paginator';
|
||||
import { MatSort } from '@angular/material/sort';
|
||||
import { MatTableDataSource } from '@angular/material/table';
|
||||
|
||||
/** Custom Pipes */
|
||||
import { AccountsFilterPipe } from '../../pipes/accounts-filter.pipe';
|
||||
@@ -22,9 +24,9 @@ export class LoanAccountTableComponent implements OnInit {
|
||||
accountData: any;
|
||||
|
||||
/** Paginator for loan accounts table. */
|
||||
@ViewChild(MatPaginator) paginator: MatPaginator;
|
||||
@ViewChild(MatPaginator, { static: true }) paginator: MatPaginator;
|
||||
/** Sorter for loan accounts table. */
|
||||
@ViewChild(MatSort) sort: MatSort;
|
||||
@ViewChild(MatSort, { static: true }) sort: MatSort;
|
||||
|
||||
/** Loan Account Setter */
|
||||
@Input() set loanAccountData(data: any) {
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit, Input, ViewChild } from '@angular/core';
|
||||
import { MatTableDataSource, MatPaginator, MatSort } from '@angular/material';
|
||||
import { MatPaginator } from '@angular/material/paginator';
|
||||
import { MatSort } from '@angular/material/sort';
|
||||
import { MatTableDataSource } from '@angular/material/table';
|
||||
|
||||
@Component({
|
||||
selector: 'mifosx-member-groups',
|
||||
@@ -15,9 +17,9 @@ export class MemberGroupsComponent implements OnInit {
|
||||
dataSource: MatTableDataSource<any>;
|
||||
|
||||
/** Paginator for member groups table. */
|
||||
@ViewChild(MatPaginator) paginator: MatPaginator;
|
||||
@ViewChild(MatPaginator, { static: true }) paginator: MatPaginator;
|
||||
/** Sorter for member groups table. */
|
||||
@ViewChild(MatSort) sort: MatSort;
|
||||
@ViewChild(MatSort, { static: true }) sort: MatSort;
|
||||
|
||||
/** Member Group Data Setter */
|
||||
@Input() set memberGroupData(data: any) {
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit, Input, ViewChild } from '@angular/core';
|
||||
import { MatTableDataSource, MatPaginator, MatSort } from '@angular/material';
|
||||
import { MatPaginator } from '@angular/material/paginator';
|
||||
import { MatSort } from '@angular/material/sort';
|
||||
import { MatTableDataSource } from '@angular/material/table';
|
||||
|
||||
/** Custom Pipes */
|
||||
import { AccountsFilterPipe } from '../../pipes/accounts-filter.pipe';
|
||||
@@ -22,9 +24,9 @@ export class SavingsAccountTableComponent implements OnInit {
|
||||
accountData: any;
|
||||
|
||||
/** Paginator for savings account table. */
|
||||
@ViewChild(MatPaginator) paginator: MatPaginator;
|
||||
@ViewChild(MatPaginator, { static: true }) paginator: MatPaginator;
|
||||
/** Sorter for savings account table. */
|
||||
@ViewChild(MatSort) sort: MatSort;
|
||||
@ViewChild(MatSort, { static: true }) sort: MatSort;
|
||||
|
||||
/** Savings Account Setter */
|
||||
@Input() set savingsAccountData(data: any) {
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit, Input, ViewChild } from '@angular/core';
|
||||
import { MatTableDataSource, MatPaginator, MatSort } from '@angular/material';
|
||||
import { MatPaginator } from '@angular/material/paginator';
|
||||
import { MatSort } from '@angular/material/sort';
|
||||
import { MatTableDataSource } from '@angular/material/table';
|
||||
|
||||
/** Custom Pipes */
|
||||
import { AccountsFilterPipe } from '../../pipes/accounts-filter.pipe';
|
||||
@@ -22,9 +24,9 @@ export class ShareAccountTableComponent implements OnInit {
|
||||
accountData: any;
|
||||
|
||||
/** Paginator for share account table. */
|
||||
@ViewChild(MatPaginator) paginator: MatPaginator;
|
||||
@ViewChild(MatPaginator, { static: true }) paginator: MatPaginator;
|
||||
/** Sorter for share account table. */
|
||||
@ViewChild(MatSort) sort: MatSort;
|
||||
@ViewChild(MatSort, { static: true }) sort: MatSort;
|
||||
|
||||
/** Share Account Setter */
|
||||
@Input() set shareAccountData(data: any) {
|
||||
|
||||
Reference in New Issue
Block a user