diff --git a/ChangeLog b/ChangeLog index 3bb088b99f3cc27aab7640f2cd85ed287326b8e2..9832c1c7bfc8ee95fb530926c134c6eb48f12df5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -113,6 +113,7 @@ Fix: [ bug #1306 ] Fatal error when adding an external calendar. New: Added es_CL language Fix: Margin tabs bad data show Fix: [ bug #1318 ] Problem with enter key when adding an existing product to a customer invoice. +Fix: [ bug #1388 ] Wrong date when invoicing several orders ***** ChangeLog for 3.5 compared to 3.4.* ***** For users: diff --git a/htdocs/commande/orderstoinvoice.php b/htdocs/commande/orderstoinvoice.php index aa2883ccb96a3959023c0f831bd1c937dee9a37c..7b79a16bec116fb287b0887e99f28c0feb4a078b 100644 --- a/htdocs/commande/orderstoinvoice.php +++ b/htdocs/commande/orderstoinvoice.php @@ -413,7 +413,7 @@ if ($action == 'create' && empty($mesgs)) // Date invoice print '<tr><td class="fieldrequired">'.$langs->trans('Date').'</td><td colspan="2">'; - $html->select_date(0,'','','','',"add",1,1); + $html->select_date('','','','','',"add",1,1); print '</td></tr>'; // Payment term print '<tr><td class="nowrap">'.$langs->trans('PaymentConditionsShort').'</td><td colspan="2">';