diff --git a/Front/src/app/associa-conta-cliente/Cliente.ts b/Front/src/app/associa-conta-cliente/Cliente.ts index 6ff4dd3..ea5c151 100644 --- a/Front/src/app/associa-conta-cliente/Cliente.ts +++ b/Front/src/app/associa-conta-cliente/Cliente.ts @@ -3,7 +3,6 @@ export class Cliente { cnpj: string; cnpjWithMask: string; dadosCadastrais: { - cidade: string; razaoSocial: string; CNAE: string; }; diff --git a/Front/src/app/dashboard-id-empresa/dashboard-id-empresa.component.ts b/Front/src/app/dashboard-id-empresa/dashboard-id-empresa.component.ts index df61b68..b4c435c 100644 --- a/Front/src/app/dashboard-id-empresa/dashboard-id-empresa.component.ts +++ b/Front/src/app/dashboard-id-empresa/dashboard-id-empresa.component.ts @@ -98,7 +98,7 @@ export class DashboardIdEmpresaComponent implements OnInit { console.log("Evento Cadastro"); console.log(eventoCadastro); - + transacaoPJ = { cnpj: eventoCadastro.args.cnpj, razaoSocial: "", @@ -111,6 +111,10 @@ export class DashboardIdEmpresaComponent implements OnInit { status: "Conta Cadastrada" } + if (transacaoPJ.salic=="0") transacaoPJ.salic="-"; + if (transacaoPJ.nomeConta=="0") transacaoPJ.nomeConta="-"; + + self.includeIfNotExists(transacaoPJ); self.pessoaJuridicaService.recuperaEmpresaPorCnpj(transacaoPJ.cnpj).subscribe( @@ -177,8 +181,11 @@ export class DashboardIdEmpresaComponent implements OnInit { nomeConta: eventoTroca.args.idFinancialSupportAgreement, status: "Conta Associada por Troca" }; + + if (transacaoPJ.salic=="0") transacaoPJ.salic="-"; + if (transacaoPJ.nomeConta=="0") transacaoPJ.nomeConta="-"; + self.includeIfNotExists(transacaoPJ); - self.pessoaJuridicaService.recuperaEmpresaPorCnpj(transacaoPJ.cnpj).subscribe( data => { diff --git a/Front/src/app/dashboard-transferencias/dashboard-transferencias.component.ts b/Front/src/app/dashboard-transferencias/dashboard-transferencias.component.ts index b0dd648..82c65f9 100644 --- a/Front/src/app/dashboard-transferencias/dashboard-transferencias.component.ts +++ b/Front/src/app/dashboard-transferencias/dashboard-transferencias.component.ts @@ -272,7 +272,7 @@ export class DashboardTransferenciasComponent implements OnInit { for (var i = 0; i < data.subcreditos.length; i++) { if (eventoLiberacao.args.idFinancialSupportAgreement == data.subcreditos[i].numero) { - subcredito = data.subcreditos[i].nome + " - " + data.subcreditos[i].numero + subcredito = data.subcreditos[i].numero } } diff --git a/Front/src/app/fornecedor/Fornecedor.ts b/Front/src/app/fornecedor/Fornecedor.ts index 210ce80..a05782f 100644 --- a/Front/src/app/fornecedor/Fornecedor.ts +++ b/Front/src/app/fornecedor/Fornecedor.ts @@ -3,7 +3,6 @@ export class Fornecedor { cnpj: string; cnpjWithMask: string; dadosCadastrais: { - cidade: string; razaoSocial: string; CNAE: string; email: string; diff --git a/Front/src/app/liquidacao-resgate/liquidacao-resgate.component.ts b/Front/src/app/liquidacao-resgate/liquidacao-resgate.component.ts index e561ecf..349be35 100644 --- a/Front/src/app/liquidacao-resgate/liquidacao-resgate.component.ts +++ b/Front/src/app/liquidacao-resgate/liquidacao-resgate.component.ts @@ -80,7 +80,6 @@ export class LiquidacaoResgateComponent implements OnInit { data => { self.liquidacaoResgate.razaoSocial = data.dadosCadastrais.razaoSocial; - self.liquidacaoResgate.cidadeResgate = data.dadosCadastrais.cidade; self.liquidacaoResgate.cnpj = eventoResgate.args.cnpj; self.liquidacaoResgate.valorResgate = self.web3Service.converteInteiroParaDecimal(parseInt(eventoResgate.args.value)), diff --git a/Front/src/app/liquidacao-resgate/liquidacao-resgate.ts b/Front/src/app/liquidacao-resgate/liquidacao-resgate.ts index c0115f7..ff26372 100644 --- a/Front/src/app/liquidacao-resgate/liquidacao-resgate.ts +++ b/Front/src/app/liquidacao-resgate/liquidacao-resgate.ts @@ -4,7 +4,6 @@ export class LiquidacaoResgate { cnpj: string; valorResgate: number; hashResgate; string; - cidadeResgate: string; dataHoraResgate: Date; dataHoraLiquidacao: Date; diff --git a/Front/src/app/validacao-cadastro/validacao-cadastro.component.html b/Front/src/app/validacao-cadastro/validacao-cadastro.component.html index 5168035..a469991 100644 --- a/Front/src/app/validacao-cadastro/validacao-cadastro.component.html +++ b/Front/src/app/validacao-cadastro/validacao-cadastro.component.html @@ -36,10 +36,13 @@