diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php
index 64bdb9d201d..7cace84fb59 100644
--- a/htdocs/comm/propal.php
+++ b/htdocs/comm/propal.php
@@ -165,6 +165,9 @@ if ($_REQUEST['action'] == 'confirm_deleteline' && $_REQUEST['confirm'] == 'yes'
$outputlangs->setDefaultLang($newlang);
}
propale_pdf_create($db, $propal->id, $propal->modelpdf, $outputlangs);
+
+ Header ('Location: '.$_SERVER["PHP_SELF"].'?id='.$propal->id);
+ exit;
}
else
{
@@ -1007,6 +1010,15 @@ if ($id > 0 || ! empty($ref))
$ret=$html->form_confirm($_SERVER["PHP_SELF"].'?id='.$propal->id.'&lineid='.$_GET["lineid"], $langs->trans('DeleteProductLine'), $langs->trans('ConfirmDeleteProductLine'), 'confirm_deleteline','',0,1);
if ($ret == 'html') print '
';
}
+
+ /*
+ * Confirmation de la suppression d'une ligne produit/service
+ */
+ if ($_GET['action'] == 'ask_deletemilestone')
+ {
+ $ret=$html->form_confirm($_SERVER["PHP_SELF"].'?id='.$propal->id.'&lineid='.$_GET["lineid"], $langs->trans('DeleteMilestone'), $langs->trans('ConfirmDeleteMilestone'), 'confirm_deletemilestone','',0,1);
+ if ($ret == 'html') print '
';
+ }
/*
* Confirmation de la validation de la propale