{"version":3,"sources":["webpack:///./src/views/QuoteList.vue?7cbe","webpack:///./src/views/QuoteList.vue?2cf0","webpack:///./src/views/quote/components/QuoteHeader.vue?7291","webpack:///src/views/quote/components/QuoteHeader.vue","webpack:///./src/views/quote/components/QuoteHeader.vue?9aa4","webpack:///./src/views/quote/components/QuoteHeader.vue","webpack:///./src/views/quote/components/QuoteMessages.vue?0e35","webpack:///src/views/quote/components/QuoteMessages.vue","webpack:///./src/views/quote/components/QuoteMessages.vue?e949","webpack:///./src/views/quote/components/QuoteMessages.vue","webpack:///./src/views/quote/components/QuotePaymentList.vue?64fe","webpack:///./src/views/quote/listHeaders/index.js","webpack:///src/views/quote/components/QuotePaymentList.vue","webpack:///./src/views/quote/components/QuotePaymentList.vue?6f40","webpack:///./src/views/quote/components/QuotePaymentList.vue","webpack:///./src/views/quote/components/QuotePaymentModal.vue?02bb","webpack:///./src/views/quote/components/QuotePaymentPix.vue?4b0b","webpack:///./src/views/quote/components/QuotePaymentHeader.vue?8bc4","webpack:///src/views/quote/components/QuotePaymentHeader.vue","webpack:///./src/views/quote/components/QuotePaymentHeader.vue?b4ca","webpack:///./src/views/quote/components/QuotePaymentHeader.vue","webpack:///./src/views/quote/components/QuotePaymentActions.vue?ee36","webpack:///src/views/quote/components/QuotePaymentActions.vue","webpack:///./src/views/quote/components/QuotePaymentActions.vue?80fe","webpack:///./src/views/quote/components/QuotePaymentActions.vue","webpack:///./src/views/quote/components/QuotePaymentPixSuccess.vue?2959","webpack:///src/views/quote/components/QuotePaymentPixSuccess.vue","webpack:///./src/views/quote/components/QuotePaymentPixSuccess.vue?b633","webpack:///./src/views/quote/components/QuotePaymentPixSuccess.vue","webpack:///src/views/quote/components/QuotePaymentPix.vue","webpack:///./src/views/quote/components/QuotePaymentPix.vue?a7d3","webpack:///./src/views/quote/components/QuotePaymentPix.vue","webpack:///./src/views/quote/components/QuotePaymentCreditCard.vue?73ce","webpack:///./src/views/quote/components/QuotePaymentCreditCardSuccess.vue?03ba","webpack:///src/views/quote/components/QuotePaymentCreditCardSuccess.vue","webpack:///./src/views/quote/components/QuotePaymentCreditCardSuccess.vue?ecf1","webpack:///./src/views/quote/components/QuotePaymentCreditCardSuccess.vue","webpack:///src/views/quote/components/QuotePaymentCreditCard.vue","webpack:///./src/views/quote/components/QuotePaymentCreditCard.vue?e636","webpack:///./src/views/quote/components/QuotePaymentCreditCard.vue","webpack:///./src/views/quote/components/QuotePaymentFci.vue?7248","webpack:///./src/views/quote/components/QuotePaymentFciSuccess.vue?dd5c","webpack:///src/views/quote/components/QuotePaymentFciSuccess.vue","webpack:///./src/views/quote/components/QuotePaymentFciSuccess.vue?e913","webpack:///./src/views/quote/components/QuotePaymentFciSuccess.vue","webpack:///src/views/quote/components/QuotePaymentFci.vue","webpack:///./src/views/quote/components/QuotePaymentFci.vue?ad7e","webpack:///./src/views/quote/components/QuotePaymentFci.vue","webpack:///src/views/quote/components/QuotePaymentModal.vue","webpack:///./src/views/quote/components/QuotePaymentModal.vue?4107","webpack:///./src/views/quote/components/QuotePaymentModal.vue","webpack:///src/views/QuoteList.vue","webpack:///./src/views/QuoteList.vue?edaf","webpack:///./src/views/QuoteList.vue?8a7b","webpack:///./src/assets/images/logo-powered-by.svg"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","vendor","quoteWasNotFound","version","isOverdue","isQuotePending","isQuoteAlreadyPaid","paymentMethod","_e","_v","_s","$t","address","quoteItems","realty_address","code","realty_code","quoteItemsList","quotes","isQuotePaid","class","breakPointChange","isLoading","on","selectPaymentMethod","buttonLabel","poweredBy","staticRenderFns","logo","name","staticStyle","document","formatDocument","email","phone","handleSimplifiedPrinting","$event","generatePdf","component","VBtn","VCol","VDivider","VIcon","VRow","isNotCreditCard","$parent","handleOpenModalWithPixPaymentSelected","VAlert","VSpacer","quoteList","length","printableHeaders","scopedSlots","_u","key","fn","ref","item","accepted","itemAmount","headers","rowExpand","item_name","service_report_item_quantity","id","item_category_name","service_report_item_location","item_description","service_report_item_description","quoteTableHeaders","text","translate","value","width","align","quoteTableHeadersPrintable","VCard","VDataTable","title","slot","quotePaymentType","payWithFci","setQuotePaymentType","successData","pixCodeAndQRCode","rules","required","model","callback","$$v","expression","directives","rawName","mask","cpfCnpj","cpf","cnpj","documentCheck","validate","$vuetify","breakpoint","xs","type","totalAmount","formatMoney","isQuotePaymentLoading","$emit","showQuoteMessageSuccess","pixData","pix_string_code","VChip","VProgressCircular","VTextarea","VForm","VTextField","credit_card","info","$set","number","expiryMonthError","expiredMonthValidation","expiredYearValidation","expire","ccv","installmentNumbers","installment_amount","data","installment_value","total_value","holder","cpf_cnpj","phone9","phone8","phoneValidation","VSelect","module","exports"],"mappings":"kHAAA,W,2CCAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,6BAA6B,CAAEN,EAAa,UAAEI,EAAG,aAAaA,EAAG,MAAM,CAACA,EAAG,cAAc,CAACG,MAAM,CAAC,OAASP,EAAIQ,OAAO,iBAAmBR,EAAIS,iBAAiB,QAAUT,EAAIU,WAAWN,EAAG,gBAAgB,CAACG,MAAM,CAAC,UAAYP,EAAIW,UAAU,eAAiBX,EAAIY,eAAe,mBAAqBZ,EAAIa,mBAAmB,iBAAmBb,EAAIS,iBAAiB,cAAgBT,EAAIc,iBAAmBd,EAAIS,iBAAokCT,EAAIe,KAAtjCX,EAAG,MAAM,CAACA,EAAG,IAAI,CAACJ,EAAIgB,GAAG,IAAIhB,EAAIiB,GAAGjB,EAAIkB,GAAG,4BAA6B,CAAEC,QAASnB,EAAIoB,YAAcpB,EAAIoB,WAAWC,eAAgBC,KAAMtB,EAAIoB,YAAcpB,EAAIoB,WAAWG,eAAiB,OAAOnB,EAAG,IAAI,CAACJ,EAAIgB,GAAG,IAAIhB,EAAIiB,GAAGjB,EAAIkB,GAAG,sCAAsC,OAAOd,EAAG,WAAW,CAAC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,GAAkB,GCYtB,IACA,8BAEA,YACA,kBAGA,OACA,aACA,eCtB+b,MCO3b,GAAY,eACd,GACA,GACA,IACA,EACA,KACA,KACA,MAIa,M,QC8Bf,IACA,uBAEA,YACA,sBACA,uBACA,2BAGA,2BACA,OACA,QACA,SACA,YAEA,OACA,cACA,iBACA,sBAEA,gEACA,iEACA,2BACA,yCACA,2BACA,wCACA,iEAGA,uCAIA,2BACA,0CAGA,wDACA,sDACA,wCAEA,oBACA,+BACA,2CAEA,GACA,qBACA,iBACA,wBACA,qBACA,oBAGA,4BCrGwb,MCOpb,GAAY,eACd,GACA,GACA,IACA,EACA,KACA,KACA,MAIa,MAAiB,QAQhC,IAAkB,GAAW,CAAC6B,OAAA,KAAKyE,SAAA,KAAMtE,OAAA,KAAKuE,cAAA,OCmC9C,QACA,yBAEA,YACA,aACA,eACA,mBACA,0BACA,oBAGA,0CACA,oEAEA,iBACA,8DACA,sBACA,uCACA,6CAIA,0BACA,0CCpF0b,MCOtb,GAAY,eACd,GACA,EACA,GACA,EACA,KACA,KACA,MAIa,MAAiB,QAMhC,IAAkB,GAAW,CAACzE,WAAA,KAASC,QAAA,O,kBC+EvC,IACA,kBAEA,YACA,cACA,mBACA,qBACA,gBACA,mBACA,qBACA,0BAGA,0CACA,gBACA,SACA,YACA,aACA,aACA,mBACA,iBACA,iBACA,IAEA,4BACA,kDAGA,sDACA,OACA,2JACA,6HACA,+HACA,gJACA,uIAIA,uBACA,oEACA,oDACA,6BAGA,2BACA,2FAGA,8BACA,oDACA,0IAGA,mCACA,4DACA,kHAIA,wDACA,gBACA,cACA,eAGA,gBACA,iBACA,sBACA,wBACA,gCACA,IAEA,+BACA,+BACA,iCACA,oCACA,uCAGA,8BACA,2BACA,uBACA,kBAGA,wBADA,gCAKA,oBADA,cAKA,eADA,eAKA,iDACA,sCACA,sCACA,sCACA,oCACA,2CAIA,OACA,iCACA,qEAIA,gBACA,OACA,cAEA,sBACA,kBACA,eAIA,2BACA,kFACA,yBCnO8Y,MCQ1Y,I,UAAY,eACd,GACAlD,EACAmC,GACA,EACA,KACA,WACA,OAIa,gBAAiB,QAOhC,IAAkB,GAAW,CAACY,OAAA,KAAKE,WAAA,KAASO,UAAA,Q,qBC1B5CuF,EAAOC,QAAU,IAA0B,oC","file":"js/chunk-59b09dee.524c56d8.js","sourcesContent":["export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/vuetify-loader/lib/loader.js??ref--18-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuoteList.vue?vue&type=style&index=0&id=21fbbfaa&prod&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"mw-1000 mx-auto py-6 px-8\"},[(_vm.isLoading)?_c('h-loading'):_c('div',[_c('QuoteHeader',{attrs:{\"vendor\":_vm.vendor,\"quoteWasNotFound\":_vm.quoteWasNotFound,\"version\":_vm.version}}),_c('QuoteMessages',{attrs:{\"isOverdue\":_vm.isOverdue,\"isQuotePending\":_vm.isQuotePending,\"isQuoteAlreadyPaid\":_vm.isQuoteAlreadyPaid,\"quoteWasNotFound\":_vm.quoteWasNotFound,\"paymentMethod\":_vm.paymentMethod}}),(!_vm.quoteWasNotFound)?_c('div',[_c('p',[_vm._v(\" \"+_vm._s(_vm.$t('quote.hint.addressAndCode', { address: _vm.quoteItems && _vm.quoteItems.realty_address, code: _vm.quoteItems && _vm.quoteItems.realty_code, }))+\" \")]),_c('p',[_vm._v(\" \"+_vm._s(_vm.$t('quote.hint.afterPaymentGetInTouch'))+\" \")]),_c('v-spacer',{staticClass:\"my-10\"}),_c('QuotePaymentList',{attrs:{\"version\":_vm.version,\"quoteItemsList\":_vm.quoteItemsList}}),_c('v-divider'),(_vm.version != 2)?_c('QuotePrices',{attrs:{\"quotes\":_vm.quotes,\"quoteItems\":_vm.quoteItems,\"isQuoteAlreadyPaid\":_vm.isQuoteAlreadyPaid}}):_c('QuotePricesV2',{attrs:{\"quotes\":_vm.quotes,\"quoteItems\":_vm.quoteItems,\"isQuoteAlreadyPaid\":_vm.isQuoteAlreadyPaid}}),_c('v-spacer',{staticClass:\"d-print-none mt-5\"}),(!_vm.isQuotePaid && !_vm.isQuoteAlreadyPaid && !_vm.isOverdue)?_c('div',{staticClass:\"ml-auto text-right d-print-none\",class:_vm.breakPointChange},[_c('v-btn',{attrs:{\"loading\":_vm.isLoading,\"color\":\"primary\",\"elevation\":\"0\",\"block\":\"\",\"large\":\"\"},on:{\"click\":_vm.selectPaymentMethod}},[_vm._v(\" \"+_vm._s(_vm.buttonLabel)+\" \")])],1):_vm._e()],1):_vm._e()],1),_c('QuotePaymentModal'),_c('img',{staticClass:\"quote__logo--footer mb-8\",attrs:{\"src\":_vm.poweredBy,\"alt\":_vm.$t('quote.label.poweredByAlt')}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-row',{staticClass:\"mb-10\",attrs:{\"align\":\"center\"}},[_c('v-col',{staticClass:\"d-flex justify-start align-center\"},[(_vm.vendor && _vm.vendor.logo)?_c('div',[_c('img',{attrs:{\"src\":_vm.vendor.logo,\"alt\":_vm.vendor.name,\"height\":\"50\"}})]):_c('svg',{staticStyle:{\"height\":\"40px\"},attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"aria-labelledby\":\"hasefulTitle hausefulDescription\",\"viewBox\":\"0 0 180 50\",\"role\":\"img\"}},[_c('title',{attrs:{\"id\":\"hasefulTitle\"}},[_vm._v(\"Hauseful\")]),_c('desc',{attrs:{\"id\":\"hausefulDescription\"}},[_vm._v(\"Serviços imobiliários sob demanda\")]),_c('path',{attrs:{\"d\":\"M25.4 38.48a7.908 7.908 0 0 0 1.192-4.159c.008-1.805-.111-4.041-.568-6.252-.55-2.664-1.462-4.706-2.71-6.067-1.11-1.21-2.493-1.875-4.214-2.017.922 1.694 1.402 3.287 1.48 4.863.126 2.515-.776 4.498-1.649 6.414-.536 1.18-1.09 2.399-1.408 3.778-.254 1.869.386 3.108.973 3.821.842 1.023 2.115 1.634 3.404 1.634.974 0 2.365-.345 3.479-1.98a.523.523 0 0 0 .012-.02l.01-.016ZM12.1 18.6l.002-.004c.511-1.188 2.076-4.697 2.4-5.32.625-1.202 1.79-3.44 1.93-4.174.333-1.782-.006-3.373-.979-4.602a5.304 5.304 0 0 0-4.125-1.996 4.69 4.69 0 0 0-3.303 1.336l-.005.005a.102.102 0 0 1-.008.007c-1.06 1.003-1.68 2.399-2.279 3.748v.002l-.209.466c-3.01 7.073-3.917 15.82-2.366 22.833.006.024.01.048.015.073.328 1.709 1.194 4.296 2.64 6.431.814 1.203 2.053 2.603 3.588 2.987-1.416-2.81-1.864-5.956-1.368-9.524.577-4.155 2.35-8.28 4.067-12.268Zm5.258-5.565a110.477 110.477 0 0 0-2.286 4.819c11.753-2.723 14.151 8.834 13.912 17.397a7.778 7.778 0 0 1-.79 3.227c-.23.466-.506.942-.823 1.444-4.176 6.206-13.362 2.313-12.215-5.356.373-1.681 1.007-3.075 1.6-4.377.68-1.494 1.304-2.865 1.412-4.41v-.016c0-5.277-3.768-6.376-3.768-6.376l-.1.232c-3.325 7.725-6.77 15.73-.79 22.488C6.31 45.915 1.8 36.614.811 31.464-.829 24.05.021 14.797 3.333 7.031c.07-.156.14-.316.213-.477.665-1.5 1.423-3.21 2.847-4.555 4.98-4.78 13.911-.49 12.403 7.582-.155.817-.767 2.13-1.438 3.455Zm29.103 11.34c1.895 0 3.424.546 4.586 1.639 1.162 1.092 1.743 2.64 1.743 4.644v10.585h-3.621v-9.63c0-1.297-.339-2.276-1.015-2.936-.678-.66-1.591-.99-2.742-.99-1.15 0-2.07.387-2.759 1.16-.688.775-1.032 1.856-1.032 3.245v9.15H38V17.342h3.621v9.254c1.128-1.48 2.742-2.22 4.84-2.22Zm19.223 13.18c.7-.728 1.05-1.741 1.05-3.04V33.8l-4.705.546c-1.715.228-2.572.99-2.572 2.288 0 .751.327 1.31.981 1.673.654.365 1.444.524 2.37.478 1.218-.09 2.177-.5 2.876-1.23Zm4.67-6.897v6.829c0 .637.316.956.948.956.113 0 .327-.034.643-.103v3.074c-.406.113-.88.17-1.421.17-1.895 0-3.091-.728-3.588-2.185-1.196 1.457-2.933 2.185-5.212 2.185-1.737 0-3.147-.438-4.23-1.314-1.083-.876-1.625-2.089-1.625-3.637 0-1.502.508-2.675 1.523-3.517 1.016-.842 2.324-1.343 3.926-1.502l5.415-.581v-.307c0-1.07-.327-1.907-.98-2.51-.656-.603-1.502-.905-2.54-.905-.857 0-1.585.217-2.182.649-.599.433-.999 1.047-1.202 1.844l-3.215-.58c.338-1.64 1.128-2.857 2.369-3.654 1.24-.797 2.719-1.196 4.434-1.196 2.143 0 3.835.547 5.076 1.64 1.241 1.092 1.862 2.64 1.862 4.644Zm14.469 6.436c.688-.785 1.032-1.861 1.032-3.227v-9.151h3.622v16.527h-3.622V39.4c-1.128 1.457-2.73 2.185-4.806 2.185-1.783 0-3.289-.574-4.518-1.724-1.23-1.15-1.845-2.783-1.845-4.9V24.717h3.622v9.97c0 1.14.343 2.021 1.032 2.647.688.626 1.608.94 2.758.94 1.128 0 2.036-.394 2.725-1.179Zm20.188-3.62c.27.24.468.496.592.769.124.273.237.586.338.939.102.353.153.734.153 1.144 0 1.639-.643 2.925-1.929 3.858-1.286.934-2.889 1.4-4.806 1.4-1.76 0-3.261-.398-4.502-1.195-1.24-.797-2.03-1.912-2.369-3.346l3.046-.888c.203.797.643 1.406 1.32 1.827.677.421 1.478.632 2.403.632s1.675-.194 2.251-.581c.575-.387.863-.91.863-1.57 0-.32-.074-.592-.22-.82-.147-.227-.384-.415-.711-.563a4.922 4.922 0 0 0-.948-.325 23.473 23.473 0 0 0-1.303-.24 77.899 77.899 0 0 1-1.505-.272 21.04 21.04 0 0 1-1.456-.359c-.62-.17-1.112-.37-1.472-.597a9.426 9.426 0 0 1-1.134-.854 2.97 2.97 0 0 1-.863-1.263 4.892 4.892 0 0 1-.27-1.674c0-1.616.597-2.873 1.793-3.773 1.196-.899 2.73-1.349 4.603-1.349 1.692 0 3.124.376 4.298 1.127 1.173.751 1.94 1.878 2.301 3.38l-3.079.889c-.181-.82-.599-1.434-1.253-1.844-.654-.41-1.41-.615-2.267-.615-.835 0-1.49.188-1.963.563-.474.376-.711.871-.711 1.486 0 .637.225 1.081.677 1.331.451.251 1.15.456 2.098.615.068 0 .327.04.779.12.451.08.755.131.914.153.157.023.456.086.896.188.44.103.762.194.965.273l.897.359c.394.16.688.319.88.478.234.196.465.395.694.597Zm8.596-5.173c-.813.638-1.366 1.537-1.659 2.698h9.003a4.152 4.152 0 0 0-1.455-2.612c-.813-.695-1.817-1.042-3.013-1.042-1.105 0-2.064.32-2.876.956Zm-3.114-1.536c1.579-1.593 3.565-2.39 5.957-2.39 2.346 0 4.269.757 5.77 2.27 1.5 1.514 2.251 3.512 2.251 5.993 0 .364-.023.751-.068 1.16h-12.658c.136 1.526.632 2.715 1.489 3.57.857.853 1.952 1.28 3.283 1.28 1.038 0 1.935-.262 2.691-.786.756-.523 1.224-1.263 1.405-2.22l3.181.957c-.429 1.617-1.303 2.851-2.623 3.705-1.32.853-2.872 1.28-4.654 1.28-2.414 0-4.416-.79-6.007-2.373-1.591-1.582-2.386-3.659-2.386-6.232 0-2.549.789-4.62 2.369-6.214Zm25.654-6.761c-1.083 0-1.895.296-2.437.888-.541.592-.812 1.388-.812 2.39v1.434h6.126v3.142h-6.126v13.385h-3.621V27.859h-3.25v-3.142h3.25v-1.673c0-2.003.58-3.511 1.742-4.525 1.162-1.012 2.646-1.519 4.451-1.519 1.331 0 2.606.194 3.824.58l-.473 2.903a8.002 8.002 0 0 0-2.674-.478Zm15.45 17.09c.688-.785 1.032-1.861 1.032-3.227v-9.151h3.621v16.527h-3.621V39.4c-1.129 1.457-2.731 2.185-4.806 2.185-1.783 0-3.289-.574-4.519-1.724-1.229-1.15-1.844-2.783-1.844-4.9V24.717h3.621v9.97c0 1.14.344 2.021 1.033 2.647.688.626 1.607.94 2.758.94 1.128 0 2.036-.394 2.725-1.179Zm8.782 4.149V17.34H164v23.903h-3.621Z\",\"fill\":\"#21566E\"}})]),_c('v-divider',{staticClass:\"d-block mx-4\",attrs:{\"vertical\":\"\"}}),_c('div',[_c('h2',{staticClass:\"title__principal mb-1\"},[_vm._v(\" \"+_vm._s((_vm.$t('quote.label.title')))+\" \")]),(_vm.vendor && _vm.vendor.name)?_c('h5',{staticClass:\"font-weight-bold\"},[_vm._v(\" \"+_vm._s(_vm.vendor.name)+\" \")]):_vm._e(),(_vm.vendor && _vm.vendor.document)?_c('h5',{staticClass:\"grey--text text--lighten-1\"},[_vm._v(\" CNPJ: \"+_vm._s(_vm.formatDocument(_vm.vendor.document))+\" \")]):_vm._e(),(_vm.vendor && _vm.vendor.email)?_c('h5',{staticClass:\"grey--text text--lighten-1\"},[_vm._v(\" E-mail: \"+_vm._s(_vm.vendor.email)+\" \")]):_vm._e(),(_vm.vendor && _vm.vendor.phone)?_c('h5',{staticClass:\"grey--text text--lighten-1\"},[_vm._v(\" Telefone: \"+_vm._s(_vm.vendor.phone)+\" \")]):_vm._e()])],1),_c('v-col',{staticClass:\"d-flex justify-end align-center\"},[(_vm.version == 2)?_c('HCheckbox',{staticClass:\"d-print-none mr-6\",attrs:{\"label\":_vm.$t('quote.label.simplifiedPrinting')},on:{\"input\":_vm.handleSimplifiedPrinting}}):_vm._e(),(!_vm.quoteWasNotFound)?_c('v-btn',{staticClass:\"d-print-none\",attrs:{\"color\":\"primary\",\"outlined\":\"\"},on:{\"click\":function($event){return _vm.generatePdf()}}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\" mdi-printer \")]),_c('span',{staticClass:\"body-2\"},[_vm._v(_vm._s(_vm.$t('quote.label.print')))])],1):_vm._e()],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <v-row align=\"center\" class=\"mb-10\">\n <v-col class=\"d-flex justify-start align-center\">\n <div v-if=\"vendor && vendor.logo\">\n <img\n :src=\"vendor.logo\"\n :alt=\"vendor.name\"\n height=\"50\"\n />\n </div>\n <svg\n v-else\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-labelledby=\"hasefulTitle hausefulDescription\"\n viewBox=\"0 0 180 50\"\n role=\"img\"\n style=\"height: 40px;\"\n >\n <title id=\"hasefulTitle\">Hauseful</title>\n <desc id=\"hausefulDescription\">Serviços imobiliários sob demanda</desc>\n <path d=\"M25.4 38.48a7.908 7.908 0 0 0 1.192-4.159c.008-1.805-.111-4.041-.568-6.252-.55-2.664-1.462-4.706-2.71-6.067-1.11-1.21-2.493-1.875-4.214-2.017.922 1.694 1.402 3.287 1.48 4.863.126 2.515-.776 4.498-1.649 6.414-.536 1.18-1.09 2.399-1.408 3.778-.254 1.869.386 3.108.973 3.821.842 1.023 2.115 1.634 3.404 1.634.974 0 2.365-.345 3.479-1.98a.523.523 0 0 0 .012-.02l.01-.016ZM12.1 18.6l.002-.004c.511-1.188 2.076-4.697 2.4-5.32.625-1.202 1.79-3.44 1.93-4.174.333-1.782-.006-3.373-.979-4.602a5.304 5.304 0 0 0-4.125-1.996 4.69 4.69 0 0 0-3.303 1.336l-.005.005a.102.102 0 0 1-.008.007c-1.06 1.003-1.68 2.399-2.279 3.748v.002l-.209.466c-3.01 7.073-3.917 15.82-2.366 22.833.006.024.01.048.015.073.328 1.709 1.194 4.296 2.64 6.431.814 1.203 2.053 2.603 3.588 2.987-1.416-2.81-1.864-5.956-1.368-9.524.577-4.155 2.35-8.28 4.067-12.268Zm5.258-5.565a110.477 110.477 0 0 0-2.286 4.819c11.753-2.723 14.151 8.834 13.912 17.397a7.778 7.778 0 0 1-.79 3.227c-.23.466-.506.942-.823 1.444-4.176 6.206-13.362 2.313-12.215-5.356.373-1.681 1.007-3.075 1.6-4.377.68-1.494 1.304-2.865 1.412-4.41v-.016c0-5.277-3.768-6.376-3.768-6.376l-.1.232c-3.325 7.725-6.77 15.73-.79 22.488C6.31 45.915 1.8 36.614.811 31.464-.829 24.05.021 14.797 3.333 7.031c.07-.156.14-.316.213-.477.665-1.5 1.423-3.21 2.847-4.555 4.98-4.78 13.911-.49 12.403 7.582-.155.817-.767 2.13-1.438 3.455Zm29.103 11.34c1.895 0 3.424.546 4.586 1.639 1.162 1.092 1.743 2.64 1.743 4.644v10.585h-3.621v-9.63c0-1.297-.339-2.276-1.015-2.936-.678-.66-1.591-.99-2.742-.99-1.15 0-2.07.387-2.759 1.16-.688.775-1.032 1.856-1.032 3.245v9.15H38V17.342h3.621v9.254c1.128-1.48 2.742-2.22 4.84-2.22Zm19.223 13.18c.7-.728 1.05-1.741 1.05-3.04V33.8l-4.705.546c-1.715.228-2.572.99-2.572 2.288 0 .751.327 1.31.981 1.673.654.365 1.444.524 2.37.478 1.218-.09 2.177-.5 2.876-1.23Zm4.67-6.897v6.829c0 .637.316.956.948.956.113 0 .327-.034.643-.103v3.074c-.406.113-.88.17-1.421.17-1.895 0-3.091-.728-3.588-2.185-1.196 1.457-2.933 2.185-5.212 2.185-1.737 0-3.147-.438-4.23-1.314-1.083-.876-1.625-2.089-1.625-3.637 0-1.502.508-2.675 1.523-3.517 1.016-.842 2.324-1.343 3.926-1.502l5.415-.581v-.307c0-1.07-.327-1.907-.98-2.51-.656-.603-1.502-.905-2.54-.905-.857 0-1.585.217-2.182.649-.599.433-.999 1.047-1.202 1.844l-3.215-.58c.338-1.64 1.128-2.857 2.369-3.654 1.24-.797 2.719-1.196 4.434-1.196 2.143 0 3.835.547 5.076 1.64 1.241 1.092 1.862 2.64 1.862 4.644Zm14.469 6.436c.688-.785 1.032-1.861 1.032-3.227v-9.151h3.622v16.527h-3.622V39.4c-1.128 1.457-2.73 2.185-4.806 2.185-1.783 0-3.289-.574-4.518-1.724-1.23-1.15-1.845-2.783-1.845-4.9V24.717h3.622v9.97c0 1.14.343 2.021 1.032 2.647.688.626 1.608.94 2.758.94 1.128 0 2.036-.394 2.725-1.179Zm20.188-3.62c.27.24.468.496.592.769.124.273.237.586.338.939.102.353.153.734.153 1.144 0 1.639-.643 2.925-1.929 3.858-1.286.934-2.889 1.4-4.806 1.4-1.76 0-3.261-.398-4.502-1.195-1.24-.797-2.03-1.912-2.369-3.346l3.046-.888c.203.797.643 1.406 1.32 1.827.677.421 1.478.632 2.403.632s1.675-.194 2.251-.581c.575-.387.863-.91.863-1.57 0-.32-.074-.592-.22-.82-.147-.227-.384-.415-.711-.563a4.922 4.922 0 0 0-.948-.325 23.473 23.473 0 0 0-1.303-.24 77.899 77.899 0 0 1-1.505-.272 21.04 21.04 0 0 1-1.456-.359c-.62-.17-1.112-.37-1.472-.597a9.426 9.426 0 0 1-1.134-.854 2.97 2.97 0 0 1-.863-1.263 4.892 4.892 0 0 1-.27-1.674c0-1.616.597-2.873 1.793-3.773 1.196-.899 2.73-1.349 4.603-1.349 1.692 0 3.124.376 4.298 1.127 1.173.751 1.94 1.878 2.301 3.38l-3.079.889c-.181-.82-.599-1.434-1.253-1.844-.654-.41-1.41-.615-2.267-.615-.835 0-1.49.188-1.963.563-.474.376-.711.871-.711 1.486 0 .637.225 1.081.677 1.331.451.251 1.15.456 2.098.615.068 0 .327.04.779.12.451.08.755.131.914.153.157.023.456.086.896.188.44.103.762.194.965.273l.897.359c.394.16.688.319.88.478.234.196.465.395.694.597Zm8.596-5.173c-.813.638-1.366 1.537-1.659 2.698h9.003a4.152 4.152 0 0 0-1.455-2.612c-.813-.695-1.817-1.042-3.013-1.042-1.105 0-2.064.32-2.876.956Zm-3.114-1.536c1.579-1.593 3.565-2.39 5.957-2.39 2.346 0 4.269.757 5.77 2.27 1.5 1.514 2.251 3.512 2.251 5.993 0 .364-.023.751-.068 1.16h-12.658c.136 1.526.632 2.715 1.489 3.57.857.853 1.952 1.28 3.283 1.28 1.038 0 1.935-.262 2.691-.786.756-.523 1.224-1.263 1.405-2.22l3.181.957c-.429 1.617-1.303 2.851-2.623 3.705-1.32.853-2.872 1.28-4.654 1.28-2.414 0-4.416-.79-6.007-2.373-1.591-1.582-2.386-3.659-2.386-6.232 0-2.549.789-4.62 2.369-6.214Zm25.654-6.761c-1.083 0-1.895.296-2.437.888-.541.592-.812 1.388-.812 2.39v1.434h6.126v3.142h-6.126v13.385h-3.621V27.859h-3.25v-3.142h3.25v-1.673c0-2.003.58-3.511 1.742-4.525 1.162-1.012 2.646-1.519 4.451-1.519 1.331 0 2.606.194 3.824.58l-.473 2.903a8.002 8.002 0 0 0-2.674-.478Zm15.45 17.09c.688-.785 1.032-1.861 1.032-3.227v-9.151h3.621v16.527h-3.621V39.4c-1.129 1.457-2.731 2.185-4.806 2.185-1.783 0-3.289-.574-4.519-1.724-1.229-1.15-1.844-2.783-1.844-4.9V24.717h3.621v9.97c0 1.14.344 2.021 1.033 2.647.688.626 1.607.94 2.758.94 1.128 0 2.036-.394 2.725-1.179Zm8.782 4.149V17.34H164v23.903h-3.621Z\" fill=\"#21566E\" />\n </svg>\n\n <v-divider class=\"d-block mx-4\" vertical></v-divider>\n\n <div>\n <h2 class=\"title__principal mb-1\">\n {{ ($t('quote.label.title')) }}\n </h2>\n <h5 v-if=\"vendor && vendor.name\" class=\"font-weight-bold\">\n {{ vendor.name }}\n </h5>\n <h5 v-if=\"vendor && vendor.document\" class=\"grey--text text--lighten-1\">\n CNPJ: {{ formatDocument(vendor.document) }}\n </h5>\n <h5 v-if=\"vendor && vendor.email\" class=\"grey--text text--lighten-1\">\n E-mail: {{ vendor.email }}\n </h5>\n <h5 v-if=\"vendor && vendor.phone\" class=\"grey--text text--lighten-1\">\n Telefone: {{ vendor.phone }}\n </h5>\n </div>\n </v-col>\n <v-col class=\"d-flex justify-end align-center\">\n <HCheckbox v-if=\"version == 2\" @input=\"handleSimplifiedPrinting\" :label=\"$t('quote.label.simplifiedPrinting')\" class=\"d-print-none mr-6\" />\n <v-btn\n v-if=\"!quoteWasNotFound\"\n @click=\"generatePdf()\"\n class=\"d-print-none\"\n color=\"primary\"\n outlined\n >\n <v-icon left> mdi-printer </v-icon>\n <span class=\"body-2\">{{ $t('quote.label.print') }}</span>\n </v-btn>\n </v-col>\n </v-row>\n </div>\n</template>\n\n<script>\nimport HCheckbox from '../../../components/app/HCheckbox.vue'\nimport { formatDocument } from '../../../util/document'\n\nexport default {\n name: 'QuoteHeader',\n data() {\n return {\n simplifiedPrinting: false,\n formatDocument: formatDocument,\n }\n },\n components: {\n HCheckbox\n },\n props: {\n vendor: {\n type: Object,\n required: true,\n },\n\n quoteWasNotFound: {\n type: Boolean,\n default: false,\n },\n\n version: {\n type: Number,\n required: true,\n },\n },\n\n methods: {\n generatePdf() {\n window.print()\n },\n handleSimplifiedPrinting(value) {\n this.$root.$emit('isSimplifiedPrinting', value)\n },\n },\n components: { HCheckbox }\n}\n</script>\n","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/vuetify-loader/lib/loader.js??ref--18-0!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuoteHeader.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/vuetify-loader/lib/loader.js??ref--18-0!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuoteHeader.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./QuoteHeader.vue?vue&type=template&id=583ef0f0&\"\nimport script from \"./QuoteHeader.vue?vue&type=script&lang=js&\"\nexport * from \"./QuoteHeader.vue?vue&type=script&lang=js&\"\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 null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VBtn,VCol,VDivider,VIcon,VRow})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.quoteWasNotFound)?_c('div',{staticClass:\"pb-3\"},[_c('v-alert',{attrs:{\"type\":\"error\",\"text\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.$t('quote.hint.notFound'))+\" \")])],1):_vm._e(),(_vm.isQuoteAlreadyPaid || _vm.isQuotePaid)?_c('div',{staticClass:\"pb-3\"},[_c('v-alert',{attrs:{\"type\":\"success\",\"text\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.$t('quote.hint.alreadyPaid'))+\" \")])],1):_vm._e(),(_vm.isOverdue)?_c('div',{staticClass:\"pb-3\"},[_c('v-alert',{attrs:{\"type\":\"warning\",\"text\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.$t('quote.hint.overdue'))+\" \")])],1):_vm._e(),(_vm.isQuotePending && _vm.isNotCreditCard)?_c('div',{staticClass:\"pb-3\"},[_c('v-alert',{attrs:{\"type\":\"warning\",\"text\":\"\"}},[_c('div',{staticClass:\"d-flex align-center\"},[_vm._v(\" \"+_vm._s(_vm.$t('quote.hint.awaitingPayment'))+\" \"),_c('v-spacer',{staticClass:\"mx-2\"}),_c('v-btn',{attrs:{\"color\":\"warning\",\"elevation\":\"0\",\"small\":\"\"},on:{\"click\":function($event){return _vm.$parent.handleOpenModalWithPixPaymentSelected()}}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\" mdi-qrcode \")]),_c('span',{staticClass:\"body-2\"},[_vm._v(\" \"+_vm._s(_vm.$t('quote.label.displayQRCode'))+\" \")])],1)],1)])],1):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <div v-if=\"quoteWasNotFound\" class=\"pb-3\">\n <v-alert type=\"error\" text>\n {{ $t('quote.hint.notFound') }}\n </v-alert>\n </div>\n\n <div v-if=\"isQuoteAlreadyPaid || isQuotePaid\" class=\"pb-3\">\n <v-alert type=\"success\" text>\n {{ $t('quote.hint.alreadyPaid') }}\n </v-alert>\n </div>\n\n <div v-if=\"isOverdue\" class=\"pb-3\">\n <v-alert type=\"warning\" text>\n {{ $t('quote.hint.overdue') }}\n </v-alert>\n </div>\n\n <div v-if=\"isQuotePending && isNotCreditCard\" class=\"pb-3\">\n <v-alert type=\"warning\" text>\n <div class=\"d-flex align-center\">\n {{ $t('quote.hint.awaitingPayment') }}\n <v-spacer class=\"mx-2\" />\n <v-btn\n @click=\"$parent.handleOpenModalWithPixPaymentSelected()\"\n color=\"warning\"\n elevation=\"0\"\n small\n >\n <v-icon left>\n mdi-qrcode\n </v-icon>\n <span class=\"body-2\">\n {{ $t('quote.label.displayQRCode') }}\n </span>\n </v-btn>\n </div>\n </v-alert>\n </div>\n </div>\n</template>\n\n<script>\nimport { mapGetters } from 'vuex'\n\nexport default {\n name: 'QuoteMessages',\n\n props: {\n quoteWasNotFound: {\n type: Boolean,\n },\n\n isQuoteAlreadyPaid: {\n type: Boolean,\n },\n\n isQuotePending: {\n type: Boolean,\n },\n\n isOverdue: {\n type: Boolean,\n },\n\n paymentMethod: {\n type: String,\n },\n },\n\n computed: {\n ...mapGetters(['isQuotePaid']),\n\n isNotCreditCard() {\n return this.paymentMethod !== 'ASAAS_CREDIT_CARD'\n }\n }\n}\n</script>\n","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/vuetify-loader/lib/loader.js??ref--18-0!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuoteMessages.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/vuetify-loader/lib/loader.js??ref--18-0!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuoteMessages.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./QuoteMessages.vue?vue&type=template&id=230be4d7&\"\nimport script from \"./QuoteMessages.vue?vue&type=script&lang=js&\"\nexport * from \"./QuoteMessages.vue?vue&type=script&lang=js&\"\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 null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAlert } from 'vuetify/lib/components/VAlert';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VAlert,VBtn,VIcon,VSpacer})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.quoteList.length >= 1)?_c('v-data-table',{staticClass:\"d-none d-print-block\",attrs:{\"items\":_vm.quoteList,\"headers\":_vm.printableHeaders,\"mobile-breakpoint\":\"20\",\"item-key\":\"id\",\"hide-default-footer\":\"\",\"items-per-page\":1000,\"no-data-text\":_vm.$t('table.noResults'),\"disable-sort\":\"\"},scopedSlots:_vm._u([{key:\"item.calculated_price\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('span',{class:item && !item.accepted ? 'text-decoration-line-through' : ''},[_vm._v(\" \"+_vm._s(_vm.itemAmount(item))+\" \")])]}}],null,false,3067254210)}):_vm._e(),(_vm.quoteList.length >= 1)?_c('v-data-table',{staticClass:\"clickable d-print-none\",attrs:{\"no-data-text\":_vm.$t('table.noResults'),\"items-per-page\":1000,\"headers\":_vm.headers,\"items\":_vm.quoteList,\"mobile-breakpoint\":\"20\",\"item-key\":\"id\",\"hide-default-footer\":\"\",\"single-expand\":\"\",\"disable-sort\":\"\",\"show-expand\":\"\"},on:{\"click:row\":_vm.rowExpand},scopedSlots:_vm._u([{key:\"item.item_name\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('span',{staticClass:\"d-block text-truncate\",class:item && !item.accepted ? 'text-decoration-line-through' : ''},[_vm._v(\" \"+_vm._s(item && item.item_name ? item.item_name : '---')+\" \")])]}},{key:\"item.service_report_item_quantity\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('span',{staticClass:\"d-block\",class:item && !item.accepted ? 'text-decoration-line-through' : ''},[_vm._v(\" \"+_vm._s(item && item.service_report_item_quantity ? item.service_report_item_quantity : '---')+\" \")])]}},{key:\"item.calculated_price\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('span',{class:item && !item.accepted ? 'text-decoration-line-through' : ''},[_vm._v(\" \"+_vm._s(_vm.itemAmount(item))+\" \")])]}},{key:\"expanded-item\",fn:function(ref){\nvar headers = ref.headers;\nvar item = ref.item;\nreturn [_c('td',{staticClass:\"ma-0 pa-0\",attrs:{\"colspan\":headers.length}},[_c('v-card',{staticClass:\"pa-5 grey lighten-4\",attrs:{\"elevation\":\"0\",\"tile\":\"\",\"flat\":\"\"}},[(item && item.id !== '1')?_c('v-row',[_c('v-col',{staticClass:\"py-0 no-cols\",attrs:{\"cols\":\"4\"}},[_c('p',{staticClass:\"h6 mb-0 grey--text caption\"},[_vm._v(\" \"+_vm._s(_vm.$t('quote.label.category'))+\" \")]),_c('p',{staticClass:\"body-2\"},[_vm._v(\" \"+_vm._s(item.item_category_name ? item.item_category_name : '---')+\" \")])]),_c('v-col',{staticClass:\"py-0\",attrs:{\"cols\":\"8\"}},[_c('p',{staticClass:\"h6 mb-0 grey--text caption\"},[_vm._v(\" \"+_vm._s(_vm.$t('quote.label.location'))+\" \")]),_c('p',{staticClass:\"body-2\"},[_vm._v(\" \"+_vm._s(item.service_report_item_location ? item.service_report_item_location : '---')+\" \")])])],1):_vm._e(),_c('p',{staticClass:\"h6 mb-0 grey--text caption\"},[_vm._v(\" \"+_vm._s(_vm.$t('quote.label.itemDescription'))+\" \")]),_c('p',{staticClass:\"body-2\"},[_vm._v(\" \"+_vm._s(item && item.item_description ? item.item_description : '---')+\" \")]),(item && item.id !== '1')?_c('span',[_c('p',{staticClass:\"h6 mb-0 grey--text caption\"},[_vm._v(\" \"+_vm._s(_vm.$t('quote.label.serviceDescription'))+\" \")]),_c('p',{staticClass:\"body-2 mb-0\"},[_vm._v(\" \"+_vm._s(item && item.service_report_item_description)+\" \")])]):_vm._e()],1)],1)]}}],null,false,3958291915)}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { translate } from \"../../../util/translate\"\n\nexport const quoteTableHeaders = [\n {\n text: translate['quote.label.name'],\n value: 'item_name',\n width: 300,\n },\n {\n text: translate['quote.label.quantity'],\n value: 'service_report_item_quantity',\n align: 'center',\n width: 50,\n },\n {\n text: translate['quote.label.amount'],\n value: 'calculated_price',\n align: 'right',\n width: 150,\n },\n {\n text: '',\n align: 'center',\n value: 'data-table-expand',\n width: 50,\n },\n]\n\nexport const quoteTableHeadersPrintable = [\n {\n text: translate['quote.label.name'],\n value: 'item_name'\n },\n {\n text: translate['quote.label.category'],\n value: 'item_category_name'\n },\n {\n text: translate['quote.label.itemDesc'],\n value: 'item_description'\n },\n {\n text: translate['quote.label.location'],\n value: 'service_report_item_location'\n },\n {\n text: translate['quote.label.serviceDesc'],\n value: 'service_report_item_description'\n },\n {\n text: translate['quote.label.qtd'],\n align: 'center',\n value: 'service_report_item_quantity'\n },\n {\n text: translate['quote.label.amount'],\n value: 'calculated_price'\n },\n]\n","<template>\n <div>\n <v-data-table\n v-if=\"quoteList.length >= 1\"\n :items=\"quoteList\"\n :headers=\"printableHeaders\"\n mobile-breakpoint=\"20\"\n item-key=\"id\"\n hide-default-footer\n :items-per-page=\"1000\"\n :no-data-text=\"$t('table.noResults')\"\n disable-sort\n class=\"d-none d-print-block\"\n >\n <template v-slot:item.calculated_price=\"{ item }\">\n <span :class=\"item && !item.accepted ? 'text-decoration-line-through' : ''\">\n {{ itemAmount(item) }}\n </span>\n </template>\n </v-data-table>\n\n <v-data-table\n v-if=\"quoteList.length >= 1\"\n @click:row=\"rowExpand\"\n :no-data-text=\"$t('table.noResults')\"\n :items-per-page=\"1000\"\n :headers=\"headers\"\n :items=\"quoteList\"\n class=\"clickable d-print-none\"\n mobile-breakpoint=\"20\"\n item-key=\"id\"\n hide-default-footer\n single-expand\n disable-sort\n show-expand\n >\n <template v-slot:item.item_name=\"{ item }\">\n <span\n :class=\"item && !item.accepted ? 'text-decoration-line-through' : ''\"\n class=\"d-block text-truncate\"\n >\n {{ item && item.item_name ? item.item_name : '---' }}\n </span>\n </template>\n <template v-slot:item.service_report_item_quantity=\"{ item }\">\n <span\n :class=\"item && !item.accepted ? 'text-decoration-line-through' : ''\"\n class=\"d-block\"\n >\n {{\n item && item.service_report_item_quantity\n ? item.service_report_item_quantity\n : '---'\n }}\n </span>\n </template>\n <template v-slot:item.calculated_price=\"{ item }\">\n <span :class=\"item && !item.accepted ? 'text-decoration-line-through' : ''\">\n {{ itemAmount(item) }}\n </span>\n </template>\n <template v-slot:expanded-item=\"{ headers, item }\">\n <td :colspan=\"headers.length\" class=\"ma-0 pa-0\">\n <v-card class=\"pa-5 grey lighten-4\" elevation=\"0\" tile flat>\n <v-row v-if=\"item && item.id !== '1'\">\n <v-col cols=\"4\" class=\"py-0 no-cols\">\n <p class=\"h6 mb-0 grey--text caption\">\n {{ $t('quote.label.category') }}\n </p>\n <p class=\"body-2\">\n {{\n item.item_category_name ? item.item_category_name : '---'\n }}\n </p>\n </v-col>\n <v-col cols=\"8\" class=\"py-0\">\n <p class=\"h6 mb-0 grey--text caption\">\n {{ $t('quote.label.location') }}\n </p>\n <p class=\"body-2\">\n {{\n item.service_report_item_location\n ? item.service_report_item_location\n : '---'\n }}\n </p>\n </v-col>\n </v-row>\n\n <p class=\"h6 mb-0 grey--text caption\">\n {{ $t('quote.label.itemDescription') }}\n </p>\n <p class=\"body-2\">\n {{ item && item.item_description ? item.item_description : '---' }}\n </p>\n\n <span v-if=\"item && item.id !== '1'\">\n <p class=\"h6 mb-0 grey--text caption\">\n {{ $t('quote.label.serviceDescription') }}\n </p>\n <p class=\"body-2 mb-0\">\n {{ item && item.service_report_item_description }}\n </p>\n </span>\n </v-card>\n </td>\n </template>\n </v-data-table>\n </div>\n</template>\n\n<script>\nimport { mapGetters } from 'vuex'\nimport { catalogMonetary } from '@/util/catalog'\nimport { quoteTableHeaders, quoteTableHeadersPrintable } from '@/views/quote/listHeaders'\n\nexport default {\n name: 'QuotePaymentList',\n\n props: {\n quoteItemsList: {\n type: Array,\n required: true,\n },\n\n version: {\n type: Number | String,\n default: 1,\n },\n },\n\n computed: {\n ...mapGetters(['quoteItems', 'itemsPerPage']),\n\n hasVendorFee() {\n return this.quoteItems?.vendor_service_charge_fee > 0\n },\n\n vendorFee() {\n return this.quoteItems?.vendor_service_charge_fee && this.quoteItems?.vendor_service_charge_fee\n },\n\n vendorFeeData() {\n if (!this.hasVendorFee) return\n\n return {\n id: '1',\n date_created: '',\n item_id: '1',\n item_name: this.$t('quote.priceTable.serviceCallFee'),\n item_description: this.$t('quote.priceTable.technicalVisitDescription'),\n item_category_id: '',\n item_category_name: '',\n service_report_item_id: '',\n service_report_item_location: '',\n service_report_item_description: '',\n service_report_item_quantity: 1,\n calculated_price: this.vendorFee,\n calculated_by_installment_price: 0,\n accepted: true,\n }\n },\n\n quoteList() {\n const list = this.quoteItemsList\n if (this.version == 2 && this.hasVendorFee) list.push(this.vendorFeeData)\n return list\n }\n },\n\n methods: {\n rowExpand(_, slot) {\n slot.expand(!slot.isExpanded)\n },\n\n itemAmount(item) {\n if (!item) return\n\n if (this.version == 2) return item.calculated_price ? this.formatMoney(item.calculated_price) : '---'\n else return item.calculated_by_installment_price ? this.formatMoney(item.calculated_by_installment_price) : '---'\n },\n },\n\n data() {\n return {\n printableHeaders: quoteTableHeadersPrintable,\n formatMoney: catalogMonetary,\n headers: quoteTableHeaders,\n }\n }\n}\n</script>\n","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/vuetify-loader/lib/loader.js??ref--18-0!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuotePaymentList.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/vuetify-loader/lib/loader.js??ref--18-0!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuotePaymentList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./QuotePaymentList.vue?vue&type=template&id=22debc22&\"\nimport script from \"./QuotePaymentList.vue?vue&type=script&lang=js&\"\nexport * from \"./QuotePaymentList.vue?vue&type=script&lang=js&\"\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 null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCard,VCol,VDataTable,VRow})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Modal',{attrs:{\"name\":\"QUOTE_PAYMENT_MODAL\",\"title\":_vm.title,\"width\":580}},[_c('template',{slot:\"body\"},[(_vm.quotePaymentType === null && !_vm.payWithFci)?_c('div',{staticClass:\"recharge__wrapper\"},[_c('div',{staticClass:\"recharge__item\",on:{\"click\":function($event){return _vm.setQuotePaymentType('ASAAS_CREDIT_CARD')}}},[_c('v-icon',[_vm._v(\" mdi-credit-card-outline \")]),_c('h2',{staticClass:\"mt-3\"},[_c('span',{staticClass:\"d-block caption\"},[_vm._v(\" \"+_vm._s(_vm.$t('quote.modal.payWith'))+\" \")]),_c('span',{staticClass:\"font-weight-bold\"},[_vm._v(\" \"+_vm._s(_vm.$t('quote.modal.creditCard'))+\" \")])]),_c('div',{staticClass:\"mw-200 mx-auto\"},[_c('v-divider',{staticClass:\"my-3 grey lighten-3\"}),_c('h6',{staticClass:\"d-block body-2 grey--text\"},[_vm._v(\" \"+_vm._s(_vm.$t('recharge.paymentInfo.credit'))+\" \")])],1)],1),_c('div',{staticClass:\"recharge__item\",on:{\"click\":function($event){return _vm.setQuotePaymentType('ASAAS_PIX')}}},[_c('PixIcon',{attrs:{\"width\":\"50\",\"height\":\"57\",\"opacity\":\"0.1\"}}),_c('h2',{staticClass:\"mt-3\"},[_c('span',{staticClass:\"d-block caption\"},[_vm._v(\" \"+_vm._s(_vm.$t('quote.modal.payWith'))+\" \")]),_c('span',{staticClass:\"font-weight-bold\"},[_vm._v(\" \"+_vm._s(_vm.$t('quote.modal.pix'))+\" \")])]),_c('div',{staticClass:\"mw-200 mx-auto\"},[_c('v-divider',{staticClass:\"my-3 grey lighten-3\"}),_c('h6',{staticClass:\"d-block body-2 grey--text\"},[_vm._v(\" \"+_vm._s(_vm.$t('recharge.paymentInfo.pix'))+\" \")])],1)],1)]):_vm._e(),(_vm.quotePaymentType === 'ASAAS_PIX')?_c('QuotePaymentPix'):_vm._e(),(_vm.quotePaymentType === 'ASAAS_CREDIT_CARD')?_c('QuotePaymentCreditCard'):_vm._e(),(_vm.payWithFci)?_c('QuotePaymentFci'):_vm._e()],1)],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.successData && !_vm.pixCodeAndQRCode)?_c('div',[_c('QuotePaymentHeader',{attrs:{\"paymentType\":\"pix\"}}),_c('v-form',{ref:\"form\",attrs:{\"lazy-validation\":\"\"}},[_c('v-row',[_c('v-col',[_c('v-text-field',{attrs:{\"rules\":[_vm.rules.required],\"label\":_vm.$t('forms.completeName'),\"hide-details\":\"auto\",\"outlined\":\"\"},model:{value:(_vm.name),callback:function ($$v) {_vm.name=$$v},expression:\"name\"}})],1)],1),_c('v-row',[_c('v-col',[_c('v-text-field',{directives:[{name:\"mask\",rawName:\"v-mask\",value:(\n _vm.document.length <= 14 ? _vm.mask.cpfCnpj.cpf : _vm.mask.cpfCnpj.cnpj\n ),expression:\"\\n document.length <= 14 ? mask.cpfCnpj.cpf : mask.cpfCnpj.cnpj\\n \"}],attrs:{\"rules\":[_vm.rules.documentCheck],\"label\":_vm.$t('forms.cpfCnpj'),\"hide-details\":\"auto\",\"outlined\":\"\"},model:{value:(_vm.document),callback:function ($$v) {_vm.document=$$v},expression:\"document\"}})],1)],1),_c('QuotePaymentActions',{on:{\"submit\":_vm.validate}})],1)],1):_vm._e(),(_vm.successData || _vm.pixCodeAndQRCode)?_c('QuotePaymentPixSuccess',{attrs:{\"pixCodeAndQRCode\":_vm.pixCodeAndQRCode,\"successData\":_vm.successData}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-row',{attrs:{\"align\":\"center\",\"no-gutters\":\"\"}},[(!_vm.$vuetify.breakpoint.xs && !_vm.payWithFci)?_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"1\"}},[_c('v-btn',{staticClass:\"ml-n1\",attrs:{\"icon\":\"\"},on:{\"click\":function($event){return _vm.setQuotePaymentType(null)}}},[_c('v-icon',[_vm._v(\" mdi-chevron-left \")])],1)],1):_vm._e(),_c('v-col',{class:!_vm.$vuetify.breakpoint.xs ? 'text-left' : 'text-center',attrs:{\"align-self\":\"center\",\"cols\":\"12\",\"sm\":\"5\"}},[_c('span',{staticClass:\"d-block caption\"},[_vm._v(\" \"+_vm._s(_vm.$t('quote.modal.payWith'))+\" \")]),_c('span',{staticClass:\"headline\"},[_vm._v(\" \"+_vm._s(_vm.$t((\"quote.modal.\" + _vm.type)))+\" \")])]),_c('v-col',{class:!_vm.$vuetify.breakpoint.xs ? 'text-right' : 'text-center',attrs:{\"align-self\":\"center\",\"cols\":\"12\",\"sm\":\"6\"}},[(_vm.isCreditCardRentouNewVersion)?_c('span',{staticClass:\"display-1\"},[_vm._v(\" \"+_vm._s(_vm.totalAmount ? _vm.formatMoney(_vm.totalAmount) : '---')+\" \")]):_vm._e()])],1),_c('v-divider',{staticClass:\"mt-3 mb-4\"})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <v-row align=\"center\" no-gutters>\n <v-col v-if=\"!$vuetify.breakpoint.xs && !payWithFci\" cols=\"12\" sm=\"1\">\n <v-btn @click=\"setQuotePaymentType(null)\" class=\"ml-n1\" icon>\n <v-icon>\n mdi-chevron-left\n </v-icon>\n </v-btn>\n </v-col>\n <v-col\n :class=\"!$vuetify.breakpoint.xs ? 'text-left' : 'text-center'\"\n align-self=\"center\"\n cols=\"12\"\n sm=\"5\"\n >\n <span class=\"d-block caption\">\n {{ $t('quote.modal.payWith') }}\n </span>\n <span class=\"headline\">\n {{ $t(`quote.modal.${type}`) }}\n </span>\n </v-col>\n <v-col\n :class=\"!$vuetify.breakpoint.xs ? 'text-right' : 'text-center'\"\n align-self=\"center\"\n cols=\"12\"\n sm=\"6\"\n >\n <span v-if=\"isCreditCardRentouNewVersion\" class=\"display-1\">\n {{ totalAmount ? formatMoney(totalAmount) : '---' }}\n </span>\n </v-col>\n </v-row>\n\n <v-divider class=\"mt-3 mb-4\" />\n </div>\n</template>\n\n<script>\nimport { catalogMonetary } from '@/util/catalog'\nimport { mapGetters, mapMutations } from 'vuex'\n\nexport default {\n name: 'QuotePaymentHeader',\n\n props: {\n paymentType: {\n type: String,\n },\n },\n\n computed: {\n ...mapGetters(['quotes', 'quoteItems', 'payWithFci']),\n\n type() {\n return this.paymentType\n },\n\n version() {\n return this.quoteItems?.version\n },\n\n isCreditCardRentouNewVersion() {\n return this.version == 2 & this.paymentType != 'creditCard'\n },\n\n pixPaymentData() {\n if (this.quoteItems?.payment_options.length <= 0) return\n return this.quoteItems?.payment_options.find(({ payment_method }) => payment_method === 'ASAAS_PIX')\n },\n\n pixPaymentAmount() {\n if (!this.pixPaymentData?.total_value) return\n return this.formatMoney(this.pixPaymentData?.total_value)\n },\n\n pixToTotalAmount() {\n if (this.version != 2) return this.quotes.total\n else return this.pixPaymentAmount\n },\n\n pixTotal() {\n if (!this.quoteItems?.total) return\n return this.formatMoney(this.quoteItems?.total)\n },\n\n totalAmount() {\n switch (this.type) {\n case 'pix':\n return this.pixToTotalAmount\n case 'creditCard':\n return this.version != 2 && this.quotes.total_by_installments\n case 'fci':\n return this.quoteItems.net_fci\n ? this.quoteItems.net_fci\n : this.quotes.subtotal\n }\n },\n },\n\n data() {\n return {\n formatMoney: catalogMonetary,\n }\n },\n\n methods: {\n ...mapMutations(['setQuotePaymentType']),\n },\n}\n</script>\n","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/vuetify-loader/lib/loader.js??ref--18-0!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuotePaymentHeader.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/vuetify-loader/lib/loader.js??ref--18-0!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuotePaymentHeader.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./QuotePaymentHeader.vue?vue&type=template&id=8f43b2f0&\"\nimport script from \"./QuotePaymentHeader.vue?vue&type=script&lang=js&\"\nexport * from \"./QuotePaymentHeader.vue?vue&type=script&lang=js&\"\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 null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VBtn,VCol,VDivider,VIcon,VRow})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"d-flex flex-wrap align-middle justify-end mt-5\"},[_c('v-btn',{staticClass:\"mr-2 mb-2\",attrs:{\"block\":_vm.$vuetify.breakpoint.xs ? true : false,\"disabled\":_vm.isQuotePaymentLoading,\"color\":\"grey darken-1\",\"elevation\":\"0\",\"large\":\"\",\"text\":\"\"},on:{\"click\":function($event){return _vm.setQuotePaymentType(null)}}},[_vm._v(\" \"+_vm._s(_vm.$t('quote.action.goBack'))+\" \")]),_c('v-btn',{attrs:{\"block\":_vm.$vuetify.breakpoint.xs ? true : false,\"loading\":_vm.isQuotePaymentLoading,\"color\":\"primary\",\"elevation\":\"0\",\"large\":\"\"},on:{\"click\":function($event){return _vm.$emit('submit')}}},[_vm._v(\" \"+_vm._s(_vm.$t('quote.action.makePayment'))+\" \")])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div class=\"d-flex flex-wrap align-middle justify-end mt-5\">\n <v-btn\n @click=\"setQuotePaymentType(null)\"\n :block=\"$vuetify.breakpoint.xs ? true : false\"\n :disabled=\"isQuotePaymentLoading\"\n class=\"mr-2 mb-2\"\n color=\"grey darken-1\"\n elevation=\"0\"\n large\n text\n >\n {{ $t('quote.action.goBack') }}\n </v-btn>\n\n <v-btn\n @click=\"$emit('submit')\"\n :block=\"$vuetify.breakpoint.xs ? true : false\"\n :loading=\"isQuotePaymentLoading\"\n color=\"primary\"\n elevation=\"0\"\n large\n >\n {{ $t('quote.action.makePayment') }}\n </v-btn>\n </div>\n</template>\n\n<script>\nimport { mapGetters, mapMutations } from 'vuex'\n\nexport default {\n name: 'QuotePaymentActions',\n\n computed: {\n ...mapGetters(['isQuotePaymentLoading']),\n },\n\n methods: {\n ...mapMutations(['setQuotePaymentType']),\n },\n}\n</script>\n","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/vuetify-loader/lib/loader.js??ref--18-0!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuotePaymentActions.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/vuetify-loader/lib/loader.js??ref--18-0!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuotePaymentActions.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./QuotePaymentActions.vue?vue&type=template&id=40e3517d&\"\nimport script from \"./QuotePaymentActions.vue?vue&type=script&lang=js&\"\nexport * from \"./QuotePaymentActions.vue?vue&type=script&lang=js&\"\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 null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\ninstallComponents(component, {VBtn})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.showQuoteMessageSuccess)?_c('div',{staticClass:\"pixPayment\"},[_c('p',[_vm._v(\" \"+_vm._s(_vm.$t('recharge.pix.description'))+\" \")]),_c('img',{staticClass:\"d-block mx-auto\",attrs:{\"alt\":\"PIX QR CODE\",\"height\":\"auto\",\"width\":\"300\",\"src\":(\"data:image/jpeg;base64,\" + (_vm.pixData.pix_qrcode_image))}}),_c('v-divider',{staticClass:\"mt-2 mb-8\"}),_c('v-textarea',{attrs:{\"value\":_vm.pixData.pix_string_code,\"outlined\":\"\",\"readonly\":\"\",\"small\":\"\"}}),_c('div',{staticClass:\"d-flex justify-center\"},[_c('v-chip',[_c('v-progress-circular',{staticClass:\"mr-2\",attrs:{\"size\":10,\"width\":1,\"indeterminate\":\"\"}}),_vm._v(\" \"+_vm._s(_vm.$t((\"recharge.status.\" + (_vm.pixData.status))))+\" \")],1)],1)],1):_c('div',{staticClass:\"pixSuccess\"},[_c('HSuccess'),_c('h2',{staticClass:\"text-center mw-300 mx-auto mb-10 green--text\"},[_vm._v(\" \"+_vm._s(_vm.$t('quote.hint.paymentSuccess'))+\" \")])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <div class=\"pixPayment\" v-if=\"!showQuoteMessageSuccess\">\n <p>\n {{ $t('recharge.pix.description') }}\n </p>\n\n <img\n alt=\"PIX QR CODE\"\n class=\"d-block mx-auto\"\n height=\"auto\"\n width=\"300\"\n :src=\"`data:image/jpeg;base64,${pixData.pix_qrcode_image}`\"\n />\n\n <v-divider class=\"mt-2 mb-8\" />\n\n <v-textarea\n :value=\"pixData.pix_string_code\"\n outlined\n readonly\n small\n />\n\n <div class=\"d-flex justify-center\">\n <v-chip>\n <v-progress-circular\n :size=\"10\"\n :width=\"1\"\n class=\"mr-2\"\n indeterminate\n />\n {{ $t(`recharge.status.${pixData.status}`) }}\n </v-chip>\n </div>\n </div>\n\n <div v-else class=\"pixSuccess\">\n <HSuccess />\n\n <h2 class=\"text-center mw-300 mx-auto mb-10 green--text\">\n {{ $t('quote.hint.paymentSuccess') }}\n </h2>\n </div>\n </div>\n</template>\n\n<script>\nimport HSuccess from '@/components/app/HSuccess'\n\nimport { mapGetters, mapActions, mapMutations } from 'vuex'\n\nexport default {\n name: 'QuotePaymentPixSuccess',\n\n components: {\n HSuccess,\n },\n\n props: {\n successData: {\n type: Object,\n },\n\n pixCodeAndQRCode: {\n type: [Object, Boolean],\n },\n },\n\n computed: {\n ...mapGetters([\n 'isQuotePaid',\n 'quotePaymentStatus',\n 'showQuoteMessageSuccess',\n ]),\n\n paymentData() {\n if (this.successData) return this.successData?.installments[0]\n return this.pixCodeAndQRCode?.installments[0]\n },\n\n pixData() {\n return this.paymentData\n },\n\n status() {\n return this.pixData?.status\n },\n },\n\n methods: {\n ...mapMutations(['setShowQuoteMessageSuccess']),\n ...mapActions(['refreshPixQuote', 'fetchQuotes']),\n\n startRefreshInterval() {\n this.ceaseInterval()\n if (this.status === 'OVERDUE') return\n\n const id = this.pixCodeAndQRCode.id\n ? this.pixCodeAndQRCode.id\n : this.successData.id\n\n this._interval = setInterval(() => {\n this.checkPaymentStatus()\n this.refreshPixQuote(id).then((response) => response !== 'ASAAS_PIX' && this.ceaseInterval())\n }, 5000)\n },\n\n checkPaymentStatus() {\n if (\n this.isQuotePaid ||\n this.quotePaymentStatus === 'RECEIVED' ||\n this.quotePaymentStatus === 'CONFIRMED'\n ) {\n this.fetchQuotes(this.$route?.params?.id)\n this.setShowQuoteMessageSuccess(true)\n this.ceaseInterval()\n }\n },\n\n ceaseInterval() {\n clearInterval(this._interval)\n this._interval = null\n },\n },\n\n data() {\n return {\n _interval: null,\n }\n },\n\n mounted() {\n Promise.resolve(this.startRefreshInterval())\n },\n}\n</script>\n","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/vuetify-loader/lib/loader.js??ref--18-0!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuotePaymentPixSuccess.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/vuetify-loader/lib/loader.js??ref--18-0!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuotePaymentPixSuccess.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./QuotePaymentPixSuccess.vue?vue&type=template&id=9d3f777c&\"\nimport script from \"./QuotePaymentPixSuccess.vue?vue&type=script&lang=js&\"\nexport * from \"./QuotePaymentPixSuccess.vue?vue&type=script&lang=js&\"\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 null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VChip } from 'vuetify/lib/components/VChip';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\ninstallComponents(component, {VChip,VDivider,VProgressCircular,VTextarea})\n","<template>\n <div>\n <div v-if=\"!successData && !pixCodeAndQRCode\">\n <QuotePaymentHeader paymentType=\"pix\" />\n\n <v-form ref=\"form\" lazy-validation>\n <v-row>\n <v-col>\n <v-text-field\n v-model=\"name\"\n :rules=\"[rules.required]\"\n :label=\"$t('forms.completeName')\"\n hide-details=\"auto\"\n outlined\n />\n </v-col>\n </v-row>\n\n <v-row>\n <v-col>\n <v-text-field\n v-model=\"document\"\n v-mask=\"\n document.length <= 14 ? mask.cpfCnpj.cpf : mask.cpfCnpj.cnpj\n \"\n :rules=\"[rules.documentCheck]\"\n :label=\"$t('forms.cpfCnpj')\"\n hide-details=\"auto\"\n outlined\n />\n </v-col>\n </v-row>\n\n <QuotePaymentActions @submit=\"validate\" />\n </v-form>\n </div>\n\n <QuotePaymentPixSuccess\n v-if=\"successData || pixCodeAndQRCode\"\n :pixCodeAndQRCode=\"pixCodeAndQRCode\"\n :successData=\"successData\"\n />\n </div>\n</template>\n\n<script>\nimport QuotePaymentHeader from './QuotePaymentHeader'\nimport QuotePaymentActions from './QuotePaymentActions'\nimport QuotePaymentPixSuccess from './QuotePaymentPixSuccess'\n\nimport { mapGetters, mapActions } from 'vuex'\nimport { cpfCnpj, phone } from '@/util/masks'\nimport { email, required, documentCheck } from '@/util/errorHandling'\n\nexport default {\n name: 'QuotePaymentPix',\n\n components: {\n QuotePaymentHeader,\n QuotePaymentActions,\n QuotePaymentPixSuccess,\n },\n\n computed: {\n ...mapGetters(['quotes', 'successData']),\n\n charge() {\n return this.quotes.charge\n },\n\n pixCodeAndQRCode() {\n if (!this.charge) return false\n if (this.charge?.installments[0]?.payment_method !== 'ASAAS_PIX') return false\n return this.charge\n }\n },\n\n methods: {\n ...mapActions(['doQuotePayment']),\n\n validate() {\n if (this.$refs.form.validate()) {\n const document = this.document.replace(/[^0-9]+/g, '')\n\n const paymentData = {\n payer_name: this.name,\n payer_document: document,\n quote_id: this.quotes.id,\n installment_amount: 1,\n method: 'ASAAS_PIX',\n }\n\n this.doQuotePayment(paymentData)\n }\n },\n\n checkChargeStatus() {\n const status = this.quoteItems?.charge?.installments[0]?.status\n\n status === 'RECEIVED' || status === 'CONFIRMED'\n ? (this.isQuoteAlreadyPaid = true)\n : (this.isQuoteAlreadyPaid = false)\n\n status === 'PENDING'\n ? (this.isQuotePending = true)\n : (this.isQuotePending = false)\n },\n },\n\n data() {\n return {\n name: '',\n email: '',\n document: '',\n\n rules: {\n email,\n required,\n documentCheck,\n\n min: (val) => (!!val && val.length >= 7) || this.$t('rules.required'),\n name: (val) => (!!val && val.length >= 6) || this.$t('rules.required'),\n number: (val) => (!!val && val.length >= 19) || this.$t('rules.required'),\n expiry: (val) => (!!val && val.length >= 7) || this.$t('rules.required'),\n ccv: (val) => (!!val && val.length >= 2) || this.$t('rules.required'),\n },\n\n mask: { cpfCnpj, phone },\n }\n },\n}\n</script>\n","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/vuetify-loader/lib/loader.js??ref--18-0!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuotePaymentPix.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/vuetify-loader/lib/loader.js??ref--18-0!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuotePaymentPix.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./QuotePaymentPix.vue?vue&type=template&id=115d4a8a&\"\nimport script from \"./QuotePaymentPix.vue?vue&type=script&lang=js&\"\nexport * from \"./QuotePaymentPix.vue?vue&type=script&lang=js&\"\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 null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VCol,VForm,VRow,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.isChargePending)?_c('div',[_c('QuotePaymentHeader',{attrs:{\"paymentType\":\"creditCard\"}}),_c('v-form',{ref:\"form\",attrs:{\"lazy-validation\":\"\"}},[_c('h2',{staticClass:\"mt-8 grey--text\"},[_vm._v(\" \"+_vm._s(_vm.$t('quote.label.cardInfo'))+\" \")]),_c('v-row',[_c('v-col',[_c('v-text-field',{attrs:{\"rules\":[_vm.rules.name],\"label\":_vm.$t('forms.nameAsCreditCard'),\"hide-details\":\"auto\",\"type\":\"text\",\"outlined\":\"\"},model:{value:(_vm.credit_card.info.holder_name),callback:function ($$v) {_vm.$set(_vm.credit_card.info, \"holder_name\", $$v)},expression:\"credit_card.info.holder_name\"}})],1)],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"12\"}},[_c('v-text-field',{directives:[{name:\"mask\",rawName:\"v-mask\",value:('#### #### #### ####'),expression:\"'#### #### #### ####'\"}],attrs:{\"rules\":[_vm.rules.number],\"label\":_vm.$t('forms.creditCardNumber'),\"type\":\"tel\",\"hide-details\":\"auto\",\"outlined\":\"\"},model:{value:(_vm.credit_card.info.number),callback:function ($$v) {_vm.$set(_vm.credit_card.info, \"number\", $$v)},expression:\"credit_card.info.number\"}})],1),_c('v-col',{attrs:{\"cols\":\"12\",\"md\":_vm.version == 2 ? '4' : '6'}},[_c('v-text-field',{directives:[{name:\"mask\",rawName:\"v-mask\",value:('##/####'),expression:\"'##/####'\"}],attrs:{\"error\":_vm.expiryMonthError,\"rules\":[\n _vm.rules.required,\n _vm.rules.expiredMonthValidation,\n _vm.rules.expiredYearValidation ],\"label\":_vm.$t('forms.cardDate'),\"hint\":_vm.$t('onboarding.card.dueDateHint'),\"type\":\"tel\",\"hide-details\":\"auto\",\"outlined\":\"\"},model:{value:(_vm.expire),callback:function ($$v) {_vm.expire=$$v},expression:\"expire\"}})],1),_c('v-col',{attrs:{\"cols\":\"6\",\"md\":_vm.version == 2 ? '4' : '3'}},[_c('v-text-field',{directives:[{name:\"mask\",rawName:\"v-mask\",value:('####'),expression:\"'####'\"}],attrs:{\"rules\":[_vm.rules.ccv],\"label\":_vm.$t('forms.cardCvv'),\"type\":\"tel\",\"hide-details\":\"auto\",\"hint\":\"Ex.: 123\",\"outlined\":\"\"},model:{value:(_vm.credit_card.info.ccv),callback:function ($$v) {_vm.$set(_vm.credit_card.info, \"ccv\", $$v)},expression:\"credit_card.info.ccv\"}})],1),_c('v-col',{attrs:{\"cols\":\"6\",\"md\":_vm.version == 2 ? '4' : '3'}},[(_vm.version != 2)?_c('v-select',{attrs:{\"label\":_vm.$t('quote.label.instalmentNumber'),\"items\":_vm.installmentNumbers,\"rules\":[_vm.rules.required],\"hide-details\":\"auto\",\"outlined\":\"\"},model:{value:(_vm.installment_amount),callback:function ($$v) {_vm.installment_amount=$$v},expression:\"installment_amount\"}}):_c('v-select',{attrs:{\"label\":_vm.$t('quote.label.instalmentNumber'),\"items\":_vm.installmentNumbers,\"rules\":[_vm.rules.required],\"hide-details\":\"auto\",\"outlined\":\"\"},scopedSlots:_vm._u([{key:\"selection\",fn:function(data){return [_c('span',{staticClass:\"font-weight-bold body-2\"},[_vm._v(\" \"+_vm._s(data.item.installment_amount)+\"x \")]),_c('v-spacer',{staticClass:\"mr-1\"}),_c('span',{staticClass:\"body-2\"},[_vm._v(\" \"+_vm._s(_vm.formatMoney(data.item.installment_value))+\" \")])]}},{key:\"item\",fn:function(data){return [_c('span',{staticClass:\"font-weight-bold body-2\"},[_vm._v(\" \"+_vm._s(data.item.installment_amount)+\"x \")]),_c('v-spacer',{staticClass:\"mr-1\"}),_c('span',{staticClass:\"body-2\"},[_vm._v(\" \"+_vm._s(_vm.formatMoney(data.item.installment_value))+\" \")]),_c('v-spacer',{staticClass:\"mr-1\"}),_c('span',{staticClass:\"grey--text body-2\"},[_vm._v(\" \"+_vm._s(_vm.formatMoney(data.item.total_value))+\" \")])]}}],null,false,1097239307),model:{value:(_vm.installment_amount),callback:function ($$v) {_vm.installment_amount=$$v},expression:\"installment_amount\"}})],1)],1),_c('h2',{staticClass:\"mt-8 grey--text\"},[_vm._v(\" \"+_vm._s(_vm.$t('quote.label.personalInfo'))+\" \")]),_c('v-row',[_c('v-col',[_c('v-text-field',{attrs:{\"rules\":[_vm.rules.required],\"label\":_vm.$t('forms.completeName'),\"hide-details\":\"auto\",\"outlined\":\"\"},model:{value:(_vm.credit_card.holder.name),callback:function ($$v) {_vm.$set(_vm.credit_card.holder, \"name\", $$v)},expression:\"credit_card.holder.name\"}})],1)],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"7\"}},[_c('v-text-field',{attrs:{\"rules\":[_vm.rules.email],\"label\":_vm.$t('forms.email'),\"hide-details\":\"auto\",\"outlined\":\"\"},model:{value:(_vm.credit_card.holder.email),callback:function ($$v) {_vm.$set(_vm.credit_card.holder, \"email\", $$v)},expression:\"credit_card.holder.email\"}})],1),_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"5\"}},[_c('v-text-field',{directives:[{name:\"mask\",rawName:\"v-mask\",value:(\n _vm.credit_card.holder.cpf_cnpj.length <= 14\n ? _vm.mask.cpfCnpj.cpf\n : _vm.mask.cpfCnpj.cnpj\n ),expression:\"\\n credit_card.holder.cpf_cnpj.length <= 14\\n ? mask.cpfCnpj.cpf\\n : mask.cpfCnpj.cnpj\\n \"}],attrs:{\"rules\":[_vm.rules.documentCheck],\"label\":_vm.$t('forms.cpfCnpj'),\"hide-details\":\"auto\",\"outlined\":\"\"},model:{value:(_vm.credit_card.holder.cpf_cnpj),callback:function ($$v) {_vm.$set(_vm.credit_card.holder, \"cpf_cnpj\", $$v)},expression:\"credit_card.holder.cpf_cnpj\"}})],1)],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"4\"}},[_c('v-text-field',{directives:[{name:\"mask\",rawName:\"v-mask\",value:(\n _vm.credit_card.holder.phone.length >= 15\n ? _vm.mask.phone.phone9\n : _vm.mask.phone.phone8\n ),expression:\"\\n credit_card.holder.phone.length >= 15\\n ? mask.phone.phone9\\n : mask.phone.phone8\\n \"}],attrs:{\"rules\":[_vm.rules.phoneValidation],\"label\":_vm.$t('forms.phone'),\"hide-details\":\"auto\",\"outlined\":\"\"},model:{value:(_vm.credit_card.holder.phone),callback:function ($$v) {_vm.$set(_vm.credit_card.holder, \"phone\", $$v)},expression:\"credit_card.holder.phone\"}})],1),_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"8\"}},[_c('v-text-field',{attrs:{\"label\":_vm.$t('appointment.formCreate.labels.address'),\"rules\":[_vm.rules.required],\"hide-details\":\"auto\",\"outlined\":\"\"},model:{value:(_vm.address),callback:function ($$v) {_vm.address=$$v},expression:\"address\"}})],1)],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"6\"}},[_c('v-text-field',{attrs:{\"label\":_vm.$t('appointment.formCreate.labels.streetNumber'),\"rules\":[_vm.rules.required],\"hide-details\":\"auto\",\"outlined\":\"\"},model:{value:(_vm.credit_card.holder.address_number),callback:function ($$v) {_vm.$set(_vm.credit_card.holder, \"address_number\", $$v)},expression:\"credit_card.holder.address_number\"}})],1),_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"6\"}},[_c('v-text-field',{directives:[{name:\"mask\",rawName:\"v-mask\",value:('#####-###'),expression:\"'#####-###'\"}],attrs:{\"label\":_vm.$t('appointment.formCreate.labels.postalCode'),\"rules\":[_vm.rules.required],\"hide-details\":\"auto\",\"outlined\":\"\"},model:{value:(_vm.credit_card.holder.postal_code),callback:function ($$v) {_vm.$set(_vm.credit_card.holder, \"postal_code\", $$v)},expression:\"credit_card.holder.postal_code\"}})],1)],1),_c('QuotePaymentActions',{on:{\"submit\":_vm.validate}})],1)],1):_c('QuotePaymentCreditCardSuccess',{ref:\"creditCardSuccess\",attrs:{\"successData\":_vm.successData}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('HSuccess'),_c('h2',{staticClass:\"text-center mw-300 mx-auto mb-10 green--text\"},[_vm._v(\" \"+_vm._s(_vm.$t('quote.hint.paymentSuccess'))+\" \")])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <HSuccess />\n\n <h2 class=\"text-center mw-300 mx-auto mb-10 green--text\">\n {{ $t('quote.hint.paymentSuccess') }}\n </h2>\n </div>\n</template>\n\n<script>\nimport HSuccess from '@/components/app/HSuccess'\n\nexport default {\n name: 'QuotePaymentCreditCardSuccess',\n\n components: {\n HSuccess,\n },\n\n props: {\n successData: {\n type: Object,\n },\n },\n}\n</script>\n","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/vuetify-loader/lib/loader.js??ref--18-0!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuotePaymentCreditCardSuccess.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/vuetify-loader/lib/loader.js??ref--18-0!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuotePaymentCreditCardSuccess.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./QuotePaymentCreditCardSuccess.vue?vue&type=template&id=4bc49607&\"\nimport script from \"./QuotePaymentCreditCardSuccess.vue?vue&type=script&lang=js&\"\nexport * from \"./QuotePaymentCreditCardSuccess.vue?vue&type=script&lang=js&\"\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 null,\n null\n \n)\n\nexport default component.exports","<template>\n <div>\n <div v-if=\"isChargePending\">\n <QuotePaymentHeader paymentType=\"creditCard\" />\n\n <v-form ref=\"form\" lazy-validation>\n <h2 class=\"mt-8 grey--text\">\n {{ $t('quote.label.cardInfo') }}\n </h2>\n\n <v-row>\n <v-col>\n <v-text-field\n v-model=\"credit_card.info.holder_name\"\n :rules=\"[rules.name]\"\n :label=\"$t('forms.nameAsCreditCard')\"\n hide-details=\"auto\"\n type=\"text\"\n outlined\n />\n </v-col>\n </v-row>\n\n <v-row>\n <v-col cols=\"12\" md=\"12\">\n <v-text-field\n v-model=\"credit_card.info.number\"\n :rules=\"[rules.number]\"\n :label=\"$t('forms.creditCardNumber')\"\n v-mask=\"'#### #### #### ####'\"\n type=\"tel\"\n hide-details=\"auto\"\n outlined\n />\n </v-col>\n <v-col cols=\"12\" :md=\"version == 2 ? '4' : '6'\">\n <v-text-field\n v-model=\"expire\"\n v-mask=\"'##/####'\"\n :error=\"expiryMonthError\"\n :rules=\"[\n rules.required,\n rules.expiredMonthValidation,\n rules.expiredYearValidation,\n ]\"\n :label=\"$t('forms.cardDate')\"\n :hint=\"$t('onboarding.card.dueDateHint')\"\n type=\"tel\"\n hide-details=\"auto\"\n outlined\n />\n </v-col>\n <v-col cols=\"6\" :md=\"version == 2 ? '4' : '3'\">\n <v-text-field\n v-model=\"credit_card.info.ccv\"\n :rules=\"[rules.ccv]\"\n :label=\"$t('forms.cardCvv')\"\n v-mask=\"'####'\"\n type=\"tel\"\n hide-details=\"auto\"\n hint=\"Ex.: 123\"\n outlined\n />\n </v-col>\n <v-col cols=\"6\" :md=\"version == 2 ? '4' : '3'\">\n <v-select\n v-if=\"version != 2\"\n v-model=\"installment_amount\"\n :label=\"$t('quote.label.instalmentNumber')\"\n :items=\"installmentNumbers\"\n :rules=\"[rules.required]\"\n hide-details=\"auto\"\n outlined\n />\n <v-select\n v-else\n v-model=\"installment_amount\"\n :label=\"$t('quote.label.instalmentNumber')\"\n :items=\"installmentNumbers\"\n :rules=\"[rules.required]\"\n hide-details=\"auto\"\n outlined\n >\n <template slot=\"selection\" slot-scope=\"data\">\n <span class=\"font-weight-bold body-2\">\n {{ data.item.installment_amount }}x\n </span>\n <v-spacer class=\"mr-1\" />\n <span class=\"body-2\">\n {{ formatMoney(data.item.installment_value) }}\n </span>\n </template>\n <template slot=\"item\" slot-scope=\"data\">\n <span class=\"font-weight-bold body-2\">\n {{ data.item.installment_amount }}x\n </span>\n <v-spacer class=\"mr-1\" />\n <span class=\"body-2\">\n {{ formatMoney(data.item.installment_value) }}\n </span>\n <v-spacer class=\"mr-1\" />\n <span class=\"grey--text body-2\">\n {{ formatMoney(data.item.total_value) }}\n </span>\n </template>\n </v-select>\n </v-col>\n </v-row>\n\n <h2 class=\"mt-8 grey--text\">\n {{ $t('quote.label.personalInfo') }}\n </h2>\n\n <v-row>\n <v-col>\n <v-text-field\n v-model=\"credit_card.holder.name\"\n :rules=\"[rules.required]\"\n :label=\"$t('forms.completeName')\"\n hide-details=\"auto\"\n outlined\n />\n </v-col>\n </v-row>\n\n <v-row>\n <v-col cols=\"12\" md=\"7\">\n <v-text-field\n v-model=\"credit_card.holder.email\"\n :rules=\"[rules.email]\"\n :label=\"$t('forms.email')\"\n hide-details=\"auto\"\n outlined\n />\n </v-col>\n <v-col cols=\"12\" md=\"5\">\n <v-text-field\n v-model=\"credit_card.holder.cpf_cnpj\"\n v-mask=\"\n credit_card.holder.cpf_cnpj.length <= 14\n ? mask.cpfCnpj.cpf\n : mask.cpfCnpj.cnpj\n \"\n :rules=\"[rules.documentCheck]\"\n :label=\"$t('forms.cpfCnpj')\"\n hide-details=\"auto\"\n outlined\n />\n </v-col>\n </v-row>\n\n <v-row>\n <v-col cols=\"12\" md=\"4\">\n <v-text-field\n v-model=\"credit_card.holder.phone\"\n v-mask=\"\n credit_card.holder.phone.length >= 15\n ? mask.phone.phone9\n : mask.phone.phone8\n \"\n :rules=\"[rules.phoneValidation]\"\n :label=\"$t('forms.phone')\"\n hide-details=\"auto\"\n outlined\n />\n </v-col>\n <v-col cols=\"12\" md=\"8\">\n <v-text-field\n v-model=\"address\"\n :label=\"$t('appointment.formCreate.labels.address')\"\n :rules=\"[rules.required]\"\n hide-details=\"auto\"\n outlined\n />\n </v-col>\n </v-row>\n\n <v-row>\n <v-col cols=\"12\" md=\"6\">\n <v-text-field\n v-model=\"credit_card.holder.address_number\"\n :label=\"$t('appointment.formCreate.labels.streetNumber')\"\n :rules=\"[rules.required]\"\n hide-details=\"auto\"\n outlined\n />\n </v-col>\n <v-col cols=\"12\" md=\"6\">\n <v-text-field\n v-model=\"credit_card.holder.postal_code\"\n v-mask=\"'#####-###'\"\n :label=\"$t('appointment.formCreate.labels.postalCode')\"\n :rules=\"[rules.required]\"\n hide-details=\"auto\"\n outlined\n />\n </v-col>\n </v-row>\n\n <QuotePaymentActions @submit=\"validate\" />\n </v-form>\n </div>\n\n <QuotePaymentCreditCardSuccess\n v-else\n :successData=\"successData\"\n ref=\"creditCardSuccess\"\n />\n </div>\n</template>\n\n<script>\nimport QuotePaymentHeader from './QuotePaymentHeader'\nimport QuotePaymentActions from './QuotePaymentActions'\nimport QuotePaymentCreditCardSuccess from './QuotePaymentCreditCardSuccess'\n\nimport {\n name,\n email,\n required,\n documentCheck,\n expiredMonthValidation,\n expiredYearValidation,\n phone as phoneValidation,\n} from '@/util/errorHandling'\nimport { catalogMonetary } from '@/util/catalog'\nimport { cpfCnpj, phone } from '@/util/masks'\nimport { mapGetters, mapActions, install } from 'vuex'\n\nexport default {\n name: 'QuotePaymentCreditCard',\n\n components: {\n QuotePaymentHeader,\n QuotePaymentActions,\n QuotePaymentCreditCardSuccess,\n },\n\n computed: {\n ...mapGetters(['quotes', 'quoteItems', 'successData']),\n\n hasCharge() {\n return this.quotes.charge\n },\n\n status() {\n if (!this.hasCharge) return\n return this.quotes.charge.installments[0].status\n },\n\n isChargePending() {\n if (!this.successData) return true\n return this.successData?.installments[0]?.status === 'PENDING'\n },\n\n version() {\n return this.quoteItems.version\n },\n },\n\n methods: {\n ...mapActions(['doQuotePayment']),\n\n validate() {\n if (this.$refs.form.validate()) {\n const document = this.credit_card.holder.cpf_cnpj.replace(\n /[^0-9]+/g,\n ''\n )\n const cardNumber = this.credit_card.info.number.replace(/[^0-9]+/g, '')\n const expireMonth = this.expire.split('/')[0]\n const expireYear = this.expire.split('/')[1]\n\n const paymentData = {\n payer_name: this.credit_card.holder.name,\n payer_document: document,\n quote_id: this.quotes.id,\n installment_amount: this.installmentAmount(),\n method: 'ASAAS_CREDIT_CARD',\n credit_card: {\n info: {\n holder_name: this.credit_card.info.holder_name,\n number: cardNumber,\n expiry_month: expireMonth,\n expiry_year: expireYear,\n ccv: this.credit_card.info.ccv,\n },\n holder: {\n name: this.credit_card.holder.name,\n email: this.credit_card.holder.email,\n cpf_cnpj: document,\n postal_code: this.credit_card.holder.postal_code,\n phone: this.credit_card.holder.phone,\n address_number: this.credit_card.holder.address_number,\n },\n },\n }\n\n this.doQuotePayment(paymentData)\n }\n },\n\n generateInstallment() {\n for (let i = 1; i <= 10; i++) {\n if (Math.floor(this.quotes.total_by_installments / i) > 5) {\n this.installmentNumbers.push(i);\n }\n }\n\n if (this.installmentNumbers.length === 0) this.installmentNumbers.push(1);\n },\n\n cardInstallments() {\n const installments = this.quoteItems.payment_options\n const cardInstallments = installments.filter((installment) => installment.payment_method === 'ASAAS_CREDIT_CARD')\n this.installmentNumbers = cardInstallments\n },\n\n installmentAmount() {\n return this.version == 2 ? this.installment_amount.installment_amount : this.installment_amount\n },\n },\n\n data() {\n return {\n formatMoney: catalogMonetary,\n installmentNumbers: [],\n\n expiryMonthError: false,\n expiryYearError: false,\n installment_amount: 1,\n expire: '',\n\n address: '',\n\n credit_card: {\n info: {\n holder_name: null,\n number: null,\n expiry_month: null,\n expiry_year: null,\n ccv: null,\n },\n\n holder: {\n name: '',\n email: '',\n phone: '',\n cpf_cnpj: '',\n postal_code: '',\n address_number: '',\n },\n },\n\n rules: {\n name,\n email,\n required,\n documentCheck,\n expiredMonthValidation,\n expiredYearValidation,\n phoneValidation,\n\n min: (val) => (!!val && val.length >= 7) || 'Obrigatório',\n number: (val) => (!!val && val.length >= 19) || this.$t('rules.required'),\n expiry: (val) => (!!val && val.length >= 7) || this.$t('rules.required'),\n ccv: (val) => (!!val && val.length >= 2) || this.$t('rules.required'),\n },\n\n mask: { cpfCnpj, phone },\n }\n },\n\n mounted() {\n if (this.version != 2) this.generateInstallment()\n else this.cardInstallments()\n },\n}\n</script>\n","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/vuetify-loader/lib/loader.js??ref--18-0!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuotePaymentCreditCard.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/vuetify-loader/lib/loader.js??ref--18-0!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuotePaymentCreditCard.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./QuotePaymentCreditCard.vue?vue&type=template&id=0ad2a4e8&\"\nimport script from \"./QuotePaymentCreditCard.vue?vue&type=script&lang=js&\"\nexport * from \"./QuotePaymentCreditCard.vue?vue&type=script&lang=js&\"\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 null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VCol,VForm,VRow,VSelect,VSpacer,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.successData)?_c('QuotePaymentHeader',{attrs:{\"paymentType\":\"fci\"}}):_vm._e(),(!_vm.successData)?_c('v-form',{ref:\"form\",attrs:{\"lazy-validation\":\"\"}},[_c('v-row',[_c('v-col',[_c('v-text-field',{attrs:{\"rules\":[_vm.rules.required],\"label\":_vm.$t('forms.completeName'),\"hide-details\":\"auto\",\"outlined\":\"\"},model:{value:(_vm.name),callback:function ($$v) {_vm.name=$$v},expression:\"name\"}})],1)],1),_c('v-row',[_c('v-col',[_c('v-text-field',{directives:[{name:\"mask\",rawName:\"v-mask\",value:(\n _vm.document.length <= 14 ? _vm.mask.cpfCnpj.cpf : _vm.mask.cpfCnpj.cnpj\n ),expression:\"\\n document.length <= 14 ? mask.cpfCnpj.cpf : mask.cpfCnpj.cnpj\\n \"}],attrs:{\"rules\":[_vm.rules.documentCheck],\"label\":_vm.$t('forms.document'),\"hide-details\":\"auto\",\"outlined\":\"\"},model:{value:(_vm.document),callback:function ($$v) {_vm.document=$$v},expression:\"document\"}})],1)],1),_c('QuotePaymentActions',{on:{\"submit\":_vm.validate}})],1):_c('QuotePaymentFciSuccess',{attrs:{\"successData\":_vm.successData}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('HSuccess'),_c('h2',{staticClass:\"text-center mw-300 mx-auto mb-10 green--text\"},[_vm._v(\" \"+_vm._s(_vm.$t('quote.hint.paymentSuccess'))+\" \")])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <HSuccess />\n\n <h2 class=\"text-center mw-300 mx-auto mb-10 green--text\">\n {{ $t('quote.hint.paymentSuccess') }}\n </h2>\n </div>\n</template>\n\n<script>\nimport HSuccess from '@/components/app/HSuccess'\n\nexport default {\n name: 'QuotePaymentFciSuccess',\n\n components: {\n HSuccess,\n },\n\n props: {\n successData: {\n type: Object,\n },\n },\n}\n</script>\n","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/vuetify-loader/lib/loader.js??ref--18-0!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuotePaymentFciSuccess.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/vuetify-loader/lib/loader.js??ref--18-0!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuotePaymentFciSuccess.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./QuotePaymentFciSuccess.vue?vue&type=template&id=7cef93fa&\"\nimport script from \"./QuotePaymentFciSuccess.vue?vue&type=script&lang=js&\"\nexport * from \"./QuotePaymentFciSuccess.vue?vue&type=script&lang=js&\"\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 null,\n null\n \n)\n\nexport default component.exports","<template>\n <div>\n <QuotePaymentHeader v-if=\"!successData\" paymentType=\"fci\" />\n\n <v-form v-if=\"!successData\" ref=\"form\" lazy-validation>\n <v-row>\n <v-col>\n <v-text-field\n v-model=\"name\"\n :rules=\"[rules.required]\"\n :label=\"$t('forms.completeName')\"\n hide-details=\"auto\"\n outlined\n />\n </v-col>\n </v-row>\n\n <v-row>\n <v-col>\n <v-text-field\n v-model=\"document\"\n v-mask=\"\n document.length <= 14 ? mask.cpfCnpj.cpf : mask.cpfCnpj.cnpj\n \"\n :rules=\"[rules.documentCheck]\"\n :label=\"$t('forms.document')\"\n hide-details=\"auto\"\n outlined\n />\n </v-col>\n </v-row>\n\n <QuotePaymentActions @submit=\"validate\" />\n </v-form>\n\n <QuotePaymentFciSuccess v-else :successData=\"successData\" />\n </div>\n</template>\n\n<script>\nimport QuotePaymentHeader from './QuotePaymentHeader'\nimport QuotePaymentActions from './QuotePaymentActions'\nimport QuotePaymentFciSuccess from './QuotePaymentFciSuccess'\n\nimport { mapGetters, mapActions, mapMutations } from 'vuex'\nimport { cpfCnpj, phone } from '@/util/masks'\nimport { email, required, documentCheck } from '@/util/errorHandling'\n\nexport default {\n name: 'QuotePaymentFci',\n\n components: {\n QuotePaymentHeader,\n QuotePaymentActions,\n QuotePaymentFciSuccess,\n },\n\n data() {\n return {\n name: '',\n email: '',\n document: '',\n\n rules: {\n email,\n required,\n documentCheck,\n\n min: (val) => (!!val && val.length >= 7) || this.$t('rules.required'),\n name: (val) => (!!val && val.length >= 6) || this.$t('rules.required'),\n number: (val) =>\n (!!val && val.length >= 19) || this.$t('rules.required'),\n expiry: (val) =>\n (!!val && val.length >= 7) || this.$t('rules.required'),\n ccv: (val) => (!!val && val.length >= 2) || this.$t('rules.required'),\n },\n\n mask: { cpfCnpj, phone },\n }\n },\n\n computed: {\n ...mapGetters(['quotes', 'successData']),\n },\n\n methods: {\n ...mapActions(['doQuotePayment', 'fetchQuoteItems']),\n ...mapMutations(['closeAllModals']),\n\n validate() {\n if (this.$refs.form.validate()) {\n const document = this.document.replace(/[^0-9]+/g, '')\n\n const paymentData = {\n payer_name: this.name,\n payer_document: document,\n quote_id: this.quotes.id,\n installment_amount: 1,\n method: 'VALUELESS',\n }\n\n this.doQuotePayment(paymentData)\n }\n },\n },\n}\n</script>\n","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/vuetify-loader/lib/loader.js??ref--18-0!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuotePaymentFci.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/vuetify-loader/lib/loader.js??ref--18-0!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuotePaymentFci.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./QuotePaymentFci.vue?vue&type=template&id=cc5fe1ec&\"\nimport script from \"./QuotePaymentFci.vue?vue&type=script&lang=js&\"\nexport * from \"./QuotePaymentFci.vue?vue&type=script&lang=js&\"\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 null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VCol,VForm,VRow,VTextField})\n","<template>\n <Modal name=\"QUOTE_PAYMENT_MODAL\" :title=\"title\" :width=\"580\">\n <template slot=\"body\">\n <div class=\"recharge__wrapper\" v-if=\"quotePaymentType === null && !payWithFci\">\n <div\n class=\"recharge__item\"\n @click=\"setQuotePaymentType('ASAAS_CREDIT_CARD')\"\n >\n <v-icon>\n mdi-credit-card-outline\n </v-icon>\n <h2 class=\"mt-3\">\n <span class=\"d-block caption\">\n {{ $t('quote.modal.payWith') }}\n </span>\n <span class=\"font-weight-bold\">\n {{ $t('quote.modal.creditCard') }}\n </span>\n </h2>\n <div class=\"mw-200 mx-auto\">\n <v-divider class=\"my-3 grey lighten-3\" />\n <h6 class=\"d-block body-2 grey--text\">\n {{ $t('recharge.paymentInfo.credit') }}\n </h6>\n </div>\n </div>\n <div class=\"recharge__item\" @click=\"setQuotePaymentType('ASAAS_PIX')\">\n <PixIcon width=\"50\" height=\"57\" opacity=\"0.1\" />\n <h2 class=\"mt-3\">\n <span class=\"d-block caption\">\n {{ $t('quote.modal.payWith') }}\n </span>\n <span class=\"font-weight-bold\">\n {{ $t('quote.modal.pix') }}\n </span>\n </h2>\n <div class=\"mw-200 mx-auto\">\n <v-divider class=\"my-3 grey lighten-3\" />\n <h6 class=\"d-block body-2 grey--text\">\n {{ $t('recharge.paymentInfo.pix') }}\n </h6>\n </div>\n </div>\n </div>\n\n <QuotePaymentPix v-if=\"quotePaymentType === 'ASAAS_PIX'\" />\n <QuotePaymentCreditCard v-if=\"quotePaymentType === 'ASAAS_CREDIT_CARD'\" />\n <QuotePaymentFci v-if=\"payWithFci\" />\n </template>\n </Modal>\n</template>\n\n<script>\nimport Modal from '@/components/app/Modal'\nimport PixIcon from '@/components/icons/Pix'\nimport QuotePaymentPix from './QuotePaymentPix'\nimport QuotePaymentCreditCard from './QuotePaymentCreditCard'\nimport QuotePaymentFci from './QuotePaymentFci'\n\nimport { mapGetters, mapMutations } from 'vuex'\n\nexport default {\n name: 'QuotePaymentModal',\n\n components: {\n Modal,\n PixIcon,\n QuotePaymentPix,\n QuotePaymentCreditCard,\n QuotePaymentFci,\n },\n\n computed: {\n ...mapGetters(['quotePaymentType', 'payWithFci', 'quoteItems']),\n\n title() {\n if (this.payWithFci) return this.$t('quote.modal.payWithFciTitle')\n else return this.quotePaymentType\n ? this.$t('quote.modal.paymentSelected')\n : this.$t('quote.modal.paymentSelectTitle')\n },\n },\n\n methods: {\n ...mapMutations(['setQuotePaymentType']),\n },\n}\n</script>\n","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/vuetify-loader/lib/loader.js??ref--18-0!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuotePaymentModal.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/vuetify-loader/lib/loader.js??ref--18-0!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuotePaymentModal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./QuotePaymentModal.vue?vue&type=template&id=62f5662d&\"\nimport script from \"./QuotePaymentModal.vue?vue&type=script&lang=js&\"\nexport * from \"./QuotePaymentModal.vue?vue&type=script&lang=js&\"\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 null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\ninstallComponents(component, {VDivider,VIcon})\n","<template>\n <div class=\"mw-1000 mx-auto py-6 px-8\">\n <h-loading v-if=\"isLoading\" />\n\n <div v-else>\n <QuoteHeader\n :vendor=\"vendor\"\n :quoteWasNotFound=\"quoteWasNotFound\"\n :version=\"version\"\n />\n\n <QuoteMessages\n :isOverdue=\"isOverdue\"\n :isQuotePending=\"isQuotePending\"\n :isQuoteAlreadyPaid=\"isQuoteAlreadyPaid\"\n :quoteWasNotFound=\"quoteWasNotFound\"\n :paymentMethod=\"paymentMethod\"\n />\n\n <!-- TABLE QUOTE ITEMS -->\n <div v-if=\"!quoteWasNotFound\">\n <p>\n {{\n $t('quote.hint.addressAndCode', {\n address: quoteItems && quoteItems.realty_address,\n code: quoteItems && quoteItems.realty_code,\n })\n }}\n </p>\n\n <p>\n {{ $t('quote.hint.afterPaymentGetInTouch') }}\n </p>\n\n <v-spacer class=\"my-10\" />\n\n <QuotePaymentList\n :version=\"version\"\n :quoteItemsList=\"quoteItemsList\"\n />\n\n <v-divider />\n\n <QuotePrices\n v-if=\"version != 2\"\n :quotes=\"quotes\"\n :quoteItems=\"quoteItems\"\n :isQuoteAlreadyPaid=\"isQuoteAlreadyPaid\"\n />\n\n <QuotePricesV2\n v-else\n :quotes=\"quotes\"\n :quoteItems=\"quoteItems\"\n :isQuoteAlreadyPaid=\"isQuoteAlreadyPaid\"\n />\n\n <v-spacer class=\"d-print-none mt-5\" />\n\n <!-- button pay -->\n <div\n v-if=\"!isQuotePaid && !isQuoteAlreadyPaid && !isOverdue\"\n :class=\"breakPointChange\"\n class=\"ml-auto text-right d-print-none\"\n >\n <v-btn\n @click=\"selectPaymentMethod\"\n :loading=\"isLoading\"\n color=\"primary\"\n elevation=\"0\"\n block\n large\n >\n {{ buttonLabel }}\n </v-btn>\n </div>\n <!-- /button pay -->\n </div>\n <!-- /TABLE QUOTE ITEMS -->\n </div>\n\n <QuotePaymentModal />\n\n <img\n :src=\"poweredBy\"\n :alt=\"$t('quote.label.poweredByAlt')\"\n class=\"quote__logo--footer mb-8\"\n />\n </div>\n</template>\n\n<script>\nimport poweredBy from '@/assets/images/logo-powered-by.svg'\nimport { mapGetters, mapActions, mapMutations } from 'vuex'\n\nimport QuoteHeader from '@/views/quote/components/QuoteHeader'\nimport QuotePrices from '@/views/quote/components/QuotePrices'\nimport QuotePricesV2 from '@/views/quote/components/QuotePricesV2'\nimport QuoteMessages from '@/views/quote/components/QuoteMessages'\nimport QuotePaymentList from '@/views/quote/components/QuotePaymentList'\nimport QuotePaymentModal from '@/views/quote/components/QuotePaymentModal'\nimport QuotePricesTotal from './quote/components/QuotePricesTotal.vue'\n\nexport default {\n name: 'BudgetList',\n\n components: {\n QuoteHeader,\n QuotePrices,\n QuotePricesV2,\n QuoteMessages,\n QuotePaymentList,\n QuotePaymentModal,\n QuotePricesTotal\n},\n\n computed: {\n ...mapGetters([\n 'quotes',\n 'isLoading',\n 'quoteItems',\n 'payWithFci',\n 'quoteWasNotFound',\n 'quoteItemsList',\n 'isQuotePaid',\n ]),\n\n breakPointChange() {\n return !this.$vuetify.breakpoint.mobile && 'mw-400'\n },\n\n vendor() {\n return {\n logo: this.quotes?.price_table?.vendor?.logo?.url,\n name: this.quotes?.price_table?.vendor?.name,\n email: this.quotes?.price_table?.vendor?.email,\n phone: this.quotes?.price_table?.vendor?.customer_service_phone,\n document: this.quotes?.price_table?.vendor?.document,\n }\n },\n\n buttonLabel() {\n if (this.isQuotePending) return this.$t('quote.action.useAnotherMethod')\n if (this.payWithFci) return this.$t('quote.action.acceptQuote')\n return this.$t('quote.action.pay')\n },\n\n version() {\n return this.quoteItems?.version ?? 1\n },\n\n status() {\n if (!this.quoteItems?.charge) return\n return this.quoteItems?.charge?.installments[0]?.status\n },\n\n paymentMethod() {\n if (!this.quoteItems?.charge_summary) return\n return this.quoteItems?.charge_summary?.payment_method\n },\n },\n\n methods: {\n ...mapActions([\n 'fetchQuotes',\n 'openModal',\n ]),\n\n ...mapMutations([\n 'setSuccessData',\n 'setQuotePaymentType',\n 'setQuotePaymentStatus',\n 'setShowQuoteMessageSuccess',\n ]),\n\n selectPaymentMethod() {\n this.setQuotePaymentType(null)\n this.setQuotePaymentStatus(null)\n this.setShowQuoteMessageSuccess(false)\n this.openModal('QUOTE_PAYMENT_MODAL')\n },\n\n checkChargeStatus(status) {\n this.isQuoteAlreadyPaid = false\n this.isQuotePending = false\n this.isOverdue = false\n\n status === 'RECEIVED' || status === 'CONFIRMED'\n ? (this.isQuoteAlreadyPaid = true)\n : (this.isQuoteAlreadyPaid = false)\n\n status === 'PENDING'\n ? (this.isQuotePending = true)\n : (this.isQuotePending = false)\n\n status === 'OVERDUE'\n ? (this.isOverdue = true)\n : (this.isOverdue = false)\n },\n\n handleOpenModalWithPixPaymentSelected() {\n this.setQuotePaymentType('ASAAS_PIX')\n this.openModal('QUOTE_PAYMENT_MODAL')\n this.setQuotePaymentStatus('PENDING')\n this.setShowQuoteMessageSuccess(false)\n this.setSuccessData(this.quotes.charge)\n }\n },\n\n watch: {\n quoteItems() {\n this.$nextTick(() => this.checkChargeStatus(this.status))\n },\n },\n\n data() {\n return {\n poweredBy,\n\n isQuoteAlreadyPaid: false,\n isQuotePending: false,\n isOverdue: false,\n }\n },\n\n mounted() {\n const serviceReportId = this.$route?.params?.id\n serviceReportId && this.fetchQuotes(serviceReportId)\n },\n}\n</script>\n\n<style scoped>\n@media print {\n @page {\n margin: 0;\n }\n body {\n margin: 1.6cm;\n }\n}\n</style>\n","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/vuetify-loader/lib/loader.js??ref--18-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuoteList.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/vuetify-loader/lib/loader.js??ref--18-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuoteList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./QuoteList.vue?vue&type=template&id=21fbbfaa&scoped=true&\"\nimport script from \"./QuoteList.vue?vue&type=script&lang=js&\"\nexport * from \"./QuoteList.vue?vue&type=script&lang=js&\"\nimport style0 from \"./QuoteList.vue?vue&type=style&index=0&id=21fbbfaa&prod&scoped=true&lang=css&\"\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 \"21fbbfaa\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VBtn,VDivider,VSpacer})\n","module.exports = __webpack_public_path__ + \"img/logo-powered-by.b393eb39.svg\";"],"sourceRoot":""}