na tela visita_domiciliar_tela.dart não é mais obrigatório o campo procedimento.
This commit is contained in:
@@ -225,7 +225,16 @@ class _VisitaDomiciliarTelaState extends State<VisitaDomiciliarTela> {
|
||||
CBO_RESP_CADASTRO
|
||||
ok*/
|
||||
//salvar
|
||||
if(date.isEmpty || dateDB.isEmpty || TIPO_IMOVEL_COD==0 || DESFECHO_COD ==0 || TURNO_COD == 0 || CBO_PROFISSIONAL == null || CBO_PROFISSIONAL == null || listProc.isEmpty
|
||||
|
||||
print('date $date');
|
||||
print('dateDB $dateDB');
|
||||
print('TIPO_IMOVEL_COD $TIPO_IMOVEL_COD');
|
||||
print('DESFECHO_COD $DESFECHO_COD');
|
||||
print('TURNO_COD $TURNO_COD');
|
||||
print('CBO_PROFISSIONAL $CBO_PROFISSIONAL');
|
||||
print('listProc $listProc');
|
||||
|
||||
if(date.isEmpty || dateDB.isEmpty || TIPO_IMOVEL_COD==0 || DESFECHO_COD ==0 || TURNO_COD == 0 || CBO_PROFISSIONAL == null
|
||||
){
|
||||
print('erro principal');
|
||||
setState(() {
|
||||
|
||||
Reference in New Issue
Block a user