diff --git a/htdocs/public/payment/newpayment.php b/htdocs/public/payment/newpayment.php index 5007b325c11..d6613cb86de 100644 --- a/htdocs/public/payment/newpayment.php +++ b/htdocs/public/payment/newpayment.php @@ -132,6 +132,7 @@ if ($source == 'conferencesubscription') { if ($resultinvoice <= 0) { setEventMessages(null, $invoice->errors, "errors"); } else { + $amount = price2num($invoice->total_ttc); // Finding the associated thirdparty $thirdparty = new Societe($db); $resultthirdparty = $thirdparty->fetch($invoice->socid); @@ -1814,7 +1815,7 @@ if ($source == 'conferencesubscription') { // Amount print '