Génère le pdf lors de la validation de la commande
This commit is contained in:
parent
0a0b39dbc6
commit
736fae90c0
@ -220,6 +220,7 @@ if ($_POST['action'] == 'confirm_valid' && $_POST['confirm'] == 'yes' && $user->
|
|||||||
$result = $commande->valid($user);
|
$result = $commande->valid($user);
|
||||||
if ($result >= 0)
|
if ($result >= 0)
|
||||||
{
|
{
|
||||||
|
commande_supplier_pdf_create($db, $commande->id, $commande->modelpdf, $outputlangs);
|
||||||
Header("Location: fiche.php?id=".$_GET["id"]);
|
Header("Location: fiche.php?id=".$_GET["id"]);
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user