Update card.php
This commit is contained in:
parent
d1f5cb9184
commit
31393802ff
@ -1701,7 +1701,7 @@ if ($action == 'create') {
|
|||||||
// Delivery date (or manufacturing)
|
// Delivery date (or manufacturing)
|
||||||
print '<tr><td>'.$langs->trans("DeliveryDate").'</td>';
|
print '<tr><td>'.$langs->trans("DeliveryDate").'</td>';
|
||||||
print '<td>';
|
print '<td>';
|
||||||
if (!empty($conf->global->DATE_LIVRAISON_WEEK_DELAY)) {
|
if (isset($conf->global->DATE_LIVRAISON_WEEK_DELAY) && is_numeric($conf->global->DATE_LIVRAISON_WEEK_DELAY)) {
|
||||||
$tmpdte = time() + ((7 * $conf->global->DATE_LIVRAISON_WEEK_DELAY) * 24 * 60 * 60);
|
$tmpdte = time() + ((7 * $conf->global->DATE_LIVRAISON_WEEK_DELAY) * 24 * 60 * 60);
|
||||||
$syear = date("Y", $tmpdte);
|
$syear = date("Y", $tmpdte);
|
||||||
$smonth = date("m", $tmpdte);
|
$smonth = date("m", $tmpdte);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user