Recurring Deposit products with i18n
This commit is contained in:
committed by
Jose Alberto Hernandez
parent
64758cb847
commit
6ef471d7c0
@@ -8,6 +8,7 @@ import { DeleteDialogComponent } from '../../../shared/delete-dialog/delete-dial
|
||||
|
||||
/** Custom Services */
|
||||
import { AccountingService } from '../../accounting.service';
|
||||
import { Location } from '@angular/common';
|
||||
|
||||
/**
|
||||
* View gl account component.
|
||||
@@ -32,7 +33,8 @@ export class ViewGlAccountComponent implements OnInit {
|
||||
constructor(private accountingService: AccountingService,
|
||||
private route: ActivatedRoute,
|
||||
private router: Router,
|
||||
public dialog: MatDialog) {
|
||||
private dialog: MatDialog,
|
||||
private location: Location) {
|
||||
this.route.data.subscribe((data: { glAccountAndChartOfAccountsTemplate: any }) => {
|
||||
this.glAccount = data.glAccountAndChartOfAccountsTemplate;
|
||||
});
|
||||
@@ -68,4 +70,8 @@ export class ViewGlAccountComponent implements OnInit {
|
||||
});
|
||||
}
|
||||
|
||||
goBack(): void {
|
||||
this.location.back();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user