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

View file

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