Fix: la date de livraison n'tait plus rcupre
This commit is contained in:
parent
fde7b7f399
commit
fccad4967c
@ -112,7 +112,7 @@ if ($_POST['action'] == 'setdate_livraison')
|
||||
{
|
||||
$propal = new Propal($db);
|
||||
$propal->fetch($_GET['propalid']);
|
||||
$result=$propal->set_date_livraison($user,mktime(0, 0, 0, $_POST['liv_month'], $_POST['liv_day'], $_POST['liv_year']);
|
||||
$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,mktime(0, 0, 0, $_POST['liv_month'], $_POST['liv_day'], $_POST['liv_year']);
|
||||
$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