Skip to content

Commit

Permalink
Unused
Browse files Browse the repository at this point in the history
  • Loading branch information
Valdoveste committed Dec 1, 2023
1 parent d7152d4 commit de365f2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 40 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@ import { FormGroup, FormControl, Validators } from '@angular/forms';
import { AmbitoService } from '../../../services/ambito.service';
import { ProcessoAmbito } from '../../../models/PROCESSO_AMBITO.model';
import { AreaDoDireitoService } from '../../../services/area-do-direito.service';
import { CondicoesTentativaAcordoService } from '../../../services/condicoes-tentativa-acordo.service';
import { FaseService } from '../../../services/fase.service';
import { ForoTribunalOrgaoService } from '../../../services/foro-tribunal-orgao.service';
import { MotivoDoEncerramentoService } from '../../../services/motivo-do-encerramento.service';
import { ProcessoPatronoResponsavel } from '../../../models/PROCESSO_PATRONO_RESPONSAVEL.model';
import { StatusService } from '../../../services/status.service';
import { TipoDeAcaoService } from '../../../services/tipo-de-acao.service';
Expand Down Expand Up @@ -42,10 +40,8 @@ export class ProcessCreateComponent implements OnInit {
private ProcessoService: ProcessoService,
private AmbitoService: AmbitoService,
private AreaDoDireito: AreaDoDireitoService,
private CondicoesTentaivaAcordo: CondicoesTentativaAcordoService,
private Fase: FaseService,
private ForoTribunalOrgao: ForoTribunalOrgaoService,
private MotivoDoEncerramento: MotivoDoEncerramentoService,
private Status: StatusService,
private TipoDeAcao: TipoDeAcaoService,
private Vara: VaraService,
Expand Down Expand Up @@ -155,14 +151,6 @@ export class ProcessCreateComponent implements OnInit {
error: (err: HttpErrorResponse) => console.log(err)
})

this.CondicoesTentaivaAcordo.getAllCondicoesTentativaAcordo()
.subscribe({
next: (response: ProcessoCondicoesTentativaAcordo[]) => {
this.condicoesTentativaAcordo = response;
},
error: (err: HttpErrorResponse) => console.log(err)
})

this.Fase.getAllFase()
.subscribe({
next: (response: ProcessoFase[]) => {
Expand All @@ -179,14 +167,6 @@ export class ProcessCreateComponent implements OnInit {
error: (err: HttpErrorResponse) => console.log(err)
})

this.MotivoDoEncerramento.getAllMotivoDoEncerramento()
.subscribe({
next: (response: ProcessoMotivoDoEncerramento[]) => {
this.motivosDoEncerramento = response;
},
error: (err: HttpErrorResponse) => console.log(err)
})

this.Status.getAllStatus()
.subscribe({
next: (response: ProcessoStatus[]) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,8 @@ import { ProcessoStatus } from '../../../models/PROCESSO_STATUS.model';
import { ProcessoTipoDeAcao } from '../../../models/PROCESSO_TIPO_DE_ACAO.model';
import { ProcessoVara } from '../../../models/PROCESSO_VARA.model';
import { AreaDoDireitoService } from '../../../services/area-do-direito.service';
import { CondicoesTentativaAcordoService } from '../../../services/condicoes-tentativa-acordo.service';
import { FaseService } from '../../../services/fase.service';
import { ForoTribunalOrgaoService } from '../../../services/foro-tribunal-orgao.service';
import { MotivoDoEncerramentoService } from '../../../services/motivo-do-encerramento.service';
import { PatronoResponsavelService } from '../../../services/patrono-responsavel.service';
import { StatusService } from '../../../services/status.service';
import { TipoDeAcaoService } from '../../../services/tipo-de-acao.service';
Expand Down Expand Up @@ -54,10 +52,8 @@ export class ProcessEditComponent implements OnInit {
private ProcessoLogAlteracoesService: ProcessoLogAlteracoesService,
private AmbitoService: AmbitoService,
private AreaDoDireito: AreaDoDireitoService,
private CondicoesTentaivaAcordo: CondicoesTentativaAcordoService,
private Fase: FaseService,
private ForoTribunalOrgao: ForoTribunalOrgaoService,
private MotivoDoEncerramento: MotivoDoEncerramentoService,
private Status: StatusService,
private TipoDeAcao: TipoDeAcaoService,
private Vara: VaraService,
Expand Down Expand Up @@ -156,14 +152,6 @@ export class ProcessEditComponent implements OnInit {
error: (err: HttpErrorResponse) => console.log(err)
})

this.CondicoesTentaivaAcordo.getAllCondicoesTentativaAcordo()
.subscribe({
next: (response: ProcessoCondicoesTentativaAcordo[]) => {
this.condicoesTentativaAcordo = response;
},
error: (err: HttpErrorResponse) => console.log(err)
})

this.Fase.getAllFase()
.subscribe({
next: (response: ProcessoFase[]) => {
Expand All @@ -180,14 +168,6 @@ export class ProcessEditComponent implements OnInit {
error: (err: HttpErrorResponse) => console.log(err)
})

this.MotivoDoEncerramento.getAllMotivoDoEncerramento()
.subscribe({
next: (response: ProcessoMotivoDoEncerramento[]) => {
this.motivosDoEncerramento = response;
},
error: (err: HttpErrorResponse) => console.log(err)
})

this.Status.getAllStatus()
.subscribe({
next: (response: ProcessoStatus[]) => {
Expand Down

0 comments on commit de365f2

Please sign in to comment.