{"version":3,"sources":["webpack:///./src/components/mixins/docsHelper.js","webpack:///./src/views/supplier/projects/IncomeSourcesEditPage.vue","webpack:///./src/components/supplier/projects/incomeSources/IncomeProofsControl.vue","webpack:///./src/components/supplier/projects/incomeSources/FormIncomeProofs.vue","webpack:///src/components/supplier/projects/incomeSources/FormIncomeProofs.vue","webpack:///./src/components/supplier/projects/incomeSources/FormIncomeProofs.vue?e041","webpack:///./src/components/supplier/projects/incomeSources/FormIncomeProofs.vue?d9d3","webpack:///src/components/supplier/projects/incomeSources/IncomeProofsControl.vue","webpack:///./src/components/supplier/projects/incomeSources/IncomeProofsControl.vue?2dd7","webpack:///./src/components/supplier/projects/incomeSources/IncomeProofsControl.vue?74b6","webpack:///src/views/supplier/projects/IncomeSourcesEditPage.vue","webpack:///./src/views/supplier/projects/IncomeSourcesEditPage.vue?c983","webpack:///./src/views/supplier/projects/IncomeSourcesEditPage.vue?a8d6"],"names":["methods","documentFields","evaluator","docs","hasAssoc","docAssoc","url","this","apiStorageBasePrefix","forEach","doc","target_id","loadedState","formField","parsed_extras","extras","doc_assoc","assoc_table","table","assoc_key","assoc_id","assoc_source","def","doc_id","documentSet","id","classification","clasification","has_assoc","push","response","publicApiPost","bulk","res_docs","data","rs","find","f","files","ll","file","multi_assoc_index","length","error","console","log","f_extras","getUrl","assocData","JSON","parse","condition","neg_mssg","multi_assoc","params","isUserDoc","isProjectDoc","res","axios","get","ApiDomain","render","_vm","_c","_self","class","hasBackofficeAccess","staticClass","attrs","_v","_e","isEditingIncome","isMounted","_s","project","alias","onError","errorMssg","onSuccess","successMssg","getIncomeSourcesForSelect","text","value","model","selectedIncomeSourceId","callback","$$v","expression","slot","hasError","errorText","isSuccess","completeForm","$isLoading","on","addIncomeSourceToApplicant","ppIncomeSourceName","failed","_l","allSections","section","key","public_name","public_description","locationDefined","fullLocation","fields","isAutoFormField","ref","refInFor","payload","isDisabled","collections","blockedByDocument","onFieldChange","countries","evaluateCondition","fname","income_source_id","client_person_type","client","user","isMoral","role","$event","saveIncomeSourceData","staticRenderFns","incomeProofs","document_type","es","disabledDates","startDate","stopPropagation","saveIncomeProof","ip","index","onEditView","userId","personType","sectionInfo","docInfo","formEditionDisabled","refreshProofs","onFinish","incomeProof","incomeSpecial","date","proof_required","removeProof","staticStyle","mfields","getContainer","disableEdition","saveChangesRequest","apply","arguments","targetId","currentProjectID","onDocumentUploadSuccess","name","props","type","required","onEditMode","default","userData","mixins","components","FormField","mexicoCountryId","pmDocId","pfaeDocId","pfaeOsDocId","base","bank","muser","mpersonType","address_is_mexico","should_ask_for_bank_confirmation","showSaveBtn","saveBtnText","showFinishBtn","showCancelBtn","cancelBtnText","currentDocFileId","docLoadedState","setFormFields","setUserProps","setDocField","extractBasePayload","amount","allValid","color","title","acceptText","cancelText","accept","pp_income_proof_id","computed","is_allowed","pf_income_source_proof_exist","pp_income_source_proof_exist","pp_income_source_proof_id","component","indicationDef","errorMssgDef","successMssgDef","pp_income_source_id","Datepicker","FormIncomeProofs","directives","money","formPromptIndication","from","endDate","decimal","thousands","prefix","suffix","precision","masked","income_source_document","pp_proof_selected","section_id_pm","section_id_pfae","section_id_pfae_os","currentTitle","currentView","currentUserAccount","isPopupActive","set","onNewView","get_current_sid","editItemRequest","removeItemRequest","getDocumentName","resetForm","addProofs","closeFormPrompt","currencyFormat","unCurrencyFormat","val","setOnNewView","setOnEditView","setOnShowView","incomeSourcesSectionsPFAE","incomeSourcesSectionsPM","verifiedEnumValue","roles","requiredObjects","form_id","form","documentsFields","documentsStates","validatedFields","validatedDocuments","allDocumentFields","loading","states","business_activities","income_sources","income_document_collection","employer_cities","states_income_sources_address","cities_income_sources_address","neighborhoods_income_sources_address","ppIncomeSource","ppIncomeSourceId","cpAddressSource","clientAddress","clientAddressId","employerAddress","isPfae","pmClientType","pfClientType","profileId","personal_profile_id","IncomeProofsControl","ownerPersonalProfile","ownerBusinessProfile","financeGuaranteeProfile","docsDisabled","personal","pf_guarantee_personal","ppIncomeSourceComputed","client_should_be_working_or_own_a_business","client_should_be_working_or_own_a_business_and_not_the_same_address","client_should_be_working_or_own_a_business_and_not_the_same_address_and_mexican_address","client_should_be_working_or_own_a_business_and_not_the_same_address_and_foreign_address","watch","getSavedGuaranteeType","s","d","setBlockedDocuments","abort","getIncomeSourceSection","sections","result","get_allowed_income_sources","incomeSources","update_cp_address_source","ok","setPayloadInformation","employer","employer_activity_id","employer_address_id","employer_phone","employer_phone_ext","senority","income_source_document_id","select_address_source","phone","phone_ext","country_calling_code","setMoralPayloadInformation","sources","options","incomeSourceId","roleType","new_pp_income_id","location","setBaseInformation","verify_zip_code_income_sources_address","addressName","statesArray","citiesArray","neighborhoodsArray","addressId","set_zip_code_values_income_sources_address"],"mappings":"kHAAe,QACbA,QAAQ,CACN,4BAA4BC,EAAgBC,GAC1C,IAAIC,EAAO,GACPC,GAAW,EACXC,EAAW,GACXC,EAAMC,KAAKC,uBAAyB,6BACxCP,EAAeQ,QAAQC,IACrB,IAAIA,EAAIC,UAEN,YADAD,EAAIE,YAAc,IAOpB,GAHAR,GAAW,EACXC,EAAW,GAERK,EAAIG,UAAUC,cAAc,CAC7B,IAAIC,EAASL,EAAIG,UAAUC,cACxBC,EAAOC,YACRZ,GAAW,EACXC,EAASY,YAAcF,EAAOC,UAAUE,MACxCb,EAASc,UAAYJ,EAAOC,UAAUG,UACtCd,EAASe,SAAWlB,EAAUa,EAAOC,UAAUK,eAInD,IAAIC,EAAM,CACRC,OAAQb,EAAIc,YAAYC,GACxBd,UAAWD,EAAIC,UACfe,eAAgBhB,EAAIc,YAAYG,cAChCC,UAAWxB,EACXY,UAAWX,GAEbF,EAAK0B,KAAKP,KAGZ,IACE,IAAIQ,QAAiBvB,KAAKwB,cAAczB,EAAK,CAAC0B,KAAM7B,IAChD8B,EAAWH,EAASI,KAsBxB,OArBAD,EAASxB,QAAQ0B,IACf,IAAIzB,EAAMT,EAAemC,KAAKC,GAAKA,EAAEb,YAAYC,IAAMU,EAAGZ,QAEtDe,EAAQH,EAAG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,OACA,mCACA,gBACA0J,UAEA,iBACA,4BACA,8BACA,6BACA,iBACA,IACA,4BACAA,KACA1J,oBACA,kCAKA,UAEA,qBACA,yBAEA,oBACA,iBACA4H,eACA+B,gBACAC,6BACAhH,+FACAiH,sBACAC,sBACAC,4BAGA,qBACA,qBACA,IACA,OAAAC,uCAAA1E,sBACA,gEACA,+BAEA,SACA,aAEA,uBAGA2E,UACAC,aACA,UAEAC,+BACA,2BAEAC,+BACA,UAEAC,4BACA,qBAEA7C,mBACA,0BCzTuY,I,YCOnY8C,EAAY,eACd,EACA,EACA,GACA,EACA,KACA,KACA,MAIa,EAAAA,E,QCoDf,MAAMC,EAAgB,iCAChBC,EAAe,qEACfC,EAAiB,+CAGR,OACf/C,6BACAO,uBACAN,OACA3H,GAAA4H,YAAAC,aACA6C,qBAAA9C,qBAAAC,aACAzB,QAAAwB,qBAAAC,aACAxB,YAAAuB,qBAAAC,aACAxF,SAAAuF,YAAAC,aACAxC,SAAAuC,aAAAC,aACAvC,MAAAsC,YAAAG,6BAEAG,YACAyC,kBACAC,oBAEAC,YAAAC,mBACAjL,OACA,OACA+F,WACAzD,aACAuD,gBACAoC,cACAvF,WACAE,aACAD,YACAE,cACAqI,uBAEAlF,eACAmF,eAEAlF,wFACAmF,sFAEAH,OACAI,YACAC,cACAC,UACAC,UACAC,YACAC,WAGA9B,SACA+B,4BACA7G,eAGAqF,wBACAyB,qBAEAC,kBACAC,oBACAC,uBACAtF,iBACAC,aAEAsF,gBACAC,cACAC,wBACAvF,yBAGA,gBACA,wBACA,6BAEA,wBACA,mBAEAyD,UACApI,sBACA,wCAEAqI,aACA,UAEA8B,eACA1K,MACA,oDAEA2K,OACA,+DAGAC,YACA,6BAEA/F,aACA,6BAEAgG,kBACA,kBACA,uBACA,4BACA,iCACA,sCACA,6BACA,+BACA,uBACA,iCACA,sCACA,6BACA,0BACA,eAAA5L,6BAAA,QAIA5C,SACA,wBACA,IACA,iGACA,yBACA,SACA,eAaAyO,mBACA,iBACA,qBACA,gCACA,0CACA,wDACA,6BACA,mBACA,uBAEAC,qBACA,yBAEA,iBACAzE,eACA+B,gBACAC,0BACAhH,iDACAiH,sBACAC,sBACAC,4BAGAuC,mBACA,YACA,qCACA,cAEA,YAGAC,YACA,kBACA,oBACA,mBACA,6FACA,iBACA,kCAEAC,YACA,iBACA,oBACA,uBAEAC,kBACA,sBACA,kBAGA,8BACA,kBAEA,kBACA,kBACA,gBAEA,qBACA,IACA,OACA/B,6CACA5E,yBACAR,sBAEA,uDACA,wBACA,uBACA,uBAEA,SACA,aACA,gBAEA,sBAEA,qBACA,qBACA,IACA,OAAA0E,oDACA,gEACA,uBAEA,SACA,aAEA,sBAEA5G,YACA,2BAEAC,aACA,6BAEAC,aACA,qBACA,+BAEAoJ,sBACA,SACA,yBADA,GAGAC,oBACA,eACA,mBACA,oBAMA,OALAC,oBACAA,oBACAA,oBACAA,oBACAA,oBACA,0BAGA,yBACA,IACA,2BACA,uDACA,gCAEA,yDACA,uBAEA,YAGA,iBACA,uBAEA,4BACA,wBAEAC,eACA,4BACA,uCACA,oBAEAC,gBACA,4BACA,wCACA,oBAEAC,gBACA,4BACA,4CACA,sBC1V0Y,ICOtY,EAAY,eACd,EACA,EACA,GACA,EACA,KACA,KACA,MAIa,I,QCsIf,MAAMC,EAA4B,CAAC,IAAnC,KACMC,EAA0B,CAAC,IAAK,KAChCC,EAAoB,aACpB,EAAe,2CACf,EAAiB,4CACjBC,EAAQ,CAAC,mBAAoB,6BAA8B,mBAAoB,6BAA8B,kCAAmC,kCAAmC,0BAEnLC,EAAkB,CACxB,uBACA,+BACA,qCACA,uCACA,6CACA,+CACA,qDAEA,gCACA,wCACA,8CACA,gDACA,sDACA,wDACA,8DAEA,4CACA,oDACA,0DACA,4DACA,kEACA,oEACA,0EAEA,8CACA,sDACA,4DACA,8DACA,oEACA,sEACA,4EAEA,8CACA,sDACA,4DACA,4EAEA,4CACA,oDACA,0DACA,0EAEA,uBACA,+BACA,qCACA,sDAGe,OACfzF,uCACAM,qCACApI,OACA,OACAqC,mBACAa,4BACAJ,6BACAJ,WACAE,aACAD,YACAE,cAEAL,WACAgL,WAEAC,QACAxJ,eACAyJ,mBACAC,mBACAC,mBACAC,sBACAC,qBAEAC,WACAzL,aACAyB,UAEAa,WAEAE,aACAG,aACA+I,UACAC,uBACAC,kBACAC,8BACAC,mBAEAC,iCACAC,iCACAC,yCAGAC,kBACA1K,sBACA2K,sBACAC,qBACAC,mBACAC,qBAEAtK,mBACAuK,qBACAtK,kBAGAgE,oBACA4E,4BACAC,0BAEA5H,WACAsJ,UACAC,eACAC,eACAC,eAGAC,yBACA5B,UAGAjF,YACAC,iBACA6G,uBAEA,gBACA,qBACA,gBACA,wBACA,sBACA,2BACA,gCACA,4BACA,yBACA,8BACA,wDACA,+DAEA,wBACA,yBAEA,kBACA,gBACA,sBAEA/E,UACAgF,uBACA,iEAEAC,uBACA,iEAEAC,0BACA,qCACA,YACA,0DACA,KACA,+DADA,GAGAtN,sBACA,wCAEA6C,aACA,0EAEA0K,eACA,gDAEAC,WACA,0CAEAC,wBAEA,kEAEApK,qBACA,kBACA,uBACA,iCACA,sCACA,6BACA,SACA,uBACA,iCACA,sCACA,6BACA,WAGAqK,yBACA,kGAEAC,6CACA,yFAEAC,sEACA,iFAEAC,0FACA,0DACA,yBACA,wDAEAC,0FACA,0DACA,yBACA,wDAEApM,eACA,2CAGAqM,OACAhC,sBACA,KACA,mBAGA,2BAIAjQ,SACAkS,wBACA,qFACA,yDACA,cACA,SACA,cACA,WAGA,uBACA,IACA,gBACA,mCACA,sDACA,WAEA,YADA,aAMA,GAFA,qBAEA,0BACA,mCACA,yDAEA,YADA,aAGA,2FACA,sFAEA,mHAEA,kDACA,kEAEA,YADA,aAGA,oGACA,+FAEA,4HAEA,6CACA,oDAEA,YADA,aAGA,mHACA,8GAEA,8GAEA,6CACA,oDAEA,YADA,aAGA,8GAEA,yCACA,iDAEA,YADA,aAGA,kHACA,6GAEA,2GAEA,yCACA,iDAEA,YADA,aAGA,0GAEA,mCASA,YADA,aAPA,yDAEA,YADA,aAGA,8GAOA,wBAEA,YADA,aAOA,OAHA,gEACA,2DAEA,WACA,uBACA,yEACA,iCACA,sCACA,6BACA,+DACA,qCACA,uBACA,wBACA,oDAEA,qCACA,wBAGA,qEACA,qBACA,MACA,uBACA,iCACA,6BACA,sCACA,qDACA,QAIA,SACAtP,eACA,8BAGA,uBACA,0EAEA,+BACA,yDACA,gDACA,0CACA,+DACA,uFAEA,oBACA,kBACA,uBACA,iCACA,sCACA,6BACA,gBACA,MACA,uBACA,iCACA,sCACA,6BACA,gBACA,MAGA,IACA,mEACA,sBACA,8DACA,+DACA,qBACA,4BAEA,gCAEA,6CACAuP,0BACA,qCACA,oCAkBA,sFACA,GACA,mCACA,6CACA,iDAKA,SACAvP,eACA,iBAGAkH,2BACA,sEACAsI,iBAEAC,sBACA,oCACA,6BACAjM,sFAIAkM,QACA,gBACA,sBAAAvI,iBAEA,uBACA,oBACA,WAGA3C,qBACA,2CAEAmL,0BACA,SAEA,kBACA,uBACA,iCACA,sCACA,6BACAC,cACA,iDACAC,YAGA,MACA,uBACA,iCACA,sCACA,6BACAD,cACA,+CACAC,YAGA,MAEA,UAEA,sBACA,IACA,6EACA,wCACA,SACA,eAGA,+BACA,IACA,sBACA,0EAEA,mDACA,SACA,eAGAC,8BACA,QACA,KASA,OAPAC,cACA,gCACA,+CACA7Q,YAIA,GAEA8Q,2BACA,yDAEA,8BACA,mCACA,KAGA,CACA,gBACA,iCACA,gBAEA,KACA,wBAGA,0CAXA,2BAeA,wBACA,qBAEA,mCACA,WAKA,4BACA,SACA,wBACA,IACA,EADA,gBAEA,gBACAvQ,OACA,mCACA,cACA0J,UAEA,eACA,4BACA,8BACA,6BACA,iBACA,OACAA,KACA1J,oBACA,+BACA,UAGA,8BAGA,UAEA,sBACA,SACA,IACA,gDACA,0BACA,sDACA,4BAGA,sCACA,2BAGA,0CACA,kGACAwQ,WACA,sBAEA,SACA,aACAA,KAEA,UAEAC,2BACA,cACAC,oBACAC,4CACAC,0CACAC,gCACAC,wCACA1R,QACA6F,oCACA8L,oBACAC,sDACAC,wBACAC,iCACAC,yCACAC,gEAGA,qCACA,qCACA,+CACA,kEACA,qDACA,qDACA,yDACA,yDACA,+DACA,+DACA,yEACA,qDACA,uDACA,6CAEA,8BACA,kEACA,kEACA,sEAEA,iCACA,gCACA,kCAIA,sBAEAC,8BACA,cACAjS,QACA4R,sDACA/L,sCAGA7B,YACA,2BAEAC,aACA,6BAEAC,aACA,qBACA,+BAEA,yBACA,IACA,mFACA,SAEA,KAEAgO,eACA,oCAEAC,QAAA1O,WAAAD,gBAEA,iCACA,YAIA,mCAEA,kBACA,gBAEA,qBACA,IACA,SACAkM,yBACA0C,2CACAC,oBAEA,IACA,EADA,yDAGA,qBACA,4BACA,oBAEA,CACAC,YACA,kBAGA,6BACAC,+BAGA,SACA,aACA,gBAEA,sBAEAC,qBACA,kBACA,uBACA,gCACA,MACA,iCACA,4EACA,MACA,sCACA,6DACA,MACA,6BACA,2EACA,MACA,iCACA,4EACA,MACA,6BACA,2EACA,MACA,uBACA,oDACA,MACA,QAAArR,+BAGAsR,yCACA,wCACAC,sBACAC,4CACAC,4CACAC,0DACAC,qCAGAC,6CACA,0EACAL,sBACAC,4CACAC,4CACAC,+DCh4B6X,ICOzX,EAAY,eACd,EACAzQ,EACAiE,GACA,EACA,KACA,KACA,MAIa,e","file":"js/chunk-7a6454cc.bac5a1c7.js","sourcesContent":["export default {\n methods:{\n async getAllDocumentsStates(documentFields, evaluator){\n let docs = [];\n let hasAssoc = false;\n let docAssoc = {};\n let url = this.apiStorageBasePrefix() + \"files/getBulkDocumentFiles\";\n documentFields.forEach(doc => {\n if(!doc.target_id){\n doc.loadedState = [];\n return;\n }\n \n hasAssoc = false;\n docAssoc = {};\n\n if(doc.formField.parsed_extras){\n let extras = doc.formField.parsed_extras;\n if(extras.doc_assoc){\n hasAssoc = true;\n docAssoc.assoc_table = extras.doc_assoc.table;\n docAssoc.assoc_key = extras.doc_assoc.assoc_key;\n docAssoc.assoc_id = evaluator(extras.doc_assoc.assoc_source);\n }\n }\n\n let def = {\n doc_id: doc.documentSet.id,\n target_id: doc.target_id,\n classification: doc.documentSet.clasification,\n has_assoc: hasAssoc,\n doc_assoc: docAssoc, \n }\n docs.push(def);\n });\n\n try {\n let response = await this.publicApiPost(url, {bulk: docs});\n let res_docs = response.data;\n res_docs.forEach(rs => {\n let doc = documentFields.find(f => f.documentSet.id == rs.doc_id);\n \n let files = rs.files;\n let ll = 0;\n let file = null;\n let extras = doc.formField.parsed_extras;\n if(extras && extras.doc_assoc){\n hasAssoc = true;\n }\n\n if(hasAssoc && doc.multi_assoc_index != null){\n ll = doc.multi_assoc_index;\n }\n \n if(files && files.length > ll){\n file = files[ll];\n }\n\n doc.loadedState = file;\n });\n return true;\n }\n catch (error) {\n // this.warn(error);\n console.log(error);\n return false;\n }\n\n },\n async getDocumentState(target_id, doc_id, clasification, evaluator, f_extras, multi_assoc_index = null ){\n if(!target_id){\n return null;\n }\n\n let url = this.apiStorageBasePrefix();\n let getUrl = null;\n let hasAssoc = false;\n let docAssoc = {};\n let assocData = null;\n\n if(f_extras){\n let extras = JSON.parse(f_extras);\n if(extras.doc_assoc){\n hasAssoc = true;\n docAssoc.table = extras.doc_assoc.table;\n docAssoc.assoc_key = extras.doc_assoc.assoc_key;\n docAssoc.condition = extras.doc_assoc.condition;\n docAssoc.assoc_source = extras.doc_assoc.assoc_source;\n docAssoc.neg_mssg = extras.doc_assoc.neg_mssg;\n docAssoc.multi_assoc = extras.doc_assoc.multi_assoc || false;\n\n assocData = evaluator(docAssoc.assoc_source);\n }\n }\n\n if(hasAssoc){\n // agregar información para asociacion\n getUrl = `${url}files/${doc_id}/getFilesByAssociated`;\n let params = `?assoc_table=${docAssoc.table}&assoc_key=${docAssoc.assoc_key}&assoc_id=${assocData}`;\n getUrl += params;\n }\n else {\n getUrl = this.isUserDoc(clasification) ? `${url}files/${doc_id}/user/${target_id}`\n : (this.isProjectDoc(clasification) ? `${url}files/${doc_id}/project/${target_id}` : null);\n\n if(!getUrl){ return null }\n }\n\n try {\n let res = await axios.get(getUrl);\n let files = res.data;\n let ll = 0;\n let file = null;\n\n if(hasAssoc && multi_assoc_index != null){\n ll = multi_assoc_index;\n }\n \n if(files && files.length > ll){\n file = files[ll];\n }\n\n return file;\n }\n catch (error) {\n return null;\n }\n },\n\n apiStorageBasePrefix(){\n return this.ApiDomain + \"/storagev3/documents/\";\n },\n isUserDoc(clasification){\n return clasification == 'user';\n },\n isProjectDoc(clasification){\n return clasification == 'project';\n }\n }\n}","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{class:{'p-6': _vm.hasBackofficeAccess}},[(_vm.hasBackofficeAccess)?_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full mb-3\"},[_c('router-link',{staticClass:\"decorated\",attrs:{\"to\":`/project/${_vm.id}`}},[_vm._v(\"Regresar al proyecto \")])],1)]):_vm._e(),(!_vm.isEditingIncome)?[(_vm.isMounted)?_c('big-title',[_vm._v(\" \"+_vm._s(_vm.project.alias || \"Pendiente\")+\" -\"),_c('span',[_vm._v(\" \"+_vm._s(_vm.id)+\".\")]),_c('h5',{staticClass:\"mt-2\"},[_vm._v(\"Fuente de ingresos - \"+_vm._s(_vm.ppIncomeSourceName))]),_c('p',{staticClass:\"text-subtitle mt-6\"},[_vm._v(\"Agrega información de adicional y comprobantes de ingresos.\")])]):_vm._e(),(_vm.isMounted && !_vm.failed)?_c('div',[_vm._l((_vm.allSections),function(section){return [_c('vx-card',{key:section.id,staticClass:\"mb-5\",attrs:{\"title\":section.public_name}},[(section.public_description != null)?_c('p',{staticClass:\"mb-4 bold\"},[_vm._v(_vm._s(section.public_description))]):_vm._e(),_c('div',{staticClass:\"vx-row\"},[(section.id == 127 && _vm.locationDefined)?_c('div',{staticClass:\"vx-col w-full mb-6\"},[_c('p',[_c('strong',[_vm._v(\"Dirección de lugar de trabajo:\"),_c('br')]),_vm._v(\" \"+_vm._s(_vm.fullLocation))]),_c('vs-divider')],1):_vm._e(),_vm._l((section.fields),function(f){return [(_vm.isAutoFormField(f))?_c('form-field',{key:f.id,ref:'section' + section.id,refInFor:true,attrs:{\"f\":f,\"dataContainer\":_vm.payload,\"keepDisabled\":_vm.isDisabled,\"collectionsRoot\":_vm.collections,\"blockedByDocument\":f.blockedByDocument,\"onChangeReceptor\":_vm.onFieldChange,\"countriesList\":_vm.collections.countries,\"evaluator\":_vm.evaluateCondition}}):(f.fname == 'pp_ic_proofs')?_c('income-proofs-control',{key:f.id,ref:\"pp_ic_proofs\",refInFor:true,attrs:{\"f\":f,\"isDisabled\":false,\"blockedByDocument\":f.blockedByDocument,\"pp_income_source_id\":_vm.income_source_id,\"person-type\":_vm.client_person_type,\"userId\":_vm.project.client.user.id,\"project\":_vm.project,\"isMoral\":_vm.isMoral,\"role\":_vm.role}}):_vm._e()]})],2),(_vm.role == 'pf_income_source' || _vm.role == 'pf_income_source_obligated' || _vm.role == 'pf_income_source_representative' || _vm.role == 'pf_income_source_owner')?[((section.id == 127) && !_vm.isDisabled)?_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('div',{staticClass:\"flex flex-wrap items-center justify-end\"},[_c('vs-button',{staticClass:\"ml-auto mt-2\",on:{\"click\":function($event){return _vm.saveIncomeSourceData(section)}}},[_vm._v(\"Guardar cambios\")])],1)])]):_vm._e()]:[_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('div',{staticClass:\"flex flex-wrap items-center justify-end\"},[_c('vs-button',{staticClass:\"ml-auto mt-2\",on:{\"click\":function($event){return _vm.saveIncomeSourceData(section)}}},[_vm._v(\"Guardar cambios\")])],1)])])]],2)]})],2):_vm._e()]:[(_vm.isMounted)?_c('big-title',[_vm._v(\" \"+_vm._s(_vm.project.alias || \"Pendiente\")+\" -\"),_c('span',[_vm._v(\" \"+_vm._s(_vm.id)+\".\")]),_c('h5',{staticClass:\"mt-2\"},[_vm._v(\"Indica el tipo de fuente de ingresos del solicitante.\")]),_c('p',{staticClass:\"text-subtitle mt-6\"},[_vm._v(\"Considera que como negocio propio podrás subir como comprobante de ingresos los \"),_c('strong',[_vm._v(\"gastos operativos\")]),_vm._v(\" del mismo. ¡RedGirasol es el crédito más flexible!\")])]):_vm._e(),_c('vx-card',{staticClass:\"mb-5\"},[_c('div',{staticClass:\"con-exemple-prompt\"},[(_vm.onError)?_c('vs-alert',{staticClass:\"h-full mb-5\",attrs:{\"color\":\"danger\"}},[_c('span',[_vm._v(_vm._s(_vm.errorMssg))])]):_vm._e(),(_vm.onSuccess)?_c('vs-alert',{staticClass:\"h-full mb-5\",attrs:{\"color\":\"success\"}},[_c('span',[_vm._v(_vm._s(_vm.successMssg))])]):_vm._e(),_c('label',{staticClass:\"vs-input--label\",attrs:{\"for\":\"\"}},[_vm._v(\"Fuente de ingresos\")]),_c('v-select',{staticClass:\"vs-custom w-full mb-5\",attrs:{\"name\":\"family_group_id\",\"label\":\"text\",\"options\":_vm.getIncomeSourcesForSelect,\"reduce\":(text) => text.value,\"clearable\":false,\"searchable\":false,\"placeholder\":\"Seleccione una opción\"},model:{value:(_vm.selectedIncomeSourceId),callback:function ($$v) {_vm.selectedIncomeSourceId=$$v},expression:\"selectedIncomeSourceId\"}},[_c('div',{attrs:{\"slot\":\"no-options\"},slot:\"no-options\"},[_vm._v(\"No hay coincidencias\")])]),(_vm.hasError('selectedIncomeSourceId'))?_c('v-error',{attrs:{\"error\":_vm.errorText('selectedIncomeSourceId'),\"success\":_vm.isSuccess('selectedIncomeSourceId')}}):_vm._e(),_c('vs-button',{staticClass:\"mr-5 mt-2\",attrs:{\"disabled\":!_vm.completeForm || _vm.$isLoading,\"color\":\"primary\"},on:{\"click\":_vm.addIncomeSourceToApplicant}},[_vm._v(\"Agregar\")])],1)])],(_vm.failed)?_c('load-error'):_vm._e()],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.isMounted)?_c('div',{staticClass:\"vx-col w-full mb-5\"},[_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('vx-card',{staticClass:\"mb-6\"},[_c('h4',{staticClass:\"mb-3\"},[_vm._v(\"Agregar nuevo periodo de comprobante de ingresos.\")]),_c('ul',{staticClass:\"mb-6\"},[_c('li',[_vm._v(\" Tipo: \"),_c('strong',[_vm._v(_vm._s(_vm.incomeProofs[0].document_type))])]),_c('li',[_vm._v(\" Fecha: \"),_c('strong',[_vm._v(\"--\")])])]),_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col sm:w-1/2 w-full mb-4\"},[_c('label',{staticClass:\"vs-input--label\",attrs:{\"for\":\"\"}},[_vm._v(\"Fecha de comprobante\")]),_c('datepicker',{attrs:{\"placeholder\":\"Fecha inicio\",\"language\":_vm.es,\"format\":\"dd/MM/yyyy\",\"disabledDates\":_vm.disabledDates},model:{value:(_vm.startDate),callback:function ($$v) {_vm.startDate=$$v},expression:\"startDate\"}})],1),_c('div',{staticClass:\"vx-col sm:w-1/2 w-full flex\"},[_c('div',{staticClass:\"flex flex-wrap items-center justify-start\"},[_c('vs-button',{staticClass:\"ml-2\",on:{\"click\":function($event){$event.stopPropagation();return _vm.saveIncomeProof()}}},[_vm._v(\"Agregar\")])],1)])])])],1)]),_c('div',{staticClass:\"vx-row\"},_vm._l((_vm.incomeProofs),function(ip,index){return _c('div',{key:index,staticClass:\"vx-col sm:w-1/2 w-full flex\"},[_c('vx-card',{staticClass:\"mb-6\"},[_c('form-income-proofs',{attrs:{\"income-proof\":ip,\"on-edit-mode\":_vm.onEditView,\"is-moral\":_vm.isMoral,\"user-id\":_vm.userId,\"person-type\":_vm.personType,\"section-info\":_vm.sectionInfo,\"has-backoffice-access\":_vm.hasBackofficeAccess,\"user-data\":_vm.project.client,\"doc-info\":_vm.docInfo,\"disable-edition\":_vm.formEditionDisabled,\"collections\":_vm.collections,\"project\":_vm.project,\"role\":_vm.role},on:{\"on-account-saved\":_vm.refreshProofs,\"on-finish\":_vm.onFinish}})],1)],1)}),0)]):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"px-2 py-2\"},[_c('div',{staticClass:\"vx-row mb-3\"},[_c('div',{staticClass:\"vx-col sm:w-2/3 w-full\"},[_c('h4',{staticClass:\"mb-3\"},[_vm._v(\"Detalle del comprobante de ingresos.\")]),_c('ul',[_c('li',[_vm._v(\" Tipo: \"),_c('strong',[_vm._v(_vm._s(_vm.incomeProof.document_type))])]),_c('li',[_vm._v(\" Fecha: \"),_c('strong',[_vm._v(_vm._s(_vm.incomeSpecial(_vm.incomeProof.date)))])])])]),(_vm.incomeProof.proof_required != 1)?_c('div',{staticClass:\"vx-col sm:w-1/3 w-full\"},[_c('div',{staticClass:\"flex flex-wrap items-center justify-end\"},[_c('vs-button',{attrs:{\"color\":\"danger\",\"icon\":\"delete\",\"vs-justify\":\"flex-end\"},on:{\"click\":function($event){return _vm.removeProof()}}})],1)]):_vm._e()]),_c('div',{staticClass:\"vx-row px-4\"},[(_vm.errorMssg)?_c('vs-alert',{staticClass:\"mb-3\",staticStyle:{\"height\":\"auto\"},attrs:{\"icon-pack\":\"feather\",\"icon\":\"icon-alert-triangle\",\"color\":\"danger\"}},[_c('span',[_vm._v(_vm._s(_vm.errorMssg))])]):_vm._e(),(_vm.successMssg)?_c('vs-alert',{staticClass:\"mb-3\",staticStyle:{\"height\":\"auto\"},attrs:{\"icon-pack\":\"feather\",\"icon\":\"icon-check\",\"color\":\"success\"}},[_c('span',[_vm._v(_vm._s(_vm.successMssg))])]):_vm._e()],1),(_vm.isMounted)?_c('div',{staticClass:\"vx-row mt-2\"},[_vm._l((_vm.mfields),function(f){return [(_vm.isAutoFormField(f))?_c('form-field',{key:f.id,ref:\"mfields\",refInFor:true,attrs:{\"f\":f,\"dataContainer\":_vm.getContainer(f),\"collectionsRoot\":_vm.collections,\"keep-disabled\":_vm.disableEdition,\"onChangeReceptor\":_vm.onFieldChange,\"hasBackofficeAccess\":_vm.hasBackofficeAccess,\"blockedByDocument\":f.blockedByDocument,\"evaluator\":_vm.evaluateCondition,\"input-class-large\":true,\"editableByBackoffice\":true}}):_vm._e()]}),_c('div',{staticClass:\"vx-col sm:w-1/2 w-full flex\"},[_c('div',{staticClass:\"flex flex-wrap items-center justify-start\"},[_c('vs-button',{staticClass:\"ml-2\",on:{\"click\":function($event){$event.stopPropagation();return _vm.saveChangesRequest.apply(null, arguments)}}},[_vm._v(\"Guardar\")])],1)])],2):_vm._e(),(_vm.isMounted)?_c('div',{staticClass:\"vx-row\"},[_c('document-upload',{attrs:{\"target_id\":_vm.targetId,\"f\":_vm.doc.formField,\"doc\":_vm.doc.documentSet,\"evaluator\":_vm.evaluateCondition,\"loadedState\":_vm.doc.loadedState,\"disabled\":_vm.disableEdition,\"stickToLoadedState\":true,\"editableByBackoffice\":true,\"inputClassExtraLarge\":true,\"from_project_id\":_vm.currentProjectID},on:{\"on-success\":_vm.onDocumentUploadSuccess}})],1):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\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!./FormIncomeProofs.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!./FormIncomeProofs.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./FormIncomeProofs.vue?vue&type=template&id=418ee0ee&\"\nimport script from \"./FormIncomeProofs.vue?vue&type=script&lang=js&\"\nexport * from \"./FormIncomeProofs.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\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!./IncomeProofsControl.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!./IncomeProofsControl.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./IncomeProofsControl.vue?vue&type=template&id=007cfb0f&\"\nimport script from \"./IncomeProofsControl.vue?vue&type=script&lang=js&\"\nexport * from \"./IncomeProofsControl.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\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!./IncomeSourcesEditPage.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!./IncomeSourcesEditPage.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./IncomeSourcesEditPage.vue?vue&type=template&id=4521a969&\"\nimport script from \"./IncomeSourcesEditPage.vue?vue&type=script&lang=js&\"\nexport * from \"./IncomeSourcesEditPage.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":""}