Début ajout bon de livraison
This commit is contained in:
parent
e63fb78cd0
commit
e54a2eb21a
@ -122,7 +122,14 @@ if ($_POST["action"] == 'confirm_delete' && $_POST["confirm"] == 'yes')
|
|||||||
$livraison = new Livraison($db);
|
$livraison = new Livraison($db);
|
||||||
$livraison->id = $_GET["id"];
|
$livraison->id = $_GET["id"];
|
||||||
$livraison->delete();
|
$livraison->delete();
|
||||||
Header("Location: liste.php");
|
if ($conf->expedition->enabled)
|
||||||
|
{
|
||||||
|
Header("Location: ".DOL_URL_ROOT.'/expedition/fiche.php?id='.$expedition->id);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Header("Location: liste.php");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user