*** empty log message ***
This commit is contained in:
parent
43af0a0d4e
commit
fde7b7f399
@ -112,7 +112,7 @@ if ($_POST['action'] == 'setdate_livraison')
|
||||
{
|
||||
$propal = new Propal($db);
|
||||
$propal->fetch($_GET['propalid']);
|
||||
$result=$propal->set_date_livraison($user,$_POST['liv_year']."-".$_POST['liv_month']."-".$_POST['liv_day']);
|
||||
$result=$propal->set_date_livraison($user,mktime(0, 0, 0, $_POST['liv_month'], $_POST['liv_day'], $_POST['liv_year']);
|
||||
if ($result < 0) dolibarr_print_error($db,$propal->error);
|
||||
}
|
||||
|
||||
|
||||
@ -145,7 +145,7 @@ if ($_POST['action'] == 'setdate_livraison' && $user->rights->commande->creer)
|
||||
{
|
||||
$commande = new Commande($db);
|
||||
$commande->fetch($_GET['id']);
|
||||
$commande->set_date_livraison($user,$_POST['liv_year']."-".$_POST['liv_month']."-".$_POST['liv_day']);
|
||||
$commande->set_date_livraison($user,mktime(0, 0, 0, $_POST['liv_month'], $_POST['liv_day'], $_POST['liv_year']);
|
||||
}
|
||||
|
||||
if ($_POST['action'] == 'setdeliveryadress' && $user->rights->commande->creer)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user