Commit e8c775b7384165114ee61d4eb9413782456d6e44
Committed by
Rafael Santos
1 parent
c7e8b44a
Exists in
master
Issue: 13 - Alteracao de outro arquivo para nao obrigar o cadastro de ISBN no mo…
…dulo biblioteca e Campo Naturalidade obrigatorio no modulo de cadastro de novos alunos
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
ieducar/intranet/atendidos_cad.php
@@ -574,7 +574,7 @@ class indice extends clsCadastro | @@ -574,7 +574,7 @@ class indice extends clsCadastro | ||
574 | 574 | ||
575 | // naturalidade | 575 | // naturalidade |
576 | 576 | ||
577 | - $options = array('label' => 'Naturalidade', 'required' => false); | 577 | + $options = array('label' => 'Naturalidade', 'required' => true); |
578 | 578 | ||
579 | $helperOptions = array('objectName' => 'naturalidade', | 579 | $helperOptions = array('objectName' => 'naturalidade', |
580 | 'hiddenInputOptions' => array('options' => array('value' => $this->naturalidade_id))); | 580 | 'hiddenInputOptions' => array('options' => array('value' => $this->naturalidade_id))); |
ieducar/intranet/include/pmieducar/clsPmieducarAcervo.inc.php
@@ -422,7 +422,7 @@ class clsPmieducarAcervo | @@ -422,7 +422,7 @@ class clsPmieducarAcervo | ||
422 | */ | 422 | */ |
423 | function cadastra() | 423 | function cadastra() |
424 | { | 424 | { |
425 | - if( is_numeric( $this->ref_cod_exemplar_tipo ) && is_numeric( $this->ref_usuario_cad ) && is_numeric( $this->ref_cod_acervo_idioma ) && is_numeric( $this->ref_cod_acervo_editora ) && is_string( $this->titulo ) && is_numeric( $this->volume ) && is_numeric( $this->num_edicao ) && is_numeric( $this->ano ) && is_numeric( $this->num_paginas ) && is_numeric( $this->isbn ) && is_numeric( $this->ref_cod_biblioteca ) ) | 425 | + if( is_numeric( $this->ref_cod_exemplar_tipo ) && is_numeric( $this->ref_usuario_cad ) && is_numeric( $this->ref_cod_acervo_idioma ) && is_numeric( $this->ref_cod_acervo_editora ) && is_string( $this->titulo ) && is_numeric( $this->volume ) && is_numeric( $this->num_edicao ) && is_numeric( $this->ano ) && is_numeric( $this->num_paginas ) && is_numeric( $this->ref_cod_biblioteca ) ) |
426 | { | 426 | { |
427 | $db = new clsBanco(); | 427 | $db = new clsBanco(); |
428 | 428 |