{"version":3,"file":"BoletoModal.js","sources":["webpack:///src/views/apps/student/student-edit/financialTabComponents/BoletoModal.vue","webpack:///./src/views/apps/student/student-edit/financialTabComponents/BoletoModal.vue","webpack:///./src/views/apps/student/student-edit/financialTabComponents/BoletoModal.vue?7f99","webpack:///./src/views/apps/student/student-edit/financialTabComponents/BoletoModal.vue?8e5a","webpack:///./src/views/apps/student/student-edit/financialTabComponents/BoletoModal.vue?071a","webpack:///./src/views/apps/student/student-edit/financialTabComponents/BoletoModal.vue?8a2a","webpack:///./src/views/apps/student/student-edit/financialTabComponents/BoletoModal.vue?304c","webpack:///./src/views/apps/student/student-edit/financialTabComponents/BoletoModal.vue?09b2"],"sourcesContent":["\n\n\n\n\n","var render = function render() {\n var _vm = this,\n _c = _vm._self._c\n return _c(\n \"div\",\n [\n _c(\n \"vs-popup\",\n {\n staticClass: \"popup50\",\n attrs: {\n fullscreen: false,\n title: _vm.titleBoletoModal,\n active: _vm.popupBoletoDetails,\n },\n on: {\n \"update:active\": function ($event) {\n _vm.popupBoletoDetails = $event\n },\n },\n },\n [\n _c(\"table\", { attrs: { width: \"100%\" } }, [\n _c(\"tr\", [\n _c(\n \"td\",\n { attrs: { colspan: \"2\" } },\n [\n _c(\"vs-divider\", { attrs: { position: \"left\" } }, [\n _vm._v(\"Dados Gerais\"),\n ]),\n ],\n 1\n ),\n ]),\n _c(\"tr\", [\n _c(\n \"td\",\n {\n staticClass: \"font-semibold\",\n staticStyle: { \"padding-right\": \"10px\" },\n },\n [_vm._v(\"Status\")]\n ),\n _c(\"td\", [\n _vm._v(\n _vm._s(_vm.boleto.status == \"1\" ? \"Gerado\" : \"Liquidado\")\n ),\n ]),\n ]),\n _c(\"tr\", [\n _c(\n \"td\",\n {\n staticClass: \"font-semibold\",\n staticStyle: { \"padding-right\": \"10px\" },\n },\n [_vm._v(\"Data de Processamento\")]\n ),\n _c(\"td\", [\n _vm._v(\n _vm._s(\n _vm.boleto.data_processamento &&\n _vm.formatDateTime(_vm.boleto.data_processamento, \"date\")\n )\n ),\n ]),\n ]),\n _c(\"tr\", [\n _c(\n \"td\",\n {\n staticClass: \"font-semibold\",\n staticStyle: { \"padding-right\": \"10px\" },\n },\n [_vm._v(\"Data do Documento\")]\n ),\n _c(\"td\", [\n _vm._v(\n _vm._s(\n _vm.boleto.data_documento &&\n _vm.formatDateTime(_vm.boleto.data_documento, \"date\")\n )\n ),\n ]),\n ]),\n _c(\"tr\", [\n _c(\n \"td\",\n {\n staticClass: \"font-semibold\",\n staticStyle: { \"padding-right\": \"10px\" },\n },\n [_vm._v(\"Data de Vencimento\")]\n ),\n _c(\"td\", [\n _vm._v(\n _vm._s(\n _vm.boleto.data_vencimento &&\n _vm.formatDateTime(_vm.boleto.data_vencimento, \"date\")\n )\n ),\n ]),\n ]),\n _c(\"tr\", [\n _c(\n \"td\",\n {\n staticClass: \"font-semibold\",\n staticStyle: { \"padding-right\": \"10px\" },\n },\n [_vm._v(\"Data do Crédito\")]\n ),\n _c(\"td\", [\n _vm._v(\n _vm._s(\n _vm.boleto.data_credito &&\n _vm.formatDateTime(_vm.boleto.data_credito, \"date\")\n )\n ),\n ]),\n ]),\n _c(\"tr\", [\n _c(\n \"td\",\n {\n staticClass: \"font-semibold\",\n staticStyle: { \"padding-right\": \"10px\" },\n },\n [_vm._v(\"Valor\")]\n ),\n _c(\"td\", [\n _vm._v(\n _vm._s(\n _vm.boleto.valor &&\n _vm.boleto.valor.toLocaleString(\"pt-BR\", {\n style: \"currency\",\n currency: \"BRL\",\n })\n )\n ),\n ]),\n ]),\n _c(\"tr\", [\n _c(\n \"td\",\n {\n staticClass: \"font-semibold\",\n staticStyle: { \"padding-right\": \"10px\" },\n },\n [_vm._v(\"Valor de juros\")]\n ),\n _c(\"td\", [\n _vm._v(\n _vm._s(\n _vm.boleto.type_interest == \"%\"\n ? _vm.boleto.interest + \" \" + _vm.boleto.type_interest\n : _vm.boleto.interest &&\n _vm.boleto.type_interest +\n \" \" +\n _vm.boleto.interest.toLocaleString(\"pt-BR\", {\n style: \"currency\",\n currency: \"BRL\",\n })\n )\n ),\n ]),\n ]),\n _c(\"tr\", [\n _c(\n \"td\",\n {\n staticClass: \"font-semibold\",\n staticStyle: { \"padding-right\": \"10px\" },\n },\n [_vm._v(\"Aplicar juros após\")]\n ),\n _c(\"td\", [_vm._v(_vm._s(_vm.boleto.interest_days) + \" dias.\")]),\n ]),\n _c(\"tr\", [\n _c(\n \"td\",\n {\n staticClass: \"font-semibold\",\n staticStyle: { \"padding-right\": \"10px\" },\n },\n [_vm._v(\"Valor de multa\")]\n ),\n _c(\"td\", [\n _vm._v(\n _vm._s(\n _vm.boleto.type_fee === \"%\"\n ? _vm.boleto.fee + \" \" + _vm.boleto.type_fee\n : _vm.boleto.fee &&\n _vm.boleto.type_fee +\n \" \" +\n _vm.boleto.fee.toLocaleString(\"pt-BR\", {\n style: \"currency\",\n currency: \"BRL\",\n })\n ) + \" \"\n ),\n ]),\n ]),\n _c(\"tr\", [\n _c(\n \"td\",\n {\n staticClass: \"font-semibold\",\n staticStyle: { \"padding-right\": \"10px\" },\n },\n [_vm._v(\"Aplicar multa após\")]\n ),\n _c(\"td\", [_vm._v(_vm._s(_vm.boleto.fee_days) + \" dias.\")]),\n ]),\n _c(\"tr\", [\n _c(\n \"td\",\n {\n staticClass: \"font-semibold\",\n staticStyle: { \"padding-right\": \"10px\" },\n },\n [_vm._v(\"Nosso número\")]\n ),\n _c(\"td\", [_vm._v(_vm._s(_vm.boleto.nosso_numero))]),\n ]),\n _c(\"tr\", [\n _c(\n \"td\",\n { attrs: { colspan: \"2\" } },\n [\n _c(\"vs-divider\", { attrs: { position: \"left\" } }, [\n _vm._v(\"Banco\"),\n ]),\n ],\n 1\n ),\n ]),\n _c(\"tr\", [\n _c(\n \"td\",\n {\n staticClass: \"font-semibold\",\n staticStyle: { \"padding-right\": \"10px\" },\n },\n [_vm._v(\"Cód. do Banco\")]\n ),\n _c(\"td\", [\n _vm._v(\n _vm._s(\n _vm.boleto.config_boleto &&\n _vm.boleto.config_boleto.bank_account.bank_branche.bank\n .bank_code\n )\n ),\n ]),\n ]),\n _c(\"tr\", [\n _c(\n \"td\",\n {\n staticClass: \"font-semibold\",\n staticStyle: { \"padding-right\": \"10px\" },\n },\n [_vm._v(\"Nome do Banco\")]\n ),\n _c(\"td\", [\n _vm._v(\n _vm._s(\n _vm.boleto.config_boleto &&\n _vm.boleto.config_boleto.bank_account.bank_branche.bank\n .name\n )\n ),\n ]),\n ]),\n _c(\"tr\", [\n _c(\n \"td\",\n {\n staticClass: \"font-semibold\",\n staticStyle: { \"padding-right\": \"10px\" },\n },\n [_vm._v(\"Agência\")]\n ),\n _c(\"td\", [\n _vm._v(\n _vm._s(\n _vm.boleto.config_boleto &&\n _vm.boleto.config_boleto.bank_account.bank_branche.code\n ) +\n \" - \" +\n _vm._s(\n _vm.boleto.config_boleto &&\n _vm.boleto.config_boleto.bank_account.bank_branche.dv\n )\n ),\n ]),\n ]),\n _c(\"tr\", [\n _c(\n \"td\",\n {\n staticClass: \"font-semibold\",\n staticStyle: { \"padding-right\": \"10px\" },\n },\n [_vm._v(\"Conta\")]\n ),\n _c(\"td\", [\n _vm._v(\n _vm._s(\n _vm.boleto.config_boleto &&\n _vm.boleto.config_boleto.bank_account.code\n ) +\n \" - \" +\n _vm._s(\n _vm.boleto.config_boleto &&\n _vm.boleto.config_boleto.bank_account.dv\n )\n ),\n ]),\n ]),\n _c(\"tr\", [\n _c(\n \"td\",\n { attrs: { colspan: \"2\" } },\n [\n _c(\"vs-divider\"),\n _c(\"div\", { staticClass: \"vx-col w-full\" }, [\n _c(\n \"div\",\n {\n staticClass:\n \"mt-2 flex flex-wrap items-center justify-end\",\n },\n [\n _c(\n \"vs-button\",\n {\n staticClass: \"ml-auto mb-2\",\n attrs: { color: \"secondary\" },\n on: {\n click: function ($event) {\n _vm.popupBoletoDetails = false\n },\n },\n },\n [_vm._v(\"Fechar\")]\n ),\n ],\n 1\n ),\n ]),\n ],\n 1\n ),\n ]),\n ]),\n ]\n ),\n _c(\n \"vs-popup\",\n {\n staticClass: \"popup90\",\n attrs: {\n fullscreen: false,\n title: \"Boleto(s)\",\n active: _vm.popupShowBoleto,\n },\n on: {\n \"update:active\": function ($event) {\n _vm.popupShowBoleto = $event\n },\n },\n },\n [\n _c(\"object\", {\n staticStyle: { height: \"600px\" },\n attrs: { data: _vm.srcBoleto, width: \"100%\" },\n }),\n _c(\n \"div\",\n { staticClass: \"vx-row\" },\n [\n _c(\"vs-divider\"),\n _c(\"div\", { staticClass: \"vx-col w-full mt-0\" }, [\n _c(\n \"div\",\n { staticClass: \"mt-2 flex flex-wrap items-center justify\" },\n [\n _c(\n \"vs-button\",\n {\n staticClass: \"w-full\",\n on: {\n click: function ($event) {\n $event.preventDefault()\n return _vm.downloadRemessa.apply(null, arguments)\n },\n },\n },\n [\n _vm._v(\n \"!! Clique aqui para baixar o arquivo de remessa !!\"\n ),\n ]\n ),\n ],\n 1\n ),\n ]),\n ],\n 1\n ),\n ]\n ),\n _c(\n \"vs-popup\",\n {\n staticClass: \"popup90\",\n attrs: {\n fullscreen: false,\n title: \"Operações com Boletos da Movimentação\",\n active: _vm.localShow,\n },\n on: {\n \"update:active\": function ($event) {\n _vm.localShow = $event\n },\n },\n },\n [\n _c(\"div\", { staticClass: \"vx-col w-full\" }, [\n _c(\n \"div\",\n {\n staticClass: \"mt-2 flex flex-wrap items-center justify-between\",\n },\n [\n _c(\n \"vs-button\",\n {\n staticClass: \"w-full mb-2\",\n on: { click: _vm.generateNewBoleto },\n },\n [_vm._v(\"Gerar Um NOVO Boleto Para esta Transação\")]\n ),\n ],\n 1\n ),\n ]),\n _vm.transaction.boleto.length\n ? _c(\n \"vs-table\",\n {\n staticStyle: { overflow: \"-webkit-paged-y\" },\n attrs: { data: _vm.transaction.boleto, hoverFlat: \"\" },\n scopedSlots: _vm._u(\n [\n {\n key: \"default\",\n fn: function ({ data }) {\n return [\n _vm._l(data, function (boleto, i) {\n return _c(\n \"vs-tr\",\n {\n key: i,\n staticStyle: { opacity: \"1 !important\" },\n },\n [\n _c(\"vs-td\", [\n _vm._v(\n \" \" +\n _vm._s(\n boleto.status == \"1\"\n ? \"Gerado\"\n : boleto.status == \"06\"\n ? \"Liquidado\"\n : \"Por favor avise o suporte\"\n ) +\n \" \"\n ),\n ]),\n _c(\"vs-td\", [\n _vm._v(\n \" \" + _vm._s(boleto.nosso_numero) + \" \"\n ),\n ]),\n _c(\"vs-td\", [\n _vm._v(\n \" \" +\n _vm._s(\n boleto.data_vencimento &&\n _vm.formatDateTime(\n boleto.data_vencimento,\n \"date\"\n )\n ) +\n \" \"\n ),\n ]),\n _c(\"vs-td\", [\n _vm._v(\n \" \" +\n _vm._s(\n boleto.data_documento &&\n _vm.formatDateTime(\n boleto.data_documento,\n \"date\"\n )\n ) +\n \" \"\n ),\n ]),\n _c(\"vs-td\", [\n _vm._v(\n \" \" +\n _vm._s(\n boleto.data_credito &&\n _vm.formatDateTime(\n boleto.data_credito,\n \"date\"\n )\n ) +\n \" \"\n ),\n ]),\n _c(\"vs-td\", [\n _vm._v(\n \" \" +\n _vm._s(boleto.transaction_cfc_id) +\n \" \"\n ),\n ]),\n _c(\"vs-td\", [\n _vm._v(\n \" \" +\n _vm._s(\n boleto.valor.toLocaleString(\"pt-BR\", {\n style: \"currency\",\n currency: \"BRL\",\n })\n ) +\n \" \"\n ),\n ]),\n _c(\n \"vs-td\",\n [\n _c(\n \"vx-tooltip\",\n {\n staticClass:\n \"h-5 w-5 ml-2 inline-flex\",\n attrs: {\n text: \"Imprimir 2ª Via do Boleto\",\n position: \"top\",\n },\n },\n [\n _c(\"feather-icon\", {\n attrs: {\n icon: \"PrinterIcon\",\n svgClasses:\n \"h-5 w-5 hover:text-primary cursor-pointer\",\n },\n on: {\n click: function ($event) {\n return _vm.generate2viaBoleto(\n boleto\n )\n },\n },\n }),\n ],\n 1\n ),\n _c(\n \"vx-tooltip\",\n {\n staticClass:\n \"h-5 w-5 ml-2 inline-flex\",\n attrs: {\n text: \"Detalhes\",\n position: \"top\",\n },\n },\n [\n _c(\"feather-icon\", {\n attrs: {\n icon: \"EyeIcon\",\n svgClasses:\n \"h-5 w-5 hover:text-primary cursor-pointer\",\n },\n on: {\n click: function ($event) {\n return _vm.seeBoletoDetails(\n boleto\n )\n },\n },\n }),\n ],\n 1\n ),\n ],\n 1\n ),\n ],\n 1\n )\n }),\n _c(\n \"vs-tr\",\n { staticStyle: { opacity: \"1 !important\" } },\n [\n _c(\n \"vs-td\",\n { attrs: { colspan: \"8\" } },\n [\n _c(\"vs-divider\"),\n _c(\n \"div\",\n { staticClass: \"vx-col w-full\" },\n [\n _c(\n \"div\",\n {\n staticClass:\n \"mt-2 flex flex-wrap items-center justify-end\",\n },\n [\n _c(\n \"vs-button\",\n {\n staticClass: \"ml-auto mb-2\",\n attrs: { color: \"secondary\" },\n on: {\n click: function ($event) {\n _vm.localShow = false\n },\n },\n },\n [_vm._v(\"Fechar\")]\n ),\n ],\n 1\n ),\n ]\n ),\n ],\n 1\n ),\n ],\n 1\n ),\n ]\n },\n },\n ],\n null,\n false,\n 1554782307\n ),\n },\n [\n _c(\n \"template\",\n { slot: \"thead\" },\n [\n _c(\"vs-th\", [_vm._v(\"Status\")]),\n _c(\"vs-th\", [_vm._v(\"Nosso nº\")]),\n _c(\"vs-th\", [_vm._v(\"Vencimento\")]),\n _c(\"vs-th\", [_vm._v(\"Data do Doc.\")]),\n _c(\"vs-th\", [_vm._v(\"Data do Crédito\")]),\n _c(\"vs-th\", [_vm._v(\"Nº do Doc.\")]),\n _c(\"vs-th\", [_vm._v(\"Valor\")]),\n _c(\"vs-th\", [_vm._v(\"Ação\")]),\n ],\n 1\n ),\n ],\n 2\n )\n : _vm._e(),\n !_vm.transaction.boleto.length\n ? _c(\n \"vs-alert\",\n {\n staticClass: \"mt-4 mb-4\",\n staticStyle: { height: \"auto\" },\n attrs: {\n active: true,\n color: \"warning\",\n \"icon-pack\": \"feather\",\n icon: \"icon-info\",\n },\n },\n [\n _c(\"span\", [\n _vm._v(\"Nenhum boleto emitido para esta transação.\"),\n ]),\n ]\n )\n : _vm._e(),\n ],\n 1\n ),\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","exports = module.exports = require(\"../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".popup50 .vs-popup {\\n width: 50% !important;\\n}\\n.popup80 .vs-popup {\\n width: 80% !important;\\n}\\n.popup90 .vs-popup {\\n width: 90% !important;\\n}\\n.noOverflow .vs-popup--content {\\n overflow: hidden;\\n}\\n.vue_select_drop_size_180 .vs__dropdown-menu {\\n max-height: 180px;\\n}\", \"\"]);\n\n// exports\n","// style-loader: Adds some css to the DOM by adding a