modif mineure
This commit is contained in:
parent
c49dc7978f
commit
c10fa65e15
@ -31,9 +31,6 @@ llxHeader();
|
|||||||
|
|
||||||
$db = new Db();
|
$db = new Db();
|
||||||
|
|
||||||
$yn[1] = "oui";
|
|
||||||
$yn[0] = "<b>non</b>";
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sécurité accés client
|
* Sécurité accés client
|
||||||
*/
|
*/
|
||||||
@ -77,6 +74,7 @@ if ($action == 'add_paiement')
|
|||||||
if ($action == 'valid')
|
if ($action == 'valid')
|
||||||
{
|
{
|
||||||
$fac = new Facture($db);
|
$fac = new Facture($db);
|
||||||
|
$fac->fetch($facid);
|
||||||
$result = $fac->set_valid($facid, $user->id);
|
$result = $fac->set_valid($facid, $user->id);
|
||||||
if ($result)
|
if ($result)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -107,4 +107,3 @@ class Notify
|
|||||||
|
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user