From 94c376bf3725f116bb164bab88072ace51147b12 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 16 Oct 2013 17:55:15 +0200 Subject: [PATCH] Fix: Edit payment date --- htdocs/fourn/paiement/fiche.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/fourn/paiement/fiche.php b/htdocs/fourn/paiement/fiche.php index 5ed2c009011..de7bd129305 100644 --- a/htdocs/fourn/paiement/fiche.php +++ b/htdocs/fourn/paiement/fiche.php @@ -115,7 +115,7 @@ if ($action == 'setnum' && ! empty($_POST['num_paiement'])) } } -if ($action == 'setdate' && ! empty($_POST['datepday'])) +if ($action == 'setdatep' && ! empty($_POST['datepday'])) { $object->fetch($id); $datepaye = dol_mktime(12, 0, 0, $_POST['datepmonth'], $_POST['datepday'], $_POST['datepyear']); @@ -162,7 +162,7 @@ if ($result > 0) if ($action == 'delete') { print $form->formconfirm($_SERVER['PHP_SELF'].'?id='.$object->id, $langs->trans("DeletePayment"), $langs->trans("ConfirmDeletePayment"), 'confirm_delete'); - + } /* @@ -171,7 +171,7 @@ if ($result > 0) if ($action == 'valide') { print $form->formconfirm($_SERVER['PHP_SELF'].'?id='.$object->id, $langs->trans("ValidatePayment"), $langs->trans("ConfirmValidatePayment"), 'confirm_valide'); - + } print '';