CONSOLIDATED

This commit is contained in:
Brayan Pereyra
2015-03-23 19:02:38 -04:00
parent a446bb6eac
commit 9d334ff583
6 changed files with 629 additions and 25 deletions

View File

@@ -19,8 +19,10 @@ class pmDynaform
public function __construct($fields)
{
$this->fields = $fields;
$this->getDynaform();
$this->getCredentials();
if (count($fields) && count($fields['APP_DATA'])) {
$this->getDynaform();
$this->getCredentials();
}
if (isset($this->fields["APP_UID"])) {
//current
$cases = new \ProcessMaker\BusinessModel\Cases();