diff --git a/htdocs/compta/paiement.php b/htdocs/compta/paiement.php
index ec6ad090caa..997745b1754 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.108 2011/07/01 16:18:10 hregis Exp $
+ * \version $Id: paiement.php,v 1.109 2011/07/04 16:39:48 cdelambert Exp $
*/
require('../main.inc.php');
@@ -521,19 +521,15 @@ if ($action == 'create' || $action == 'confirm_paiement' || $action == 'add_paie
{
if (! empty($conf->global->MAIN_JS_ON_PAYMENT))
{
- print img_picto($langs->trans('AddRemind'),'rightarrow.png','id="calcRemind'.$i.'" onclick="calcRemind(\''.$i.'\');return false;"');
- print '';
+ print img_picto($langs->trans('AddRemind'),'rightarrow.png','id="'.$objp->facid.'" "');
}
- print '';
+ print '';
+ print '';
}
else
{
print '';
- print '';
+ print '';
}
print "";
@@ -682,5 +678,5 @@ if (! GETPOST('action'))
$db->close();
-llxFooter('$Date: 2011/07/01 16:18:10 $ - $Revision: 1.108 $');
+llxFooter('$Date: 2011/07/04 16:39:48 $ - $Revision: 1.109 $');
?>