Commit 5a2003dbf4c354812c14e46010be1e2e51760efc
Committed by
Rafael Santos
1 parent
81b38ad7
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 | 574 | |
| 575 | 575 | // naturalidade |
| 576 | 576 | |
| 577 | - $options = array('label' => 'Naturalidade', 'required' => false); | |
| 577 | + $options = array('label' => 'Naturalidade', 'required' => true); | |
| 578 | 578 | |
| 579 | 579 | $helperOptions = array('objectName' => 'naturalidade', |
| 580 | 580 | 'hiddenInputOptions' => array('options' => array('value' => $this->naturalidade_id))); | ... | ... |
ieducar/intranet/include/pmieducar/clsPmieducarAcervo.inc.php
| ... | ... | @@ -422,7 +422,7 @@ class clsPmieducarAcervo |
| 422 | 422 | */ |
| 423 | 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 | 427 | $db = new clsBanco(); |
| 428 | 428 | ... | ... |