Commit adcec66e authored by 0x010C's avatar 0x010C

Issue #22 : MàJ de la date lors du passage à effectué d'une opération

parent d9bc2083
...@@ -253,12 +253,12 @@ class operation extends stdentity ...@@ -253,12 +253,12 @@ class operation extends stdentity
{ {
$req = new update($this->dbrw, $req = new update($this->dbrw,
"cpta_operation", "cpta_operation",
array("op_effctue"=>$done), array("op_effctue"=>$done, "date_op"=>date("Y-m-d")),
array("id_op"=>$this->id_op_liee)); array("id_op"=>$this->id_op_liee));
} }
$req = new update($this->dbrw, $req = new update($this->dbrw,
"cpta_operation", "cpta_operation",
array("op_effctue"=>$done), array("op_effctue"=>$done, "date_op"=>date("Y-m-d")),
array("id_op"=>$this->id)); array("id_op"=>$this->id));
$this->effectue=$done; $this->effectue=$done;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment