Fix to pay client charge with 404
This commit is contained in:
committed by
Arnold Gálovics
parent
46ddf33a0c
commit
3c6f95ec9d
+1
-1
@@ -27,7 +27,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div fxLayout="row" fxLayoutAlign="center" fxLayoutGap="5px">
|
<div fxLayout="row" fxLayoutAlign="center" fxLayoutGap="5px">
|
||||||
<button type="button" mat-raised-button [routerLink]="['../','general']">Cancel</button>
|
<button type="button" mat-raised-button [routerLink]="['../../..','general']">Cancel</button>
|
||||||
<button mat-raised-button color="primary" [disabled]="!transactionForm.valid">Submit</button>
|
<button mat-raised-button color="primary" [disabled]="!transactionForm.valid">Submit</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -77,7 +77,7 @@ export class ClientPayChargesComponent implements OnInit {
|
|||||||
locale
|
locale
|
||||||
};
|
};
|
||||||
this.clientsService.payClientCharge(this.transactionData.clientId, this.transactionData.id, data).subscribe(() => {
|
this.clientsService.payClientCharge(this.transactionData.clientId, this.transactionData.id, data).subscribe(() => {
|
||||||
this.router.navigate(['../', 'general']);
|
this.router.navigate(['../../..','general'], { relativeTo: this.route });
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user