1"use strict";(self["webpackChunkrigardo_webapp"]=self["webpackChunkrigardo_webapp"]||[]).push([[9719],{5149719:function(t,e,r){r.r(e),r.d(e,{default:function(){return y}});var s=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("area-authorizer",{attrs:{area:"QUICK_LIST_COLLECTION","show-loading":"","show-not-found":""},on:{authorized:t.load}},[r("b-container",{staticClass:"my-4",attrs:{fluid:""}},[r("b-card",{staticClass:"mx-auto",staticStyle:{"max-width":"1800px"}},[r("b-card-title",{staticClass:"mb-4"},[r("i",{class:t.icons.PROPERTY}),t._v(" "+t._s(t.$t("listAllCollectionStatus"))+" ")]),r("b-card-text",[t._v(t._s(t.$t("listAllCollectionStatusElaborated")))]),r("b-row",[r("b-col",{attrs:{sm:"12",md:"3"}},[r("b-form-group",{attrs:{label:t.$t("property")}},[r("b-form-select",{model:{value:t.selectedPropertyId,callback:function(e){t.selectedPropertyId=e},expression:"selectedPropertyId"}},[r("b-form-select-option",{attrs:{value:null}},[t._v(t._s(t.$t("selectProperty")))]),t._l(t.properties,function(e){return r("option",{key:e.id,domProps:{value:e.id}},[t._v(" "+t._s(e.name)+" ")])})],2)],1)],1),r("b-col",{attrs:{sm:"12",md:"3"}},[r("b-form-group",{attrs:{label:t.$t("searchByPropertyName")}},[r("w-v-select",{attrs:{options:t.properties,reduce:function(t){return t.id},placeholder:t.$t("searchPlaceholderPropertyList"),label:"name"},model:{value:t.selectedPropertyId,callback:function(e){t.selectedPropertyId=e},expression:"selectedPropertyId"}})],1)],1)],1),t.selectedPropertyId&&t.init?r("common-table",{attrs:{items:t.units,fields:t.fields,"sort-by":"tenancyNumber","primary-key":"id",striped:"",small:"small","sticky-header":"70vh"},scopedSlots:t._u([{key:"cell(reminderCollectionId)",fn:function(e){return[r("div",{staticClass:"text-center"},[r("i",{staticClass:"fas fa-check",class:t.isReminderSendClass(e.item.reminderCollectionId)})])]}},{key:"cell(inPreTermination)",fn:function(e){return[r("i",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"fas fa-history fa-lg",class:t.getPreTerminationStatusClass(e.item.inPreTermination),attrs:{title:t.$t("inPreTermination")}})]}}],null,!1,3967730940)}):t._e()],1)],1)],1)},a=[],i=r(368225),n=r(265096),l=r(6521777),o=r(9765001),p=r(291151),u={components:{AreaAuthorizer:n.A,CommonTable:l.Ay},data(){return{icons:i,selectedPropertyId:null,properties:[],units:null,init:!1}},props:{initialPropertyId:{type:String,default:null}},methods:{load(){p.J.list().then(t=>this.properties=t.data).catch(t=>console.error(t))},getPreTerminationStatusClass(t){switch(t){case!0:return"text-warning";default:return"d-none"}},getCollectionStatusClass(t){switch(t){case"PAID":return"text-success";case"OVERDUE":return"text-warning";case"NOT_PAID":return"text-danger";default:return"d-none"}},isReminderSendClass(t){return t?"text-success":"d-none"},showUnits(){this.units=null,this.init=!0,this.selectedPropertyId&&o.a.allCollectionStatusReport(this.selectedPropertyId).then(t=>this.units=t.data).catch(t=>console.error(t))}},computed:{fields(){return[{key:"unitName",label:this.$t("unit"),sortable:!0,template:{type:"link",label:t=>t.item.unitName,to:t=>`/units/${t.item.unitId}`}},{key:"tenantName",label:this.$t("tenant"),template:{type:"link",label:t=>t.item.tenantName,to:t=>`/tenancies/${t.item.tenancyId}`}},{key:"tenancyNumber",label:this.$t("tenancyNumber"),sortable:!0,template:{type:"link",label:t=>t.item.tenancyNumber,to:t=>`/tenancies/${t.item.tenancyId}`}},{key:"status",label:this.$t("status"),formatter:t=>this.$t(`model.tenancy.status.${t}`),sortable:!0,sortByFormatted:!0},{key:"inPreTermination",label:"",sortable:!0,template:{type:"status"}},{key:"paymentDate",label:this.$t("paymentDate"),sortable:!0,template:{type:"date",format:"L"}},{key:"amountToBePaid",label:this.$t("amount"),sortable:!0,template:{type:"number",format:{minimumFractionDigits:"2",maximumFractionDigits:"2"}}},{key:"amountPaid",label:this.$t("amountPaid"),sortable:!0,template:{type:"number",format:{minimumFractionDigits:"2",maximumFractionDigits:"2"}}},{key:"amountPaidDate",label:this.$t("amountPaidDate"),sortable:!0,template:{type:"date",format:"L"}},{key:"paymentStatus",label:this.$t("paymentStatus"),formatter:t=>this.$t(`model.rentcollection.collectionPaymentStatuses.${t}`),sortable:!0},{key:"reminderCollectionId",label:this.$t("reminder"),sortable:!0},{key:"actions",template:{type:"actions",head:[{type:"export"}]}}]}},watch:{selectedPropertyId:"showUnits"},created(){this.selectedPropertyId=this.initialPropertyId}},c=u,d=r(5281656),m=(0,d.A)(c,s,a,!1,null,null,null),y=m.exports},9765001:function(t,e,r){r.d(e,{a:function(){return a}});var s=r(6655464);const a={getMoveInStatusList(t,e,r){return s.A.get("list/move-in-status-list",{params:{propertyIds:t,date:e,privateCommercialTypes:r}})},moveInReport(t,e,r){return s.A.get(`list/move-in-report/${t}`,{params:{date:e,selectedShowOptions:r}})},moveInReportGenerate(t,e,r,a,i,n,l){return s.A.post(`list/move-in-report-generate/${t}/${e}/${r}`,a,{params:{date:i,selectedShowOptions:n,useNew:l}})},moveOutStatusReport(t){return s.A.get("list/move-out-status",{params:{propertyIds:t}})},collectionStatusReport(t,e){return s.A.get("list/collection-status-date",{params:{propertyIds:t,date:e}})},collectionOrderLinesStatusReport(t,e,r){return s.A.get("list/collection-order_lines-status",{params:{propertyIds:t,dateFrom:e,dateTo:r}})},tenancyBalanceList(t,e,r){return s.A.get("list/tenancy-balance-list",{params:{propertyIds:t,dateFrom:e,dateTo:r}})},getAccountingBalanceList(t,e,r){return s.A.get("list/accounting-balance-list",{params:{propertyId:t,dateFrom:e,dateTo:r}})},getCollectionBalanceList(t,e,r,a,i,n){return s.A.post("list/collection-balance-list",{propertyId:t,fromYearMonth:e,months:r,emptyStatuses:a,accountingSystemStatuses:i,expenseTypeIds:n})},getCollectionCheckList(t,e){return s.A.post("list/collection-check-list",{propertyId:t,expenseTypeIds:e})},futureCollectionReport(t,e,r,a,i){return s.A.get("list/future-collection-list",{params:{propertyIds:t,date:e,numMonths:r,show:a,budget:i}})},allCollectionStatusReport(t){return s.A.get(`list/collection-status/${t}`)},reminderStatusReport(t){return s.A.get("list/reminder-status",{params:{propertyIds:t},timeout:3e5})},unitStatusReport(t){return s.A.get("list/unit-status-report",{params:{propertyId:t},timeout:3e5})},unitStatusList(t,e){return s.A.get("list/unit-status-list",{params:{propertyId:t,date:e}})},unitTenancyStatusList(t){return s.A.get("list/unit-tenancy-status-report",{params:{propertyId:t}})},listUnitBoligsidenStatuses(t){return s.A.post("list/boligsiden-status-list",t)},getRentalList(t){return s.A.get("list/rental-list",{params:{propertyIds:t}})},getPropertyUnitList(t){return s.A.get(`list/property-unit-list/${t}`)},tenancyListForPropertyOwnerReport(t){return s.A.get(`list/property-owner/tenancy-list/${t}`)},getTenantListForms(t,e,r){return s.A.get("list/tenant-list",{params:{propertyIds:t,date:e,tenancyStatus:r}})},getPotentialTenanciesForProperty(t){return s.A.get("list/potential-tenant-list",{params:{propertyIds:t},timeout:3e5})},initialCollectionListReport(t,e,r){return s.A.get("list/tenancy-initial-collection-list",{params:{propertyId:t,startDate:r,includeOrderLines:e}})},getSecurityList(t,e){return s.A.get("list/security-list",{params:{propertyId:t,selectedDate:e}})},acontoListReport(t,e){return s.A.get("list/aconto-list",{params:{propertyId:t,startDate:e}})},paymentListReport(t,e,r){return s.A.get("list/payment-list",{params:{propertyId:t,fromDate:e,toDate:r}})},acontoPeriodListReport(t,e,r){return s.A.get(`list/aconto-list-period/${t}`,{params:{from:e,to:r}})},createReservation(t){return s.A.post("list/rental-list/reservation",t)},terminatedCancelledTenanciesListReport(t,e){return s.A.get("list/terminated-cancelled-tenancies-list",{params:{propertyIds:t,startDate:e}})},emptyUnitsListReport(t,e,r){return s.A.get("list/empty-units-list",{params:{propertyId:t,startDate:e,endDate:r}})},availableUnitsReport(t,e,r){return s.A.get("list/available-units-list",{params:{propertyId:t,startDate:e,includeTestProperties:r}})},baseDataListReport(t){return s.A.get("list/base-data-list",{params:{propertyId:t}})},getCollectionControlList(t){return s.A.get("list/collection-control-list",{params:{propertyId:t}})},listAllAppliances(t,e){return s.A.get("list/appliances",{params:{propertyId:t,size:e}})},lisAllAppointmentsForPropertyUnits(t){return s.A.get("list/appointments",{params:{propertyIds:t}})},listAllDamageReports(t){return s.A.get("list/damage-reports",{params:{propertyIds:t}})},updateBankFieldsForLegaLEntity(t){return s.A.put("list/legal-entity-bank-info",t)},listAllPreTerminatedTenancies(t,e,r){return s.A.get("list/pre-terminations",{params:{propertyIds:t,date:e,tenancyStatus:r}})},getRentProspectBudgetList(t,e){return s.A.get("list/get-rent-prospect-budget-list",{params:{propertyIds:t,startDate:e}})},getRentProspectBudgetYearlyList(t){return s.A.get("list/get-rent-prospect-budget-yearly-list",{params:{propertyIds:t}})},rentOverviewList(t,e){return s.A.get(`/list/rent-overview-list/${t}`,{params:{date:e}})},rentOverviewListMetadata(t){return s.A.get(`/list/rent-overview-list/${t}/metadata`)}}}}]); 2//# sourceMappingURL=9719.24ac0374.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.