/**
  * Armazena na "sessao" os dados de configuração padrao
  * @access public
  */
 function setup()
 {
     global $cacic_common, $cacic_setup;
     parent::setup();
     $cacic_common['padrao'] = 'Definicoes padrao para pre-preenchimento de campos';
     $titulo = $this->oTranslator->_('Itens adiquiridos');
     // Obtem acoes de formulário
     $cacic_setup['btn_action_edit'] = Security::getString('btn_action_edit');
     $cacic_setup['btn_action_excluir'] = Security::getString('btn_action_excluir');
     $cacic_setup['btn_action_incluir'] = Security::getInt('btn_action_incluir');
     $cacic_setup['btn_salvar'] = Security::getInt('btn_salvar');
     // Obtem dado de permissão (ACL) do utilizador
     $cacic_setup['acl_permission'] = $this->isAdminUser() ? 'enabled' : 'disabled';
     /*
      * Inicializa template com textos basicos
      */
     $this->setPageTitle($titulo);
     $this->addVar('AquisicoesItens', 'CACIC_URL', CACIC_URL);
     $this->addVar('AquisicoesItens_form', 'TITULO', $titulo);
     $this->addVar('AquisicoesItens_form', 'DESCRICAO_TITLE', $this->oTranslator->_('Controle de itens adiquiridos'));
     $this->addVar('AquisicoesItens_form', 'AQUISICAO_ITEM_NAME_TITLE', $this->oTranslator->_('Processo de aquisicao'));
     $this->addVar('AquisicoesItens_form', 'SOFTWARE_NAME_TITLE', $this->oTranslator->_('Software'));
     $this->addVar('AquisicoesItens_form', 'TIPO_LICENCA_TITLE', $this->oTranslator->_('Tipo de licenca'));
     $this->addVar('AquisicoesItens_form', 'QUANTIDADE_LICENCA_TITLE', $this->oTranslator->_('Quantidade de licencas'));
     $this->addVar('AquisicoesItens_form', 'VENCIMENTO_LICENCA_TITLE', $this->oTranslator->_('Data de vencimento'));
     $this->addVar('AquisicoesItens_insert_edit', 'TIPO_LICENCA_NAME_INPUT_LABEL', $this->oTranslator->_('Tipo de licenca'));
     $this->addVar('AquisicoesItens_insert_edit', 'AQUISICAO_NAME_INPUT_LABEL', $this->oTranslator->_('Processo de aquisicao'));
     $this->addVar('AquisicoesItens_insert_edit', 'SOFTWARE_NAME_INPUT_LABEL', $this->oTranslator->_('Software'));
     $this->addVar('AquisicoesItens_insert_edit', 'QTDE_LICENCA_INPUT_LABEL', $this->oTranslator->_('Quantidade de licencas'));
     $this->addVar('AquisicoesItens_insert_edit', 'DATA_VENCIMENTO_INPUT_LABEL', $this->oTranslator->_('Data de vencimento'));
     $this->addVar('AquisicoesItens_insert_edit', 'DATA_VENCIMENTO_FORMATO', $this->oTranslator->_('DD/MM/AAAA', T_SIGLA));
     $this->addVar('AquisicoesItens_insert_edit', 'OBSERVACAO_INPUT_LABEL', $this->oTranslator->_('Observacao'));
     $this->addVar('AquisicoesItens_insert_edit', 'SELECT_OPTION', $this->oTranslator->_('--- Selecione ---'));
     $this->addVar('AquisicoesItens_insert_edit', 'BTN_INCLUIR_TITLE', $this->oTranslator->_('Incluir registro'));
     $this->addVar('AquisicoesItens_insert_edit', 'BTN_INCLUIR', $this->oTranslator->_('Incluir') . " " . strtolower($this->oTranslator->_('Itens adiquiridos')));
     $this->addVar('AquisicoesItens_insert_edit', 'BTN_INCLUIR_DENY', $cacic_setup['acl_permission']);
     $this->addVar('AquisicoesItens_insert_edit', 'BTN_SALVAR_TITLE', $this->oTranslator->_('Gravar alteracoes'));
     $this->addVar('AquisicoesItens_insert_edit', 'BTN_SALVAR', $this->oTranslator->_('Gravar'));
     $this->addVar('AquisicoesItens_insert_edit', 'BTN_SALVAR_DENY', $cacic_setup['acl_permission']);
     $this->addVar('AquisicoesItens_insert_edit', 'BTN_CANCELAR_TITLE', $this->oTranslator->_('Cancelar alteracoes'));
     $this->addVar('AquisicoesItens_insert_edit', 'BTN_CANCELAR', $this->oTranslator->_('Cancelar'));
     $this->addVar('AquisicoesItens_insert_edit', 'BTN_CANCELAR_DENY', $cacic_setup['acl_permission']);
     $this->addVar('AquisicoesItens_insert_edit', 'BTN_RESET_TITLE', $this->oTranslator->_('Restaurar valores'));
     $this->addVar('AquisicoesItens_insert_edit', 'BTN_RESET', $this->oTranslator->_('Restaurar'));
     $this->addVar('AquisicoesItens_insert_edit', 'MSG_VALIDACAO', $this->oTranslator->_('Informe esse campo'));
     $this->addVar('AquisicoesItens_insert_edit', 'MSG_VALIDACAO_QTDE', $this->oTranslator->_('Quantidade deve ser valor numerico'));
     $this->addVar('AquisicoesItens_insert_edit', 'MSG_VALIDACAO_DATA', $this->oTranslator->_('Informe data valida'));
     $this->addVar('AquisicoesItens_insert_edit', 'MSG_VALIDACAO_LIC_TYPE', $this->oTranslator->_('Informe tipo de licenca'));
     $this->addVar('AquisicoesItens_insert_edit', 'MSG_VALIDACAO_SOFTWARE', $this->oTranslator->_('Informe software'));
     $this->addVar('AquisicoesItens_insert_edit', 'MSG_VALIDACAO_AQUISICAO', $this->oTranslator->_('Informe processo de aquisicao'));
     $this->addVar('AquisicoesItens_list', 'TIPO_LICENCA_ACTIONS_DELETE_TITLE', $this->oTranslator->_('Excluir registro'));
     $this->addVar('AquisicoesItens_list', 'TIPO_LICENCA_ACTIONS_EDIT_TITLE', $this->oTranslator->_('Editar registro'));
     $this->addVar('AquisicoesItens_actions_acl', 'ACTIONS_TITLE', $this->oTranslator->_('Acoes'));
 }
 /**
  * Armazena na "sessao" os dados de configuração padrao
  * @access public
  */
 function setup()
 {
     global $cacic_common, $cacic_setup;
     parent::setup();
     $cacic_common['padrao'] = 'Definicoes padrao para pre-preenchimento de campos';
     $titulo = $this->oTranslator->_('Cadastro de Processos de Aquisicoes');
     // Obtem acoes de formulário
     $cacic_setup['btn_action_edit'] = Security::getString('btn_action_edit');
     $cacic_setup['btn_action_excluir'] = Security::getString('btn_action_excluir');
     $cacic_setup['btn_action_incluir'] = Security::getInt('btn_action_incluir');
     $cacic_setup['btn_salvar'] = Security::getInt('btn_salvar');
     // Obtem dado de permissão (ACL) do utilizador
     $cacic_setup['acl_permission'] = $this->isAdminUser() ? 'enabled' : 'disabled';
     /*
      * Inicializa template com textos basicos
      */
     $this->setPageTitle($titulo);
     $this->addVar('Aquisicoes', 'CACIC_URL', CACIC_URL);
     $this->addVar('Aquisicoes_form', 'TITULO', $titulo);
     $this->addVar('Aquisicoes_form', 'DESCRICAO_TITLE', $this->oTranslator->_('Controle de processos de aquisicoes'));
     $this->addVar('Aquisicoes_form', 'AQUISICAO_TITLE', $this->oTranslator->_('Processo de aquisicao'));
     $this->addVar('Aquisicoes_form', 'NOME_EMPRESA_NAME_TITLE', $this->oTranslator->_('Nome da empresa'));
     $this->addVar('Aquisicoes_form', 'NOME_PROPRIETARIO_TITLE', $this->oTranslator->_('Nome do proprietario'));
     $this->addVar('Aquisicoes_form', 'NR_NOTA_FISCAL_TITLE', $this->oTranslator->_('Nota Fiscal'));
     $this->addVar('Aquisicoes_form', 'DATA_AQUISICAO_TITLE', $this->oTranslator->_('Data de aquisicao'));
     $this->addVar('Aquisicoes_insert_edit', 'NOME_PROPRIETARIO_NAME_INPUT_LABEL', $this->oTranslator->_('Nome do proprietario'));
     $this->addVar('Aquisicoes_insert_edit', 'AQUISICAO_INPUT_LABEL', $this->oTranslator->_('Processo de aquisicao'));
     $this->addVar('Aquisicoes_insert_edit', 'NOME_EMPRESA_NAME_INPUT_LABEL', $this->oTranslator->_('Nome da empresa'));
     $this->addVar('Aquisicoes_insert_edit', 'NR_NOTA_FISCAL_INPUT_LABEL', $this->oTranslator->_('Nota Fiscal'));
     $this->addVar('Aquisicoes_insert_edit', 'DATA_AQUISICAO_INPUT_LABEL', $this->oTranslator->_('Data de aquisicao'));
     $this->addVar('Aquisicoes_insert_edit', 'DATA_AQUISICAO_FORMATO', $this->oTranslator->_('DD/MM/AAAA', T_SIGLA));
     $this->addVar('Aquisicoes_insert_edit', 'SELECT_OPTION', $this->oTranslator->_('--- Selecione ---'));
     $this->addVar('Aquisicoes_insert_edit', 'BTN_INCLUIR_TITLE', $this->oTranslator->_('Incluir registro'));
     $this->addVar('Aquisicoes_insert_edit', 'BTN_INCLUIR', $this->oTranslator->_('Incluir') . " " . strtolower($this->oTranslator->_('Processo de aquisicao')));
     $this->addVar('Aquisicoes_insert_edit', 'BTN_INCLUIR_DENY', $cacic_setup['acl_permission']);
     $this->addVar('Aquisicoes_insert_edit', 'BTN_SALVAR_TITLE', $this->oTranslator->_('Gravar alteracoes'));
     $this->addVar('Aquisicoes_insert_edit', 'BTN_SALVAR', $this->oTranslator->_('Gravar'));
     $this->addVar('Aquisicoes_insert_edit', 'BTN_SALVAR_DENY', $cacic_setup['acl_permission']);
     $this->addVar('Aquisicoes_insert_edit', 'BTN_CANCELAR_TITLE', $this->oTranslator->_('Cancelar alteracoes'));
     $this->addVar('Aquisicoes_insert_edit', 'BTN_CANCELAR', $this->oTranslator->_('Cancelar'));
     $this->addVar('Aquisicoes_insert_edit', 'BTN_CANCELAR_DENY', $cacic_setup['acl_permission']);
     $this->addVar('Aquisicoes_insert_edit', 'BTN_RESET_TITLE', $this->oTranslator->_('Restaurar valores'));
     $this->addVar('Aquisicoes_insert_edit', 'BTN_RESET', $this->oTranslator->_('Restaurar'));
     $this->addVar('Aquisicoes_insert_edit', 'MSG_VALIDACAO', $this->oTranslator->_('Informe esse campo'));
     $this->addVar('Aquisicoes_insert_edit', 'MSG_VALIDACAO_QTDE', $this->oTranslator->_('Informe numero da nota fiscal'));
     $this->addVar('Aquisicoes_insert_edit', 'MSG_VALIDACAO_DATA', $this->oTranslator->_('Informe data valida'));
     $this->addVar('Aquisicoes_insert_edit', 'MSG_VALIDACAO_LIC_TYPE', $this->oTranslator->_('Informe nome do proprietario'));
     $this->addVar('Aquisicoes_insert_edit', 'MSG_VALIDACAO_NOME_EMPRESA', $this->oTranslator->_('Informe nome da empresa'));
     $this->addVar('Aquisicoes_insert_edit', 'MSG_VALIDACAO_AQUISICAO', $this->oTranslator->_('Informe processo de aquisicao'));
     $this->addVar('Aquisicoes_list', 'ACTIONS_DELETE_TITLE', $this->oTranslator->_('Excluir registro'));
     $this->addVar('Aquisicoes_list', 'ACTIONS_EDIT_TITLE', $this->oTranslator->_('Editar registro'));
     $this->addVar('Aquisicoes_actions_acl', 'ACTIONS_TITLE', $this->oTranslator->_('Acoes'));
 }
 /**
  * Armazena na "sessao" os dados de configuração padrao
  * @access public
  */
 function setup()
 {
     global $cacic_common, $tipos_licenca_setup;
     parent::setup();
     $cacic_common['padrao'] = 'Definicoes padrao para pre-preenchimento de campos';
     $titulo = $this->oTranslator->_('Tipos de licenca');
     // Obtem acoes de formulário
     $tipos_licenca_setup['btn_action_edit'] = Security::getInt('btn_action_edit');
     $tipos_licenca_setup['btn_action_excluir'] = Security::getInt('btn_action_excluir');
     $tipos_licenca_setup['btn_action_incluir'] = Security::getInt('btn_action_incluir');
     $tipos_licenca_setup['btn_salvar'] = Security::getInt('btn_salvar');
     // Obtem dado de permissão (ACL) do utilizador
     $tipos_licenca_setup['acl_permission'] = $this->isAdminUser() ? 'enabled' : 'disabled';
     /*
      * Inicializa template com textos basicos
      */
     $this->setPageTitle($titulo);
     $this->addVar('TiposLicenca', 'CACIC_URL', CACIC_URL);
     $this->addVar('TiposLicenca_form', 'TITULO', $titulo);
     $this->addVar('TiposLicenca_form', 'DESCRICAO', $this->oTranslator->_('Controle de tipos de licencas'));
     $this->addVar('TiposLicenca_form', 'TIPO_LICENCA_NAME_TITLE', $this->oTranslator->_('Tipo de licenca'));
     $this->addVar('TiposLicenca_insert_edit', 'TIPO_LICENCA_NAME_INPUT_LABEL', $this->oTranslator->_('Tipo de licenca'));
     $this->addVar('TiposLicenca_insert_edit', 'BTN_INCLUIR_TITLE', $this->oTranslator->_('Incluir registro'));
     $this->addVar('TiposLicenca_insert_edit', 'BTN_INCLUIR', $this->oTranslator->_('Incluir') . " " . strtolower($this->oTranslator->_('Tipo de licenca')));
     $this->addVar('TiposLicenca_insert_edit', 'BTN_INCLUIR_DENY', $tipos_licenca_setup['acl_permission']);
     $this->addVar('TiposLicenca_insert_edit', 'BTN_SALVAR_TITLE', $this->oTranslator->_('Gravar alteracoes'));
     $this->addVar('TiposLicenca_insert_edit', 'BTN_SALVAR', $this->oTranslator->_('Gravar'));
     $this->addVar('TiposLicenca_insert_edit', 'BTN_SALVAR_DENY', $tipos_licenca_setup['acl_permission']);
     $this->addVar('TiposLicenca_insert_edit', 'BTN_CANCELAR_TITLE', $this->oTranslator->_('Cancelar alteracoes'));
     $this->addVar('TiposLicenca_insert_edit', 'BTN_CANCELAR', $this->oTranslator->_('Cancelar'));
     $this->addVar('TiposLicenca_insert_edit', 'BTN_CANCELAR_DENY', $tipos_licenca_setup['acl_permission']);
     $this->addVar('TiposLicenca_insert_edit', 'BTN_RESET_TITLE', $this->oTranslator->_('Restaurar valores'));
     $this->addVar('TiposLicenca_insert_edit', 'BTN_RESET', $this->oTranslator->_('Restaurar'));
     $this->addVar('TiposLicenca_insert_edit', 'MSG_VALIDACAO', $this->oTranslator->_('Informe tipo de licenca'));
     $this->addVar('TiposLicenca_list', 'TIPO_LICENCA_ACTIONS_DELETE_TITLE', $this->oTranslator->_('Excluir registro'));
     $this->addVar('TiposLicenca_list', 'TIPO_LICENCA_ACTIONS_EDIT_TITLE', $this->oTranslator->_('Editar registro'));
     $this->addVar('TiposLicenca_actions_acl', 'TIPO_LICENCA_ACTIONS_TITLE', $this->oTranslator->_('Acoes'));
 }
 /**
  * Armazena na "sessao" os dados de configuração padrao
  * @access public
  */
 function setup()
 {
     global $cacic_common;
     parent::setup();
     $cacic_common['padrao'] = 'Definicoes padrao para pre-preenchimento de campos';
 }
 function Software()
 {
     parent::Cacic_Common();
 }