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w","PopoverListarInscricoesComponent","constructor","popoverController","ngOnInit","find","idInscricao","this","dismiss","selectors","ctx_r3","ctx_r5","HeaderGcComponent","storageService","functionsService","inscricaoService","dataSharingService","usuarioLogado","getUsuarioLogado","location","pathname","indexOf","showNotificacaoNovosDocsEnviados","getMostRecentUpdated","source","interval","subscription","subscribe","val","unsubscribe","tipoDocumentos","findByUltimosDocsInscricaoEnviados","next","resp","inscricoesRecentementeAtualizadas","error","console","log","findByUltimosDocsMatriculaEnviados","ngOnDestroy","hideSubmenu","event","idSubmenu","element","document","getElementById","style","visibility","showSubmenu","showingSubmenu","showHideSubmenu","goToPath","path","logoff","setUsuarioLogado","openPopoverListarInscricoes","popover","create","component","componentProps","inscricoes","translucent","showBackdrop","backdropDismiss","trigger","present","onDidDismiss","then","data","idInscricaoSelecionada","i","length","id","dataUltimaVisualizacaoDocumentacaoInscricao","Date","dataUltimaVisualizacaoDocumentacaoMatricula","update","TIPO_PAGAMENTO","BOLETO","CREDITO_VISTA","CREDITO_PARCELADO_SEM_JUROS","CREDITO_PARCELADO_COM_JUROS","DEBITO","RECORRENCIA","PIX_QRCODE","CHECKOUT_GETNET","ctx_r19","ctx_r21","ctx_r22","routes","configuracaoPagamentoService","tipoPagamentoService","permissaoAcessoService","ConfiguracaoPagamentoDTO","ionViewWillEnter","presentLoading","checkAccessControl","findAll","configuracoes","configBoleto","tipoPagamento","disponivelTodasAgendas","prazoVencimentoBoleto","antecedenciaProvas","insert","push","body","configCreditoVista","configCreditoParceladoSemJuros","configCreditoParceladoComJuros","configDebito","configPix","configRecorrencia","configCheckoutGetnet","dismissLoading","canCreateAndEdit","window","href","canCreateEdit","canRemove","getNomeTipoPagamento","tipo","getName","onProvedorChange","config","operadora","save","validado","showAlert","alertExibido","checkSelected","configuracao","forEach","GcAdmTiposPagamentoPage","GcAdmTiposPagamentoPageRoutingModule","RouterModule","GcAdmTiposPagamentoPageModule","CommonModule","FormsModule","IonicModule","ComponentsModule","DataSharingService","BehaviorSubject","factory","ConfiguracaoPagamentoService","http","configuracaoPagamentoDTO","post","API_CONFIG","observe","put","get","findByTipoPagamento","delete","TipoPagamentoService"],"sources":["./src/app/components/header-gc/components/popover-listar-inscricoes/popover-listar-inscricoes.component.html","./src/app/components/header-gc/components/popover-listar-inscricoes/popover-listar-inscricoes.component.ts","./src/app/components/header-gc/header-gc.component.html","./src/app/components/header-gc/header-gc.component.ts","./src/app/config/tipo-pagamento.config.ts","./src/app/models/financeiro/configuracaoPagamentoDTO.ts","./src/app/pages/modulo-gc/financeiro/gc-adm-tipos-pagamento/gc-adm-tipos-pagamento.page.html","./src/app/pages/modulo-gc/financeiro/gc-adm-tipos-pagamento/gc-adm-tipos-pagamento-routing.module.ts","./src/app/pages/modulo-gc/financeiro/gc-adm-tipos-pagamento/gc-adm-tipos-pagamento.page.ts","./src/app/config/operadoraPagamento.ts","./src/app/pages/modulo-gc/financeiro/gc-adm-tipos-pagamento/gc-adm-tipos-pagamento.module.ts","./src/app/services/common/data-sharing.service.ts","./src/app/services/configuracao-pagamento/configuracao-pagamento.service.ts","./src/app/services/tipo-pagamento/tipo-pagamento.service.ts"],"sourcesContent":["
\n\n
\n \n {{inscricao.candidato.nome}} {{inscricao.candidato.sobrenome}}, inscrição {{inscricao.id}}, enviou nova documentação.\n \n
\n\n
","import { PopoverController } from '@ionic/angular';\nimport { InscricaoDTO } from '../../../../models/vestibular/inscricaoDTO';\nimport { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'app-popover-listar-inscricoes',\n templateUrl: './popover-listar-inscricoes.component.html',\n styleUrls: ['./popover-listar-inscricoes.component.scss'],\n})\nexport class PopoverListarInscricoesComponent implements OnInit {\n\n constructor( private popoverController: PopoverController ) { }\n\n inscricoes: InscricaoDTO[];\n\n ngOnInit() {}\n\n\n find(idInscricao: number){\n\n //fecha o popover e indica o id da inscrição para disparar o método find do componente header-gc\n this.popoverController.dismiss(idInscricao);\n }\n}\n"," \n\n \n \"logo\"\n\n \n\n 0\">\n {{inscricoesRecentementeAtualizadas.length}}\n \n \n\n \n \n \n \n \n \n \n \n \n\n\n \n \n\n \n\n \n\n\n\n\n\n","import { DataSharingService } from './../../services/common/data-sharing.service';\nimport { PopoverListarInscricoesComponent } from './components/popover-listar-inscricoes/popover-listar-inscricoes.component';\nimport { PopoverController } from '@ionic/angular';\nimport { InscricaoDTO } from '../../models/vestibular/inscricaoDTO';\nimport { InscricaoService } from './../../services/inscricao/inscricao.service';\nimport { UsuarioDTO } from '../../models/controle-acesso/usuarioDTO';\nimport { StorageService } from './../../services/storage/storage.service';\nimport { FunctionsService } from './../../services/common/functions.service';\nimport { Component, OnInit, ViewChild } from '@angular/core';\nimport { interval, Subscription } from 'rxjs';\n\n@Component({\n selector: 'app-header-gc',\n templateUrl: './header-gc.component.html',\n styleUrls: ['./header-gc.component.scss'],\n})\nexport class HeaderGcComponent implements OnInit {\n\n \n\n showingSubmenu = '';\n menuGCItems = [];\n usuarioLogado: UsuarioDTO = null;\n\n showNotificacaoNovosDocsEnviados: boolean = false;\n inscricoesRecentementeAtualizadas: InscricaoDTO[] = [];\n\n subscription: Subscription;\n\n constructor( private storageService : StorageService\n , private functionsService: FunctionsService\n , private inscricaoService: InscricaoService\n , private popoverController: PopoverController\n , private dataSharingService: DataSharingService ) { \n\n this.usuarioLogado = this.storageService.getUsuarioLogado(); \n \n if(location.pathname.indexOf('modulo-gc/gc-analisar-documentacao-inscricao')>-1){\n this.showNotificacaoNovosDocsEnviados = true;\n \n this.getMostRecentUpdated('inscrição');\n\n //repetir a consulta de inscrições recentemente atualizadas a cada 60 segundos\n const source = interval(60000);\n this.subscription = source.subscribe(val => this.getMostRecentUpdated('inscrição'));\n\n }else if(location.pathname.indexOf('modulo-gc/gc-analisar-documentacao-matricula')>-1){\n \n this.showNotificacaoNovosDocsEnviados = true;\n this.getMostRecentUpdated('matrícula');\n\n //repetir a consulta de inscrições recentemente atualizadas a cada 60 segundos\n const source = interval(60000);\n this.subscription = source.subscribe(val => this.getMostRecentUpdated('matrícula'));\n }else {\n // Cancelar a execução de this.getMostRecentUpdated\n this.showNotificacaoNovosDocsEnviados = false;\n if (this.subscription) {\n this.subscription.unsubscribe();\n }\n }\n }\n\n getMostRecentUpdated(tipoDocumentos: string){\n\n if(tipoDocumentos=='inscrição'){\n this.inscricaoService.findByUltimosDocsInscricaoEnviados().subscribe({\n next:(resp)=>{\n this.inscricoesRecentementeAtualizadas = resp;\n \n },\n error:(error)=>{\n console.log(error);\n }\n });\n \n }else if(tipoDocumentos == 'matrícula'){\n\n this.inscricaoService.findByUltimosDocsMatriculaEnviados().subscribe({\n next:(resp)=>{\n this.inscricoesRecentementeAtualizadas = resp;\n \n },\n error:(error)=>{\n console.log(error);\n }\n });\n\n }\n \n\n }\n\n ngOnInit() {\n \n }\n\n ngOnDestroy() {\n \n //mata a repetição das consultas de atualização da tela\n if(this.subscription){\n this.subscription.unsubscribe();\n }\n \n }\n\n /**\n * método disparado pelo evento mouseout \n */\n hideSubmenu(event, idSubmenu: string) { \n \n let element = document.getElementById(idSubmenu);\n //this.showingSubmenu = idSubmenu; \n if(element){\n element.style.visibility = 'hidden';\n }\n \n \n }\n\n /**\n * método disparado pelo evento mouseenter \n */\n showSubmenu(idSubmenu: string){\n \n this.showingSubmenu = idSubmenu;\n\n let element = document.getElementById(idSubmenu);\n \n if(element){\n element.style.visibility = 'visible';\n }\n \n\n }\n\n\n /*\n método usado para tablets, disparado através do click no menu, pois em tablet não tem cursor do mouse\n */\n showHideSubmenu(idSubmenu: string){\n \n this.showingSubmenu = idSubmenu;\n\n let element = document.getElementById(idSubmenu);\n \n if(element){\n\n if(element.style.visibility === 'visible'){\n element.style.visibility = 'hidden';\n }else{\n element.style.visibility = 'visible';\n }\n }\n \n }\n\n\n \n goToPath(path:string){\n\n if(path){\n this.functionsService.goToPath(path);\n }\n }\n \n\n logoff(){\n this.storageService.setUsuarioLogado(null);\n this.functionsService.goToPath('modulo-gc/gc-login');\n\n }\n\n\n async openPopoverListarInscricoes(event) {\n \n let tipoDocumentos = 'inscrição';\n if(location.pathname.indexOf('modulo-gc/gc-analisar-documentacao-matricula')>-1){\n tipoDocumentos = 'matrícula'\n }\n const popover = await this.popoverController.create({\n component: PopoverListarInscricoesComponent,\n componentProps: { 'inscricoes': this.inscricoesRecentementeAtualizadas\n , 'tipoDocumentos': tipoDocumentos},\n translucent: false,\n showBackdrop: true,\n backdropDismiss: true,\n event: event,\n trigger: event,\n //cssClass: 'popover-listar-inscricoes', //definido no global.css \n \n });\n\n await popover.present();\n \n //quando fechar o popover\n await popover.onDidDismiss().then((data)=>{\n\n //se tiver selecionado uma inscrição o campo data.data estará preenchido do contrário será null\n if(data && data.data){\n\n //informa ao serviço de notificação/compartilhamento de dados entre componentes o id da inscrição selecionada\n //este id será utilizado para preencher a tela de análise de docs com a inscrição selecionada\n this.dataSharingService.idInscricaoSelecionada.next( data.data ); \n\n //atualiza a inscrição selecionada para ela sair da lista\n for(var i=0; i{\n\n //atualizar o contador no ícone de notificações\n this.getMostRecentUpdated(tipoDocumentos);\n\n },\n error:(error)=>{\n console.log(error);\n }\n });\n\n }\n }\n \n }\n \n });\n \n }\n}\n","export const TIPO_PAGAMENTO = {\r\n \r\n BOLETO: \"BOLETO\",\r\n CREDITO_VISTA: \"CREDITO_VISTA\",\r\n CREDITO_PARCELADO_SEM_JUROS: \"CREDITO_PARCELADO_SEM_JUROS\",\r\n CREDITO_PARCELADO_COM_JUROS: \"CREDITO_PARCELADO_COM_JUROS\",\r\n DEBITO: \"DEBITO\",\r\n RECORRENCIA: \"RECORRENCIA\",\r\n PIX_QRCODE: \"PIX_QRCODE\",\r\n CHECKOUT_GETNET: \"CHECKOUT_GETNET\"\r\n}","export class ConfiguracaoPagamentoDTO{\r\n\r\n id!: number;\r\n tipoPagamento!:string;\r\n prazoVencimentoBoleto!: number;\r\n antecedenciaProvas!: number;\r\n disponivelTodasAgendas!: boolean;\r\n operadora!: string;\r\n}","\n\n\n\n \n FORMAS DE PAGAMENTO\n \n\n \n
Formas de Pagamento
\n\n
\n\n
\n\n \n
\n  {{getNomeTipoPagamento(config.tipoPagamento)}}\n
\n
\n  com vencimento em dia(s)\n
\n \n
\n
\n\n \n
\n  Aplicavel até dia(s) antes da prova\n
\n\n
\n\n
\n
\n   Disponível obrigatoriamente em todas agendas via\n
\n
\n\n
\n
\n \n \n Getnet\n Rede\n Maxipago\n Escola 1\n \n\n
\n
\n \n
\n\n \n\n \n \n \n \n Salvar  \n \n \n \n \n \n
\n","import { NgModule } from '@angular/core';\nimport { Routes, RouterModule } from '@angular/router';\n\nimport { GcAdmTiposPagamentoPage } from './gc-adm-tipos-pagamento.page';\n\nconst routes: Routes = [\n {\n path: '',\n component: GcAdmTiposPagamentoPage\n }\n];\n\n@NgModule({\n imports: [RouterModule.forChild(routes)],\n exports: [RouterModule],\n})\nexport class GcAdmTiposPagamentoPageRoutingModule {}\n","import { PermissaoAcessoService } from '../../../../services/permissao-acesso/permissao-acesso.service';\nimport { TIPO_PAGAMENTO } from '../../../../config/tipo-pagamento.config';\nimport { TipoPagamentoService } from '../../../../services/tipo-pagamento/tipo-pagamento.service';\nimport { FunctionsService } from '../../../../services/common/functions.service';\nimport { ConfiguracaoPagamentoService } from '../../../../services/configuracao-pagamento/configuracao-pagamento.service';\nimport { ConfiguracaoPagamentoDTO } from '../../../../models/financeiro/configuracaoPagamentoDTO';\nimport { Component, OnInit } from '@angular/core';\nimport { OPERADORA_PAGAMENTO } from 'src/app/config/operadoraPagamento';\n\n@Component({\n selector: 'app-gc-adm-tipos-pagamento',\n templateUrl: './gc-adm-tipos-pagamento.page.html',\n styleUrls: ['./gc-adm-tipos-pagamento.page.scss'],\n})\nexport class GcAdmTiposPagamentoPage implements OnInit {\n\n GETNET = OPERADORA_PAGAMENTO.Getnet;\n REDE = OPERADORA_PAGAMENTO.Rede;\n MAXIPAGO = OPERADORA_PAGAMENTO.Maxipago;\n ESCOLA_1 = OPERADORA_PAGAMENTO.Escola_1;\n\n canCreateEdit: boolean;\n canRemove: boolean; \n\n\n configuracoes: ConfiguracaoPagamentoDTO[] = [];\n\n configBoleto: ConfiguracaoPagamentoDTO = new ConfiguracaoPagamentoDTO();\n configCreditoVista: ConfiguracaoPagamentoDTO = new ConfiguracaoPagamentoDTO();\n configCreditoParceladoSemJuros: ConfiguracaoPagamentoDTO = new ConfiguracaoPagamentoDTO();\n configCreditoParceladoComJuros: ConfiguracaoPagamentoDTO = new ConfiguracaoPagamentoDTO();\n configDebito: ConfiguracaoPagamentoDTO = new ConfiguracaoPagamentoDTO();\n configPix: ConfiguracaoPagamentoDTO = new ConfiguracaoPagamentoDTO();\n configRecorrencia: ConfiguracaoPagamentoDTO = new ConfiguracaoPagamentoDTO();\n configCheckoutGetnet: ConfiguracaoPagamentoDTO = new ConfiguracaoPagamentoDTO();\n \n\n BOLETO = TIPO_PAGAMENTO.BOLETO;\n CHECKOUT_GETNET = TIPO_PAGAMENTO.CHECKOUT_GETNET\n PIX = TIPO_PAGAMENTO.PIX_QRCODE;\n CREDITO_VISTA = TIPO_PAGAMENTO.CREDITO_VISTA;\n \n constructor( private configuracaoPagamentoService: ConfiguracaoPagamentoService\n , private functionsService: FunctionsService\n , private tipoPagamentoService: TipoPagamentoService \n , private permissaoAcessoService: PermissaoAcessoService ) { \n\n \n\n }\n\n ionViewWillEnter(){\n \n this.functionsService.presentLoading();\n\n //verificar as permissões de acesso\n this.checkAccessControl();\n\n this.configuracaoPagamentoService.findAll().subscribe(\n resp=>{\n\n this.configuracoes = resp;\n\n //se não tiver nenhuma configuração, cria todas elas no BD desabilitadas\n if(this.configuracoes.length===0){\n this.configuracoes = [];\n\n //boleto\n this.configBoleto.tipoPagamento = TIPO_PAGAMENTO.BOLETO;\n \n this.configBoleto.disponivelTodasAgendas = false;\n this.configBoleto.prazoVencimentoBoleto = 1;\n this.configBoleto.antecedenciaProvas = 0;\n\n this.configuracaoPagamentoService.insert(this.configBoleto).subscribe(\n resp=>{\n\n this.configuracoes.push(resp.body);\n \n },\n error=>{\n console.log(error);\n });\n\n //credito a vista \n this.configCreditoVista.tipoPagamento = TIPO_PAGAMENTO.CREDITO_VISTA;\n this.configCreditoVista.disponivelTodasAgendas = false;\n this.configCreditoVista.antecedenciaProvas = 0;\n\n this.configuracaoPagamentoService.insert(this.configCreditoVista).subscribe(\n resp=>{\n this.configuracoes.push(resp.body);\n },\n error=>{\n console.log(error);\n });\n\n //credito parcelado sem juros\n this.configCreditoParceladoSemJuros.tipoPagamento = TIPO_PAGAMENTO.CREDITO_PARCELADO_SEM_JUROS;\n this.configCreditoParceladoSemJuros.disponivelTodasAgendas = false;\n this.configCreditoParceladoSemJuros.antecedenciaProvas = 0;\n\n this.configuracaoPagamentoService.insert(this.configCreditoParceladoSemJuros).subscribe(\n resp=>{\n this.configuracoes.push(resp.body);\n },\n error=>{\n console.log(error);\n });\n\n //credito parcelado com juros \n this.configCreditoParceladoComJuros.tipoPagamento = TIPO_PAGAMENTO.CREDITO_PARCELADO_COM_JUROS;\n this.configCreditoParceladoComJuros.disponivelTodasAgendas = false;\n this.configCreditoParceladoComJuros.antecedenciaProvas = 0;\n\n this.configuracaoPagamentoService.insert(this.configCreditoParceladoComJuros).subscribe(\n resp=>{\n this.configuracoes.push(resp.body);\n },\n error=>{\n console.log(error);\n });\n \n //debito \n this.configDebito.tipoPagamento = TIPO_PAGAMENTO.DEBITO;\n this.configDebito.disponivelTodasAgendas = false;\n this.configDebito.antecedenciaProvas = 0;\n\n this.configuracaoPagamentoService.insert(this.configDebito).subscribe(\n resp=>{\n this.configuracoes.push(resp.body);\n },\n error=>{\n console.log(error);\n });\n \n //pix \n this.configPix.tipoPagamento = TIPO_PAGAMENTO.PIX_QRCODE;\n this.configPix.disponivelTodasAgendas = false;\n this.configPix.antecedenciaProvas = 0;\n\n this.configuracaoPagamentoService.insert(this.configPix).subscribe(\n resp=>{\n this.configuracoes.push(resp.body);\n },\n error=>{\n console.log(error);\n });\n \n //recorrência\n this.configRecorrencia.tipoPagamento = TIPO_PAGAMENTO.RECORRENCIA;\n this.configRecorrencia.disponivelTodasAgendas = false;\n this.configRecorrencia.antecedenciaProvas = 0;\n\n this.configuracaoPagamentoService.insert(this.configRecorrencia).subscribe(\n resp=>{\n this.configuracoes.push(resp.body);\n },\n error=>{\n console.log(error);\n });\n\n //checkout getnet\n this.configCheckoutGetnet.tipoPagamento = TIPO_PAGAMENTO.CHECKOUT_GETNET;\n this.configCheckoutGetnet.disponivelTodasAgendas = false;\n this.configCheckoutGetnet.antecedenciaProvas = 0;\n\n this.configuracaoPagamentoService.insert(this.configCheckoutGetnet).subscribe(\n resp=>{\n this.configuracoes.push(resp.body);\n },\n error=>{\n console.log(error);\n });\n \n }else{\n\n \n for(var i=0; i{ \n\n console.log(error);\n\n });\n\n }\n\n\n checkAccessControl(){\n\n this.permissaoAcessoService.canCreateAndEdit(window.location.href).subscribe({\n next:(resp)=>{\n this.canCreateEdit = resp;\n },\n error:(error)=>{\n this.canCreateEdit = false;\n }\n });\n\n this.permissaoAcessoService.canRemove(window.location.href).subscribe({\n next:(resp)=>{\n this.canRemove = resp;\n },\n error:(error)=>{\n this.canRemove = false;\n }\n });\n\n\n }\n \n ngOnInit() {\n }\n\n\n getNomeTipoPagamento(tipo: string): string{\n return this.tipoPagamentoService.getName(tipo);\n }\n\n onProvedorChange(config: ConfiguracaoPagamentoDTO): void {\n console.log(`Provedor selecionado para ${config.tipoPagamento}:`, config.operadora);\n // Caso precise de validações ou ações adicionais, insira aqui.\n }\n \n \n\n save(){\n\n //ao menos uma deve estar disponível em todas as agendas\n let validado = false;\n for(var i=0; iPor favor, corrija e salve novamente.'\n , ['Ok']);\n return;\n }\n\n let alertExibido = false;\n\n this.functionsService.presentLoading();\n\n for(var i=0; i{\n \n if(i==this.configuracoes.length && !alertExibido){\n alertExibido = true;\n this.functionsService.showAlert('Sucesso!', 'Dados atualizados com sucesso!', ['Ok']);\n this.functionsService.dismissLoading();\n }\n \n },\n error=>{\n \n console.log(error);\n this.functionsService.dismissLoading();\n\n });\n\n }\n\n \n \n }\n\n\n checkSelected(configuracao: ConfiguracaoPagamentoDTO){\n\n if(!configuracao.disponivelTodasAgendas){//só precisa validar se estiver ativando\n return;\n }\n\n //a ativação de qualquer forma de pgto desabilita o checkout da getnet\n if(configuracao.tipoPagamento !== TIPO_PAGAMENTO.CHECKOUT_GETNET){\n this.configuracoes.forEach(\n config=>{\n\n //desabilita todas as demais\n if(config.tipoPagamento===TIPO_PAGAMENTO.CHECKOUT_GETNET){\n config.disponivelTodasAgendas = false;\n }\n }\n );\n }\n\n if(configuracao.tipoPagamento === TIPO_PAGAMENTO.CREDITO_PARCELADO_COM_JUROS){\n this.configuracoes.forEach(\n config=>{\n if(config.tipoPagamento===TIPO_PAGAMENTO.CREDITO_PARCELADO_SEM_JUROS){\n config.disponivelTodasAgendas = false;\n return;\n }\n }\n );\n }\n\n if(configuracao.tipoPagamento === TIPO_PAGAMENTO.CREDITO_PARCELADO_SEM_JUROS){\n this.configuracoes.forEach(\n config=>{\n if(config.tipoPagamento===TIPO_PAGAMENTO.CREDITO_PARCELADO_COM_JUROS){\n config.disponivelTodasAgendas = false;\n return;\n }\n }\n );\n }\n\n \n\n if(configuracao.tipoPagamento === TIPO_PAGAMENTO.CHECKOUT_GETNET){\n this.configuracoes.forEach(\n config=>{\n\n //desabilita todas as demais\n if(config.tipoPagamento!==TIPO_PAGAMENTO.CHECKOUT_GETNET){\n config.disponivelTodasAgendas = false;\n return;\n }\n \n }\n );\n }\n\n }\n}\n","export const OPERADORA_PAGAMENTO = {\r\n \r\n Getnet: \"Getnet\",\r\n Rede: \"Rede\",\r\n Maxipago: \"Maxipago\",\r\n Escola_1: \"Escola_1\",\r\n}","import { ComponentsModule } from '../../../../components/components.module';\nimport { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\n\nimport { IonicModule } from '@ionic/angular';\n\nimport { GcAdmTiposPagamentoPageRoutingModule } from './gc-adm-tipos-pagamento-routing.module';\n\nimport { GcAdmTiposPagamentoPage } from './gc-adm-tipos-pagamento.page';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n IonicModule,\n GcAdmTiposPagamentoPageRoutingModule,\n ComponentsModule\n ],\n declarations: [GcAdmTiposPagamentoPage]\n})\nexport class GcAdmTiposPagamentoPageModule {}\n","import { Injectable } from '@angular/core';\nimport { BehaviorSubject } from 'rxjs';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class DataSharingService {\n\n //serviço usado para emitir a mensagem para outros componentes que precisem saber quando o usuário está logado ou não\n public isUserLoggedIn: BehaviorSubject = new BehaviorSubject(false);\n \n //serviço usado para emitir a mensagem do header para a página gc-analisar-documentacao\n public idInscricaoSelecionada: BehaviorSubject = new BehaviorSubject(0);\n \n \n constructor() { }\n\n}\n","import { HttpClient } from '@angular/common/http';\nimport { API_CONFIG } from './../../config/api.config';\nimport { ConfiguracaoPagamentoDTO } from '../../models/financeiro/configuracaoPagamentoDTO';\nimport { Observable } from 'rxjs/internal/Observable';\nimport { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class ConfiguracaoPagamentoService {\n\n constructor(private http: HttpClient){ \n }\n\n insert(configuracaoPagamentoDTO: ConfiguracaoPagamentoDTO) : Observable {\n \n\n return this.http.post( API_CONFIG.apiURL+'/configuracoespagamento'\n , configuracaoPagamentoDTO\n , { observe: 'response' }); //.pipe(timeout(100000))\n\n }\n\n update(configuracaoPagamentoDTO: ConfiguracaoPagamentoDTO) : Observable {\n \n return this.http.put( API_CONFIG.apiURL+'/configuracoespagamento/' + configuracaoPagamentoDTO.id\n , configuracaoPagamentoDTO\n , { observe: 'response' });\n\n }\n\n\n findAll() : Observable {\n\n return this.http.get( API_CONFIG.apiURL+'/configuracoespagamento');\n\n }\n\n \n find(id: number) : Observable {\n\n return this.http.get( API_CONFIG.apiURL+'/configuracoespagamento/' + id);\n\n }\n\n\n findByTipoPagamento(tipoPagamento: string) : Observable {\n\n return this.http.get( API_CONFIG.apiURL+'/configuracoespagamento/findByTipoPagamento?tipoPagamento=' + tipoPagamento);\n\n }\n \n delete(id: number) : Observable {\n\n return this.http.delete( `${API_CONFIG.apiURL}${'/configuracoespagamento/'}${id}`);\n\n }\n\n}\n","import { TIPO_PAGAMENTO } from './../../config/tipo-pagamento.config';\nimport { Observable } from 'rxjs/internal/Observable';\nimport { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class TipoPagamentoService {\n\n constructor() { }\n\n\n getName(tipo: string) :string {\n\n if(tipo === TIPO_PAGAMENTO.BOLETO){\n return 'Boleto';\n }\n\n if(tipo === TIPO_PAGAMENTO.CREDITO_VISTA){\n return 'Crédito a Vista';\n }\n\n if(tipo === TIPO_PAGAMENTO.CREDITO_PARCELADO_SEM_JUROS){\n return 'Credito Parcelado S/ Juros';\n }\n\n if(tipo === TIPO_PAGAMENTO.CREDITO_PARCELADO_COM_JUROS){\n return 'Credito Parcelado C/ Juros';\n }\n\n if(tipo === TIPO_PAGAMENTO.DEBITO){\n return 'Débito';\n }\n\n if(tipo === TIPO_PAGAMENTO.PIX_QRCODE){\n return 'PIX';\n }\n\n if(tipo === TIPO_PAGAMENTO.RECORRENCIA){\n return 'Recorrência';\n }\n\n if(tipo === TIPO_PAGAMENTO.CHECKOUT_GETNET){\n return 'Checkout da Getnet';\n }\n\n }\n}\n"],"sourceRoot":"webpack:///","file":"9846.d2b0e0ea98e3629f.js"}