-1
@@ -14,7 +14,6 @@ export class InactivateChargeDialogComponent {
|
||||
|
||||
/**
|
||||
* @param {MatDialogRef} dialogRef Component reference to dialog.
|
||||
* @param {any} data.
|
||||
*/
|
||||
constructor(public dialogRef: MatDialogRef<InactivateChargeDialogComponent>,
|
||||
@Inject(MAT_DIALOG_DATA) public data: any) { }
|
||||
|
||||
+3
-3
@@ -103,7 +103,7 @@ export class FixedDepositAccountViewComponent implements OnInit {
|
||||
this.router.navigate([`actions/${name}`], { relativeTo: this.route });
|
||||
break;
|
||||
case 'Modify Application':
|
||||
this.router.navigate(['edit-fixed-deposit-account'], { relativeTo: this.route });
|
||||
this.router.navigate(['edit'], { relativeTo: this.route });
|
||||
break;
|
||||
case 'Delete':
|
||||
this.deleteFixedDepositsAccount();
|
||||
@@ -140,7 +140,7 @@ export class FixedDepositAccountViewComponent implements OnInit {
|
||||
}
|
||||
|
||||
/**
|
||||
* Calculates savings account's interest
|
||||
* Calculates fixed deposit account's interest
|
||||
*/
|
||||
private calculateInterest() {
|
||||
const calculateInterestAccountDialogRef = this.dialog.open(CalculateInterestDialogComponent);
|
||||
@@ -154,7 +154,7 @@ export class FixedDepositAccountViewComponent implements OnInit {
|
||||
}
|
||||
|
||||
/**
|
||||
* Posts savings account's interest
|
||||
* Posts fixed deposit account's interest
|
||||
*/
|
||||
private postInterest() {
|
||||
const postInterestAccountDialogRef = this.dialog.open(PostInterestDialogComponent);
|
||||
|
||||
+7
@@ -43,6 +43,9 @@ export class StandingInstructionsTabComponent implements OnInit {
|
||||
/**
|
||||
* Retrieves Fixed Deposits Account Data from `resolve`.
|
||||
* @param {ActivatedRoute} route Activated Route.
|
||||
* @param {FixedDepositsService} fixedDepositsService FixedDepositsService
|
||||
* @param {MatDialog} dialog Mat Dialog
|
||||
* @param {AccountTransfersService} accountTransfersService Accounts Transfer Service
|
||||
*/
|
||||
constructor(private route: ActivatedRoute,
|
||||
private fixedDepositsService: FixedDepositsService,
|
||||
@@ -73,6 +76,10 @@ export class StandingInstructionsTabComponent implements OnInit {
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Deletes a standing instruction
|
||||
* @param {any} instructionId Instruction Id
|
||||
*/
|
||||
deleteStandingInstruction(instructionId: any) {
|
||||
const deleteStandingInstructionDialogRef = this.dialog.open(DeleteDialogComponent, {
|
||||
data: { deleteContext: `standing instruction id: ${instructionId}` }
|
||||
|
||||
+2
-1
@@ -25,6 +25,7 @@ export class TransactionsTabComponent implements OnInit {
|
||||
/**
|
||||
* Retrieves fixed deposits account data from `resolve`.
|
||||
* @param {ActivatedRoute} route Activated Route.
|
||||
* @param {Router} router Router
|
||||
*/
|
||||
constructor(private route: ActivatedRoute,
|
||||
private router: Router) {
|
||||
@@ -49,7 +50,7 @@ export class TransactionsTabComponent implements OnInit {
|
||||
|
||||
/**
|
||||
* Show Transactions Details
|
||||
* @param transactionsData Transactions Data
|
||||
* @param {any} transactionsData Transactions Data
|
||||
*/
|
||||
showTransactions(transactionsData: any) {
|
||||
if (transactionsData.transfer) {
|
||||
|
||||
-1
@@ -5,7 +5,6 @@ import { MatDialog } from '@angular/material';
|
||||
|
||||
/**
|
||||
* View Transaction Component.
|
||||
* TODO: Add support for account transfers.
|
||||
*/
|
||||
@Component({
|
||||
selector: 'mifosx-view-transaction',
|
||||
|
||||
Reference in New Issue
Block a user