+1
-1
@@ -24,7 +24,7 @@
|
||||
</div>
|
||||
|
||||
<mat-card-actions fxLayout="row" fxLayout.xs="column" fxLayoutAlign="center" fxLayoutGap="5px">
|
||||
<button type="button" mat-raised-button [routerLink]="['../']">Cancel</button>
|
||||
<button type="button" mat-raised-button [routerLink]="['../../general']">Cancel</button>
|
||||
<button mat-raised-button color="primary" [disabled]="!rejectLoanForm.valid" *mifosxHasPermission="'REJECT_LOAN'" >Submit</button>
|
||||
</mat-card-actions>
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ export class RejectLoanComponent implements OnInit {
|
||||
rejectForm.locale = 'en';
|
||||
rejectForm.dateFormat = dateFormat;
|
||||
this.loanService.loanActionButtons(this.loanId, 'reject', rejectForm).subscribe((response: any) => {
|
||||
this.router.navigate(['../general'], { relativeTo: this.route });
|
||||
this.router.navigate(['../../general'], { relativeTo: this.route });
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user