Update card.php
This commit is contained in:
parent
39507e9a41
commit
6dcee425a1
@ -305,9 +305,9 @@ if (empty($reshook))
|
|||||||
|
|
||||||
$object->generateDocument($model, $outputlangs, $hidedetails, $hidedesc, $hideref);
|
$object->generateDocument($model, $outputlangs, $hidedetails, $hidedesc, $hideref);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
setEventMessages($object->error, $object->errors, 'errors');
|
||||||
}
|
}
|
||||||
elseif ($result < 0)
|
|
||||||
dol_print_error($db, $object->error);
|
|
||||||
} elseif ($action == 'setdate_livraison' && $usercancreate)
|
} elseif ($action == 'setdate_livraison' && $usercancreate)
|
||||||
{
|
{
|
||||||
$result = $object->setDeliveryDate($user, dol_mktime(12, 0, 0, $_POST['date_livraisonmonth'], $_POST['date_livraisonday'], $_POST['date_livraisonyear']));
|
$result = $object->setDeliveryDate($user, dol_mktime(12, 0, 0, $_POST['date_livraisonmonth'], $_POST['date_livraisonday'], $_POST['date_livraisonyear']));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user