refactor: loans module (#1237)
This commit is contained in:
+2
-2
@@ -44,8 +44,8 @@ export class ExportTransactionsComponent implements OnInit {
|
||||
private formBuilder: FormBuilder,
|
||||
private datePipe: DatePipe,
|
||||
private route: ActivatedRoute) {
|
||||
this.route.parent.data.subscribe((data: { loanDetailsAssociationData: any }) => {
|
||||
this.loansAccountId = data.loanDetailsAssociationData.accountNo;
|
||||
this.route.parent.parent.data.subscribe((data: { loanDetailsData: any }) => {
|
||||
this.loansAccountId = data.loanDetailsData.accountNo;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<mat-card class="container">
|
||||
|
||||
<div class="back-button">
|
||||
<button type="button" color="primary" mat-raised-button [routerLink]="['../../']">
|
||||
<button type="button" color="primary" mat-raised-button [routerLink]="['../../../general']">
|
||||
<fa-icon icon="arrow-left"></fa-icon> Back</button>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
.container {
|
||||
max-width: 37rem;
|
||||
padding-bottom: 2%;
|
||||
.content {
|
||||
div {
|
||||
margin: 1rem 0;
|
||||
|
||||
Reference in New Issue
Block a user