diff --git a/htdocs/reception/card.php b/htdocs/reception/card.php
index f1d32b3ed6e..1dbac0117fa 100644
--- a/htdocs/reception/card.php
+++ b/htdocs/reception/card.php
@@ -816,7 +816,7 @@ if ($action == 'create')
print '
';
//print dol_print_date($object->date_livraison,"day"); // date_livraison come from order and will be stored into date_delivery planed.
$date_delivery = ($date_delivery?$date_delivery:$object->date_livraison); // $date_delivery comes from GETPOST
- print $form->select_date($date_delivery?$date_delivery:-1, 'date_delivery', 1, 1, 1);
+ print $form->selectDate($date_delivery?$date_delivery:-1, 'date_delivery', 1, 1, 1);
print " \n";
print '';
@@ -1164,10 +1164,10 @@ if ($action == 'create')
{
print ' ';
print '';
- print $form->select_date($dispatchLines[$indiceAsked]['DLC'], 'dlc' . $indiceAsked, '', '', 1, "");
+ print $form->selectDate($dispatchLines[$indiceAsked]['DLC'], 'dlc' . $indiceAsked, '', '', 1, "");
print ' ';
print '';
- print $form->select_date($dispatchLines[$indiceAsked]['DLUO'], 'dluo' . $indiceAsked, '', '', 1, "");
+ print $form->selectDate($dispatchLines[$indiceAsked]['DLUO'], 'dluo' . $indiceAsked, '', '', 1, "");
print ' ';
}
else {
@@ -1425,7 +1425,7 @@ elseif ($id || $ref)
print '';
}
@@ -1888,9 +1888,9 @@ elseif ($id || $ref)
{
print ' ';
print $langs->trans('EatByDate').' : ';
- print $form->select_date($lines[$i]->eatby, 'dlc' .$line_id, '', '', 1, ""). '';
+ print $form->selectDate($lines[$i]->eatby, 'dlc' .$line_id, '', '', 1, ""). '';
print $langs->trans('SellByDate').' : ';
- print $form->select_date($lines[$i]->sellby, 'dluo' .$line_id, '', '', 1, "");
+ print $form->selectDate($lines[$i]->sellby, 'dluo' .$line_id, '', '', 1, "");
print ' ';
}
print '';