Commit c4e1096b authored by Anatole Rakotoson's avatar Anatole Rakotoson
Browse files

ocecoform

parent f82ca0cf
......@@ -6,13 +6,13 @@ class OcecodashboardAction extends CAction
$controller = $this->getController();
$tpl = "costum.views.custom.cordCollaborativeOpenRd.globaldashboard";
$tpl = "costum.views.custom.cordCollaborativeOpenRd.dashboard";
$formsParent = PHDB::find( Form::COLLECTION, array( "id" => "opalProcess" ) );
$formsParent = array_shift($formsParent);
$answers = PHDB::findOneById("6023cf8a7cee4e1b2c8b4568");
$answers = PHDB::findOneById(Form::ANSWER_COLLECTION, "6023cf8a7cee4e1b2c8b4568");
if (isset($answers["answers"]["opalProcess1"]["depense"])) {
$answers = $answers["answers"]["opalProcess1"]["depense"];
......
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