{"version":3,"sources":["webpack:///./src/views/p&v/Detail.vue?8ca4","webpack:///src/views/p&v/Detail.vue","webpack:///./src/views/p&v/Detail.vue?8862","webpack:///./src/views/p&v/Detail.vue","webpack:///./src/views/Fcm/ListAll.vue?559f","webpack:///./src/views/ResetUmail.vue?44a4","webpack:///./src/views/p&v/CRU.vue?3a8b","webpack:///./src/views/p&v/CRU.vue?cdfc","webpack:///src/views/p&v/CRU.vue","webpack:///./src/views/p&v/CRU.vue?520e","webpack:///./src/views/p&v/CRU.vue","webpack:///./src/views/p&v/ListAll.vue?ed73","webpack:///src/views/p&v/ListAll.vue","webpack:///./src/views/p&v/ListAll.vue?d8c1","webpack:///./src/views/p&v/ListAll.vue","webpack:///./src/views/Fcm/ListAll.vue?33b2","webpack:///src/views/Fcm/ListAll.vue","webpack:///./src/views/Fcm/ListAll.vue?550e","webpack:///./src/views/Fcm/ListAll.vue","webpack:///./src/views/p&v/Detail.vue?3ca4","webpack:///./src/views/ResetUmail.vue?6acf","webpack:///src/views/ResetUmail.vue","webpack:///./src/views/ResetUmail.vue?295b","webpack:///./src/views/ResetUmail.vue","webpack:///./src/views/p&v/List.vue?d49e","webpack:///src/views/p&v/List.vue","webpack:///./src/views/p&v/List.vue?a66b","webpack:///./src/views/p&v/List.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","model","value","callback","$$v","zoomPic","expression","picToBeZoomed","$t","modalShow","res","attachments","length","staticClass","_l","file","key","url","staticStyle","on","$event","zoomItem","extension","_v","_s","modalDocShow","document","option","text","id","nom","directives","name","rawName","modifiers","sendDocs","etat","config","pdf","emails_logs","_e","mailSign","smsSign","checkRecto","ref","recto","checkVerso","verso","others","physicalSign","edit","draft","staticRenderFns","FilePondPluginFileValidateType","FilePondPluginFileValidateSize","FilePondPluginImagePreview","components","PdfViewer","ToastificationContent","vueFilePond","FilePond","MailLog","Ripple","data","testData","event","event_date","event_type","contract_type","id_contract","reception_email","addRemoveLinks","autoProcessQueue","createImageThumbnails","duplicateCheck","disablePreviews","sidebar","secondaryToolbar","toolbar","toolbarViewerLeft","findbar","previous","next","pageNumber","toolbarViewerRight","presentationMode","openFile","print","download","viewBookmark","toolbarViewerMiddle","zoomOut","zoomIn","scaleSelectContainer","mounted","channel","process","fieldName","metadata","load","error","progress","abort","transfer","options","reader","axios","method","files","type","onUploadProgress","then","self","catch","console","methods","mapGetters","mapActions","getFiles","item","solvastyle","solva","solvaborder","title","icon","showCancelButton","confirmButtonText","cancelButtonText","customClass","confirmButton","cancelButton","buttonsStyling","component","props","variant","params","checkSubmit","check","id_client","id_doc","mapMutations","computed","checkNumber","user","is_reject_blocked","alldocuments","documents","preventDefault","validationForm","apply","arguments","scopedSlots","_u","fn","errors","$store","state","appConfig","isRTL","clients","client","prenom","selected","form","$set","adresse_client_code_postal","localite","disabled","save","ValidationProvider","ValidationObserver","vSelect","id_utilisateur","id_civilite","date_naissance","numero_contact","adresse_email","numero_carte_identite","type_client","nom_societe","numero_tva","id_forme_juridique","langue","iban","bic","adresse_client","adresse_client_numero","adresse_client_boite","adresse_client_etage","id_adresse_client_code_postal","commentaire","usafe_contrat","id_mix_client","memes","adresse_installation","adresse_facturation","client_types","affichage","formes_juridiques","langues","facturations","facturation","codes_postaux","civilites","u_app_interaction","watch","newVal","getLocalite","val","checkMeme","from_u_app","queryparams","Boolean","window","indexOf","_k","keyCode","get_mypv","serverParams","totalRecords","isLoading","enabled","rows","columns","onPageChange","onSortChange","onColumnFilter","onPerPageChange","column","field","$moment","row","date_creation","format","signature","date_signature","etat_contrat","id_contrat_3rd_party_odoo","status","color","details","numero_gsm","status_contrat_3rd_party_odoo","includes","query","search","formattedRow","VueGoodTable","columnFilters","sort","page","perPage","label","statusVariant","orange","red","green","direction","created","updateParams","newProps","dialog","utc","date","local","created_at","author","repeat","formSubmitted","validateStep1","editedItem","validateStep2","target_select","users","onSearchUsers","onSelectElement","proxy","attributes","_b","email","deselect","multiple","validateStep3","date_select","FormWizard","TabContent","flatPickr","timerusers","dialogDelete","editedIndex","body","defaultItem","date_options","repeat_options","enableTime","dateFormat","minDate","locale","target_options","formTitle","GET_LANG","immediate","handler","initialize","editItem","deleteItem","deleteItemConfirm","close","closeDelete","Object","click_action","resolve","reject","loading","clearTimeout","class","password1FieldType","password","password1ToggleIcon","togglePassword1Visibility","password2FieldType","cPassword","password2ToggleIcon","togglePassword2Visibility","token","success","t","searchTerm","externalQuery","multipleColumns","pageLength","perPageChanged","currentPerPage","total","pageChanged","currentPage","dir","deleteEl"],"mappings":"4HAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,QAAQ,CAACA,EAAG,UAAU,CAACE,MAAM,CAAC,GAAK,gBAAgB,cAAc,GAAG,cAAc,gBAAgB,SAAW,GAAG,KAAO,MAAMC,MAAM,CAACC,MAAOR,EAAW,QAAES,SAAS,SAAUC,GAAMV,EAAIW,QAAQD,GAAKE,WAAW,YAAY,CAACR,EAAG,UAAU,CAACE,MAAM,CAAC,IAAMN,EAAIa,cAAc,OAAS,QAAQ,KAAO,SAAS,gBAAkB,OAAO,GAAGT,EAAG,UAAU,CAACE,MAAM,CAAC,MAAQN,EAAIc,GAAG,kBAAkB,WAAa,GAAG,KAAO,KAAK,UAAU,IAAIP,MAAM,CAACC,MAAOR,EAAa,UAAES,SAAS,SAAUC,GAAMV,EAAIe,UAAUL,GAAKE,WAAW,cAAc,CAAEZ,EAAIgB,KAAOhB,EAAIgB,IAAIC,aAAejB,EAAIgB,IAAIC,YAAYC,OAAS,EAAGd,EAAG,QAAQ,CAACE,MAAM,CAAC,KAAO,OAAO,CAACF,EAAG,QAAQ,CAACe,YAAY,yEAAyEnB,EAAIoB,GAAIpB,EAAIgB,IAAe,aAAE,SAASK,GAAM,OAAOjB,EAAG,QAAQ,CAACkB,IAAID,EAAKE,IAAIJ,YAAY,OAAOK,YAAY,CAAC,OAAS,WAAWC,GAAG,CAA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UACAnB,WACAC,oBACAC,SACAC,mBACAC,WACAC,YACAC,QACAC,eAEAC,oBACAC,oBACAC,YACAC,SACAC,YACAC,iBAEAC,qBACAC,WACAC,UACAC,4BAKA,SACAG,iBACAC,EACAlF,EACAmF,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,GAEA,qBACAC,mBAEA,QACAA,oBACAC,OACAC,cACA1F,8EACA8C,MAAA6C,QAAA7F,cAAA8F,gBACAC,6BAEAT,0CAGAU,MAAA,YAGAC,uCACAb,yBAEAc,OAAA,YACAC,qBAKA,SACAlB,iBACAC,EACAlF,EACAmF,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,GAEA,qBACAC,mBAEA,QACAA,oBACAC,OACAC,cACA1F,8EACA8C,MAAA6C,QAAA7F,cAAA8F,gBACAC,6BAEAT,0CAGAU,MAAA,YAGAC,uCACAb,yBAEAc,OAAA,YACAC,qBAKA,UACAlB,iBACAC,EACAlF,EACAmF,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,GAEA,qBACAC,mBAEA,QACAA,oBACAC,OACAC,cACA1F,8EACA8C,MAAA6C,QAAA7F,cAAA8F,iBACAC,6BAEAT,0CAGAU,MAAA,YAGAC,uCACAb,yBAEAc,OAAA,YACAC,qBAlJA,+CAwJAC,sFACAC,4CADA,IAEA5B,SAFA,WAEA,oJACA,mBACA,6BACA,qBACAuB,MAAA,YACA,mBACA,QAEA,OACArG,2CACA,4BACA,KAEA,wBACA,kCAEAuG,OAAA,qCAhBA,+CAkBAI,wCApBA,IAqBAC,SArBA,WAsBA,gFAEAjG,SAxBA,SAwBAkG,GACA,2BACA,sBAEAC,WA5BA,SA4BAC,GACA,wBACA,0CAEA,4BAEAC,YAlCA,SAkCAD,GACA,wBACA,0CAEA,4BAEA/E,QAxCA,WAwCA,WACA,YACAiF,qCACA/F,aACA,mKAEAgG,eACAC,oBACAC,iCACAC,oCACAC,aACAC,gCACAC,4CAEAC,oBACApB,MAAA,YACA,QACA,kCACA,4BACA,UACAqB,iBACAC,OACAV,sCACAC,sBACAU,wBAIA,sBACA,SACAX,sBACA/F,iDACAgG,aACAI,aACAC,uCAMA9E,MAhFA,WAgFA,WACA,YACAwE,wCACA/F,+DACAgG,eACAC,oBACAC,4CACAC,oCACAC,aACAC,gCACAC,4CAEAC,oBACApB,MAAA,YACA,QACA,kBACAA,MAAA,kBACA,SACAa,eACAD,iBACA/F,uCACAoG,aACAC,sCAIAlB,MAAA,WACA,gBAAA/E,2BAEA,sBACA,SACA2F,sBACA/F,mDACAgG,aACAI,aACAC,uCAMA/E,KAzHA,WA0HA,mBACAlB,cACAuG,QAAA1G,eAGA2G,YA/HA,WAgIA,SAIA,OAHA,kCACAC,UAEA,GAEAxF,aAtIA,WAuIA,iCAUA,mBACAjB,YACAuG,QACAxE,qBACAlC,yBACAgF,yBAdA,aACAuB,iBACAC,OACAV,wDACAC,iBACAU,oBAgBAnG,SA7JA,WA6JA,WACA,qBAEA,oBACAuG,sCACAC,uBACA5B,MAAA,WACA,UACAqB,iBACAC,OACAV,2CACAC,gBACAU,yBAKA7F,SA9KA,WA8KA,WACA,4CACA,UACA2F,iBACAC,OACAV,yCACAC,gBACAU,0BAKAjB,sBACA,eACA,cACA,UACA,eAEAuB,4CACAvB,6CAEAwB,uDACAlG,WADA,WAEA,mFAEAG,WAJA,WAKA,mFAGAgG,YARA,WASA,GACA,UACA,mBACA,0BACA,wCACA,CACA,IACA,EADA,0CAEA,iBACA,QACAL,yBACA,MACA,QACAA,2BACA,MACA,QACAA,2BACA,MACA,QACAA,KAEA,SAEA,UAEA7B,MAlCA,cAmCAQ,uBACA2B,qBACAC,mCAEA5B,0BAAA6B,uCAvCA,IAwCAC,UAxCA,WAyCA,sCCx0B+V,I,wBCQ3Vd,EAAY,eACd,EACA3I,EACA2D,GACA,EACA,KACA,KACA,MAIa,aAAAgF,E,6CCnBf,W,oCCAA,W,oCCAA,W,oECAA,IAAI3I,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG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AiH,0BAAAC,0BAAAC,aACA5I,YACA+B,eAEAC,KALA,WAMA,OACAwG,YACAJ,MACAS,iBACA9I,SACAmI,YACAY,cACAC,oBACAC,oBACAC,mBACAC,2BACAC,cACAC,iBACAC,gBACAC,wBACAC,YACAC,UACAC,SACAC,oBACAC,2BACAC,0BACAC,0BAEAC,mCAEAC,gBAEAC,eACAC,mBACApB,oBAEAkB,kBAEAG,SACA/B,cACAgC,wBACAC,uBACA9B,gCACA+B,cACA,CAAAvK,KAAAwK,yCACA,CAAAxK,KAAAwK,4CAEAC,qBACAC,SACA,CAAA1K,QAAAwK,sCACA,CAAAxK,QAAAwK,0CAEAG,cACA,CAAA3K,OAAA4K,8CACA,CAAA5K,OAAA4K,8CAEAC,iBACA3C,WAEA4C,WACA,CACA9K,KACAC,SACAuK,+BAEA,CACAxK,KACAC,UACAuK,6BAEA,CACAxK,KACAC,WACAuK,oCAGA/B,cAGAzB,wEACAzB,uBACA2B,qBACAC,mCAEA5B,qCACAA,+CANA,IAOAwF,kBAPA,WASA,oDACA5C,OAVA,WAYA,OADA9C,2EACA,wDAIA2F,OACA,iCACA,cACA,2BACA,0BACA,oCAGAxC,2BARA,SAQAyC,GACA,IACA,kCACA,yBACA,+DAKA5C,SAjBA,SAiBA4C,GACA,mBAGAhH,QArHA,WAqHA,qKACA,qBACA,SACA6B,0CACA/F,UACA,8EAEAgG,eACAC,oBACAC,4CACAE,aACAC,iCAEAE,oBACApB,MAAA,YACA,SACA,gBAAA/E,yBAhBA,EAoBA,kBAAA0K,EApBA,EAoBAA,cAAAJ,EApBA,EAoBAA,kBACA,kBACA,sBAtBA,SAwBA,iBAAAzK,eAAA,kBACA,MACA,yBAEA,OADA0F,iDACA,KAEA,YACA,WACA,iCAhCA,8CAuCAJ,wDACAE,4CADA,IAEA0F,YAFA,SAEAC,GACA,0EAEAC,UALA,WAKA,WACA,kBACA,2BACA,uCACA,GAEA,YAGA,iCACA,iEACA,GAEA,8CAGA,sBACA,WACArC,iBACA9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K,QACA3B,UACAI,UAGAwB,aAEAnB,gBACAC,SACAU,cACAhK,SACAuK,QACA3B,UACAI,UAEAyB,cACA,CACAvQ,KACAD,YAEA,CACAC,KACAD,uBAIAyQ,gBACA,CACAxQ,KACAD,aAEA,CACAC,KACAD,eAGAS,QACAiQ,cACAC,uBACAC,kDACAC,aAEAC,gBACA,CACA7Q,KACAD,aAEA,CACAC,KACAD,eAGAqP,SACAlD,SACA,CACA6B,kCACAvB,oBAIA,CACAuB,wBACAvB,eACAxH,eAGA,CACA+I,uBACAvB,cACAxH,eAEA,CACA+I,sBACAvB,aACAxH,eAEA,CACA+I,wBACAvB,eACAxH,eAEA,CACA+I,6BACAvB,cAIA,CACAuB,wBACAvB,gBAIA,CACAuB,gBACAvB,iBAKAP,UAMAjF,0CACAzB,qCADA,IAEAuL,UAFA,WAGA,sDAGA9F,OACAwD,OADA,SACArD,GACAA,iBAEAgF,aAJA,SAIAhF,GACAA,uBAEA4F,UACAC,aACAC,QAFA,SAEA9F,GACA,2DACAA,MAKAlH,QAxJA,WAwJA,oKACA,eADA,8CAGAqB,wDACAE,2DACAA,2DAFA,IAGA0L,WAHA,WAGA,0KACA,kBADA,OACArS,EADA,OAEAwG,eACA,SAHA,8CAKA8L,SARA,SAQAzL,GACA,sCACA,oCACA,gBAGA0L,WAdA,SAcA1L,GACA,sCACA,oCACA,sBAGA2L,kBApBA,WAqBA,qCACA,oBAGAC,MAzBA,WAyBA,WACA,eACA,2BACA,6CACA,qBAIAC,YAjCA,WAiCA,WACA,qBACA,2BACA,6CACA,qBAIA5I,KAzCA,WAyCA,2KACA,kBADA,gBAEA6I,kDAFA,gCASA,aALApC,EAJA,EAIAA,MACAtJ,EALA,EAKAA,MACAuK,EANA,EAMAA,KACAoB,EAPA,EAOAA,aACA/C,EARA,EAQAA,KACAI,EATA,EASAA,OAEAM,qBAAA,eAXA,SAYA,mBACAA,QACAtJ,QACAuK,OACAoB,eACA/C,mDACAI,WAlBA,cAoBA,eApBA,QAuB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Ad,WACA3E,QACA,CAAA9N,MAAAY,0BAAAmN,iBACA,CAAA/N,MAAAY,2BAAAmN,iBACA,CAAA/N,MAAAY,qCAAAmN,cACA,CAAA/N,MAAAY,sBAAAmN,oBAIAlG,0CACAzB,uBACA2B,qBACAC,mCAHA,IAKAiH,UALA,WAMA,qCAEA,YACA,WAGA,YACA,aAGAC,QAhFA,aAiFApK,QAjFA,WAiFA,oKACA,aADA,8CAGAqB,uCACAsG,SADA,WACA,oKAEA,yCACA,IACA,SACA,iBALA,+CASApG,iDAVA,IAWA2H,QAXA,SAWAzH,GACA,mBAAAvF,iBAAAuG,QAAA1G,YAEAqB,KAdA,SAcAqE,KACA0N,SAfA,SAeA1N,GAAA,WACA,YACAI,wCACA/F,+DACAgG,eACAC,oBACAC,4CACAC,oCAEAC,aACAC,gCACAC,4CAEAC,oBACApB,MAAA,YACA,QACA,kBACAA,MAAA,kBACA,SACAa,eACAD,iBACA/F,uCACAoG,aACAC,sCAIAlB,MAAA,WACA,gBAEA,sBACA,SACAY,sBACA/F,mDACAgG,aACAI,aACAC,yCAOAlG,YACA+B,gBCzT6V,I,YCOzVsE,EAAY,eACd,EACA3I,EACA2D,GACA,EACA,KACA,KACA,MAIa,aAAAgF,E","file":"ResetUmail~907128a7.25b984f7.js?version=1727726453033","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-row',[_c('b-modal',{attrs:{\"id\":\"modal-primary\",\"hide-footer\":\"\",\"modal-class\":\"modal-primary\",\"centered\":\"\",\"size\":\"xl\"},model:{value:(_vm.zoomPic),callback:function ($$v) {_vm.zoomPic=$$v},expression:\"zoomPic\"}},[_c('b-embed',{attrs:{\"src\":_vm.picToBeZoomed,\"aspect\":\"16by9\",\"type\":\"iframe\",\"allowfullscreen\":\"\"}})],1),_c('b-modal',{attrs:{\"title\":_vm.$t('Pièces jointes'),\"scrollable\":\"\",\"size\":\"lg\",\"ok-only\":\"\"},model:{value:(_vm.modalShow),callback:function ($$v) {_vm.modalShow=$$v},expression:\"modalShow\"}},[(_vm.res && _vm.res.attachments && _vm.res.attachments.length > 0)?_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-row',{staticClass:\"d-flex justify-content-between align-content-start align-items-center\"},_vm._l((_vm.res.attachments),function(file){return _c('b-col',{key:file.url,staticClass:\"mb-2\",staticStyle:{\"cursor\":\"zoom-in\"},on:{\"click\":function($event){return _vm.zoomItem(file.url)}}},[(file.extension != 'pdf')?_c('b-img',{staticStyle:{\"width\":\"10rem\",\"height\":\"10rem\"},attrs:{\"src\":file.url}}):_c('b-img',{staticStyle:{\"width\":\"10rem\"},attrs:{\"src\":require('@/assets/images/img/Icon_pdf_file.svg')}})],1)}),1)],1):_c('b-col',{staticClass:\"text-center\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"Aucune pièce jointe\"))+\" \")])],1),_c('b-modal',{attrs:{\"title\":_vm.$t('Documents'),\"hide-footer\":\"\",\"ok-only\":\"\"},model:{value:(_vm.modalDocShow),callback:function ($$v) {_vm.modalDocShow=$$v},expression:\"modalDocShow\"}},[_c('b-col',{attrs:{\"md\":\"12\"}},[_c('b-form-group',[_c('b-form-radio-group',{staticClass:\"my-1\",attrs:{\"name\":\"radios-stacked\",\"stacked\":\"\"},model:{value:(_vm.document),callback:function ($$v) {_vm.document=$$v},expression:\"document\"}},[_vm._l((_vm.documents),function(option){return [_c('b-form-radio',{key:option.text,staticClass:\"rounded-pill mx-1 my-2\",attrs:{\"value\":option.id}},[_vm._v(\" \"+_vm._s(_vm.$t(option.nom))+\" \")])]})],2)],1)],1),_c('b-button',{directives:[{name:\"ripple\",rawName:\"v-ripple.400\",value:('rgba(255, 255, 255, 0.15)'),expression:\"'rgba(255, 255, 255, 0.15)'\",modifiers:{\"400\":true}}],staticClass:\"mt-2\",attrs:{\"variant\":\"outline-primary\",\"block\":\"\"},on:{\"click\":_vm.sendDocs}},[_vm._v(\" Envoyer \")])],1),_c('b-col',{attrs:{\"md\":\"12\"}},[_c('b-alert',{attrs:{\"variant\":\"success\",\"show\":\"false\"}},[_c('h4',{staticClass:\"alert-heading\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"Félicitation\"))+\" \")]),_c('div',{staticClass:\"alert-body\"},[_c('span',[_vm._v(_vm._s(_vm.$t(\"Votre contrat a été enregistré avec succès!\")))])])])],1),_c('b-col',{attrs:{\"md\":\"12\"}},[_c('b-alert',{attrs:{\"variant\":\"warning\",\"show\":_vm.etat == 1 || _vm.etat == 2}},[_c('h4',{staticClass:\"alert-heading\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"Rappel\"))+\" \")]),_c('div',{staticClass:\"alert-body\"},[_c('span',[_vm._v(_vm._s(_vm.$t( \"N'oubliez pas de joindre les fichiers nécessaires (photo de la carte d'identité, factures, etc..) et de procéder à la signature.\" )))])])])],1),_c('b-col',{attrs:{\"md\":\"9\"}},[_c('b-card',[_c('pdf-viewer',{staticStyle:{\"width\":\"100%\",\"height\":\"100vh\"},attrs:{\"config\":_vm.config,\"pdf\":_vm.pdf}})],1)],1),_c('b-col',{attrs:{\"md\":\"3\"}},[(_vm.res.emails_logs && _vm.res.emails_logs.length > 0)?_c('b-card'):_vm._e(),_c('b-card',[_c('b-button',{directives:[{name:\"ripple\",rawName:\"v-ripple.400\",value:('rgba(255, 255, 255, 0.15)'),expression:\"'rgba(255, 255, 255, 0.15)'\",modifiers:{\"400\":true}}],staticClass:\"mb-75\",attrs:{\"variant\":\"primary\",\"block\":\"\"},on:{\"click\":function($event){_vm.modalShow = !_vm.modalShow}}},[_c('feather-icon',{staticClass:\"mr-1\",attrs:{\"icon\":\"PaperclipIcon\"}}),_vm._v(\" \"+_vm._s(_vm.$t(\"Voir les fichiers\"))+\" \"),_c('b-badge',{attrs:{\"pill\":\"\",\"variant\":\"success\"}},[_vm._v(_vm._s(_vm.res.attachments ? _vm.res.attachments.length : 0))])],1)],1),_c('Can',{attrs:{\"i\":\"create\",\"a\":\"pv_insurance\"}},[(_vm.etat == 2)?_c('b-card',[_c('b-button',{directives:[{name:\"ripple\",rawName:\"v-ripple.400\",value:('rgba(40, 199, 111, 0.15)'),expression:\"'rgba(40, 199, 111, 0.15)'\",modifiers:{\"400\":true}}],staticClass:\"mb-75\",attrs:{\"variant\":\"outline-success\",\"block\":\"\"},on:{\"click\":_vm.mailSign}},[_c('feather-icon',{staticClass:\"mr-1\",attrs:{\"icon\":\"MailIcon\"}}),_vm._v(\" \"+_vm._s(_vm.$t(\"Renvoyer l'e-mail de signature\"))+\" \")],1),_c('b-button',{directives:[{name:\"ripple\",rawName:\"v-ripple.400\",value:('rgba(40, 199, 111, 0.15)'),expression:\"'rgba(40, 199, 111, 0.15)'\",modifiers:{\"400\":true}}],attrs:{\"variant\":\"outline-secondary\",\"block\":\"\",\"disabled\":true || !_vm.checkNumber},on:{\"click\":_vm.smsSign}},[_c('feather-icon',{staticClass:\"mr-1\",attrs:{\"icon\":\"SmartphoneIcon\"}}),_vm._v(\" \"+_vm._s(_vm.$t(\"Signature par SMS\"))+\" \")],1)],1):_vm._e()],1),_c('Can',{attrs:{\"i\":\"all\",\"a\":\"pv_insurance\"}},[(_vm.etat <= 2)?_c('b-card',[_c('b-button',{directives:[{name:\"ripple\",rawName:\"v-ripple.400\",value:('rgba(40, 199, 111, 0.15)'),expression:\"'rgba(40, 199, 111, 0.15)'\",modifiers:{\"400\":true}}],staticClass:\"mb-75\",attrs:{\"variant\":\"outline-success\",\"block\":\"\"},on:{\"click\":_vm.mailSign}},[_c('feather-icon',{staticClass:\"mr-1\",attrs:{\"icon\":\"MailIcon\"}}),_vm._v(\" \"+_vm._s(_vm.$t(\"Envoyer l'e-mail de signature\"))+\" \")],1)],1):_vm._e()],1),(_vm.etat == 0 || _vm.etat == 1)?_c('div',[_c('Can',{attrs:{\"i\":\"create\",\"a\":\"pv_insurance\"}},[_c('b-card',{staticClass:\"text-left\"},[_c('div',[(!_vm.checkRecto)?_c('file-pond',{ref:\"recto\",attrs:{\"name\":\"test\",\"label-idle\":\"<span class='mdi mdi-card-account-details'> </span>\" +\n              _vm.$t(\"Cliquez ici pour ajouter une Pièce d'identité Recto\"),\"allow-multiple\":false,\"allow-image-preview\":false,\"allow-remove\":\"false\",\"accepted-file-types\":['image/*', 'application/pdf'],\"server\":_vm.recto,\"max-file-size\":'12MB',\"label-invalid-field\":_vm.$t('labelInvalidField'),\"label-file-waiting-for-size\":_vm.$t('labelFileWaitingForSize'),\"label-file-size-not-available\":_vm.$t('labelFileSizeNotAvailable'),\"label-file-loading\":_vm.$t('labelFileLoading'),\"label-file-load-error\":_vm.$t('labelFileLoadError'),\"label-file-processing\":_vm.$t('labelFileProcessing'),\"label-file-processing-complete\":_vm.$t('labelFileProcessingComplete'),\"label-file-processing-aborted\":_vm.$t('labelFileProcessingAborted'),\"label-file-processing-error\":_vm.$t('labelFileProcessingError'),\"label-file-processing-revert-error\":_vm.$t('labelFileProcessingRevertError'),\"label-file-remove-error\":_vm.$t('labelFileRemoveError'),\"label-tap-to-cancel\":_vm.$t('labelTapToCancel'),\"label-tap-to-retry\":_vm.$t('labelTapToRetry'),\"label-tap-to-undo\":_vm.$t('labelTapToUndo'),\"label-button-remove-item\":_vm.$t('labelButtonRemoveItem'),\"label-button-abort-item-load\":_vm.$t('labelButtonAbortItemLoad'),\"label-button-retry-item-load\":_vm.$t('labelButtonRetryItemLoad'),\"label-button-abort-item-processing\":_vm.$t('labelButtonAbortItemProcessing'),\"label-button-undo-item-processing\":_vm.$t('labelButtonUndoItemProcessing'),\"label-button-retry-item-processing\":_vm.$t('labelButtonRetryItemProcessing'),\"label-button-process-item\":_vm.$t('labelButtonProcessItem'),\"label-max-file-size-exceeded\":_vm.$t('labelMaxFileSizeExceeded'),\"label-max-file-size\":_vm.$t('labelMaxFileSize'),\"label-max-total-file-size-exceeded\":_vm.$t('labelMaxTotalFileSizeExceeded'),\"label-max-total-file-size\":_vm.$t('labelMaxTotalFileSize'),\"label-file-type-not-allowed\":_vm.$t('labelFileTypeNotAllowed'),\"image-validate-size-label-format-error\":_vm.$t('imageValidateSizeLabelFormatError'),\"image-validate-size-label-image-size-too-small\":_vm.$t('imageValidateSizeLabelImageSizeTooSmall'),\"image-validate-size-label-image-size-too-big\":_vm.$t('imageValidateSizeLabelImageSizeTooBig'),\"image-validate-size-label-expected-min-size\":_vm.$t('imageValidateSizeLabelExpectedMinSize'),\"image-validate-size-label-expected-max-size\":_vm.$t('imageValidateSizeLabelExpectedMaxSize'),\"image-validate-size-label-image-resolution-too-low\":_vm.$t('imageValidateSizeLabelImageResolutionTooLow'),\"image-validate-size-label-image-resolution-too-high\":_vm.$t('imageValidateSizeLabelImageResolutionTooHigh'),\"image-validate-size-label-expected-min-resolution\":_vm.$t('imageValidateSizeLabelExpectedMinResolution'),\"image-validate-size-label-expected-max-resolution\":_vm.$t('imageValidateSizeLabelExpectedMaxResolution')}}):_vm._e()],1),_c('div',[(!_vm.checkVerso)?_c('file-pond',{ref:\"verso\",attrs:{\"name\":\"test\",\"label-idle\":\"<span class='mdi mdi-card-bulleted'> </span>\" +\n              _vm.$t(\"Cliquez ici pour ajouter une Pièce d'identité Verso\"),\"allow-multiple\":false,\"allow-image-preview\":false,\"allow-remove\":\"false\",\"accepted-file-types\":['image/*', 'application/pdf'],\"server\":_vm.verso,\"max-file-size\":'12MB',\"label-invalid-field\":_vm.$t('labelInvalidField'),\"label-file-waiting-for-size\":_vm.$t('labelFileWaitingForSize'),\"label-file-size-not-available\":_vm.$t('labelFileSizeNotAvailable'),\"label-file-loading\":_vm.$t('labelFileLoading'),\"label-file-load-error\":_vm.$t('labelFileLoadError'),\"label-file-processing\":_vm.$t('labelFileProcessing'),\"label-file-processing-complete\":_vm.$t('labelFileProcessingComplete'),\"label-file-processing-aborted\":_vm.$t('labelFileProcessingAborted'),\"label-file-processing-error\":_vm.$t('labelFileProcessingError'),\"label-file-processing-revert-error\":_vm.$t('labelFileProcessingRevertError'),\"label-file-remove-error\":_vm.$t('labelFileRemoveError'),\"label-tap-to-cancel\":_vm.$t('labelTapToCancel'),\"label-tap-to-retry\":_vm.$t('labelTapToRetry'),\"label-tap-to-undo\":_vm.$t('labelTapToUndo'),\"label-button-remove-item\":_vm.$t('labelButtonRemoveItem'),\"label-button-abort-item-load\":_vm.$t('labelButtonAbortItemLoad'),\"label-button-retry-item-load\":_vm.$t('labelButtonRetryItemLoad'),\"label-button-abort-item-processing\":_vm.$t('labelButtonAbortItemProcessing'),\"label-button-undo-item-processing\":_vm.$t('labelButtonUndoItemProcessing'),\"label-button-retry-item-processing\":_vm.$t('labelButtonRetryItemProcessing'),\"label-button-process-item\":_vm.$t('labelButtonProcessItem'),\"label-max-file-size-exceeded\":_vm.$t('labelMaxFileSizeExceeded'),\"label-max-file-size\":_vm.$t('labelMaxFileSize'),\"label-max-total-file-size-exceeded\":_vm.$t('labelMaxTotalFileSizeExceeded'),\"label-max-total-file-size\":_vm.$t('labelMaxTotalFileSize'),\"label-file-type-not-allowed\":_vm.$t('labelFileTypeNotAllowed'),\"image-validate-size-label-format-error\":_vm.$t('imageValidateSizeLabelFormatError'),\"image-validate-size-label-image-size-too-small\":_vm.$t('imageValidateSizeLabelImageSizeTooSmall'),\"image-validate-size-label-image-size-too-big\":_vm.$t('imageValidateSizeLabelImageSizeTooBig'),\"image-validate-size-label-expected-min-size\":_vm.$t('imageValidateSizeLabelExpectedMinSize'),\"image-validate-size-label-expected-max-size\":_vm.$t('imageValidateSizeLabelExpectedMaxSize'),\"image-validate-size-label-image-resolution-too-low\":_vm.$t('imageValidateSizeLabelImageResolutionTooLow'),\"image-validate-size-label-image-resolution-too-high\":_vm.$t('imageValidateSizeLabelImageResolutionTooHigh'),\"image-validate-size-label-expected-min-resolution\":_vm.$t('imageValidateSizeLabelExpectedMinResolution'),\"image-validate-size-label-expected-max-resolution\":_vm.$t('imageValidateSizeLabelExpectedMaxResolution')}}):_vm._e()],1),_c('div',[_c('file-pond',{ref:\"others\",attrs:{\"name\":\"test\",\"label-idle\":\"<span class='feather icon-paperclip'> </span>\" +\n              _vm.$t(\"Cliquez ici pour ajouter d'Autres documents\"),\"allow-multiple\":true,\"allow-image-preview\":false,\"allow-remove\":\"false\",\"accepted-file-types\":['image/*', 'application/pdf'],\"server\":_vm.others,\"max-file-size\":'12MB',\"label-invalid-field\":_vm.$t('labelInvalidField'),\"label-file-waiting-for-size\":_vm.$t('labelFileWaitingForSize'),\"label-file-size-not-available\":_vm.$t('labelFileSizeNotAvailable'),\"label-file-loading\":_vm.$t('labelFileLoading'),\"label-file-load-error\":_vm.$t('labelFileLoadError'),\"label-file-processing\":_vm.$t('labelFileProcessing'),\"label-file-processing-complete\":_vm.$t('labelFileProcessingComplete'),\"label-file-processing-aborted\":_vm.$t('labelFileProcessingAborted'),\"label-file-processing-error\":_vm.$t('labelFileProcessingError'),\"label-file-processing-revert-error\":_vm.$t('labelFileProcessingRevertError'),\"label-file-remove-error\":_vm.$t('labelFileRemoveError'),\"label-tap-to-cancel\":_vm.$t('labelTapToCancel'),\"label-tap-to-retry\":_vm.$t('labelTapToRetry'),\"label-tap-to-undo\":_vm.$t('labelTapToUndo'),\"label-button-remove-item\":_vm.$t('labelButtonRemoveItem'),\"label-button-abort-item-load\":_vm.$t('labelButtonAbortItemLoad'),\"label-button-retry-item-load\":_vm.$t('labelButtonRetryItemLoad'),\"label-button-abort-item-processing\":_vm.$t('labelButtonAbortItemProcessing'),\"label-button-undo-item-processing\":_vm.$t('labelButtonUndoItemProcessing'),\"label-button-retry-item-processing\":_vm.$t('labelButtonRetryItemProcessing'),\"label-button-process-item\":_vm.$t('labelButtonProcessItem'),\"label-max-file-size-exceeded\":_vm.$t('labelMaxFileSizeExceeded'),\"label-max-file-size\":_vm.$t('labelMaxFileSize'),\"label-max-total-file-size-exceeded\":_vm.$t('labelMaxTotalFileSizeExceeded'),\"label-max-total-file-size\":_vm.$t('labelMaxTotalFileSize'),\"label-file-type-not-allowed\":_vm.$t('labelFileTypeNotAllowed'),\"image-validate-size-label-format-error\":_vm.$t('imageValidateSizeLabelFormatError'),\"image-validate-size-label-image-size-too-small\":_vm.$t('imageValidateSizeLabelImageSizeTooSmall'),\"image-validate-size-label-image-size-too-big\":_vm.$t('imageValidateSizeLabelImageSizeTooBig'),\"image-validate-size-label-expected-min-size\":_vm.$t('imageValidateSizeLabelExpectedMinSize'),\"image-validate-size-label-expected-max-size\":_vm.$t('imageValidateSizeLabelExpectedMaxSize'),\"image-validate-size-label-image-resolution-too-low\":_vm.$t('imageValidateSizeLabelImageResolutionTooLow'),\"image-validate-size-label-image-resolution-too-high\":_vm.$t('imageValidateSizeLabelImageResolutionTooHigh'),\"image-validate-size-label-expected-min-resolution\":_vm.$t('imageValidateSizeLabelExpectedMinResolution'),\"image-validate-size-label-expected-max-resolution\":_vm.$t('imageValidateSizeLabelExpectedMaxResolution')}})],1)])],1),_c('b-card',[_c('Can',{attrs:{\"i\":\"create\",\"a\":\"pv_insurance\"}},[_c('b-button',{directives:[{name:\"ripple\",rawName:\"v-ripple.400\",value:('rgba(40, 199, 111, 0.15)'),expression:\"'rgba(40, 199, 111, 0.15)'\",modifiers:{\"400\":true}}],staticClass:\"mb-75\",attrs:{\"variant\":\"outline-success\",\"block\":\"\"},on:{\"click\":_vm.physicalSign}},[_c('feather-icon',{staticClass:\"mr-1\",attrs:{\"icon\":\"PenToolIcon\"}}),_vm._v(\" \"+_vm._s(_vm.$t(\"Signature physique\"))+\" \")],1)],1),_c('Can',{attrs:{\"i\":\"create\",\"a\":\"pv_insurance\"}},[_c('b-button',{directives:[{name:\"ripple\",rawName:\"v-ripple.400\",value:('rgba(40, 199, 111, 0.15)'),expression:\"'rgba(40, 199, 111, 0.15)'\",modifiers:{\"400\":true}}],staticClass:\"mb-75\",attrs:{\"variant\":\"outline-success\",\"block\":\"\"},on:{\"click\":_vm.mailSign}},[_c('feather-icon',{staticClass:\"mr-1\",attrs:{\"icon\":\"MailIcon\"}}),_vm._v(\" \"+_vm._s(_vm.$t(\"Signature par E-mail\"))+\" \")],1)],1)],1),_c('b-card',[_c('Can',{attrs:{\"i\":\"update\",\"a\":\"pv_insurance\"}},[_c('b-button',{directives:[{name:\"ripple\",rawName:\"v-ripple.400\",value:('rgba(234, 84, 85, 0.15)'),expression:\"'rgba(234, 84, 85, 0.15)'\",modifiers:{\"400\":true}}],attrs:{\"variant\":\"outline-secondary\",\"block\":\"\",\"disabled\":\"\"},on:{\"click\":_vm.edit}},[_c('feather-icon',{staticClass:\"mr-1\",attrs:{\"icon\":\"Edit2Icon\"}}),_vm._v(\" \"+_vm._s(_vm.$t(\"Modifier ce contrat\"))+\" \")],1)],1),_c('Can',{attrs:{\"i\":\"delete\",\"a\":\"pv_insurance\"}},[_c('b-button',{directives:[{name:\"ripple\",rawName:\"v-ripple.400\",value:('rgba(234, 84, 85, 0.15)'),expression:\"'rgba(234, 84, 85, 0.15)'\",modifiers:{\"400\":true}}],attrs:{\"variant\":\"outline-danger\",\"block\":\"\"},on:{\"click\":_vm.draft}},[_c('feather-icon',{staticClass:\"mr-1\",attrs:{\"icon\":\"TrashIcon\"}}),_vm._v(\" \"+_vm._s(_vm.$t(\"Annuler ce contrat\"))+\" \")],1)],1)],1)],1):_vm._e()],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <b-row>\n    <b-modal id=\"modal-primary\" v-model=\"zoomPic\" hide-footer modal-class=\"modal-primary\" centered size=\"xl\">\n      <b-embed :src=\"picToBeZoomed\" aspect=\"16by9\" type=\"iframe\" allowfullscreen />\n    </b-modal>\n    <b-modal v-model=\"modalShow\" :title=\"$t('Pièces jointes')\" scrollable size=\"lg\" ok-only>\n      <b-col v-if=\"res && res.attachments && res.attachments.length > 0\" cols=\"12\">\n        <b-row class=\"d-flex justify-content-between align-content-start align-items-center\">\n          <b-col v-for=\"file in res.attachments\" :key=\"file.url\" class=\"mb-2\" style=\"cursor: zoom-in\"\n            @click=\"zoomItem(file.url)\">\n            <b-img v-if=\"file.extension != 'pdf'\" :src=\"file.url\" style=\"width: 10rem; height: 10rem\" />\n            <b-img v-else :src=\"require('@/assets/images/img/Icon_pdf_file.svg')\" style=\"width: 10rem\" />\n          </b-col>\n        </b-row>\n      </b-col>\n      <b-col v-else class=\"text-center\">\n        {{ $t(\"Aucune pièce jointe\") }}\n      </b-col>\n    </b-modal>\n    <b-modal v-model=\"modalDocShow\" :title=\"$t('Documents')\" hide-footer ok-only>\n      <b-col md=\"12\">\n        <b-form-group>\n          <b-form-radio-group v-model=\"document\" name=\"radios-stacked\" class=\"my-1\" stacked>\n            <template v-for=\"option in documents\">\n              <b-form-radio :key=\"option.text\" :value=\"option.id\" class=\"rounded-pill mx-1 my-2\">\n                {{ $t(option.nom) }}\n              </b-form-radio>\n            </template>\n          </b-form-radio-group>\n        </b-form-group>\n      </b-col>\n\n      <b-button v-ripple.400=\"'rgba(255, 255, 255, 0.15)'\" class=\"mt-2\" variant=\"outline-primary\" block\n        @click=\"sendDocs\">\n        Envoyer\n      </b-button>\n    </b-modal>\n    <b-col md=\"12\">\n      <!-- success -->\n      <b-alert variant=\"success\" show=\"false\">\n        <h4 class=\"alert-heading\">\n          {{ $t(\"Félicitation\") }}\n        </h4>\n        <div class=\"alert-body\">\n          <span>{{ $t(\"Votre contrat a été enregistré avec succès!\") }}</span>\n        </div>\n      </b-alert>\n    </b-col>\n    <b-col md=\"12\">\n      <!-- warning -->\n      <b-alert variant=\"warning\" :show=\"etat == 1 || etat == 2\">\n        <h4 class=\"alert-heading\">\n          {{ $t(\"Rappel\") }}\n        </h4>\n        <div class=\"alert-body\">\n          <span>{{\n          $t(\n          \"N'oubliez pas de joindre les fichiers nécessaires (photo de la carte d'identité, factures, etc..) et de\n          procéder à la signature.\"\n          )\n          }}</span>\n        </div>\n      </b-alert>\n    </b-col>\n    <b-col md=\"9\">\n      <b-card>\n        <pdf-viewer :config=\"config\" :pdf=\"pdf\" style=\"width: 100%; height: 100vh\" />\n      </b-card>\n    </b-col>\n    <b-col md=\"3\">\n      <b-card v-if=\"res.emails_logs && res.emails_logs.length > 0\">\n        <!-- <b-card-body>\n          <mail-log :items=\"res.emails_logs\" />\n        </b-card-body> -->\n      </b-card>\n      <b-card>\n        <!-- Button: {{$t(\"Voir les fichiers\")}} -->\n        <b-button v-ripple.400=\"'rgba(255, 255, 255, 0.15)'\" variant=\"primary\" class=\"mb-75\" block\n          @click=\"modalShow = !modalShow\">\n          <feather-icon icon=\"PaperclipIcon\" class=\"mr-1\" />\n          {{ $t(\"Voir les fichiers\") }}\n          <b-badge pill variant=\"success\">{{\n          res.attachments ? res.attachments.length : 0\n          }}</b-badge>\n        </b-button>\n      </b-card>\n\n      <Can i=\"create\" a=\"pv_insurance\">\n        <b-card v-if=\"etat == 2\">\n          <b-button v-ripple.400=\"'rgba(40, 199, 111, 0.15)'\" variant=\"outline-success\" class=\"mb-75\" block\n            @click=\"mailSign\">\n            <feather-icon icon=\"MailIcon\" class=\"mr-1\" />\n            {{ $t(\"Renvoyer l'e-mail de signature\") }}\n          </b-button>\n          <b-button v-ripple.400=\"'rgba(40, 199, 111, 0.15)'\" variant=\"outline-secondary\" block\n            :disabled=\"true || !checkNumber\" @click=\"smsSign\">\n            <feather-icon icon=\"SmartphoneIcon\" class=\"mr-1\" />\n            {{ $t(\"Signature par SMS\") }}\n          </b-button>\n        </b-card>\n      </Can>\n      <Can i=\"all\" a=\"pv_insurance\">\n        <b-card v-if=\"etat <= 2\">\n          <b-button v-ripple.400=\"'rgba(40, 199, 111, 0.15)'\" variant=\"outline-success\" class=\"mb-75\" block\n            @click=\"mailSign\">\n            <feather-icon icon=\"MailIcon\" class=\"mr-1\" />\n            {{ $t(\"Envoyer l'e-mail de signature\") }}\n          </b-button>\n        </b-card>\n      </Can>\n\n      <div v-if=\"etat == 0 || etat == 1\">\n        <Can i=\"create\" a=\"pv_insurance\">\n          <b-card class=\"text-left\">\n            <!-- recto -->\n            <div>\n              <file-pond v-if=\"!checkRecto\" ref=\"recto\" name=\"test\" :label-idle=\"\n                `<span class='mdi mdi-card-account-details'> </span>` +\n                $t(`Cliquez ici pour ajouter une Pièce d'identité Recto`)\n              \" :allow-multiple=\"false\" :allow-image-preview=\"false\" allow-remove=\"false\"\n                :accepted-file-types=\"['image/*', 'application/pdf']\" :server=\"recto\" :max-file-size=\"'12MB'\"\n                :label-invalid-field=\"$t('labelInvalidField')\"\n                :label-file-waiting-for-size=\"$t('labelFileWaitingForSize')\"\n                :label-file-size-not-available=\"$t('labelFileSizeNotAvailable')\"\n                :label-file-loading=\"$t('labelFileLoading')\" :label-file-load-error=\"$t('labelFileLoadError')\"\n                :label-file-processing=\"$t('labelFileProcessing')\" :label-file-processing-complete=\"\n                  $t('labelFileProcessingComplete')\n                \" :label-file-processing-aborted=\"\n                  $t('labelFileProcessingAborted')\n                \" :label-file-processing-error=\"$t('labelFileProcessingError')\" :label-file-processing-revert-error=\"\n                  $t('labelFileProcessingRevertError')\n                \" :label-file-remove-error=\"$t('labelFileRemoveError')\" :label-tap-to-cancel=\"$t('labelTapToCancel')\"\n                :label-tap-to-retry=\"$t('labelTapToRetry')\" :label-tap-to-undo=\"$t('labelTapToUndo')\"\n                :label-button-remove-item=\"$t('labelButtonRemoveItem')\"\n                :label-button-abort-item-load=\"$t('labelButtonAbortItemLoad')\"\n                :label-button-retry-item-load=\"$t('labelButtonRetryItemLoad')\" :label-button-abort-item-processing=\"\n                  $t('labelButtonAbortItemProcessing')\n                \" :label-button-undo-item-processing=\"\n                  $t('labelButtonUndoItemProcessing')\n                \" :label-button-retry-item-processing=\"\n                  $t('labelButtonRetryItemProcessing')\n                \" :label-button-process-item=\"$t('labelButtonProcessItem')\"\n                :label-max-file-size-exceeded=\"$t('labelMaxFileSizeExceeded')\"\n                :label-max-file-size=\"$t('labelMaxFileSize')\" :label-max-total-file-size-exceeded=\"\n                  $t('labelMaxTotalFileSizeExceeded')\n                \" :label-max-total-file-size=\"$t('labelMaxTotalFileSize')\"\n                :label-file-type-not-allowed=\"$t('labelFileTypeNotAllowed')\" :image-validate-size-label-format-error=\"\n                  $t('imageValidateSizeLabelFormatError')\n                \" :image-validate-size-label-image-size-too-small=\"\n                  $t('imageValidateSizeLabelImageSizeTooSmall')\n                \" :image-validate-size-label-image-size-too-big=\"\n                  $t('imageValidateSizeLabelImageSizeTooBig')\n                \" :image-validate-size-label-expected-min-size=\"\n                  $t('imageValidateSizeLabelExpectedMinSize')\n                \" :image-validate-size-label-expected-max-size=\"\n                  $t('imageValidateSizeLabelExpectedMaxSize')\n                \" :image-validate-size-label-image-resolution-too-low=\"\n                  $t('imageValidateSizeLabelImageResolutionTooLow')\n                \" :image-validate-size-label-image-resolution-too-high=\"\n                  $t('imageValidateSizeLabelImageResolutionTooHigh')\n                \" :image-validate-size-label-expected-min-resolution=\"\n                  $t('imageValidateSizeLabelExpectedMinResolution')\n                \" :image-validate-size-label-expected-max-resolution=\"\n                  $t('imageValidateSizeLabelExpectedMaxResolution')\n                \" />\n            </div>\n\n            <!-- verso -->\n            <div>\n              <file-pond v-if=\"!checkVerso\" ref=\"verso\" name=\"test\" :label-idle=\"\n                `<span class='mdi mdi-card-bulleted'> </span>` +\n                $t(`Cliquez ici pour ajouter une Pièce d'identité Verso`)\n              \" :allow-multiple=\"false\" :allow-image-preview=\"false\" allow-remove=\"false\"\n                :accepted-file-types=\"['image/*', 'application/pdf']\" :server=\"verso\" :max-file-size=\"'12MB'\"\n                :label-invalid-field=\"$t('labelInvalidField')\"\n                :label-file-waiting-for-size=\"$t('labelFileWaitingForSize')\"\n                :label-file-size-not-available=\"$t('labelFileSizeNotAvailable')\"\n                :label-file-loading=\"$t('labelFileLoading')\" :label-file-load-error=\"$t('labelFileLoadError')\"\n                :label-file-processing=\"$t('labelFileProcessing')\" :label-file-processing-complete=\"\n                  $t('labelFileProcessingComplete')\n                \" :label-file-processing-aborted=\"\n                  $t('labelFileProcessingAborted')\n                \" :label-file-processing-error=\"$t('labelFileProcessingError')\" :label-file-processing-revert-error=\"\n                  $t('labelFileProcessingRevertError')\n                \" :label-file-remove-error=\"$t('labelFileRemoveError')\" :label-tap-to-cancel=\"$t('labelTapToCancel')\"\n                :label-tap-to-retry=\"$t('labelTapToRetry')\" :label-tap-to-undo=\"$t('labelTapToUndo')\"\n                :label-button-remove-item=\"$t('labelButtonRemoveItem')\"\n                :label-button-abort-item-load=\"$t('labelButtonAbortItemLoad')\"\n                :label-button-retry-item-load=\"$t('labelButtonRetryItemLoad')\" :label-button-abort-item-processing=\"\n                  $t('labelButtonAbortItemProcessing')\n                \" :label-button-undo-item-processing=\"\n                  $t('labelButtonUndoItemProcessing')\n                \" :label-button-retry-item-processing=\"\n                  $t('labelButtonRetryItemProcessing')\n                \" :label-button-process-item=\"$t('labelButtonProcessItem')\"\n                :label-max-file-size-exceeded=\"$t('labelMaxFileSizeExceeded')\"\n                :label-max-file-size=\"$t('labelMaxFileSize')\" :label-max-total-file-size-exceeded=\"\n                  $t('labelMaxTotalFileSizeExceeded')\n                \" :label-max-total-file-size=\"$t('labelMaxTotalFileSize')\"\n                :label-file-type-not-allowed=\"$t('labelFileTypeNotAllowed')\" :image-validate-size-label-format-error=\"\n                  $t('imageValidateSizeLabelFormatError')\n                \" :image-validate-size-label-image-size-too-small=\"\n                  $t('imageValidateSizeLabelImageSizeTooSmall')\n                \" :image-validate-size-label-image-size-too-big=\"\n                  $t('imageValidateSizeLabelImageSizeTooBig')\n                \" :image-validate-size-label-expected-min-size=\"\n                  $t('imageValidateSizeLabelExpectedMinSize')\n                \" :image-validate-size-label-expected-max-size=\"\n                  $t('imageValidateSizeLabelExpectedMaxSize')\n                \" :image-validate-size-label-image-resolution-too-low=\"\n                  $t('imageValidateSizeLabelImageResolutionTooLow')\n                \" :image-validate-size-label-image-resolution-too-high=\"\n                  $t('imageValidateSizeLabelImageResolutionTooHigh')\n                \" :image-validate-size-label-expected-min-resolution=\"\n                  $t('imageValidateSizeLabelExpectedMinResolution')\n                \" :image-validate-size-label-expected-max-resolution=\"\n                  $t('imageValidateSizeLabelExpectedMaxResolution')\n                \" />\n            </div>\n\n            <!-- autres -->\n            <div>\n              <file-pond ref=\"others\" name=\"test\" :label-idle=\"\n                `<span class='feather icon-paperclip'> </span>` +\n                $t(`Cliquez ici pour ajouter d'Autres documents`)\n              \" :allow-multiple=\"true\" :allow-image-preview=\"false\" allow-remove=\"false\"\n                :accepted-file-types=\"['image/*', 'application/pdf']\" :server=\"others\" :max-file-size=\"'12MB'\"\n                :label-invalid-field=\"$t('labelInvalidField')\"\n                :label-file-waiting-for-size=\"$t('labelFileWaitingForSize')\"\n                :label-file-size-not-available=\"$t('labelFileSizeNotAvailable')\"\n                :label-file-loading=\"$t('labelFileLoading')\" :label-file-load-error=\"$t('labelFileLoadError')\"\n                :label-file-processing=\"$t('labelFileProcessing')\" :label-file-processing-complete=\"\n                  $t('labelFileProcessingComplete')\n                \" :label-file-processing-aborted=\"\n                  $t('labelFileProcessingAborted')\n                \" :label-file-processing-error=\"$t('labelFileProcessingError')\" :label-file-processing-revert-error=\"\n                  $t('labelFileProcessingRevertError')\n                \" :label-file-remove-error=\"$t('labelFileRemoveError')\" :label-tap-to-cancel=\"$t('labelTapToCancel')\"\n                :label-tap-to-retry=\"$t('labelTapToRetry')\" :label-tap-to-undo=\"$t('labelTapToUndo')\"\n                :label-button-remove-item=\"$t('labelButtonRemoveItem')\"\n                :label-button-abort-item-load=\"$t('labelButtonAbortItemLoad')\"\n                :label-button-retry-item-load=\"$t('labelButtonRetryItemLoad')\" :label-button-abort-item-processing=\"\n                  $t('labelButtonAbortItemProcessing')\n                \" :label-button-undo-item-processing=\"\n                  $t('labelButtonUndoItemProcessing')\n                \" :label-button-retry-item-processing=\"\n                  $t('labelButtonRetryItemProcessing')\n                \" :label-button-process-item=\"$t('labelButtonProcessItem')\"\n                :label-max-file-size-exceeded=\"$t('labelMaxFileSizeExceeded')\"\n                :label-max-file-size=\"$t('labelMaxFileSize')\" :label-max-total-file-size-exceeded=\"\n                  $t('labelMaxTotalFileSizeExceeded')\n                \" :label-max-total-file-size=\"$t('labelMaxTotalFileSize')\"\n                :label-file-type-not-allowed=\"$t('labelFileTypeNotAllowed')\" :image-validate-size-label-format-error=\"\n                  $t('imageValidateSizeLabelFormatError')\n                \" :image-validate-size-label-image-size-too-small=\"\n                  $t('imageValidateSizeLabelImageSizeTooSmall')\n                \" :image-validate-size-label-image-size-too-big=\"\n                  $t('imageValidateSizeLabelImageSizeTooBig')\n                \" :image-validate-size-label-expected-min-size=\"\n                  $t('imageValidateSizeLabelExpectedMinSize')\n                \" :image-validate-size-label-expected-max-size=\"\n                  $t('imageValidateSizeLabelExpectedMaxSize')\n                \" :image-validate-size-label-image-resolution-too-low=\"\n                  $t('imageValidateSizeLabelImageResolutionTooLow')\n                \" :image-validate-size-label-image-resolution-too-high=\"\n                  $t('imageValidateSizeLabelImageResolutionTooHigh')\n                \" :image-validate-size-label-expected-min-resolution=\"\n                  $t('imageValidateSizeLabelExpectedMinResolution')\n                \" :image-validate-size-label-expected-max-resolution=\"\n                  $t('imageValidateSizeLabelExpectedMaxResolution')\n                \" />\n            </div>\n          </b-card>\n        </Can>\n        <b-card>\n          <!-- Buttons: Signer ce contrat -->\n          <Can i=\"create\" a=\"pv_insurance\">\n            <b-button v-ripple.400=\"'rgba(40, 199, 111, 0.15)'\" variant=\"outline-success\" class=\"mb-75\" block\n              @click=\"physicalSign\">\n              <feather-icon icon=\"PenToolIcon\" class=\"mr-1\" />\n              {{ $t(\"Signature physique\") }}\n            </b-button>\n          </Can>\n          <Can i=\"create\" a=\"pv_insurance\">\n            <b-button v-ripple.400=\"'rgba(40, 199, 111, 0.15)'\" variant=\"outline-success\" class=\"mb-75\" block\n              @click=\"mailSign\">\n              <feather-icon icon=\"MailIcon\" class=\"mr-1\" />\n              {{ $t(\"Signature par E-mail\") }}\n            </b-button>\n          </Can>\n          <!-- Button: Add Payment -->\n        </b-card>\n        <b-card>\n          <!-- <Can\n            i=\"create\"\n            a=\"pv_insurance\"\n          >\n            <b-button\n              v-ripple.400=\"'rgba(0, 207, 232, 0.15)'\"\n              variant=\"outline-info\"\n              class=\"mb-75\"\n              block\n              @click=\"modalDocShow = !modalDocShow\"\n            >\n              <feather-icon\n                icon=\"SendIcon\"\n                class=\"mr-1\"\n              />\n              {{ $t(\"Envoyer document\") }}\n            </b-button>\n          </Can> -->\n          <Can i=\"update\" a=\"pv_insurance\">\n            <!-- Button: {{$t(\"Annuler ce contrat\")}} -->\n            <b-button v-ripple.400=\"'rgba(234, 84, 85, 0.15)'\" variant=\"outline-secondary\" block disabled @click=\"edit\">\n              <feather-icon icon=\"Edit2Icon\" class=\"mr-1\" />\n              {{ $t(\"Modifier ce contrat\") }}\n            </b-button>\n          </Can>\n          <Can i=\"delete\" a=\"pv_insurance\">\n            <b-button v-ripple.400=\"'rgba(234, 84, 85, 0.15)'\" variant=\"outline-danger\" block @click=\"draft\">\n              <feather-icon icon=\"TrashIcon\" class=\"mr-1\" />\n              {{ $t(\"Annuler ce contrat\") }}\n            </b-button>\n          </Can>\n        </b-card>\n      </div>\n    </b-col>\n  </b-row>\n</template>\n\n<script>\nimport PdfViewer from \"vue-pdf-app\";\nimport Ripple from \"vue-ripple-directive\";\n\nimport { mapActions, mapGetters, mapMutations } from \"vuex\";\nimport ToastificationContent from \"@core/components/toastification/ToastificationContent.vue\";\nimport \"@/plugins/axios\";\n// Import Vue FilePond\nimport vueFilePond from \"vue-filepond\";\n\n// Import FilePond styles\nimport \"filepond/dist/filepond.min.css\";\n\n// Import FilePond plugins\n// Please note that you need to install these plugins separately\n\n// Import image preview plugin styles\nimport \"filepond-plugin-image-preview/dist/filepond-plugin-image-preview.min.css\";\n\n// Import image preview and file type validation plugins\nimport FilePondPluginFileValidateType from \"filepond-plugin-file-validate-type\";\nimport FilePondPluginFileValidateSize from \"filepond-plugin-file-validate-size\";\nimport FilePondPluginImagePreview from \"filepond-plugin-image-preview\";\nimport MailLog from \"@/components/MailLog.vue\";\n/// /import // FilePondPluginPdfPreview from \"filepond-plugin-pdf-preview\"\n// Create component\n\nconst FilePond = vueFilePond(\n  FilePondPluginFileValidateType,\n  FilePondPluginFileValidateSize,\n  FilePondPluginImagePreview\n  /// /// FilePondPluginPdfPreview,\n);\nexport default {\n  components: {\n    PdfViewer,\n\n    ToastificationContent,\n    vueFilePond,\n    FilePond,\n    MailLog,\n  },\n  directives: {\n    Ripple,\n  },\n\n  data() {\n    return {\n      testData: [\n        {\n          event: \"delivered\",\n          event_date: new Date(),\n          event_type: \"test\",\n          contract_type: \"test\",\n          id_contract: \"test\",\n          reception_email: \"test\",\n        },\n        {\n          event: \"hard_bounce\",\n          event_date: new Date(),\n          event_type: \"test\",\n          contract_type: \"test\",\n          id_contract: \"test\",\n          reception_email: \"test\",\n        },\n      ],\n      zoomPic: false,\n      zoomPic: false,\n      picToBeZoomed: null,\n      dropzoneOptions: {\n        url: \"https://httpbin.org/post\",\n        /* acceptedFiles: \"image/*,application/pdf,.doc,.docx,.xls,.xlsx,.csv,.tsv,.ppt,.pptx,.pages,.odt,.rtf\",\nmaxFilesize: 10, */\n        addRemoveLinks: false,\n        autoProcessQueue: true,\n        createImageThumbnails: false,\n        duplicateCheck: true,\n        disablePreviews: true,\n      },\n      document: null,\n      id: null,\n      res: {},\n      pdf: \"\",\n      waiting: [],\n\n      loadingWizard: true,\n      etat: null,\n      modalShow: false,\n      modalDocShow: false,\n      config: {\n        sidebar: false,\n        secondaryToolbar: false,\n        toolbar: {\n          toolbarViewerLeft: {\n            findbar: true,\n            previous: true,\n            next: true,\n            pageNumber: true,\n          },\n          toolbarViewerRight: {\n            presentationMode: true,\n            openFile: false,\n            print: true,\n            download: false,\n            viewBookmark: false,\n          },\n          toolbarViewerMiddle: {\n            zoomOut: true,\n            zoomIn: true,\n            scaleSelectContainer: true,\n          },\n        },\n      },\n      files: [],\n      recto: null,\n      verso: null,\n      others: null,\n\n      counter: 0,\n      picToBeZoomed: null,\n    };\n  },\n  async mounted() {\n    this.loadingWizard = true;\n    this.id = this.$route.params.id;\n    await this.download();\n\n    const channel = this.$pusher.subscribe(\n      `user-notifications.${this.user.email}`\n    );\n    channel.bind(\"client_solvalibility_event\", async () => {\n      await this.download();\n    });\n    if (this.HasPermissionTO(\"all\", \"pv_insurance\")) {\n      this.config = {\n        sidebar: false,\n        secondaryToolbar: false,\n        toolbar: {\n          toolbarViewerLeft: {\n            findbar: true,\n            previous: true,\n            next: true,\n            pageNumber: true,\n          },\n          toolbarViewerRight: {\n            presentationMode: true,\n            openFile: false,\n            print: true,\n            download: true,\n            viewBookmark: false,\n          },\n          toolbarViewerMiddle: {\n            zoomOut: true,\n            zoomIn: true,\n            scaleSelectContainer: true,\n          },\n        },\n      };\n    }\n    this.recto = {\n      process: (\n        fieldName,\n        file,\n        metadata,\n        load,\n        error,\n        progress,\n        abort,\n        transfer,\n        options\n      ) => {\n        const reader = new FileReader();\n        reader.readAsDataURL(file);\n\n        const self = this;\n        reader.onload = function () {\n          axios({\n            method: \"post\",\n            url: `pv-insurance/contracts/${self.res.contract.id}/upload-attachments`,\n            data: { files: [{ file: reader.result, type: \"recto\" }] },\n            onUploadProgress: (e) => {\n              // updating progress indicator\n              progress(e.lengthComputable, e.loaded, e.total);\n            },\n          })\n            .then((response) => {\n              // passing the file id to FilePond\n\n              self.res.attachments.push(response.data.data[0]);\n              load(response.data.data[0].url);\n            })\n            .catch((thrown) => {\n              console.log(thrown);\n            });\n        };\n      },\n    };\n    this.verso = {\n      process: (\n        fieldName,\n        file,\n        metadata,\n        load,\n        error,\n        progress,\n        abort,\n        transfer,\n        options\n      ) => {\n        const reader = new FileReader();\n        reader.readAsDataURL(file);\n\n        const self = this;\n        reader.onload = function () {\n          axios({\n            method: \"post\",\n            url: `pv-insurance/contracts/${self.res.contract.id}/upload-attachments`,\n            data: { files: [{ file: reader.result, type: \"verso\" }] },\n            onUploadProgress: (e) => {\n              // updating progress indicator\n              progress(e.lengthComputable, e.loaded, e.total);\n            },\n          })\n            .then((response) => {\n              // passing the file id to FilePond\n\n              self.res.attachments.push(response.data.data[0]);\n              load(response.data.data[0].url);\n            })\n            .catch((thrown) => {\n              console.log(thrown);\n            });\n        };\n      },\n    };\n    this.others = {\n      process: (\n        fieldName,\n        file,\n        metadata,\n        load,\n        error,\n        progress,\n        abort,\n        transfer,\n        options\n      ) => {\n        const reader = new FileReader();\n        reader.readAsDataURL(file);\n\n        const self = this;\n        reader.onload = function () {\n          axios({\n            method: \"post\",\n            url: `pv-insurance/contracts/${self.res.contract.id}/upload-attachments`,\n            data: { files: [{ file: reader.result, type: \"others\" }] },\n            onUploadProgress: (e) => {\n              // updating progress indicator\n              progress(e.lengthComputable, e.loaded, e.total);\n            },\n          })\n            .then((response) => {\n              // passing the file id to FilePond\n\n              self.res.attachments.push(response.data.data[0]);\n              load(response.data.data[0].url);\n            })\n            .catch((thrown) => {\n              console.log(thrown);\n            });\n        };\n      },\n    };\n  },\n  methods: {\n    ...mapGetters(\"auth\", [\"HasPermissionTO\"]),\n    async download() {\n      this.loadingWizard = true;\n      this.document = this.documents[0].id;\n      this.DOWNLOAD_PDF(this.id)\n        .then((res) => {\n          this.loadingWizard = false;\n          this.res = res;\n\n          this.etat =\n            res.contract && this.res.contract.etat_contrat >= 0\n              ? this.res.contract.etat_contrat\n              : null;\n\n          this.pdf = res.pdf ? res.pdf[0] : \"\";\n          this.counter = res.attachments.length;\n        })\n        .catch((err) => console.log(err));\n    },\n    ...mapActions(\"p&v\", [\"DOWNLOAD_PDF\"]),\n    getFiles() {\n      this.files = this.$refs.drop.dropzone.files.map((item) => item.dataURL);\n    },\n    zoomItem(item) {\n      this.zoomPic = !this.zoomPic;\n      this.picToBeZoomed = item;\n    },\n    solvastyle(solva) {\n      if (solva && solva.solvabilite) {\n        return `background-color:${solva.solvabilite}`;\n      }\n      return \"background-color:#5c2d91\";\n    },\n    solvaborder(solva) {\n      if (solva && solva.solvabilite) {\n        return `border:1px solid ${solva.solvabilite}`;\n      }\n      return \"border:1px solid #5c2d91\";\n    },\n    smsSign() {\n      this.$swal({\n        title: this.$t(\"Signature par SMS !\"),\n        text: this.$t(\n          \"Vous êtes sur le point d'envoyer un SMS contenant le lien de signature au client, cet SMS coûte 0,095€ / l'unité et est a votre charge, voulez-vous continuer ?\"\n        ),\n        icon: \"warning\",\n        showCancelButton: true,\n        confirmButtonText: this.$t(\"Oui\"),\n        cancelButtonText: this.$t(\"Annuler\"),\n        customClass: {\n          confirmButton: \"btn btn-primary\",\n          cancelButton: \"btn btn-outline-danger ml-1\",\n        },\n        buttonsStyling: false,\n      }).then((result) => {\n        if (result.value) {\n          this.SendSMS(this.id).then((req) => {\n            this.SET_SMS_BALANCE(res.data);\n            this.$toast({\n              component: ToastificationContent,\n              props: {\n                title: this.$t(\"SMS envoyé avec success\"),\n                icon: \"SmartphoneIcon\",\n                variant: \"success\",\n              },\n            });\n          });\n        } else if (result.dismiss === \"cancel\") {\n          this.$swal({\n            title: this.$t(\"Annulée\"),\n            text: this.$t(\"La signature par sms est annulée :)\"),\n            icon: \"error\",\n            customClass: {\n              confirmButton: \"btn btn-success\",\n            },\n          });\n        }\n      });\n    },\n    draft() {\n      this.$swal({\n        title: this.$t(\"Supprimer ce contrat ?\"),\n        text: this.$t(\"Vous êtes sur le point de supprimer ce contrat\"),\n        icon: \"warning\",\n        showCancelButton: true,\n        confirmButtonText: this.$t(\"Oui, supprimer\"),\n        cancelButtonText: this.$t(\"Annuler\"),\n        customClass: {\n          confirmButton: \"btn btn-primary\",\n          cancelButton: \"btn btn-outline-danger ml-1\",\n        },\n        buttonsStyling: false,\n      }).then((result) => {\n        if (result.value) {\n          this.DELETE_PV(this.id)\n            .then(() =>\n              this.$swal({\n                icon: \"success\",\n                title: \"Supprimé\",\n                text: this.$t(\"Le contrat a été supprimé\"),\n                customClass: {\n                  confirmButton: \"btn btn-success\",\n                },\n              })\n            )\n            .then(() => {\n              this.$router.push({ name: \"HomeConsultant\" });\n            });\n        } else if (result.dismiss === \"cancel\") {\n          this.$swal({\n            title: this.$t(\"Annulée\"),\n            text: this.$t(\"Votre contrat n'a pas été supprimé :)\"),\n            icon: \"error\",\n            customClass: {\n              confirmButton: \"btn btn-success\",\n            },\n          });\n        }\n      });\n    },\n    edit() {\n      this.$router.push({\n        name: \"EditPv\",\n        params: { id: this.id },\n      });\n    },\n    checkSubmit() {\n      let check = true;\n      this.waiting.forEach((el) => {\n        check = check && el;\n      });\n      return check;\n    },\n    physicalSign() {\n      if (!this.checkRecto || !this.checkVerso) {\n        this.$toast({\n          component: ToastificationContent,\n          props: {\n            title: this.$t(\"Vous devez joindre les fichiers requis\"),\n            icon: \"AlertIcon\",\n            variant: \"error\",\n          },\n        });\n      } else {\n        this.$router.push({\n          name: \"Sign\",\n          params: {\n            data: JSON.stringify({\n              id: this.$route.params.id,\n              type: \"pv-insurance\",\n            }),\n          },\n        });\n      }\n      //\n    },\n    sendDocs() {\n      this.modalDocShow = false;\n\n      this.SEND_DOCUMENT({\n        id_client: this.res.contract.client.id,\n        id_doc: this.document,\n      }).then(() => {\n        this.$toast({\n          component: ToastificationContent,\n          props: {\n            title: this.$t(\"Document envoyé avec success\"),\n            icon: \"MailIcon\",\n            variant: \"success\",\n          },\n        });\n      });\n    },\n    mailSign() {\n      this.SendSignURL(this.id).then((req) => {\n        this.$toast({\n          component: ToastificationContent,\n          props: {\n            title: this.$t(\"E-Mail envoyé avec success\"),\n            icon: \"MailIcon\",\n            variant: \"success\",\n          },\n        });\n      });\n    },\n    ...mapActions(\"p&v\", [\n      \"ATTACH_FILES\",\n      \"SendSignURL\",\n      \"SendSMS\",\n      \"DELETE_PV\",\n    ]),\n    ...mapMutations(\"auth\", [\"SET_SMS_BALANCE\"]),\n    ...mapActions(\"statics\", [\"SEND_DOCUMENT\"]),\n  },\n  computed: {\n    checkRecto() {\n      return this.res.attachments.filter((el) => el.type == \"recto\").length > 0;\n    },\n    checkVerso() {\n      return this.res.attachments.filter((el) => el.type == \"verso\").length > 0;\n    },\n\n    checkNumber() {\n      if (\n        this.res &&\n        this.res.contract &&\n        this.res.contract.client &&\n        this.res.contract.client.numero_contact\n      ) {\n        const number = this.res.contract.client.numero_contact;\n        let check;\n        switch (number.length) {\n          case 10:\n            check = number.substring(0, 2) == \"04\";\n            break;\n          case 12:\n            check = number.substring(0, 4) == \"+324\";\n            break;\n          case 13:\n            check = number.substring(0, 4) == \"0032\";\n            break;\n          default:\n            check = false;\n        }\n        return check;\n      }\n      return false;\n    },\n    files() { },\n    ...mapGetters(\"auth\", {\n      user: \"GET_USER_DATA\",\n      is_reject_blocked: \"IS_REJECTED\",\n    }),\n    ...mapGetters(\"statics\", { alldocuments: \"GET_DOCUMENTS_UTILES\" }),\n    documents() {\n      return this.alldocuments.proximus;\n    },\n  },\n};\n</script>\n\n<style>\n.pdf-app .toolbar {\n  position: relative;\n  left: 0;\n  right: 0;\n  z-index: 100 !important;\n  cursor: default;\n}\n\n.dropzone-custom-content {\n  position: absolute;\n  top: 50%;\n  left: 50%;\n  transform: translate(-50%, -50%);\n  text-align: center;\n}\n\n.dropzone-custom-title {\n  margin-top: 0;\n  color: #66cc99;\n}\n\n.vue-dropzone>.dz-preview .dz-details {\n  background-color: rgb(20 229 100 / 80%) !important;\n}\n\n.subtitle {\n  color: black;\n}\n\n.dz-progress {\n  /* progress bar covers file name */\n  display: none !important;\n}\n\n.progress {\n  position: absolute;\n  top: 0;\n  z-index: 100000;\n  width: 100%;\n  height: 100%;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n}\n\n.progress div {\n  width: 60px;\n  height: 60px;\n}\n\n.greyscale {\n  /* opacity: 0.5;\n  filter: brightness(30%); */\n}\n\n.filepond--credits {\n  display: none !important;\n}\n\n.filepond--file-action-button.filepond--action-revert-item-processing {\n  display: none !important;\n}\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Detail.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Detail.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Detail.vue?vue&type=template&id=352c491a&\"\nimport script from \"./Detail.vue?vue&type=script&lang=js&\"\nexport * from \"./Detail.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Detail.vue?vue&type=style&index=0&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  null,\n  null\n  \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ListAll.vue?vue&type=style&index=0&lang=scss&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ResetUmail.vue?vue&type=style&index=0&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CRU.vue?vue&type=style&index=0&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-card',[_c('b-card-title',[_vm._v(_vm._s(_vm.$t(\"U-Safe Contrat - Nouveau\")))]),_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('validation-observer',{ref:\"form\"},[_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.validationForm.apply(null, arguments)}}},[_c('b-row',[_c('b-col',{attrs:{\"md\":\"12\"}},[_c('h6',[_vm._v(_vm._s(_vm.$t(\"Selectionnez votre client\")))]),_c('span',[_vm._v(_vm._s(_vm.$t( \"La liste ci-dessous représente tous les clients qui ont été ajoutés sur votre compte\" )))]),_c('b-form-group',[_c('validation-provider',{attrs:{\"name\":_vm.$t('Client'),\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('v-select',{attrs:{\"dir\":_vm.$store.state.appConfig.isRTL ? 'rtl' : 'ltr',\"options\":_vm.clients,\"disabled\":_vm.client!=null,\"reduce\":function (item) { return item.id; },\"label\":\"fullname\"},scopedSlots:_vm._u([{key:\"option\",fn:function(ref){\nvar nom = ref.nom;\nvar prenom = ref.prenom;\nreturn [_c('span',[_vm._v(\" \"+_vm._s(nom)+\" \"+_vm._s(prenom))])]}}],null,true),model:{value:(_vm.selected),callback:function ($$v) {_vm.selected=$$v},expression:\"selected\"}}),_c('small',{staticClass:\"text-danger\"},[_vm._v(_vm._s(errors[0]))])]}}])})],1)],1),(_vm.selected)?_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-row',[_c('b-col',{attrs:{\"md\":\"6\",\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":_vm.$t('Nom'),\"label-for\":\"nom\"}},[_c('b-form-input',{attrs:{\"id\":\"nom\",\"placeholder\":_vm.$t('Nom'),\"required\":\"\",\"readonly\":\"\"},model:{value:(_vm.form.nom),callback:function ($$v) {_vm.$set(_vm.form, \"nom\", $$v)},expression:\"form.nom\"}})],1)],1),_c('b-col',{attrs:{\"md\":\"6\",\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":_vm.$t('Prénom'),\"label-for\":\"prenom\"}},[_c('b-form-input',{attrs:{\"id\":\"prenom\",\"placeholder\":_vm.$t('Prénom'),\"required\":\"\",\"readonly\":\"\"},model:{value:(_vm.form.prenom),callback:function ($$v) {_vm.$set(_vm.form, \"prenom\", $$v)},expression:\"form.prenom\"}})],1)],1),_c('b-col',{attrs:{\"md\":\"6\",\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":_vm.$t('Adresse'),\"label-for\":\"adresse_client\"}},[_c('b-form-input',{attrs:{\"id\":\"adresse_client\",\"placeholder\":_vm.$t('Adresse'),\"required\":\"\",\"readonly\":\"\"},model:{value:(_vm.form.adresse_client),callback:function ($$v) {_vm.$set(_vm.form, \"adresse_client\", $$v)},expression:\"form.adresse_client\"}})],1)],1),_c('b-col',{attrs:{\"md\":\"3\",\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":_vm.$t('Numéro'),\"label-for\":\"adresse_client_numero\"}},[_c('b-form-input',{attrs:{\"id\":\"adresse_client_numero\",\"placeholder\":_vm.$t('Numéro'),\"readonly\":\"\",\"required\":\"\"},model:{value:(_vm.form.adresse_client_numero),callback:function ($$v) {_vm.$set(_vm.form, \"adresse_client_numero\", $$v)},expression:\"form.adresse_client_numero\"}})],1)],1),_c('b-col',{attrs:{\"md\":\"3\",\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":_vm.$t('Étage'),\"label-for\":\"adresse_client_etage\"}},[_c('b-form-input',{attrs:{\"id\":\"adresse_client_etage\",\"placeholder\":_vm.$t('Étage'),\"readonly\":\"\",\"required\":\"\"},model:{value:(_vm.form.adresse_client_etage),callback:function ($$v) {_vm.$set(_vm.form, \"adresse_client_etage\", $$v)},expression:\"form.adresse_client_etage\"}})],1)],1),_c('b-col',{attrs:{\"md\":\"4\",\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":_vm.$t('Boite'),\"label-for\":\"adresse_client_boite\"}},[_c('b-form-input',{attrs:{\"id\":\"adresse_client_boite\",\"placeholder\":_vm.$t('Boite'),\"readonly\":\"\",\"required\":\"\"},model:{value:(_vm.form.adresse_client_boite),callback:function ($$v) {_vm.$set(_vm.form, \"adresse_client_boite\", $$v)},expression:\"form.adresse_client_boite\"}})],1)],1),_c('b-col',{attrs:{\"md\":\"4\",\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":_vm.$t('Code postal'),\"label-for\":\"id_adresse_client_code_postal\"}},[_c('b-form-input',{attrs:{\"id\":\"id_adresse_client_code_postal\",\"placeholder\":_vm.$t('Code postal'),\"readonly\":\"\",\"required\":\"\"},model:{value:(_vm.adresse_client_code_postal),callback:function ($$v) {_vm.adresse_client_code_postal=$$v},expression:\"adresse_client_code_postal\"}})],1)],1),_c('b-col',{attrs:{\"md\":\"4\",\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":_vm.$t('Localité'),\"label-for\":\"localite\"}},[_c('b-form-input',{attrs:{\"id\":\"localite\",\"disabled\":\"\",\"placeholder\":_vm.$t('Code postal'),\"readonly\":\"\",\"required\":\"\"},model:{value:(_vm.localite[0].localite),callback:function ($$v) {_vm.$set(_vm.localite[0], \"localite\", $$v)},expression:\"localite[0].localite\"}})],1)],1),_c('b-col',{attrs:{\"md\":\"6\",\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"IBAN\",\"label-for\":\"iban\"}},[_c('b-form-input',{directives:[{name:\"mask\",rawName:\"v-mask\",value:('BE##############'),expression:\"'BE##############'\"}],attrs:{\"id\":\"iban\",\"type\":\"text\",\"placeholder\":\"BE99123412341234\",\"readonly\":\"\",\"required\":\"\"},model:{value:(_vm.form.iban),callback:function ($$v) {_vm.$set(_vm.form, \"iban\", $$v)},expression:\"form.iban\"}})],1)],1),_c('b-col',{attrs:{\"md\":\"6\",\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"BIC\",\"label-for\":\"bic\"}},[_c('b-form-input',{attrs:{\"id\":\"bic\",\"placeholder\":\"BIC\\n\",\"readonly\":\"\",\"required\":\"\"},model:{value:(_vm.form.bic),callback:function ($$v) {_vm.$set(_vm.form, \"bic\", $$v)},expression:\"form.bic\"}})],1)],1),_c('b-col',{attrs:{\"md\":\"12\",\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Commentaire\",\"label-for\":\"commentaire\"}},[_c('b-form-input',{attrs:{\"id\":\"commentaire\",\"placeholder\":\"commentaire\\n\",\"required\":\"\"},model:{value:(_vm.form.commentaire),callback:function ($$v) {_vm.$set(_vm.form, \"commentaire\", $$v)},expression:\"form.commentaire\"}})],1)],1)],1)],1):_vm._e()],1),_c('b-row',[_c('b-col',{staticClass:\"text-right\",attrs:{\"md\":\"12\",\"cols\":\"12\"}},[_c('b-button',{directives:[{name:\"ripple\",rawName:\"v-ripple.400\",value:('rgba(255, 255, 255, 0.15)'),expression:\"'rgba(255, 255, 255, 0.15)'\",modifiers:{\"400\":true}}],staticClass:\"mr-1\",attrs:{\"variant\":\"primary\",\"disabled\":_vm.disabled},on:{\"click\":_vm.save}},[_c('feather-icon',{staticClass:\"mr-50\",attrs:{\"icon\":\"UserPlusIcon\"}}),_c('span',{staticClass:\"align-middle\"},[_vm._v(_vm._s(_vm.$t(\"Enregistrer\")))])],1)],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <b-card>\n    <b-card-title>{{ $t(\"U-Safe Contrat - Nouveau\") }}</b-card-title>\n    <b-col cols=\"12\">\n      <validation-observer ref=\"form\">\n        <b-form @submit.prevent=\"validationForm\">\n          <b-row>\n            <b-col md=\"12\">\n              <h6>{{ $t(\"Selectionnez votre client\") }}</h6>\n\n              <span>{{\n                $t(\n                  \"La liste ci-dessous représente tous les clients qui ont été ajoutés sur votre compte\"\n                )\n              }}</span>\n\n              <b-form-group>\n                <validation-provider\n                  v-slot=\"{ errors }\"\n                  :name=\"$t('Client')\"\n                  rules=\"required\"\n                >\n                  <v-select\n                    v-model=\"selected\"\n                    :dir=\"$store.state.appConfig.isRTL ? 'rtl' : 'ltr'\"\n                    :options=\"clients\" :disabled=\"client!=null\" \n                    :reduce=\"(item) => item.id\"\n                    label=\"fullname\"\n                  >\n                    <template #option=\"{ nom, prenom }\">\n                      <span> {{ nom }} {{ prenom }}</span>\n                    </template>\n                  </v-select>\n                  <small class=\"text-danger\">{{ errors[0] }}</small>\n                </validation-provider>\n              </b-form-group>\n            </b-col>\n         \n            <!-- <b-col md=\"12\" cols=\"12\">\n            <b-form-group label=\"memes\" label-for=\"memes\">\n              <b-form-checkbox id=\"memes\" v-model=\"memes\"\n                >Mêmes coordonnées pour prélevement SEPA</b-form-checkbox\n              >\n            </b-form-group>\n          </b-col> -->\n            <b-col\n              v-if=\"selected\"\n              class=\"\"\n              cols=\"12\"\n            >\n              <b-row>\n                <b-col\n                  md=\"6\"\n                  cols=\"12\"\n                >\n                  <b-form-group\n                    :label=\"$t('Nom')\"\n                    label-for=\"nom\"\n                  >\n                    <b-form-input\n                      id=\"nom\"\n                      v-model=\"form.nom\"\n                      :placeholder=\"$t('Nom')\"\n                      required\n                      readonly\n                    />\n                  </b-form-group>\n                </b-col>\n                <b-col\n                  md=\"6\"\n                  cols=\"12\"\n                >\n                  <b-form-group\n                    :label=\"$t('Prénom')\"\n                    label-for=\"prenom\"\n                  >\n                    <b-form-input\n                      id=\"prenom\"\n                      v-model=\"form.prenom\"\n                      :placeholder=\"$t('Prénom')\"\n                      required\n                      readonly\n                    />\n                  </b-form-group>\n                </b-col>\n\n                <b-col\n                  md=\"6\"\n                  cols=\"12\"\n                >\n                  <b-form-group\n                    :label=\"$t('Adresse')\"\n                    label-for=\"adresse_client\"\n                  >\n                    <b-form-input\n                      id=\"adresse_client\"\n                      v-model=\"form.adresse_client\"\n                      :placeholder=\"$t('Adresse')\"\n                      required\n                      readonly\n                    />\n                  </b-form-group>\n                </b-col>\n                <b-col\n                  md=\"3\"\n                  cols=\"12\"\n                >\n                  <b-form-group\n                    :label=\"$t('Numéro')\"\n                    label-for=\"adresse_client_numero\"\n                  >\n                    <b-form-input\n                      id=\"adresse_client_numero\"\n                      v-model=\"form.adresse_client_numero\"\n                      :placeholder=\"$t('Numéro')\"\n                      readonly\n                      required\n                    />\n                  </b-form-group>\n                </b-col>\n                <b-col\n                  md=\"3\"\n                  cols=\"12\"\n                >\n                  <b-form-group\n                    :label=\"$t('Étage')\"\n                    label-for=\"adresse_client_etage\"\n                  >\n                    <b-form-input\n                      id=\"adresse_client_etage\"\n                      v-model=\"form.adresse_client_etage\"\n                      :placeholder=\"$t('Étage')\"\n                      readonly\n                      required\n                    />\n                  </b-form-group>\n                </b-col>\n                <b-col\n                  md=\"4\"\n                  cols=\"12\"\n                >\n                  <b-form-group\n                    :label=\"$t('Boite')\"\n                    label-for=\"adresse_client_boite\"\n                  >\n                    <b-form-input\n                      id=\"adresse_client_boite\"\n                      v-model=\"form.adresse_client_boite\"\n                      :placeholder=\"$t('Boite')\"\n                      readonly\n                      required\n                    />\n                  </b-form-group>\n                </b-col>\n                <b-col\n                  md=\"4\"\n                  cols=\"12\"\n                >\n                  <b-form-group\n                    :label=\"$t('Code postal')\"\n                    label-for=\"id_adresse_client_code_postal\"\n                  >\n                    <b-form-input\n                      id=\"id_adresse_client_code_postal\"\n                      v-model=\"adresse_client_code_postal\"\n                      :placeholder=\"$t('Code postal')\"\n                      readonly\n                      required\n                    />\n                  </b-form-group>\n                </b-col>\n                <b-col\n                  md=\"4\"\n                  cols=\"12\"\n                >\n                  <b-form-group\n                    :label=\"$t('Localité')\"\n                    label-for=\"localite\"\n                  >\n                    <b-form-input\n                      id=\"localite\"\n                      v-model=\"localite[0].localite\"\n                      disabled\n                      :placeholder=\"$t('Code postal')\"\n                      readonly\n                      required\n                    />\n                  </b-form-group>\n                </b-col>\n\n                <b-col\n                  md=\"6\"\n                  cols=\"12\"\n                >\n                  <b-form-group\n                    label=\"IBAN\"\n                    label-for=\"iban\"\n                  >\n                    <b-form-input\n                      id=\"iban\"\n                      v-model=\"form.iban\"\n                      v-mask=\"'BE##############'\"\n                      type=\"text\"\n                      placeholder=\"BE99123412341234\"\n                      readonly\n                      required\n                    />\n                  </b-form-group>\n                </b-col>\n                <b-col\n                  md=\"6\"\n                  cols=\"12\"\n                >\n                  <b-form-group\n                    label=\"BIC\"\n                    label-for=\"bic\"\n                  >\n                    <b-form-input\n                      id=\"bic\"\n                      v-model=\"form.bic\"\n                      placeholder=\"BIC\n\"\n                      readonly\n                      required\n                    />\n                  </b-form-group>\n                </b-col>\n\n                <b-col\n                  md=\"12\"\n                  cols=\"12\"\n                >\n                  <b-form-group\n                    label=\"Commentaire\"\n                    label-for=\"commentaire\"\n                  >\n                    <b-form-input\n                      id=\"commentaire\"\n                      v-model=\"form.commentaire\"\n                      placeholder=\"commentaire\n\"\n                      required\n                    />\n                  </b-form-group>\n                </b-col>\n              </b-row>\n            </b-col>\n          </b-row>\n          <b-row>\n            <b-col\n              md=\"12\"\n              cols=\"12\"\n              class=\"text-right\"\n            >\n              <b-button\n                v-ripple.400=\"'rgba(255, 255, 255, 0.15)'\"\n                variant=\"primary\"\n                class=\"mr-1\"\n                :disabled=\"disabled\"\n                @click=\"save\"\n              >\n                <feather-icon\n                  icon=\"UserPlusIcon\"\n                  class=\"mr-50\"\n                />\n                <span class=\"align-middle\">{{ $t(\"Enregistrer\") }}</span>\n              </b-button>\n            </b-col>\n          </b-row>\n        </b-form>\n      </validation-observer>\n    </b-col>\n  </b-card>\n</template>\n\n<script>\nimport vSelect from 'vue-select'\nimport Ripple from 'vue-ripple-directive'\n\nimport { ValidationProvider, ValidationObserver } from 'vee-validate'\n\nimport { mapGetters, mapActions } from 'vuex'\nimport ToastificationContentVue from '@/@core/components/toastification/ToastificationContent.vue'\n\nexport default {\n  components: { ValidationProvider, ValidationObserver, vSelect },\n  directives: {\n    Ripple,\n  },\n  data() {\n    return {\n      disabled: false,\n      form: {\n        id_utilisateur: 0,\n        nom: null,\n        prenom: null,\n        id_civilite: 1,\n        date_naissance: null,\n        numero_contact: null,\n        adresse_email: null,\n        numero_carte_identite: null,\n        type_client: 0,\n        nom_societe: null,\n        numero_tva: null,\n        id_forme_juridique: null,\n        langue: null,\n        iban: null,\n        bic: null,\n        adresse_client: null,\n        adresse_client_numero: null,\n        adresse_client_boite: null,\n        adresse_client_etage: null,\n        // type_facturation: 1,\n        id_adresse_client_code_postal: null,\n\n        commentaire: '',\n      },\n      usafe_contrat: {\n        id_mix_client: null,\n        id_utilisateur: null,\n        // type_facturation: null,\n        commentaire: null,\n      },\n      memes: true,\n      selected: null,\n      adresse_installation: false,\n      adresse_facturation: false,\n      adresse_client_code_postal: null,\n      client_types: [\n        { id: 0, affichage: this.$t('Client particulier') },\n        { id: 1, affichage: this.$t('Client professionnel') },\n      ],\n      formes_juridiques: [],\n      langues: [\n        { id: 'Fr', affichage: this.$t('Français - (FR)') },\n        { id: 'Nl', affichage: this.$t('Neérlandais - (NL)') },\n      ],\n      facturations: [\n        { id: '1', facturation: this.$t('Facturation mensuelle') },\n        { id: '2', facturation: this.$t('Facturation annuelle') },\n      ],\n      codes_postaux: [],\n      clients: [],\n\n      civilites: [\n        {\n          id: 1,\n          nom: 'mr',\n          affichage: this.$t('Monsieur'),\n        },\n        {\n          id: 2,\n          nom: 'mme',\n          affichage: this.$t('Madame'),\n        },\n        {\n          id: 3,\n          nom: 'mlle',\n          affichage: this.$t('Mademoiselle'),\n        },\n      ],\n      localite: [],\n    }\n  },\n  computed: {\n    ...mapGetters('auth', {\n      user: 'GET_USER_DATA',\n      is_reject_blocked: 'IS_REJECTED',\n    }),\n    ...mapGetters('data', ['GET_DATA']),\n    ...mapGetters('statics', ['GET_ALL_STATICS']),\n    u_app_interaction()\n    {\n      return this.client && this.$route.query.u_app_layout\n    },client() {\n      console.log('client',((this.$route.query && this.$route.query.client_id) || null))\n            return ((this.$route.query && this.$route.query.client_id) || null)\n\n    },\n  },\n  watch: {\n    'form.type_client': function (newVal, oldVal) {\n      if (newVal === 0 && oldVal == 1) {\n        this.form.nom_societe = null\n        this.form.numero_tva = null\n        this.form.id_forme_juridique = null\n      }\n    },\n    adresse_client_code_postal(newVal) {\n      if (newVal) {\n        this.localite = this.getLocalite(newVal)\n        if (this.localite.length > 0) {\n          this.form.id_adresse_client_code_postal = this.localite[0].id\n        }\n      }\n    },\n\n    selected(newVal) {\n      this.checkMeme()\n    },\n  },\n  async mounted() {\n    if (this.is_reject_blocked) {\n      this.$swal({\n        title: this.$t('Votre compte est suspendu !'),\n        text: this.$t(\n          'Vous avez atteint la limite de vos rejets, Veulliez les traiter sur U-Hub.',\n        ),\n        icon: 'warning',\n        showCancelButton: false,\n        confirmButtonText: this.$t('Voir mes contrats'),\n        customClass: {\n          confirmButton: 'btn btn-primary',\n        },\n        buttonsStyling: false,\n      }).then(result => {\n        if (result.value) {\n          this.$router.push({ name: 'ListProximus' })\n        }\n      })\n    }\n    const { codes_postaux, formes_juridiques } = this.GET_ALL_STATICS\n    this.codes_postaux = codes_postaux\n    this.formes_juridiques = formes_juridiques\n\n    await this.GET_MYCLIENTS({id:this.user.id}).then(res => {\n      if (res) {\n        const filtred = res.map(item => {\n          item.fullname = `${item.nom} ${item.prenom}`\n          return item\n        })\n        this.clients = filtred\n         if (this.client) {\n      this.selected  = Number(this.client)\n    }\n      }\n    })\n\n   \n  },\n  methods: {\n    ...mapActions('client', ['GET_MYCLIENTS']),\n    getLocalite(val) {\n      return this.codes_postaux.filter(item => item.code_postal == val)\n    },\n    checkMeme() {\n      if (this.selected) {\n        const client = this.clients.filter(\n          item => item.id == this.selected,\n        )[0]\n\n        this.form = client\n        // this.form.type_facturation = 1\n\n        const reverse = this.codes_postaux.filter(\n          item => item.id == this.form.id_adresse_client_code_postal,\n        )[0]\n\n        this.adresse_client_code_postal = reverse.code_postal\n      }\n\n      if (this.selected == null) {\n        this.form = {\n          id_utilisateur: 0,\n          nom: '',\n          prenom: '',\n          id_civilite: null,\n          date_naissance: null,\n          numero_contact: null,\n          adresse_email: null,\n          numero_carte_identite: null,\n          type_client: null,\n          nom_societe: null,\n          numero_tva: null,\n          id_forme_juridique: null,\n          langue: null,\n          iban: null,\n          bic: null,\n          adresse_client: null,\n          adresse_client_numero: null,\n          adresse_client_boite: null,\n          adresse_client_etage: null,\n          adresse_client_code_postal: null,\n          id_adresse_client_code_postal: null,\n          // type_facturation: 1,\n          commentaire: null,\n        }\n      }\n    },\n    async validationForm() {\n      this.$refs.form.validate().then(success => {\n        if (success) {\n          this.disabled = true // eslint-disable-next-line\n\n          this.usafe_contrat.id_mix_client = this.selected\n          this.usafe_contrat.id_utilisateur = this.user.id\n          // this.usafe_contrat.type_facturation = this.form.type_facturation\n          this.usafe_contrat.commentaire = this.form.commentaire\n\n          this.ADD_PV({ ...this.usafe_contrat,from_u_app: Boolean(this.u_app_interaction) })\n            .then(async res => {\n               let queryparams=this.$route.query\n            if(Boolean(this.u_app_interaction))\n            {\n              await this.SendSignURL(res.id)\n               window.parent.postMessage({ type: 'usell_contract_created',  data:{\"contract\":res,...queryparams} }, '*');\n               return;\n            }\n            else{\n              await this.SET_DATA({ key: 'ucare', data: res })\n              this.$toast({\n                component: ToastificationContentVue,\n                props: {\n                  title: this.$t('Contrat crée avec success'),\n                  variant: 'success',\n                },\n              })\n\n              this.$router.push({\n                name: 'DetailP&V',\n                params: { id: res.id },\n              })\n            }\n            })\n            .catch(err => {\n              console.log(err)\n              this.disabled = false\n              return false\n            })\n        }\n      })\n    },\n    async save() {\n      await this.validationForm()\n    },\n    ...mapActions('p&v', ['ADD_PV',\"SendSignURL\"]),\n    ...mapActions('data', ['SET_DATA']),\n  },\n}\n</script>\n<style lang=\"scss\">\n@import \"@core/scss/vue/libs/vue-select.scss\";\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CRU.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CRU.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CRU.vue?vue&type=template&id=5e4602fc&\"\nimport script from \"./CRU.vue?vue&type=script&lang=js&\"\nexport * from \"./CRU.vue?vue&type=script&lang=js&\"\nimport style0 from \"./CRU.vue?vue&type=style&index=0&lang=scss&\"\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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{},[_c('b-form-group',[_c('div',{staticClass:\"d-flex align-items-center\"},[_c('b-form-input',{attrs:{\"placeholder\":_vm.$t('Filtrez vos résultats'),\"type\":\"text\"},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.get_mypv.apply(null, arguments)}},model:{value:(_vm.serverParams.columnFilters),callback:function ($$v) {_vm.$set(_vm.serverParams, \"columnFilters\", $$v)},expression:\"serverParams.columnFilters\"}}),_c('b-btn',{on:{\"click\":_vm.get_mypv}},[_vm._v(\" Filtrer \")])],1)])],1),_c('vue-good-table',{attrs:{\"mode\":\"remote\",\"total-rows\":_vm.totalRecords,\"is-loading\":_vm.isLoading,\"pagination-options\":{\n    enabled: true,\n  },\"rows\":_vm.rows,\"columns\":_vm.columns},on:{\"update:isLoading\":function($event){_vm.isLoading=$event},\"update:is-loading\":function($event){_vm.isLoading=$event},\"on-page-change\":_vm.onPageChange,\"on-sort-change\":_vm.onSortChange,\"on-column-filter\":_vm.onColumnFilter,\"on-per-page-change\":_vm.onPerPageChange},scopedSlots:_vm._u([{key:\"table-row\",fn:function(props){return [(props.column.field === 'date_creation')?_c('span',{staticClass:\"text-nowrap\"},[_c('span',{staticClass:\"text-nowrap\"},[_c('span',[_vm._v(\" \"+_vm._s(_vm.$moment(props.row.date_creation).format(\"DD/MM/YYYY HH:mm\")))])])]):(props.column.field === 'signature.date_signature')?_c('span',{staticClass:\"text-nowrap\"},[_c('span',{staticClass:\"text-nowrap\"},[(props.row.signature && props.row.signature.date_signature)?_c('span',[_vm._v(_vm._s(_vm.$moment(props.row.signature.date_signature).format( \"DD/MM/YYYY HH:mm\" )))]):_vm._e(),_c('span')])]):(props.column.field === 'user')?_c('span',{staticClass:\"text-nowrap\"},[(props.row.user && props.row.user.nom && props.row.user.prenom)?_c('span',[_vm._v(\" \"+_vm._s(props.row.user.nom || '---')+\" \"+_vm._s(props.row.user.prenom || '---')+\" \")]):_c('span',[_vm._v(\" \"+_vm._s('---')+\" \"+_vm._s('---')+\" \")])]):(props.column.field === 'nom')?_c('span',{staticClass:\"text-nowrap\"},[_c('span',{staticClass:\"text-nowrap\"},[_vm._v(_vm._s(props.row.nom || props.row.client.nom)+\" \"+_vm._s(props.row.prenom || props.row.client.prenom))])]):(props.column.field === 'etat_contrat')?_c('span',[(props.row.etat_contrat === 3 &&\n          !props.row.id_contrat_3rd_party_odoo\n          )?_c('b-badge',{staticClass:\"mr-2\",attrs:{\"variant\":\"danger\"}},[_vm._v(\" Anomalie \")]):_vm._e(),(props.row.etat_contrat >= 0)?_c('b-badge',{attrs:{\"variant\":_vm.status[props.row.etat_contrat].color}},[_vm._v(\" \"+_vm._s(_vm.status[props.row.etat_contrat].text)+\" \")]):_c('b-badge',{attrs:{\"variant\":\"secondary\"}},[_vm._v(_vm._s(_vm.$t(\"En cours\")))])],1):(props.column.field === 'action')?_c('span',[_c('b-button-group',[_c('b-button',{directives:[{name:\"ripple\",rawName:\"v-ripple.400\",value:('rgba(113, 102, 240, 0.15)'),expression:\"'rgba(113, 102, 240, 0.15)'\",modifiers:{\"400\":true}}],attrs:{\"variant\":\"outline-primary\"},on:{\"click\":function($event){return _vm.details(props.row)}}},[_c('feather-icon',{attrs:{\"icon\":\"EyeIcon\"}})],1)],1)],1):(props.column.field === 'adresse_email')?_c('span',[(props.row.adresse_email)?_c('span',[_vm._v(\" \"+_vm._s(props.row.adresse_email)+\" \")]):_c('span',[_vm._v(\" \"+_vm._s(props.row.client.adresse_email)+\" \")])]):(props.column.field === 'numero_gsm')?_c('span',[(props.row.numero_gsm)?_c('span',[_vm._v(\" \"+_vm._s(props.row.numero_gsm)+\" \")]):_c('span',[_vm._v(\" \"+_vm._s(props.row.client.numero_contact)+\" \")])]):(props.column.field === 'status_contrat_3rd_party_odoo')?_c('span',[(!props.row.status_contrat_3rd_party_odoo.includes('Reject'))?_c('span',[_vm._v(\" \"+_vm._s(props.row.status_contrat_3rd_party_odoo)+\" \")]):_c('span',[_c('b-link',{attrs:{\"to\":{\n            name: 'tickets',\n            query: { search: props.row.id_contrat_3rd_party_odoo },\n          }}},[_vm._v(_vm._s(props.row.status_contrat_3rd_party_odoo))])],1)]):_c('span',[_vm._v(\" \"+_vm._s(props.formattedRow[props.column.field])+\" \")])]}}])}),_c('br')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <div>\n    <!-- search input -->\n    <div class=\"\">\n      <b-form-group>\n        <div class=\"d-flex align-items-center\">\n          <b-form-input v-model=\"serverParams.columnFilters\" :placeholder=\"$t('Filtrez vos résultats')\" type=\"text\"\n            @keyup.enter=\"get_mypv\" />\n          <b-btn @click=\"get_mypv\">\n            Filtrer\n          </b-btn>\n        </div>\n      </b-form-group>\n    </div>\n\n    <vue-good-table mode=\"remote\" :total-rows=\"totalRecords\" :is-loading.sync=\"isLoading\" :pagination-options=\"{\n      enabled: true,\n    }\" :rows=\"rows\" :columns=\"columns\" @on-page-change=\"onPageChange\" @on-sort-change=\"onSortChange\"\n      @on-column-filter=\"onColumnFilter\" @on-per-page-change=\"onPerPageChange\">\n      <template slot=\"table-row\" slot-scope=\"props\">\n        <!-- Column: Name -->\n\n        <!-- Column: date d'ajout -->\n        <span v-if=\"props.column.field === 'date_creation'\" class=\"text-nowrap\">\n          <span class=\"text-nowrap\"><span>\n              {{\n                $moment(props.row.date_creation).format(\"DD/MM/YYYY HH:mm\")\n              }}</span></span>\n        </span>\n\n        <span v-else-if=\"props.column.field === 'signature.date_signature'\" class=\"text-nowrap\">\n          <span class=\"text-nowrap\"><span v-if=\"props.row.signature && props.row.signature.date_signature\">{{\n            $moment(props.row.signature.date_signature).format(\n              \"DD/MM/YYYY HH:mm\"\n            )\n          }}</span>\n            <span />\n          </span>\n        </span>\n        <span v-else-if=\"props.column.field === 'user'\" class=\"text-nowrap\">\n          <span v-if=\"props.row.user && props.row.user.nom && props.row.user.prenom\">\n            {{ props.row.user.nom || '---' }} {{ props.row.user.prenom || '---' }}\n          </span>\n          <span v-else>\n            {{ '---' }} {{ '---' }}\n\n          </span>\n        </span>\n\n        <span v-else-if=\"props.column.field === 'nom'\" class=\"text-nowrap\">\n          <span class=\"text-nowrap\">{{ props.row.nom || props.row.client.nom }} {{ props.row.prenom\n            || props.row.client.prenom }}</span>\n        </span>\n\n        <!-- Column: Status -->\n        <span v-else-if=\"props.column.field === 'etat_contrat'\">\n          <b-badge v-if=\"props.row.etat_contrat === 3 &&\n            !props.row.id_contrat_3rd_party_odoo\n            \" variant=\"danger\" class=\"mr-2\">\n            Anomalie\n          </b-badge>\n          <b-badge v-if=\"props.row.etat_contrat >= 0\" :variant=\"status[props.row.etat_contrat].color\">\n            {{ status[props.row.etat_contrat].text }}\n          </b-badge>\n\n          <b-badge v-else variant=\"secondary\">{{ $t(\"En cours\") }}</b-badge>\n        </span>\n\n        <!-- Column: Action -->\n        <span v-else-if=\"props.column.field === 'action'\">\n          <b-button-group>\n            <b-button v-ripple.400=\"'rgba(113, 102, 240, 0.15)'\" variant=\"outline-primary\" @click=\"details(props.row)\">\n              <feather-icon icon=\"EyeIcon\" />\n            </b-button>\n          </b-button-group>\n        </span>\n\n        <span v-else-if=\"props.column.field === 'adresse_email'\">\n          <span v-if=\"props.row.adresse_email\">\n            {{ props.row.adresse_email }}\n          </span>\n          <span v-else>\n            {{ props.row.client.adresse_email }}\n          </span>\n        </span>\n        <span v-else-if=\"props.column.field === 'numero_gsm'\">\n          <span v-if=\"props.row.numero_gsm\">\n            {{ props.row.numero_gsm }}\n          </span>\n\n          <span v-else>\n            {{ props.row.client.numero_contact }}\n          </span>\n        </span>\n\n        <span v-else-if=\"props.column.field === 'status_contrat_3rd_party_odoo'\">\n          <span v-if=\"!props.row.status_contrat_3rd_party_odoo.includes('Reject')\">\n            {{ props.row.status_contrat_3rd_party_odoo }}\n          </span>\n\n          <span v-else>\n            <!-- <a\n              :href=\"`https://u-hub.app/search-and-access-for-ticket-by-odoo-status?id_odoo=${props.row.id_contrat_3rd_party_odoo}&contract_status=${props.row.status_contrat_3rd_party_odoo}`\"\n            >{{ props.row.status_contrat_3rd_party_odoo }}</a> -->\n\n            <b-link :to=\"{\n              name: 'tickets',\n              query: { search: props.row.id_contrat_3rd_party_odoo },\n            }\">{{ props.row.status_contrat_3rd_party_odoo }}</b-link>\n          </span>\n        </span>\n        <!-- Column: Common -->\n        <span v-else>\n          {{ props.formattedRow[props.column.field] }}\n        </span>\n      </template>\n    </vue-good-table>\n    <br>\n  </div>\n</template>\n\n<script>\nimport { VueGoodTable } from 'vue-good-table'\nimport store from '@/store/index'\nimport Ripple from 'vue-ripple-directive'\nimport { mapActions, mapGetters } from 'vuex'\n\nexport default {\n  components: {\n    VueGoodTable,\n  },\n  data() {\n    return {\n      disabled: false,\n      isLoading: false,\n\n      rows: [],\n      totalRecords: 0,\n      serverParams: {\n        columnFilters: '',\n        sort: [\n          {\n            field: '',\n            type: '',\n          },\n        ],\n        page: 1,\n        perPage: 10,\n      },\n      columns: [\n        { label: \"ID\", field: \"id\" },\n        {\n          label: this.$t(\"Date de création\"),\n          field: \"date_creation\",\n        },\n        {\n          label: this.$t(\"Date de signature\"),\n          field: \"signature.date_signature\",\n        },\n        {\n          label: this.$t(\"Conusltant\"),\n          field: \"user\",\n        },\n        {\n          label: this.$t(\"Email\"),\n          field: \"adresse_email\",\n        },\n        {\n          label: this.$t(\"Nom & Prénom\"),\n          field: \"nom\",\n        },\n        {\n          label: this.$t(\"N° de contact\"),\n          field: \"numero_gsm\",\n        },\n        // {\n        //   label: \"Existing\",\n        //   field: \"status_contrat_3rd_party_odoo\",\n        // },\n        {\n          label: this.$t(\"Etat de contrat\"),\n          field: \"etat_contrat\",\n        },\n        // {\n        //   label: this.$t(\"Statut Odoo\"),\n        //   field: \"status_contrat_3rd_party_odoo\",\n        // },\n        {\n          label: this.$t(\"Actions\"),\n          field: \"action\",\n        },\n      ],\n      status: [\n        { key: 0, text: this.$t('Brouillon'), color: 'warning' },\n        { key: 1, text: this.$t('PDF Généré'), color: 'primary' },\n        { key: 2, text: this.$t('Signature En Attente'), color: 'info' },\n        { key: 3, text: this.$t('Signé'), color: 'success' },\n      ],\n    }\n  },\n  computed: {\n    ...mapGetters('auth', {\n      user: 'GET_USER_DATA',\n      is_reject_blocked: 'IS_REJECTED',\n    }),\n    statusVariant(key) {\n      const statusColor = {\n        /* eslint-disable key-spacing */\n        orange: 'light-warning',\n        red: 'light-danger',\n        green: 'light-success',\n\n        /* eslint-enable key-spacing */\n      }\n\n      return key => statusColor[key]\n    },\n    direction() {\n      if (store.state.appConfig.isRTL) {\n        // eslint-disable-next-line vue/no-side-effects-in-computed-properties\n        this.dir = true\n        return this.dir\n      }\n      // eslint-disable-next-line vue/no-side-effects-in-computed-properties\n      this.dir = false\n      return this.dir\n    },\n  },\n  created() { },\n  async mounted() {\n    this.get_mypv()\n  },\n  methods: {\n    async get_mypv() {\n      await this.GET_ALL_PV(this.serverParams).then(res => {\n        if (res) {\n          this.rows = res.data\n          this.isLoading = false\n          this.totalRecords = res.count\n        }\n      })\n    },\n    ...mapActions('p&v', ['GET_ALL_PV', 'DELETE_PV']),\n    details(item) {\n      this.$router.push({ name: 'DetailP&V', params: { id: item.id } })\n    },\n    updateParams(newProps) {\n      this.serverParams = { ...this.serverParams, ...newProps }\n    },\n\n    onPageChange(params) {\n      this.updateParams({ page: params.currentPage })\n      this.get_mypv()\n    },\n\n    onPerPageChange(params) {\n      this.updateParams({ perPage: params.currentPerPage || 10000, page: 1 })\n\n      this.get_mypv()\n    },\n\n    onSortChange(params) {\n      this.updateParams({\n        sort: params,\n      })\n      this.get_mypv()\n    },\n\n    onColumnFilter(params) {\n      this.updateParams(params)\n      this.get_mypv()\n    },\n\n    // load items is what brings back the rows from server\n  },\n  directives: {\n    Ripple,\n  },\n}\n</script>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ListAll.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ListAll.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ListAll.vue?vue&type=template&id=484267ba&\"\nimport script from \"./ListAll.vue?vue&type=script&lang=js&\"\nexport * from \"./ListAll.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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-card',{attrs:{\"title\":\"Notifications Compaigns\"}},[_c('b-card-action',{staticClass:\"d-flex justify-content-between\"},[_c('div'),_c('b-btn',{attrs:{\"variant\":\"primary\"},on:{\"click\":function($event){_vm.dialog = true}}},[_vm._v(\" \"+_vm._s(_vm.$t('Add New Compaign'))+\" \")])],1),_c('b-card-text',{staticClass:\"mt-3\"},[_c('vue-good-table',{attrs:{\"columns\":_vm.columns,\"rows\":_vm.rows,\"pagination-options\":{\n                enabled: true\n              }},scopedSlots:_vm._u([{key:\"table-row\",fn:function(props){return [(props.column.field == 'date')?_c('span',[(props.row.date)?_c('span',[_vm._v(_vm._s(_vm.$moment.utc(props.row.date).local().format('YYYY-MM-DD HH:mm')))]):_c('span',[_vm._v(_vm._s(_vm.$moment(props.row.created_at).format('YYYY-MM-DD HH:mm')))])]):(props.column.field == 'created_at')?_c('span',[_vm._v(\" \"+_vm._s(_vm.$moment(props.row.created_at).format('YYYY-MM-DD HH:mm'))+\" \")]):(props.column.field == 'author')?_c('span',[_vm._v(\" \"+_vm._s(props.row.author.nom)+\" \"+_vm._s(props.row.author.prenom)+\" \")]):(props.column.field == 'repeat')?_c('span',[(props.row.repeat)?_c('span',[_vm._v(_vm._s(_vm.$t('Répétable')))]):_c('span',[_vm._v(_vm._s(_vm.$t('Once')))])]):(props.column.field == 'action')?_c('span',[(props.row.repeat && props.row.status=='Active')?_c('span',[_c('b-btn',[_vm._v(\" \"+_vm._s(_vm.$t('Désactivate'))+\" \")])],1):_vm._e()]):_c('span',[_vm._v(\" \"+_vm._s(props.formattedRow[props.column.field])+\" \")])]}}])})],1)],1),_c('b-modal',{attrs:{\"size\":\"lg\",\"hide-footer\":\"\"},model:{value:(_vm.dialog),callback:function ($$v) {_vm.dialog=$$v},expression:\"dialog\"}},[_c('b-card',{attrs:{\"title\":_vm.$t('Notification Compaign')}},[_c('form-wizard',{staticClass:\"steps-transparent mb-3\",attrs:{\"color\":\"#7367F0\",\"title\":null,\"subtitle\":null,\"finish-button-text\":_vm.$t('Finaliser'),\"back-button-text\":_vm.$t('Précédent'),\"next-button-text\":_vm.$t('Suivant')},on:{\"on-complete\":_vm.formSubmitted}},[_c('tab-content',{attrs:{\"title\":_vm.$t('Notification'),\"icon\":\"feather icon-file-text\",\"before-change\":_vm.validateStep1}},[_c('validation-observer',{ref:\"step1\",attrs:{\"tag\":\"form\"}},[_c('b-row',[_c('b-col',{staticClass:\"mb-2\",attrs:{\"cols\":\"12\"}},[_c('h5',{staticClass:\"mb-0\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"Notification Compaign\"))+\" \")])]),_c('b-col',{attrs:{\"md\":\"12\"}},[_c('validation-provider',{attrs:{\"name\":_vm.$t('Title'),\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n              var errors = ref.errors;\nreturn [_c('b-form-group',{attrs:{\"label\":_vm.$t('Title'),\"label-for\":\"vi-title\"}},[_c('b-form-input',{attrs:{\"id\":\"vi-title\",\"placeholder\":\"Title\"},model:{value:(_vm.editedItem.title),callback:function ($$v) {_vm.$set(_vm.editedItem, \"title\", $$v)},expression:\"editedItem.title\"}})],1),_c('small',{staticClass:\"text-danger\"},[_vm._v(_vm._s(errors[0]))])]}}])})],1),_c('b-col',{attrs:{\"md\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":_vm.$t('Body'),\"label-for\":\"vi-Body\"}},[_c('validation-provider',{attrs:{\"name\":_vm.$t('Body'),\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n              var errors = ref.errors;\nreturn [_c('b-form-textarea',{attrs:{\"id\":\"vi-Body\",\"placeholder\":_vm.$t('Enter your message') +'...'},model:{value:(_vm.editedItem.body),callback:function ($$v) {_vm.$set(_vm.editedItem, \"body\", $$v)},expression:\"editedItem.body\"}}),_c('small',{staticClass:\"text-danger\"},[_vm._v(_vm._s(errors[0]))])]}}])})],1)],1)],1)],1)],1),_c('tab-content',{attrs:{\"title\":_vm.$t('Target'),\"icon\":\"feather icon-user\",\"before-change\":_vm.validateStep2}},[_c('validation-observer',{ref:\"step2\",attrs:{\"tag\":\"form\"}},[_c('b-row',[_c('b-col',{staticClass:\"mb-2\",attrs:{\"cols\":\"12\"}},[_c('h5',{staticClass:\"mb-0\"},[_vm._v(_vm._s(_vm.$t('Target')))])]),_c('b-col',{staticClass:\"mx-2\",attrs:{\"md\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":((_vm.$t('To All Users')) + \"?\")}},[_c('validation-provider',{attrs:{\"name\":_vm.$t('To All Users'),\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n              var errors = ref.errors;\nreturn [_c('b-form-radio-group',{staticClass:\"my-1\",attrs:{\"name\":\"type\"},model:{value:(_vm.editedItem.target_select),callback:function ($$v) {_vm.$set(_vm.editedItem, \"target_select\", $$v)},expression:\"editedItem.target_select\"}},[_vm._l((_vm.target_options),function(option){return [_c('b-form-radio',{key:option.id,staticClass:\"rounded-pill mx-1\",attrs:{\"value\":option.id}},[_vm._v(\" \"+_vm._s(_vm.$t(option.text))+\" \")])]})],2),_c('small',{staticClass:\"text-danger\"},[_vm._v(_vm._s(errors[0]))])]}}])})],1)],1),(_vm.editedItem.target_select == 1)?_c('b-col',{staticClass:\"mx-2\",attrs:{\"md\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":_vm.$t('Select Specific Users')}},[_c('validation-provider',{attrs:{\"name\":_vm.$t('users'),\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n              var errors = ref.errors;\nreturn [_c('b-form-input',{staticClass:\"d-none\",attrs:{\"id\":\"users\",\"placeholder\":\"users\",\"value\":_vm.editedItem.users.length ? _vm.editedItem.users.length : null}}),_c('v-select',{staticClass:\"form\",attrs:{\"dir\":_vm.$store.state.appConfig.isRTL ? 'rtl' : 'ltr',\"options\":_vm.users,\"label\":\"nom\",\"filterable\":false,\"multiple\":\"\",\"reduce\":function (item) { return item.id; },\"selectable\":function () { return true; }},on:{\"search\":_vm.onSearchUsers,\"option:selecting\":_vm.onSelectElement},scopedSlots:_vm._u([{key:\"header\",fn:function(){return [_c('div',{staticStyle:{\"opacity\":\"0.8\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"Nombre des utilisateurs sélectionnées est\"))+\" (\"+_vm._s(_vm.editedItem.users.length)+\") \")])]},proxy:true},{key:\"open-indicator\",fn:function(ref){\n              var attributes = ref.attributes;\nreturn [_c('span',_vm._b({},'span',attributes,false),[_vm._v(\"🔽\")])]}},{key:\"option\",fn:function(ref){\n              var nom = ref.nom;\n              var prenom = ref.prenom;\n              var email = ref.email;\nreturn [_c('div',[_c('span',[_vm._v(\" \"+_vm._s(nom)+\" \"+_vm._s(prenom))])])]}},{key:\"selected-option-container\",fn:function(ref){\n                                            var option = ref.option;\n                                            var deselect = ref.deselect;\n                                            var multiple = ref.multiple;\n                                            var disabled = ref.disabled;\nreturn [_c('div',{staticClass:\"vs__selected d-none\"})]}}],null,true)}),_c('small',{staticClass:\"text-danger\"},[_vm._v(_vm._s(errors[0]))])]}}],null,false,630311921)})],1)],1):_vm._e()],1)],1)],1),_c('tab-content',{attrs:{\"title\":\"Scheduling\",\"icon\":\"feather icon-map-pin\",\"before-change\":_vm.validateStep3}},[_c('validation-observer',{ref:\"step3\",attrs:{\"tag\":\"form\"}},[_c('b-row',[_c('b-col',{staticClass:\"mb-2\",attrs:{\"cols\":\"12\"}},[_c('h5',{staticClass:\"mb-0\"},[_vm._v(\"Scheduling\")])]),_c('b-col',{attrs:{\"md\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":_vm.$t('To All Users ?')}},[_c('validation-provider',{attrs:{\"name\":_vm.$t('Specify Date'),\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n                                            var errors = ref.errors;\nreturn [_c('b-form-radio-group',{staticClass:\"my-1\",attrs:{\"name\":\"date\"},model:{value:(_vm.editedItem.date_select),callback:function ($$v) {_vm.$set(_vm.editedItem, \"date_select\", $$v)},expression:\"editedItem.date_select\"}},[_vm._l((_vm.date_options),function(option){return [_c('b-form-radio',{key:option.id,staticClass:\"rounded-pill mx-1\",attrs:{\"value\":option.id}},[_vm._v(\" \"+_vm._s(_vm.$t(option.text))+\" \")])]})],2),_c('small',{staticClass:\"text-danger\"},[_vm._v(_vm._s(errors[0]))])]}}])})],1)],1),(_vm.editedItem.date_select == 1)?_c('div',[_c('b-col',{attrs:{\"md\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":_vm.$t('Date and Time'),\"label-for\":\"rendez-vous\"}},[_c('validation-provider',{attrs:{\"name\":_vm.$t('Date and Time'),\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n                                            var errors = ref.errors;\nreturn [_c('flat-pickr',{staticClass:\"form-control\",staticStyle:{\"background-color\":\"transparent\"},attrs:{\"config\":_vm.config},model:{value:(_vm.editedItem.date),callback:function ($$v) {_vm.$set(_vm.editedItem, \"date\", $$v)},expression:\"editedItem.date\"}}),_c('small',{staticClass:\"text-danger\"},[_vm._v(_vm._s(errors[0]))])]}}],null,false,2992161541)})],1)],1),_c('b-col',{attrs:{\"md\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":_vm.$t('Repeat')}},[_c('validation-provider',{attrs:{\"name\":_vm.$t('Date and Time'),\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n                                            var errors = ref.errors;\nreturn [_c('b-form-radio-group',{staticClass:\"my-1\",attrs:{\"name\":\"repeat\"},model:{value:(_vm.editedItem.repeat),callback:function ($$v) {_vm.$set(_vm.editedItem, \"repeat\", $$v)},expression:\"editedItem.repeat\"}},[_vm._l((_vm.repeat_options),function(option){return [_c('b-form-radio',{key:option.id,staticClass:\"rounded-pill mx-1\",attrs:{\"value\":option.id}},[_vm._v(\" \"+_vm._s(_vm.$t(option.text))+\" \")])]})],2),_c('small',{staticClass:\"text-danger\"},[_vm._v(_vm._s(errors[0]))])]}}],null,false,1927472750)})],1)],1)],1):_vm._e()],1)],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n    <div>\n        <b-card title=\"Notifications Compaigns\">\n            <b-card-action class=\"d-flex justify-content-between\">\n                <div></div>\n                <b-btn variant=\"primary\" @click=\"dialog = true\">\n                    {{$t('Add New Compaign')}}\n                </b-btn>\n            </b-card-action>\n            <b-card-text class=\"mt-3\">\n                <vue-good-table :columns=\"columns\" :rows=\"rows\"  :pagination-options=\"{\n                    enabled: true\n                  }\">\n\n                    <template slot=\"table-row\" slot-scope=\"props\">\n                        <span v-if=\"props.column.field == 'date'\">\n                          <span v-if=\"props.row.date\">{{$moment.utc(props.row.date).local().format('YYYY-MM-DD HH:mm')}}</span> \n                          <span v-else>{{$moment(props.row.created_at).format('YYYY-MM-DD HH:mm')}}</span> \n                        </span>\n                        <span v-else-if=\"props.column.field == 'created_at'\">\n                           {{$moment(props.row.created_at).format('YYYY-MM-DD HH:mm')}}\n                        </span>\n                        <span v-else-if=\"props.column.field == 'author'\">\n                            {{props.row.author.nom}} {{props.row.author.prenom}}\n                         </span>\n                        <span v-else-if=\"props.column.field == 'repeat'\">\n                            <span v-if=\"props.row.repeat\">{{$t('Répétable')}}</span> \n                            <span v-else>{{$t('Once')}}</span> \n                          </span>\n                          <span v-else-if=\"props.column.field == 'action'\">\n                            <span v-if=\"props.row.repeat && props.row.status=='Active'\">\n                                <b-btn>\n                                    {{$t('Désactivate')}}\n                                </b-btn>\n                            </span> \n                         \n                          </span>\n                        <span v-else>\n                          {{props.formattedRow[props.column.field]}}\n                        </span>\n                      </template>\n                </vue-good-table>\n            </b-card-text>\n\n        </b-card>\n        <b-modal v-model=\"dialog\" size=\"lg\" hide-footer>\n            <b-card :title=\"$t('Notification Compaign')\">\n                <form-wizard color=\"#7367F0\" :title=\"null\" :subtitle=\"null\" :finish-button-text=\"$t('Finaliser')\"\n                    :back-button-text=\"$t('Précédent')\" :next-button-text=\"$t('Suivant')\" class=\"steps-transparent mb-3\"\n                    @on-complete=\"formSubmitted\">\n                    <!-- account details tab -->\n                    <tab-content :title=\"$t('Notification')\" icon=\"feather icon-file-text\"\n                        :before-change=\"validateStep1\">\n                        <validation-observer ref=\"step1\" tag=\"form\">\n                            <b-row>\n                                <b-col cols=\"12\" class=\"mb-2\">\n                                    <h5 class=\"mb-0\">\n                                        {{ $t(\"Notification Compaign\") }}\n                                    </h5>\n                                </b-col>\n                                <b-col md=\"12\">\n                                    <validation-provider v-slot=\"{ errors }\" :name=\"$t('Title')\" rules=\"required\">\n                                        <b-form-group :label=\"$t('Title')\" label-for=\"vi-title\">\n                                            <b-form-input id=\"vi-title\" placeholder=\"Title\"\n                                                v-model=\"editedItem.title\" />\n                                        </b-form-group>\n                                        <small class=\"text-danger\">{{ errors[0] }}</small>\n                                    </validation-provider>\n                                </b-col>\n                                <b-col md=\"12\">\n                                    <b-form-group :label=\"$t('Body')\" label-for=\"vi-Body\">\n                                        <validation-provider v-slot=\"{ errors }\" :name=\"$t('Body')\" rules=\"required\">\n                                            <b-form-textarea id=\"vi-Body\" v-model=\"editedItem.body\"\n                                                :placeholder=\"$t('Enter your message') +'...'\" />\n                                            <small class=\"text-danger\">{{ errors[0] }}</small>\n                                        </validation-provider>\n                                    </b-form-group>\n                                </b-col>\n                            </b-row>\n                        </validation-observer>\n                    </tab-content>\n\n                    <!-- personal details tab -->\n                    <tab-content :title=\"$t('Target')\" icon=\"feather icon-user\" :before-change=\"validateStep2\">\n                        <validation-observer ref=\"step2\" tag=\"form\">\n                            <b-row>\n                                <b-col cols=\"12\" class=\"mb-2\">\n                                    <h5 class=\"mb-0\">{{$t('Target')}}</h5>\n                                </b-col>\n                                <b-col md=\"12\" class=\"mx-2\">\n                                    <b-form-group :label=\"`${$t('To All Users')}?`\">\n                                        <validation-provider v-slot=\"{ errors }\" :name=\"$t('To All Users')\"\n                                            rules=\"required\">\n                                            <b-form-radio-group v-model=\"editedItem.target_select\" name=\"type\"\n                                                class=\"my-1\">\n                                                <template v-for=\"option in target_options\">\n                                                    <b-form-radio :key=\"option.id\" :value=\"option.id\"\n                                                        class=\"rounded-pill mx-1\">\n                                                        {{ $t(option.text) }}\n                                                    </b-form-radio>\n                                                </template>\n                                            </b-form-radio-group>\n                                            <small class=\"text-danger\">{{ errors[0] }}</small>\n                                        </validation-provider>\n                                    </b-form-group>\n                                </b-col>\n                                <b-col md=\"12\" v-if=\"editedItem.target_select == 1\" class=\"mx-2\">\n                                    <b-form-group :label=\"$t('Select Specific Users')\">\n                                        <validation-provider v-slot=\"{ errors }\" :name=\"$t('users')\" rules=\"required\">\n                                            <b-form-input id=\"users\" placeholder=\"users\" class=\"d-none\"\n                                                :value=\"editedItem.users.length ? editedItem.users.length : null\" />\n                                            <v-select class=\"form\" :dir=\"$store.state.appConfig.isRTL ? 'rtl' : 'ltr'\"\n                                                :options=\"users\" label=\"nom\" :filterable=\"false\" multiple\n                                                :reduce=\"(item) => item.id\" :selectable=\"() => true\"\n                                                @search=\"onSearchUsers\" @option:selecting=\"onSelectElement\">\n                                                <template #header>\n                                                    <div style=\"opacity: 0.8\">\n                                                        {{ $t(\"Nombre des utilisateurs sélectionnées est\") }} ({{\n                                                                editedItem.users.length\n                                                        }})\n                                                    </div>\n                                                </template>\n                                                <template #open-indicator=\"{ attributes }\">\n                                                    <span v-bind=\"attributes\">🔽</span>\n                                                </template>\n                                                <template #option=\"{ nom, prenom, email }\">\n                                                    <div>\n                                                        <span> {{ nom }} {{ prenom }}</span>\n                                                    </div>\n                                                </template>\n                                                <template #selected-option-container=\"{\n                                                    option,\n                                                    deselect,\n                                                    multiple,\n                                                    disabled,\n                                                }\">\n                                                    <div class=\"vs__selected d-none\" />\n                                                </template>\n                                            </v-select>\n                                            <small class=\"text-danger\">{{ errors[0] }}</small>\n                                        </validation-provider>\n                                    </b-form-group>\n                                </b-col>\n                            </b-row>\n                        </validation-observer>\n                    </tab-content>\n\n                    <!-- address -->\n                    <tab-content title=\"Scheduling\" icon=\"feather icon-map-pin\" :before-change=\"validateStep3\">\n                        <validation-observer ref=\"step3\" tag=\"form\">\n                            <b-row>\n                                <b-col cols=\"12\" class=\"mb-2\">\n                                    <h5 class=\"mb-0\">Scheduling</h5>\n                                </b-col>\n                                <b-col md=\"12\">\n                                    <b-form-group :label=\"$t('To All Users ?')\">\n                                        <validation-provider v-slot=\"{ errors }\" :name=\"$t('Specify Date')\"\n                                            rules=\"required\">\n                                            <b-form-radio-group v-model=\"editedItem.date_select\" name=\"date\"\n                                                class=\"my-1\">\n                                                <template v-for=\"option in date_options\">\n                                                    <b-form-radio :key=\"option.id\" :value=\"option.id\"\n                                                        class=\"rounded-pill mx-1\">\n                                                        {{ $t(option.text) }}\n                                                    </b-form-radio>\n                                                </template>\n                                            </b-form-radio-group>\n                                            <small class=\"text-danger\">{{ errors[0] }}</small>\n                                        </validation-provider>\n                                    </b-form-group>\n                                </b-col>\n                                <div v-if=\"editedItem.date_select == 1\">\n                                    <b-col md=\"12\">\n                                        <b-form-group :label=\"$t('Date and Time')\" label-for=\"rendez-vous\">\n                                            <validation-provider v-slot=\"{ errors }\" :name=\"$t('Date and Time')\"\n                                                rules=\"required\">\n                                                <flat-pickr v-model=\"editedItem.date\" class=\"form-control\"\n                                                    style=\"background-color: transparent\" :config=\"config\" />\n                                                <small class=\"text-danger\">{{ errors[0] }}</small>\n                                            </validation-provider>\n                                        </b-form-group>\n                                    </b-col>\n                                    <b-col md=\"12\">\n                                        <b-form-group :label=\"$t('Repeat')\">\n                                            <validation-provider v-slot=\"{ errors }\" :name=\"$t('Date and Time')\"\n                                                rules=\"required\">\n                                                <b-form-radio-group v-model=\"editedItem.repeat\" name=\"repeat\"\n                                                    class=\"my-1\">\n                                                    <template v-for=\"option in repeat_options\">\n                                                        <b-form-radio :key=\"option.id\" :value=\"option.id\"\n                                                            class=\"rounded-pill mx-1\">\n                                                            {{ $t(option.text) }}\n                                                        </b-form-radio>\n                                                    </template>\n                                                </b-form-radio-group>\n                                                <small class=\"text-danger\">{{ errors[0] }}</small>\n                                            </validation-provider>\n                                        </b-form-group>\n\n                                    </b-col>\n                                </div>\n                            </b-row>\n                        </validation-observer>\n                    </tab-content>\n                </form-wizard>\n            </b-card>\n        </b-modal>\n    </div>\n</template>\n<script>\nimport 'vue-good-table/dist/vue-good-table.css'\nimport { VueGoodTable } from 'vue-good-table';\nimport { FormWizard, TabContent } from \"vue-form-wizard\";\nimport vSelect from \"vue-select\";\nimport \"vue-form-wizard/dist/vue-form-wizard.min.css\";\nimport ToastificationContent from \"@core/components/toastification/ToastificationContent.vue\";\nimport { mapActions, mapGetters, mapMutations } from \"vuex\";\nimport flatPickr from \"vue-flatpickr-component\";\nimport { ValidationProvider, ValidationObserver } from \"vee-validate\";\n\nimport \"flatpickr/dist/flatpickr.css\";\nexport default {\n    components: {\n        VueGoodTable,\n        FormWizard,\n        TabContent,\n        flatPickr,\n        ValidationProvider,\n        ValidationObserver,\n        vSelect,\n        // eslint-disable-next-line vue/no-unused-components\n        ToastificationContent,\n    },\n    data() {\n        return {\n            target_select: 0,\n            timerusers: null,\n            dialog: false,\n            dialogDelete: false,\n            editedIndex: -1,\n            editedItem: {\n                target_select: 0,\n                users: [],\n                date_select: 0,\n                title: '',\n                body: '',\n                date: null,\n                repeat: 0,\n                \n            },\n            defaultItem: {\n              \n                target_select: 0,\n                users: [],\n                date_select: 0,\n                title: '',\n                body: '',\n                date: null,\n                repeat: 0,\n            },\n            date_options: [\n                {\n                    id: 0,\n                    text: 'Now'\n                },\n                {\n                    id: 1,\n                    text: 'Specific Date'\n                },\n            ],\n\n            repeat_options: [\n                {\n                    id: 0,\n                    text: \"Once\",\n                },\n                {\n                    id: 1,\n                    text: \"Daily\",\n                },\n            ],\n            config: {\n                enableTime: true,\n                dateFormat: \"Y-m-d H:i\",\n                minDate: this.$moment().format(\"YYYY-MM-DD HH:mm\"),\n                locale: null,\n            },\n            target_options: [\n                {\n                    id: 0,\n                    text: \"True\",\n                },\n                {\n                    id: 1,\n                    text: \"False\",\n                },\n            ],\n            users: [],\n            columns: [\n                {\n                    label: this.$t('Date de creation'),\n                    field: 'created_at',\n                    \n                    \n                },\n                {\n                    label: this.$t('Author'),\n                    field: 'author',\n                    type: 'string',\n                    \n                },\n                {\n                    label: this.$t('Title'),\n                    field: 'title',\n                    type: \"string\"\n                },\n                {\n                    label: this.$t('Body'),\n                    field: 'body',\n                    type: \"string\"\n                },\n                {\n                    label: this.$t('Repeat'),\n                    field: 'repeat',\n                    type: \"number\"\n                },\n                {\n                    label: this.$t('Action Date'),\n                    field: 'date',\n                    \n                \n                },\n                {\n                    label: this.$t('Status'),\n                    field: 'status',\n                    \n                \n                },\n                {\n                    label: 'Actions',\n                    field: 'action',\n                },\n\n\n            ],\n            rows: [\n\n            ],\n        };\n\n    },\n    computed: {\n        ...mapGetters(\"lang\", [\"GET_LANG\"]),\n        formTitle() {\n            return this.editedIndex === -1 ? 'New Item' : 'Edit Item'\n        },\n    },\n    watch: {\n        dialog(val) {\n            val || this.close()\n        },\n        dialogDelete(val) {\n            val || this.closeDelete()\n        },\n        GET_LANG: {\n            immediate: true,\n            handler(val) {\n                this.config.locale = require(`flatpickr/dist/l10n/${val}.js`).default[\n                    val\n                ];\n            },\n        },\n    },\n    async mounted() {\n        await this.initialize()\n    },\n    methods: {\n        ...mapActions(\"users_usell\", [\"GET_USERS\", \"USER_SEARCH\"]),\n        ...mapActions(\"fcm\", [\"CREATE_COMPAIGN\", \"GET_COMPAIGNS\"]),\n        async initialize() {\n            let res = await this.GET_COMPAIGNS();\n            console.log(res);\n            this.rows=res\n        },\n        editItem(item) {\n            this.editedIndex = this.rows.indexOf(item)\n            this.editedItem = Object.assign({}, item)\n            this.dialog = true\n        },\n\n        deleteItem(item) {\n            this.editedIndex = this.rows.indexOf(item)\n            this.editedItem = Object.assign({}, item)\n            this.dialogDelete = true\n        },\n\n        deleteItemConfirm() {\n            this.rows.splice(this.editedIndex, 1)\n            this.closeDelete()\n        },\n\n        close() {\n            this.dialog = false\n            this.$nextTick(() => {\n                this.editedItem = Object.assign({}, this.defaultItem)\n                this.editedIndex = -1\n            })\n        },\n\n        closeDelete() {\n            this.dialogDelete = false\n            this.$nextTick(() => {\n                this.editedItem = Object.assign({}, this.defaultItem)\n                this.editedIndex = -1\n            })\n        },\n\n        async save() {\n            if (this.editedIndex > -1) {\n                Object.assign(this.rows[this.editedIndex], this.editedItem)\n            } else {\n                let { users,\n                    title,\n                    body,\n                    click_action,\n                    date,\n                    repeat } = this.editedItem\n\n                users=users.map(el=>el.id)\n                let res = await this.CREATE_COMPAIGN({\n                    users,\n                    title,\n                    body,\n                    click_action,\n                    date:this.$moment(date).utc().format(\"YYYY-MM-DD HH:mm\"),\n                    repeat\n                })\n                this.initialize()\n\n            }\n            this.close()\n        },\n\n        validateStep1() {\n            return new Promise((resolve, reject) => {\n                this.$refs.step1.validate().then((success) => {\n                    if (success) {\n                        this.disabled = true;\n                        this.loadingWizard = true;\n                        this.loadingWizard = false;\n                        resolve(true);\n                    } else {\n                        this.loadingWizard = false;\n                        reject();\n                    }\n                });\n            });\n        },\n        validateStep2() {\n            return new Promise((resolve, reject) => {\n                this.$refs.step2.validate().then(success => {\n                    if (success) {\n                        resolve(true)\n\n                    } else {\n                        reject()\n                    }\n                })\n            })\n        },\n        validateStep3() {\n            return new Promise((resolve, reject) => {\n                this.$refs.step3.validate().then(success => {\n                    if (success) {\n                        return resolve(true)\n\n                    } else {\n                        return reject()\n                    }\n                })\n            })\n        },\n        onSearchUsers(search, loading) {\n            clearTimeout(this.timerusers);\n            this.timerusers = setTimeout(() => {\n                if (search.length >= 1) {\n                    this.users = [];\n                    loading(true);\n                    this.USER_SEARCH({search}).then((res) => {\n                        this.users = res;\n                        loading(false);\n                        clearTimeout(this.timerusers);\n                    });\n                }\n            }, 1000);\n        },\n        onSelectElement(item) {\n            const index = this.editedItem.users.findIndex((el) => el.id == item.id);\n\n            if (index == -1) {\n                this.editedItem.users.push(item);\n            } else {\n                this.editedItem.users.splice(index, 1);\n            }\n        },\n        formSubmitted() {\n\n            this.save()\n            this.$toast({\n                component: ToastificationContent,\n                props: {\n                    title: \"Form Submitted\",\n                    icon: \"EditIcon\",\n                    variant: \"success\",\n                },\n            });\n        },\n    }\n}\n</script>\n<style lang=\"scss\">\n@import \"@core/scss/vue/libs/vue-wizard.scss\";\n@import \"@core/scss/vue/libs/vue-select.scss\";\n@import \"@core/scss/vue/libs/swiper.scss\";\n/*\n.repeater-form {\n  overflow: hidden;\n  transition: 0.35s height;\n}\n.steps-transparent .wizard-card-footer {\n  background: transparent;\n  box-shadow: none;\n  margin-top: 50px;\n}*/\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ListAll.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ListAll.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ListAll.vue?vue&type=template&id=42516c0a&\"\nimport script from \"./ListAll.vue?vue&type=script&lang=js&\"\nexport * from \"./ListAll.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ListAll.vue?vue&type=style&index=0&lang=scss&\"\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","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Detail.vue?vue&type=style&index=0&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"auth-wrapper auth-v1 px-2\"},[_c('div',{staticClass:\"auth-inner py-2\"},[_c('b-card',{staticClass:\"mb-0\"},[_c('b-link',{staticClass:\"brand-logo\"},[_c('img',{attrs:{\"src\":\"https://odoo.u-pass.app/umail.png\",\"width\":\"25%\",\"alt\":\"\"}})]),_c('b-card-title',{staticClass:\"mb-1\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"Réinitialiser le mot de passe\"))+\"🔒 \")]),_c('b-card-text',{staticClass:\"mb-2\"},[_vm._v(\" \"+_vm._s(_vm.$t( \"Votre nouveau mot de passe doit être différent des mots de passe précédemment utilisés\" ))+\" \")]),_c('validation-observer',{ref:\"simpleRules\"},[_c('b-form',{staticClass:\"auth-reset-password-form mt-2\",attrs:{\"method\":\"POST\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.validationForm.apply(null, arguments)}}},[_c('b-form-group',{attrs:{\"label\":_vm.$t('Nouveau mot de passe'),\"label-for\":\"password\"}},[_c('validation-provider',{attrs:{\"name\":_vm.$t('Password'),\"vid\":\"Password\",\"rules\":\"required|password\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('b-input-group',{staticClass:\"input-group-merge\",class:errors.length > 0 ? 'is-invalid' : null},[_c('b-form-input',{staticClass:\"form-control-merge\",attrs:{\"id\":\"password\",\"type\":_vm.password1FieldType,\"state\":errors.length > 0 ? false : null,\"name\":\"password\",\"placeholder\":\"············\"},model:{value:(_vm.password),callback:function ($$v) {_vm.password=$$v},expression:\"password\"}}),_c('b-input-group-append',{attrs:{\"is-text\":\"\"}},[_c('feather-icon',{staticClass:\"cursor-pointer\",attrs:{\"icon\":_vm.password1ToggleIcon},on:{\"click\":_vm.togglePassword1Visibility}})],1)],1),_c('small',{staticClass:\"text-danger\"},[_vm._v(_vm._s(errors[0]))])]}}])})],1),_c('b-form-group',{attrs:{\"label-for\":\"reset-password-confirm\",\"label\":_vm.$t('Confirmez le mot de passe')}},[_c('validation-provider',{attrs:{\"name\":_vm.$t('Confirmez le mot de passe'),\"rules\":\"required|confirmed:Password\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('b-input-group',{staticClass:\"input-group-merge\",class:errors.length > 0 ? 'is-invalid' : null},[_c('b-form-input',{staticClass:\"form-control-merge\",attrs:{\"id\":\"reset-password-confirm\",\"type\":_vm.password2FieldType,\"state\":errors.length > 0 ? false : null,\"name\":\"reset-password-confirm\",\"placeholder\":\"············\"},model:{value:(_vm.cPassword),callback:function ($$v) {_vm.cPassword=$$v},expression:\"cPassword\"}}),_c('b-input-group-append',{attrs:{\"is-text\":\"\"}},[_c('feather-icon',{staticClass:\"cursor-pointer\",attrs:{\"icon\":_vm.password2ToggleIcon},on:{\"click\":_vm.togglePassword2Visibility}})],1)],1),_c('small',{staticClass:\"text-danger\"},[_vm._v(_vm._s(errors[0]))])]}}])})],1),_c('b-button',{attrs:{\"block\":\"\",\"type\":\"submit\",\"variant\":\"primary\"}},[_vm._v(\" Definir un nouveau mot de passe \")])],1)],1)],1)],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <div class=\"auth-wrapper auth-v1 px-2\">\n    <div class=\"auth-inner py-2\">\n      <!-- Reset Password v1 -->\n      <b-card class=\"mb-0\">\n        <!-- logo -->\n        <b-link class=\"brand-logo\">\n          <img\n            src=\"https://odoo.u-pass.app/umail.png\"\n            width=\"25%\"\n            alt=\"\"\n          >\n        </b-link>\n\n        <b-card-title class=\"mb-1\">\n          {{ $t(\"Réinitialiser le mot de passe\") }}🔒\n        </b-card-title>\n        <b-card-text class=\"mb-2\">\n          {{\n            $t(\n              \"Votre nouveau mot de passe doit être différent des mots de passe précédemment utilisés\"\n            )\n          }}\n        </b-card-text>\n\n        <!-- form -->\n        <validation-observer ref=\"simpleRules\">\n          <b-form\n            method=\"POST\"\n            class=\"auth-reset-password-form mt-2\"\n            @submit.prevent=\"validationForm\"\n          >\n            <!-- password -->\n            <b-form-group\n              :label=\"$t('Nouveau mot de passe')\"\n              label-for=\"password\"\n            >\n              <validation-provider\n                v-slot=\"{ errors }\"\n                :name=\"$t('Password')\"\n                vid=\"Password\"\n                rules=\"required|password\"\n              >\n                <b-input-group\n                  class=\"input-group-merge\"\n                  :class=\"errors.length > 0 ? 'is-invalid' : null\"\n                >\n                  <b-form-input\n                    id=\"password\"\n                    v-model=\"password\"\n                    :type=\"password1FieldType\"\n                    :state=\"errors.length > 0 ? false : null\"\n                    class=\"form-control-merge\"\n                    name=\"password\"\n                    placeholder=\"············\"\n                  />\n                  <b-input-group-append is-text>\n                    <feather-icon\n                      class=\"cursor-pointer\"\n                      :icon=\"password1ToggleIcon\"\n                      @click=\"togglePassword1Visibility\"\n                    />\n                  </b-input-group-append>\n                </b-input-group>\n                <small class=\"text-danger\">{{ errors[0] }}</small>\n              </validation-provider>\n            </b-form-group>\n\n            <!-- confirm password -->\n            <b-form-group\n              label-for=\"reset-password-confirm\"\n              :label=\"$t('Confirmez le mot de passe')\"\n            >\n              <validation-provider\n                v-slot=\"{ errors }\"\n                :name=\"$t('Confirmez le mot de passe')\"\n                rules=\"required|confirmed:Password\"\n              >\n                <b-input-group\n                  class=\"input-group-merge\"\n                  :class=\"errors.length > 0 ? 'is-invalid' : null\"\n                >\n                  <b-form-input\n                    id=\"reset-password-confirm\"\n                    v-model=\"cPassword\"\n                    :type=\"password2FieldType\"\n                    class=\"form-control-merge\"\n                    :state=\"errors.length > 0 ? false : null\"\n                    name=\"reset-password-confirm\"\n                    placeholder=\"············\"\n                  />\n                  <b-input-group-append is-text>\n                    <feather-icon\n                      class=\"cursor-pointer\"\n                      :icon=\"password2ToggleIcon\"\n                      @click=\"togglePassword2Visibility\"\n                    />\n                  </b-input-group-append>\n                </b-input-group>\n                <small class=\"text-danger\">{{ errors[0] }}</small>\n              </validation-provider>\n            </b-form-group>\n\n            <!-- submit button -->\n            <b-button\n              block\n              type=\"submit\"\n              variant=\"primary\"\n            >\n              Definir un nouveau mot de passe\n            </b-button>\n          </b-form>\n        </validation-observer>\n      </b-card>\n      <!-- /Reset Password v1 -->\n    </div>\n  </div>\n</template>\n\n<script>\nimport { ValidationProvider, ValidationObserver } from 'vee-validate'\nimport ToastificationContent from '@core/components/toastification/ToastificationContent.vue'\nimport { mapActions } from 'vuex'\n\nexport default {\n  components: {\n    ValidationProvider,\n    ValidationObserver,\n  },\n  data() {\n    return {\n      email: '',\n      cPassword: '',\n      password: '',\n      token: '',\n      // validation\n\n      // Toggle Password\n      password1FieldType: 'password',\n      password2FieldType: 'password',\n    }\n  },\n  computed: {\n    password1ToggleIcon() {\n      return this.password1FieldType === 'password' ? 'EyeIcon' : 'EyeOffIcon'\n    },\n    password2ToggleIcon() {\n      return this.password2FieldType === 'password' ? 'EyeIcon' : 'EyeOffIcon'\n    },\n  },\n  mounted() {\n    this.query = this.$route.query\n    if (this.query.t) {\n      this.token = this.query.t\n    }\n  },\n  methods: {\n    ...mapActions('umail', ['reset_umail']),\n    togglePassword1Visibility() {\n      this.password1FieldType = this.password1FieldType === 'password' ? 'text' : 'password'\n    },\n    togglePassword2Visibility() {\n      this.password2FieldType = this.password2FieldType === 'password' ? 'text' : 'password'\n    },\n    async validationForm() {\n      this.$refs.simpleRules.validate().then(async success => {\n        if (success) {\n          await this.reset_umail({\n            password: this.password,\n            t: this.token,\n          })\n            .then(() => {\n              this.$swal({\n                title: this.$t('Mot de passe mis à jour avec success !'),\n                icon: 'success',\n                showCancelButton: false,\n                confirmButtonText: this.$t('Ok'),\n                cancelButtonText: this.$t('Plus tard'),\n                customClass: {\n                  confirmButton: 'btn btn-primary',\n                  cancelButton: 'btn btn-outline-danger ml-1',\n                },\n                buttonsStyling: false,\n              }).then(result => {\n                if (result.value) {\n                  window.location.href = 'https://box.u-mail.be/mail/'\n                }\n              })\n            })\n            .catch(e => this.$toast({\n              component: ToastificationContent,\n              props: {\n                title: this.$t(\n                  'Il est probable que le lien sur lequel vous avez cliqué pour réinitialiser votre mot de passe ait expiré',\n                ),\n                icon: 'ErrorIcon',\n                variant: 'error',\n              },\n            }))\n        }\n      })\n    },\n  },\n}\n</script>\n\n<style lang=\"scss\">\n@import \"@core/scss/vue/pages/page-auth.scss\";\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ResetUmail.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ResetUmail.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ResetUmail.vue?vue&type=template&id=224fe503&\"\nimport script from \"./ResetUmail.vue?vue&type=script&lang=js&\"\nexport * from \"./ResetUmail.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ResetUmail.vue?vue&type=style&index=0&lang=scss&\"\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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{},[_c('b-form-group',[_c('div',{staticClass:\"d-flex align-items-center\"},[_c('b-form-input',{attrs:{\"placeholder\":_vm.$t('Filtrez vos résultats'),\"type\":\"text\"},model:{value:(_vm.searchTerm),callback:function ($$v) {_vm.searchTerm=$$v},expression:\"searchTerm\"}})],1)])],1),_c('vue-good-table',{attrs:{\"theme\":\"polar_bear\",\"columns\":_vm.columns,\"rows\":_vm.rows,\"rtl\":_vm.direction,\"search-options\":{\n      enabled: true,\n      externalQuery: _vm.searchTerm,\n    },\"sort-options\":{\n      enabled: true,\n      multipleColumns: true,\n    },\"is-loading\":_vm.loading,\"pagination-options\":{ enabled: true, perPage: _vm.pageLength }},scopedSlots:_vm._u([{key:\"table-row\",fn:function(props){return [(props.column.field === 'date_creation')?_c('span',{staticClass:\"text-nowrap\"},[_c('span',{staticClass:\"text-nowrap\"},[_c('span',[_vm._v(\" \"+_vm._s(_vm.$moment(props.row.date_creation).format(\"DD/MM/YYYY HH:mm\")))])])]):(props.column.field === 'signature.date_signature')?_c('span',{staticClass:\"text-nowrap\"},[_c('span',{staticClass:\"text-nowrap\"},[(props.row.signature && props.row.signature.date_signature)?_c('span',[_vm._v(_vm._s(_vm.$moment(props.row.signature.date_signature).format( \"DD/MM/YYYY HH:mm\" )))]):_vm._e(),_c('span')])]):(props.column.field === 'nom')?_c('span',{staticClass:\"text-nowrap\"},[_c('span',{staticClass:\"text-nowrap\"},[_vm._v(_vm._s(props.row.nom || props.row.client.nom)+\" \"+_vm._s(props.row.prenom || props.row.client.prenom))])]):(props.column.field === 'etat_contrat')?_c('span',[(props.row.etat_contrat === 3 &&\n          !props.row.id_contrat_3rd_party_odoo\n          )?_c('b-badge',{staticClass:\"mr-2\",attrs:{\"variant\":\"danger\"}},[_vm._v(\" Anomalie \")]):_vm._e(),(props.row.etat_contrat >= 0)?_c('b-badge',{attrs:{\"variant\":_vm.status[props.row.etat_contrat].color}},[_vm._v(\" \"+_vm._s(_vm.status[props.row.etat_contrat].text)+\" \")]):_c('b-badge',{attrs:{\"variant\":\"secondary\"}},[_vm._v(_vm._s(_vm.$t(\"En cours\")))])],1):(props.column.field === 'action')?_c('span',[_c('b-button-group',[_c('b-button',{directives:[{name:\"ripple\",rawName:\"v-ripple.400\",value:('rgba(113, 102, 240, 0.15)'),expression:\"'rgba(113, 102, 240, 0.15)'\",modifiers:{\"400\":true}}],attrs:{\"variant\":\"outline-primary\"},on:{\"click\":function($event){return _vm.details(props.row)}}},[_c('feather-icon',{attrs:{\"icon\":\"EyeIcon\"}})],1)],1)],1):(props.column.field === 'adresse_email')?_c('span',[(props.row.adresse_email)?_c('span',[_vm._v(\" \"+_vm._s(props.row.adresse_email)+\" \")]):_c('span',[_vm._v(\" \"+_vm._s(props.row.client.adresse_email)+\" \")])]):(props.column.field === 'numero_gsm')?_c('span',[(props.row.numero_gsm)?_c('span',[_vm._v(\" \"+_vm._s(props.row.numero_gsm)+\" \")]):_c('span',[_vm._v(\" \"+_vm._s(props.row.client.numero_contact)+\" \")])]):(props.column.field === 'status_contrat_3rd_party_odoo')?_c('span',[(!props.row.status_contrat_3rd_party_odoo.includes('Reject'))?_c('span',[_vm._v(\" \"+_vm._s(props.row.status_contrat_3rd_party_odoo)+\" \")]):_c('span',[_c('b-link',{attrs:{\"to\":{\n            name: 'tickets',\n            query: { search: props.row.id_contrat_3rd_party_odoo },\n          }}},[_vm._v(_vm._s(props.row.status_contrat_3rd_party_odoo))])],1)]):_c('span',[_vm._v(\" \"+_vm._s(props.formattedRow[props.column.field])+\" \")])]}},{key:\"pagination-bottom\",fn:function(props){return [_c('div',{staticClass:\"d-flex justify-content-between flex-wrap\"},[_c('div',{staticClass:\"d-flex align-items-center mb-0 mt-1\"},[_c('span',{staticClass:\"text-nowrap\"},[_vm._v(\" Showing 1 to \")]),_c('b-form-select',{staticClass:\"mx-1\",attrs:{\"options\":['3', '5', '10', '30', '50', '100']},on:{\"input\":function (value) { return props.perPageChanged({ currentPerPage: value }); }},model:{value:(_vm.pageLength),callback:function ($$v) {_vm.pageLength=$$v},expression:\"pageLength\"}}),_c('span',{staticClass:\"text-nowrap\"},[_vm._v(\" of \"+_vm._s(props.total)+\" entries \")])],1),_c('div',[_c('b-pagination',{staticClass:\"mt-1 mb-0\",attrs:{\"value\":1,\"total-rows\":props.total,\"per-page\":_vm.pageLength,\"first-number\":\"\",\"last-number\":\"\",\"align\":\"right\",\"prev-class\":\"prev-item\",\"next-class\":\"next-item\"},on:{\"input\":function (value) { return props.pageChanged({ currentPage: value }); }},scopedSlots:_vm._u([{key:\"prev-text\",fn:function(){return [_c('feather-icon',{attrs:{\"icon\":\"ChevronLeftIcon\",\"size\":\"18\"}})]},proxy:true},{key:\"next-text\",fn:function(){return [_c('feather-icon',{attrs:{\"icon\":\"ChevronRightIcon\",\"size\":\"18\"}})]},proxy:true}],null,true)})],1)])]}}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <div>\n    <!-- search input -->\n    <div class=\"\">\n      <b-form-group>\n        <div class=\"d-flex align-items-center\">\n          <b-form-input\n            v-model=\"searchTerm\"\n            :placeholder=\"$t('Filtrez vos résultats')\"\n            type=\"text\"\n          />\n        </div>\n      </b-form-group>\n    </div>\n\n    <!-- table -->\n    <vue-good-table\n      theme=\"polar_bear\"\n      :columns=\"columns\"\n      :rows=\"rows\"\n      :rtl=\"direction\"\n      :search-options=\"{\n        enabled: true,\n        externalQuery: searchTerm,\n      }\"\n      :sort-options=\"{\n        enabled: true,\n        multipleColumns: true,\n      }\"\n      :is-loading=\"loading\"\n      :pagination-options=\"{ enabled: true, perPage: pageLength }\"\n    >\n    <template slot=\"table-row\" slot-scope=\"props\">\n        <!-- Column: Name -->\n\n        <!-- Column: date d'ajout -->\n        <span v-if=\"props.column.field === 'date_creation'\" class=\"text-nowrap\">\n          <span class=\"text-nowrap\"><span>\n              {{\n                $moment(props.row.date_creation).format(\"DD/MM/YYYY HH:mm\")\n              }}</span></span>\n        </span>\n\n        <span v-else-if=\"props.column.field === 'signature.date_signature'\" class=\"text-nowrap\">\n          <span class=\"text-nowrap\"><span v-if=\"props.row.signature && props.row.signature.date_signature\">{{\n            $moment(props.row.signature.date_signature).format(\n              \"DD/MM/YYYY HH:mm\"\n            )\n          }}</span>\n            <span />\n          </span>\n        </span>\n       \n\n        <span v-else-if=\"props.column.field === 'nom'\" class=\"text-nowrap\">\n          <span class=\"text-nowrap\">{{ props.row.nom || props.row.client.nom }} {{ props.row.prenom\n            || props.row.client.prenom }}</span>\n        </span>\n\n        <!-- Column: Status -->\n        <span v-else-if=\"props.column.field === 'etat_contrat'\">\n          <b-badge v-if=\"props.row.etat_contrat === 3 &&\n            !props.row.id_contrat_3rd_party_odoo\n            \" variant=\"danger\" class=\"mr-2\">\n            Anomalie\n          </b-badge>\n          <b-badge v-if=\"props.row.etat_contrat >= 0\" :variant=\"status[props.row.etat_contrat].color\">\n            {{ status[props.row.etat_contrat].text }}\n          </b-badge>\n\n          <b-badge v-else variant=\"secondary\">{{ $t(\"En cours\") }}</b-badge>\n        </span>\n\n        <!-- Column: Action -->\n        <span v-else-if=\"props.column.field === 'action'\">\n          <b-button-group>\n            <b-button v-ripple.400=\"'rgba(113, 102, 240, 0.15)'\" variant=\"outline-primary\" @click=\"details(props.row)\">\n              <feather-icon icon=\"EyeIcon\" />\n            </b-button>\n          </b-button-group>\n        </span>\n\n        <span v-else-if=\"props.column.field === 'adresse_email'\">\n          <span v-if=\"props.row.adresse_email\">\n            {{ props.row.adresse_email }}\n          </span>\n          <span v-else>\n            {{ props.row.client.adresse_email }}\n          </span>\n        </span>\n        <span v-else-if=\"props.column.field === 'numero_gsm'\">\n          <span v-if=\"props.row.numero_gsm\">\n            {{ props.row.numero_gsm }}\n          </span>\n\n          <span v-else>\n            {{ props.row.client.numero_contact }}\n          </span>\n        </span>\n\n        <span v-else-if=\"props.column.field === 'status_contrat_3rd_party_odoo'\">\n          <span v-if=\"!props.row.status_contrat_3rd_party_odoo.includes('Reject')\">\n            {{ props.row.status_contrat_3rd_party_odoo }}\n          </span>\n\n          <span v-else>\n            <!-- <a\n              :href=\"`https://u-hub.app/search-and-access-for-ticket-by-odoo-status?id_odoo=${props.row.id_contrat_3rd_party_odoo}&contract_status=${props.row.status_contrat_3rd_party_odoo}`\"\n            >{{ props.row.status_contrat_3rd_party_odoo }}</a> -->\n\n            <b-link :to=\"{\n              name: 'tickets',\n              query: { search: props.row.id_contrat_3rd_party_odoo },\n            }\">{{ props.row.status_contrat_3rd_party_odoo }}</b-link>\n          </span>\n        </span>\n        <!-- Column: Common -->\n        <span v-else>\n          {{ props.formattedRow[props.column.field] }}\n        </span>\n      </template>\n\n      <!-- pagination -->\n      <template slot=\"pagination-bottom\" slot-scope=\"props\">\n        <div class=\"d-flex justify-content-between flex-wrap\">\n          <div class=\"d-flex align-items-center mb-0 mt-1\">\n            <span class=\"text-nowrap\"> Showing 1 to </span>\n            <b-form-select\n              v-model=\"pageLength\"\n              :options=\"['3', '5', '10', '30', '50', '100']\"\n              class=\"mx-1\"\n              @input=\"\n                (value) => props.perPageChanged({ currentPerPage: value })\n              \"\n            />\n            <span class=\"text-nowrap\"> of {{ props.total }} entries </span>\n          </div>\n          <div>\n            <b-pagination\n              :value=\"1\"\n              :total-rows=\"props.total\"\n              :per-page=\"pageLength\"\n              first-number\n              last-number\n              align=\"right\"\n              prev-class=\"prev-item\"\n              next-class=\"next-item\"\n              class=\"mt-1 mb-0\"\n              @input=\"(value) => props.pageChanged({ currentPage: value })\"\n            >\n              <template #prev-text>\n                <feather-icon icon=\"ChevronLeftIcon\" size=\"18\" />\n              </template>\n              <template #next-text>\n                <feather-icon icon=\"ChevronRightIcon\" size=\"18\" />\n              </template>\n            </b-pagination>\n          </div>\n        </div>\n      </template>\n    </vue-good-table>\n  </div>\n</template>\n\n<script>\nimport { VueGoodTable } from \"vue-good-table\";\nimport store from \"@/store/index\";\nimport Ripple from \"vue-ripple-directive\";\nimport { mapActions, mapGetters } from \"vuex\";\n\nexport default {\n  components: {\n    VueGoodTable,\n  },\n  data() {\n    return {\n      disabled: false,\n      pageLength: 15,\n      dir: false,\n\n      columns: [\n        { label: \"ID\", field: \"id\" },\n        {\n          label: this.$t(\"Date de création\"),\n          field: \"date_creation\",\n        },\n        {\n          label: this.$t(\"Date de signature\"),\n          field: \"signature.date_signature\",\n        },\n        // {\n        //   label: this.$t(\"ID Odoo\"),\n        //   field: \"id_contrat_3rd_party_odoo\",\n        // },\n        {\n          label: this.$t(\"Email\"),\n          field: \"adresse_email\",\n        },\n        {\n          label: this.$t(\"Nom & Prénom\"),\n          field: \"nom\",\n        },\n        {\n          label: this.$t(\"N° de contact\"),\n          field: \"numero_gsm\",\n        },\n        // {\n        //   label: \"Existing\",\n        //   field: \"status_contrat_3rd_party_odoo\",\n        // },\n        {\n          label: this.$t(\"Etat de contrat\"),\n          field: \"etat_contrat\",\n        },\n        // {\n        //   label: this.$t(\"Statut Odoo\"),\n        //   field: \"status_contrat_3rd_party_odoo\",\n        // },\n        {\n          label: this.$t(\"Actions\"),\n          field: \"action\",\n        },\n      ],\n      rows: [],\n      searchTerm: \"\",\n      loading: true,\n      status: [\n        { key: 0, text: this.$t(\"Brouillon\"), color: \"warning\" },\n        { key: 1, text: this.$t(\"PDF Généré\"), color: \"primary\" },\n        { key: 2, text: this.$t(\"Signature En Attente\"), color: \"info\" },\n        { key: 3, text: this.$t(\"Signé\"), color: \"success\" },\n      ],\n    };\n  },\n  computed: {\n    ...mapGetters(\"auth\", {\n      user: \"GET_USER_DATA\",\n      is_reject_blocked: \"IS_REJECTED\",\n    }),\n    direction() {\n      if (store.state.appConfig.isRTL) {\n        // eslint-disable-next-line vue/no-side-effects-in-computed-properties\n        this.dir = true;\n        return this.dir;\n      }\n      // eslint-disable-next-line vue/no-side-effects-in-computed-properties\n      this.dir = false;\n      return this.dir;\n    },\n  },\n  created() {},\n  async mounted() {\n    await this.get_mypv();\n  },\n  methods: {\n    async get_mypv() {\n\n      await this.GET_MY_PV(this.user.id).then((res) => {\n        if (res) {\n          this.rows = res;\n          this.loading = false;\n        }\n      });\n    },\n    ...mapActions(\"p&v\", [\"GET_MY_PV\", \"DELETE_PV\"]),\n    details(item) {\n      this.$router.push({ name: \"DetailP&V\", params: { id: item.id } });\n    },\n    edit(item) {},\n    deleteEl(item) {\n      this.$swal({\n        title: this.$t(\"Supprimer ce contrat ?\"),\n        text: this.$t(\"Vous êtes sur le point de supprimer ce contrat\"),\n        icon: \"warning\",\n        showCancelButton: true,\n        confirmButtonText: this.$t(\"Oui, supprimer\"),\n        cancelButtonText: this.$t(\"Annuler\"),\n\n        customClass: {\n          confirmButton: \"btn btn-primary\",\n          cancelButton: \"btn btn-outline-danger ml-1\",\n        },\n        buttonsStyling: false,\n      }).then((result) => {\n        if (result.value) {\n          this.DELETE_PV(item.id)\n            .then(() =>\n              this.$swal({\n                icon: \"success\",\n                title: \"Supprimé\",\n                text: this.$t(\"Le contrat a été supprimé\"),\n                customClass: {\n                  confirmButton: \"btn btn-success\",\n                },\n              })\n            )\n            .then(() => {\n              this.get_mypv();\n            });\n        } else if (result.dismiss === \"cancel\") {\n          this.$swal({\n            title: this.$t(\"Annulée\"),\n            text: this.$t(\"Votre contrat n'a pas été supprimé :)\"),\n            icon: \"error\",\n            customClass: {\n              confirmButton: \"btn btn-success\",\n            },\n          });\n        }\n      });\n    },\n  },\n  directives: {\n    Ripple,\n  },\n};\n</script>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./List.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./List.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./List.vue?vue&type=template&id=00b696dc&\"\nimport script from \"./List.vue?vue&type=script&lang=js&\"\nexport * from \"./List.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"],"sourceRoot":""}