I create custom reports and filter for teams. There are two new fields in the "team_user" table. Start and end dates. These two new areas need to be conditioned for where. But I can not find entitiy for "team_user".
I can break the "$where" variable for the activity table but I can't do this for the "team_user" table.
For example;
$entity = $this->getEntityManager()->getEntity('TeamUser'); not working. I need this.
I added the sample image file.
I can break the "$where" variable for the activity table but I can't do this for the "team_user" table.
For example;
Code:
$params = array(); $result['whereClause'][] = $this->convertDateTimeWhere(array( 'type' => $type, 'value' => $value, 'attribute' => 'dateStart', 'timeZone' => $timeZone )); if (empty($result)) { $result = array(); } $entity = $this->getEntityManager()->getEntity('Meeting'); $wherePart = $this->getEntityManager()->getQuery()->getWhere($entity ,$result['whereClause'], 'AND', $params); return $wherePart;
I added the sample image file.
Comment