{"version":3,"sources":["webpack:///./src/models/nfse/Daps.js","webpack:///./src/models/tributario/RetificarDeclaracaoAnalise.js","webpack:///./src/views/DeclaracaoSubstituicao.vue?0246","webpack:///./src/models/nfse/DapsRecusaMotivoModel.js","webpack:///src/views/DeclaracaoSubstituicao.vue","webpack:///./src/views/DeclaracaoSubstituicao.vue?70a3","webpack:///./src/views/DeclaracaoSubstituicao.vue?78d6","webpack:///./src/services/nfse/daps.service.js","webpack:///./src/services/tributario/declaracao.service.js","webpack:///./src/services/tributario/declaracao.retificacao.service.js","webpack:///./src/views/DeclaracaoSubstituicao.vue?c46c","webpack:///./src/services/tributario/declaracao.substituicao.service.js"],"names":["Daps","this","id","dataEmissao","ano","mes","dataFatoGerador","numeroNota","valorServico","valorDesconto","valorBaseCalculo","aliquota","valorIss","tipoRecolhimento","discriminacaoServico","idRegimeTributacao","origem","tipoNfse","codigoVerificacao","codigoVerificacaoOrigem","dataVigenciaInicial","dataVigenciaFinal","version","motivoRecusaDaps","idCliente","idUsuario","idCntTomador","idTomadorDados","idPrestadorDados","idServicoItem","idMunicPrestacao","idFichaRespostaPai","idFluxoInstanciaAtividade","RetificarDeclaracaoAnalise","motivoRetificacao","status","idDeclaracao","idContribuinte","render","_vm","_h","$createElement","_c","_self","staticClass","_m","staticStyle","_v","attrs","model","value","callback","$$v","competencia","expression","loading","on","$event","alterarCompetencia","showNotaDam","_s","numeroNfsePesquisa","_e","filtro","displayRetificar","slot","declaracaoSelecionada","numero","dataFormatada","semMovimento","removerNotasDeclaracao","key","listNotasDeclaradas","scopedSlots","_u","fn","slotProps","removerNotaDeclaracao","data","ref","listDeclaracao","rowClass","filtersModel","exportCSVDt1","proxy","exportarExcel","impressaoDeclaracao","impressaoProtocolo","dataEncerramento","idBolDebito","impressaoBoletos","pago","fechamentoAutomatico","encerrarDeclaracao","carregarRetificacao","isAnaliseRetificacao","habilitarCredito","showDiaglogAplicarCredito","cancelarDeclaracao","carregarAvulsos","directives","name","rawName","currentUser","usuario","idBolAdmin","inativo","openTransferirCalculoes","openSuspensao","situacao","class","lineClass","$set","numeroRetificador","dataPagamentoFormatada","valorFormatado","valorPagoFormatado","selecionarTodos","checkTodos","listNotas","filtersModelNotas","impressaoNota","isNotaFiscal","downloadXml","habilitarAceiteTomador","tipo","displayDialogAceiteTomador","showRecusaDaps","displayDialogRecDaps","isExibirDataPagamento","adicionarNotasDeclaracao","retificarDeclaracao","hideRetificar","declarar","style","width","showDialogRecusaDaps","dapsRecusa","domProps","target","composing","showDialogAceiteTomador","notaSelecionada","prestador","motivoRetencaoIndevida","trim","saveRetencaoIndevida","showRetificarDecAnalise","decAnalise","saveMotivoRetifcacao","closeDialogRetifAnalise","showSelectComp","overflow","listAnos","filtroAno","listMeses","filtroMes","pesquisar","fecharSelectCompetencia","displayDecSemMov","declararSemMovimento","hideDecSemMov","displayVencBoleto","dtVencBoleto","disableDataVencDam","vencimentoSelect","dataVencimento","tipoEmissaoBoleto","imprimirBoleto","imprimirBoletoPix","hideVencBoleto","displayBoletos","listBoletos","pagamentoEfetuado","carregarVencimentoBoleto","habilitarPix","escolhaPagamentoPix","consultarPagamentoPix","hideBoletos","displayAvulsos","listAvulsos","impressaoComprovante","hideAvulsos","showEscolhaPix","criarPagamentoPix","idDamAgrupamento","showPix","optionsPix","pixGerado","qrCode","copiarPix","showPesqNota","pesquisarPorNota","dadosCredito","showAplicarCredito","valorCreditoAplicado","percentualLimiteAbatimentoCredito","aplicarCredito","showTransfValores","numeroDeclaracaoDestino","transferirCalculos","estadoSuspensao","showSuspensao","efetivarSuspensao","staticRenderFns","DapsMotivoRecusaModel","motivoRecusa","components","QRCanvas","apresentacao","dtVenc","filters","competenciaLimite","showImpressaoBoletos","idDeclaracaoSelecionada","idDecLancamentoSelecionado","cellSize","observacaoClienteNfse","habilitarRecDaps","motivoRecDaps","dapsSelecionada","DapsRecusaMotivoModel","daps","boletos","admin","vencimentoAnterior","travaDam","created","Date","setMonth","getMonth","configuracao","idBolAceiteTomador","idBolRecusaDeclaracao","idBolUtilizarPix","idBolCreditoHabilitado","carregarAnos","carregarMeses","carregarCompetenciaAtual","displayRecusaDaps","nfDiasTravaPagamentoBoleto","methods","declaracao","estado","processando","dateSelect","setHours","navigator","clipboard","writeText","rolarPagina","document","getElementById","scrollIntoView","behavior","nota","closeDialogRecDaps","limparDadosRecDaps","parseInt","novaCompetencia","compMax","$root","$emit","show","i","push","filter","forEach","selecionado","event","detail","confirmaDeclararSemMovimento","checked","declararNotas","declararParc","console","log","response","dataPagamento","listNotasSelecionadas","parc","splice","sort","a","b","parseFloat","notaDec","item","index","object","newList","showDialogRetifAnalise","limparDadosDecAnalise","contribuinte","saveMotivoRecDaps","exportarDeclaracaoTipo","ret","tipoEmissao","d","bloqueiaDataVencDam","novaData","vencimentoMaximo","vencimento","tipoDam","formatted_string","user_str","pad","pad_pos","slice","length","substring","idBolFechamentoRegimeCaixa","imprimirExcel","imprimirConsultaTipo","computed","get","idBolDecRetifAnalise","component","API_URL","DapsService","idNfsPessoa","LoginService","subscribe","headers","token","currentUserValue","JSON","stringify","axios","post","valorAliquota","regimeTributacao","aliquotaServico","idBeneficio","idServico","pessoa","dataIni","dataFin","tipoDaps","filtroSituacao","filtroIntermediario","then","elements","idDaps","tipoTomdor","idPessoa","documentoEmissor","idLocalidade","type","nome","url","method","responseType","fileURL","window","URL","createObjectURL","Blob","fileLink","createElement","href","setAttribute","body","appendChild","click","emails","comentarios","Declaracao","dataFim","documento","composicaoNotas","notasFiscais","listItensDeclaracao","atualizarVencimento","atualizarVencimentoSimples","idCalculoParcelado","idDeclaracaoOrigem","DeclaracaoRetificacaoService","DeclaracaoSubstituicao"],"mappings":"2IAAMA,EACF,aAAc,uBACZC,KAAKC,GAAK,KACVD,KAAKE,YAAc,GACnBF,KAAKG,IAAM,GACXH,KAAKI,IAAM,GACXJ,KAAKK,gBAAkB,GACvBL,KAAKM,WAAa,GAClBN,KAAKO,aAAe,EACpBP,KAAKQ,cAAgB,EACrBR,KAAKS,iBAA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GAEvC,OADA9D,KAAKoC,eAAiB4R,OAAaI,iBAAiBhC,aAAahQ,eAC1DmS,IAAMb,IAAIG,EAAU,oDAAsD7T,KAAKoC,eAChF,QAAUjC,EACV,QAAUC,EACV,WAAa8D,EACb,WAAaJ,EACf,CAAEoQ,QAASlU,KAAKkU,c,KAIb,WAAIuD","file":"js/declaracao.substituicao.7cc900f3.js","sourcesContent":["class Daps {\r\n    constructor() {\r\n      this.id = null\r\n      this.dataEmissao = ''\r\n      this.ano = ''\r\n      this.mes = ''\r\n      this.dataFatoGerador = ''\r\n      this.numeroNota = ''\r\n      this.valorServico = 0\r\n      this.valorDesconto = 0\r\n      this.valorBaseCalculo = 0\r\n      this.aliquota = 0\r\n      this.valorIss = 0\r\n      this.tipoRecolhimento = ''\r\n      this.discriminacaoServico = ''\r\n      this.idRegimeTributacao = ''\r\n      this.origem = ''\r\n      this.tipoNfse = ''\r\n      this.codigoVerificacao = ''\r\n      this.codigoVerificacaoOrigem = ''\r\n      this.dataVigenciaInicial = ''\r\n      this.dataVigenciaFinal = ''\r\n      this.version = ''\r\n      this.motivoRecusaDaps = '';\r\n\r\n      // Joins...\r\n      this.idCliente = null\r\n      this.idUsuario = null\r\n      this.idCntTomador = null\r\n      this.idTomadorDados = null\r\n      this.idPrestadorDados = null\r\n      this.idServicoItem = null\r\n      this.idMunicPrestacao = null\r\n      this.idFichaRespostaPai = null\r\n      this.idFluxoInstanciaAtividade = null\r\n    }\r\n  }\r\n  \r\n  export default Daps\r\n  ","class RetificarDeclaracaoAnalise{\r\n  constructor(){\r\n    this.id = null;\r\n    this.motivoRetificacao = null;\r\n    this.status = null;\r\n    this.idDeclaracao = null;\r\n    this.idContribuinte = null;\r\n  }\r\n}\r\n\r\nexport default RetificarDeclaracaoAnalise","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"container-fluid\"},[_c('div',[_c('div',{staticClass:\"card\"},[_vm._m(0),_c('div',{staticClass:\"card-body\"},[_c('label',{staticStyle:{\"font-weight\":\"bold\",\"font-size\":\"12px\"}},[_vm._v(\"Competência:\")]),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-4 col-lg-2 mb-3\"},[_c('InputText',{attrs:{\"disabled\":\"\"},model:{value:(_vm.competencia),callback:function ($$v) {_vm.competencia=$$v},expression:\"competencia\"}})],1),_c('div',[_c('Button',{staticClass:\"p-button-primary mr-2\",attrs:{\"label\":\"Alterar\",\"type\":\"button\",\"icon\":\"pi pi-search\",\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.alterarCompetencia()}}})],1),_c('div',{staticClass:\"col-md-4 col-lg-2 mb-3\"},[_c('Button',{staticClass:\"p-button-primary mr-2 p-button-success\",attrs:{\"alt\":\"Pesquisar Por Nfse\",\"label\":\"Pesquisar Por Nfse\",\"type\":\"button\",\"icon\":\"pi pi-search\",\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.showNotaDam()}}}),(this.numeroNfsePesquisa)?_c('label',{staticStyle:{\"font-size\":\"12px\"}},[_vm._v(\"Filtro Nfse Número:\\n              \"+_vm._s(this.numeroNfsePesquisa))]):_vm._e(),(this.filtro)?_c('label',{staticStyle:{\"font-size\":\"12px\"}},[_vm._v(\"Filtro CPF/CNPJ/Nome Prestador:\\n              \"+_vm._s(this.filtro))]):_vm._e()],1),(false)?_c('div',{staticClass:\"col-md-4 col-lg-2 mb-3\"},[_c('router-link',{attrs:{\"to\":\"/importacaoAceite\"}},[_c('Button',{attrs:{\"type\":\"button\",\"icon\":\"pi pi-upload\",\"label\":\"Importar notas fiscais\",\"title\":\"Importar notas fiscais\"}})],1)],1):_vm._e()]),_c('hr'),(!_vm.displayRetificar)?[_c('div',{staticClass:\"row pr-3 pl-3\"},[_vm._m(1),_c('DataTable',{key:0,ref:\"dt1\",staticClass:\"p-datatable-responsive\",staticStyle:{\"min-width\":\"100%\"},attrs:{\"value\":_vm.listDeclaracao,\"paginator\":true,\"rows\":10,\"autoLayout\":true,\"rowClass\":_vm.rowClass,\"filters\":_vm.filtersModel},scopedSlots:_vm._u([{key:\"footer\",fn:function(){return [_c('div',{staticStyle:{\"text-align\":\"right\"}},[_c('Button',{attrs:{\"icon\":\"pi pi-external-link\",\"label\":\"Exportar para CSV\"},on:{\"click\":function($event){return _vm.exportCSVDt1($event)}}})],1)]},proxy:true}],null,false,2821551045)},[_c('Column',{attrs:{\"headerStyle\":\"width: 1%\"},scopedSlots:_vm._u([{key:\"body\",fn:function(slotProps){return [_c('div',{staticClass:\"dropdown\"},[_c('Button',{staticClass:\"btn btn-primary\",attrs:{\"type\":\"button\",\"id\":\"dropdownMenuButton\",\"icon\":\"pi pi-angle-down\",\"data-toggle\":\"dropdown\",\"title\":\"Opções\",\"aria-haspopup\":\"true\",\"aria-expanded\":\"false\"}}),_c('div',{staticClass:\"dropdown-menu\",attrs:{\"aria-labelledby\":\"dropdownMenuButton\"}},[_c('button',{staticClass:\"dropdown-item\",attrs:{\"type\":\"button\",\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.exportarExcel(slotProps.data.id)}}},[_c('span',{staticClass:\"pi pi-file-excel mr-2\"}),_vm._v(\"Exportação\\n                        Declaração\\n                      \")]),_c('button',{staticClass:\"dropdown-item\",attrs:{\"type\":\"button\",\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.impressaoDeclaracao(slotProps.data.id)}}},[_c('span',{staticClass:\"pi pi-print mr-2\"}),_vm._v(\"Impressão\\n                        Declaração\\n                      \")]),(_vm.apresentacao)?_c('button',{staticClass:\"dropdown-item\",attrs:{\"type\":\"button\",\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.impressaoProtocolo(slotProps.data.id)}}},[_c('span',{staticClass:\"pi pi-print mr-2\"}),_vm._v(\"Impressão\\n                        Protocolo\\n                      \")]):_vm._e(),(slotProps.data.dataEncerramento &&\n                          !slotProps.data.dataVigenciaFinal &&\n                          slotProps.data.semMovimento != 'Sim' &&\n                          slotProps.data.idBolDebito === 'S')?_c('button',{staticClass:\"dropdown-item\",attrs:{\"type\":\"button\",\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.impressaoBoletos(\n                          slotProps.data.id,\n                          slotProps.data.pago\n                        )}}},[_c('span',{staticClass:\"pi pi-print mr-2\"}),_vm._v(\"Impressão\\n                        Boleto(s)\\n                      \")]):_vm._e(),(!slotProps.data.dataEncerramento &&\n                          !slotProps.data.dataVigenciaFinal && !_vm.fechamentoAutomatico\n                        )?_c('button',{staticClass:\"dropdown-item\",attrs:{\"type\":\"button\",\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.encerrarDeclaracao(slotProps.data.id)}}},[_c('span',{staticClass:\"pi pi-pencil mr-2\"}),_vm._v(\"Encerrar\\n                        Declaração\\n                      \")]):_vm._e(),(!slotProps.data.dataEncerramento &&\n                        !slotProps.data.dataVigenciaFinal\n                      )?_c('div',{staticClass:\"dropdown-divider\"}):_vm._e(),(slotProps.data.dataEncerramento &&\n                          !slotProps.data.dataVigenciaFinal &&\n                          slotProps.data.pago != 'Sim' && !_vm.fechamentoAutomatico &&\n                          (slotProps.data.idBolDebito === 'S' || slotProps.data.idBolDebito === 'M')\n                        )?_c('button',{staticClass:\"dropdown-item\",attrs:{\"type\":\"button\",\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.carregarRetificacao(slotProps.data)}}},[_c('span',{staticClass:\"pi pi-replay mr-2\"}),_vm._v(_vm._s(!_vm.isAnaliseRetificacao ? 'Retificar Declaração' : 'Cancelar Declaração')+\"\\n                      \")]):_vm._e(),(slotProps.data.dataEncerramento &&\n                          !slotProps.data.dataVigenciaFinal &&\n                          slotProps.data.semMovimento != 'Sim' &&\n                          slotProps.data.idBolDebito === 'S' && _vm.habilitarCredito)?_c('button',{staticClass:\"dropdown-item\",attrs:{\"type\":\"button\",\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.showDiaglogAplicarCredito(slotProps.data)}}},[_c('span',{staticClass:\"pi pi-money-bill mr-2\"}),_vm._v(\"Aplicar Crédito\\n                      \")]):_vm._e(),(!slotProps.data.dataEncerramento &&\n                          !slotProps.data.dataVigenciaFinal && !_vm.fechamentoAutomatico\n                        )?_c('button',{staticClass:\"dropdown-item\",attrs:{\"type\":\"button\",\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.cancelarDeclaracao(slotProps.data.id)}}},[_c('span',{staticClass:\"pi pi-times mr-2\"}),_vm._v(\"Cancelar\\n                      \")]):_vm._e(),_c('button',{staticClass:\"dropdown-item\",attrs:{\"type\":\"button\",\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.carregarAvulsos(slotProps.data.id)}}},[_c('span',{staticClass:\"pi pi-list mr-2\"}),_vm._v(\"Lançamentos\\n                        Avulsos\\n                      \")]),_c('button',{directives:[{name:\"show\",rawName:\"v-show\",value:(slotProps.data.dataEncerramento && _vm.currentUser.usuario.idBolAdmin),expression:\"slotProps.data.dataEncerramento && currentUser.usuario.idBolAdmin\"}],staticClass:\"dropdown-item\",attrs:{\"type\":\"button\",\"disabled\":_vm.loading || _vm.inativo},on:{\"click\":function($event){return _vm.openTransferirCalculoes(slotProps.data)}}},[_c('span',{staticClass:\"pi pi-pencil mr-2\"}),_vm._v(\"Transferir Valores\\n                      \")]),(slotProps.data.dataEncerramento && _vm.currentUser.usuario.idBolAdmin &&\n                          !slotProps.data.dataVigenciaFinal &&\n                          slotProps.data.pago != 'Sim' && !_vm.fechamentoAutomatico &&\n                          (slotProps.data.idBolDebito === 'S' || slotProps.data.idBolDebito === 'M')\n                        )?_c('button',{staticClass:\"dropdown-item\",attrs:{\"type\":\"button\",\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.openSuspensao(slotProps.data, 'S')}}},[_c('span',{staticClass:\"pi pi-key mr-2\"}),_vm._v(\"Suspender Guia\\n                      \")]):_vm._e(),(slotProps.data.dataEncerramento && _vm.currentUser.usuario.idBolAdmin &&\n                          !slotProps.data.dataVigenciaFinal &&\n                          slotProps.data.pago != 'Sim' && !_vm.fechamentoAutomatico &&\n                          (slotProps.data.situacao === 'Suspenso Processo')\n                        )?_c('button',{staticClass:\"dropdown-item\",attrs:{\"type\":\"button\",\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.openSuspensao(slotProps.data, 'C')}}},[_c('span',{staticClass:\"pi pi-lock-open mr-2\"}),_vm._v(\"Cancelar Suspenso Processo\\n                      \")]):_vm._e()])],1)]}}],null,false,2827762535)}),(false)?_c('Column',{attrs:{\"headerStyle\":\"width: 10%\",\"field\":\"id\",\"header\":\"Id\"},scopedSlots:_vm._u([{key:\"body\",fn:function(slotProps){return [_c('div',{class:_vm.lineClass(slotProps.data)},[_vm._v(\"\\n                    \"+_vm._s(slotProps.data.id)+\"\\n                  \")])]}}],null,false,1312836758)}):_vm._e(),_c('Column',{attrs:{\"headerStyle\":\"width: 10%\",\"field\":\"numero\",\"header\":\"Número\"},scopedSlots:_vm._u([{key:\"body\",fn:function(slotProps){return [_c('div',{class:_vm.lineClass(slotProps.data)},[_vm._v(\"\\n                    \"+_vm._s(slotProps.data.numero)+\"\\n                  \")])]}},{key:\"filter\",fn:function(){return [_c('InputText',{staticClass:\"p-column-filter\",staticStyle:{\"width\":\"10em\"},attrs:{\"type\":\"text\",\"placeholder\":\"Iniciando com\"},model:{value:(_vm.filtersModel['numero']),callback:function ($$v) {_vm.$set(_vm.filtersModel, 'numero', $$v)},expression:\"filtersModel['numero']\"}})]},proxy:true}],null,false,681183146)}),_c('Column',{attrs:{\"headerStyle\":\"width: 15%\",\"field\":\"idRetificado\",\"header\":\"Retificado\"},scopedSlots:_vm._u([{key:\"body\",fn:function(slotProps){return [_c('div',{class:_vm.lineClass(slotProps.data)},[_vm._v(\"\\n                    \"+_vm._s(slotProps.data.numeroRetificador\n                        ? \"Retificado pela Declaração nº \" +\n                        slotProps.data.numeroRetificador\n                        : \"-\")+\"\\n                  \")])]}}],null,false,594170719)}),_c('Column',{attrs:{\"headerStyle\":\"width: 3%\",\"field\":\"dataFormatada\",\"header\":\"Data\"},scopedSlots:_vm._u([{key:\"body\",fn:function(slotProps){return [_c('div',{class:_vm.lineClass(slotProps.data)},[_vm._v(\"\\n                    \"+_vm._s(slotProps.data.dataFormatada)+\"\\n                  \")])]}},{key:\"filter\",fn:function(){return [_c('InputText',{staticClass:\"p-column-filter\",staticStyle:{\"width\":\"5em\"},attrs:{\"type\":\"text\",\"placeholder\":\"Iniciando com\"},model:{value:(_vm.filtersModel['dataFormatada']),callback:function ($$v) {_vm.$set(_vm.filtersModel, 'dataFormatada', $$v)},expression:\"filtersModel['dataFormatada']\"}})]},proxy:true}],null,false,2888903966)}),_c('Column',{attrs:{\"headerStyle\":\"width: 5%\",\"field\":\"semMovimento\",\"header\":\"Sem Movimento?\"},scopedSlots:_vm._u([{key:\"body\",fn:function(slotProps){return [_c('div',{class:_vm.lineClass(slotProps.data)},[_vm._v(\"\\n                    \"+_vm._s(slotProps.data.semMovimento)+\"\\n                  \")])]}},{key:\"filter\",fn:function(){return [_c('InputText',{staticClass:\"p-column-filter\",staticStyle:{\"width\":\"5em\"},attrs:{\"type\":\"text\",\"placeholder\":\"Iniciando com\"},model:{value:(_vm.filtersModel['semMovimento']),callback:function ($$v) {_vm.$set(_vm.filtersModel, 'semMovimento', $$v)},expression:\"filtersModel['semMovimento']\"}})]},proxy:true}],null,false,173124446)}),_c('Column',{attrs:{\"headerStyle\":\"width: 10%\",\"field\":\"situacao\",\"header\":\"Status\"},scopedSlots:_vm._u([{key:\"body\",fn:function(slotProps){return [_c('div',{class:_vm.lineClass(slotProps.data)},[_vm._v(\"\\n                    \"+_vm._s(slotProps.data.situacao)+\"\\n                  \")])]}},{key:\"filter\",fn:function(){return [_c('InputText',{staticClass:\"p-column-filter\",staticStyle:{\"width\":\"10em\"},attrs:{\"type\":\"text\",\"placeholder\":\"Iniciando com\"},model:{value:(_vm.filtersModel['situacao']),callback:function ($$v) {_vm.$set(_vm.filtersModel, 'situacao', $$v)},expression:\"filtersModel['situacao']\"}})]},proxy:true}],null,false,3799922570)}),_c('Column',{attrs:{\"headerStyle\":\"width: 5%\",\"field\":\"pago\",\"header\":\"Pago?\"},scopedSlots:_vm._u([{key:\"body\",fn:function(slotProps){return [_c('div',{class:_vm.lineClass(slotProps.data)},[_vm._v(\"\\n                    \"+_vm._s(slotProps.data.pago)+\"\\n                  \")])]}},{key:\"filter\",fn:function(){return [_c('InputText',{staticClass:\"p-column-filter\",staticStyle:{\"width\":\"5em\"},attrs:{\"type\":\"text\",\"placeholder\":\"Iniciando com\"},model:{value:(_vm.filtersModel['pago']),callback:function ($$v) {_vm.$set(_vm.filtersModel, 'pago', $$v)},expression:\"filtersModel['pago']\"}})]},proxy:true}],null,false,2677694686)}),_c('Column',{attrs:{\"headerStyle\":\"width: 5%\",\"field\":\"dataPagamentoFormatada\",\"header\":\"Data Pagamento\"},scopedSlots:_vm._u([{key:\"body\",fn:function(slotProps){return [_c('div',{class:_vm.lineClass(slotProps.data)},[_vm._v(\"\\n                    \"+_vm._s(slotProps.data.dataPagamentoFormatada)+\"\\n                  \")])]}},{key:\"filter\",fn:function(){return [_c('InputText',{staticClass:\"p-column-filter\",staticStyle:{\"width\":\"5em\"},attrs:{\"type\":\"text\",\"placeholder\":\"Iniciando com\"},model:{value:(_vm.filtersModel['dataPagamentoFormatada']),callback:function ($$v) {_vm.$set(_vm.filtersModel, 'dataPagamentoFormatada', $$v)},expression:\"filtersModel['dataPagamentoFormatada']\"}})]},proxy:true}],null,false,2337914078)}),_c('Column',{attrs:{\"headerStyle\":\"width: 10%\",\"field\":\"valor\",\"header\":\"Valor\"},scopedSlots:_vm._u([{key:\"body\",fn:function(slotProps){return [_c('div',{class:_vm.lineClass(slotProps.data)},[_vm._v(\"\\n                    \"+_vm._s(slotProps.data.valorFormatado)+\"\\n                  \")])]}},{key:\"filter\",fn:function(){return [_c('InputText',{staticClass:\"p-column-filter\",staticStyle:{\"width\":\"10em\"},attrs:{\"type\":\"text\",\"placeholder\":\"Iniciando com\"},model:{value:(_vm.filtersModel['valor']),callback:function ($$v) {_vm.$set(_vm.filtersModel, 'valor', $$v)},expression:\"filtersModel['valor']\"}})]},proxy:true}],null,false,1496210211)}),_c('Column',{attrs:{\"headerStyle\":\"width: 10%\",\"field\":\"valorPago\",\"header\":\"Valor Pago\"},scopedSlots:_vm._u([{key:\"body\",fn:function(slotProps){return [_c('div',{class:_vm.lineClass(slotProps.data)},[_vm._v(\"\\n                    \"+_vm._s(slotProps.data.valorPagoFormatado)+\"\\n                  \")])]}},{key:\"filter\",fn:function(){return [_c('InputText',{staticClass:\"p-column-filter\",staticStyle:{\"width\":\"10em\"},attrs:{\"type\":\"text\",\"placeholder\":\"Iniciando com\"},model:{value:(_vm.filtersModel['valorPago']),callback:function ($$v) {_vm.$set(_vm.filtersModel, 'valorPago', $$v)},expression:\"filtersModel['valorPago']\"}})]},proxy:true}],null,false,1303507427)})],1)],1)]:[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"container-fluid\"},[_c('div',{staticClass:\"row\"},[_c('Card',{staticStyle:{\"width\":\"100%\"}},[_c('template',{slot:\"title\"},[_vm._v(\"Declaração de Número\\n                    \"+_vm._s(this.declaracaoSelecionada.numero)+\" Selecionada para\\n                    retificação.\")]),_c('template',{slot:\"content\"},[_vm._v(\"\\n                    Data: \"+_vm._s(this.declaracaoSelecionada.dataFormatada)+\"\\n                    \"),_c('br'),_vm._v(\"\\n                    Sem Movimento?\\n                    \"+_vm._s(this.declaracaoSelecionada.semMovimento)+\"\\n                    \"),_c('br')])],2)],1)]),_vm._m(2),_c('div',{staticClass:\"container-fluid\"},[_c('div',{staticClass:\"row\"},[_c('Button',{staticClass:\"p-button-primary mr-2 p-button-danger\",staticStyle:{\"margin-right\":\"0.5em\"},attrs:{\"type\":\"button\",\"title\":\"Remover Todos\",\"icon\":\"pi pi-times\",\"disabled\":_vm.loading,\"label\":\"Remover Todos\"},on:{\"click\":function($event){return _vm.removerNotasDeclaracao()}}})],1)]),_c('div',{staticClass:\"container-fluid\",staticStyle:{\"padding-top\":\"5px\"}},[_c('div',{staticClass:\"row\"},[_c('DataTable',{key:1,staticStyle:{\"min-width\":\"100%\"},attrs:{\"id\":\"teste\",\"value\":_vm.listNotasDeclaradas,\"paginator\":true,\"rows\":10,\"autoLayout\":true}},[_c('Column',{attrs:{\"headerStyle\":\"width: 4em\",\"header\":\"\",\"bodyStyle\":\"text-align: center\"},scopedSlots:_vm._u([{key:\"body\",fn:function(slotProps){return [_c('Button',{staticClass:\"p-button-primary mr-2 p-button-danger\",staticStyle:{\"margin-right\":\"0.5em\"},attrs:{\"type\":\"button\",\"title\":\"Remover\",\"icon\":\"pi pi-times\",\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.removerNotaDeclaracao(slotProps.data)}}})]}}])}),_c('Column',{attrs:{\"headerStyle\":\"width: 10%\",\"field\":\"tipo\",\"header\":\"Tipo\",\"bodyStyle\":\"text-align:right\"}}),_c('Column',{attrs:{\"headerStyle\":\"width: 10%\",\"field\":\"numero\",\"header\":\"Numero\",\"bodyStyle\":\"text-align:right\"}}),_c('Column',{attrs:{\"headerStyle\":\"width: 8em\",\"field\":\"dataEmissaoFormatada\",\"header\":\"Emissão\",\"bodyStyle\":\"text-align:center\"}}),_c('Column',{attrs:{\"headerStyle\":\"width: 8em\",\"field\":\"dataGeracaoFormatada\",\"header\":\"Geração\",\"bodyStyle\":\"text-align:center\"}}),_c('Column',{attrs:{\"headerStyle\":\"width: 12%\",\"field\":\"valorFormatado\",\"header\":\"Valor\",\"bodyStyle\":\"text-align:right\"}}),_c('Column',{attrs:{\"field\":\"prestador\",\"header\":\"Prestador\"}})],1)],1)])])],_c('h4',{staticClass:\"panel-title\"},[(!_vm.displayRetificar)?_c('span',{staticClass:\"title\"},[_vm._v(\"Notas Fiscais/DAPS em Aberto\"+_vm._s(!_vm.fechamentoAutomatico ? ' para realizar a Declaração.' : '.'))]):_vm._e(),(_vm.displayRetificar)?_c('span',{staticClass:\"title\"},[_vm._v(\"Adicione abaixo novas notas a Declaração.\")]):_vm._e()]),_c('hr'),(!_vm.fechamentoAutomatico)?[_c('Checkbox',{attrs:{\"binary\":true},on:{\"change\":function($event){return _vm.selecionarTodos()}},model:{value:(_vm.checkTodos),callback:function ($$v) {_vm.checkTodos=$$v},expression:\"checkTodos\"}}),_c('span',{staticStyle:{\"padding-left\":\"5px\",\"font-weight\":\"bold\",\"font-size\":\"12px\"}},[_vm._v(\"Selecionar Todos\")])]:_vm._e(),_c('div',{staticStyle:{\"padding-top\":\"10px\"}},[_c('DataTable',{ref:\"dt2\",staticStyle:{\"min-width\":\"100%\"},attrs:{\"value\":_vm.listNotas,\"paginator\":true,\"rows\":10,\"autoLayout\":true,\"filters\":_vm.filtersModelNotas}},[(!_vm.fechamentoAutomatico)?_c('Column',{attrs:{\"headerStyle\":\"width: 3%\",\"field\":\"selecionado\",\"header\":\"\"},scopedSlots:_vm._u([{key:\"body\",fn:function(slotProps){return [_c('Checkbox',{attrs:{\"binary\":true},model:{value:(slotProps.data.selecionado),callback:function ($$v) {_vm.$set(slotProps.data, \"selecionado\", $$v)},expression:\"slotProps.data.selecionado\"}})]}}],null,false,2365428420)}):_vm._e(),_c('Column',{attrs:{\"headerStyle\":\"width: 1%\"},scopedSlots:_vm._u([{key:\"body\",fn:function(slotProps){return [_c('div',{staticClass:\"dropdown\"},[_c('Button',{staticClass:\"btn btn-primary\",attrs:{\"type\":\"button\",\"id\":\"dropdownMenuButton\",\"icon\":\"pi pi-angle-down\",\"data-toggle\":\"dropdown\",\"title\":\"Opções\",\"aria-haspopup\":\"true\",\"aria-expanded\":\"false\"}}),_c('div',{staticClass:\"dropdown-menu\",attrs:{\"aria-labelledby\":\"dropdownMenuButton\"}},[_c('button',{staticClass:\"dropdown-item\",attrs:{\"type\":\"button\",\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.impressaoNota(slotProps.data.id)}}},[_c('span',{staticClass:\"pi pi-print mr-2\"}),_vm._v(\"Imprimir\\n                    \")]),(_vm.isNotaFiscal(slotProps.data.id))?_c('button',{staticClass:\"dropdown-item\",attrs:{\"type\":\"button\",\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.downloadXml(slotProps.data.id)}}},[_c('span',{staticClass:\"pi pi-download mr-2\"}),_vm._v(\"Exportar\\n                    \")]):_vm._e(),(_vm.habilitarAceiteTomador && (slotProps.data.tipo === 'Nfse' || slotProps.data.tipo === 'DAPS/Prestador') && slotProps.data.tipoRecolhimento === 'R')?_c('button',{staticClass:\"dropdown-item\",attrs:{\"type\":\"button\",\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.displayDialogAceiteTomador(slotProps.data)}}},[_c('span',{staticClass:\"pi pi-ban mr-2\"}),_vm._v(\"Retenção Indevida\\n                    \")]):_vm._e(),(_vm.showRecusaDaps && slotProps.data.tipo === 'DAPS/Prestador')?_c('button',{staticClass:\"dropdown-item\",attrs:{\"type\":\"button\",\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.displayDialogRecDaps(slotProps.data)}}},[_c('span',{staticClass:\"pi pi-ban mr-2\"}),_vm._v(\"Recusa Declaração\\n                    \")]):_vm._e()])],1)]}}])}),_c('Column',{attrs:{\"headerStyle\":\"width: 8em\",\"field\":\"tipo\",\"header\":\"Tipo\",\"bodyStyle\":\"text-align:right\"},scopedSlots:_vm._u([{key:\"filter\",fn:function(){return [_c('InputText',{staticClass:\"p-column-filter\",staticStyle:{\"width\":\"8em\"},attrs:{\"type\":\"text\",\"placeholder\":\"Iniciando com\"},model:{value:(_vm.filtersModelNotas['tipo']),callback:function ($$v) {_vm.$set(_vm.filtersModelNotas, 'tipo', $$v)},expression:\"filtersModelNotas['tipo']\"}})]},proxy:true}])}),(_vm.isExibirDataPagamento())?_c('Column',{attrs:{\"headerStyle\":\"width: 10%\",\"field\":\"dataPagamentoFormatada\",\"header\":\"Data Pag.\",\"bodyStyle\":\"text-align:right\"},scopedSlots:_vm._u([{key:\"body\",fn:function(slotProps){return [_c('InputText',{directives:[{name:\"maska\",rawName:\"v-maska\",value:('##/##/####'),expression:\"'##/##/####'\"}],staticClass:\"p-column-filter\",staticStyle:{\"width\":\"8em\"},attrs:{\"type\":\"text\",\"placeholder\":\"Data Pagamento\"},model:{value:(slotProps.data.dataPagamentoFormatada),callback:function ($$v) {_vm.$set(slotProps.data, \"dataPagamentoFormatada\", $$v)},expression:\"slotProps.data.dataPagamentoFormatada\"}})]}}],null,false,2535033248)}):_vm._e(),_c('Column',{attrs:{\"headerStyle\":\"width: 10%\",\"field\":\"numero\",\"header\":\"Numero\",\"bodyStyle\":\"text-align:right\"},scopedSlots:_vm._u([{key:\"filter\",fn:function(){return [_c('InputText',{staticClass:\"p-column-filter\",attrs:{\"type\":\"text\",\"placeholder\":\"Iniciando com\"},model:{value:(_vm.filtersModelNotas['numero']),callback:function ($$v) {_vm.$set(_vm.filtersModelNotas, 'numero', $$v)},expression:\"filtersModelNotas['numero']\"}})]},proxy:true}])}),_c('Column',{attrs:{\"headerStyle\":\"width: 8em\",\"field\":\"dataEmissaoFormatada\",\"header\":\"Emissão\",\"bodyStyle\":\"text-align:center\"},scopedSlots:_vm._u([{key:\"filter\",fn:function(){return [_c('InputText',{staticClass:\"p-column-filter\",staticStyle:{\"width\":\"8em\"},attrs:{\"type\":\"text\",\"placeholder\":\"Iniciando com\"},model:{value:(_vm.filtersModelNotas['dataEmissaoFormatada']),callback:function ($$v) {_vm.$set(_vm.filtersModelNotas, 'dataEmissaoFormatada', $$v)},expression:\"filtersModelNotas['dataEmissaoFormatada']\"}})]},proxy:true}])}),_c('Column',{attrs:{\"headerStyle\":\"width: 8em\",\"field\":\"dataGeracaoFormatada\",\"header\":\"Geração\",\"bodyStyle\":\"text-align:center\"},scopedSlots:_vm._u([{key:\"filter\",fn:function(){return [_c('InputText',{staticClass:\"p-column-filter\",staticStyle:{\"width\":\"8em\"},attrs:{\"type\":\"text\",\"placeholder\":\"Iniciando com\"},model:{value:(_vm.filtersModelNotas['dataGeracaoFormatada']),callback:function ($$v) {_vm.$set(_vm.filtersModelNotas, 'dataGeracaoFormatada', $$v)},expression:\"filtersModelNotas['dataGeracaoFormatada']\"}})]},proxy:true}])}),_c('Column',{attrs:{\"headerStyle\":\"width: 12%\",\"field\":\"valorFormatado\",\"header\":\"Valor\",\"bodyStyle\":\"text-align:right\"},scopedSlots:_vm._u([{key:\"filter\",fn:function(){return [_c('InputText',{staticClass:\"p-column-filter\",attrs:{\"type\":\"text\",\"placeholder\":\"Iniciando com\"},model:{value:(_vm.filtersModelNotas['valorFormatado']),callback:function ($$v) {_vm.$set(_vm.filtersModelNotas, 'valorFormatado', $$v)},expression:\"filtersModelNotas['valorFormatado']\"}})]},proxy:true}])}),_c('Column',{attrs:{\"field\":\"prestador\",\"header\":\"Prestador\"},scopedSlots:_vm._u([{key:\"filter\",fn:function(){return [_c('InputText',{staticClass:\"p-column-filter\",attrs:{\"type\":\"text\",\"placeholder\":\"Iniciando com\"},model:{value:(_vm.filtersModelNotas['prestador']),callback:function ($$v) {_vm.$set(_vm.filtersModelNotas, 'prestador', $$v)},expression:\"filtersModelNotas['prestador']\"}})]},proxy:true}])}),_c('Column',{attrs:{\"headerStyle\":\"width: 6em\",\"field\":\"situacao\",\"header\":\"Situação\",\"bodyStyle\":\"text-align:center\"},scopedSlots:_vm._u([{key:\"filter\",fn:function(){return [_c('InputText',{staticClass:\"p-column-filter\",staticStyle:{\"width\":\"6em\"},attrs:{\"type\":\"text\",\"placeholder\":\"Iniciando com\"},model:{value:(_vm.filtersModelNotas['situacao']),callback:function ($$v) {_vm.$set(_vm.filtersModelNotas, 'situacao', $$v)},expression:\"filtersModelNotas['situacao']\"}})]},proxy:true}])})],1)],1),_c('hr'),(!_vm.displayRetificar)?[(!_vm.fechamentoAutomatico)?_c('Button',{staticClass:\"p-button-primary mr-2 p-button-success\",attrs:{\"label\":\"Declarar\",\"type\":\"button\",\"icon\":\"pi pi-check\",\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.declarar($event)}}}):_vm._e(),(false)?_c('Button',{staticClass:\"p-button-primary mr-2 p-button-success\",attrs:{\"label\":\"Declarar Parcelado\",\"type\":\"button\",\"icon\":\"pi pi-check\",\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.declararParc()}}}):_vm._e()]:[_c('Button',{staticClass:\"p-button-primary mr-2\",attrs:{\"label\":\"Adicionar\",\"type\":\"button\",\"icon\":\"pi pi-check\",\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.adicionarNotasDeclaracao()}}}),_c('hr'),_c('Button',{staticClass:\"p-button-primary mr-2 p-button-success\",attrs:{\"label\":\"Retificar Declaração\",\"type\":\"button\",\"icon\":\"pi pi-replay\",\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.retificarDeclaracao()}}}),_c('Button',{staticClass:\"p-button-primary mr-2 p-button-danger\",attrs:{\"label\":\"Cancelar\",\"type\":\"button\",\"icon\":\"pi pi-times\",\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.hideRetificar()}}})]],2)])]),_c('Dialog',{staticClass:\"test-box\",style:({ width: '600px' }),attrs:{\"header\":\"Justificar Recusa de Declaração\",\"visible\":_vm.showDialogRecusaDaps,\"modal\":true,\"closable\":false},on:{\"update:visible\":function($event){_vm.showDialogRecusaDaps=$event}}},[_c('h1',{staticClass:\"titulo-header\"},[_vm._v(\"\\n      Justificar Retificação\\n      \"),_c('Button',{staticClass:\"p-button-rounded p-button-text\",attrs:{\"id\":\"icon-close-modals\",\"icon\":\"pi pi-times\"},on:{\"click\":function($event){_vm.showDialogRecusaDaps = false}}})],1),_c('br'),_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-12 mb-2 mensagem-cancelamento\"},[_c('p',[_vm._v(\"Informe o motivo de Recusa da Declaração.\")])])]),_c('div',{staticClass:\"row\",attrs:{\"id\":\"topo\"}},[_c('div',{staticClass:\"col-md-12 mb-2\"},[_c('label',{attrs:{\"for\":\"tipoTomador\"}},[_vm._v(\"Motivo de Recusa: *\")]),_c('span',{staticClass:\"p-fluid\"},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.dapsRecusa.motivoRecusa),expression:\"dapsRecusa.motivoRecusa\"}],attrs:{\"rows\":\"5\",\"maxlength\":\"500\"},domProps:{\"value\":(_vm.dapsRecusa.motivoRecusa)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.dapsRecusa, \"motivoRecusa\", $event.target.value)}}})])])])])]),_c('Dialog',{staticClass:\"test-box\",style:({ width: '600px' }),attrs:{\"header\":\"Retenção Indevida\",\"visible\":_vm.showDialogAceiteTomador,\"modal\":true,\"closable\":false},on:{\"update:visible\":function($event){_vm.showDialogAceiteTomador=$event}}},[_c('h1',{staticClass:\"titulo-header\"},[_vm._v(\"\\n      Retenção Indevida\\n      \"),_c('Button',{staticClass:\"p-button-rounded p-button-text\",attrs:{\"id\":\"icon-close-modals\",\"icon\":\"pi pi-times\"},on:{\"click\":function($event){_vm.showDialogAceiteTomador = false}}})],1),_c('br'),(_vm.notaSelecionada && _vm.notaSelecionada.id)?_c('div',[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-12 mb-2 mensagem-cancelamento\"},[(_vm.notaSelecionada.tipo === 'Nfse')?_c('p',{staticStyle:{\"font-weight\":\"bold\"}},[_vm._v(\"Ao confirmar esta ação você estará\\n            recusando a retenção deste nota fiscal, a responsabilidade do recolhimento do ISS passará a ser do\\n            Prestador.\\n          \")]):_vm._e(),(_vm.notaSelecionada.tipo === 'DAPS/Prestador')?_c('p',{staticStyle:{\"font-weight\":\"bold\"}},[_vm._v(\"Ao confirmar esta ação você\\n            estará recusando a retenção deste DAPS, o mesmo será Cancelado e o Prestador sera comunicado desta ação.\\n          \")]):_vm._e()])]),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-12 mb-2 mensagem-cancelamento\"},[_c('p',[_vm._v(_vm._s(this.notaSelecionada.tipo)+\" Selecionada, nº: \"+_vm._s(this.notaSelecionada.numero)+\", Prestador: \"+_vm._s(this.notaSelecionada.prestador)+\".\")])])]),_c('div',{staticClass:\"row\",attrs:{\"id\":\"topo\"}},[_c('div',{staticClass:\"col-md-12 mb-2\"},[_c('label',{attrs:{\"for\":\"tipoTomador\"}},[_vm._v(\"Motivo da Retenção Indevida: *\")]),_c('span',{staticClass:\"p-fluid\"},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.motivoRetencaoIndevida),expression:\"motivoRetencaoIndevida\"}],attrs:{\"rows\":\"5\",\"maxlength\":\"500\"},domProps:{\"value\":(_vm.motivoRetencaoIndevida)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.motivoRetencaoIndevida=$event.target.value}}})])])])]):_vm._e(),_c('hr'),_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"row\"},[_c('div',[_c('Button',{staticClass:\"p-button-primary mr-2 p-button-success\",attrs:{\"href\":\"#topo\",\"type\":\"button\",\"label\":\"Confirmar\",\"icon\":\"pi pi-check\",\"disabled\":_vm.motivoRetencaoIndevida.trim() === ''},on:{\"click\":function($event){return _vm.saveRetencaoIndevida()}}})],1),_c('div',[_c('Button',{staticClass:\"p-button-primary mr-2 p-button-danger\",attrs:{\"type\":\"button\",\"label\":\"Fechar\",\"icon\":\"pi pi-times\"},on:{\"click\":function($event){_vm.showDialogAceiteTomador = false}}})],1)])])]),_c('Dialog',{staticClass:\"test-box\",style:({ width: '600px' }),attrs:{\"header\":\"Justificar Retificação\",\"visible\":_vm.showRetificarDecAnalise,\"modal\":true,\"closable\":false},on:{\"update:visible\":function($event){_vm.showRetificarDecAnalise=$event}}},[_c('h1',{staticClass:\"titulo-header\"},[_vm._v(\"\\n      Justificar Retificação\\n      \"),_c('Button',{staticClass:\"p-button-rounded p-button-text\",attrs:{\"id\":\"icon-close-modals\",\"icon\":\"pi pi-times\"},on:{\"click\":function($event){_vm.showRetificarDecAnalise = false}}})],1),_c('br'),_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-12 mb-2 mensagem-cancelamento\"},[_c('p',[_vm._v(\"Informe o motivo de Retificação da Declaração.\")])])]),_c('div',{staticClass:\"row\",attrs:{\"id\":\"topo\"}},[_c('div',{staticClass:\"col-md-12 mb-2\"},[_c('label',{attrs:{\"for\":\"tipoTomador\"}},[_vm._v(\"Observação: *\")]),_c('span',{staticClass:\"p-fluid\"},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.decAnalise.motivoRetificacao),expression:\"decAnalise.motivoRetificacao\"}],attrs:{\"rows\":\"5\",\"maxlength\":\"500\"},domProps:{\"value\":(_vm.decAnalise.motivoRetificacao)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.decAnalise, \"motivoRetificacao\", $event.target.value)}}})])])])]),_c('hr'),_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"row\"},[_c('div',[_c('Button',{staticClass:\"p-button-primary mr-2 p-button-success\",attrs:{\"href\":\"#topo\",\"type\":\"button\",\"label\":\"Salvar\",\"icon\":\"pi pi-check\",\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.saveMotivoRetifcacao()}}})],1),_c('div',[_c('Button',{staticClass:\"p-button-primary mr-2 p-button-danger\",attrs:{\"type\":\"button\",\"label\":\"Fechar\",\"icon\":\"pi pi-times\"},on:{\"click\":_vm.closeDialogRetifAnalise}})],1)])])]),_c('Dialog',{style:({ width: '30vw' }),attrs:{\"header\":\"Competência\",\"visible\":_vm.showSelectComp,\"contentStyle\":{ overflow: 'visible' },\"modal\":true},on:{\"update:visible\":function($event){_vm.showSelectComp=$event}}},[_c('h1',{staticClass:\"titulo-header\"},[_vm._v(\"\\n      Competência\\n      \"),_c('Button',{staticClass:\"p-button-rounded p-button-text\",attrs:{\"id\":\"icon-close-modals\",\"icon\":\"pi pi-times\"},on:{\"click\":function($event){_vm.showSelectComp = false}}})],1),_c('br'),_c('span',{staticClass:\"p-fluid\"},[_c('Dropdown',{attrs:{\"id\":\"filtroAno\",\"options\":_vm.listAnos,\"optionLabel\":\"name\",\"placeholder\":\"Selecione um Ano\"},model:{value:(_vm.filtroAno),callback:function ($$v) {_vm.filtroAno=$$v},expression:\"filtroAno\"}})],1),_c('span',{staticClass:\"p-fluid\"},[_c('Dropdown',{attrs:{\"id\":\"filtroMes\",\"options\":_vm.listMeses,\"optionLabel\":\"name\",\"placeholder\":\"Selecione um Mês\"},model:{value:(_vm.filtroMes),callback:function ($$v) {_vm.filtroMes=$$v},expression:\"filtroMes\"}})],1),_c('hr'),_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"row\"},[_c('div',[_c('Button',{staticClass:\"mr-2\",attrs:{\"label\":\"Selecionar\",\"icon\":\"pi pi-check\",\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.pesquisar()}}}),_c('Button',{staticClass:\"p-button-danger\",attrs:{\"label\":\"Fechar\",\"icon\":\"pi pi-times\"},on:{\"click\":function($event){return _vm.fecharSelectCompetencia()}}})],1)])])]),_c('Dialog',{style:({ width: '30vw' }),attrs:{\"header\":\"Aviso\",\"visible\":_vm.displayDecSemMov,\"modal\":true},on:{\"update:visible\":function($event){_vm.displayDecSemMov=$event}}},[_vm._v(\"\\n    Confirma realizar a Declaração sem Movimento para Competência?\\n    \"),_c('hr'),_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"row\"},[_c('div',[_c('Button',{staticClass:\"mr-2\",attrs:{\"label\":\"Sim\",\"icon\":\"pi pi-check\",\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.declararSemMovimento()}}}),_c('Button',{staticClass:\"p-button-secondary\",attrs:{\"label\":\"Não\",\"icon\":\"pi pi-times\"},on:{\"click\":function($event){return _vm.hideDecSemMov()}}})],1)])])]),_c('Dialog',{style:({ width: '30vw' }),attrs:{\"header\":\"Imprimir Boleto\",\"visible\":_vm.displayVencBoleto,\"contentStyle\":{ overflow: 'visible' },\"modal\":true},on:{\"update:visible\":function($event){_vm.displayVencBoleto=$event}}},[_c('h1',{staticClass:\"titulo-header\"},[_vm._v(\"\\n      Imprimir Boleto\\n      \"),_c('Button',{staticClass:\"p-button-rounded p-button-text\",attrs:{\"id\":\"icon-close-modals\",\"icon\":\"pi pi-times\"},on:{\"click\":function($event){_vm.displayVencBoleto = false}}})],1),_c('br'),_c('div',{staticClass:\"col-md-8 mb-8\"},[_c('label',{attrs:{\"for\":\"dataVencBoleto\"}},[_vm._v(\"Data de Vencimento: *\")]),_c('span',{staticClass:\"p-fluid\"},[_c('Calendar',{key:_vm.dtVencBoleto,attrs:{\"disabled\":_vm.disableDataVencDam,\"id\":\"dataVencBoleto\",\"name\":\"dataVencBoleto\",\"showIcon\":true,\"dateFormat\":\"dd/mm/yy\"},on:{\"date-select\":function($event){return _vm.vencimentoSelect()}},model:{value:(_vm.dataVencimento),callback:function ($$v) {_vm.dataVencimento=$$v},expression:\"dataVencimento\"}})],1)]),_c('hr'),_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"row\"},[_c('div',[(_vm.tipoEmissaoBoleto === 'N')?_c('Button',{staticClass:\"mr-2\",attrs:{\"label\":\"Sim\",\"icon\":\"pi pi-check\",\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.imprimirBoleto()}}}):_vm._e(),(_vm.tipoEmissaoBoleto === 'P')?_c('Button',{staticClass:\"mr-2\",attrs:{\"label\":\"Sim\",\"icon\":\"pi pi-check\",\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.imprimirBoletoPix()}}}):_vm._e(),_c('Button',{staticClass:\"p-button-secondary\",attrs:{\"label\":\"Não\",\"icon\":\"pi pi-times\"},on:{\"click\":function($event){return _vm.hideVencBoleto()}}})],1)])])]),_c('Dialog',{style:({ width: '38vw' }),attrs:{\"header\":\"Boleto\",\"visible\":_vm.displayBoletos,\"modal\":true},on:{\"update:visible\":function($event){_vm.displayBoletos=$event}}},[_c('h1',{staticClass:\"titulo-header\"},[_vm._v(\"\\n      Boleto\\n      \"),_c('Button',{staticClass:\"p-button-rounded p-button-text\",attrs:{\"id\":\"icon-close-modals\",\"icon\":\"pi pi-times\"},on:{\"click\":function($event){_vm.displayBoletos = false}}})],1),_c('br'),_c('DataTable',{staticStyle:{\"min-width\":\"100%\"},attrs:{\"value\":_vm.listBoletos,\"paginator\":true,\"rows\":10,\"autoLayout\":true}},[_c('Column',{attrs:{\"headerStyle\":\"width: 4em\",\"header\":\"\",\"bodyStyle\":\"text-align: center\"},scopedSlots:_vm._u([{key:\"body\",fn:function(slotProps){return [(slotProps.data.pagamentoEfetuado == 'N')?_c('Button',{staticClass:\"p-button-primary mr-2\",staticStyle:{\"margin-right\":\"0.5em\"},attrs:{\"type\":\"button\",\"title\":\"Imprimir Boleto\",\"icon\":\"pi pi-print\",\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.carregarVencimentoBoleto(\n                slotProps.data.id,\n                slotProps.data.dataVencimento,\n                'N'\n              )}}}):_vm._e(),(slotProps.data.pagamentoEfetuado == 'N' && _vm.habilitarPix)?_c('Button',{staticClass:\"p-button-outlined mr-2\",staticStyle:{\"margin-right\":\"0.5em\"},attrs:{\"type\":\"button\",\"title\":\"Pagar com PIX\",\"icon\":\"pi pix-icon\",\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.escolhaPagamentoPix(\n                slotProps.data.id,\n                slotProps.data.dataVencimento\n              )}}}):_vm._e(),(slotProps.data.pagamentoEfetuado == 'N' && _vm.habilitarPix)?_c('Button',{staticStyle:{\"margin-right\":\"0.5em\"},attrs:{\"title\":\"Consultar Pagamento PIX\",\"icon\":\"pi pi-search\"},on:{\"click\":function($event){return _vm.consultarPagamentoPix(slotProps.data.id)}}}):_vm._e()]}}])}),_c('Column',{attrs:{\"headerStyle\":\"width: 10%\",\"field\":\"vencimentoFormatado\",\"header\":\"Vencimento\",\"bodyStyle\":\"text-align:right\"}}),_c('Column',{attrs:{\"headerStyle\":\"width: 8em\",\"field\":\"valorFormatado\",\"header\":\"Valor\",\"bodyStyle\":\"text-align:center\"}})],1),_c('hr'),_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"row\"},[_c('div',[_c('Button',{staticClass:\"p-button-danger\",attrs:{\"label\":\"Fechar\",\"icon\":\"pi pi-times\"},on:{\"click\":function($event){return _vm.hideBoletos()}}})],1)])])],1),_c('Dialog',{style:({ width: '60vw' }),attrs:{\"header\":\"Lançamentos Avulsos\",\"visible\":_vm.displayAvulsos,\"modal\":true},on:{\"update:visible\":function($event){_vm.displayAvulsos=$event}}},[_c('h1',{staticClass:\"titulo-header\"},[_vm._v(\"\\n      Lançamentos Avulsos\\n      \"),_c('Button',{staticClass:\"p-button-rounded p-button-text\",attrs:{\"id\":\"icon-close-modals\",\"icon\":\"pi pi-times\"},on:{\"click\":function($event){_vm.displayAvulsos = false}}})],1),_c('br'),_c('DataTable',{staticStyle:{\"min-width\":\"100%\"},attrs:{\"value\":_vm.listAvulsos,\"paginator\":true,\"rows\":5,\"autoLayout\":true}},[_c('Column',{attrs:{\"headerStyle\":\"width: 4em\",\"header\":\"Recibo\",\"bodyStyle\":\"text-align: center\"},scopedSlots:_vm._u([{key:\"body\",fn:function(slotProps){return [_c('Button',{staticClass:\"p-button-primary mr-2\",staticStyle:{\"margin-right\":\"0.5em\"},attrs:{\"type\":\"button\",\"title\":\"Imprimir Recibo\",\"icon\":\"pi pi-print\",\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.impressaoComprovante(slotProps.data.id)}}})]}}])}),_c('Column',{attrs:{\"headerStyle\":\"width: 10%\",\"field\":\"numero\",\"header\":\"Número\",\"bodyStyle\":\"text-align:right\"}}),_c('Column',{attrs:{\"headerStyle\":\"width: 8em\",\"field\":\"dataFormatada\",\"header\":\"Data\",\"bodyStyle\":\"text-align:center\"}}),_c('Column',{attrs:{\"headerStyle\":\"width: 8em\",\"field\":\"tomador\",\"header\":\"Contribuinte\",\"bodyStyle\":\"text-align:center\"}}),_c('Column',{attrs:{\"headerStyle\":\"width: 8em\",\"field\":\"valor\",\"header\":\"Valor\",\"bodyStyle\":\"text-align:center\"}}),_c('Column',{attrs:{\"headerStyle\":\"width: 8em\",\"field\":\"aliquota\",\"header\":\"Alíquota\",\"bodyStyle\":\"text-align:center\"}}),_c('Column',{attrs:{\"headerStyle\":\"width: 8em\",\"field\":\"iss\",\"header\":\"ISS\",\"bodyStyle\":\"text-align:center\"}})],1),_c('hr'),_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"row\"},[_c('div',[_c('Button',{staticClass:\"p-button-danger\",attrs:{\"label\":\"Fechar\",\"icon\":\"pi pi-times\"},on:{\"click\":function($event){return _vm.hideAvulsos()}}})],1)])])],1),_c('Dialog',{style:({ width: '30vw' }),attrs:{\"visible\":_vm.showEscolhaPix,\"contentStyle\":{ overflow: 'visible' },\"modal\":true},on:{\"update:visible\":function($event){_vm.showEscolhaPix=$event}},scopedSlots:_vm._u([{key:\"header\",fn:function(){return [_c('Button',{staticClass:\"p-button-outlined mr-2\",attrs:{\"icon\":\"pi pix-icon\"}}),_c('h3',[_vm._v(\"Pagar com PIX\")])]},proxy:true}])},[_c('div',{staticClass:\"col-md-8 mb-8\"},[_c('Button',{staticStyle:{\"margin-right\":\"0.5em\"},attrs:{\"label\":\"QR Code\",\"icon\":\"pi pi-bars\",\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.criarPagamentoPix()}}}),_c('Button',{attrs:{\"label\":\"Boleto\",\"icon\":\"pi pi-print\",\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.carregarVencimentoBoleto(_vm.idDamAgrupamento, _vm.dataVencimento, 'P')}}})],1),_c('hr'),_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"row\"},[_c('div',[_c('Button',{staticClass:\"p-button-danger\",attrs:{\"label\":\"Fechar\",\"icon\":\"pi pi-times\"},on:{\"click\":function($event){_vm.showEscolhaPix = false}}})],1)])])]),_c('Dialog',{style:({ width: '40vw' }),attrs:{\"visible\":_vm.showPix,\"modal\":true},on:{\"update:visible\":function($event){_vm.showPix=$event}},scopedSlots:_vm._u([{key:\"header\",fn:function(){return [_c('Button',{staticClass:\"p-button-outlined mr-2\",attrs:{\"icon\":\"pi pix-icon\"}}),_c('h3',[_vm._v(\"Pagar com PIX\")])]},proxy:true}])},[_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-6 mb-2\"},[_c('QRCanvas',{attrs:{\"options\":_vm.optionsPix}})],1),_c('div',{staticClass:\"col-md-6 mb-2\"},[_c('div',{staticStyle:{\"padding-top\":\"20px\"}},[_vm._v(\"\\n            Utilize o App de sua Instituição Financeira, na opção PIX escolha\\n            pagar com QR Code, confirme os dados e realize o Pagamento. \"),_c('br'),_c('br'),_c('span',{staticStyle:{\"font-weight\":\"bold\"}},[_vm._v(\"Valor Total:\\n              \"+_vm._s(this.pixGerado ? this.pixGerado.valorFormatado : 0))])])])]),(this.pixGerado && this.pixGerado.qrCode)?_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-12 mb-2\"},[_c('Button',{attrs:{\"label\":\"Copiar Código PIX\",\"icon\":\"pi pi-copy\"},on:{\"click\":function($event){return _vm.copiarPix()}}})],1)]):_vm._e()]),_c('hr'),_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"row\"},[_c('div',[_c('Button',{staticClass:\"p-button-danger\",attrs:{\"label\":\"Fechar\",\"icon\":\"pi pi-times\"},on:{\"click\":function($event){_vm.showPix = false}}})],1)])])]),_c('Dialog',{style:({ width: '30vw' }),attrs:{\"header\":\"Pesquisar Declaração por Nfse\",\"visible\":_vm.showPesqNota,\"contentStyle\":{ overflow: 'visible' },\"modal\":true},on:{\"update:visible\":function($event){_vm.showPesqNota=$event}}},[_c('h1',{staticClass:\"titulo-header\"},[_vm._v(\"\\n      Pesquisar Declaração por Nfse\\n      \"),_c('Button',{staticClass:\"p-button-rounded p-button-text\",attrs:{\"id\":\"icon-close-modals\",\"icon\":\"pi pi-times\"},on:{\"click\":function($event){_vm.showPesqNota = false}}})],1),_c('br'),_c('span',{staticClass:\"p-fluid\"},[_c('InputText',{attrs:{\"placeholder\":\"Número Nfse\"},model:{value:(_vm.numeroNfsePesquisa),callback:function ($$v) {_vm.numeroNfsePesquisa=$$v},expression:\"numeroNfsePesquisa\"}})],1),_c('span',{staticClass:\"p-fluid\"},[_c('InputText',{attrs:{\"placeholder\":\"CPF/CNPJ/Nome Prestador\"},model:{value:(_vm.filtro),callback:function ($$v) {_vm.filtro=$$v},expression:\"filtro\"}})],1),_c('hr'),_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"row\"},[_c('div',[_c('Button',{staticClass:\"mr-2\",attrs:{\"label\":\"Pesquisar\",\"icon\":\"pi pi-check\",\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.pesquisarPorNota()}}}),_c('Button',{staticClass:\"p-button-danger\",attrs:{\"label\":\"Fechar\",\"icon\":\"pi pi-times\"},on:{\"click\":function($event){_vm.showPesqNota = false}}})],1)])])]),(_vm.dadosCredito != null)?_c('Dialog',{style:({ width: '30vw' }),attrs:{\"header\":\"Aplicar Créditos\",\"visible\":_vm.showAplicarCredito,\"contentStyle\":{ overflow: 'visible' },\"modal\":true},on:{\"update:visible\":function($event){_vm.showAplicarCredito=$event}}},[_c('h1',{staticClass:\"titulo-header\"},[_vm._v(\"\\n      Aplicar Créditos\\n      \"),_c('Button',{staticClass:\"p-button-rounded p-button-text\",attrs:{\"id\":\"icon-close-modals\",\"icon\":\"pi pi-times\"},on:{\"click\":function($event){_vm.showAplicarCredito = false}}})],1),_c('br'),(_vm.dadosCredito.valorCreditoAplicado <= 0)?_c('div',{staticClass:\"col-md-10 mb-8\"},[_c('label',{staticStyle:{\"font-weight\":\"bold\"}},[_vm._v(\"O município possibilita a aplicação do saldo de crédito abaixo até o\\n        percentual\\n        limite de: \"+_vm._s(_vm.dadosCredito.percentualLimiteAbatimentoCredito)+\"%. \")])]):_vm._e(),_c('div',{staticClass:\"col-md-8 mb-8\"},[_c('label',{attrs:{\"for\":\"dataVencBoleto\"}},[_vm._v(\"Declaracao Selecionada: \")]),(_vm.declaracaoSelecionada && _vm.declaracaoSelecionada.numero)?_c('span',{staticClass:\"p-fluid\"},[_c('InputText',{attrs:{\"disabled\":\"true\"},model:{value:(_vm.declaracaoSelecionada.numero),callback:function ($$v) {_vm.$set(_vm.declaracaoSelecionada, \"numero\", $$v)},expression:\"declaracaoSelecionada.numero\"}})],1):_vm._e()]),(_vm.dadosCredito.valorCreditoAplicado > 0)?_c('div',{staticClass:\"col-md-10 mb-8\"},[_c('label',{staticStyle:{\"font-weight\":\"bold\"}},[_vm._v(\"Esta declaração ja possui um crédito aplicado no valor de: \"+_vm._s(_vm.dadosCredito.valorCreditoAplicado)+\", não é possível aplicar mais de um crédito. \")])]):_vm._e(),(_vm.dadosCredito.valorCreditoAplicado <= 0)?_c('div',{staticClass:\"col-md-8 mb-8\"},[_c('label',{attrs:{\"for\":\"dataVencBoleto\"}},[_vm._v(\"Saldo Crédito Disponível: \")]),_c('span',{staticClass:\"p-fluid\"},[_c('InputText',{attrs:{\"disabled\":\"true\"},model:{value:(_vm.dadosCredito.saldoCredito),callback:function ($$v) {_vm.$set(_vm.dadosCredito, \"saldoCredito\", $$v)},expression:\"dadosCredito.saldoCredito\"}})],1)]):_vm._e(),_c('hr'),_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"row\"},[_c('div',[(_vm.dadosCredito.valorCreditoAplicado <= 0)?_c('Button',{staticClass:\"mr-2\",attrs:{\"label\":\"Aplicar\",\"icon\":\"pi pi-check\",\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.aplicarCredito()}}}):_vm._e(),_c('Button',{staticClass:\"p-button-secondary\",attrs:{\"label\":\"Fechar\",\"icon\":\"pi pi-times\",\"disabled\":_vm.loading},on:{\"click\":function($event){_vm.showAplicarCredito = false}}})],1)])])]):_vm._e(),(_vm.declaracaoSelecionada)?_c('Dialog',{style:({ width: '30vw' }),attrs:{\"header\":\"Transferência de Valores\",\"visible\":_vm.showTransfValores,\"modal\":true},on:{\"update:visible\":function($event){_vm.showTransfValores=$event}}},[_c('h1',{staticClass:\"titulo-header\"},[_vm._v(\"\\n      Transferência de Valores\\n      \"),_c('Button',{staticClass:\"p-button-rounded p-button-text\",attrs:{\"id\":\"icon-close-modals\",\"icon\":\"pi pi-times\"},on:{\"click\":function($event){_vm.showTransfValores = false}}})],1),_c('br'),_vm._v(\"\\n    Declaração Selecionada: \"+_vm._s(_vm.declaracaoSelecionada.numero)),_c('br'),_c('br'),_vm._v(\"\\n    ATENÇÃO! Essa opção deve ser utilizada para transferir os calculos/valores da declaração selecionada para outra,\\n    nos casos onde há pagamento em declarações canceladas/retificadas e pagas.\\n    caso confirme a operação informe abaixo o numero de declaração de destino\\n    \"),_c('hr'),_c('span',{staticClass:\"p-fluid\"},[_c('InputText',{attrs:{\"placeholder\":\"Número Declaração Destino\"},model:{value:(_vm.numeroDeclaracaoDestino),callback:function ($$v) {_vm.numeroDeclaracaoDestino=$$v},expression:\"numeroDeclaracaoDestino\"}})],1),_c('hr'),_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"row\"},[_c('div',[_c('Button',{staticClass:\"mr-2\",attrs:{\"label\":\"Transferir\",\"icon\":\"pi pi-check\"},on:{\"click\":function($event){return _vm.transferirCalculos()}}}),_c('Button',{staticClass:\"p-button-secondary\",attrs:{\"label\":\"Fechar\",\"icon\":\"pi pi-times\"},on:{\"click\":function($event){_vm.showTransfValores = false}}})],1)])])]):_vm._e(),(_vm.declaracaoSelecionada && _vm.estadoSuspensao)?_c('Dialog',{style:({ width: '30vw' }),attrs:{\"header\":_vm.estadoSuspensao === 'S' ? 'Suspender Guia' : 'Cancelar Suspenso Processo',\"visible\":_vm.showSuspensao,\"modal\":true},on:{\"update:visible\":function($event){_vm.showSuspensao=$event}}},[_c('h1',{staticClass:\"titulo-header\"},[_vm._v(\"\\n      \"+_vm._s(_vm.estadoSuspensao === 'S' ? 'Suspender Guia' : 'Cancelar Suspenso Processo')+\"\\n      \"),_c('Button',{staticClass:\"p-button-rounded p-button-text\",attrs:{\"id\":\"icon-close-modals\",\"icon\":\"pi pi-times\"},on:{\"click\":function($event){_vm.showSuspensao = false}}})],1),_c('br'),_vm._v(\"\\n    Declaração Selecionada: \"+_vm._s(_vm.declaracaoSelecionada.numero)),_c('br'),_c('br'),_vm._v(\"\\n    Confirma \"+_vm._s(_vm.estadoSuspensao === 'S' ? 'a Suspenção da Guia' : 'o Cancelamento do Suspenso Processo')+\"?\\n    \"),_c('hr'),_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"row\"},[_c('div',[_c('Button',{staticClass:\"mr-2\",attrs:{\"label\":\"Sim\",\"icon\":\"pi pi-check\"},on:{\"click\":function($event){return _vm.efetivarSuspensao()}}}),_c('Button',{staticClass:\"p-button-secondary\",attrs:{\"label\":\"Fechar\",\"icon\":\"pi pi-times\"},on:{\"click\":function($event){_vm.showSuspensao = false}}})],1)])])]):_vm._e()],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card-header\",attrs:{\"id\":\"topo\"}},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col col-xs-2\"},[_c('h4',{staticClass:\"panel-title\"},[_c('span',{staticClass:\"title\"},[_vm._v(\"Gerenciamento das Declarações Eletrônicas de Substituição\\n                Tributária para o Município.\")]),_c('br'),_c('span',{staticClass:\"navigation\"},[_vm._v(\"Substituição Tributária > Declaração\")])])])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('h4',{staticClass:\"panel-title\"},[_c('span',{staticClass:\"title\"},[_vm._v(\"Declarações Geradas na Competência.\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"container-fluid\"},[_c('div',{staticClass:\"row\"},[_c('h4',{staticClass:\"panel-title\",staticStyle:{\"margin-top\":\"1px\"}},[_c('span',{staticClass:\"title\"},[_vm._v(\"Notas Fiscais/DAPS relacionadas a Declaração.\")])])])])}]\n\nexport { render, staticRenderFns }","class DapsMotivoRecusaModel{\r\n  constructor(){\r\n    this.id = '';\r\n    this.motivoRecusa = '';\r\n  }\r\n}\r\n\r\nexport default DapsMotivoRecusaModel;","<template>\r\n  <div class=\"container-fluid\">\r\n    <div>\r\n      <div class=\"card\">\r\n        <div id=\"topo\" class=\"card-header\">\r\n          <div class=\"row\">\r\n            <div class=\"col col-xs-2\">\r\n              <h4 class=\"panel-title\">\r\n                <span class=\"title\">Gerenciamento das Declarações Eletrônicas de Substituição\r\n                  Tributária para o Município.</span>\r\n                <br />\r\n                <span class=\"navigation\">Substituição Tributária > Declaração</span>\r\n              </h4>\r\n            </div>\r\n          </div>\r\n        </div>\r\n        <div class=\"card-body\">\r\n          <label style=\"font-weight: bold; font-size: 12px\">Competência:</label>\r\n          <div class=\"row\">\r\n            <div class=\"col-md-4 col-lg-2 mb-3\">\r\n              <InputText v-model=\"competencia\" disabled />\r\n            </div>\r\n            <div>\r\n              <Button @click=\"alterarCompetencia()\" label=\"Alterar\" type=\"button\" class=\"p-button-primary mr-2\"\r\n                icon=\"pi pi-search\" :disabled=\"loading\" />\r\n            </div>\r\n            <div class=\"col-md-4 col-lg-2 mb-3\">\r\n              <Button @click=\"showNotaDam()\" alt=\"Pesquisar Por Nfse\" label=\"Pesquisar Por Nfse\" type=\"button\"\r\n                class=\"p-button-primary mr-2 p-button-success\" icon=\"pi pi-search\" :disabled=\"loading\" />\r\n              <label style=\"font-size: 12px\" v-if=\"this.numeroNfsePesquisa\">Filtro Nfse Número:\r\n                {{ this.numeroNfsePesquisa }}</label>\r\n              <label style=\"font-size: 12px\" v-if=\"this.filtro\">Filtro CPF/CNPJ/Nome Prestador:\r\n                {{ this.filtro }}</label>\r\n            </div>\r\n            <div class=\"col-md-4 col-lg-2 mb-3\" v-if=\"false\">\r\n              <router-link to=\"/importacaoAceite\">\r\n                <Button type=\"button\" icon=\"pi pi-upload\" label=\"Importar notas fiscais\"\r\n                  title=\"Importar notas fiscais\" />\r\n              </router-link>\r\n            </div>\r\n          </div>\r\n\r\n          <hr />\r\n\r\n          <template v-if=\"!displayRetificar\">\r\n            <div class=\"row pr-3 pl-3\">\r\n              <h4 class=\"panel-title\">\r\n                <span class=\"title\">Declarações Geradas na Competência.</span>\r\n              </h4>\r\n              <DataTable :value=\"listDeclaracao\" :paginator=\"true\" :rows=\"10\" class=\"p-datatable-responsive\" :key=\"0\"\r\n                :autoLayout=\"true\" style=\"min-width: 100%\" :rowClass=\"rowClass\" ref=\"dt1\" :filters=\"filtersModel\">\r\n                <Column headerStyle=\"width: 1%\">\r\n                  <template #body=\"slotProps\">\r\n                    <div class=\"dropdown\">\r\n                      <Button class=\"btn btn-primary\" type=\"button\" id=\"dropdownMenuButton\" icon=\"pi pi-angle-down\"\r\n                        data-toggle=\"dropdown\" title=\"Opções\" aria-haspopup=\"true\" aria-expanded=\"false\"></Button>\r\n                      <div class=\"dropdown-menu\" aria-labelledby=\"dropdownMenuButton\">\r\n                        <button class=\"dropdown-item\" type=\"button\" :disabled=\"loading\"\r\n                          @click=\"exportarExcel(slotProps.data.id)\">\r\n                          <span class=\"pi pi-file-excel mr-2\"></span>Exportação\r\n                          Declaração\r\n                        </button>\r\n                        <button class=\"dropdown-item\" type=\"button\" :disabled=\"loading\"\r\n                          @click=\"impressaoDeclaracao(slotProps.data.id)\">\r\n                          <span class=\"pi pi-print mr-2\"></span>Impressão\r\n                          Declaração\r\n                        </button>\r\n                        <button class=\"dropdown-item\" type=\"button\" :disabled=\"loading\"\r\n                          @click=\"impressaoProtocolo(slotProps.data.id)\" v-if=\"apresentacao\">\r\n                          <span class=\"pi pi-print mr-2\"></span>Impressão\r\n                          Protocolo\r\n                        </button>\r\n                        <button class=\"dropdown-item\" type=\"button\" :disabled=\"loading\" @click=\"\r\n                          impressaoBoletos(\r\n                            slotProps.data.id,\r\n                            slotProps.data.pago\r\n                          )\r\n                          \" v-if=\"slotProps.data.dataEncerramento &&\r\n                            !slotProps.data.dataVigenciaFinal &&\r\n                            slotProps.data.semMovimento != 'Sim' &&\r\n                            slotProps.data.idBolDebito === 'S'\">\r\n                          <span class=\"pi pi-print mr-2\"></span>Impressão\r\n                          Boleto(s)\r\n                        </button>\r\n                        <button class=\"dropdown-item\" type=\"button\" :disabled=\"loading\"\r\n                          @click=\"encerrarDeclaracao(slotProps.data.id)\" v-if=\"!slotProps.data.dataEncerramento &&\r\n                            !slotProps.data.dataVigenciaFinal && !fechamentoAutomatico\r\n                          \">\r\n                          <span class=\"pi pi-pencil mr-2\"></span>Encerrar\r\n                          Declaração\r\n                        </button>\r\n                        <div class=\"dropdown-divider\" v-if=\"!slotProps.data.dataEncerramento &&\r\n                          !slotProps.data.dataVigenciaFinal\r\n                        \" />\r\n                        <button class=\"dropdown-item\" type=\"button\" :disabled=\"loading\"\r\n                          @click=\"carregarRetificacao(slotProps.data)\" v-if=\"slotProps.data.dataEncerramento &&\r\n                            !slotProps.data.dataVigenciaFinal &&\r\n                            slotProps.data.pago != 'Sim' && !fechamentoAutomatico &&\r\n                            (slotProps.data.idBolDebito === 'S' || slotProps.data.idBolDebito === 'M')\r\n                          \">\r\n                          <span class=\"pi pi-replay mr-2\"></span>{{ !isAnaliseRetificacao ? 'Retificar Declaração' : 'Cancelar Declaração' }}\r\n                        </button>\r\n                        <button class=\"dropdown-item\" type=\"button\" :disabled=\"loading\"\r\n                          @click=\"showDiaglogAplicarCredito(slotProps.data)\" v-if=\"slotProps.data.dataEncerramento &&\r\n                            !slotProps.data.dataVigenciaFinal &&\r\n                            slotProps.data.semMovimento != 'Sim' &&\r\n                            slotProps.data.idBolDebito === 'S' && habilitarCredito\">\r\n                          <span class=\"pi pi-money-bill mr-2\"></span>Aplicar Crédito\r\n                        </button>\r\n                        <button class=\"dropdown-item\" type=\"button\" :disabled=\"loading\"\r\n                          @click=\"cancelarDeclaracao(slotProps.data.id)\" v-if=\"!slotProps.data.dataEncerramento &&\r\n                            !slotProps.data.dataVigenciaFinal && !fechamentoAutomatico\r\n                          \">\r\n                          <span class=\"pi pi-times mr-2\"></span>Cancelar\r\n                        </button>\r\n                        <button class=\"dropdown-item\" type=\"button\" :disabled=\"loading\"\r\n                          @click=\"carregarAvulsos(slotProps.data.id)\">\r\n                          <span class=\"pi pi-list mr-2\"></span>Lançamentos\r\n                          Avulsos\r\n                        </button>\r\n                        <button class=\"dropdown-item\" type=\"button\"\r\n                          v-show=\"slotProps.data.dataEncerramento && currentUser.usuario.idBolAdmin\"\r\n                          :disabled=\"loading || inativo\" @click=\"openTransferirCalculoes(slotProps.data)\">\r\n                          <span class=\"pi pi-pencil mr-2\"></span>Transferir Valores\r\n                        </button>\r\n                        <button class=\"dropdown-item\" type=\"button\" :disabled=\"loading\"\r\n                          @click=\"openSuspensao(slotProps.data, 'S')\" v-if=\"slotProps.data.dataEncerramento && currentUser.usuario.idBolAdmin &&\r\n                            !slotProps.data.dataVigenciaFinal &&\r\n                            slotProps.data.pago != 'Sim' && !fechamentoAutomatico &&\r\n                            (slotProps.data.idBolDebito === 'S' || slotProps.data.idBolDebito === 'M')\r\n                          \">\r\n                          <span class=\"pi pi-key mr-2\"></span>Suspender Guia\r\n                        </button>\r\n                        <button class=\"dropdown-item\" type=\"button\" :disabled=\"loading\"\r\n                          @click=\"openSuspensao(slotProps.data, 'C')\" v-if=\"slotProps.data.dataEncerramento && currentUser.usuario.idBolAdmin &&\r\n                            !slotProps.data.dataVigenciaFinal &&\r\n                            slotProps.data.pago != 'Sim' && !fechamentoAutomatico &&\r\n                            (slotProps.data.situacao === 'Suspenso Processo')\r\n                          \">\r\n                          <span class=\"pi pi-lock-open mr-2\"></span>Cancelar Suspenso Processo\r\n                        </button>\r\n                      </div>\r\n                    </div>\r\n                  </template>\r\n                </Column>\r\n                <Column headerStyle=\"width: 10%\" field=\"id\" header=\"Id\" v-if=\"false\">\r\n                  <template #body=\"slotProps\">\r\n                    <div :class=\"lineClass(slotProps.data)\">\r\n                      {{ slotProps.data.id }}\r\n                    </div>\r\n                  </template>\r\n                </Column>\r\n                <Column headerStyle=\"width: 10%\" field=\"numero\" header=\"Número\">\r\n                  <template #body=\"slotProps\">\r\n                    <div :class=\"lineClass(slotProps.data)\">\r\n                      {{ slotProps.data.numero }}\r\n                    </div>\r\n                  </template>\r\n                  <template #filter>\r\n                    <InputText type=\"text\" v-model=\"filtersModel['numero']\" class=\"p-column-filter\"\r\n                      placeholder=\"Iniciando com\" style=\"width: 10em\" />\r\n                  </template>\r\n                </Column>\r\n                <Column headerStyle=\"width: 15%\" field=\"idRetificado\" header=\"Retificado\">\r\n                  <template #body=\"slotProps\">\r\n                    <div :class=\"lineClass(slotProps.data)\">\r\n                      {{\r\n                        slotProps.data.numeroRetificador\r\n                          ? \"Retificado pela Declaração nº \" +\r\n                          slotProps.data.numeroRetificador\r\n                          : \"-\"\r\n                      }}\r\n                    </div>\r\n                  </template>\r\n                </Column>\r\n                <Column headerStyle=\"width: 3%\" field=\"dataFormatada\" header=\"Data\">\r\n                  <template #body=\"slotProps\">\r\n                    <div :class=\"lineClass(slotProps.data)\">\r\n                      {{ slotProps.data.dataFormatada }}\r\n                    </div>\r\n                  </template>\r\n                  <template #filter>\r\n                    <InputText type=\"text\" v-model=\"filtersModel['dataFormatada']\" class=\"p-column-filter\"\r\n                      placeholder=\"Iniciando com\" style=\"width: 5em\" />\r\n                  </template>\r\n                </Column>\r\n                <Column headerStyle=\"width: 5%\" field=\"semMovimento\" header=\"Sem Movimento?\">\r\n                  <template #body=\"slotProps\">\r\n                    <div :class=\"lineClass(slotProps.data)\">\r\n                      {{ slotProps.data.semMovimento }}\r\n                    </div>\r\n                  </template>\r\n                  <template #filter>\r\n                    <InputText type=\"text\" v-model=\"filtersModel['semMovimento']\" class=\"p-column-filter\"\r\n                      placeholder=\"Iniciando com\" style=\"width: 5em\" />\r\n                  </template>\r\n                </Column>\r\n                <Column headerStyle=\"width: 10%\" field=\"situacao\" header=\"Status\">\r\n                  <template #body=\"slotProps\">\r\n                    <div :class=\"lineClass(slotProps.data)\">\r\n                      {{ slotProps.data.situacao }}\r\n                    </div>\r\n                  </template>\r\n                  <template #filter>\r\n                    <InputText type=\"text\" v-model=\"filtersModel['situacao']\" class=\"p-column-filter\"\r\n                      placeholder=\"Iniciando com\" style=\"width: 10em\" />\r\n                  </template>\r\n                </Column>\r\n                <Column headerStyle=\"width: 5%\" field=\"pago\" header=\"Pago?\">\r\n                  <template #body=\"slotProps\">\r\n                    <div :class=\"lineClass(slotProps.data)\">\r\n                      {{ slotProps.data.pago }}\r\n                    </div>\r\n                  </template>\r\n                  <template #filter>\r\n                    <InputText type=\"text\" v-model=\"filtersModel['pago']\" class=\"p-column-filter\"\r\n                      placeholder=\"Iniciando com\" style=\"width: 5em\" />\r\n                  </template>\r\n                </Column>\r\n                <Column headerStyle=\"width: 5%\" field=\"dataPagamentoFormatada\" header=\"Data Pagamento\">\r\n                  <template #body=\"slotProps\">\r\n                    <div :class=\"lineClass(slotProps.data)\">\r\n                      {{ slotProps.data.dataPagamentoFormatada }}\r\n                    </div>\r\n                  </template>\r\n                  <template #filter>\r\n                    <InputText type=\"text\" v-model=\"filtersModel['dataPagamentoFormatada']\" class=\"p-column-filter\"\r\n                      placeholder=\"Iniciando com\" style=\"width: 5em\" />\r\n                  </template>\r\n                </Column>\r\n                <Column headerStyle=\"width: 10%\" field=\"valor\" header=\"Valor\">\r\n                  <template #body=\"slotProps\">\r\n                    <div :class=\"lineClass(slotProps.data)\">\r\n                      {{ slotProps.data.valorFormatado }}\r\n                    </div>\r\n                  </template>\r\n                  <template #filter>\r\n                    <InputText type=\"text\" v-model=\"filtersModel['valor']\" class=\"p-column-filter\"\r\n                      placeholder=\"Iniciando com\" style=\"width: 10em\" />\r\n                  </template>\r\n                </Column>\r\n                <Column headerStyle=\"width: 10%\" field=\"valorPago\" header=\"Valor Pago\">\r\n                  <template #body=\"slotProps\">\r\n                    <div :class=\"lineClass(slotProps.data)\">\r\n                      {{ slotProps.data.valorPagoFormatado }}\r\n                    </div>\r\n                  </template>\r\n                  <template #filter>\r\n                    <InputText type=\"text\" v-model=\"filtersModel['valorPago']\" class=\"p-column-filter\"\r\n                      placeholder=\"Iniciando com\" style=\"width: 10em\" />\r\n                  </template>\r\n                </Column>\r\n                <template #footer>\r\n                  <div style=\"text-align: right\">\r\n                    <Button icon=\"pi pi-external-link\" label=\"Exportar para CSV\" @click=\"exportCSVDt1($event)\" />\r\n                  </div>\r\n                </template>\r\n              </DataTable>\r\n            </div>\r\n          </template>\r\n          <template v-else>\r\n            <div class=\"row\">\r\n              <div class=\"container-fluid\">\r\n                <div class=\"row\">\r\n                  <Card style=\"width: 100%\">\r\n                    <template slot=\"title\">Declaração de Número\r\n                      {{ this.declaracaoSelecionada.numero }} Selecionada para\r\n                      retificação.</template>\r\n                    <template slot=\"content\">\r\n                      Data: {{ this.declaracaoSelecionada.dataFormatada }}\r\n                      <br />\r\n                      Sem Movimento?\r\n                      {{ this.declaracaoSelecionada.semMovimento }}\r\n                      <br />\r\n                    </template>\r\n                  </Card>\r\n                </div>\r\n              </div>\r\n              <div class=\"container-fluid\">\r\n                <div class=\"row\">\r\n                  <h4 class=\"panel-title\" style=\"margin-top: 1px\">\r\n                    <span class=\"title\">Notas Fiscais/DAPS relacionadas a Declaração.</span>\r\n                  </h4>\r\n                </div>\r\n              </div>\r\n              <div class=\"container-fluid\">\r\n                <div class=\"row\">\r\n                  <Button type=\"button\" title=\"Remover Todos\" class=\"p-button-primary mr-2 p-button-danger\"\r\n                    icon=\"pi pi-times\" style=\"margin-right: 0.5em\" @click=\"removerNotasDeclaracao()\" :disabled=\"loading\"\r\n                    label=\"Remover Todos\"></Button>\r\n                </div>\r\n              </div>\r\n              <div class=\"container-fluid\" style=\"padding-top: 5px\">\r\n                <div class=\"row\">\r\n                  <DataTable id=\"teste\" :value=\"listNotasDeclaradas\" :paginator=\"true\" :rows=\"10\" :key=\"1\"\r\n                    :autoLayout=\"true\" style=\"min-width: 100%\">\r\n                    <Column headerStyle=\"width: 4em\" header bodyStyle=\"text-align: center\">\r\n                      <template #body=\"slotProps\">\r\n                        <Button type=\"button\" title=\"Remover\" class=\"p-button-primary mr-2 p-button-danger\"\r\n                          icon=\"pi pi-times\" style=\"margin-right: 0.5em\" @click=\"removerNotaDeclaracao(slotProps.data)\"\r\n                          :disabled=\"loading\"></Button>\r\n                      </template>\r\n                    </Column>\r\n                    <Column headerStyle=\"width: 10%\" field=\"tipo\" header=\"Tipo\" bodyStyle=\"text-align:right\"></Column>\r\n                    <Column headerStyle=\"width: 10%\" field=\"numero\" header=\"Numero\" bodyStyle=\"text-align:right\">\r\n                    </Column>\r\n                    <Column headerStyle=\"width: 8em\" field=\"dataEmissaoFormatada\" header=\"Emissão\"\r\n                      bodyStyle=\"text-align:center\">\r\n                    </Column>\r\n                    <Column headerStyle=\"width: 8em\" field=\"dataGeracaoFormatada\" header=\"Geração\"\r\n                      bodyStyle=\"text-align:center\">\r\n                    </Column>\r\n                    <Column headerStyle=\"width: 12%\" field=\"valorFormatado\" header=\"Valor\" bodyStyle=\"text-align:right\">\r\n                    </Column>\r\n                    <Column field=\"prestador\" header=\"Prestador\"></Column>\r\n                  </DataTable>\r\n                </div>\r\n              </div>\r\n            </div>\r\n          </template>\r\n          <h4 class=\"panel-title\">\r\n            <span class=\"title\" v-if=\"!displayRetificar\">Notas Fiscais/DAPS em Aberto{{ !fechamentoAutomatico ? ' para realizar a Declaração.' : '.'}}</span>\r\n            <span class=\"title\" v-if=\"displayRetificar\">Adicione abaixo novas notas a Declaração.</span>\r\n          </h4>\r\n          <hr />\r\n          <template v-if=\"!fechamentoAutomatico\">\r\n            <Checkbox v-model=\"checkTodos\" :binary=\"true\" @change=\"selecionarTodos()\" />\r\n            <span style=\"padding-left: 5px; font-weight: bold; font-size: 12px\">Selecionar Todos</span>\r\n          </template>\r\n          <div style=\"padding-top: 10px\">\r\n            <DataTable :value=\"listNotas\" :paginator=\"true\" :rows=\"10\" :autoLayout=\"true\" style=\"min-width: 100%\"\r\n              ref=\"dt2\" :filters=\"filtersModelNotas\">\r\n              <Column headerStyle=\"width: 3%\" field=\"selecionado\" header v-if=\"!fechamentoAutomatico\">\r\n                <template #body=\"slotProps\">\r\n                  <Checkbox v-model=\"slotProps.data.selecionado\" :binary=\"true\" />\r\n                </template>\r\n              </Column>\r\n              <Column headerStyle=\"width: 1%\">\r\n                <template #body=\"slotProps\">\r\n                  <div class=\"dropdown\">\r\n                    <Button class=\"btn btn-primary\" type=\"button\" id=\"dropdownMenuButton\" icon=\"pi pi-angle-down\"\r\n                      data-toggle=\"dropdown\" title=\"Opções\" aria-haspopup=\"true\" aria-expanded=\"false\"></Button>\r\n                    <div class=\"dropdown-menu\" aria-labelledby=\"dropdownMenuButton\">\r\n                      <button class=\"dropdown-item\" type=\"button\" :disabled=\"loading\"\r\n                        @click=\"impressaoNota(slotProps.data.id)\">\r\n                        <span class=\"pi pi-print mr-2\"></span>Imprimir\r\n                      </button>\r\n                      <button class=\"dropdown-item\" type=\"button\" :disabled=\"loading\"\r\n                        v-if=\"isNotaFiscal(slotProps.data.id)\" @click=\"downloadXml(slotProps.data.id)\">\r\n                        <span class=\"pi pi-download mr-2\"></span>Exportar\r\n                      </button>\r\n                      <button class=\"dropdown-item\" type=\"button\" :disabled=\"loading\"\r\n                        v-if=\"habilitarAceiteTomador && (slotProps.data.tipo === 'Nfse' || slotProps.data.tipo === 'DAPS/Prestador') && slotProps.data.tipoRecolhimento === 'R'\"\r\n                        @click=\"displayDialogAceiteTomador(slotProps.data)\">\r\n                        <span class=\"pi pi-ban mr-2\"></span>Retenção Indevida\r\n                      </button>\r\n                      <button class=\"dropdown-item\" type=\"button\" :disabled=\"loading\"\r\n                        v-if=\"showRecusaDaps && slotProps.data.tipo === 'DAPS/Prestador'\"\r\n                        @click=\"displayDialogRecDaps(slotProps.data)\">\r\n                        <span class=\"pi pi-ban mr-2\"></span>Recusa Declaração\r\n                      </button>\r\n                    </div>\r\n                  </div>\r\n                </template>\r\n              </Column>\r\n              <Column headerStyle=\"width: 8em\" field=\"tipo\" header=\"Tipo\" bodyStyle=\"text-align:right\">\r\n                <template #filter>\r\n                  <InputText type=\"text\" v-model=\"filtersModelNotas['tipo']\" class=\"p-column-filter\"\r\n                    placeholder=\"Iniciando com\" style=\"width: 8em\" />\r\n                </template>\r\n              </Column>\r\n\r\n              <Column v-if=\"isExibirDataPagamento()\" headerStyle=\"width: 10%\" field=\"dataPagamentoFormatada\"\r\n                header=\"Data Pag.\" bodyStyle=\"text-align:right\">\r\n                <template #body=\"slotProps\">\r\n                  <InputText type=\"text\" v-model=\"slotProps.data.dataPagamentoFormatada\" class=\"p-column-filter\"\r\n                    placeholder=\"Data Pagamento\" style=\"width: 8em\" v-maska=\"'##/##/####'\" />\r\n                </template>\r\n              </Column>\r\n\r\n              <Column headerStyle=\"width: 10%\" field=\"numero\" header=\"Numero\" bodyStyle=\"text-align:right\">\r\n                <template #filter>\r\n                  <InputText type=\"text\" v-model=\"filtersModelNotas['numero']\" class=\"p-column-filter\"\r\n                    placeholder=\"Iniciando com\" />\r\n                </template>\r\n              </Column>\r\n              <Column headerStyle=\"width: 8em\" field=\"dataEmissaoFormatada\" header=\"Emissão\"\r\n                bodyStyle=\"text-align:center\">\r\n                <template #filter>\r\n                  <InputText type=\"text\" v-model=\"filtersModelNotas['dataEmissaoFormatada']\" class=\"p-column-filter\"\r\n                    placeholder=\"Iniciando com\" style=\"width: 8em\" />\r\n                </template>\r\n              </Column>\r\n              <Column headerStyle=\"width: 8em\" field=\"dataGeracaoFormatada\" header=\"Geração\"\r\n                bodyStyle=\"text-align:center\">\r\n                <template #filter>\r\n                  <InputText type=\"text\" v-model=\"filtersModelNotas['dataGeracaoFormatada']\" class=\"p-column-filter\"\r\n                    placeholder=\"Iniciando com\" style=\"width: 8em\" />\r\n                </template>\r\n              </Column>\r\n              <Column headerStyle=\"width: 12%\" field=\"valorFormatado\" header=\"Valor\" bodyStyle=\"text-align:right\">\r\n                <template #filter>\r\n                  <InputText type=\"text\" v-model=\"filtersModelNotas['valorFormatado']\" class=\"p-column-filter\"\r\n                    placeholder=\"Iniciando com\" />\r\n                </template>\r\n              </Column>\r\n              <Column field=\"prestador\" header=\"Prestador\">\r\n                <template #filter>\r\n                  <InputText type=\"text\" v-model=\"filtersModelNotas['prestador']\" class=\"p-column-filter\"\r\n                    placeholder=\"Iniciando com\" />\r\n                </template>\r\n              </Column>\r\n              <Column headerStyle=\"width: 6em\" field=\"situacao\" header=\"Situação\" bodyStyle=\"text-align:center\">\r\n                <template #filter>\r\n                  <InputText type=\"text\" v-model=\"filtersModelNotas['situacao']\" class=\"p-column-filter\"\r\n                    placeholder=\"Iniciando com\" style=\"width: 6em\" />\r\n                </template>\r\n              </Column>\r\n            </DataTable>\r\n          </div>\r\n          <hr />\r\n          <template v-if=\"!displayRetificar\">\r\n            <Button @click=\"declarar($event)\" label=\"Declarar\" type=\"button\"\r\n              class=\"p-button-primary mr-2 p-button-success\" icon=\"pi pi-check\" :disabled=\"loading\"\r\n              v-if=\"!fechamentoAutomatico\" />\r\n            <Button @click=\"declararParc()\" label=\"Declarar Parcelado\" type=\"button\"\r\n              class=\"p-button-primary mr-2 p-button-success\" icon=\"pi pi-check\" :disabled=\"loading\" v-if=\"false\" />\r\n          </template>\r\n          <template v-else>\r\n            <Button @click=\"adicionarNotasDeclaracao()\" label=\"Adicionar\" type=\"button\" class=\"p-button-primary mr-2\"\r\n              icon=\"pi pi-check\" :disabled=\"loading\" />\r\n            <hr />\r\n            <Button @click=\"retificarDeclaracao()\" label=\"Retificar Declaração\" type=\"button\"\r\n              class=\"p-button-primary mr-2 p-button-success\" icon=\"pi pi-replay\" :disabled=\"loading\" />\r\n            <Button @click=\"hideRetificar()\" label=\"Cancelar\" type=\"button\"\r\n              class=\"p-button-primary mr-2 p-button-danger\" icon=\"pi pi-times\" :disabled=\"loading\" />\r\n          </template>\r\n        </div>\r\n      </div>\r\n    </div>\r\n    <Dialog class=\"test-box\" header=\"Justificar Recusa de Declaração\" :visible.sync=\"showDialogRecusaDaps\" :modal=\"true\"\r\n      :closable=\"false\" :style=\"{ width: '600px' }\">\r\n      <h1 class=\"titulo-header\">\r\n        Justificar Retificação\r\n        <Button id=\"icon-close-modals\" icon=\"pi pi-times\" class=\"p-button-rounded p-button-text\"\r\n          @click=\"showDialogRecusaDaps = false\" />\r\n      </h1><br />\r\n      <div class=\"container\">\r\n        <div class=\"row\">\r\n          <div class=\"col-md-12 mb-2 mensagem-cancelamento\">\r\n            <p>Informe o motivo de Recusa da Declaração.</p>\r\n          </div>\r\n        </div>\r\n        <div id=\"topo\" class=\"row\">\r\n          <div class=\"col-md-12 mb-2\">\r\n            <label for=\"tipoTomador\">Motivo de Recusa: *</label>\r\n            <span class=\"p-fluid\">\r\n              <textarea v-model=\"dapsRecusa.motivoRecusa\" rows=\"5\" maxlength=\"500\" />\r\n            </span>\r\n          </div>\r\n        </div>\r\n      </div>\r\n    </Dialog>\r\n    <Dialog class=\"test-box\" header=\"Retenção Indevida\" :visible.sync=\"showDialogAceiteTomador\" :modal=\"true\"\r\n      :closable=\"false\" :style=\"{ width: '600px' }\">\r\n      <h1 class=\"titulo-header\">\r\n        Retenção Indevida\r\n        <Button id=\"icon-close-modals\" icon=\"pi pi-times\" class=\"p-button-rounded p-button-text\"\r\n          @click=\"showDialogAceiteTomador = false\" />\r\n      </h1><br />\r\n      <div  v-if=\"notaSelecionada && notaSelecionada.id\">\r\n        <div class=\"row\">\r\n          <div class=\"col-md-12 mb-2 mensagem-cancelamento\">\r\n            <p style=\"font-weight: bold;\" v-if=\"notaSelecionada.tipo === 'Nfse'\">Ao confirmar esta ação você estará\r\n              recusando a retenção deste nota fiscal, a responsabilidade do recolhimento do ISS passará a ser do\r\n              Prestador.\r\n            </p>\r\n            <p style=\"font-weight: bold;\" v-if=\"notaSelecionada.tipo === 'DAPS/Prestador'\">Ao confirmar esta ação você\r\n              estará recusando a retenção deste DAPS, o mesmo será Cancelado e o Prestador sera comunicado desta ação.\r\n            </p>\r\n          </div>\r\n        </div>\r\n        <div class=\"row\">\r\n          <div class=\"col-md-12 mb-2 mensagem-cancelamento\">\r\n            <p>{{ this.notaSelecionada.tipo }} Selecionada, nº: {{ this.notaSelecionada.numero }}, Prestador: {{\r\n              this.notaSelecionada.prestador }}.</p>\r\n          </div>\r\n        </div>\r\n        <div id=\"topo\" class=\"row\">\r\n          <div class=\"col-md-12 mb-2\">\r\n            <label for=\"tipoTomador\">Motivo da Retenção Indevida: *</label>\r\n            <span class=\"p-fluid\">\r\n              <textarea v-model=\"motivoRetencaoIndevida\" rows=\"5\" maxlength=\"500\" />\r\n            </span>\r\n          </div>\r\n        </div>\r\n      </div>\r\n      <hr />\r\n      <div class=\"container\">\r\n        <div class=\"row\">\r\n          <div>\r\n            <Button @click=\"saveRetencaoIndevida()\" href=\"#topo\" type=\"button\" label=\"Confirmar\"\r\n              class=\"p-button-primary mr-2 p-button-success\" icon=\"pi pi-check\"\r\n              :disabled=\"motivoRetencaoIndevida.trim() === ''\" />\r\n          </div>\r\n          <div>\r\n            <Button @click=\"showDialogAceiteTomador = false\" type=\"button\" label=\"Fechar\"\r\n              class=\"p-button-primary mr-2 p-button-danger\" icon=\"pi pi-times\" />\r\n          </div>\r\n        </div>\r\n      </div>\r\n    </Dialog>\r\n    <Dialog class=\"test-box\" header=\"Justificar Retificação\" :visible.sync=\"showRetificarDecAnalise\" :modal=\"true\"\r\n      :closable=\"false\" :style=\"{ width: '600px' }\">\r\n      <h1 class=\"titulo-header\">\r\n        Justificar Retificação\r\n        <Button id=\"icon-close-modals\" icon=\"pi pi-times\" class=\"p-button-rounded p-button-text\"\r\n          @click=\"showRetificarDecAnalise = false\" />\r\n      </h1><br />\r\n      <div class=\"container\">\r\n        <div class=\"row\">\r\n          <div class=\"col-md-12 mb-2 mensagem-cancelamento\">\r\n            <p>Informe o motivo de Retificação da Declaração.</p>\r\n          </div>\r\n        </div>\r\n        <div id=\"topo\" class=\"row\">\r\n          <div class=\"col-md-12 mb-2\">\r\n            <label for=\"tipoTomador\">Observação: *</label>\r\n            <span class=\"p-fluid\">\r\n              <textarea v-model=\"decAnalise.motivoRetificacao\" rows=\"5\" maxlength=\"500\" />\r\n            </span>\r\n          </div>\r\n        </div>\r\n      </div>\r\n      <hr />\r\n      <div class=\"container\">\r\n        <div class=\"row\">\r\n          <div>\r\n            <Button @click=\"saveMotivoRetifcacao()\" href=\"#topo\" type=\"button\" label=\"Salvar\"\r\n              class=\"p-button-primary mr-2 p-button-success\" icon=\"pi pi-check\" :disabled=\"loading\" />\r\n          </div>\r\n          <div>\r\n            <Button @click=\"closeDialogRetifAnalise\" type=\"button\" label=\"Fechar\"\r\n              class=\"p-button-primary mr-2 p-button-danger\" icon=\"pi pi-times\" />\r\n          </div>\r\n        </div>\r\n      </div>\r\n    </Dialog>\r\n    <Dialog header=\"Competência\" :visible.sync=\"showSelectComp\" :style=\"{ width: '30vw' }\"\r\n      :contentStyle=\"{ overflow: 'visible' }\" :modal=\"true\">\r\n      <h1 class=\"titulo-header\">\r\n        Competência\r\n        <Button id=\"icon-close-modals\" icon=\"pi pi-times\" class=\"p-button-rounded p-button-text\"\r\n          @click=\"showSelectComp = false\" />\r\n      </h1><br />\r\n      <span class=\"p-fluid\">\r\n        <Dropdown id=\"filtroAno\" v-model=\"filtroAno\" :options=\"listAnos\" optionLabel=\"name\"\r\n          placeholder=\"Selecione um Ano\" />\r\n      </span>\r\n      <span class=\"p-fluid\">\r\n        <Dropdown id=\"filtroMes\" v-model=\"filtroMes\" :options=\"listMeses\" optionLabel=\"name\"\r\n          placeholder=\"Selecione um Mês\" />\r\n      </span>\r\n      <hr />\r\n      <div class=\"container\">\r\n        <div class=\"row\">\r\n          <div>\r\n            <Button label=\"Selecionar\" icon=\"pi pi-check\" @click=\"pesquisar()\" :disabled=\"loading\" class=\"mr-2\"/>\r\n            <Button label=\"Fechar\" icon=\"pi pi-times\" @click=\"fecharSelectCompetencia()\" class=\"p-button-danger\" />\r\n          </div>\r\n        </div>\r\n      </div>\r\n    </Dialog>\r\n    <Dialog header=\"Aviso\" :visible.sync=\"displayDecSemMov\" :style=\"{ width: '30vw' }\" :modal=\"true\">\r\n      Confirma realizar a Declaração sem Movimento para Competência?\r\n      <hr />\r\n      <div class=\"container\">\r\n        <div class=\"row\">\r\n          <div>\r\n            <Button label=\"Sim\" icon=\"pi pi-check\" @click=\"declararSemMovimento()\" :disabled=\"loading\" class=\"mr-2\"/>\r\n            <Button label=\"Não\" icon=\"pi pi-times\" @click=\"hideDecSemMov()\" class=\"p-button-secondary\" />\r\n          </div>\r\n        </div>\r\n      </div>\r\n    </Dialog>\r\n    <Dialog header=\"Imprimir Boleto\" :visible.sync=\"displayVencBoleto\" :style=\"{ width: '30vw' }\"\r\n      :contentStyle=\"{ overflow: 'visible' }\" :modal=\"true\">\r\n      <h1 class=\"titulo-header\">\r\n        Imprimir Boleto\r\n        <Button id=\"icon-close-modals\" icon=\"pi pi-times\" class=\"p-button-rounded p-button-text\"\r\n          @click=\"displayVencBoleto = false\" />\r\n      </h1><br />\r\n      <div class=\"col-md-8 mb-8\">\r\n        <label for=\"dataVencBoleto\">Data de Vencimento: *</label>\r\n        <span class=\"p-fluid\">\r\n          <Calendar :disabled=\"disableDataVencDam\" id=\"dataVencBoleto\" :key=\"dtVencBoleto\" name=\"dataVencBoleto\"\r\n            v-model=\"dataVencimento\" :showIcon=\"true\" dateFormat=\"dd/mm/yy\" @date-select=\"vencimentoSelect()\" />\r\n        </span>\r\n      </div>\r\n      <hr />\r\n      <div class=\"container\">\r\n        <div class=\"row\">\r\n          <div>\r\n            <Button label=\"Sim\" icon=\"pi pi-check\" @click=\"imprimirBoleto()\" v-if=\"tipoEmissaoBoleto === 'N'\"\r\n              :disabled=\"loading\" class=\"mr-2\"/>\r\n            <Button label=\"Sim\" icon=\"pi pi-check\" @click=\"imprimirBoletoPix()\" v-if=\"tipoEmissaoBoleto === 'P'\"\r\n              :disabled=\"loading\" class=\"mr-2\"/>\r\n            <Button label=\"Não\" icon=\"pi pi-times\" @click=\"hideVencBoleto()\" class=\"p-button-secondary\" />\r\n          </div>\r\n        </div>\r\n      </div>\r\n    </Dialog>\r\n    <Dialog header=\"Boleto\" :visible.sync=\"displayBoletos\" :style=\"{ width: '38vw' }\" :modal=\"true\">\r\n      <h1 class=\"titulo-header\">\r\n        Boleto\r\n        <Button id=\"icon-close-modals\" icon=\"pi pi-times\" class=\"p-button-rounded p-button-text\"\r\n          @click=\"displayBoletos = false\" />\r\n      </h1><br />\r\n      <DataTable :value=\"listBoletos\" :paginator=\"true\" :rows=\"10\" :autoLayout=\"true\" style=\"min-width: 100%\">\r\n        <Column headerStyle=\"width: 4em\" header bodyStyle=\"text-align: center\">\r\n          <template #body=\"slotProps\">\r\n            <Button type=\"button\" title=\"Imprimir Boleto\" class=\"p-button-primary mr-2\" icon=\"pi pi-print\"\r\n              style=\"margin-right: 0.5em\" @click=\"\r\n                carregarVencimentoBoleto(\r\n                  slotProps.data.id,\r\n                  slotProps.data.dataVencimento,\r\n                  'N'\r\n                )\r\n                \" :disabled=\"loading\" v-if=\"slotProps.data.pagamentoEfetuado == 'N'\"></Button>\r\n            <Button type=\"button\" title=\"Pagar com PIX\" class=\"p-button-outlined mr-2\" icon=\"pi pix-icon\"\r\n              style=\"margin-right: 0.5em\" @click=\"\r\n                escolhaPagamentoPix(\r\n                  slotProps.data.id,\r\n                  slotProps.data.dataVencimento\r\n                )\r\n                \" :disabled=\"loading\" v-if=\"slotProps.data.pagamentoEfetuado == 'N' && habilitarPix\"></Button>\r\n            <Button title=\"Consultar Pagamento PIX\" icon=\"pi pi-search\" style=\"margin-right: 0.5em\"\r\n              @click=\"consultarPagamentoPix(slotProps.data.id)\"\r\n              v-if=\"slotProps.data.pagamentoEfetuado == 'N' && habilitarPix\" />\r\n          </template>\r\n        </Column>\r\n        <Column headerStyle=\"width: 10%\" field=\"vencimentoFormatado\" header=\"Vencimento\" bodyStyle=\"text-align:right\">\r\n        </Column>\r\n        <Column headerStyle=\"width: 8em\" field=\"valorFormatado\" header=\"Valor\" bodyStyle=\"text-align:center\"></Column>\r\n      </DataTable>\r\n      <hr />\r\n      <div class=\"container\">\r\n        <div class=\"row\">\r\n          <div>\r\n            <Button label=\"Fechar\" icon=\"pi pi-times\" @click=\"hideBoletos()\" class=\"p-button-danger\" />\r\n          </div>\r\n        </div>\r\n      </div>\r\n    </Dialog>\r\n    <Dialog header=\"Lançamentos Avulsos\" :visible.sync=\"displayAvulsos\" :style=\"{ width: '60vw' }\" :modal=\"true\">\r\n      <h1 class=\"titulo-header\">\r\n        Lançamentos Avulsos\r\n        <Button id=\"icon-close-modals\" icon=\"pi pi-times\" class=\"p-button-rounded p-button-text\"\r\n          @click=\"displayAvulsos = false\" />\r\n      </h1><br />\r\n      <DataTable :value=\"listAvulsos\" :paginator=\"true\" :rows=\"5\" :autoLayout=\"true\" style=\"min-width: 100%\">\r\n        <Column headerStyle=\"width: 4em\" header=\"Recibo\" bodyStyle=\"text-align: center\">\r\n          <template #body=\"slotProps\">\r\n            <Button type=\"button\" title=\"Imprimir Recibo\" class=\"p-button-primary mr-2\" icon=\"pi pi-print\"\r\n              style=\"margin-right: 0.5em\" @click=\"impressaoComprovante(slotProps.data.id)\" :disabled=\"loading\"></Button>\r\n          </template>\r\n        </Column>\r\n        <Column headerStyle=\"width: 10%\" field=\"numero\" header=\"Número\" bodyStyle=\"text-align:right\"></Column>\r\n        <Column headerStyle=\"width: 8em\" field=\"dataFormatada\" header=\"Data\" bodyStyle=\"text-align:center\"></Column>\r\n        <Column headerStyle=\"width: 8em\" field=\"tomador\" header=\"Contribuinte\" bodyStyle=\"text-align:center\"></Column>\r\n        <Column headerStyle=\"width: 8em\" field=\"valor\" header=\"Valor\" bodyStyle=\"text-align:center\"></Column>\r\n        <Column headerStyle=\"width: 8em\" field=\"aliquota\" header=\"Alíquota\" bodyStyle=\"text-align:center\"></Column>\r\n        <Column headerStyle=\"width: 8em\" field=\"iss\" header=\"ISS\" bodyStyle=\"text-align:center\"></Column>\r\n      </DataTable>\r\n      <hr />\r\n      <div class=\"container\">\r\n        <div class=\"row\">\r\n          <div>\r\n            <Button label=\"Fechar\" icon=\"pi pi-times\" @click=\"hideAvulsos()\" class=\"p-button-danger\" />\r\n          </div>\r\n        </div>\r\n      </div>\r\n    </Dialog>\r\n    <Dialog :visible.sync=\"showEscolhaPix\" :style=\"{ width: '30vw' }\" :contentStyle=\"{ overflow: 'visible' }\"\r\n      :modal=\"true\">\r\n      <template #header>\r\n        <Button class=\"p-button-outlined mr-2\" icon=\"pi pix-icon\" />\r\n        <h3>Pagar com PIX</h3>\r\n      </template>\r\n      <div class=\"col-md-8 mb-8\">\r\n        <Button label=\"QR Code\" icon=\"pi pi-bars\" @click=\"criarPagamentoPix()\" style=\"margin-right: 0.5em\"\r\n          :disabled=\"loading\" />\r\n        <Button label=\"Boleto\" icon=\"pi pi-print\" @click=\"\r\n          carregarVencimentoBoleto(idDamAgrupamento, dataVencimento, 'P')\r\n          \" :disabled=\"loading\" />\r\n      </div>\r\n      <hr />\r\n      <div class=\"container\">\r\n        <div class=\"row\">\r\n          <div>\r\n            <Button label=\"Fechar\" icon=\"pi pi-times\" @click=\"showEscolhaPix = false\" class=\"p-button-danger\" />\r\n          </div>\r\n        </div>\r\n      </div>\r\n    </Dialog>\r\n    <Dialog :visible.sync=\"showPix\" :style=\"{ width: '40vw' }\" :modal=\"true\">\r\n      <template #header>\r\n        <Button class=\"p-button-outlined mr-2\" icon=\"pi pix-icon\" />\r\n        <h3>Pagar com PIX</h3>\r\n      </template>\r\n      <div class=\"card-body\">\r\n        <div class=\"row\">\r\n          <div class=\"col-md-6 mb-2\">\r\n            <QRCanvas :options=\"optionsPix\" />\r\n          </div>\r\n          <div class=\"col-md-6 mb-2\">\r\n            <div style=\"padding-top: 20px\">\r\n              Utilize o App de sua Instituição Financeira, na opção PIX escolha\r\n              pagar com QR Code, confirme os dados e realize o Pagamento. <br />\r\n              <br /><span style=\"font-weight: bold\">Valor Total:\r\n                {{ this.pixGerado ? this.pixGerado.valorFormatado : 0 }}</span>\r\n            </div>\r\n          </div>\r\n        </div>\r\n        <div class=\"row\" v-if=\"this.pixGerado && this.pixGerado.qrCode\">\r\n          <div class=\"col-md-12 mb-2\">\r\n            <Button label=\"Copiar Código PIX\" icon=\"pi pi-copy\" @click=\"copiarPix()\" />\r\n          </div>\r\n        </div>\r\n      </div>\r\n\r\n      <hr />\r\n      <div class=\"container\">\r\n        <div class=\"row\">\r\n          <div>\r\n            <Button label=\"Fechar\" icon=\"pi pi-times\" @click=\"showPix = false\" class=\"p-button-danger\" />\r\n          </div>\r\n        </div>\r\n      </div>\r\n    </Dialog>\r\n    <Dialog header=\"Pesquisar Declaração por Nfse\" :visible.sync=\"showPesqNota\" :style=\"{ width: '30vw' }\"\r\n      :contentStyle=\"{ overflow: 'visible' }\" :modal=\"true\">\r\n      <h1 class=\"titulo-header\">\r\n        Pesquisar Declaração por Nfse\r\n        <Button id=\"icon-close-modals\" icon=\"pi pi-times\" class=\"p-button-rounded p-button-text\"\r\n          @click=\"showPesqNota = false\" />\r\n      </h1><br />\r\n      <span class=\"p-fluid\">\r\n        <InputText v-model=\"numeroNfsePesquisa\" placeholder=\"Número Nfse\" />\r\n      </span>\r\n      <span class=\"p-fluid\">\r\n        <InputText v-model=\"filtro\" placeholder=\"CPF/CNPJ/Nome Prestador\" />\r\n      </span>\r\n      <hr />\r\n      <div class=\"container\">\r\n        <div class=\"row\">\r\n          <div>\r\n            <Button label=\"Pesquisar\" icon=\"pi pi-check\" @click=\"pesquisarPorNota()\" :disabled=\"loading\" class=\"mr-2\"/>\r\n            <Button label=\"Fechar\" icon=\"pi pi-times\" @click=\"showPesqNota = false\" class=\"p-button-danger\" />\r\n          </div>\r\n        </div>\r\n      </div>\r\n    </Dialog>\r\n    <Dialog header=\"Aplicar Créditos\" :visible.sync=\"showAplicarCredito\" v-if=\"dadosCredito != null\"\r\n      :style=\"{ width: '30vw' }\" :contentStyle=\"{ overflow: 'visible' }\" :modal=\"true\">\r\n      <h1 class=\"titulo-header\">\r\n        Aplicar Créditos\r\n        <Button id=\"icon-close-modals\" icon=\"pi pi-times\" class=\"p-button-rounded p-button-text\"\r\n          @click=\"showAplicarCredito = false\" />\r\n      </h1><br />\r\n      <div class=\"col-md-10 mb-8\" v-if=\"dadosCredito.valorCreditoAplicado <= 0\">\r\n        <label style=\"font-weight: bold;\">O município possibilita a aplicação do saldo de crédito abaixo até o\r\n          percentual\r\n          limite de: {{ dadosCredito.percentualLimiteAbatimentoCredito }}%. </label>\r\n      </div>\r\n      <div class=\"col-md-8 mb-8\">\r\n        <label for=\"dataVencBoleto\">Declaracao Selecionada: </label>\r\n        <span class=\"p-fluid\" v-if=\"declaracaoSelecionada && declaracaoSelecionada.numero\">\r\n          <InputText v-model=\"declaracaoSelecionada.numero\" disabled=\"true\" />\r\n        </span>\r\n      </div>\r\n      <div class=\"col-md-10 mb-8\" v-if=\"dadosCredito.valorCreditoAplicado > 0\">\r\n        <label style=\"font-weight: bold;\">Esta declaração ja possui um crédito aplicado no valor de: {{\r\n          dadosCredito.valorCreditoAplicado }}, não é possível aplicar mais de um crédito. </label>\r\n      </div>\r\n      <div class=\"col-md-8 mb-8\" v-if=\"dadosCredito.valorCreditoAplicado <= 0\">\r\n        <label for=\"dataVencBoleto\">Saldo Crédito Disponível: </label>\r\n        <span class=\"p-fluid\">\r\n          <InputText v-model=\"dadosCredito.saldoCredito\" disabled=\"true\" />\r\n        </span>\r\n      </div>\r\n      <hr />\r\n      <div class=\"container\">\r\n        <div class=\"row\">\r\n          <div>\r\n            <Button label=\"Aplicar\" icon=\"pi pi-check\" @click=\"aplicarCredito()\" :disabled=\"loading\"\r\n              v-if=\"dadosCredito.valorCreditoAplicado <= 0\" class=\"mr-2\"/>\r\n            <Button label=\"Fechar\" icon=\"pi pi-times\" @click=\"showAplicarCredito = false\" :disabled=\"loading\"\r\n              class=\"p-button-secondary\" />\r\n          </div>\r\n        </div>\r\n      </div>\r\n    </Dialog>\r\n    <Dialog header=\"Transferência de Valores\" :visible.sync=\"showTransfValores\" :style=\"{ width: '30vw' }\" :modal=\"true\"\r\n      v-if=\"declaracaoSelecionada\">\r\n      <h1 class=\"titulo-header\">\r\n        Transferência de Valores\r\n        <Button id=\"icon-close-modals\" icon=\"pi pi-times\" class=\"p-button-rounded p-button-text\"\r\n          @click=\"showTransfValores = false\" />\r\n      </h1><br />\r\n      Declaração Selecionada: {{ declaracaoSelecionada.numero }}<br /><br />\r\n      ATENÇÃO! Essa opção deve ser utilizada para transferir os calculos/valores da declaração selecionada para outra,\r\n      nos casos onde há pagamento em declarações canceladas/retificadas e pagas.\r\n      caso confirme a operação informe abaixo o numero de declaração de destino\r\n      <hr />\r\n      <span class=\"p-fluid\">\r\n        <InputText v-model=\"numeroDeclaracaoDestino\" placeholder=\"Número Declaração Destino\" />\r\n      </span>\r\n      <hr />\r\n      <div class=\"container\">\r\n        <div class=\"row\">\r\n          <div>\r\n            <Button label=\"Transferir\" icon=\"pi pi-check\" @click=\"transferirCalculos()\" class=\"mr-2\"/>\r\n            <Button label=\"Fechar\" icon=\"pi pi-times\" @click=\"showTransfValores = false\" class=\"p-button-secondary\" />\r\n          </div>\r\n        </div>\r\n      </div>\r\n    </Dialog>\r\n    <Dialog :header=\"estadoSuspensao === 'S' ? 'Suspender Guia' : 'Cancelar Suspenso Processo'\"\r\n      :visible.sync=\"showSuspensao\" :style=\"{ width: '30vw' }\" :modal=\"true\"\r\n      v-if=\"declaracaoSelecionada && estadoSuspensao\">\r\n      <h1 class=\"titulo-header\">\r\n        {{ estadoSuspensao === 'S' ? 'Suspender Guia' : 'Cancelar Suspenso Processo' }}\r\n        <Button id=\"icon-close-modals\" icon=\"pi pi-times\" class=\"p-button-rounded p-button-text\"\r\n          @click=\"showSuspensao = false\" />\r\n      </h1><br />\r\n      Declaração Selecionada: {{ declaracaoSelecionada.numero }}<br /><br />\r\n      Confirma {{ estadoSuspensao === 'S' ? 'a Suspenção da Guia' : 'o Cancelamento do Suspenso Processo' }}?\r\n      <hr />\r\n      <div class=\"container\">\r\n        <div class=\"row\">\r\n          <div>\r\n            <Button label=\"Sim\" icon=\"pi pi-check\" @click=\"efetivarSuspensao()\" class=\"mr-2\"/>\r\n            <Button label=\"Fechar\" icon=\"pi pi-times\" @click=\"showSuspensao = false\" class=\"p-button-secondary\" />\r\n          </div>\r\n        </div>\r\n      </div>\r\n    </Dialog>\r\n  </div>\r\n</template>\r\n<script>\r\nimport DeclaracaoSubstituicao from \"../services/tributario/declaracao.substituicao.service\";\r\nimport DeclaracaoService from \"../services/tributario/declaracao.service\";\r\nimport DeclaracaoRetificacaoService from \"../services/tributario/declaracao.retificacao.service\";\r\nimport RetificarDeclaracaoAnalise from \"../models/tributario/RetificarDeclaracaoAnalise\";\r\nimport Daps from \"../models/nfse/Daps\";\r\nimport DapsRecusaMotivoModel from \"../models/nfse/DapsRecusaMotivoModel\";\r\nimport DapsService from \"../services/nfse/daps.service\";\r\nimport LoginService from \"../services/acesso/login.service\";\r\nimport ReportService from \"../services/report.service\";\r\nimport { QRCanvas } from \"qrcanvas-vue\";\r\n/* eslint-disable */\r\nexport default {\r\n  name: \"declaracaoSubstituicao\",\r\n  components: {\r\n    QRCanvas,\r\n  },\r\n  data() {\r\n    return {\r\n      apresentacao: false,\r\n      filtersModel: {},\r\n      filtersModelNotas: {},\r\n      dtVencBoleto: 1,\r\n      dtVenc: 0,\r\n      inativo: false,\r\n      competencia: \"\",\r\n      checkTodos: false,\r\n      loading: false,\r\n      filtro: \"\",\r\n      filtroAno: \"\",\r\n      filtroMes: \"\",\r\n      listAnos: [],\r\n      listMeses: [],\r\n      listDeclaracao: [],\r\n      listNotas: [],\r\n      filters: {},\r\n      currentUser: null,\r\n      competenciaLimite: null,\r\n      showSelectComp: false,\r\n      displayDecSemMov: false,\r\n      showImpressaoBoletos: false,\r\n      idDeclaracaoSelecionada: null,\r\n      dataVencimento: null,\r\n      listNotasDeclaradas: [],\r\n      declaracaoSelecionada: null,\r\n      displayRetificar: false,\r\n      displayBoletos: false,\r\n      listBoletos: [],\r\n      displayAvulsos: false,\r\n      listAvulsos: [],\r\n      tipoEmissaoBoleto: \"N\",\r\n      idDecLancamentoSelecionado: null,\r\n      idDamAgrupamento: null,\r\n      displayVencBoleto: false,\r\n      habilitarPix: false,\r\n      habilitarCredito: false,\r\n      showPix: false,\r\n      showEscolhaPix: false,\r\n      optionsPix: {\r\n        cellSize: 5,\r\n        data: \"hello\",\r\n      },\r\n      pixGerado: null,\r\n      observacaoClienteNfse: false,\r\n      numeroNfsePesquisa: '',\r\n      showPesqNota: false,\r\n      showRetificarDecAnalise: false,\r\n      habilitarRecDaps: null,\r\n      showRecusaDaps: false,\r\n      showDialogRecusaDaps: false,\r\n      motivoRecDaps: null,\r\n      dapsSelecionada: null,\r\n      fechamentoAutomatico: false,\r\n      decAnalise: new RetificarDeclaracaoAnalise(),\r\n      dapsRecusa: new DapsRecusaMotivoModel(),\r\n      daps: new Daps(),\r\n      showTransfValores: false,\r\n      numeroDeclaracaoDestino: null,\r\n      showSuspensao: false,\r\n      estadoSuspensao: null,\r\n      dadosCredito: null,\r\n      showAplicarCredito: false,\r\n      boletos: false,\r\n      admin: false,\r\n      vencimentoAnterior: null,\r\n      disableDataVencDam: false,\r\n      travaDam: null,\r\n      habilitarAceiteTomador: false,\r\n      notaSelecionada: null,\r\n      showDialogAceiteTomador: false,\r\n      motivoRetencaoIndevida: ''\r\n    };\r\n  },\r\n\r\n  created() {\r\n    this.apresentacao = (this.$apresentacao ? this.$apresentacao : false);\r\n    this.competenciaLimite = new Date();\r\n    this.competenciaLimite.setMonth(this.competenciaLimite.getMonth());\r\n    this.currentUser = LoginService.currentUserValue;\r\n    //retirado a pedido de porto velho pos sistema entrar no ar\r\n    //this.fechamentoAutomatico = this.currentUser.configuracao.fechamentoAutomatico === 'S';\r\n    this.habilitarAceiteTomador = this.currentUser.configuracao.idBolAceiteTomador === 'S';\r\n    this.habilitarRecDaps = this.currentUser.configuracao.idBolRecusaDeclaracao;\r\n    this.habilitarPix = this.currentUser.configuracao.idBolUtilizarPix === \"S\";\r\n    this.habilitarCredito = this.currentUser.configuracao.idBolCreditoHabilitado === \"S\";\r\n    this.inativo =\r\n      this.currentUser && this.currentUser.contribuinte\r\n        ? !this.currentUser.contribuinte.ativo\r\n        : false;\r\n    this.observacaoClienteNfse =\r\n      this.currentUser.configuracao.idBolObservacaoNfse === \"S\";\r\n    this.carregarAnos();\r\n    this.carregarMeses();\r\n    this.carregarCompetenciaAtual();\r\n    this.displayRecusaDaps();\r\n    this.pesquisar();\r\n    this.admin = this.currentUser.usuario.idBolAdmin;\r\n    this.travaDam = this.currentUser.configuracao.nfDiasTravaPagamentoBoleto;\r\n  },\r\n\r\n  methods: {\r\n    openSuspensao(declaracao, estado) {\r\n      this.declaracaoSelecionada = declaracao;\r\n      this.estadoSuspensao = estado;\r\n      this.showSuspensao = true;\r\n    },\r\n    efetivarSuspensao() {\r\n      this.processando(true);\r\n      if (this.estadoSuspensao === 'S') {\r\n        DeclaracaoSubstituicao.suspenderGuia(\r\n          this.currentUser.usuario.idUsuario,\r\n          this.declaracaoSelecionada.id\r\n        )\r\n          .then((response) => {\r\n            console.log(response);\r\n            this.pesquisar();\r\n            this.showSuspensao = false;\r\n            this.$root.$emit(\r\n              \"alert:success\",\r\n              \"Suspensão de Guia realizada com sucesso!\"\r\n            );\r\n          },\r\n            (error) => {\r\n              console.log(error);\r\n              this.$root.$emit(\"alert:warn\", error.response.data);\r\n            }\r\n          )\r\n          .then(() => {\r\n            this.processando(false);\r\n          });\r\n      } else {\r\n        DeclaracaoSubstituicao.cancelarSuspencaoGuia(\r\n          this.currentUser.usuario.idUsuario,\r\n          this.declaracaoSelecionada.id\r\n        )\r\n          .then((response) => {\r\n            console.log(response);\r\n            this.pesquisar();\r\n            this.showSuspensao = false;\r\n            this.$root.$emit(\r\n              \"alert:success\",\r\n              \"Cancelamento Suspenso Processo realizado com sucesso!\"\r\n            );\r\n          },\r\n            (error) => {\r\n              console.log(error);\r\n              this.$root.$emit(\"alert:warn\", error.response.data);\r\n            }\r\n          )\r\n          .then(() => {\r\n            this.processando(false);\r\n          });\r\n      }\r\n    },\r\n    openTransferirCalculoes(declaracao) {\r\n      this.declaracaoSelecionada = declaracao;\r\n      this.idDeclaracaoSelecionada = declaracao.id;\r\n      this.showTransfValores = true;\r\n      this.numeroDeclaracaoDestino = null;\r\n    },\r\n    transferirCalculos() {\r\n      this.processando(true);\r\n      DeclaracaoSubstituicao.transferirCalculosDeclaracao(\r\n        this.idDeclaracaoSelecionada,\r\n        this.numeroDeclaracaoDestino\r\n      )\r\n        .then((response) => {\r\n          console.log(response);\r\n          this.pesquisar();\r\n          this.showTransfValores = false;\r\n          this.$root.$emit(\r\n            \"alert:success\",\r\n            \"Transferência realizada com sucesso!\"\r\n          );\r\n        },\r\n          (error) => {\r\n            console.log(error);\r\n            this.$root.$emit(\"alert:warn\", error.response.data);\r\n          }\r\n        )\r\n        .then(() => {\r\n          this.processando(false);\r\n        });\r\n    },\r\n    vencimentoSelect() {\r\n      let dateSelect = this.dataVencimento;\r\n      if (dateSelect) {\r\n        dateSelect.setHours(8);\r\n      }\r\n    },\r\n    copiarPix() {\r\n      navigator.clipboard.writeText(this.pixGerado.qrCode);\r\n    },\r\n    rowClass(data) {\r\n      return data.status === \"Cancelada\" || data.status === \"Retificada\"\r\n        ? \"red-row\"\r\n        : data.status === \"Encerrada\"\r\n          ? \"green-row\"\r\n          : null;\r\n    },\r\n    lineClass(data) {\r\n      return data.status === \"Cancelada\" ||\r\n        data.status === \"Retificada\" ||\r\n        data.status === \"Encerrada\"\r\n        ? \"white-line\"\r\n        : null;\r\n    },\r\n    rolarPagina() {\r\n      document.getElementById(\"topo\").scrollIntoView({\r\n        behavior: \"smooth\",\r\n      });\r\n    },\r\n    alterarCompetencia() {\r\n      this.showSelectComp = true;\r\n    },\r\n    fecharSelectCompetencia() {\r\n      this.showSelectComp = false;\r\n    },\r\n    showNotaDam() {\r\n      this.showPesqNota = true;\r\n    },\r\n    displayRecusaDaps() {\r\n      if (this.habilitarRecDaps === 'S') {\r\n        this.showRecusaDaps = true;\r\n      } else if (this.habilitarRecDaps === 'N') {\r\n        this.showRecusaDaps = false;\r\n      }\r\n    },\r\n    displayDialogRecDaps(dapsSelecionada) {\r\n      this.dapsSelecionada = dapsSelecionada;\r\n      this.showDialogRecusaDaps = true;\r\n    },\r\n    displayDialogAceiteTomador(nota) {\r\n      this.notaSelecionada = nota;\r\n      this.motivoRetencaoIndevida = '';\r\n      this.showDialogAceiteTomador = true;\r\n    },\r\n\r\n    closeDialogRecDaps() {\r\n      this.limparDadosRecDaps();\r\n      this.showDialogRecusaDaps = false;\r\n    },\r\n    pesquisarPorNota() {\r\n      if (this.numeroNfsePesquisa.trim() === '' && this.filtro.trim() === '') {\r\n        this.showPesqNota = false;\r\n        this.pesquisar();\r\n        return;\r\n      }\r\n      this.processando(true);\r\n\r\n      let novaCompetencia =\r\n        this.filtroAno.key +\r\n        \"\" +\r\n        this.formatted_string(\"00\", this.filtroMes.key, \"l\");\r\n      let compMax =\r\n        this.competenciaLimite.getFullYear() +\r\n        \"\" +\r\n        this.formatted_string(\"00\", this.competenciaLimite.getMonth() + 1, \"l\");\r\n\r\n      if (parseInt(novaCompetencia) > parseInt(compMax)) {\r\n        this.$root.$emit(\"alert:warn\", \"Competência ainda não disponivel!\");\r\n        this.processando(false);\r\n        return;\r\n      }\r\n\r\n      this.competencia = this.filtroMes.name + \"/\" + this.filtroAno.key;\r\n      DeclaracaoSubstituicao.findAllDeclaracoesNumero(\r\n        this.currentUser.contribuinte.idContribuinte,\r\n        this.filtroAno.key,\r\n        this.filtroMes.key,\r\n        this.numeroNfsePesquisa,\r\n        this.filtro\r\n      ).then((response) => {\r\n        this.listDeclaracao = response.data;\r\n      }).then(() => {\r\n        this.showPesqNota = false;\r\n        this.processando(false);\r\n      });\r\n\r\n    },\r\n    pesquisar() {\r\n      this.processando(true);\r\n\r\n      let novaCompetencia =\r\n        this.filtroAno.key +\r\n        \"\" +\r\n        this.formatted_string(\"00\", this.filtroMes.key, \"l\");\r\n      let compMax =\r\n        this.competenciaLimite.getFullYear() +\r\n        \"\" +\r\n        this.formatted_string(\"00\", this.competenciaLimite.getMonth() + 1, \"l\");\r\n\r\n      if (parseInt(novaCompetencia) > parseInt(compMax)) {\r\n        this.$root.$emit(\"alert:warn\", \"Competência ainda não disponivel!\");\r\n        this.processando(false);\r\n        return;\r\n      }\r\n\r\n      this.competencia = this.filtroMes.name + \"/\" + this.filtroAno.key;\r\n      DeclaracaoSubstituicao.findAllNotasEmAberto(\r\n        this.currentUser.contribuinte.idContribuinte,\r\n        this.filtroAno.key,\r\n        this.filtroMes.key\r\n      )\r\n        .then((responseNota) => {\r\n          this.listNotas = responseNota.data;\r\n        })\r\n        .then(() => {\r\n          DeclaracaoSubstituicao.findAllDeclaracoes(\r\n            this.currentUser.contribuinte.idContribuinte,\r\n            this.filtroAno.key,\r\n            this.filtroMes.key\r\n          ).then((response) => {\r\n            this.listDeclaracao = response.data;\r\n          })\r\n            .then(() => {\r\n              this.showSelectComp = false;\r\n              this.processando(false);\r\n            });\r\n        });\r\n\r\n    },\r\n    processando(show) {\r\n      if (show) {\r\n        this.loading = true;\r\n        this.$root.$emit(\"loading:show\");\r\n      } else {\r\n        this.loading = false;\r\n        this.$root.$emit(\"loading:hide\");\r\n      }\r\n    },\r\n    carregarAnos() {\r\n      let ano = this.competenciaLimite.getFullYear();\r\n      // eslint-disable-next-line\r\n      for (var i = ano; i > ano - 16; i--) {\r\n        this.listAnos.push({ name: i, key: i });\r\n      }\r\n    },\r\n    carregarMeses() {\r\n      this.listMeses.push({ name: \"Janeiro\", key: 1 });\r\n      this.listMeses.push({ name: \"Fevereiro\", key: 2 });\r\n      this.listMeses.push({ name: \"Março\", key: 3 });\r\n      this.listMeses.push({ name: \"Abril\", key: 4 });\r\n      this.listMeses.push({ name: \"Maio\", key: 5 });\r\n      this.listMeses.push({ name: \"Junho\", key: 6 });\r\n      this.listMeses.push({ name: \"Julho\", key: 7 });\r\n      this.listMeses.push({ name: \"Agosto\", key: 8 });\r\n      this.listMeses.push({ name: \"Setembro\", key: 9 });\r\n      this.listMeses.push({ name: \"Outubro\", key: 10 });\r\n      this.listMeses.push({ name: \"Novembro\", key: 11 });\r\n      this.listMeses.push({ name: \"Dezembro\", key: 12 });\r\n    },\r\n    carregarCompetenciaAtual() {\r\n      let ano = this.competenciaLimite.getFullYear();\r\n      let mes = this.competenciaLimite.getMonth();\r\n      mes = mes + 1;\r\n\r\n      this.filtroAno = this.listAnos.filter((local) => local.key == ano)[0];\r\n      this.filtroMes = this.listMeses.filter((local) => local.key == mes)[0];\r\n      this.competencia = this.filtroMes.name + \"/\" + ano;\r\n    },\r\n    selecionarTodos() {\r\n      if (this.checkTodos) {\r\n        this.listNotas.forEach(function (value) {\r\n          value.selecionado = true;\r\n        });\r\n      } else {\r\n        this.listNotas.forEach(function (value) {\r\n          value.selecionado = false;\r\n        });\r\n      }\r\n    },\r\n    declarar(event) {\r\n      //solução feita para evitar duplo click e o evento acontecer 2 vezes causando problemas de duplicidade de declaração\r\n      if (!event.detail || event.detail == 1) {\r\n        this.processando(true);\r\n        if (\r\n          (!this.listNotas || this.listNotas.length <= 0) &&\r\n          (!this.listDeclaracao || this.listDeclaracao.length <= 0)\r\n        ) {\r\n          this.confirmaDeclararSemMovimento();\r\n          return;\r\n        }\r\n        let checked = false;\r\n        this.listNotas.forEach(function (value) {\r\n          if (value.selecionado) {\r\n            checked = true;\r\n            return;\r\n          }\r\n        });\r\n        if (!checked) {\r\n          this.$root.$emit(\r\n            \"alert:warn\",\r\n            \"Selecione ao menos uma nota para realizar a Declaração!\"\r\n          );\r\n          this.processando(false);\r\n        } else {\r\n          this.declararNotas(false);\r\n        }\r\n        this.processando(false);\r\n      }\r\n    },\r\n    declararParc() {\r\n      this.processando(true);\r\n      if (\r\n        (!this.listNotas || this.listNotas.length <= 0) &&\r\n        (!this.listDeclaracao || this.listDeclaracao.length <= 0)\r\n      ) {\r\n        this.confirmaDeclararSemMovimento();\r\n        return;\r\n      }\r\n      let checked = false;\r\n      this.listNotas.forEach(function (value) {\r\n        if (value.selecionado) {\r\n          checked = true;\r\n          return;\r\n        }\r\n      });\r\n      if (!checked) {\r\n        this.$root.$emit(\r\n          \"alert:warn\",\r\n          \"Selecione ao menos uma nota para realizar a Declaração!\"\r\n        );\r\n        this.processando(false);\r\n      } else {\r\n        this.declararNotas(true);\r\n      }\r\n      this.processando(false);\r\n    },\r\n    confirmaDeclararSemMovimento() {\r\n      this.processando(false);\r\n      this.displayDecSemMov = true;\r\n    },\r\n    hideDecSemMov() {\r\n      this.displayDecSemMov = false;\r\n    },\r\n    declararSemMovimento() {\r\n      DeclaracaoSubstituicao.declararSemMov(\r\n        this.currentUser.usuario.idCliente,\r\n        this.currentUser.usuario.idUsuario,\r\n        this.currentUser.contribuinte.idContribuinte,\r\n        this.filtroAno.key,\r\n        this.filtroMes.key\r\n      ).then((response) => {\r\n        console.log(response);\r\n        this.pesquisar();\r\n        this.$root.$emit(\r\n          \"alert:success\",\r\n          \"Declaração sem Movimento gerada com sucesso!\"\r\n        );\r\n      });\r\n      this.displayDecSemMov = false;\r\n    },\r\n    declararNotas(parc) {\r\n      let listNotasSelecionadas = [];\r\n      this.listNotas.forEach(function (value) {\r\n        if (value.selecionado) {\r\n          value.dataPagamento = value.dataPagamentoFormatada;\r\n          listNotasSelecionadas.push(value);\r\n        }\r\n      });\r\n      if (parc) {\r\n        DeclaracaoSubstituicao.declararParc(\r\n          this.currentUser.usuario.idCliente,\r\n          this.currentUser.usuario.idUsuario,\r\n          this.currentUser.contribuinte.idContribuinte,\r\n          this.filtroAno.key,\r\n          this.filtroMes.key,\r\n          \"N\",\r\n          listNotasSelecionadas\r\n        )\r\n          .then(\r\n            (response) => {\r\n              console.log(response);\r\n              this.pesquisar();\r\n              this.$root.$emit(\"alert:success\", \"Declaração gerada com sucesso!\");\r\n            },\r\n            (error) => {\r\n              console.log(error);\r\n              this.$root.$emit(\"alert:error\", error.response.data);\r\n            }\r\n          )\r\n          .then(() => {\r\n            this.processando(false);\r\n          });\r\n      } else {\r\n        DeclaracaoSubstituicao.declarar(\r\n          this.currentUser.usuario.idCliente,\r\n          this.currentUser.usuario.idUsuario,\r\n          this.currentUser.contribuinte.idContribuinte,\r\n          this.filtroAno.key,\r\n          this.filtroMes.key,\r\n          \"N\",\r\n          listNotasSelecionadas\r\n        )\r\n          .then(\r\n            (response) => {\r\n              console.log(response);\r\n              this.pesquisar();\r\n              this.$root.$emit(\"alert:success\", \"Declaração gerada com sucesso!\");\r\n            },\r\n            (error) => {\r\n              console.log(error);\r\n              this.$root.$emit(\"alert:error\", error.response.data);\r\n            }\r\n          )\r\n          .then(() => {\r\n            this.processando(false);\r\n          });\r\n      }\r\n    },\r\n    cancelarDeclaracao(idDeclaracao) {\r\n      this.processando(true);\r\n      DeclaracaoSubstituicao.cancelar(\r\n        this.currentUser.usuario.idUsuario,\r\n        this.currentUser.contribuinte.idContribuinte,\r\n        idDeclaracao\r\n      )\r\n        .then((response) => {\r\n          console.log(response);\r\n          this.pesquisar();\r\n          this.$root.$emit(\r\n            \"alert:success\",\r\n            \"Declaração cancelada com sucesso!\"\r\n          );\r\n        })\r\n        .then(() => {\r\n          this.processando(false);\r\n        });\r\n    },\r\n    async carregarDadosCredito(idDeclaracao) {\r\n      return DeclaracaoService.carregarDadosCredito(\r\n        this.currentUser.usuario.idUsuario,\r\n        idDeclaracao\r\n      )\r\n        .then((response) => {\r\n          console.log(response);\r\n          this.dadosCredito = response.data;\r\n        },\r\n          (error) => {\r\n            console.log(error);\r\n            this.$root.$emit(\"alert:warn\", error.response.data);\r\n          }\r\n        )\r\n\r\n    },\r\n    async showDiaglogAplicarCredito(declaracao) {\r\n      this.processando(true);\r\n      this.dadosCredito = null;\r\n      this.declaracaoSelecionada = declaracao;\r\n      await this.carregarDadosCredito(declaracao.id);\r\n      let possuiSaldo = false;\r\n      if (this.dadosCredito != null && this.dadosCredito.saldoCredito && this.dadosCredito.saldoCredito > 0) {\r\n        possuiSaldo = true\r\n      }\r\n      if (!possuiSaldo) {\r\n        this.$root.$emit(\"alert:warn\", \"Contribuinte não possui crédito disponivel para aplicar!\");\r\n        this.processando(false);\r\n        return;\r\n      }\r\n      this.showAplicarCredito = true;\r\n      this.processando(false);\r\n\r\n    },\r\n    aplicarCredito() {\r\n      this.processando(true);\r\n      DeclaracaoService.aplicarCredito(\r\n        this.currentUser.usuario.idUsuario,\r\n        this.declaracaoSelecionada.id\r\n      )\r\n        .then((response) => {\r\n          console.log(response);\r\n          this.pesquisar();\r\n          this.showAplicarCredito = false;\r\n          this.$root.$emit(\r\n            \"alert:success\",\r\n            \"Crédito aplicado com sucesso!\"\r\n          );\r\n        },\r\n          (error) => {\r\n            console.log(error);\r\n            this.$root.$emit(\"alert:warn\", error.response.data);\r\n          }\r\n        )\r\n        .then(() => {\r\n          this.processando(false);\r\n        });\r\n    },\r\n    encerrarDeclaracao(id) {\r\n      this.idDeclaracaoSelecionada = id;\r\n      this.processando(true);\r\n      DeclaracaoSubstituicao.encerrar(\r\n        this.currentUser.usuario.idCliente,\r\n        this.currentUser.usuario.idUsuario,\r\n        this.currentUser.contribuinte.idContribuinte,\r\n        this.idDeclaracaoSelecionada\r\n      )\r\n        .then(\r\n          (response) => {\r\n            console.log(response);\r\n            this.pesquisar();\r\n            this.$root.$emit(\r\n              \"alert:success\",\r\n              \"Declaração encerrada com sucesso!\"\r\n            );\r\n          },\r\n          (error) => {\r\n            console.log(error);\r\n            let erro = \"Não foi possível encerrar a Declaração, verifique com o administrador do sistema se o Serviço de Geração de DAM esta disponível!\";\r\n            if (error.response && error.response.data) {\r\n              erro = error.response.data;\r\n            }\r\n            this.$root.$emit(\r\n              \"alert:error\",\r\n              erro\r\n            );\r\n          }\r\n        )\r\n        .then(() => {\r\n          this.processando(false);\r\n        });\r\n    },\r\n    async carregarRetificacao(declaracao) {\r\n      this.declaracaoSelecionada = declaracao;\r\n\r\n      this.dadosCredito = null;\r\n      await this.carregarDadosCredito(declaracao.id);\r\n      if (this.dadosCredito != null && this.dadosCredito.valorCreditoAplicado && this.dadosCredito.valorCreditoAplicado > 0) {\r\n        this.$root.$emit(\r\n          \"alert:warn\",\r\n          \"Não será possível Retificar a declaração, pois foi aplicado um valor de crédito!\"\r\n        );\r\n        return;\r\n      }\r\n\r\n      this.processando(true);\r\n      DeclaracaoRetificacaoService.validarDeclaracao(this.declaracaoSelecionada.id)\r\n        .then((responseValidacao) => {\r\n          const erros = responseValidacao.data;\r\n          if (erros.length > 0) {\r\n            this.$root.$emit(\"alert:warn\", erros[0]);\r\n            return;\r\n          }\r\n\r\n        DeclaracaoService.competenciaEmFiscalizacao(this.declaracaoSelecionada.id)\r\n          .then((responseFisc) => {\r\n            console.log(responseFisc);\r\n            let comp = this.declaracaoSelecionada.ano + '/' + this.declaracaoSelecionada.mes;\r\n            if (responseFisc.data === 'S') {\r\n              this.$root.$emit(\r\n                \"alert:warn\",\r\n                \"Não sera possível Retificar a declaração, Contribuinte em processo de Fiscalização para o período: \" + comp + \" !\"\r\n              );\r\n              return;\r\n            }\r\n\r\n            if (this.isAnaliseRetificacao) {\r\n              this.showDialogRetifAnalise()\r\n            } else {\r\n              DeclaracaoService.carregarNotasDeclaracao(this.declaracaoSelecionada.id)\r\n                .then((response) => {\r\n                  console.log(response);\r\n                  this.listNotasDeclaradas = response.data;\r\n                  this.displayRetificar = true;\r\n                })\r\n            }\r\n          })\r\n      })\r\n      .then(() => {\r\n        this.processando(false);\r\n      });\r\n    },\r\n    hideRetificar() {\r\n      this.processando(true);\r\n      this.declaracaoSelecionada = null;\r\n      this.displayRetificar = false;\r\n      this.pesquisar();\r\n      this.rolarPagina();\r\n      this.processando(false);\r\n    },\r\n    adicionarNotasDeclaracao() {\r\n      this.processando(true);\r\n      for (let i = this.listNotas.length - 1; i >= 0; i--) {\r\n        if (this.listNotas[i].selecionado) {\r\n          this.listNotasDeclaradas.push(this.listNotas[i]);\r\n          this.listNotas.splice(i, 1);\r\n        }\r\n      }\r\n      this.listNotasDeclaradas.sort(function (a, b) {\r\n        return parseFloat(b.numero) - parseFloat(a.numero);\r\n      });\r\n      this.rolarPagina();\r\n      this.processando(false);\r\n    },\r\n    removerNotaDeclaracao(notaDec) {\r\n      this.processando(true);\r\n      notaDec.selecionado = false;\r\n      this.listNotas.push(notaDec);\r\n      this.listNotasDeclaradas.forEach(function (item, index, object) {\r\n        if (item.id === notaDec.id) {\r\n          object.splice(index, 1);\r\n        }\r\n      });\r\n      this.listNotas.sort(function (a, b) {\r\n        return parseFloat(b.numero) - parseFloat(a.numero);\r\n      });\r\n      this.rolarPagina();\r\n      this.processando(false);\r\n    },\r\n    removerNotasDeclaracao() {\r\n      this.processando(true);\r\n      let newList = this.listNotas.slice();\r\n      this.listNotasDeclaradas.forEach(function (item) {\r\n        newList.push(item);\r\n      });\r\n      this.listNotas = newList;\r\n      this.listNotasDeclaradas = [];\r\n      this.listNotas.sort(function (a, b) {\r\n        return parseFloat(b.numero) - parseFloat(a.numero);\r\n      });\r\n      this.rolarPagina();\r\n      this.processando(false);\r\n    },\r\n    retificarDeclaracao() {\r\n      this.processando(true);\r\n      DeclaracaoSubstituicao.retificar(\r\n        this.currentUser.usuario.idUsuario,\r\n        this.currentUser.contribuinte.idContribuinte,\r\n        this.currentUser.usuario.idCliente,\r\n        this.declaracaoSelecionada.id,\r\n        this.listNotasDeclaradas\r\n      )\r\n        .then((response) => {\r\n          console.log(response);\r\n          this.pesquisar();\r\n          this.$root.$emit(\r\n            \"alert:success\",\r\n            \"Declaração retificada com sucesso!\"\r\n          );\r\n          this.hideRetificar();\r\n        },\r\n          (error) => {\r\n            console.log(error);\r\n            let erro = \"\";\r\n            if (error.response && error.response.data) {\r\n              erro = error.response.data;\r\n            }\r\n            this.$root.$emit(\r\n              \"alert:error\",\r\n              erro\r\n            );\r\n          })\r\n        .then(() => {\r\n          this.processando(false);\r\n        });\r\n    },\r\n    showDialogRetifAnalise() {\r\n      this.showRetificarDecAnalise = true;\r\n    },\r\n    closeDialogRetifAnalise() {\r\n      this.limparDadosDecAnalise();\r\n      this.showRetificarDecAnalise = false;\r\n    },\r\n    limparDadosDecAnalise() {\r\n      this.decAnalise.motivoRetificacao = '';\r\n    },\r\n    saveRetencaoIndevida() {\r\n      this.processando(true);\r\n      DeclaracaoSubstituicao.retencaoIndevida(this.currentUser.usuario.idUsuario, this.motivoRetencaoIndevida, this.notaSelecionada).then(\r\n        data => {\r\n          console.log(data);\r\n          this.$root.$emit(\r\n            \"alert:success\",\r\n            \"Retenção indevida realizada com sucesso!\"\r\n          );\r\n          this.pesquisar();\r\n          this.showDialogAceiteTomador = false;\r\n        },\r\n        error => {\r\n          console.log(error);\r\n          this.$root.$emit(\r\n            \"alert:error\",\r\n            error.response.data\r\n          );\r\n        }\r\n      ).then(() => {\r\n        this.processando(false);\r\n      });\r\n    },\r\n    saveMotivoRetifcacao() {\r\n      this.decAnalise.idDeclaracao = this.declaracaoSelecionada.id;\r\n      this.decAnalise.idContribuinte = this.currentUser.contribuinte.idContribuinte;\r\n\r\n      DeclaracaoRetificacaoService.retificarDeclaracaoAnalise(this.decAnalise).then(\r\n        data => {\r\n          console.log(data);\r\n          this.$root.$emit(\r\n            \"alert:success\",\r\n            \"Solicitação de Retificação enviada com sucesso!\"\r\n          );\r\n          this.closeDialogRetifAnalise();\r\n        },\r\n        error => {\r\n          console.log(error);\r\n          this.$root.$emit(\r\n            \"alert:error\",\r\n            error.response.data\r\n          );\r\n        }\r\n      );\r\n    },\r\n    saveMotivoRecDaps() {\r\n      this.processando(true);\r\n      this.dapsRecusa.id = this.dapsSelecionada.daps.id;\r\n      DapsService.salvarRecusaDaps(this.dapsRecusa).then(\r\n        data => {\r\n          console.log(data);\r\n          this.$root.$emit(\r\n            \"alert:success\",\r\n            \"Motivo de Recusa salvo com sucesso!\"\r\n          );\r\n          this.closeDialogRecDaps();\r\n          this.pesquisar();\r\n        },\r\n        error => {\r\n          let errorMessage = \"Houve um erro ao salvar a Obra!\";\r\n          if (error.response) {\r\n            errorMessage = error.response.data;\r\n          }\r\n          this.$toast.add({\r\n            severity: \"error\",\r\n            summary: errorMessage\r\n          });\r\n        }\r\n      );\r\n      this.processando(false);\r\n    },\r\n    limparDadosRecDaps() {\r\n      this.dapsRecusa.motivoRecusa = '';\r\n    },\r\n    exportarExcel(id) {\r\n      var idDeclaracao = id;\r\n      this.exportarDeclaracaoTipo('xls', idDeclaracao);\r\n    },\r\n    exportarDeclaracaoTipo(tipo, idDeclaracao) {\r\n      this.processando(true);\r\n      ReportService.imprimir(\"DeclaracaoMensalServicosXls\", [\r\n        {\r\n          param: \"ID\",\r\n          string: idDeclaracao,\r\n        },\r\n        {\r\n          param: \"TIPO\",\r\n          string: \"S\",\r\n        },\r\n      ], tipo)\r\n        .then(\r\n          () => { },\r\n          error => {\r\n            this.$root.$emit(\"alert:warn\", \"Erro ao Imprimir!\");\r\n            console.log(error);\r\n          }\r\n        )\r\n        .then(() => {\r\n          this.processando(false);\r\n        });\r\n    },\r\n    impressaoNota(idNotaNotaDeclaracao) {\r\n      this.processando(true);\r\n      let ret = idNotaNotaDeclaracao.split(\";\");\r\n      let id = ret[1];\r\n      if (ret[0] === \"N\") {\r\n        let nomeRel = this.observacaoClienteNfse\r\n          ? \"NotaFiscalEletronicaObs\"\r\n          : \"NotaFiscalEletronica\";\r\n        ReportService.imprimir(nomeRel, [\r\n          {\r\n            param: \"where\",\r\n            string: \" and nota_fiscal.id = '\" + id + \"' \",\r\n          },\r\n        ])\r\n          .then(\r\n            (data) => {\r\n              console.log(data);\r\n            },\r\n            (error) => {\r\n              this.$root.$emit(\"alert:warn\", \"Erro ao exibir a visualização!\");\r\n              console.log(error);\r\n            }\r\n          )\r\n          .then(() => {\r\n            this.processando(false);\r\n          });\r\n      } else {\r\n        ReportService.imprimir(\"NotaFiscalAuxiliar\", [\r\n          {\r\n            param: \"where\",\r\n            string: \" and nota.id = '\" + id + \"' \",\r\n          },\r\n        ])\r\n          .then(\r\n            () => { },\r\n            (error) => {\r\n              this.$root.$emit(\"alert:warn\", \"Erro ao Imprimir!\");\r\n              console.log(error);\r\n            }\r\n          )\r\n          .then(() => {\r\n            this.processando(false);\r\n          });\r\n      }\r\n    },\r\n    impressaoDeclaracao(id) {\r\n      console.log(id);\r\n      this.processando(true);\r\n      ReportService.imprimir(\"DeclaracaoMensalServicos\", [\r\n        {\r\n          param: \"ID\",\r\n          string: id,\r\n        },\r\n        {\r\n          param: \"TIPO\",\r\n          string: \"S\",\r\n        },\r\n      ])\r\n        .then(\r\n          (data) => {\r\n            console.log(data);\r\n          },\r\n          (error) => {\r\n            this.$root.$emit(\r\n              \"alert:warn\",\r\n              \"Erro ao imprimir Detalhamento Declaração!\"\r\n            );\r\n            console.log(error);\r\n          }\r\n        )\r\n        .then(() => {\r\n          this.processando(false);\r\n        });\r\n    },\r\n    impressaoProtocolo(id) {\r\n      this.processando(true);\r\n      ReportService.imprimir(\"nfs_protocolo_declaracao\", [\r\n        {\r\n          param: \"ID\",\r\n          string: id,\r\n        }\r\n      ])\r\n        .then(\r\n          (data) => {\r\n            console.log(data);\r\n          },\r\n          (error) => {\r\n            this.$root.$emit(\r\n              \"alert:warn\",\r\n              \"Erro ao imprimir Detalhamento Declaração!\"\r\n            );\r\n            console.log(error);\r\n          }\r\n        )\r\n        .then(() => {\r\n          this.processando(false);\r\n        });\r\n    },\r\n    impressaoBoletos(id, pago) {\r\n      console.log(pago);\r\n      this.processando(true);\r\n      this.idDeclaracaoSelecionada = id;\r\n      DeclaracaoService.competenciaEmFiscalizacao(this.idDeclaracaoSelecionada)\r\n        .then((responseFisc) => {\r\n          console.log(responseFisc);\r\n          if (responseFisc.data === 'S') {\r\n            this.$root.$emit(\r\n              \"alert:warn\",\r\n              \"Não sera possível a Imppressão do Boleto, Contribuinte em processo de Fiscalização para o período da declaração!\"\r\n            );\r\n            this.processando(false);\r\n            return;\r\n          }\r\n          DeclaracaoSubstituicao.findBoletos(id)\r\n            .then((response) => {\r\n              this.listBoletos = response.data;\r\n              this.boletos = this.listBoletos.find(boleto => {\r\n                return boleto;\r\n              });\r\n              this.vencimentoMaximo = new Date(this.boletos.vencimentoAnterior);\r\n              //por problemas com a data vinda do backend tranformando em Date js vai ser incluido 1 dia pois o seDate esta retirando 1 dia ao transformar a data\r\n              this.vencimentoMaximo.setDate(this.vencimentoMaximo.getDate() + 1);\r\n              if (this.travaDam > 0) {\r\n                this.vencimentoMaximo.setDate(this.vencimentoMaximo.getDate() + this.travaDam);\r\n              }\r\n            })\r\n            .then(() => {\r\n              this.showImpressaoBoletos = true;\r\n\r\n              this.displayBoletos = true;\r\n              this.processando(false);\r\n            });\r\n        })\r\n    },\r\n    hideBoletos() {\r\n      this.displayBoletos = false;\r\n    },\r\n    carregarVencimentoBoleto(id, dataVencimento, tipoEmissao) {\r\n      this.tipoEmissaoBoleto = tipoEmissao;\r\n      this.showEscolhaPix = false;\r\n      let d = dataVencimento.split(\"-\");\r\n      this.idDamAgrupamento = id;\r\n      this.dataVencimento = new Date(d[0], d[1] - 1, d[2]);\r\n      this.bloqueiaDataVencDam();\r\n      this.displayVencBoleto = true;\r\n    },\r\n    hideVencBoleto() {\r\n      this.displayVencBoleto = false;\r\n      this.idDecLancamentoSelecionado = null;\r\n      this.idDamAgrupamento = null;\r\n    },\r\n    consultarPagamentoPix(idDamAgrupamento) {\r\n      if (idDamAgrupamento) {\r\n        this.processando(true);\r\n        DeclaracaoSubstituicao.consultarPagamentoPix(\r\n          this.idDeclaracaoSelecionada,\r\n          idDamAgrupamento\r\n        )\r\n          .then(\r\n            (response) => {\r\n              console.log(response);\r\n              this.pesquisar();\r\n              this.hideBoletos();\r\n              this.showPix = false;\r\n              this.$root.$emit(\"alert:info\", response.data);\r\n            },\r\n            (error) => {\r\n              console.log(error);\r\n              this.$root.$emit(\"alert:warn\", error.response.data);\r\n            }\r\n          )\r\n          .then(() => {\r\n            this.processando(false);\r\n          });\r\n      }\r\n    },\r\n    imprimirBoleto() {\r\n      if (!this.dataVencimento) {\r\n        this.$root.$emit(\"alert:warn\", \"Data de Vencimento Obrigatória!\");\r\n        return;\r\n      }\r\n      this.processando(true);\r\n      var novaData = new Date();\r\n      if (this.travaDam >= 0 && this.dataVencimento > this.vencimentoMaximo && !this.admin) {\r\n        this.$root.$emit(\"alert:warn\", \"A Data de Vencimento não pode ser posterior ao vencimento máximo!\");\r\n        this.processando(false);\r\n      } else {\r\n        if (novaData > this.dataVencimento) {\r\n          this.dataVencimento = novaData;\r\n        }\r\n        DeclaracaoSubstituicao.atualizarVencimento(\r\n          this.idDamAgrupamento,\r\n          this.idDeclaracaoSelecionada,\r\n          this.dataVencimento\r\n        )\r\n          .then(\r\n            (response) => {\r\n              console.log(response);\r\n              let idGerado = response.data;\r\n              ReportService.imprimir(\"trb_dam_a5\", [\r\n                {\r\n                  param: \"RP_ID_CLIENTE\",\r\n                  string: this.currentUser.usuario.idCliente,\r\n                },\r\n                {\r\n                  param: \"P_CONTROLE_PARCELA\",\r\n                  string:\r\n                    \" and cp.id_situacao in('1','4','6')  and  cp.id in ('\" +\r\n                    idGerado +\r\n                    \"')\",\r\n                },\r\n              ]).then(\r\n                (data) => {\r\n                  console.log(data);\r\n                },\r\n                (error) => {\r\n                  this.$root.$emit(\r\n                    \"alert:warn\",\r\n                    \"Erro ao exibir a visualização!\"\r\n                  );\r\n                  console.log(error);\r\n                }\r\n              );\r\n            },\r\n            (error) => {\r\n              this.$root.$emit(\"alert:warn\", \"Erro ao atualizar Vencimento!\");\r\n              console.log(error);\r\n            }\r\n          )\r\n          .then(() => {\r\n            this.hideVencBoleto();\r\n            this.hideBoletos();\r\n            this.processando(false);\r\n          });\r\n      }\r\n    },\r\n    bloqueiaDataVencDam() {\r\n      if (this.travaDam === 0 && !this.admin) {\r\n        this.disableDataVencDam = true;\r\n      } else if (this.travaDam === -1 && !this.admin) {\r\n        this.disableDataVencDam = true;\r\n        this.vencimentoMaximo = new Date();\r\n        this.dataVencimento = new Date();\r\n      } else if (this.travaDam === -2 && !this.admin) {\r\n        this.disableDataVencDam = false;\r\n      } else {\r\n        this.disableDataVencDam = false;\r\n      }\r\n    },\r\n    escolhaPagamentoPix(idDamAgrupamento, dataVencimento) {\r\n      this.idDamAgrupamento = idDamAgrupamento;\r\n      this.dataVencimento = dataVencimento;\r\n      this.showEscolhaPix = true;\r\n    },\r\n    criarPagamentoPix() {\r\n      this.processando(true);\r\n\r\n      //seta o vencimento como a data atual quando gera o qr code, pois não solicita data na tela\r\n      let vencimento = new Date();\r\n\r\n      if (this.travaDam >= 0 && vencimento > this.vencimentoMaximo && !this.admin) {\r\n        this.$root.$emit(\"alert:warn\", \"A Data de Vencimento não pode ser posterior ao vencimento máximo!\");\r\n        this.processando(false);\r\n        return;\r\n      }\r\n\r\n      DeclaracaoSubstituicao.criarPagamentoPix(\r\n        this.idDamAgrupamento,\r\n        this.idDeclaracaoSelecionada\r\n      )\r\n        .then(\r\n          (response) => {\r\n            console.log(response);\r\n            this.pixGerado = response.data;\r\n            this.optionsPix.data = this.pixGerado.qrCode;\r\n            this.showPix = true;\r\n          },\r\n          (error) => {\r\n            this.pixGerado = null;\r\n            this.$root.$emit(\"alert:warn\", error);\r\n            console.log(error);\r\n          }\r\n        )\r\n        .then(() => {\r\n          this.showEscolhaPix = false;\r\n          this.processando(false);\r\n        });\r\n    },\r\n    carregarAvulsos(id) {\r\n      this.processando(true);\r\n      DeclaracaoSubstituicao.findAllDecAvulsa(id)\r\n        .then((responseNota) => {\r\n          this.listAvulsos = responseNota.data;\r\n        })\r\n        .then(() => {\r\n          this.processando(false);\r\n          this.displayAvulsos = true;\r\n        });\r\n    },\r\n    hideAvulsos() {\r\n      this.displayAvulsos = false;\r\n    },\r\n    impressaoComprovante(id) {\r\n      console.log(id);\r\n      ReportService.imprimir(\"ComprovanteRetencaoImposto\", [\r\n        {\r\n          param: \"ID_DECLARACAO\",\r\n          string: id,\r\n        },\r\n      ]).then(\r\n        (data) => {\r\n          console.log(data);\r\n        },\r\n        (error) => {\r\n          this.$root.$emit(\r\n            \"alert:warn\",\r\n            \"Erro ao imprimir Detalhamento Declaração!\"\r\n          );\r\n          console.log(error);\r\n        }\r\n      );\r\n    },\r\n    isNotaFiscal(idNotaNotaDeclaracao) {\r\n      let ret = idNotaNotaDeclaracao.split(\";\");\r\n      return ret[0] === \"N\";\r\n    },\r\n    downloadXml(nfseId) {\r\n      this.processando(true);\r\n      let ret = nfseId.split(\";\");\r\n      let id = ret[1];\r\n      ReportService.downloadXml(id)\r\n        .then(\r\n          (data) => {\r\n            console.log(data);\r\n          },\r\n          (error) => {\r\n            this.$root.$emit(\"alert:warn\", \"Erro ao efetuar o download!\");\r\n            console.log(error);\r\n          }\r\n        )\r\n        .then(() => {\r\n          this.processando(false);\r\n        });\r\n    },\r\n    imprimirBoletoPix() {\r\n      if (!this.dataVencimento) {\r\n        this.$root.$emit(\"alert:warn\", \"Data de Vencimento Obrigatória!\");\r\n        return;\r\n      }\r\n      this.processando(true);\r\n      console.log(this.tipoDam);\r\n      var novaData = new Date();\r\n      if (this.travaDam >= 0 && this.dataVencimento > this.vencimentoMaximo && !this.admin) {\r\n        this.$root.$emit(\"alert:warn\", \"A Data de Vencimento não pode ser posterior ao vencimento máximo!\");\r\n        this.processando(false);\r\n      } else {\r\n        if (novaData > this.dataVencimento) {\r\n          this.dataVencimento = novaData;\r\n        }\r\n        DeclaracaoSubstituicao.atualizarVencimento(\r\n          this.idDamAgrupamento,\r\n          this.idDeclaracaoSelecionada,\r\n          this.dataVencimento\r\n        )\r\n          .then(\r\n            (response) => {\r\n              console.log(response);\r\n              let idGerado = response.data;\r\n              DeclaracaoSubstituicao.criarPagamentoPixCp(\r\n                idGerado,\r\n                this.idDeclaracaoSelecionada\r\n              )\r\n                .then(\r\n                  (response) => {\r\n                    console.log(response);\r\n                    this.pixGerado = response.data;\r\n                    ReportService.imprimir(\"trb_dam_a5_pix\", [\r\n                      {\r\n                        param: \"RP_ID_CLIENTE\",\r\n                        string: this.currentUser.usuario.idCliente,\r\n                      },\r\n                      {\r\n                        param: \"QR_CODE\",\r\n                        string: this.pixGerado.qrCode,\r\n                      },\r\n                      {\r\n                        param: \"P_CONTROLE_PARCELA\",\r\n                        string:\r\n                          \" and cp.id_situacao in('1','4','6')  and  cp.id in ('\" +\r\n                          idGerado +\r\n                          \"')\",\r\n                      },\r\n                    ]).then(\r\n                      (data) => {\r\n                        console.log(data);\r\n                      },\r\n                      (error) => {\r\n                        this.$root.$emit(\r\n                          \"alert:warn\",\r\n                          \"Erro ao exibir a visualização!\"\r\n                        );\r\n                        console.log(error);\r\n                      }\r\n                    );\r\n                  },\r\n                  (error) => {\r\n                    this.pixGerado = null;\r\n                    this.$root.$emit(\"alert:warn\", error);\r\n                    console.log(error);\r\n                  }\r\n                )\r\n                .then(() => {\r\n                  this.showEscolhaPix = false;\r\n                  this.processando(false);\r\n                });\r\n            },\r\n            (error) => {\r\n              this.$root.$emit(\"alert:warn\", \"Erro ao atualizar Vencimento!\");\r\n              console.log(error);\r\n            }\r\n          )\r\n          .then(() => {\r\n            this.hideVencBoleto();\r\n            this.hideBoletos();\r\n            this.processando(false);\r\n          });\r\n      }\r\n    },\r\n    formatted_string(pad, user_str, pad_pos) {\r\n      if (typeof user_str === \"undefined\") return pad;\r\n      if (pad_pos == \"l\") {\r\n        return (pad + user_str).slice(-pad.length);\r\n      } else {\r\n        return (user_str + pad).substring(0, pad.length);\r\n      }\r\n    },\r\n    isExibirDataPagamento() {\r\n      return this.currentUser.contribuinte.idBolFechamentoRegimeCaixa == 'S'\r\n    },\r\n    async exportCSVDt1() {\r\n      await DeclaracaoSubstituicao.getConsultaRelDecXlsComp(this.filtroAno.key, this.filtroMes.key, null, null).then(\r\n        (response) => {\r\n          response.data;\r\n          this.sqlRelatorio = response.data;\r\n        },\r\n        (error) => {\r\n          console.log(error);\r\n        }\r\n      );\r\n      this.imprimirExcel();\r\n    },\r\n    imprimirExcel() {\r\n      this.imprimirConsultaTipo('xls');\r\n    },\r\n    imprimirConsultaTipo(tipo) {\r\n      this.processando(true);\r\n      ReportService.imprimir(\"ConsultaDamXls\", [\r\n        {\r\n          param: \"P_CONSULTA\",\r\n          string: this.sqlRelatorio\r\n        }\r\n      ], tipo)\r\n        .then(\r\n          () => { },\r\n          error => {\r\n            this.$root.$emit(\"alert:warn\", \"Erro ao Imprimir!\");\r\n            console.log(error);\r\n          }\r\n        )\r\n        .then(() => {\r\n          this.processando(false);\r\n        });\r\n    },\r\n  },\r\n  computed: {\r\n    isAnaliseRetificacao: {\r\n      get() {\r\n        return this.currentUser.configuracao.idBolDecRetifAnalise === 'S';\r\n      }\r\n    }\r\n  }\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.white-line {\r\n  color: white;\r\n}\r\n\r\n/deep/ .green-row {\r\n  background-color: #28a745 !important;\r\n}\r\n\r\n/deep/ .red-row {\r\n  background-color: #fd7272 !important;\r\n}\r\n\r\ntextarea {\r\n  width: 100%;\r\n  border-radius: 12Px;\r\n}\r\n</style>","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DeclaracaoSubstituicao.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DeclaracaoSubstituicao.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DeclaracaoSubstituicao.vue?vue&type=template&id=5c96fb7a&scoped=true&\"\nimport script from \"./DeclaracaoSubstituicao.vue?vue&type=script&lang=js&\"\nexport * from \"./DeclaracaoSubstituicao.vue?vue&type=script&lang=js&\"\nimport style0 from \"./DeclaracaoSubstituicao.vue?vue&type=style&index=0&id=5c96fb7a&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"5c96fb7a\",\n  null\n  \n)\n\nexport default component.exports","import axios from 'axios';\r\nimport LoginService from '../acesso/login.service'\r\n\r\nconst API_URL = process.env.VUE_APP_BASE_URL + '/api/nfse/daps/';\r\n\r\nclass DapsService {\r\n    constructor() {\r\n        this.idCliente = null;\r\n        this.idContribuinte = null;\r\n        this.idNfsPessoa = null;\r\n        LoginService.currentUser.subscribe(data => {\r\n            this.headers = {\r\n                'Content-Type': 'application/json',\r\n                'authorization': 'Bearer ' + (data ? data.token : '')\r\n            };\r\n        });\r\n    }\r\n\r\n    salvar(daps) {\r\n        this.idCliente = LoginService.currentUserValue.usuario.idCliente;\r\n        this.idContribuinte = LoginService.currentUserValue.contribuinte.idContribuinte;\r\n        console.log(JSON.stringify(daps));\r\n        return axios.post(API_URL + 'create?idCliente=' + this.idCliente + '&idContribuinte=' + this.idContribuinte, JSON.stringify(daps),\r\n            { headers: this.headers });\r\n    }\r\n\r\n    salvarRecusaDaps(dapsRecusa) {\r\n        return axios.post(API_URL, JSON.stringify(dapsRecusa), { headers: this.headers });\r\n    }\r\n\r\n    validarAliquota(valorAliquota, regimeTributacao, aliquotaServico, tipoRecolhimento) {\r\n        return axios.get(API_URL + 'aliquotaTipRec?valorAliquota=' + valorAliquota\r\n            + '&regimeTributacao=' + regimeTributacao\r\n            + '&aliquotaServico=' + aliquotaServico\r\n            + '&tipoRecolhimento=' + tipoRecolhimento, { headers: this.headers });\r\n    }\r\n\r\n    validarAliquotaV2(valorAliquota, regimeTributacao, aliquotaServico, tipoRecolhimento, idBeneficio) {\r\n        return axios.get(API_URL + 'validarAliquota?valorAliquota=' + valorAliquota\r\n            + '&regimeTributacao=' + regimeTributacao\r\n            + '&aliquotaServico=' + aliquotaServico\r\n            + '&tipoRecolhimento=' + tipoRecolhimento\r\n            + '&idBeneficio=' + idBeneficio, { headers: this.headers });\r\n    }\r\n\r\n    validarTela(tipoEmissao, idServico, tipoRecolhimento, regimeTributacao) {\r\n        this.idCliente = LoginService.currentUserValue.usuario.idCliente;\r\n        this.idContribuinte = LoginService.currentUserValue.contribuinte.idContribuinte;\r\n\r\n        return axios.get(API_URL + 'tela?idCliente=' + this.idCliente\r\n            + '&tipoEmissao=' + tipoEmissao\r\n            + '&idContribuinte=' + this.idContribuinte\r\n            + '&idServico=' + idServico\r\n            + '&tipoRecolhimento=' + tipoRecolhimento\r\n            + '&regimeTributacao=' + regimeTributacao, { headers: this.headers });\r\n    }\r\n\r\n    validarTelaV2(tipoEmissao, idServico, tipoRecolhimento, regimeTributacao, pessoa) {\r\n        this.idCliente = LoginService.currentUserValue.usuario.idCliente;\r\n        this.idContribuinte = LoginService.currentUserValue.contribuinte.idContribuinte;\r\n\r\n        return axios.get(API_URL + 'tela_v2?idCliente=' + this.idCliente\r\n            + '&tipoEmissao=' + tipoEmissao\r\n            + '&idContribuinte=' + this.idContribuinte\r\n            + '&idServico=' + idServico\r\n            + '&tipoRecolhimento=' + tipoRecolhimento\r\n            + '&regimeTributacao=' + regimeTributacao\r\n            + '&pessoa=' + pessoa, { headers: this.headers });\r\n    }\r\n\r\n\r\n    listAllFiltroPesquisar(filtro, numero, dataIni, dataFin, tipoDaps, filtroSituacao, filtroIntermediario) {\r\n        this.idCliente = LoginService.currentUserValue.usuario.idCliente;\r\n        this.idContribuinte = LoginService.currentUserValue.contribuinte.idContribuinte;\r\n        this.idNfsPessoa = LoginService.currentUserValue.contribuinte.idNfsPessoa;\r\n        return axios.get(API_URL + 'consulta?idCliente=' + this.idCliente\r\n            + '&idNfsPessoa=' + this.idNfsPessoa\r\n            + '&filtro=' + filtro\r\n            + '&numero=' + numero\r\n            + (dataIni ? ('&dataIni=' + dataIni) : \"\")\r\n            + (dataFin ? ('&dataFin=' + dataFin) : \"\")\r\n            + '&tipoDaps=' + tipoDaps\r\n            + '&filtroSituacao=' + filtroSituacao\r\n            + '&filtroIntermediario=' + filtroIntermediario,\r\n            { headers: this.headers }).then(response => (this.data = response.data.elements));\r\n    }\r\n\r\n    listMotivoRecusaDaps(id) {\r\n        return axios.get(API_URL + 'AllMotivoRecusaDaps?id=' + id, { headers: this.headers });\r\n    }\r\n\r\n    getDapsId(id) {\r\n        return axios.get(API_URL + id, { headers: this.headers });\r\n    }\r\n\r\n    cancelar(idDaps) {\r\n        this.idCliente = LoginService.currentUserValue.usuario.idCliente;\r\n        return axios.post(API_URL + 'cancela?idCliente=' + this.idCliente\r\n            + '&idDaps=' + idDaps,\r\n            null,\r\n            { headers: this.headers });\r\n    }\r\n\r\n    carregarAnexosDaps(idDaps) {\r\n        return axios.get(API_URL + 'allAnexosDaps?idDaps=' + idDaps, { headers: this.headers });\r\n    }\r\n\r\n    validarPrestadorValido(idCliente, tipoTomdor, origem, idPessoa, documentoEmissor) {\r\n        return axios.get(API_URL + 'validarPrestadorValido?idCliente=' + idCliente + '&tipoTomdor=' + tipoTomdor + '&origem=' + origem + '&idPessoa=' + idPessoa + '&documentoEmissor=' + documentoEmissor, { headers: this.headers });\r\n    }\r\n\r\n    validarLocalidade(idCliente, idLocalidade, tipoRecolhimento) {\r\n        return axios.get(API_URL + 'validarLocalidade?idCliente=' + idCliente + '&idLocalidade=' + idLocalidade + '&tipoRecolhimento=' + tipoRecolhimento, { headers: this.headers });\r\n    }\r\n\r\n    downloadAnexo(id, type, nome) {\r\n        return axios({\r\n            url: API_URL + \"exportDapsAnexo?idAnexo=\" + id,\r\n            method: \"POST\",\r\n            responseType: \"blob\",\r\n            data: null,\r\n            headers: this.headers\r\n        }).then(response => {\r\n            var fileURL = window.URL.createObjectURL(\r\n                new Blob([response.data], { type: type })\r\n            );\r\n            var fileLink = document.createElement(\"a\");\r\n            fileLink.href = fileURL;\r\n            console.log(response);\r\n            fileLink.setAttribute(\"download\", nome);\r\n            document.body.appendChild(fileLink);\r\n            fileLink.click();\r\n        });\r\n    }\r\n\r\n    enviarPorEmail(idDaps, emails, comentarios) {\r\n        this.idCliente = LoginService.currentUserValue.usuario.idCliente;\r\n        return axios.get(API_URL + 'enviarEmail?idCliente=' + this.idCliente\r\n            + '&idDaps=' + idDaps\r\n            + '&emails=' + emails\r\n            + '&comentarios=' + comentarios,\r\n            { headers: this.headers });\r\n    }\r\n}\r\n\r\nexport default new DapsService();","import axios from 'axios';\r\nimport LoginService from '../acesso/login.service'\r\n\r\nconst API_URL = process.env.VUE_APP_BASE_URL + '/api/declaracao/';\r\n\r\nclass Declaracao {\r\n    constructor() {\r\n        LoginService.currentUser.subscribe(data => {\r\n            this.headers = {\r\n                'Content-Type': 'application/json',\r\n                'authorization': 'Bearer ' + (data ? data.token : '')\r\n            };\r\n        });\r\n    }\r\n\r\n    findAllDeclaracoes(idContribuinte, ano, mes) {\r\n        return axios.get(API_URL + 'allDeclaracoes?idContribuinte=' + idContribuinte + '&ano=' + ano + '&mes=' + mes, { headers: this.headers });\r\n    }\r\n\r\n    findAllDeclaracoesNumero(idContribuinte, ano, mes, numero, filtro) {\r\n        return axios.get(API_URL + 'allDeclaracoesNumero?idContribuinte=' + idContribuinte + '&ano=' + ano + '&mes=' + mes + '&numero=' + numero + '&filtro=' + filtro, { headers: this.headers });\r\n    }\r\n\r\n    findAllDeclaracoesPorPeriodo(idContribuinte, dataIni, dataFim) {\r\n        return axios.get(API_URL + 'allDeclaracoesPorPeriodo?idContribuinte=' + idContribuinte + '&dataIni=' + dataIni + '&dataFim=' + dataFim, { headers: this.headers });\r\n    }\r\n\r\n    findAllDeclaracoesPorPeriodoNumero(idContribuinte, dataIni, dataFim, numero, filtro) {\r\n        return axios.get(API_URL + 'allDeclaracoesPorPeriodoNumero?idContribuinte=' + idContribuinte + '&dataIni=' + dataIni + '&dataFim=' + dataFim + '&numero=' + numero + '&filtro=' + filtro, { headers: this.headers });\r\n    }\r\n\r\n    findAllItensDeclaracao(idDeclaracao) {\r\n        return axios.get(API_URL + 'allItensDeclaracao?idDeclaracao=' + idDeclaracao, { headers: this.headers });\r\n    }\r\n\r\n    findAllNotasEmAberto(idContribuinte, ano, mes) {\r\n        return axios.get(API_URL + 'allNotasFiscaisEmAberto?idContribuinte=' + idContribuinte + '&ano=' + ano + '&mes=' + mes, { headers: this.headers });\r\n    }\r\n\r\n    findAllNotasDeducao(documento, idContribuinte, ano, mes) {\r\n        return axios.get(API_URL + 'allNotasFiscaisDeducao?documento=' + documento + '&idContribuinte=' + idContribuinte + '&ano=' + ano + '&mes=' + mes, { headers: this.headers });\r\n    }\r\n\r\n    findAllNotasEmAbertoPorPeriodo(idContribuinte, dataIni, dataFim) {\r\n        return axios.get(API_URL + 'allNotasFiscaisEmAbertoPorPeriodo?idContribuinte=' + idContribuinte + '&dataIni=' + dataIni + '&dataFim=' + dataFim, { headers: this.headers });\r\n    }\r\n\r\n    findBoletos(id) {\r\n        return axios.get(API_URL + 'allBoletos?idDeclaracao=' + id, { headers: this.headers });\r\n    }\r\n\r\n    declarar(idCliente, idUsuario, idContribuinte, ano, mes, tipo, composicaoNotas) {\r\n        return axios.post(API_URL + 'declaracaoNormal?idCliente=' + idCliente + '&idContribuinte=' + idContribuinte + '&idUsuario=' + idUsuario + '&ano=' + ano + '&mes=' + mes + '&tipo=' + tipo, JSON.stringify(composicaoNotas),\r\n            { headers: this.headers });\r\n    }\r\n\r\n    declararCompetenciaGeral(idCliente, idUsuario, idContribuinte, ano, mes) {\r\n        return axios.post(API_URL + 'declaracaoCompetenciaGeral?idCliente=' + idCliente + '&idContribuinte=' + idContribuinte + '&idUsuario=' + idUsuario + '&ano=' + ano + '&mes=' + mes, null,\r\n            { headers: this.headers });\r\n    }\r\n\r\n    gerarDam(idCliente, idUsuario, idContribuinte, ano, mes, tipo, notasFiscais) {\r\n        return axios.post(API_URL + 'gerarDamNormal?idCliente=' + idCliente + '&idContribuinte=' + idContribuinte + '&idUsuario=' + idUsuario + '&ano=' + ano + '&mes=' + mes + '&tipo=' + tipo, JSON.stringify(notasFiscais),\r\n            { headers: this.headers });\r\n    }\r\n\r\n    editarDam(idUsuario, idDeclaracao, notasFiscais) {\r\n        return axios.post(API_URL + 'editarDam?idUsuario=' + idUsuario + '&idDeclaracao=' + idDeclaracao, JSON.stringify(notasFiscais),\r\n            { headers: this.headers });\r\n    }\r\n\r\n    declararSemMov(idCliente, idUsuario, idContribuinte, ano, mes) {\r\n        return axios.post(API_URL + 'declaracaoNormalSemMov?idCliente=' + idCliente + '&idContribuinte=' + idContribuinte + '&idUsuario=' + idUsuario + '&ano=' + ano + '&mes=' + mes, null,\r\n            { headers: this.headers });\r\n    }\r\n\r\n    desfazerCancelamento(idDeclaracao) {\r\n        this.idContribuinte = LoginService.currentUserValue.contribuinte.idContribuinte;\r\n        this.idUsuario = LoginService.currentUserValue.usuario.idUsuario;\r\n        return axios.post(API_URL + 'desfazerCancelamento?idContribuinte=' + this.idContribuinte\r\n            + '&idUsuario=' + this.idUsuario\r\n            + '&idDeclaracao=' + idDeclaracao, null,\r\n            { headers: this.headers });\r\n    }\r\n\r\n    cancelar(idUsuario, idContribuinte, idDeclaracao) {\r\n        return axios.post(API_URL + 'cancelar?idContribuinte=' + idContribuinte + '&idUsuario=' + idUsuario + '&idDeclaracao=' + idDeclaracao, null,\r\n            { headers: this.headers });\r\n    }\r\n\r\n    encerrar(idCliente, idUsuario, idContribuinte, idDeclaracao) {\r\n        return axios.post(API_URL + 'encerrarDeclaracao?idCliente=' + idCliente + '&idContribuinte=' + idContribuinte + '&idUsuario=' + idUsuario + '&idDeclaracao=' + idDeclaracao, null,\r\n            { headers: this.headers });\r\n    }\r\n\r\n    encerrarComBeneficio(idUsuario, listItensDeclaracao) {\r\n        return axios.post(API_URL + 'encerrarDeclaracaoBeneficio?idUsuario=' + idUsuario, listItensDeclaracao,\r\n            { headers: this.headers });\r\n    }\r\n\r\n    retificar(idUsuario, idContribuinte, idCliente, idDeclaracao, notasFiscais) {\r\n        return axios.post(API_URL + 'retificar?idUsuario=' + idUsuario + '&idContribuinte=' + idContribuinte + '&idCliente=' + idCliente + '&idDeclaracao=' + idDeclaracao, JSON.stringify(notasFiscais),\r\n            { headers: this.headers });\r\n    }\r\n\r\n    carregarNotasDeclaracao(idDeclaracao) {\r\n        return axios.get(API_URL + 'allNotasDeclaracao?idDeclaracao=' + idDeclaracao, { headers: this.headers });\r\n    }\r\n\r\n    competenciaEmFiscalizacao(idDeclaracao) {\r\n        return axios.get(API_URL + 'competenciaEmFiscalizacao?idDeclaracao=' + idDeclaracao, { headers: this.headers });\r\n    }\r\n\r\n    competenciaDamEmFiscalizacao(idDeclaracao) {\r\n        return axios.get(API_URL + 'competenciaDamEmFiscalizacao?idDeclaracao=' + idDeclaracao, { headers: this.headers });\r\n    }\r\n\r\n    atualizaVencimentoBoleto(tipoDam, idDamAgrupamento, idDeclaracao, dataVencimento) {\r\n        if (tipoDam === 'A') {\r\n            return this.atualizarVencimento(idDamAgrupamento, idDeclaracao, dataVencimento);\r\n        } else {\r\n            return this.atualizarVencimentoSimples(idDeclaracao, dataVencimento);\r\n        }\r\n    }\r\n\r\n    atualizarVencimento(idDamAgrupamento, idDeclaracao, dataVencimento) {\r\n        console.log(\"Agrupado\");\r\n        return axios.post(API_URL + 'atualizarVencimento?idDamAgrupamento=' + idDamAgrupamento + '&idDeclaracao=' + idDeclaracao + '&dataVencimento=' + dataVencimento, null, { headers: this.headers });\r\n    }\r\n\r\n    atualizarParcelaDam(tipoDam, idDamAgrupamento, idDeclaracao, dataVencimento, idUsuario) {\r\n        console.log(tipoDam);\r\n        return axios.post(API_URL + 'atualizarParcelaDam?idDamAgrupamento=' + idDamAgrupamento + '&idDeclaracao=' + idDeclaracao + '&dataVencimento=' + dataVencimento + '&idUsuario=' + idUsuario, null, { headers: this.headers });\r\n    }\r\n\r\n    criarPagamentoPix(idDamAgrupamento, idDeclaracao) {\r\n        return axios.post(API_URL + 'criarPagamentoPix?idDamAgrupamento=' + idDamAgrupamento + '&idDeclaracao=' + idDeclaracao, null, { headers: this.headers });\r\n    }\r\n\r\n    criarPagamentoPixCp(idCalculoParcelado, idDeclaracao) {\r\n        return axios.post(API_URL + 'criarPagamentoPixCp?idCalculoParcelado=' + idCalculoParcelado + '&idDeclaracao=' + idDeclaracao, null, { headers: this.headers });\r\n    }\r\n\r\n    consultarPagamentoPix(idDeclaracao, idDamAgrupamento) {\r\n        return axios.get(API_URL + 'consultarPagamentoPix?idDeclaracao=' + idDeclaracao + '&idDamAgrupamento=' + idDamAgrupamento, { headers: this.headers });\r\n    }\r\n\r\n    atualizarVencimentoSimples(idDeclaracao, dataVencimento) {\r\n        console.log(\"Simples\");\r\n        return axios.post(API_URL + 'atualizarVencimentoSimples?idDeclaracao=' + idDeclaracao + '&dataVencimento=' + dataVencimento, null, { headers: this.headers });\r\n    }\r\n\r\n    carregarDadosCredito(idUsuario, idDeclaracao) {\r\n        return axios.get(API_URL + 'carregarDadosCredito?idUsuario=' + idUsuario + '&idDeclaracao=' + idDeclaracao, { headers: this.headers });\r\n    }\r\n\r\n    aplicarCredito(idUsuario, idDeclaracao) {\r\n        return axios.post(API_URL + 'aplicarCredito?idUsuario=' + idUsuario + '&idDeclaracao=' + idDeclaracao, null, { headers: this.headers });\r\n    }\r\n\r\n    transferirCalculosDeclaracao(idDeclaracaoOrigem, numeroDeclaracaoDestino) {\r\n        return axios.post(API_URL + 'transferirCalculosDeclaracao?idDeclaracaoOrigem=' + idDeclaracaoOrigem + '&numeroDeclaracaoDestino=' + numeroDeclaracaoDestino, null, { headers: this.headers });\r\n    }\r\n\r\n    suspenderGuia(idUsuario, idDeclaracao) {\r\n        return axios.post(API_URL + 'suspenderGuia?idUsuario=' + idUsuario + '&idDeclaracao=' + idDeclaracao, null, { headers: this.headers });\r\n    }\r\n\r\n    cancelarSuspencaoGuia(idUsuario, idDeclaracao) {\r\n        return axios.post(API_URL + 'cancelarSuspencaoGuia?idUsuario=' + idUsuario + '&idDeclaracao=' + idDeclaracao, null, { headers: this.headers });\r\n    }\r\n\r\n    getConsultaRelDamXls(dataIni, dataFim, numero, filtro) {\r\n        this.idContribuinte = LoginService.currentUserValue.contribuinte.idContribuinte;\r\n        return axios.get(API_URL + 'getConsultaDamRelatorioXls?idContribuinte=' + this.idContribuinte\r\n            + '&dataIni=' + dataIni\r\n            + '&dataFim=' + dataFim\r\n            + '&numero=' + numero\r\n            + '&filtro=' + filtro,\r\n            { headers: this.headers });\r\n    }\r\n\r\n    getConsultaRelDecXlsComp(ano, mes, numero, filtro) {\r\n        this.idContribuinte = LoginService.currentUserValue.contribuinte.idContribuinte;\r\n        return axios.get(API_URL + 'getConsultaDecRelatorioXlsComp?idContribuinte=' + this.idContribuinte\r\n            + '&ano=' + ano\r\n            + '&mes=' + mes\r\n            + '&numero=' + numero\r\n            + '&filtro=' + filtro,\r\n            { headers: this.headers });\r\n    }\r\n\r\n}\r\n\r\nexport default new Declaracao();","import axios from 'axios';\r\nimport LoginService from '../acesso/login.service';\r\n\r\nconst API_URL = process.env.VUE_APP_BASE_URL + '/api/declaracaoAnalise/';\r\n\r\nclass DeclaracaoRetificacaoService{\r\n  constructor() {\r\n    LoginService.currentUser.subscribe(data => {\r\n        this.headers = {\r\n            'Content-Type':'application/json',\r\n            'authorization':'Bearer ' + (data ? data.token:'')\r\n        };\r\n    });\r\n  }\r\n\r\n  retificarDeclaracaoAnalise(decAnalise){\r\n    return axios.post(API_URL+'retificacaoAnalise', JSON.stringify(decAnalise), {headers: this.headers});\r\n  }\r\n\r\n  validarDeclaracao(idDeclaracao){\r\n    return axios.post(API_URL+'validarDeclaracao?idDeclaracao='+idDeclaracao, null, {headers: this.headers});\r\n  }\r\n}\r\n\r\nexport default new DeclaracaoRetificacaoService();","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DeclaracaoSubstituicao.vue?vue&type=style&index=0&id=5c96fb7a&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DeclaracaoSubstituicao.vue?vue&type=style&index=0&id=5c96fb7a&lang=scss&scoped=true&\"","import axios from 'axios';\r\nimport LoginService from '../acesso/login.service'\r\n\r\nconst API_URL = process.env.VUE_APP_BASE_URL + '/api/declaracaoSubstituicao/';\r\n\r\nclass DeclaracaoSubstituicao {\r\n    constructor() {\r\n        LoginService.currentUser.subscribe(data => {\r\n            this.headers = {\r\n                'Content-Type': 'application/json',\r\n                'authorization': 'Bearer ' + (data ? data.token : '')\r\n            };\r\n        });\r\n    }\r\n\r\n    findAllDeclaracoes(idContribuinte, ano, mes) {\r\n        return axios.get(API_URL + 'allDeclaracoesSubstituicao?idContribuinte=' + idContribuinte + '&ano=' + ano + '&mes=' + mes, { headers: this.headers });\r\n    }\r\n\r\n    findAllDeclaracoesNumero(idContribuinte, ano, mes, numero, filtro) {\r\n        return axios.get(API_URL + 'allDeclaracoesSubstituicaoNumero?idContribuinte=' + idContribuinte + '&ano=' + ano + '&mes=' + mes + '&numero=' + numero + '&filtro=' + filtro, { headers: this.headers });\r\n    }\r\n\r\n    findAllDeclaracoesPorPeriodo(idContribuinte, dataIni, dataFim) {\r\n        return axios.get(API_URL + 'allDeclaracoesPorPeriodo?idContribuinte=' + idContribuinte + '&dataIni=' + dataIni + '&dataFim=' + dataFim, { headers: this.headers });\r\n    }\r\n\r\n    findAllDeclaracoesPorPeriodoNumero(idContribuinte, dataIni, dataFim, numero, filtro) {\r\n        return axios.get(API_URL + 'allDeclaracoesPorPeriodoNumero?idContribuinte=' + idContribuinte + '&dataIni=' + dataIni + '&dataFim=' + dataFim + '&numero=' + numero + '&filtro=' + filtro, { headers: this.headers });\r\n    }\r\n\r\n    findAllDecAvulsa(idDeclaracao) {\r\n        return axios.get(API_URL + 'allDecAvulsa?idDeclaracao=' + idDeclaracao, { headers: this.headers });\r\n    }\r\n\r\n    findAllNotasEmAberto(idContribuinte, ano, mes) {\r\n        return axios.get(API_URL + 'allNotasFiscaisSubstituicao?idContribuinte=' + idContribuinte + '&ano=' + ano + '&mes=' + mes, { headers: this.headers });\r\n    }\r\n\r\n    findAllNotasEmAbertoPorPeriodo(idContribuinte, dataIni, dataFim) {\r\n        return axios.get(API_URL + 'allNotasFiscaisEmAbertoPorPeriodo?idContribuinte=' + idContribuinte + '&dataIni=' + dataIni + '&dataFim=' + dataFim, { headers: this.headers });\r\n    }\r\n\r\n    findBoletos(id) {\r\n        return axios.get(API_URL + 'allBoletos?idDeclaracao=' + id, { headers: this.headers });\r\n    }\r\n\r\n    declarar(idCliente, idUsuario, idContribuinte, ano, mes, tipo, notasFiscais) {\r\n        return axios.post(API_URL + 'declaracaoSubstituicao?idCliente=' + idCliente + '&idContribuinte=' + idContribuinte + '&idUsuario=' + idUsuario + '&ano=' + ano + '&mes=' + mes + '&tipo=' + tipo, JSON.stringify(notasFiscais),\r\n            { headers: this.headers });\r\n    }\r\n\r\n    gerarDam(idCliente, idUsuario, idContribuinte, ano, mes, tipo, notasFiscais) {\r\n        return axios.post(API_URL + 'gerarDamSubstituicao?idCliente=' + idCliente + '&idContribuinte=' + idContribuinte + '&idUsuario=' + idUsuario + '&ano=' + ano + '&mes=' + mes + '&tipo=' + tipo, JSON.stringify(notasFiscais),\r\n            { headers: this.headers });\r\n    }\r\n\r\n    editarDam(idUsuario, idDeclaracao, notasFiscais) {\r\n        return axios.post(API_URL + 'editarDam?idUsuario=' + idUsuario + '&idDeclaracao=' + idDeclaracao, JSON.stringify(notasFiscais),\r\n            { headers: this.headers });\r\n    }\r\n\r\n    declararParc(idCliente, idUsuario, idContribuinte, ano, mes, tipo, notasFiscais) {\r\n        return axios.post(API_URL + 'declaracaoSubstituicaoParc?idCliente=' + idCliente + '&idContribuinte=' + idContribuinte + '&idUsuario=' + idUsuario + '&ano=' + ano + '&mes=' + mes + '&tipo=' + tipo, JSON.stringify(notasFiscais),\r\n            { headers: this.headers });\r\n    }\r\n\r\n    declararSemMov(idCliente, idUsuario, idContribuinte, ano, mes) {\r\n        return axios.post(API_URL + 'declaracaoSubstSemMov?idCliente=' + idCliente + '&idContribuinte=' + idContribuinte + '&idUsuario=' + idUsuario + '&ano=' + ano + '&mes=' + mes, null,\r\n            { headers: this.headers });\r\n    }\r\n\r\n    cancelar(idUsuario, idContribuinte, idDeclaracao) {\r\n        return axios.post(API_URL + 'cancelar?idContribuinte=' + idContribuinte + '&idUsuario=' + idUsuario + '&idDeclaracao=' + idDeclaracao, null,\r\n            { headers: this.headers });\r\n    }\r\n\r\n    encerrar(idCliente, idUsuario, idContribuinte, idDeclaracao, vencimento) {\r\n        return axios.post(API_URL + 'encerrarDeclaracao?idCliente=' + idCliente + '&idContribuinte=' + idContribuinte + '&idUsuario=' + idUsuario + '&idDeclaracao=' + idDeclaracao + '&vencimento=' + vencimento, null,\r\n            { headers: this.headers });\r\n    }\r\n\r\n    encerrarParc(idCliente, idUsuario, idContribuinte, idDeclaracao, vencimento) {\r\n        return axios.post(API_URL + 'encerrarDeclaracaoParc?idCliente=' + idCliente + '&idContribuinte=' + idContribuinte + '&idUsuario=' + idUsuario + '&idDeclaracao=' + idDeclaracao + '&vencimento=' + vencimento, null,\r\n            { headers: this.headers });\r\n    }\r\n\r\n    retificar(idUsuario, idContribuinte, idCliente, idDeclaracao, notasFiscais) {\r\n        return axios.post(API_URL + 'retificar?idUsuario=' + idUsuario + '&idContribuinte=' + idContribuinte + '&idCliente=' + idCliente + '&idDeclaracao=' + idDeclaracao, JSON.stringify(notasFiscais),\r\n            { headers: this.headers });\r\n    }\r\n\r\n    carregarNotasDeclaracao(idDeclaracao) {\r\n        return axios.get(API_URL + 'allNotasDeclaracao?idDeclaracao=' + idDeclaracao, { headers: this.headers });\r\n    }\r\n\r\n    atualizarVencimento(idDamAgrupamento, idDeclaracao, dataVencimento) {\r\n        return axios.post(API_URL + 'atualizarVencimento?idDamAgrupamento=' + idDamAgrupamento + '&idDeclaracao=' + idDeclaracao + '&dataVencimento=' + dataVencimento, null, { headers: this.headers });\r\n    }\r\n\r\n    atualizarParcelaDam(tipoDam, idDamAgrupamento, idDeclaracao, dataVencimento, idUsuario) {\r\n        console.log(tipoDam);\r\n        return axios.post(API_URL + 'atualizarParcelaDam?idDamAgrupamento=' + idDamAgrupamento + '&idDeclaracao=' + idDeclaracao + '&dataVencimento=' + dataVencimento + '&idUsuario=' + idUsuario, null, { headers: this.headers });\r\n    }\r\n\r\n    criarPagamentoPix(idDamAgrupamento, idDeclaracao) {\r\n        return axios.post(API_URL + 'criarPagamentoPix?idDamAgrupamento=' + idDamAgrupamento + '&idDeclaracao=' + idDeclaracao, null, { headers: this.headers });\r\n    }\r\n\r\n    criarPagamentoPixCp(idCalculoParcelado, idDeclaracao) {\r\n        return axios.post(API_URL + 'criarPagamentoPixCp?idCalculoParcelado=' + idCalculoParcelado + '&idDeclaracao=' + idDeclaracao, null, { headers: this.headers });\r\n    }\r\n\r\n    consultarPagamentoPix(idDeclaracao, idDamAgrupamento) {\r\n        return axios.get(API_URL + 'consultarPagamentoPix?idDeclaracao=' + idDeclaracao + '&idDamAgrupamento=' + idDamAgrupamento, { headers: this.headers });\r\n    }\r\n\r\n    competenciaEmFiscalizacao(idDeclaracao) {\r\n        return axios.get(API_URL + 'competenciaEmFiscalizacao?idDeclaracao=' + idDeclaracao, { headers: this.headers });\r\n    }\r\n\r\n    competenciaDamEmFiscalizacao(idDeclaracao) {\r\n        return axios.get(API_URL + 'competenciaDamEmFiscalizacao?idDeclaracao=' + idDeclaracao, { headers: this.headers });\r\n    }\r\n\r\n    carregarDadosCredito(idUsuario, idDeclaracao) {\r\n        return axios.get(API_URL + 'carregarDadosCredito?idUsuario=' + idUsuario + '&idDeclaracao=' + idDeclaracao, { headers: this.headers });\r\n    }\r\n\r\n    aplicarCredito(idUsuario, idDeclaracao) {\r\n        return axios.post(API_URL + 'aplicarCredito?idUsuario=' + idUsuario + '&idDeclaracao=' + idDeclaracao, null, { headers: this.headers });\r\n    }\r\n\r\n    transferirCalculosDeclaracao(idDeclaracaoOrigem, numeroDeclaracaoDestino) {\r\n        return axios.post(API_URL + 'transferirCalculosDeclaracao?idDeclaracaoOrigem=' + idDeclaracaoOrigem + '&numeroDeclaracaoDestino=' + numeroDeclaracaoDestino, null, { headers: this.headers });\r\n    }\r\n\r\n    suspenderGuia(idUsuario, idDeclaracao) {\r\n        return axios.post(API_URL + 'suspenderGuia?idUsuario=' + idUsuario + '&idDeclaracao=' + idDeclaracao, null, { headers: this.headers });\r\n    }\r\n\r\n    cancelarSuspencaoGuia(idUsuario, idDeclaracao) {\r\n        return axios.post(API_URL + 'cancelarSuspencaoGuia?idUsuario=' + idUsuario + '&idDeclaracao=' + idDeclaracao, null, { headers: this.headers });\r\n    }\r\n\r\n    retencaoIndevida(idUsuario, motivoRetencaoIndevida, nota) {\r\n        return axios.post(API_URL + 'retencaoIndevida?idUsuario=' + idUsuario + '&motivoRetencaoIndevida=' + motivoRetencaoIndevida, JSON.stringify(nota), { headers: this.headers });\r\n    }\r\n\r\n    getConsultaRelDamXls(dataIni, dataFim, numero, filtro) {\r\n        this.idContribuinte = LoginService.currentUserValue.contribuinte.idContribuinte;\r\n        return axios.get(API_URL + 'getConsultaDamSubRelatorioXls?idContribuinte=' + this.idContribuinte\r\n            + '&dataIni=' + dataIni\r\n            + '&dataFim=' + dataFim\r\n            + '&numero=' + numero\r\n            + '&filtro=' + filtro,\r\n            { headers: this.headers });\r\n    }\r\n\r\n    getConsultaRelDecXlsComp(ano, mes, numero, filtro) {\r\n        this.idContribuinte = LoginService.currentUserValue.contribuinte.idContribuinte;\r\n        return axios.get(API_URL + 'getConsultaDecSubRelatorioXlsComp?idContribuinte=' + this.idContribuinte\r\n            + '&ano=' + ano\r\n            + '&mes=' + mes\r\n            + '&numero=' + numero\r\n            + '&filtro=' + filtro,\r\n            { headers: this.headers });\r\n    }\r\n}\r\n\r\nexport default new DeclaracaoSubstituicao();"],"sourceRoot":""}