Merge pull request #3117 from All-3kcis/patch-2

Correct display of hours and minutes after action "Order"
This commit is contained in:
Laurent Destailleur 2015-07-04 04:14:12 +02:00
commit 7ad4d9056d

View File

@ -1754,7 +1754,7 @@ elseif (! empty($object->id))
*/
if ($action == 'commande')
{
$date_com = dol_mktime(0,0,0,$_POST["remonth"],$_POST["reday"],$_POST["reyear"]);
$date_com = dol_mktime(GETPOST('rehour'),GETPOST('remin'),GETPOST('resec'),GETPOST("remonth"),GETPOST("reday"),GETPOST("reyear"));
$formconfirm = $form->formconfirm($_SERVER['PHP_SELF']."?id=".$object->id."&datecommande=".$date_com."&methode=".$_POST["methodecommande"]."&comment=".urlencode($_POST["comment"]), $langs->trans("MakeOrder"),$langs->trans("ConfirmMakeOrder",dol_print_date($date_com,'day')),"confirm_commande",'',0,2);
}