ajustes para salvar dados do cadastro de renda total, emprestimo, veiculo e financiamento.
This commit is contained in:
@@ -452,7 +452,6 @@ class _RegisterCitizenScreenState extends State<RegisterCitizenScreen> {
|
||||
'NUM_PIS_PASEP' : PISController.text.isNotEmpty?int.parse(PISController.text):0,
|
||||
'FL_RETIROU_CARTAO' : enableCityCard?'S':'N',
|
||||
'NUM_NIS' : NISController.text.isNotEmpty?int.parse(NISController.text):0,
|
||||
//aqui
|
||||
'NUM_PROT_CROSS' : '',
|
||||
'RENDA_MENSAL' : incomeController.text.isNotEmpty?double.parse(incomeController.text.replaceAll('R\$ ', '').replaceAll('.', '').replaceAll(',', '.')):0,
|
||||
'PROFISSAO' : professionalController.text,
|
||||
@@ -461,11 +460,6 @@ class _RegisterCitizenScreenState extends State<RegisterCitizenScreen> {
|
||||
'BLOQUEIO' : enableBlocked?1:0,
|
||||
'ORIGEM' : 'A',
|
||||
'DT_HORA_CADASTRO' : DateTime.now().toString(),
|
||||
// 'ID_USUARIO_CADASTRO' : '',
|
||||
//só quando for feito o atendimento domicíliar
|
||||
'ID_DOMICILIO' : '',
|
||||
//só quando for feito um atendimento
|
||||
'ATENDIMENTOS' : '',
|
||||
'SINCRONIZADO' : 'N',
|
||||
};
|
||||
await DbSqliteSync().insertCidadaos(row,editing?'update':'new',codSus).then((value){
|
||||
@@ -2062,7 +2056,7 @@ class _RegisterCitizenScreenState extends State<RegisterCitizenScreen> {
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
Container(
|
||||
color: ColorPalette.white,
|
||||
color: edit?Colors.grey[200]:ColorPalette.disable,
|
||||
margin: EdgeInsets.only(top: 5),
|
||||
width: width*0.7,
|
||||
child: TextFormField(
|
||||
|
||||
Reference in New Issue
Block a user