Correct datatype of invoice amount

This commit is contained in:
Rene Vergara 2023-06-21 15:42:34 -05:00
parent 9a501e9665
commit 2cd9ded783
Signed by: pitmutt
GPG Key ID: 65122AD495A7F5B2
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ export class PmtserviceComponent implements OnInit {
this.activatedRoute.queryParams.subscribe((params) => {
this.pmtData.ownerId = params["owner"];
this.pmtData.invoice = params["invoiceNo"];
this.pmtData.amount = params["amount"];
this.pmtData.amount = +params["amount"];
this.pmtData.currency = params["currency"];
this.pmtData.shortcode = params["shortCode"];
this.getInvoiceData( this.pmtData );