public function init()
 {
     parent::init();
     $combo = array();
     $combo['naturezaJuridica'] = $this->getService('VwNaturezaJuridica')->comboSociedade();
     $this->view->combo = $combo;
 }
 /**
  * Metodo iniciais
  */
 public function init()
 {
     parent::init();
     $sqPessoa = $this->_getParam('sqPessoa');
     $criteria = array('sqTipoVinculo' => array(\Core_Configuration::getCorpTipoVinculoSocio(), \Core_Configuration::getCorpTipoVinculoRepreLegal()));
     $cmb['sqTipoVinculo'] = $this->getService('TipoVinculo')->getComboDefault($criteria);
     $this->view->cmb = $cmb;
     $this->view->sqPessoa = $sqPessoa;
     $this->_helper->layout()->disableLayout();
 }
 public function init()
 {
     parent::init();
     $comboDas = $this->getService('VwChefia')->getComboDas();
     $listaPais = $this->getService('VwPais')->comboPais();
     $listaDocumentos = $this->getService('VwTipoDocumento')->listTipoDocumento();
     $this->view->listaDocumentos = $listaDocumentos;
     $this->view->listaPais = $listaPais;
     $this->view->comboDas = $comboDas;
     $this->view->user = array('id' => Core_Integration_Sica_User::getUserId(), 'name' => $this->getSicaUsername());
     $this->view->pessoa = Core_Integration_Sica_User::getPersonId();
 }
 /**
  * Metodo iniciais 
  */
 public function init()
 {
     parent::init();
     $sqPessoa = $this->_getParam('sqPessoa');
     if ($this->_getParam('id')) {
         $cmb['sqTipoTelefone'] = $this->getService('TipoTelefone')->getComboDefault();
     } else {
         $cmb['sqTipoTelefone'] = $this->getService('TipoTelefone')->getComboForSqPessoa($sqPessoa);
     }
     $this->view->cmb = $cmb;
     $this->view->sqPessoa = $sqPessoa;
     $this->_helper->layout()->disableLayout();
 }
 /**
  * Metodo iniciais
  */
 public function init()
 {
     parent::init();
     $sqPessoa = $this->_getParam('sqPessoa');
     if ($this->_getParam('id')) {
         $cmb['sqTipoDocumento'] = $this->getService('TipoDocumento')->getComboDefault();
     } else {
         $cmb['sqTipoDocumento'] = $this->getService('TipoDocumento')->getComboForSqPessoa($sqPessoa);
     }
     $cmb['sqEstado'] = $this->getService('Endereco')->comboEstado(NULL, TRUE);
     $cmb['tpDocumento'] = $this->getService('TipoDocumento')->findAll();
     $this->view->cmb = $cmb;
     $this->view->sqPessoa = $sqPessoa;
     $this->_helper->layout()->disableLayout();
 }
 /**
  * Metodo iniciais
  */
 public function init()
 {
     parent::init();
     $sqPessoa = $this->_getParam('sqPessoa');
     $cmb['sqEstado'] = $this->getService('Estado')->getComboDefault(array(), array('noEstado' => 'ASC'));
     $cmb['sqMunicipio'] = $this->getService('Endereco')->comboMunicipio(NULL);
     if ($this->_getParam('id')) {
         $cmb['sqTipoEndereco'] = $this->getService('TipoEndereco')->getComboDefault();
     } else {
         $cmb['sqTipoEndereco'] = $this->getService('TipoEndereco')->getComboForSqPessoa($sqPessoa);
     }
     $this->view->cmb = $cmb;
     $this->view->sqPessoa = $sqPessoa;
     $this->_helper->layout()->disableLayout();
 }
 /**
  * Inicializa operacoes iniciais
  */
 public function init()
 {
     parent::init();
     $this->getCombos();
 }
 /**
  * Inicializa operacoes iniciais
  */
 public function init()
 {
     parent::init();
 }
Example #9
0
 /**
  * Inicializa operacoes iniciais
  */
 public function init()
 {
     parent::init();
     $this->view->sqTipoPessoa = $this->_getParam('sqTipoPessoa');
     $this->getCombos();
 }
Example #10
0
 public function init()
 {
     $this->_setTemp();
     parent::init();
 }