Fix date must be with standard format
This commit is contained in:
parent
399addebfb
commit
926e3fc6f9
@ -3135,10 +3135,10 @@ else if ($id > 0 || ! empty($ref))
|
||||
if ($action == 'editinvoicedate') {
|
||||
$form->form_date($_SERVER['PHP_SELF'] . '?facid=' . $object->id, $object->date, 'invoicedate');
|
||||
} else {
|
||||
print dol_print_date($object->date, 'daytext');
|
||||
print dol_print_date($object->date, 'day');
|
||||
}
|
||||
} else {
|
||||
print dol_print_date($object->date, 'daytext');
|
||||
print dol_print_date($object->date, 'day');
|
||||
}
|
||||
print '</td>';
|
||||
|
||||
@ -3476,7 +3476,7 @@ else if ($id > 0 || ! empty($ref))
|
||||
if ($action == 'editdate_pointoftax') {
|
||||
$form->form_date($_SERVER['PHP_SELF'] . '?facid=' . $object->id, $object->date_pointoftax, 'date_pointoftax');
|
||||
} else {
|
||||
print dol_print_date($object->date_pointoftax, 'daytext');
|
||||
print dol_print_date($object->date_pointoftax, 'day');
|
||||
}
|
||||
print '</td></tr>';
|
||||
}
|
||||
@ -3516,7 +3516,7 @@ else if ($id > 0 || ! empty($ref))
|
||||
if ($action == 'editpaymentterm') {
|
||||
$form->form_date($_SERVER['PHP_SELF'] . '?facid=' . $object->id, $object->date_lim_reglement, 'paymentterm');
|
||||
} else {
|
||||
print dol_print_date($object->date_lim_reglement, 'daytext');
|
||||
print dol_print_date($object->date_lim_reglement, 'day');
|
||||
if ($object->hasDelay()) {
|
||||
print img_warning($langs->trans('Late'));
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user