Skip to content
Snippets Groups Projects
Commit 385c4f8b authored by Rodolphe Quiedeville's avatar Rodolphe Quiedeville
Browse files

Correction du problème lors du classement de la propale comme facturée

parent 2c818e6f
No related branches found
No related tags found
No related merge requests found
......@@ -51,19 +51,21 @@ if ($user->societe_id > 0)
$socidp = $user->societe_id;
}
llxHeader();
if ($action == 'setstatut')
if ($_GET["action"] == 'setstatut')
{
/*
* Classe la facture comme facture
*/
$propal = new Propal($db);
$propal->id = $propalid;
$propal->cloture($user->id, $statut, $note);
$propal->id = $_GET["propalid"];
$propal->cloture($user, $_GET["statut"], $note);
}
llxHeader();
if ( $action == 'delete' )
{
$sql = "DELETE FROM ".MAIN_DB_PREFIX."propal WHERE rowid = $propalid;";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment