diff --git a/htdocs/compta/ajaxpayment.php b/htdocs/compta/ajaxpayment.php index cc7174a2c54..f1471c63243 100644 --- a/htdocs/compta/ajaxpayment.php +++ b/htdocs/compta/ajaxpayment.php @@ -24,7 +24,7 @@ require('../main.inc.php'); -print_r($_POST); +//print_r($_POST); // Getting the posted keys=>values, sanitize the ones who are from text inputs // from text inputs : total amount diff --git a/htdocs/compta/paiement.php b/htdocs/compta/paiement.php index 9c37d7b3b22..ec6ad090caa 100644 --- a/htdocs/compta/paiement.php +++ b/htdocs/compta/paiement.php @@ -24,7 +24,7 @@ * \file htdocs/compta/paiement.php * \ingroup compta * \brief Page to create a payment - * \version $Id: paiement.php,v 1.107 2011/07/01 15:19:32 cdelambert Exp $ + * \version $Id: paiement.php,v 1.108 2011/07/01 16:18:10 hregis Exp $ */ require('../main.inc.php'); @@ -272,6 +272,14 @@ if ($action == 'create' || $action == 'confirm_paiement' || $action == 'add_paie jQuery(\'.fieldrequireddyn\').removeClass(\'fieldrequired\'); } }); + }); + '."\n"; + } + + if (! empty($conf->global->MAIN_JS_ON_PAYMENT)) + { + print "\n".''."\n"; + }); + '."\n"; } print '