diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index efa97cb02c9..29c0b1f4695 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -43,6 +43,15 @@ if ($user->societe_id > 0) $action = ''; $socidp = $user->societe_id; } +/* + * + */ +if ($HTTP_POST_VARS["action"] == 'classin') +{ + $facture = new Facture($db); + $facture->fetch($facid); + $facture->classin($HTTP_POST_VARS["projetid"]); +} /* * */ @@ -623,6 +632,10 @@ else $projet->fetch($fac->projetid); print ''.$projet->title.''; } + else + { + print 'Classer la facture'; + } print "