public function getPeriodByDateAndByOrganizationId($date, $organizationId = null, $databaseConnectionName = null)
  {
    if(empty($organizationId))
    {
      $organizationId = $this->AuthenticationManager->getCurrentUserOrganization('id');
    }

    return $this->Period->periodByDateAndByOrganizationId($date, $organizationId, $databaseConnectionName);
  }
public function getPeriodByDateAndByOrganizationId($date, $organizationId = null, $databaseConnectionName = null)
  {
    if(empty($organizationId))
    {
      $organizationId = $this->AuthenticationManager->getCurrentUserOrganization('id');
    }

    return $this->Period->periodByDateAndByOrganizationId($date, $organizationId, $databaseConnectionName);
  }
public function getPeriodByDateAndByOrganizationId ( $ date , $ organizationId = null , $ databaseConnectionName = null ) { if ( empty ( $ organizationId ) ) { $ organizationId = $ this -> AuthenticationManager -> getCurrentUserOrganization ( 'id' ) ; } return $ this -> Period -> periodByDateAndByOrganizationId ( $ date , $ organizationId , $ databaseConnectionName ) ; }
Get period by date

@return Mgallegos\DecimaAccounting\Period
Get period by date