diff --git a/htdocs/compta/paiement.php b/htdocs/compta/paiement.php index da6e8c872f2..8e499077251 100644 --- a/htdocs/compta/paiement.php +++ b/htdocs/compta/paiement.php @@ -130,6 +130,11 @@ if ($_POST['action'] == 'add_paiement') */ if ($_POST['action'] == 'confirm_paiement' && $_POST['confirm'] == 'yes') { + $datepaye = dolibarr_mktime(12, 0 , 0, + $_POST['remonth'], + $_POST['reday'], + $_POST['reyear']); + if (! $error) { $db->begin(); @@ -273,8 +278,10 @@ if ($_GET['action'] == 'create' || $_POST['action'] == 'confirm_paiement' || $_P print '