{"version":3,"sources":["webpack:///./src/models/tributario/RetificarDeclaracaoAnalise.js","webpack:///./src/views/DeclaracaoNormal.vue?5086","webpack:///./src/models/tributario/NotaDeclaracaoComposicao.js","webpack:///src/views/DeclaracaoNormal.vue","webpack:///./src/views/DeclaracaoNormal.vue?4e15","webpack:///./src/views/DeclaracaoNormal.vue?9fce","webpack:///./src/views/DeclaracaoNormal.vue?ad58","webpack:///./src/services/tributario/declaracao.service.js","webpack:///./src/conf/config.money.js","webpack:///./src/services/tributario/declaracao.retificacao.service.js"],"names":["RetificarDeclaracaoAnalise","this","id","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","dataVigenciaFinal","idBolDebito","impressaoBoletos","pago","fechamentoAutomatico","encerrarDeclaracao","carregarRetificacao","isAnaliseRetificacao","cancelarDeclaracao","habilitarCredito","showDiaglogAplicarCredito","directives","name","rawName","currentUser","usuario","idBolAdmin","situacao","idBolSemMovimento","inativo","confirmaDesfazerCancelamento","openTransferirCalculoes","openSuspensao","class","lineClass","$set","numeroRetificador","dataPagamentoFormatada","valorFormatado","valorPagoFormatado","limitado","selecionarTodos","checkTodos","listNotas","filtersModelNotas","impressaoNota","deducaoPlanoSaude","selecionarTodosNotaDeducao","checkTodosDeducao","listNotasDeducao","filtersModelNotasDeducao","declararCompetenciaGeral","adicionarNotasDeclaracao","retificarDeclaracao","hideRetificar","declarar","style","width","showRetificarDecAnalise","decAnalise","domProps","target","composing","saveMotivoRetifcacao","closeDialogRetifAnalise","showSelectComp","overflow","listAnos","filtroAno","listMeses","filtroMes","pesquisar","fecharSelectCompetencia","displayDecSemMov","declararSemMovimento","hideDecSemMov","displayVencBoleto","keyVencBoleto","disableDataVencDam","vencimentoSelect","dataVencimento","tipoEmissaoBoleto","imprimirBoleto","imprimirBoletoPix","hideVencBoleto","displayBoletos","listBoletos","pagamentoEfetuado","carregarVencimentoBoleto","tipo","habilitarPix","escolhaPagamentoPix","consultarPagamentoPix","hideBoletos","showEscolhaPix","criarPagamentoPix","idDamAgrupamento","tipoDam","showPix","optionsPix","pixGerado","linkQrcode","copiarPix","displayItensDecBeneficio","listItensDeclaracao","_b","money","getTotalIss","valor","abatimento","aliquota","encerrarDeclaracaoBeneficio","hideItensDecbeneficio","showPesqNota","pesquisarPorNota","dadosCredito","showAplicarCredito","valorCreditoAplicado","percentualLimiteAbatimentoCredito","aplicarCredito","displayAtivaDec","desfazerCancelamento","showTransfValores","numeroDeclaracaoDestino","transferirCalculos","estadoSuspensao","showSuspensao","efetivarSuspensao","bloquearTela","staticRenderFns","NotaDeclaracaoComposicao","components","QRCanvas","apresentacao","keyVenc","filters","competenciaLimite","showImpressaoBoletos","idDeclaracaoSelecionada","idDecLancamentoSelecionado","cellSize","boletos","admin","vencimentoAnterior","travaDam","created","Date","setMonth","getMonth","contribuinte","deducaoPlanoSaudeNfse","configuracao","idBolUtilizarPix","idBolCreditoHabilitado","carregarAnos","carregarMeses","carregarCompetenciaAtual","nfDiasTravaPagamentoBoleto","methods","declaracao","estado","processando","dateSelect","setHours","navigator","clipboard","writeText","rolarPagina","document","getElementById","scrollIntoView","behavior","trim","parseInt","novaCompetencia","compMax","$root","$emit","show","block","carregarItensBeneficio","i","ano","push","mes","filter","forEach","selecionado","event","detail","confirmaDeclararSemMovimento","checked","declararNotas","console","log","response","dataPagamento","listNotasSelecionadas","listNotasDeducaoSelecionadas","composicaoNotas","notasFiscais","notasFiscaisDeducao","declaracaoId","splice","sort","a","b","parseFloat","notaDec","item","index","object","newList","showDialogRetifAnalise","limparDadosDecAnalise","exportarDeclaracaoTipo","vencimento","vencimentoMaximo","tipoEmissao","d","bloqueiaDataVencDam","novaData","ret","val","valueString","replace","formatted_string","user_str","pad","pad_pos","slice","length","substring","imprimirExcel","imprimirConsultaTipo","computed","get","idBolDecRetifAnalise","component","API_URL","Declaracao","LoginService","subscribe","headers","token","axios","dataIni","dataFim","documento","idCliente","idUsuario","post","JSON","stringify","currentUserValue","atualizarVencimento","atualizarVencimentoSimples","idCalculoParcelado","idDeclaracaoOrigem","decimal","thousands","prefix","suffix","precision","masked","DeclaracaoRetificacaoService"],"mappings":"qIAAMA,EACJ,aAAa,uBACXC,KAAKC,GAAK,KACVD,KAAKE,kBAAoB,KACzBF,KAAKG,OAAS,KACdH,KAAKI,aAAe,KACpBJ,KAAKK,eAAiB,MAIXN,U,kECVf,IAAIO,EAAS,WAAa,IAAIC,EAAIP,KAASQ,EAAGD,EAAIE,eAAmBC,EAAGH,EAAII,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,mBAAmB,CAACF,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,QAAQ,CAACL,EAAIM,GAAG,GAAGH,EAAG,MAAM,CAACE,YAAY,aAAa,CAACF,EAAG,QAAQ,CAACI,YAAY,CAAC,cAAc,OAAO,YAAY,SAAS,CAACP,EAAIQ,GAAG,kBAAkBL,EAAG,MAAM,CAACE,YAAY,OAAO,CAACF,EAAG,MAAM,CAACE,YAAY,0BAA0B,CAACF,EAAG,YAAY,CAACM,MAAM,CAAC,SAAW,IAAIC,MAAM,CAACC,MAAOX,EAAe,YAAEY,SAAS,SAAUC,GAAMb,EAAIc,YAAYD,GAAKE,WAAW,kBAAkB,GAAGZ,EAAG,MAAM,CAACA,EAAG,SAAS,CAACE,YAAY,wBAAwBI,MAAM,CAAC,MAAQ,UAAU,KAAO,SAAS,KAAO,eAAe,SAAWT,EAAIgB,SAASC,GAAG,CAAC,MAAQ,SAASC,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,Y,+CAGC7D,EAAKE,EAAKpM,EAAQJ,GAEvC,OADA/B,KAAKK,eAAiB2R,OAAaa,iBAAiBzG,aAAa/L,eAC1D+R,IAAMT,IAAIG,EAAU,iDAAmD9R,KAAKK,eAC7E,QAAUgO,EACV,QAAUE,EACV,WAAapM,EACb,WAAaJ,EACf,CAAEmQ,QAASlS,KAAKkS,c,KAKb,WAAIH,G,oCClMnB,IAAMtI,EAAQ,CACVyJ,QAAS,IACTC,UAAW,IACXC,OAAQ,MACRC,OAAQ,GACRC,UAAW,EACXC,QAAQ,GAEG9J,U,+FCLTqI,EAAyC,0BAEzC0B,E,WACJ,aAAc,kCACZxB,OAAazN,YAAY0N,WAAU,SAAAnP,GAC/B,EAAKoP,QAAU,CACX,eAAe,mBACf,cAAgB,WAAapP,EAAOA,EAAKqP,MAAM,Q,0EAK9BzL,GACzB,OAAO0L,IAAMM,KAAKZ,EAAQ,qBAAsBa,KAAKC,UAAUlM,GAAa,CAACwL,QAASlS,KAAKkS,Y,wCAG3E9R,GAChB,OAAOgS,IAAMM,KAAKZ,EAAQ,kCAAkC1R,EAAc,KAAM,CAAC8R,QAASlS,KAAKkS,c,KAIpF,WAAIsB","file":"js/declaracao.normal.5c7a69e6.js","sourcesContent":["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 Tomador:\\n              \"+_vm._s(this.filtro))]):_vm._e()],1)]),_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\",staticStyle:{\"padding-right\":\"2vw\"}}),_vm._v(\"Exportar 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\",staticStyle:{\"padding-right\":\"2vw\"}}),_vm._v(\"Impressão 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\",staticStyle:{\"padding-right\":\"2vw\"}}),_vm._v(\"Impressão 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\",staticStyle:{\"padding-right\":\"2vw\"}}),_vm._v(\"Impressão 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\",staticStyle:{\"padding-right\":\"2vw\"}}),_vm._v(\"Encerrar 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\",staticStyle:{\"padding-right\":\"2vw\"}}),_vm._v(_vm._s(!_vm.isAnaliseRetificacao ? 'Retificar Declaração' : 'Cancelar Declaração')+\"\\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\",staticStyle:{\"padding-right\":\"2vw\"}}),_vm._v(\"Cancelar\\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\",staticStyle:{\"padding-right\":\"2vw\"}}),_vm._v(\"Aplicar Crédito\\n                      \")]):_vm._e(),_c('button',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.currentUser.usuario.idBolAdmin && slotProps.data.situacao === 'Cancelada' && slotProps.data.idBolSemMovimento === 'S'),expression:\"currentUser.usuario.idBolAdmin && slotProps.data.situacao === 'Cancelada' && slotProps.data.idBolSemMovimento === 'S'\"}],staticClass:\"dropdown-item\",attrs:{\"type\":\"button\",\"disabled\":_vm.loading || _vm.inativo},on:{\"click\":function($event){return _vm.confirmaDesfazerCancelamento(slotProps.data.id)}}},[_c('span',{staticClass:\"pi pi-pencil mr-2\",staticStyle:{\"padding-right\":\"2vw\"}}),_vm._v(\"Desfazer Cancelamento\\n                        Declaração\\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\",staticStyle:{\"padding-right\":\"2vw\"}}),_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\",staticStyle:{\"padding-right\":\"2vw\"}}),_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\",staticStyle:{\"padding-right\":\"2vw\"}}),_vm._v(\"Cancelar Suspenso\\n                        Processo\\n                      \")]):_vm._e()])],1)]}}],null,false,3426909318)}),_c('Column',{attrs:{\"headerStyle\":\"width: 10%\",\"field\":\"id\",\"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\",\"bodyStyle\":\"padding: 0; text-align: center\"},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\":\"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\":\"tomador\",\"header\":\"Tomador\"}})],1)],1)])])],_c('hr'),_c('TabView',[_c('TabPanel',{attrs:{\"header\":_vm.displayRetificar ? 'Adicione abaixo novas notas a Declaração.' : (_vm.fechamentoAutomatico ? 'Notas Fiscais em Aberto.' : 'Notas Fiscais em Aberto para realizar a Declaração.')}},[(!_vm.fechamentoAutomatico)?[(!this.limitado)?_c('Checkbox',{attrs:{\"binary\":true},on:{\"change\":function($event){return _vm.selecionarTodos()}},model:{value:(_vm.checkTodos),callback:function ($$v) {_vm.checkTodos=$$v},expression:\"checkTodos\"}}):_vm._e(),(!this.limitado)?_c('span',{staticStyle:{\"padding-left\":\"5px\",\"font-weight\":\"bold\",\"font-size\":\"12px\"}},[_vm._v(\"Selecionar\\n                Todos\")]):_vm._e(),(this.limitado)?_c('span',{staticStyle:{\"padding-left\":\"5px\",\"font-weight\":\"bold\",\"font-size\":\"12px\",\"color\":\"red\"}},[_vm._v(\"(O\\n                Resultado abaixo foi limitado a 10 mil páginas, use a opção (Declarar Competência Geral) para declarar\\n                por completo a competência.)\")]):_vm._e()]:_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 && !this.limitado)?_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                        \")])])],1)]}}])}),_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: 10em\",\"field\":\"valorFormatado\",\"header\":\"Valor\",\"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['valorFormatado']),callback:function ($$v) {_vm.$set(_vm.filtersModelNotas, 'valorFormatado', $$v)},expression:\"filtersModelNotas['valorFormatado']\"}})]},proxy:true}])}),_c('Column',{attrs:{\"headerStyle\":\"width: 10em\",\"field\":\"valorDeducaoFormatado\",\"header\":\"Dedução\",\"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['valorDeducaoFormatado']),callback:function ($$v) {_vm.$set(_vm.filtersModelNotas, 'valorDeducaoFormatado', $$v)},expression:\"filtersModelNotas['valorDeducaoFormatado']\"}})]},proxy:true}])}),_c('Column',{attrs:{\"headerStyle\":\"width: 8em\",\"field\":\"aliquota\",\"header\":\"Alíquota\",\"bodyStyle\":\"text-align:right\"},scopedSlots:_vm._u([{key:\"filter\",fn:function(){return [_c('InputText',{staticClass:\"p-column-filter\",staticStyle:{\"width\":\"5em\"},attrs:{\"type\":\"text\",\"placeholder\":\"Iniciando com\"},model:{value:(_vm.filtersModelNotas['aliquota']),callback:function ($$v) {_vm.$set(_vm.filtersModelNotas, 'aliquota', $$v)},expression:\"filtersModelNotas['aliquota']\"}})]},proxy:true}])}),_c('Column',{attrs:{\"headerStyle\":\"width: 10em\",\"field\":\"valorIssFormatado\",\"header\":\"Valor Iss\",\"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['valorIssFormatado']),callback:function ($$v) {_vm.$set(_vm.filtersModelNotas, 'valorIssFormatado', $$v)},expression:\"filtersModelNotas['valorIssFormatado']\"}})]},proxy:true}])}),_c('Column',{attrs:{\"field\":\"tomador\",\"header\":\"Tomador\"},scopedSlots:_vm._u([{key:\"filter\",fn:function(){return [_c('InputText',{staticClass:\"p-column-filter\",attrs:{\"type\":\"text\",\"placeholder\":\"Iniciando com\"},model:{value:(_vm.filtersModelNotas['tomador']),callback:function ($$v) {_vm.$set(_vm.filtersModelNotas, 'tomador', $$v)},expression:\"filtersModelNotas['tomador']\"}})]},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)],2),(!_vm.fechamentoAutomatico && _vm.deducaoPlanoSaude)?_c('TabPanel',{attrs:{\"header\":\"Notas Fiscais Recebidas para dedução na base de cálculo\"}},[[_c('Checkbox',{attrs:{\"binary\":true},on:{\"change\":function($event){return _vm.selecionarTodosNotaDeducao()}},model:{value:(_vm.checkTodosDeducao),callback:function ($$v) {_vm.checkTodosDeducao=$$v},expression:\"checkTodosDeducao\"}}),_c('span',{staticStyle:{\"padding-left\":\"5px\",\"font-weight\":\"bold\",\"font-size\":\"12px\"}},[_vm._v(\"Selecionar Todos\")])],_c('div',{staticStyle:{\"padding-top\":\"10px\"}},[_c('DataTable',{ref:\"dt3\",staticStyle:{\"min-width\":\"100%\"},attrs:{\"value\":_vm.listNotasDeducao,\"paginator\":true,\"rows\":10,\"autoLayout\":true,\"filters\":_vm.filtersModelNotasDeducao}},[_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)}),_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                        \")])])],1)]}}],null,false,79607783)}),_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.filtersModelNotasDeducao['numero']),callback:function ($$v) {_vm.$set(_vm.filtersModelNotasDeducao, 'numero', $$v)},expression:\"filtersModelNotasDeducao['numero']\"}})]},proxy:true}],null,false,148997190)}),_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.filtersModelNotasDeducao['dataEmissaoFormatada']),callback:function ($$v) {_vm.$set(_vm.filtersModelNotasDeducao, 'dataEmissaoFormatada', $$v)},expression:\"filtersModelNotasDeducao['dataEmissaoFormatada']\"}})]},proxy:true}],null,false,3987000931)}),_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.filtersModelNotasDeducao['dataGeracaoFormatada']),callback:function ($$v) {_vm.$set(_vm.filtersModelNotasDeducao, 'dataGeracaoFormatada', $$v)},expression:\"filtersModelNotasDeducao['dataGeracaoFormatada']\"}})]},proxy:true}],null,false,3473722192)}),_c('Column',{attrs:{\"headerStyle\":\"width: 10em\",\"field\":\"valorFormatado\",\"header\":\"Valor\",\"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.filtersModelNotasDeducao['valorFormatado']),callback:function ($$v) {_vm.$set(_vm.filtersModelNotasDeducao, 'valorFormatado', $$v)},expression:\"filtersModelNotasDeducao['valorFormatado']\"}})]},proxy:true}],null,false,672092948)}),_c('Column',{attrs:{\"headerStyle\":\"width: 10em\",\"field\":\"valorDeducaoFormatado\",\"header\":\"Dedução\",\"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.filtersModelNotasDeducao['valorDeducaoFormatado']),callback:function ($$v) {_vm.$set(_vm.filtersModelNotasDeducao, 'valorDeducaoFormatado', $$v)},expression:\"filtersModelNotasDeducao['valorDeducaoFormatado']\"}})]},proxy:true}],null,false,1771465161)}),_c('Column',{attrs:{\"headerStyle\":\"width: 8em\",\"field\":\"aliquota\",\"header\":\"Alíquota\",\"bodyStyle\":\"text-align:right\"},scopedSlots:_vm._u([{key:\"filter\",fn:function(){return [_c('InputText',{staticClass:\"p-column-filter\",staticStyle:{\"width\":\"5em\"},attrs:{\"type\":\"text\",\"placeholder\":\"Iniciando com\"},model:{value:(_vm.filtersModelNotasDeducao['aliquota']),callback:function ($$v) {_vm.$set(_vm.filtersModelNotasDeducao, 'aliquota', $$v)},expression:\"filtersModelNotasDeducao['aliquota']\"}})]},proxy:true}],null,false,4115199436)}),_c('Column',{attrs:{\"headerStyle\":\"width: 10em\",\"field\":\"valorIssFormatado\",\"header\":\"Valor Iss\",\"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.filtersModelNotasDeducao['valorIssFormatado']),callback:function ($$v) {_vm.$set(_vm.filtersModelNotasDeducao, 'valorIssFormatado', $$v)},expression:\"filtersModelNotasDeducao['valorIssFormatado']\"}})]},proxy:true}],null,false,3281157661)}),_c('Column',{attrs:{\"field\":\"tomador\",\"header\":\"Tomador\"},scopedSlots:_vm._u([{key:\"filter\",fn:function(){return [_c('InputText',{staticClass:\"p-column-filter\",attrs:{\"type\":\"text\",\"placeholder\":\"Iniciando com\"},model:{value:(_vm.filtersModelNotasDeducao['tomador']),callback:function ($$v) {_vm.$set(_vm.filtersModelNotasDeducao, 'tomador', $$v)},expression:\"filtersModelNotasDeducao['tomador']\"}})]},proxy:true}],null,false,4109850790)}),_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.filtersModelNotasDeducao['situacao']),callback:function ($$v) {_vm.$set(_vm.filtersModelNotasDeducao, 'situacao', $$v)},expression:\"filtersModelNotasDeducao['situacao']\"}})]},proxy:true}],null,false,3291004290)})],1)],1)],2):_vm._e()],1),_c('hr'),(!_vm.displayRetificar && this.limitado)?[(!_vm.fechamentoAutomatico)?_c('Button',{staticClass:\"p-button-primary mr-2 p-button-success\",attrs:{\"label\":\"Declarar Competência Geral\",\"type\":\"button\",\"icon\":\"pi pi-check\",\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.declararCompetenciaGeral($event)}}}):_vm._e()]:_vm._e(),(!_vm.displayRetificar)?[(!_vm.fechamentoAutomatico && !this.limitado)?_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()]:[_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()}}})],(!_vm.displayRetificar && !_vm.fechamentoAutomatico && _vm.deducaoPlanoSaude)?[_c('router-link',{attrs:{\"to\":\"/CooperadoConsulta\"}},[_c('Button',{attrs:{\"type\":\"button\",\"icon\":\"pi pi-plus\",\"label\":\"Cadastrar Novo Cooperado\",\"title\":\"Cadastrar Novo Cooperado\"}})],1)]:_vm._e()],2)])]),_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\":function($event){return _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.keyVencBoleto,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: 2.5em\",\"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.tipo,\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.tipo,\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: '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(\n          _vm.idDamAgrupamento,\n          _vm.tipoDam,\n          _vm.dataVencimento,\n          'P'\n        )}}})],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.linkQrcode)?_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: '40vw' }),attrs:{\"header\":\"Aplicar desconto em Valores Declarados\",\"visible\":_vm.displayItensDecBeneficio,\"modal\":true},on:{\"update:visible\":function($event){_vm.displayItensDecBeneficio=$event}}},[_c('h1',{staticClass:\"titulo-header\"},[_vm._v(\"\\n      Aplicar desconto em Valores Declarados\\n      \"),_c('Button',{staticClass:\"p-button-rounded p-button-text\",attrs:{\"id\":\"icon-close-modals\",\"icon\":\"pi pi-times\"},on:{\"click\":function($event){_vm.displayItensDecBeneficio = false}}})],1),_c('br'),_c('DataTable',{staticStyle:{\"min-width\":\"100%\"},attrs:{\"value\":_vm.listItensDeclaracao,\"paginator\":true,\"rows\":10,\"autoLayout\":true}},[_c('Column',{attrs:{\"headerStyle\":\"width: 8em\",\"field\":\"valorFormatado\",\"header\":\"Valor\",\"bodyStyle\":\"text-align:center\"}}),_c('Column',{attrs:{\"headerStyle\":\"width: 8em\",\"field\":\"aliquotaFormatado\",\"header\":\"Alíquota\",\"bodyStyle\":\"text-align:center\"}}),_c('Column',{attrs:{\"headerStyle\":\"width: 8em\",\"field\":\"abatimentoFormatado\",\"header\":\"Desconto\",\"bodyStyle\":\"text-align:center\"},scopedSlots:_vm._u([{key:\"body\",fn:function(slotProps){return [_c('money',_vm._b({staticClass:\"p-inputtext input-right\",attrs:{\"id\":\"abatimento\",\"name\":\"abatimento\"},model:{value:(slotProps.data.abatimento),callback:function ($$v) {_vm.$set(slotProps.data, \"abatimento\", $$v)},expression:\"slotProps.data.abatimento\"}},'money',_vm.money,false))]}}])}),_c('Column',{attrs:{\"headerStyle\":\"width: 8em\",\"field\":\"valorIssFormatado\",\"header\":\"ISS\",\"bodyStyle\":\"text-align:center\"},scopedSlots:_vm._u([{key:\"body\",fn:function(slotProps){return [_vm._v(\"\\n          \"+_vm._s(_vm.getTotalIss(\n              slotProps.data.valor,\n              slotProps.data.abatimento,\n              slotProps.data.aliquota\n            ))+\"\\n        \")]}}])})],1),_c('hr'),_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"row\"},[_c('div',[_c('Button',{staticClass:\"p-button-primary mr-2 p-button-success\",attrs:{\"label\":\"Encerrar Declaração\",\"type\":\"button\",\"icon\":\"pi pi-check\",\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.encerrarDeclaracaoBeneficio()}}}),_c('Button',{staticClass:\"p-button-danger\",attrs:{\"label\":\"Fechar\",\"icon\":\"pi pi-times\"},on:{\"click\":function($event){return _vm.hideItensDecbeneficio()}}})],1)])])],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 Tomador\"},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(),_c('Dialog',{style:({ width: '30vw' }),attrs:{\"header\":\"Aviso\",\"visible\":_vm.displayAtivaDec,\"modal\":true},on:{\"update:visible\":function($event){_vm.displayAtivaDec=$event}}},[_vm._v(\"\\n    Confirma a reativação da declaração?\\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.desfazerCancelamento()}}}),_c('Button',{staticClass:\"p-button-secondary\",attrs:{\"label\":\"Não\",\"icon\":\"pi pi-times\"},on:{\"click\":function($event){_vm.displayAtivaDec = false}}})],1)])])]),(_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(),_c('BlockUI',{attrs:{\"blocked\":_vm.bloquearTela,\"fullScreen\":\"\"}})],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 Prestação de\\n                Serviço para o Município.\")]),_c('br'),_c('span',{staticClass:\"navigation\"},[_vm._v(\"Nota Fiscal > 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 relacionadas a Declaração.\")])])])])}]\n\nexport { render, staticRenderFns }","class NotaDeclaracaoComposicao{\r\n    constructor(){\r\n        \r\n    }\r\n}\r\n\r\nexport default NotaDeclaracaoComposicao\r\n","<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 Prestação de\r\n                  Serviço para o Município.</span>\r\n                <br />\r\n                <span class=\"navigation\">Nota Fiscal > 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 Tomador:\r\n                {{ this.filtro }}</label>\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\" style=\"padding-right: 2vw\"></span>Exportar 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\" style=\"padding-right: 2vw\"></span>Impressão 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\" style=\"padding-right: 2vw\"></span>Impressão 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\" style=\"padding-right: 2vw\"></span>Impressão 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\" style=\"padding-right: 2vw\"></span>Encerrar 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\" style=\"padding-right: 2vw\"></span>{{ !isAnaliseRetificacao ? 'Retificar Declaração' : 'Cancelar Declaração' }}\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\" style=\"padding-right: 2vw\"></span>Cancelar\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\" style=\"padding-right: 2vw\"></span>Aplicar Crédito\r\n                        </button>\r\n                        <button class=\"dropdown-item\" type=\"button\"\r\n                          v-show=\"currentUser.usuario.idBolAdmin && slotProps.data.situacao === 'Cancelada' && slotProps.data.idBolSemMovimento === 'S'\"\r\n                          :disabled=\"loading || inativo\" @click=\"confirmaDesfazerCancelamento(slotProps.data.id)\">\r\n                          <span class=\"pi pi-pencil mr-2\" style=\"padding-right: 2vw\"></span>Desfazer Cancelamento\r\n                          Declaração\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\" style=\"padding-right: 2vw\"></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\" style=\"padding-right: 2vw\"></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\" style=\"padding-right: 2vw\"></span>Cancelar Suspenso\r\n                          Processo\r\n                        </button>\r\n                      </div>\r\n                    </div>\r\n\r\n                  </template>\r\n                </Column>\r\n                <Column headerStyle=\"width: 10%\" field=\"id\" 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                  bodyStyle=\"padding: 0; text-align: center\">\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 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=\"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=\"tomador\" header=\"Tomador\"></Column>\r\n                  </DataTable>\r\n                </div>\r\n              </div>\r\n            </div>\r\n          </template>\r\n          <hr />\r\n          <TabView>\r\n            <TabPanel\r\n              :header=\"displayRetificar ? 'Adicione abaixo novas notas a Declaração.' : (fechamentoAutomatico ? 'Notas Fiscais em Aberto.' : 'Notas Fiscais em Aberto para realizar a Declaração.')\">\r\n              <template v-if=\"!fechamentoAutomatico\">\r\n                <Checkbox v-model=\"checkTodos\" :binary=\"true\" @change=\"selecionarTodos()\" v-if=\"!this.limitado\" />\r\n                <span style=\"padding-left: 5px; font-weight: bold; font-size: 12px\" v-if=\"!this.limitado\">Selecionar\r\n                  Todos</span>\r\n                <span style=\"padding-left: 5px; font-weight: bold; font-size: 12px;color:red\" v-if=\"this.limitado\">(O\r\n                  Resultado abaixo foi limitado a 10 mil páginas, use a opção (Declarar Competência Geral) para declarar\r\n                  por completo a competência.)</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\r\n                    v-if=\"!fechamentoAutomatico && !this.limitado\">\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                        </div>\r\n                      </div>\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: 10em\" 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\" style=\"width: 8em\" />\r\n                    </template>\r\n                  </Column>\r\n                  <Column headerStyle=\"width: 10em\" field=\"valorDeducaoFormatado\" header=\"Dedução\"\r\n                    bodyStyle=\"text-align:right\">\r\n                    <template #filter>\r\n                      <InputText type=\"text\" v-model=\"filtersModelNotas['valorDeducaoFormatado']\"\r\n                        class=\"p-column-filter\" placeholder=\"Iniciando com\" style=\"width: 8em\" />\r\n                    </template>\r\n                  </Column>\r\n                  <Column headerStyle=\"width: 8em\" field=\"aliquota\" header=\"Alíquota\" bodyStyle=\"text-align:right\">\r\n                    <template #filter>\r\n                      <InputText type=\"text\" v-model=\"filtersModelNotas['aliquota']\" class=\"p-column-filter\"\r\n                        placeholder=\"Iniciando com\" style=\"width: 5em\" />\r\n                    </template>\r\n                  </Column>\r\n                  <Column headerStyle=\"width: 10em\" field=\"valorIssFormatado\" header=\"Valor Iss\"\r\n                    bodyStyle=\"text-align:right\">\r\n                    <template #filter>\r\n                      <InputText type=\"text\" v-model=\"filtersModelNotas['valorIssFormatado']\" class=\"p-column-filter\"\r\n                        placeholder=\"Iniciando com\" style=\"width: 8em\" />\r\n                    </template>\r\n                  </Column>\r\n                  <Column field=\"tomador\" header=\"Tomador\">\r\n                    <template #filter>\r\n                      <InputText type=\"text\" v-model=\"filtersModelNotas['tomador']\" 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            </TabPanel>\r\n            <TabPanel v-if=\"!fechamentoAutomatico && deducaoPlanoSaude\"\r\n              header=\"Notas Fiscais Recebidas para dedução na base de cálculo\">\r\n              <template>\r\n                <Checkbox v-model=\"checkTodosDeducao\" :binary=\"true\" @change=\"selecionarTodosNotaDeducao()\" />\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=\"listNotasDeducao\" :paginator=\"true\" :rows=\"10\" :autoLayout=\"true\"\r\n                  style=\"min-width: 100%\" ref=\"dt3\" :filters=\"filtersModelNotasDeducao\">\r\n                  <Column headerStyle=\"width: 3%\" field=\"selecionado\" header>\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                        </div>\r\n                      </div>\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=\"filtersModelNotasDeducao['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=\"filtersModelNotasDeducao['dataEmissaoFormatada']\"\r\n                        class=\"p-column-filter\" 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=\"filtersModelNotasDeducao['dataGeracaoFormatada']\"\r\n                        class=\"p-column-filter\" placeholder=\"Iniciando com\" style=\"width: 8em\" />\r\n                    </template>\r\n                  </Column>\r\n                  <Column headerStyle=\"width: 10em\" field=\"valorFormatado\" header=\"Valor\" bodyStyle=\"text-align:right\">\r\n                    <template #filter>\r\n                      <InputText type=\"text\" v-model=\"filtersModelNotasDeducao['valorFormatado']\"\r\n                        class=\"p-column-filter\" placeholder=\"Iniciando com\" style=\"width: 8em\" />\r\n                    </template>\r\n                  </Column>\r\n                  <Column headerStyle=\"width: 10em\" field=\"valorDeducaoFormatado\" header=\"Dedução\"\r\n                    bodyStyle=\"text-align:right\">\r\n                    <template #filter>\r\n                      <InputText type=\"text\" v-model=\"filtersModelNotasDeducao['valorDeducaoFormatado']\"\r\n                        class=\"p-column-filter\" placeholder=\"Iniciando com\" style=\"width: 8em\" />\r\n                    </template>\r\n                  </Column>\r\n                  <Column headerStyle=\"width: 8em\" field=\"aliquota\" header=\"Alíquota\" bodyStyle=\"text-align:right\">\r\n                    <template #filter>\r\n                      <InputText type=\"text\" v-model=\"filtersModelNotasDeducao['aliquota']\" class=\"p-column-filter\"\r\n                        placeholder=\"Iniciando com\" style=\"width: 5em\" />\r\n                    </template>\r\n                  </Column>\r\n                  <Column headerStyle=\"width: 10em\" field=\"valorIssFormatado\" header=\"Valor Iss\"\r\n                    bodyStyle=\"text-align:right\">\r\n                    <template #filter>\r\n                      <InputText type=\"text\" v-model=\"filtersModelNotasDeducao['valorIssFormatado']\"\r\n                        class=\"p-column-filter\" placeholder=\"Iniciando com\" style=\"width: 8em\" />\r\n                    </template>\r\n                  </Column>\r\n                  <Column field=\"tomador\" header=\"Tomador\">\r\n                    <template #filter>\r\n                      <InputText type=\"text\" v-model=\"filtersModelNotasDeducao['tomador']\" 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=\"filtersModelNotasDeducao['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            </TabPanel>\r\n          </TabView>\r\n          <hr />\r\n          <template v-if=\"!displayRetificar && this.limitado\">\r\n            <Button @click=\"declararCompetenciaGeral($event)\" label=\"Declarar Competência Geral\" 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          </template>\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 && !this.limitado\" />\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          <template v-if=\"!displayRetificar && !fechamentoAutomatico && deducaoPlanoSaude\">\r\n            <router-link to=\"/CooperadoConsulta\">\r\n              <Button type=\"button\" icon=\"pi pi-plus\" label=\"Cadastrar Novo Cooperado\"\r\n                title=\"Cadastrar Novo Cooperado\" />\r\n            </router-link>\r\n          </template>\r\n        </div>\r\n      </div>\r\n    </div>\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\" :key=\"keyVencBoleto\" id=\"dataVencBoleto\" 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: 2.5em\" 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.tipo,\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.tipo,\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 :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(\r\n            idDamAgrupamento,\r\n            tipoDam,\r\n            dataVencimento,\r\n            'P'\r\n          )\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.linkQrcode\">\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      <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=\"Aplicar desconto em Valores Declarados\" :visible.sync=\"displayItensDecBeneficio\"\r\n      :style=\"{ width: '40vw' }\" :modal=\"true\">\r\n      <h1 class=\"titulo-header\">\r\n        Aplicar desconto em Valores Declarados\r\n        <Button id=\"icon-close-modals\" icon=\"pi pi-times\" class=\"p-button-rounded p-button-text\"\r\n          @click=\"displayItensDecBeneficio = false\" />\r\n      </h1><br />\r\n      <DataTable :value=\"listItensDeclaracao\" :paginator=\"true\" :rows=\"10\" :autoLayout=\"true\" style=\"min-width: 100%\">\r\n        <Column headerStyle=\"width: 8em\" field=\"valorFormatado\" header=\"Valor\" bodyStyle=\"text-align:center\"></Column>\r\n        <Column headerStyle=\"width: 8em\" field=\"aliquotaFormatado\" header=\"Alíquota\" bodyStyle=\"text-align:center\">\r\n        </Column>\r\n        <Column headerStyle=\"width: 8em\" field=\"abatimentoFormatado\" header=\"Desconto\" bodyStyle=\"text-align:center\">\r\n          <template #body=\"slotProps\">\r\n            <money id=\"abatimento\" name=\"abatimento\" v-model=\"slotProps.data.abatimento\" v-bind=\"money\"\r\n              class=\"p-inputtext input-right\"></money>\r\n          </template>\r\n        </Column>\r\n        <Column headerStyle=\"width: 8em\" field=\"valorIssFormatado\" header=\"ISS\" bodyStyle=\"text-align:center\">\r\n          <template #body=\"slotProps\">\r\n            {{\r\n              getTotalIss(\r\n                slotProps.data.valor,\r\n                slotProps.data.abatimento,\r\n                slotProps.data.aliquota\r\n              )\r\n            }}\r\n          </template>\r\n        </Column>\r\n      </DataTable>\r\n      <hr/>\r\n      <div class=\"container\">\r\n        <div class=\"row\">\r\n          <div>\r\n            <Button @click=\"encerrarDeclaracaoBeneficio()\" label=\"Encerrar Declaração\" type=\"button\"\r\n              class=\"p-button-primary mr-2 p-button-success\" icon=\"pi pi-check\" :disabled=\"loading\" />\r\n            <Button label=\"Fechar\" icon=\"pi pi-times\" @click=\"hideItensDecbeneficio()\" 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 Tomador\" />\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=\"Aviso\" :visible.sync=\"displayAtivaDec\" :style=\"{ width: '30vw' }\" :modal=\"true\">\r\n      Confirma a reativação da declaração?\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=\"desfazerCancelamento()\" class=\"mr-2\"/>\r\n            <Button label=\"Não\" icon=\"pi pi-times\" @click=\"displayAtivaDec = false\" 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    <BlockUI :blocked=\"bloquearTela\" fullScreen />\r\n  </div>\r\n</template>\r\n<script>\r\n\r\nimport money from \"../conf/config.money\";\r\nimport NotaDeclaracaoComposicao from \"../models/tributario/NotaDeclaracaoComposicao\";\r\nimport RetificarDeclaracaoAnalise from \"../models/tributario/RetificarDeclaracaoAnalise\";\r\nimport DeclaracaoRetificacaoService from \"../services/tributario/declaracao.retificacao.service\";\r\nimport DeclaracaoService from \"../services/tributario/declaracao.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: \"declaracaoNormal\",\r\n  components: {\r\n    QRCanvas,\r\n  },\r\n  data() {\r\n    return {\r\n      money: money,\r\n      apresentacao: false,\r\n      keyVenc: 0,\r\n      keyVencBoleto: 1,\r\n      filtersModel: {},\r\n      filtersModelNotas: {},\r\n      filtersModelNotasDeducao: {},\r\n      competencia: \"\",\r\n      inativo: false,\r\n      checkTodos: false,\r\n      checkTodosDeducao: 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      listItensDeclaracao: [],\r\n      displayItensDecBeneficio: false,\r\n      listNotas: [],\r\n      listNotasDeducao: [],\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      idDecLancamentoSelecionado: null,\r\n      tipoDam: null,\r\n      tipoEmissaoBoleto: \"N\",\r\n      idDamAgrupamento: null,\r\n      displayVencBoleto: false,\r\n      habilitarPix: false,\r\n      habilitarCredito: false,\r\n      showEscolhaPix: false,\r\n      showPix: false,\r\n      optionsPix: {\r\n        cellSize: 5,\r\n        data: \"hello\",\r\n      },\r\n      pixGerado: null,\r\n      numeroNfsePesquisa: '',\r\n      showPesqNota: false,\r\n      showRetificarDecAnalise: false,\r\n      fechamentoAutomatico: false,\r\n      decAnalise: new RetificarDeclaracaoAnalise(),\r\n      dadosCredito: null,\r\n      showAplicarCredito: false,\r\n      deducaoPlanoSaude: false,\r\n      displayAtivaDec: false,\r\n      showTransfValores: false,\r\n      showSuspensao: false,\r\n      estadoSuspensao: null,\r\n      numeroDeclaracaoDestino: null,\r\n      boletos: false,\r\n      admin: false,\r\n      vencimentoAnterior: null,\r\n      disableDataVencDam: false,\r\n      travaDam: null,\r\n      limitado: false,\r\n      bloquearTela: false\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    this.deducaoPlanoSaude = this.currentUser.contribuinte.deducaoPlanoSaudeNfse === 'S';\r\n    if (this.deducaoPlanoSaude) {//empresas com deducao no plano de saude podem realizar o fechamento manual para aplicar o desconto\r\n      this.fechamentoAutomatico = false;\r\n    } else {\r\n      this.fechamentoAutomatico = this.currentUser.configuracao.fechamentoAutomatico === 'S';\r\n    }\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.carregarAnos();\r\n    this.carregarMeses();\r\n    this.carregarCompetenciaAtual();\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\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        DeclaracaoService.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        DeclaracaoService.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      DeclaracaoService.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.linkQrcode);\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    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      DeclaracaoService.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    async 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\r\n      await this.carregarNotasEmAberto();\r\n      await this.carregarNotasDeducao();\r\n      await this.carregarDeclaracoes();\r\n\r\n      this.showSelectComp = false;\r\n      this.processando(false);\r\n\r\n\r\n    },\r\n    async carregarNotasEmAberto() {\r\n      this.limitado = false;\r\n      return DeclaracaoService.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          if (this.listNotas.length > 0 && this.listNotas[0].limitado === true) {\r\n            this.limitado = true;\r\n          }\r\n        })\r\n    },\r\n    async carregarNotasDeducao() {\r\n      this.listNotasDeducao = [];\r\n      if (this.deducaoPlanoSaude) {\r\n        return DeclaracaoService.findAllNotasDeducao(\r\n          this.currentUser.contribuinte.documento,\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.listNotasDeducao = responseNota.data;\r\n          })\r\n      }\r\n    },\r\n    async carregarDeclaracoes() {\r\n      return DeclaracaoService.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        console.log(this.listDeclaracao);\r\n      })\r\n    },\r\n    processando(show, block = false) {\r\n      if (show) {\r\n        this.loading = true;\r\n        this.bloquearTela = block;\r\n        this.$root.$emit(\"loading:show\");\r\n      } else {\r\n        this.loading = false;\r\n        this.bloquearTela = false;\r\n        this.$root.$emit(\"loading:hide\");\r\n      }\r\n    },\r\n    carregarItensBeneficio(idDeclaracao) {\r\n      DeclaracaoService.findAllItensDeclaracao(idDeclaracao).then(\r\n        (response) => {\r\n          this.listItensDeclaracao = response.data;\r\n          this.displayItensDecBeneficio = true;\r\n        }\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    selecionarTodosNotaDeducao() {\r\n      if (this.checkTodosDeducao) {\r\n        this.listNotasDeducao.forEach(function (value) {\r\n          value.selecionado = true;\r\n        });\r\n      } else {\r\n        this.listNotasDeducao.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, 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();\r\n        }\r\n      }\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      DeclaracaoService.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() {\r\n      let listNotasSelecionadas = [];\r\n      let listNotasDeducaoSelecionadas = [];\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      this.listNotasDeducao.forEach(function (value) {\r\n        if (value.selecionado) {\r\n          listNotasDeducaoSelecionadas.push(value);\r\n        }\r\n      });\r\n\r\n      let composicaoNotas = new NotaDeclaracaoComposicao();\r\n      composicaoNotas.notasFiscais = listNotasSelecionadas;\r\n      composicaoNotas.notasFiscaisDeducao = listNotasDeducaoSelecionadas;\r\n\r\n      this.rolarPagina();\r\n\r\n      DeclaracaoService.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        composicaoNotas\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            let errorMessage = \"Houve um problema ao gerar a Declaração!\";\r\n\r\n            if (error.response) {\r\n              const errors = Array.isArray(error.response.data)\r\n                ? error.response.data\r\n                : [error.response.data];\r\n\r\n              errors.forEach(err => {\r\n                this.$toast.add({\r\n                  severity: \"error\",\r\n                  summary: \"Erro\",\r\n                  detail: err,\r\n                  life: 5000\r\n                });\r\n              });\r\n            } else {\r\n              this.$toast.add({\r\n                severity: \"error\",\r\n                summary: \"Erro\",\r\n                detail: errorMessage,\r\n                life: 5000\r\n              });\r\n            }\r\n          }\r\n        )\r\n        .then(() => {\r\n          this.processando(false);\r\n        });\r\n    },\r\n\r\n    declararCompetenciaGeral(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        DeclaracaoService.declararCompetenciaGeral(\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        )\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              let errorMessage = \"Houve um problema ao gerar a Declaração!\";\r\n\r\n              if (error.response) {\r\n                const errors = Array.isArray(error.response.data)\r\n                  ? error.response.data\r\n                  : [error.response.data];\r\n\r\n                errors.forEach(err => {\r\n                  this.$toast.add({\r\n                    severity: \"error\",\r\n                    summary: \"Erro\",\r\n                    detail: err,\r\n                    life: 5000\r\n                  });\r\n                });\r\n              } else {\r\n                this.$toast.add({\r\n                  severity: \"error\",\r\n                  summary: \"Erro\",\r\n                  detail: errorMessage,\r\n                  life: 5000\r\n                });\r\n              }\r\n            }\r\n          )\r\n          .then(() => {\r\n            this.processando(false);\r\n          });\r\n      }\r\n    },\r\n\r\n    confirmaDesfazerCancelamento(id) {\r\n      this.declaracaoId = id;\r\n      this.displayAtivaDec = true;\r\n    },\r\n    desfazerCancelamento() {\r\n      if (this.declaracaoId) {\r\n        this.processando(true);\r\n\r\n        DeclaracaoService.desfazerCancelamento(this.declaracaoId)\r\n          .then((response) => {\r\n            console.log(response);\r\n            this.pesquisar();\r\n            this.displayAtivaDec = false;\r\n            this.$root.$emit(\"alert:success\", \"Declaração reativada com sucesso!\");\r\n          },\r\n            (error) => {\r\n              this.$root.$emit(\"alert:warn\", \"Erro ao reativar declaração!\");\r\n              console.log(error);\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      DeclaracaoService.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    encerrarDeclaracaoBeneficio() {\r\n      this.processando(true);\r\n      DeclaracaoService.encerrarComBeneficio(\r\n        this.currentUser.usuario.idUsuario,\r\n        this.listItensDeclaracao\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            this.$root.$emit(\"alert:error\", error.response.data);\r\n          }\r\n        )\r\n        .then(() => {\r\n          this.displayItensDecBeneficio = false;\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      DeclaracaoService.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            if (response.data === \"BG\") {\r\n              this.carregarItensBeneficio(this.idDeclaracaoSelecionada);\r\n            } else {\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          },\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      DeclaracaoService.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    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    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: \"N\",\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    impressaoDeclaracao(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: \"N\",\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          DeclaracaoService.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\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    hideItensDecbeneficio() {\r\n      this.displayItensDecBeneficio = false;\r\n    },\r\n    escolhaPagamentoPix(idDamAgrupamento, tipoDam, dataVencimento) {\r\n      this.idDamAgrupamento = idDamAgrupamento;\r\n      this.tipoDam = tipoDam;\r\n      this.dataVencimento = dataVencimento;\r\n      this.showEscolhaPix = true;\r\n    },\r\n    criarPagamentoPix() {\r\n      this.processando(true);\r\n      this.showEscolhaPix = false;\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      DeclaracaoService.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    carregarVencimentoBoleto(id, tipo, dataVencimento, tipoEmissao) {\r\n      this.tipoEmissaoBoleto = tipoEmissao;\r\n      this.showEscolhaPix = false;\r\n      let d = dataVencimento.split(\"-\");\r\n      this.tipoDam = tipo;\r\n      if (this.tipoDam === \"A\") {\r\n        this.idDamAgrupamento = id;\r\n      } else {\r\n        this.idDecLancamentoSelecionado = id;\r\n      }\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    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      console.log(this.dataVencimento);\r\n      console.log(this.vencimentoMaximo);\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        DeclaracaoService.atualizaVencimentoBoleto(\r\n          this.tipoDam,\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    consultarPagamentoPix(idDamAgrupamento) {\r\n      if (idDamAgrupamento) {\r\n        this.processando(true);\r\n        DeclaracaoService.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    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        DeclaracaoService.atualizaVencimentoBoleto(\r\n          this.tipoDam,\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              DeclaracaoService.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    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    showNotaDam() {\r\n      this.showPesqNota = true;\r\n    },\r\n    getTotalIss(valor, abatimento, aliquota) {\r\n      if (abatimento > valor) {\r\n        abatimento = valor;\r\n      }\r\n      let val = ((valor - abatimento) * aliquota) / 100;\r\n      if (!val) return \"0,00\";\r\n      const valueString = val.toFixed(2).replace(\".\", \",\");\r\n      return valueString.replace(/\\B(?=(\\d{3})+(?!\\d))/g, \".\");\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    async exportCSVDt1() {\r\n      console.log(this.filtroAno.key);\r\n      console.log(this.filtroMes.key);\r\n      // this.$refs.dt1.exportCSV();\r\n      await DeclaracaoService.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!./DeclaracaoNormal.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!./DeclaracaoNormal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DeclaracaoNormal.vue?vue&type=template&id=21617483&scoped=true&\"\nimport script from \"./DeclaracaoNormal.vue?vue&type=script&lang=js&\"\nexport * from \"./DeclaracaoNormal.vue?vue&type=script&lang=js&\"\nimport style0 from \"./DeclaracaoNormal.vue?vue&type=style&index=0&id=21617483&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  \"21617483\",\n  null\n  \n)\n\nexport default component.exports","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!./DeclaracaoNormal.vue?vue&type=style&index=0&id=21617483&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!./DeclaracaoNormal.vue?vue&type=style&index=0&id=21617483&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/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();","const money = {\r\n    decimal: \",\",\r\n    thousands: \".\",\r\n    prefix: \"R$ \",\r\n    suffix: \"\",\r\n    precision: 2,\r\n    masked: false\r\n}\r\nexport default money","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();"],"sourceRoot":""}