1"use strict";(self["webpackChunkrx2go_dashboard"]=self["webpackChunkrx2go_dashboard"]||[]).push([[4788],{94644:(t,e,s)=>{s.r(e),s.d(e,{default:()=>d});var a=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"entity-container"},[e("table",[e("tbody",[e("tr",{staticClass:"entity-property-list-element"},[e("td",{staticClass:"entity-property-list-element-property"},[t._v(" "+t._s(t.$t("finances.transaction-report.table.entity.fields.type"))+" ")]),e("td",{staticClass:"entity-property-list-element-value"},[t._v(" "+t._s(t.entity.type)+" ")])]),e("tr",{staticClass:"entity-property-list-element"},[e("td",{staticClass:"entity-property-list-element-property"},[t._v(" "+t._s(t.$t("finances.transaction-report.table.entity.fields.id"))+" ")]),e("td",{staticClass:"entity-property-list-element-value"},[t._v(" "+t._s(t.entity.id)+" ")])]),e("tr",{staticClass:"entity-property-list-element"},[e("td",{staticClass:"entity-property-list-element-property"},[t._v(" "+t._s(t.$t("finances.transaction-report.table.entity.fields.status"))+" ")]),e("td",{staticClass:"entity-property-list-element-value"},[t._v(" "+t._s(t.entity.status)+" ")])]),e("tr",{staticClass:"entity-property-list-element"},[e("td",{staticClass:"entity-property-list-element-property"},[t._v(" "+t._s(t.$t("finances.transaction-report.table.entity.fields.amount"))+" ")]),e("td",{staticClass:"entity-property-list-element-value"},[t._v(" "+t._s(t.entity.amount)+" ")])]),e("tr",{staticClass:"entity-property-list-element"},[e("td",{staticClass:"entity-property-list-element-property"},[t._v(" "+t._s(t.$t("finances.transaction-report.table.entity.fields.client"))+" ")]),e("td",{staticClass:"entity-property-list-element-value"},[t._v(" "+t._s(t.entity.client)+" ")])]),e("tr",{staticClass:"entity-property-list-element"},[e("td",{staticClass:"entity-property-list-element-property"},[t._v(" "+t._s(t.$t("finances.transaction-report.table.entity.fields.start"))+" ")]),e("td",{staticClass:"entity-property-list-element-value"},[t._v(" "+t._s(t.entity.start)+" ")])]),e("tr",{staticClass:"entity-property-list-element"},[e("td",{staticClass:"entity-property-list-element-property"},[t._v(" "+t._s(t.$t("finances.transaction-report.table.entity.fields.end"))+" ")]),e("td",{staticClass:"entity-property-list-element-value"},[t._v(" "+t._s(t.entity.end)+" ")])])])])])},n=[],i={props:{entity:{type:Object,require:!0}}};const o=i,r=o;var c=s(81656),l=(0,c.A)(r,a,n,!1,null,null,null);const d=l.exports},33954:(t,e,s)=>{s.r(e),s.d(e,{default:()=>f});var a=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("div",{staticClass:"panel-body"},[e("h4",{staticStyle:{margin:"20px 0"}},[t._v(" Filters ")]),e("div",{staticClass:"filter"},[e("v-row",[e("v-col",[e("c-date-picker",{attrs:{date:t.localFrom,label:t.$t("invoice.report-page.filter.from"),outlined:""},on:{"update:date":function(e){t.localFrom=e}}})],1),e("v-col",[e("c-date-picker",{attrs:{label:t.$t("invoice.report-page.filter.to"),date:t.localTo,outlined:""},on:{"update:date":function(e){t.localTo=e}}})],1),e("v-col",[e("rx-select-input",{attrs:{label:t.$t("invoice.report-page.filter.per-page"),variants:{25:25,50:50,75:75}},model:{value:t.localPerPage,callback:function(e){t.localPerPage=e},expression:"localPerPage"}})],1)],1),e("v-col",[e("user-selector",{attrs:{user:t.localClient,label:t.$t("invoice.report-page.filter.client"),"prepend-inner-icon":"mdi-database-search","hide-details":"",outlined:""},on:{"update:user":function(e){t.localClient=e}}})],1)],1),t.load?e("v-progress-linear",{attrs:{indeterminate:"",color:"cyan"}}):t._e(),e("div",{staticClass:"result"},[e("v-simple-table",{scopedSlots:t._u([{key:"default",fn:function(){return[e("thead",[e("tr",[e("th",[t._v(t._s(t.$t("finances.transaction-report.table.batch.label")))]),e("th",[t._v(t._s(t.$t("finances.transaction-report.table.transaction.label")))]),e("th",[t._v(t._s(t.$t("finances.transaction-report.table.entity.label")))])])]),e("tbody",t._l(t.items,(function(s,a){return e("tr",{key:(null===s||void 0===s?void 0:s.id)||a},[e("td",[t._v("BATCH:"+t._s(s.id)+" TRX#: "+t._s(s.iterated_value))]),e("td",[e("nacha-transaction",{attrs:{transaction:s.transaction}})],1),e("td",[e("nacha-entity",{attrs:{entity:s.entity}}
1)],1)])})),0)]},proxy:!0}])})],1)],1),t.total?e("div",{staticClass:"pagination"},[e("div",{staticClass:"text-center"},[e("v-pagination",{attrs:{length:Math.round(t.total/t.perPage)},model:{value:t.localPage,callback:function(e){t.localPage=e},expression:"localPage"}})],1)]):t._e()])},n=[],i=s(70320),o=(s(7493),s(17554),s(11559),s(30961)),r=s(73629),c={components:{"user-selector":(0,o.defineAsyncComponent)((function(){return Promise.all([s.e(5207),s.e(4614),s.e(1432),s.e(976),s.e(2623),s.e(5508),s.e(2916),s.e(5590),s.e(8756),s.e(5494),s.e(5282),s.e(5972),s.e(3632),s.e(9695),s.e(7830),s.e(1175),s.e(15),s.e(3881),s.e(6882),s.e(4376),s.e(8310),s.e(9880),s.e(9060),s.e(4089),s.e(7410)]).then(s.bind(s,92027))})),"c-date-picker":(0,o.defineAsyncComponent)((function(){return Promise.all([s.e(5207),s.e(4614),s.e(1432),s.e(976),s.e(2623),s.e(5508),s.e(2916),s.e(5590),s.e(8756),s.e(5494),s.e(5282),s.e(5972),s.e(3632),s.e(9695),s.e(7830),s.e(1175),s.e(15),s.e(3881),s.e(6882),s.e(4376),s.e(8310),s.e(9880),s.e(9060),s.e(4089),s.e(7410)]).then(s.bind(s,83723))})),"nacha-transaction":(0,o.defineAsyncComponent)((function(){return Promise.resolve().then(s.bind(s,34064))})),"nacha-entity":(0,o.defineAsyncComponent)((function(){return Promise.resolve().then(s.bind(s,94644))}))},data:function(){return{localFrom:null,localTo:null,localClient:null,localPerPage:null,localPage:null}},computed:(0,i.A)({},(0,r.L8)({load:"Finances/NachaTransactions/load",page:"Finances/NachaTransactions/page",perPage:"Finances/NachaTransactions/perPage",total:"Finances/NachaTransactions/total",items:"Finances/NachaTransactions/paginatedItems",from:"Finances/NachaTransactions/from",to:"Finances/NachaTransactions/to",client:"Finances/NachaTransactions/client"})),methods:(0,i.A)({},(0,r.i0)({loadNachaTransactions:"Finances/NachaTransactions/loadNachaTransactions",change:"Finances/NachaTransactions/change"})),mounted:function(){this.localFrom=this.from,this.localTo=this.to,this.localClient=this.client,this.localPerPage=this.perPage,this.localPage=this.page,this.loadNachaTransactions({page:this.page,per_page:this.perPage,from:this.from,to:this.to,client:this.client})},watch:{load:function(t){},localFrom:function(t,e){e&&this.change({from:t})},localTo:function(t,e){e&&this.change({to:t})},localClient:function(t){this.change({client:t})},localPerPage:function(t,e){e&&this.change({per_page:t})},localPage:function(t,e){e&&this.change({page:t})}}};const l=c,d=l;var u=s(81656),h=(0,u.A)(d,a,n,!1,null,null,null);const f=h.exports},34064:(t,e,s)=>{s.r(e),s.d(e,{default:()=>d});var a=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"transaction-container"},[t.transaction?e("div",{staticClass:"transaction-property-list"},[e("table",[e("tbody",[e("tr",{staticClass:"transaction-property-list-element"},[e("td",{staticClass:"transaction-property-list-element-property"},[t._v(" "+t._s(t.$t("finances.transaction-report.table.transaction.fields.id"))+": ")]),e("td",{staticClass:"transaction-property-list-element-value"},[t._v(" "+t._s(t.transaction.id)+" ")])]),e("tr",{staticClass:"transaction-property-list-element"},[e("td",{staticClass:"transaction-property-list-element-property"},[t._v(" "+t._s(t.$t("finances.transaction-report.table.transaction.fields.date"))+": ")]),e("td",{staticClass:"transaction-property-list-element-value"},[t._v(" "+t._s(t.transaction.date)+" ")])]),e("tr",{staticClass:"transaction-property-list-element"},[e("td",{staticClass:"transaction-property-list-element-property"},[t._v(" "+t._s(t.$t("finances.transaction-report.table.transaction.fields.amount"))+": ")]),e("td",{staticClass:"transaction-property-list-element-value"},[t._v(" "+t._s(t.transaction.amount)+" ")])]),e("tr",{staticClass:"transaction-property-list-element"},[e("td",{staticClass:"transaction-property-list-element-property"},[t._v(" "+t._s(t.$t("finances.transaction-report.table.transaction.fields.status"))+": ")]),e("td",{staticClass:"transaction-property-list-element-value"},[t._v(" "+t._s(t.transaction.status)+" ")])])])])]):t._e(),t.transaction?t._e():e("div",{staticClass:"transaction-empty"},[t._v(" "+t._s(t.$t("finances.transaction-report.table.transaction.empty"))+" ")])])},n=[],i={props:{transaction:{type:Object,required:!1}}};const o=i,r=o;var c=s(81656),l=(0,c.A)(r,a,n,!1,null,null,null);const d=l.exports},82271:(t,e,s)=>{s.r(e),s.d(e,{default:()=>f});s(54016),s(39814),s(81284),s(38560),s(18684),s(52442),s(7493),s(4069),s(13848),s(40758),s(75802);var a=function(){var t,e,s=this,a=s._self._c;return a("div",[a("div",{staticClass:"panel-heading"},[a("auto-refresh",{staticStyle:{display:"none"},attrs:{"auto-refresh":s.autorefresh},on:{"update:autoRefresh":function(t){s.autorefresh=t},"update:auto-refresh":function(t){s.autorefresh=t}}})],1),a("div",{staticClass:"panel-body"},[a("h4",{staticStyle:{margin:"20px 0"}},[s._v(" Filters ")]),a("div",{staticClass:"row"},[a("div",{staticClass:"col-md-2"},[a("div",{staticClass:"form-group"},[a("div",{staticClass:"form-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:s.filter.created_from,expression:"filter.created_from"}],staticClass:"form-control datepicker",attrs:{id:"filter_created_from",type:"text"},domProps:{value:s.filter.created_from},on:{input:function(t){t.target.composing||s.$set(s.filter,"created_from",t.target.value)}}}),a("small",[s._v("Note Was Created After")])])])]),a("div",{staticClass:"col-md-2"},[a("div",{staticClass:"form-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:s.filter.created_to,expression:"filter.created_to"}],staticClass:"form-control datepicker",attrs:{id:"filter_created_to",type:"text"},domProps:{value:s.filter.created_to},on:{input:function(t){t.target.composing||s.$set(s.filter,"created_to",t.target.value)}}}),a("small",[s._v("Note Was Created Before")])])]),a("div",{staticClass:"col-md-4"},[a("button",{staticClass:"btn btn-primary-outline",on:{click:function(t){return s.filterChanged()}}},[s._v(" Apply ")]),a("button",{staticClass:"btn btn-primary-outline",staticStyle:{"margin-left":"10px"},on:{click:function(t){return s.setUnpaidInterval()}}},[s._v(" Unpaid ")]),a("button",{staticClass:"btn btn-success-outline",staticStyle:{"margin-left":"10px"},on:{click:function(t){return s.downloadCsv()}}},[a("i",{staticClass:"icmn-arrow-down6"}),s._v(" CSV ")]),a("a",{staticClass:"btn btn-success margin-left-10",on:{click:function(t){return s.openModalNewTransaction()}}},[a("i",{staticClass:"icmn-plus3"})])]),a("div",{staticClass:"col-md-4"},[a("div",{staticClass:"pull-right margin-right-20"},[a("div",{staticClass:"form-group"},[a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:s.searchMainTable,expression:"searchMainTable"}],staticClass:"form-control pull-left",staticStyle:{width:"150px"},attrs:{type:"text"},domProps:{value:s.searchMainTable},on:{input:[function(t){t.target.composing||(s.searchMainTable=t.target.value)},function(t){return s.filterChanged()}]}}),s._m(0)]),a("small",[s._v("Search In Table")])])])])]),s._m(1),a("div",{directives:[{name:"show",rawName:"v-show",value:Object.keys(s.finances.timelines).length>0,expression:"Object.keys(finances.timelines).length > 0"}],staticClass:"table100 ver1",staticStyle:{width:"260px",display:"inline-block","vertical-align":"top"}},[a("table",{staticClass:"finance-table table nowrap table-bordered table-titles",attrs:{"data-vertable":"ver1"}},[s._m(2),s._m(3),a("tbody",s._l(s.finances.users,(function(t,e){return a("tr",{key:e,staticClass:"row100"},[a("td",{class:"column-highlighed column100 row"+e,attrs:{"data-row":"row"+e}},[a("div",{staticClass:"column-highligh l-regular g-operation-expense"},[a("div",{staticClass:"table-iteration"},[a("code",[s._v(s._s(e+1))])]),a("a",{attrs:{href:"/account/"+t.uid,target:"_blank"}},[t.name?a("span",[s._v(s._s(t.name))]):s._e(),!t.name&&t.title?a("span",[s._v(s._s(t.title))]):s._e(),t.title||t.name||!t.username?s._e():a("span",[s._v(s._s(t.username))])])])])])})),0),s._m(4)])]),a("div",{directives:[{name:"show",rawName:"v-show",value:Object.keys(s.finances.timelines).length>0,expression:"Object.keys(finances.timelines).length > 0"}],staticClass:"table100 ver1 disable-select",staticStyle:{display:"inline-block",width:"calc(100% - 950px)","vertical-align":"top"}},[a("table",{staticClass:"finance-table table nowrap table-bordered table-titles slider table-responsive",attrs:{"data-vertable":"ver1"}},[a("tbody",[a("tr",{staticClass:"g-total"},s._l(s.finances.totals,(function(t,e){return a("td",{key:e},[a("a",{on:{click:function(t){return s.displayModalTransaction(null,e)}}},[s._v(s._s(s.formatPrice(t)))])])})),0)]),a("thead",{staticClass:"thead-default"},[a("tr",s._l(s.finances.totals,(function(t,e){return a("th",{key:e,staticClass:"g-title",staticStyle:{"min-width":"80px"}},[s._v(" "+s._s(s.formatDate(e))+" ")])})),0)]),a("tbody",s._l(s.finances.users,(function(t,e){return a("tr",{key:e,staticClass:"row100"},[s._l(s.finances.timelines,(function(n,i,o){return[s.finances.timelines[i][t.uid]?a("td",{key:o,staticClass:"column-highlighed column100",class:"row"+e+" column"+
1o,attrs:{"data-row":"row"+e,"data-column":"column"+o},on:{click:function(e){return s.openModalNewTransaction(t.uid,i)}}},[a("div",{directives:[{name:"show",rawName:"v-show",value:"N/A"!=n[t.uid].amount,expression:"item[user.uid].amount != 'N/A'"}],staticClass:"column-highligh l-regular",class:{"g-locked":n[t.uid].lock,"g-unlocked":!n[t.uid].lock,"g-paid":n[t.uid].check&&"paid"==n[t.uid].check_status,"g-unpaid":n[t.uid].check&&"paid"!=n[t.uid].check_status}},[a("a",{on:{click:function(e){return e.stopPropagation(),s.displayModalTransaction(t.uid,i)}}},[s._v(s._s(s.formatPrice(n[t.uid].amount)))])]),a("div",{directives:[{name:"show",rawName:"v-show",value:"N/A"==n[t.uid].amount,expression:"item[user.uid].amount == 'N/A'"}],staticClass:"column-highligh c-na"},[s._v(" Â ")])]):s._e()]}))],2)})),0),a("tfoot",{staticClass:"thead-default"},[a("tr",s._l(s.finances.totals,(function(t,e){return a("th",{key:e,staticClass:"g-total",staticStyle:{"min-width":"100px"}},[a("a",{on:{click:function(t){return s.displayModalTransaction(null,e)}}},[s._v(s._s(s.formatPrice(t)))])])})),0)])])]),a("div",{directives:[{name:"show",rawName:"v-show",value:Object.keys(s.finances.timelines).length>0,expression:"Object.keys(finances.timelines).length > 0"}],staticClass:"table100 ver1",staticStyle:{width:"670px",display:"inline-block","vertical-align":"top"}},[a("table",{staticClass:"finance-table table nowrap table-bordered table-titles",attrs:{"data-vertable":"ver1"}},[a("tbody",[a("tr",{staticClass:"total"},[a("td",{staticClass:"g-total"},[a("a",{on:{click:function(t){return s.displayModalTransaction(null,null)}}},[s._v(s._s(s.formatPrice(s.finances.total)))])]),a("td",{staticClass:"g-total"}),a("td",{staticClass:"g-total"},[s._v(" "+s._s(s.formatPrice(s.finances.total_lock_diff))+" ")]),a("td",{staticClass:"g-total"},[a("a",{on:{click:function(t){return s.displayModalTransaction(null,null)}}},[s._v(s._s(s.formatPrice(s.finances.total_locked)))])]),a("td",{staticClass:"g-total"},[a("a",{directives:[{name:"show",rawName:"v-show",value:"expense"==s.section,expression:"section == 'expense'"}],on:{click:function(t){return s.displayModalTransaction(null,null)}}},[s._v(s._s(s.formatPrice(s.finances.total_checks_unpaid)))]),a("a",{directives:[{name:"show",rawName:"v-show",value:"revenue"==s.section,expression:"section == 'revenue'"}],on:{click:function(t){return s.displayModalTransaction(null,null)}}},[s._v(s._s(s.formatPrice(s.finances.total_invoices_unpaid)))])]),a("td",{staticClass:"g-total"},[a("a",{directives:[{name:"show",rawName:"v-show",value:"expense"==s.section,expression:"section == 'expense'"}],on:{click:function(t){return s.displayModalTransaction(null,null)}}},[s._v(s._s(s.formatPrice(s.finances.total_checks_paid)))]),a("a",{directives:[{name:"show",rawName:"v-show",value:"revenue"==s.section,expression:"section == 'revenue'"}],on:{click:function(t){return s.displayModalTransaction(null,null)}}},[s._v(s._s(s.formatPrice(s.finances.total_invoices_paid)))])])])]),a("thead",{staticClass:"thead-default"},[a("tr",[a("th",{staticClass:"g-title"},[s._v(" Total ")]),a("th",{staticClass:"g-title",staticStyle:{width:"60px","white-space":"nowrap !important"}},[a("a",{on:{click:function(t){return s.setBulkSelection()}}}
1,[a("i",{staticClass:"menu-notification-icon",class:{"icmn-checkbox-unchecked":!s.lockBulkAction,"icmn-checkbox-checked":s.lockBulkAction}})]),a("div",{staticClass:"dropdown"},[a("a",{staticClass:"dropdown-toggle text-nowrap",attrs:{href:"","data-toggle":"dropdown"}}),a("div",{staticClass:"dropdown-menu dropdown-menu-right",attrs:{role:"menu"}},[a("a",{staticClass:"dropdown-item",on:{click:function(t){return s.saveLocks("lock")}}},[a("i",{staticClass:"fa fa-lock margin-right-5"}),s._v(" Lock")]),a("div",{staticClass:"dropdown-divider"}),a("a",{staticClass:"dropdown-item",on:{click:function(t){return s.saveLocks("unlock")}}},[a("i",{staticClass:"fa fa-unlock margin-right-5"}),s._v(" Unlock")]),a("div",{directives:[{name:"show",rawName:"v-show",value:"expense"==s.section,expression:"section == 'expense'"}],staticClass:"dropdown-divider"}),a("a",{directives:[{name:"show",rawName:"v-show",value:"expense"==s.section,expression:"section == 'expense'"}],staticClass:"dropdown-item",on:{click:function(t){return s.getChecksNumbersForPrint()}}},[a("i",{staticClass:"fa fa-money margin-right-5"}),s._v(" Create Payout")]),null!==(t=s.currentUser)&&void 0!==t&&null!==(t=t.permission)&&void 0!==t&&t.canFinanceManagePaid?[a("div",{directives:[{name:"show",rawName:"v-show",value:"expense"==s.section,expression:"section == 'expense'"}],staticClass:"dropdown-divider"}),a("a",{directives:[{name:"show",rawName:"v-show",value:"expense"==s.section,expression:"section == 'expense'"}],staticClass:"dropdown-item",on:{click:function(t){return s.setChecksStatus("paid")}}},[a("i",{staticClass:"fa fa-check margin-right-5"}),s._v(" Set Checks Paid")]),a("div",{directives:[{name:"show",rawName:"v-show",value:"expense"==s.section,expression:"section == 'expense'"}],staticClass:"dropdown-divider"}),a("a",{directives:[{name:"show",rawName:"v-show",value:"expense"==s.section,expression:"section == 'expense'"}],staticClass:"dropdown-item",on:{click:function(t){return s.setChecksStatus("unpaid")}}},[a("i",{staticClass:"fa fa-close margin-right-5"}),s._v(" Set Checks Unpaid")])]:s._e(),a("div",{directives:[{name:"show",rawName:"v-show",value:"revenue"==s.section,expression:"section == 'revenue'"}],staticClass:"dropdown-divider"}),a("a",{directives:[{name:"show",rawName:"v-show",value:"revenue"==s.section,expression:"section == 'revenue'"}],staticClass:"dropdown-item",on:{click:function(t){return s.sendInvoices()}}},[a("i",{staticClass:"fa fa-mail-forward margin-right-5"}),s._v(" Send Invoices")]),null!==(e=s.currentUser)&&void 0!==e&&null!==(e=e.permission)&&void 0!==e&&e.canFinanceManagePaid?[a("div",{directives:[{name:"show",rawName:"v-show",value:"revenue"==s.section,expression:"section == 'revenue'"}],staticClass:"dropdown-divider"}),a("a",{directives:[{name:"show",rawName:"v-show",value:"revenue"==s.section,expression:"section == 'revenue'"}],staticClass:"dropdown-item",on:{click:function(t){return s.setInvoicesStatus("paid")}}},[a("i",{staticClass:"fa fa-check margin-right-5"}),s._v(" Set Invoices Paid")]),a("div",{directives:[{name:"show",rawName:"v-show",value:"revenue"==s.section,expression:"section == 'revenue'"}],staticClass:"dropdown-divider"}),a("a",{directives:[{name:"show",rawName:"v-show",value:"revenue"==s.section,expression:"section == 'revenue'"}],staticClass:"dropdown-item",on:{click:function(t){return s.setInvoicesStatus("unpaid")}}},[a("i",{staticClass:"fa fa-close margin-right-5"}),s._v(" Set Invoices Unpaid")])]:s._e()],2)])]),a("th",{staticClass:"g-title"},[s._v(" Lock Diff ")]),a("th",{staticClass:"g-title"},[s._v(" Locked ")]),a("th",{staticClass:"g-title"},[s._v(" Printed ")]),a("th",{staticClass:"g-title"},[s._v(" Paid ")])])]),a("tbody",s._l(s.finances.users,(function(t,e){return a("tr",{key:e,staticClass:"row100"},[a("td",{class:"column-highlighed column100 column103 row"+e,attrs:{"data-column":"column103","data-row":"row"+e}},[a("div",{staticClass:"column-highligh c-total"},[a("a",{on:{click:function(e){return s.displayModalTransaction(t.uid,null)}}},[s._v(s._s(s.formatPrice(t.total)))])])]),a("td",{class:"column-highlighed column100 row"+e,attrs:{"data-row":"row"+e}},[a("div",{staticClass:"column-highligh l-regular"},[a("a",{on:{click:function(t){return s.setSelection(e)}}}
1,[a("i",{staticClass:"list-icon",class:{"icmn-checkbox-unchecked":!s.checkboxes[t.uid],"icmn-checkbox-checked":s.checkboxes[t.uid]}})])])]),a("td",{class:"column-highlighed column100 column101 row"+e,attrs:{"data-column":"column101","data-row":"row"+e}},[a("div",{directives:[{name:"show",rawName:"v-show",value:0!=t.total_lock_diff,expression:"item.total_lock_diff != 0"}],staticClass:"column-highligh l-regular"},[s._v(" "+s._s(s.formatPrice(t.total_lock_diff))+" ")]),a("div",{directives:[{name:"show",rawName:"v-show",value:0==t.total_lock_diff,expression:"item.total_lock_diff == 0"}],staticClass:"column-highligh l-regular"},[s._v(" Â ")])]),a("td",{class:"column-highlighed column100 column102 row"+e,attrs:{"data-column":"column102","data-row":"row"+e}},[a("div",{directives:[{name:"show",rawName:"v-show",value:0!=t.total_locked,expression:"item.total_locked != 0"}],staticClass:"column-highligh g-locked"},[a("a",{on:{click:function(e){return s.displayModalTransaction(t.uid,null)}}},[s._v(s._s(s.formatPrice(t.total_locked)))])]),a("div",{directives:[{name:"show",rawName:"v-show",value:0==t.total_locked,expression:"item.total_locked == 0"}],staticClass:"column-highligh g-locked"},[s._v(" Â ")])]),a("td",{class:"column-highlighed column100 column105 row"+e,attrs:{"data-column":"column105","data-row":"row"+e}},[a("div",{directives:[{name:"show",rawName:"v-show",value:0!=t.total_checks_unpaid,expression:"item.total_checks_unpaid != 0"}],staticClass:"column-highligh g-unpaid"},[a("a",{on:{click:function(e){return s.displayModalTransaction(t.uid,null)}}},[s._v(s._s(s.formatPrice(t.total_checks_unpaid)))])]),a("div",{directives:[{name:"show",rawName:"v-show",value:0==t.total_checks_unpaid,expression:"item.total_checks_unpaid == 0"}],staticClass:"column-highligh g-unpaid"},[s._v(" Â ")])]),a("td",{class:"column-highlighed column100 column106 row"+e,attrs:{"data-column":"column106","data-row":"row"+e}},[a("div",{directives:[{name:"show",rawName:"v-show",value:0!=t.total_checks_paid,expression:"item.total_checks_paid != 0"}],staticClass:"column-highligh g-paid"},[a("a",{on:{click:function(e){return s.displayModalTransaction(t.uid,null)}}},[s._v(s._s(s.formatPrice(t.total_checks_paid)))])]),a("div",{directives:[{name:"show",rawName:"v-show",value:0==t.total_checks_paid,expression:"item.total_checks_paid == 0"}],staticClass:"column-highligh g-paid"},[s._v(" Â ")])])])})),0),a("tfoot",{staticClass:"thead-default"},[a("tr",[a("th",{staticClass:"g-total"},[a("a",{on:{click:function(t){return s.displayModalTransaction(null,null)}}},[s._v(s._s(s.formatPrice(s.finances.total)))])]),a("th",{staticClass:"g-total"}),a("th",{staticClass:"g-total"},[s._v(" "+s._s(s.formatPrice(s.finances.total_lock_diff))+" ")]),a("th",{staticClass:"g-total"},[a("a",{on:{click:function(t){return s.displayModalTransaction(null,null)}}},[s._v(s._s(s.formatPrice(s.finances.total_locked)))])]),a("th",{staticClass:"g-total"},[a("a",{on:{click:function(t){return s.displayModalTransaction(null,null)}}},[s._v(s._s(s.formatPrice(s.finances.total_checks_unpaid)))])]),a("th",{staticClass:"g-total"},[a("a",{on:{click:function(t){return s.displayModalTransaction(null,null)}}},[s._v(s._s(s.formatPrice(s.finances.total_checks_paid)))])])])])])])]),s.showModalNewTransaction?a("transition",[a("div",{staticClass:"modal-mask"},[a("div",{staticClass:"modal-wrapper"},[a("div",{staticClass:"modal-container",staticStyle:{width:"calc(100% - 320px)","vertical-align":"top"}},[a("div",{staticClass:"modal-header"},[a("div",{staticClass:"pull-left"},[a("h3",{staticStyle:{"margin-bottom":"0"}},[s._v(" New Transaction ")])])]),a("div",{staticClass:"modal-body-static"},[a("div",{staticClass:"row",staticStyle:{"margin-top":"20px"}},[a("div",{staticClass:"col-lg-6"},[a("div",{staticClass:"form-group row"},[a("label",{staticClass:"col-md-3 col-form-label",attrs:{for:"l0"}},[s._v("Title")]),a("div",{staticClass:"col-md-9"},[a("input",{directives:[{name:"model",rawName:"v-model",value:s.new_exp_title,expression:"new_exp_title"}],staticClass:"form-control",attrs:{type:"text",placeholder:"For private purposes"},domProps:{value:s.new_exp_title},on:{input:function(t){t.target.composing||(s.new_exp_title=t.target.value)}}})])]),a("div",{staticClass:"form-group row"},[a("label",{staticClass:"col-md-3 col-form-label",attrs:{for:"l0"}},[s._v("Amount")]),a("div",{staticClass:"col-md-9"},[a("input",{directives:[{name:"model",rawName:"v-model",value:s.new_exp_amount,expression:"new_exp_amount"}],staticClass:"form-control",attrs:{type:"text",placeholder:"100"},domProps:{value:s.new_exp_amount},on:{input:function(t){t.target.composing||(s.new_exp_amount=t.target.value)}}})])]),a("div",{staticClass:"form-group row"},[a("label",{staticClass:"col-md-3 col-form-label",attrs:{for:"l15"}},[s._v("Description")]),a("div",{staticClass:"col-md-9"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:s.new_exp_description,expression:"new_exp_description"}],staticClass:"form-control",attrs:{rows:"3"},domProps:{value:s.new_exp_description},on:{input:function(t){t.target.composing||(s.new_exp_description=t.target.value)}}})])])]),a("div",{staticClass:"col-lg-6"}
1,[a("div",{staticClass:"row form-group elem-addexpenses-user"},[a("label",{staticClass:"text-right-lg col-xs-12 col-md-3 form-control-label",attrs:{for:"addexpenses-user"}},[s._v("For user")]),a("div",{staticClass:"col-xs-12 col-md-9"},[a("select",{staticClass:"form-control",attrs:{id:"new_exp_for_user",name:"user"}},[a("option",{attrs:{value:""}},[s._v(" Select ")]),s._l(s.users,(function(t){return a("option",{key:t.uid,domProps:{value:t.uid}},[s._v(" "+s._s(t.name)+" ("+s._s(t.username)+" - "+s._s(t.business_name)+") ")])}))],2),a("small",{staticClass:"text-muted"},[s._v(" If you will select a driver, this information will be visible in pop-up. "),a("br"),s._v(" If no user selected - in Office expenses list with Title. ")])])]),a("div",{staticClass:"row form-group elem-addexpenses-date"},[a("label",{staticClass:"text-right-lg col-xs-12 col-md-3 form-control-label",attrs:{for:"addexpenses-date"}},[s._v("For Date")]),a("div",{staticClass:"col-xs-12 col-md-9"},[a("input",{directives:[{name:"model",rawName:"v-model",value:s.new_exp_for_date,expression:"new_exp_for_date"}],staticClass:"datepicker form-control",attrs:{id:"new_exp_for_date",type:"text",name:"for_date"},domProps:{value:s.new_exp_for_date},on:{input:function(t){t.target.composing||(s.new_exp_for_date=t.target.value)}}})])]),a("div",{staticClass:"row form-group elem-addexpenses-date"},[a("label",{staticClass:"text-right-lg col-xs-12 col-md-3 form-control-label",attrs:{for:"addexpenses-date"}}),a("div",{staticClass:"col-xs-12 col-md-9"},[a("input",{directives:[{name:"model",rawName:"v-model",value:s.new_exp_multiple_days,expression:"new_exp_multiple_days"}],attrs:{id:"manydays",name:"until_flag",type:"checkbox"},domProps:{checked:Array.isArray(s.new_exp_multiple_days)?s._i(s.new_exp_multiple_days,null)>-1:s.new_exp_multiple_days},on:{change:function(t){var e=s.new_exp_multiple_days,a=t.target,n=!!a.checked;if(Array.isArray(e)){var i=null,o=s._i(e,i);a.checked?o<0&&(s.new_exp_multiple_days=e.concat([i])):o>-1&&(s.new_exp_multiple_days=e.slice(0,o).concat(e.slice(o+1)))}else s.new_exp_multiple_days=n}}}),s._v(" "),a("label",{attrs:{for:"manydays"}},[s._v("Multiple days?")]),a("div",{directives:[{name:"show",rawName:"v-show",value:s.new_exp_multiple_days,expression:"new_exp_multiple_days"}],attrs:{id:"manydaysdiv"}},[a("b",[s._v("Expenses until: ")]),a("input",{directives:[{name:"model",rawName:"v-model",value:s.new_exp_to_date,expression:"new_exp_to_date"}],staticClass:"datepicker form-control",attrs:{id:"new_exp_to_date",type:"text",name:"to_date"},domProps:{value:s.new_exp_to_date},on:{input:function(t){t.target.composing||(s.new_exp_to_date=t.target.value)}}}),a("small",{staticClass:"text-muted"},[s._v(" The amount will be equally distributed inside period from For Date to Expenses until. ")])])])])])])]),a("div",{staticClass:"modal-footer"},[s._t("footer",(function(){return[a("button",{staticClass:"btn btn-success btn-sm",on:{click:function(t){return s.addTransaction()}}},[s._v(" Add ")]),a("button",{staticClass:"btn btn-secondary-outline btn-sm",on:{click:function(t){s.showModalNewTransaction=!1}}},[s._v(" Close ")])]}))],2)])])])]):s._e(),s.showModalTransactions?a("modal-info",{on:{close:function(t){s.showModalTransactions=!1}}},[a("div",{attrs:{slot:"header"},slot:"header"},[a("div",{staticClass:"pull-right"},[a("div",{staticClass:"form-group"},[a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:s.search,expression:"search"}],staticClass:"form-control pull-left",staticStyle:{width:"150px"},attrs:{type:"text"},domProps:{value:s.search},on:{input:function(t){t.target.composing||(s.search=t.target.value)}}}),a("div",{staticClass:"btn input-group-text pull-left",staticStyle:{"box-shadow":"none",left:"-2px"}},[a("i",{staticClass:"icmn-search"})])])])]),a("div",{staticClass:"pull-left"},[a("h3",{staticStyle:{"margin-bottom":"0"}},[s._v(" "+s._s(s.transactions.user_name)+" ")]),a("br"),a("code",{directives:[{name:"show",rawName:"v-show",value:s.transactions.date,expression:"transactions.date"}],staticClass:"margin-right-5"},[s._v(s._s(s.formatDate(s.transactions.date,"MM/DD/YYYY")))]),a("code",{directives:[{name:"show",rawName:"v-show",value:s.transactions.date_diapason,expression:"transactions.date_diapason"}],staticClass:"margin-right-5"},[s._v(s._s(s.transactions.date_diapason))]),a("code",{directives:[{name:"show",rawName:"v-show",value:s.transactions.user_business_name,expression:"transactions.user_business_name"}],staticClass:"margin-right-5"},[s._v(s._s(s.transactions.user_business_name))])]),a("div",{staticClass:"pull-left margin-left-20"},[a("span",[a("b",[s._v("Transactions:")]),s._v(" "),a("code",[s._v(s._s(s.transactions.items))])]),a("span",{staticClass:"margin-left-10"},[a("b",[s._v("Amount:")]),s._v(" "),a("code",[s._v(s._s(s.formatPrice(s.transactions.amount)))])]),a("span",{staticClass:"margin-left-10"}
1,[a("b",[s._v("Locked:")]),s._v(" "),a("code",[s._v(s._s(s.formatPrice(s.transactions.locked)))])]),a("span",{staticClass:"margin-left-10"},[a("b",[s._v("Unpaid:")]),s._v(" "),a("code",[s._v(s._s(s.formatPrice(s.transactions.unpaid)))])]),a("span",{staticClass:"margin-left-10"},[a("b",[s._v("Paid:")]),s._v(" "),a("code",[s._v(s._s(s.formatPrice(s.transactions.paid)))])]),a("br"),a("span",{staticStyle:{"font-size":"10px"}},[a("span",{directives:[{name:"show",rawName:"v-show",value:s.transactions.user_address,expression:"transactions.user_address"}]},[s._v(s._s(s.transactions.user_address))])]),a("br"),a("span",{staticStyle:{"font-size":"10px"}},[a("span",{directives:[{name:"show",rawName:"v-show",value:s.transactions.user_phone,expression:"transactions.user_phone"}]},[s._v(s._s(s.formatPhone(s.transactions.user_phone)))])])])]),a("div",{staticStyle:{"min-height":"200px"},attrs:{slot:"body"},slot:"body"},[a("table",{staticClass:"finance-table table table-hover nowrap table-bordered"},[a("tbody",[a("tr",{staticClass:"g-total"},[a("td"),a("td"),a("td"),a("td"),a("td"),a("td",[s._v(s._s(s.formatPrice(s.transactions.amount)))]),a("td",[s._v(s._s(s.formatPrice(s.transactions.locked)))]),a("td",[s._v(s._s(s.formatPrice(s.transactions.unpaid)))]),a("td",[s._v(s._s(s.formatPrice(s.transactions.paid)))])])]),a("thead",{staticClass:"thead-default stiky"},[a("tr",[a("th",{staticStyle:{width:"56px","z-index":"10"}},[a("a",{on:{click:function(t){return s.setTrnsBulkSelection()}}}
1,[a("i",{staticClass:"menu-notification-icon",class:{"icmn-checkbox-unchecked":!s.trnsBulkAction,"icmn-checkbox-checked":s.trnsBulkAction}})]),a("div",{staticClass:"dropdown"},[a("a",{staticClass:"dropdown-toggle text-nowrap",attrs:{href:"","data-toggle":"dropdown"}}),a("div",{staticClass:"dropdown-menu dropdown-menu-left",staticStyle:{padding:"5px"},attrs:{role:"menu"}},[a("div",{staticClass:"form-group"},[a("div",{staticClass:"form-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:s.trnsBulkActionInput,expression:"trnsBulkActionInput"}],staticClass:"form-control",attrs:{type:"text",placeholder:"10"},domProps:{value:s.trnsBulkActionInput},on:{input:function(t){t.target.composing||(s.trnsBulkActionInput=t.target.value)}}})])]),a("div",{staticClass:"dropdown-divider"}),a("a",{staticClass:"dropdown-item",on:{click:function(t){return s.confirmTrnsChanges()}}},[a("i",{staticClass:"fa fa-arrow-right margin-right-5 text-danger"}),s._v(" Set Amount")]),a("div",{staticClass:"dropdown-divider"}),a("a",{staticClass:"dropdown-item",on:{click:function(t){return s.confirmTrnsDelete()}}},[a("i",{staticClass:"fa fa-close margin-right-5 text-danger"}),s._v(" Delete")])])])]),a("th",{staticStyle:{"min-width":"220px"}},[s._v(" Description "),a("clickable-sorter",{attrs:{field:"title","cur-field":s.trnsSortField,"cur-dir":s.trnsSortDir},on:{click:function(t){return s.sortTrns(t)}}})],1),a("th",[s._v(" Accountant "),a("clickable-sorter",{attrs:{field:"accountant_name","cur-field":s.trnsSortField,"cur-dir":s.trnsSortDir},on:{click:function(t){return s.sortTrns(t)}}})],1),a("th",[s._v(" Effective Date "),a("clickable-sorter",{attrs:{field:"for_date","cur-field":s.trnsSortField,"cur-dir":s.trnsSortDir},on:{click:function(t){return s.sortTrns(t)}}})],1),a("th",[s._v(" Creation Date "),a("clickable-sorter",{attrs:{field:"created_at","cur-field":s.trnsSortField,"cur-dir":s.trnsSortDir},on:{click:function(t){return s.sortTrns(t)}}})],1),a("th",[s._v(" Amount "),a("clickable-sorter",{attrs:{field:"amount","cur-field":s.trnsSortField,"cur-dir":s.trnsSortDir},on:{click:function(t){return s.sortTrns(t)}}})],1),a("th",[s._v(" Locked "),a("clickable-sorter",{attrs:{field:"locked","cur-field":s.trnsSortField,"cur-dir":s.trnsSortDir},on:{click:function(t){return s.sortTrns(t)}}})],1),a("th",[s._v(" Unpaid "),a("clickable-sorter",{attrs:{field:"unpaid","cur-field":s.trnsSortField,"cur-dir":s.trnsSortDir},on:{click:function(t){return s.sortTrns(t)}}})],1),a("th",[s._v(" Paid "),a("clickable-sorter",{attrs:{field:"paid","cur-field":s.trnsSortField,"cur-dir":s.trnsSortDir},on:{click:function(t){return s.sortTrns(t)}}})],1)])]),a("tbody",[s.sortedTrns.length<1?a("tr",[a("td",{staticStyle:{"text-align":"center"},attrs:{colspan:"99"}},[s._v(" Nothing found. ")])]):s._e(),s._l(s.sortedTrns,(function(t,e){return a("tr",{key:e},[a("td",[a("a",{on:{click:function(t){return s.setTrnsSelection(e)}}}
1,[a("i",{staticClass:"list-icon",class:{"icmn-checkbox-unchecked":!t.checked,"icmn-checkbox-checked":t.checked}})])]),a("td",[a("div",{staticClass:"table-iteration"},[a("code",[s._v(s._s(e+1))])]),s._v(" "+s._s(t.title)+" ")]),a("td",[a("a",{attrs:{href:"/account/"+t.accountant_uid,target:"_blank"}},[s._v(s._s(t.accountant_name))])]),a("td",[s._v(s._s(t.for_date))]),a("td",[s._v(s._s(t.created_at))]),a("td",[s._v(s._s(s.formatPrice(t.amount)))]),a("td",[s._v(s._s(s.formatPrice(t.locked)))]),a("td",[s._v(s._s(s.formatPrice(t.unpaid)))]),a("td",[s._v(s._s(s.formatPrice(t.paid)))])])}))],2),a("tfoot",{staticClass:"thead-default"},[a("tr",[a("th"),a("th",[s._v("Description")]),a("th",[s._v("Accountant")]),a("th",[s._v("Effective Date")]),a("th",[s._v("Creation Date")]),a("th",[s._v(s._s(s.formatPrice(s.transactions.amount)))]),a("th",[s._v(s._s(s.formatPrice(s.transactions.locked)))]),a("th",[s._v(s._s(s.formatPrice(s.transactions.unpaid)))]),a("th",[s._v(s._s(s.formatPrice(s.transactions.paid)))])])])])])]):s._e()],1)},n=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"btn input-group-text pull-left",staticStyle:{"box-shadow":"none",left:"-2px"}},[e("i",{staticClass:"icmn-search"})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"row margin-bottom-20"},[e("div",{staticClass:"col-md-12"},[e("div",{staticClass:"color-legend-group"},[e("div",{staticClass:"color-legend l-regular"}),t._v(" Unlocked ")]),e("div",{staticClass:"color-legend-group"},[e("div",{staticClass:"color-legend g-locked"}),t._v(" Locked ")]),e("div",{staticClass:"color-legend-group"},[e("div",{staticClass:"color-legend g-unpaid"}),t._v(" Invoice sent ")]),e("div",{staticClass:"color-legend-group"},[e("div",{staticClass:"color-legend g-paid"}),t._v(" Invoice paid ")]),e("div",{staticClass:"color-legend-group"},[e("div",{staticClass:"color-legend c-na"}),t._v(" No data ")])])])},function(){var t=this,e=t._self._c;return e("tbody",[e("tr",{staticClass:"g-total"},[e("td",[t._v("Total")])])])},function(){var t=this,e=t._self._c;return e("thead",{staticClass:"thead-default"},[e("tr",[e("th",{staticClass:"g-title"},[t._v(" Title ")])])])},function(){var t=this,e=t._self._c;return e("tfoot",{staticClass:"thead-default"},[e("tr",[e("th",{staticClass:"g-total"},[t._v(" Total ")])])])}],i=s(70320),o=(s(90644),s(1919),s(20289),s(33350),s(40180),s(70968),s(46546),s(33690),s(97089),s(25998),s(38831),s(94857),s(17554),s(58974),s(38491),s(11559),s(37321),s(39442),s(62050),s(71494),s(3777),s(75164),s(9703),s(30961)),r=s(38845),c=s(73629);const l={components:{"modal-info":(0,o.defineAsyncComponent)((function(){return Promise.all([s.e(5207),s.e(4614),s.e(1432),s.e(976),s.e(2623),s.e(5508),s.e(2916),s.e(5590),s.e(8756),s.e(5494),s.e(5282),s.e(5972),s.e(3632),s.e(9695),s.e(7830),s.e(1175),s.e(15),s.e(3881),s.e(6882),s.e(4376),s.e(8310),s.e(9880),s.e(9060),s.e(4089),s.e(7410)]).then(s.bind(s,32426))}))},emits:["close"],data:function(){return{section:"expense",showModalTransactions:!1,showModalNewTransaction:!1,filter:{created_from:null===localStorage.getItem("finance_created_from")?moment().subtract(7,"d").format("MM/DD/YYYY"):localStorage.getItem("finance_created_from"),created_to:null===localStorage.getItem("finance_created_to")?moment().format("MM/DD/YYYY"):localStorage.getItem("finance_created_to"),filter_total_till:null===localStorage.getItem("filter_total_till")?moment().format("MM/DD/YYYY"):localStorage.getItem("filter_total_till")},autorefresh:!1,finances:{timelines:{},drivers:{},locks:{}},transactions:[],users:[],accounts:[],printed:{},totals:{},prints:[],drivers:[],bank_account:"",checkboxes:{},checks:0,check_number_from:1e3,check_number_to:0,isLoading:!1,loadInterval:null,lockBulkAction:!1,trnsBulkAction:!1,trnsBulkActionInput:null,trnsSortDir:"asc",trnsSortField:"order_id",lockActions:{lock:!0,unlock:!0},search:"",searchMainTable:"",trns_uid:null,trns_date_from:null,trns_date_to:null,new_exp_title:"",new_exp_amount:"",new_exp_description:"",new_exp_for_user:"",new_exp_for_date:"",new_exp_to_date:"",new_exp_multiple_days:!1,isTableHighLightInited:!1,today:moment().format("MM/DD/YYYY")}},computed:(0,i.A)((0,i.A)({},(0,c.L8)(["currentUser"])),{},{sortedTrns:function(){var t=this;if(!this.transactions.trns)return[];var e=this.transactions.trns.sort((function(e,s){var a=1;return"desc"===t.trnsSortDir&&(a=-1),e[t.trnsSortField]<s[t.trnsSortField]?-1*a:e[t.trnsSortField]>s[t.trnsSortField]?1*a:0})),s=[],a=0;if(""!==this.search){var n=Object.keys(e[0]);for(var i in e){var o=!1;for(var r in n)null!==e[i][n[r]]&&-1!==e[i][n[r]].toString().toLowerCase().indexOf(this.search.toLowerCase())&&(o=!0);o&&(s.push(e[i]),a+=parseFloat(e[i].amount))}this.transactions.items=s.length,this.transactions.amount=a}else s=e;return s}}),watch:{isLoading:function(){var t=this,e=this;if(this.isLoading)this.loadInterval=setInterval((function(){null===window.NProgress.status&&spinner("show")}),200);else{if(clearInterval(this.loadInterval),spinner("hide"),!this.isTableHighLightInited)var s=setInterval((function(){var a=t.initTable();a&&(clearInterval(s),e.isTableHighLightInited=!0)}),100);var a=setInterval((function(){var e=t.adjustTable();e&&clearInterval(a)}),100);setTimeout((function(){$("[data-toggle=tooltip]").tooltip()}),500)}}},mounted:function(){var t=this;localStorage.setItem("utrns_init",!0),this.fetchTotals(),this.fetchFinances(),setInterval((function(){t.autorefresh&&t.fetchFinances()}),1e4),$(".datepicker").datetimepicker({icons:{time:"fa fa-clock-o",date:"fa fa-calendar",up:"fa fa-arrow-up",down:"fa fa-arrow-down"},format:"MM/DD/YYYY"})},methods:{adjustTable:function(){var t=document.querySelector(".slider");if(null===t)return!1;
1var e=$(".slider").width(),s=$(".slider .g-title").length,a=$(".slider .g-title").parent().width();if(e>=a)for(var n=Math.ceil(e/s),i=0;i<s;i++)$(".slider .g-title").eq(i).css("width",n);return!0},initTable:function(){if($(".column100").length<1)return!1;$(".column100").on("mouseover",(function(){var t=$(this).parent().parent().parent(),e=$(this).parent().parent(),s="".concat($(t).data("vertable")),a="".concat($(this).data("column")),n="".concat($(this).data("row"));"undefined"!==typeof a&&$(e).find(".".concat(a)).addClass("hov-column-".concat(s)),$(".table-titles").find(".".concat(n)).addClass("hov-column-".concat(s))})),$(".column100").on("mouseout",(function(){var t=$(this).parent().parent().parent(),e=$(this).parent().parent(),s="".concat($(t).data("vertable")),a="".concat($(this).data("column")),n="".concat($(this).data("row"));"undefined"!==typeof a&&$(e).find(".".concat(a)).removeClass("hov-column-".concat(s)),$(".table-titles").find(".".concat(n)).removeClass("hov-column-".concat(s))}));var t=document.querySelector(".slider");if(null===t)return!1;var e,s,a=!1;return t.addEventListener("mousedown",(function(n){a=!0,t.classList.add("active"),e=n.pageX-t.offsetLeft,s=t.scrollLeft})),t.addEventListener("mouseleave",(function(){a=!1,t.classList.remove("active")})),t.addEventListener("mouseup",(function(){a=!1,t.classList.remove("active")})),t.addEventListener("mousemove",(function(n){if(a){n.preventDefault();var i=n.pageX-t.offsetLeft,o=3*(i-e);t.scrollLeft=s-o}})),!0},downloadCsv:function(){var t=this;this.filter.created_from=$("#filter_created_from").val(),this.filter.created_to=$("#filter_created_to").val(),this.isLoading=!0,r.A.get("/reports/finance/download-csv?from=".concat(this.filter.created_from,"&to=").concat(this.filter.created_to,"§ion=operation_exps"),{responseType:"blob"}).then((function(t){var e=URL.createObjectURL(t.data),s=document.createElement("a");s.href=e,s.setAttribute("download","utrns.csv"),document.body.appendChild(s),s.click(),document.body.removeChild(s),URL.revokeObjectURL(e)}))["finally"]((function(){t.isLoading=!1}))},setUnpaidInterval:function(){var t=this,e=this;this.isLoading=!0,r.A.get("/reports/finance/get-unpaid-interval?section=operation_exps").then((function(s){t.filter.created_from=s.data.payload.date_from,t.filter.created_to=s.data.payload.date_to,t.isLoading=!1,setTimeout((function(){e.filterChanged()}),1e3)}))["catch"]((function(t){return console.error("/reports/finance/get-unpaid-interval",new Date,t)}))},setTrnsBulkSelection:function(){for(var t in this.trnsBulkAction=!this.trnsBulkAction,this.transactions.trns)this.transactions.trns[t].checked=this.trnsBulkAction},setTrnsSelection:function(t){this.transactions.trns[t].checked=!this.transactions.trns[t].checked},sortTrns:function(t){t===this.trnsSortField&&(this.trnsSortDir="asc"===this.trnsSortDir?"desc":"asc"),this.trnsSortField=t},openOrder:function(t){window.openOrder(t)},formatDate:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"MM/DD";return moment(t).format(e)},formatPrice:function(t){if(isNaN(t)||!t)return t;var e=(t/1).toFixed(2).replace(",",".");return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")},formatPhone:function(t){return null!==t&&t?t.replace(/[^0-9]/g,"").replace(/(\d{3})(\d{3})(\d{4})/,"($1) $2-$3"):""},displayModalTransaction:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(null===e){var s=null,a=null;for(var n in this.finances.timelines)null===s&&(s=n),a=n;return this.trns_uid=t,this.trns_date_from=s,this.trns_date_to=a,void this.fetchUserTransactions(t,s,a)}this.trns_uid=t,this.trns_date_from=e,this.trns_date_to=e,this.fetchUserTransactions(t,e,e)},setTotalsDate:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.filter.filter_total_till="tilldate"===t?$("#filter_total_till").val():moment().format("MM/DD/YYYY"),localStorage.setItem("filter_total_till",this.filter.filter_total_till),this.fetchTotals(t)},fetchTotals:function(){var t=this;this.isLoading=!0,r.A.get("/reports/finance/get-totals?till=".concat(this.filter.filter_total_till)).then((function(e){t.totals=e.data.data,t.isLoading=!1,$("[data-toggle=popover]").popover(),$("[data-toggle=popover-hover]").popover({trigger:"hover"}),$("[data-toggle=tooltip]").tooltip()}))["catch"]((function(t){return console.error("/reports/finance/get-totals",new Date,t)}))},fetchUsers:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.isLoading=!0,r.A.get("/reports/finance/get-users").then((function(a){t.showModalNewTransaction=!0,t.users=a.data,t.isLoading=!1,setTimeout((function(){$('select[name="user"]').select2(),null!==e&&($('select[name="user"]').val(e),$('select[name="user"]').trigger("change")),null===s&&(s=new Date),s=moment(s).hours(0).minutes(0).seconds(0).milliseconds(0).format("MM/DD/YYYY"),t.new_exp_for_date=s,t.new_exp_to_date=s,t.new_exp_multiple_days=!1;var a=function(t,e,s){var a=$(t);a.data("DateTimePicker")&&a.data("DateTimePicker").destroy(),a.val(e),a.datetimepicker({format:"MM/DD/YYYY",icons:{up:"fa fa-chevron-circle-up",down:"fa fa-chevron-circle-down",next:"fa fa-chevron-circle-right",previous:"fa fa-chevron-circle-left",today:"fa fa-refresh",time:"fa fa-clock-o",date:"fa fa-calendar",clear:"fa fa-tras
1h-o",close:"fa fa-close"},showTodayButton:!0,showClear:!0,showClose:!0,useCurrent:!1,defaultDate:e}).on("dp.change",(function(t){var e=t.date?t.date.format("MM/DD/YYYY"):"";s(e)}))};a('input[name="for_date"]',t.new_exp_for_date,(function(e){t.new_exp_for_date=e})),a('input[name="to_date"]',t.new_exp_to_date,(function(e){t.new_exp_to_date=e}))}),250)}))["catch"]((function(t){return console.error("/reports/finance/get-users",new Date,t)}))},fetchFinances:function(){var t=this;this.filter.created_from=$("#filter_created_from").val(),this.filter.created_to=$("#filter_created_to").val(),this.isLoading=!0,r.A.get("/reports/finance/utrns?type=".concat(this.section,"&from=").concat(this.filter.created_from,"&to=").concat(this.filter.created_to,"&query=").concat(this.searchMainTable)).then((function(e){t.finances=e.data,t.isLoading=!1}))["catch"]((function(t){return console.error("/reports/finance/utrns",new Date,t)}))},fetchUserTransactions:function(t,e){var s=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=null!==t?t:"";this.isLoading=!0,r.A.get("/reports/finance/getUserTransactions?type=".concat(this.section,"&uid=").concat(n,"&date_from=").concat(e,"&date_to=").concat(a,"&query=").concat(this.searchMainTable)).then((function(t){s.transactions=t.data,s.isLoading=!1,s.showModalTransactions||(s.showModalTransactions=!0)}))["catch"]((function(t){return console.error("/reports/finance/getUserTransactions",new Date,t)}))},addTransaction:function(){var t=this;this.new_exp_for_user=$("#new_exp_for_user").val(),this.new_exp_title.length<3?this.notify("error","Error adding new transaction","Transaction title is required"):""===this.new_exp_amount||isNaN(this.new_exp_amount)||0===parseFloat(this.new_exp_amount)?this.notify("error","Error adding new transaction","Transaction amount is required"):this.new_exp_description.length<5?this.notify("error","Error adding new transaction","Transaction description is required"):""===this.new_exp_for_user||isNaN(this.new_exp_for_user)||0===parseInt(this.new_exp_for_user,10)?this.notify("error","Error adding new transaction","Transaction user is require"):10===this.new_exp_for_date.length?(this.isLoading=!0,r.A.post("/reports/finance/add-utrn",{type:this.section,title:this.new_exp_title,amount:this.new_exp_amount,description:this.new_exp_description,for_user_id:this.new_exp_for_user,for_date:this.new_exp_for_date,until_flag:this.new_exp_multiple_days?"on":"",to_date:this.new_exp_to_date}).then((function(e){t.isLoading=!1,t.notify("success","Transaction created","Transaction has been created!"),t.closeModal(),t.fetchFinances()}))["catch"]((function(t){this.isLoading=!1,this.notify("error","Transaction create error",t.response.data.text)}))):this.notify("error","Error adding new transaction","Transaction date is required")},filterChanged:function(t){this.filter.created_from=$("#filter_created_from").val(),this.filter.created_to=$("#filter_created_to").val(),localStorage.setItem("finance_created_from",this.filter.created_from),localStorage.setItem("finance_created_to",this.filter.created_to),this.fetchFinances()},switchAutoRefresh:function(t){this.autorefresh=t},openModalNewTransaction:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.fetchUsers(t,e)},closeModal:function(){this.showModalNewTransaction=!1,this.showModalTransactions=!1,this.resetNewTransactionForm(),this.$emit("close")},resetNewTransactionForm:function(){this.new_exp_for_user="",this.new_exp_for_date="",this.new_exp_to_date="",this.new_exp_multiple_days=!1},setBulkSelection:function(){for(var t in this.lockBulkAction=!this.lockBulkAction,this.finances.users){this.finances.users[t].checked=this.lockBulkAction;var e=this.finances.users[t].uid;this.checkboxes[e]=this.lockBulkAction}this.$forceUpdate()},setSelection:function(t){this.finances.users[t].checked=!this.finances.users[t].checked;var e=this.finances.users[t].uid;this.checkboxes[e]=this.finances.users[t].checked,this.$forceUpdate()},setLock:function(t,e,s,a){"undefined"!==typeof this.lockActions[t]&&null!==e&&null!==s&&null!==a?this.saveLocks(t,[{uid:e,date:s,amount:a}]):this.notify("error","Lock error","Please try again")},saveLocks:function(t){var e=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("undefined"!==typeof this.lockActions[t]){var a=[];if(null===s)for(var n in this.finances.timelines){var i=0;for(var o in this.finances.users)i=this.finances.users[o].uid,this.checkboxes[i]&&a.push({uid:i,amount:this.finances.timelines[n][i].amount,date:n})}else a=s;a.length<1?this.notify("error","Lock status change error","Nothing selected"):(this.isLoading=!0,r.A.post("/reports/finance/lock",{action:t,type:"stuff",payload:a}).then((function(t){e.isLoading=!1,e.notify("success","Lock status changed","Lock status has been changed!"),e.fetchFinances(),e.fetchUserTransactions(e.trns_uid,e.trns_date_from,e.trns_date_to)}))["catch"]((function(t){e.isLoading=!1,e.notify("error","Lock status change error",t.response.data.text)})))}else this.notify("error","Lock error","Please try again")},getChecksNumbersForPrint:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.drivers=[];var s=[],a=0;if(null===e){for(var n in this.finances.timelines){var i=0;for(var o in this.finances.users)i=this.finances.users[o].uid,this.checkboxes[i]&&(s.push({uid:i,amount:this.finances.timelines[n][i].amount,date:n}),this.drivers.includes(i)||this.drivers.push(i))}a=this.drivers.length}else a=1,s=e;s.length<1?this.notify("error","Print error","Nothing selected"):(this.checks=a,this.prints=s,this.isLoading=!0,r.A.post("/reports/finance/get-checks-printed",{type:"stuff",payload:this.prints}).then((function(e){if(t.isLoading=!1,0===e.data.status)return t.notify("error","Error",e.data.text),!1;for(var s in t.printed=e.data.checks,t.accounts=e.data.accounts,t.check_start_date=e.data.date_from,t.check_end_date=e.data.date_to,t.accounts)"yes"===t.accounts[s].default_is&&(t.bank_account=t.accounts[s].id);Object.keys(t.printed).length===t.checks?t.notify("success","Payout generated","Payout has already been generated"):getConfirm("Do you want to create payout for period: ".concat(t.check_start_date," - ").concat(t.check_end_date,"?"),{title:"Create Payout?"}).then((function(){t.isLoading=!1,t.createPayout()}))}))["catch"]((function(t){console.error("/reports/finance/get-checks-printed",
1new Date,t)})))},createPayout:function(){var t=this;this.isLoading=!0,r.A.post("/reports/finance/create-checks",{type:"stuff",payload:this.prints}).then((function(e){if(t.isLoading=!1,0===e.data.status)return t.notify("error","Print error",e.data.text),!1;t.notify("success","Payout generated","Payout succesfully generated"),t.fetchFinances(),t.closeModal()}))["catch"]((function(e){t.isLoading=!1,t.notify("error","Payout creation error",e.response.data.text)}))},confirmTrnsDelete:function(t){var e=this;swal({title:"Are you sure?",text:"Do you really want to delete this transactions?",type:"warning",showCancelButton:!0,html:!0,confirmButtonClass:"btn-warning",confirmButtonText:"Yes",cancelButtonText:"Cancel",cancelButtonClass:"btn-default",closeOnConfirm:!0,closeOnCancel:!0,timer:15e3},(function(t){t&&setTimeout((function(){e.deleteTrns()}),500)}))},deleteTrns:function(){var t=this,e=[];for(var s in this.transactions.trns)this.transactions.trns[s].checked&&e.push(this.transactions.trns[s].id);e.length<1?this.notify("error","Transactions delete error","Nothing selected"):(this.isLoading=!0,r.A.post("/reports/finance/utrn-delete",{ids:e}).then((function(e){t.isLoading=!1,t.notify("success","Transactions deleted","Transactions are successfully deleted!"),t.fetchFinances(),t.fetchUserTransactions(t.trns_uid,t.trns_date_from,t.trns_date_to)}))["catch"]((function(e){t.isLoading=!1,t.notify("error","Transactions delete error",e.response.data.text)})))},confirmTrnsChanges:function(t){var e=this;swal({title:"Are you sure?",text:"Do you really want to change this values?",type:"warning",showCancelButton:!0,html:!0,confirmButtonClass:"btn-warning",confirmButtonText:"Yes",cancelButtonText:"Cancel",cancelButtonClass:"btn-default",closeOnConfirm:!0,closeOnCancel:!0,timer:15e3},(function(s){s&&setTimeout((function(){e.saveTrnsChanges(t)}),500)}))},saveTrnsChanges:function(t){var e=this,s=[];for(var a in this.transactions.trns)this.transactions.trns[a].checked&&s.push(this.transactions.trns[a].id);s.length<1?this.notify("error","Transactions update error","Nothing selected"):isNaN(parseFloat(this.trnsBulkActionInput))?this.notify("error","Transactions update error","Enter correct amount"):(this.isLoading=!0,r.A.post("/reports/finance/utrn",{type:this.section,ids:s,amount:this.trnsBulkActionInput}).then((function(t){e.isLoading=!1,e.notify("success","Transactions updated","Transactions are successfully updated!"),e.fetchFinances(),e.fetchUserTransactions(e.trns_uid,e.trns_date_from,e.trns_date_to)}))["catch"]((function(t){e.isLoading=!1,e.notify("error","Transactions update error",t.response.data.text)})))},sendInvoices:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,s=[];if(null===e)for(var a in this.finances.timelines){var n=0;for(var i in this.finances.users)n=this.finances.users[i].uid,this.checkboxes[n]&&s.push({uid:n,amount:this.finances.timelines[a][n].amount,date:a})}else s=e;s.length<1?this.notify("error","Invoice generation error","Nothing selected"):(this.isLoading=!0,r.A.post("/reports/finance/invoice",{payload:s}).then((function(e){t.isLoading=!1,t.notify("success","Invoices sent","Invoices created and sent to the queue!"),t.fetchFinances()}))["catch"]((function(e){t.isLoading=!1,t.notify("error","Invoice generation error",e.response.data.text)})))},setInvoicesStatus:function(t){var e=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=[];if(null===s)for(var n in this.finances.timelines){var i=0;for(var o in this.finances.users)i=this.finances.users[o].uid,this.checkboxes[i]&&a.push({uid:i,amount:this.finances.timelines[n][i].amount,date:n})}else a=s;a.length<1?this.notify("error","Invoice change status error","Nothing selected"):(this.isLoading=!0,r.A.post("/reports/finance/set-invoice-status",{target:t,payload:a}).then((function(t){e.isLoading=!1,e.notify("success","Invoices status changed","Invoices status changed!"),e.fetchFinances()}))["catch"]((function(t){e.isLoading=!1,e.notify("error","Invoice status change error",t.response.data.text)})))},setChecksStatus:function(t){var e=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=[];if(null===s)for(var n in this.finances.timelines){var i=0;for(var o in this.finances.users)i=this.finances.users[o].uid,this.checkboxes[i]&&a.push({uid:i,amount:this.finances.timelines[n][i].amount,date:n})}else a=s;a.length<1?this.notify("error","Payout change status error","Nothing selected"):(this.isLoading=!0,r.A.post("/reports/finance/set-checks-status",{target:t,payload:a}).then((function(t){e.isLoading=!1,e.notify("success","Payout status changed","Payout status changed!"),e.fetchFinances()}))["catch"]((function(t){e.isLoading=!1,e.notify("error","Payout status change error",t.response.data.text)})))},notify:function(t,e,s){var a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:2e3;swal({type:t,title:e,text:s,showConfirmButton:a,timer:n})}}},d=l;var u=s(81656),h=(0,u.A)(d,a,n,!1,null,null,null);const f=h.exports},75743:(t,e,s)=>{s.d(e,{A:()=>h});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"filters-search"},[e("div",{staticClass:"f-row"},[e("div",{staticClass:"f-col"},[e("div",{staticClass:"item"},[e("div",[e("label",[t._v("From")]),e("c-date-picker",{attrs:{date:t.filters.date_from,label:"MM/DD/YYYY",clearable:"",outlined:"","hide-details":""}
1,on:{"update:date":function(e){return t.$set(t.filters,"date_from",e)}}})],1)])]),e("div",{staticClass:"f-col"},[e("div",{staticClass:"item"},[e("div",[e("label",[t._v("To")]),e("c-date-picker",{attrs:{date:t.filters.date_to,label:"MM/DD/YYYY",clearable:"",outlined:"","hide-details":""},on:{"update:date":function(e){return t.$set(t.filters,"date_to",e)}}})],1)])])]),e("div",{staticClass:"f-row"},[e("div",{staticClass:"f-col"},[e("div",{staticClass:"item",staticStyle:{"min-width":"450px"}},[e("div",[e("label",{attrs:{for:"filter_client"}},[t._v(" Filter by clients ")]),e("v2-select",{attrs:{searchable:!0,multiple:!0,clearable:!1,options:t.options.clients},model:{value:t.filters.clients,callback:function(e){t.$set(t.filters,"clients",e)},expression:"filters.clients"}})],1)])]),e("div",{staticClass:"f-col"},[e("div",{staticClass:"item",staticStyle:{display:"flex","align-items":"flex-end"}},[e("button",{staticClass:"btn btn-primary",staticStyle:{padding:"2px 28px"},on:{click:function(e){return t.getPadeStatistics()}}},[t._v(" Submit ")])])]),e("div",{staticClass:"f-col col-clear-btn",staticStyle:{width:"20%"}},[e("div",{staticClass:"item"},[e("button",{staticClass:"btn clear-btn",on:{click:function(e){return t.clearFilters()}}},[e("i",{staticClass:"fa fa-eraser"}),e("span",[t._v("Clear filters")])])])])])])},n=[],i=s(70320),o=s(73629),r=s(83723);const c={components:{CDatePicker:r["default"]},props:{clearFilters:{type:Function,required:!0},getPadeStatistics:{type:Function,required:!0}},computed:(0,i.A)({},(0,o.L8)({filters:"Finances/PadeStatistics/filters",options:"Finances/PadeStatistics/options"}))},l=c;var d=s(81656),u=(0,d.A)(l,a,n,!1,null,"1b7536ef",null);const h=u.exports},64734:(t,e,s)=>{s.d(e,{A:()=>C});s(54016);var a=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"responsive-block"},[e("div",{staticClass:"block-table"},[e("div",{staticClass:"block-table-body"},[e("div",{staticClass:"left-table-body"},[e("div",{staticClass:"tr empty-head"}),t._l(t.options.hubs,(function(s){return e("div",{key:"hub-".concat(s.uid),staticClass:"tr"},[e("div",{staticClass:"th",class:{highlighted:t.highlights.hub===s.uid}},[e("div",{staticClass:"cell font-weight-bold text-center"},[t._v(" "+t._s(s.title)+" ")])]),e("methods-column",{attrs:{"hub-id":"".concat(s.uid)}})],1)}))],2),e("div",{staticClass:"x-scroll-table-body"},[e("div",{staticClass:"tr"},t._l(t.options.types,(function(s){return e("div",{key:s,staticClass:"th font-weight-bold",class:{highlighted:t.highlights.type===s},on:{mouseenter:function(e){return t.setHighlights({hub:null,type:s,delivery_method:null})},mouseleave:function(e){return t.resetHighlights()}}},[e("div",{staticClass:"cell"},[t._v(" "+t._s(s)+" ")])])})),0),t._l(t.options.hubs,(function(s){return e("div",{key:"hub-".concat(s.uid),staticClass:"tr"},t._l(t.options.types,(function(t,a){return e("table-cell-type",{key:"".concat(s.uid,"-").concat(a),attrs:{"hub-id":"".concat(s.uid),"type-value":t}})})),1)}))],2)])])])])},n=[],i=s(70320),o=s(73629),r=s(79635),c=s(62388),l=(s(35868),s(81656)),d=(0,l.A)(c.A,r.X,r.Y,!1,null,"794864c6",null);const u=d.exports;var h=function(){var t=this,e=t._self._c;return e("div",{staticClass:"th cells"},[e("div",{staticClass:"cell summary-cell",class:{highlighted:t.highlights.hub===t.hubId&&"count"===t.highlights.delivery_method},on:{mouseenter:function(e){return t.setHighlight(t.hubId,null,"count")},mouseleave:function(e){return t.resetHighlights()}}},[t._v(" Count ")]),e("div",{staticClass:"cell summary-cell",class:{highlighted:t.highlights.hub===t.hubId&&"rate"===t.highlights.delivery_method},on:{mouseenter:function(e){return t.setHighlight(t.hubId,null,"rate")},mouseleave:function(e){return t.resetHighlights()}}},[t._v(" Rate ")]),e("div",{staticClass:"cell summary-cell",class:{highlighted:t.highlights.hub===t.hubId&&"payout"===t.highlights.delivery_method},on:{mouseenter:function(e){return t.setHighlight(t.hubId,null,"payout")},mouseleave:function(e){return t.resetHighlights()}}},[t._v(" Payout ")]),e("div",{staticClass:"cell summary-cell",class:{highlighted:t.highlights.hub===t.hubId&&"pade"===t.highlights.delivery_method},on:{mouseenter:function(e){return t.setHighlight(t.hubId,null,"pade")},mouseleave:function(e){return t.resetHighlights()}}},[t._v(" PADE ")]),t._l(t.options.delivery_methods,(function(s){return e("div",{key:s.value,staticClass:"cell",class:{highlighted:t.highlights.hub===t.hubId&&t.highlights.delivery_method===s.value},on:{mouseenter:function(e){return t.setHighlight(t.hubId,null,s.value)},mouseleave:function(e){return t.resetHighlights()}}},[e("img",{attrs:{src:"/assets/images/delivery_methods/".concat(s.value,".svg"),width:"17",alt:s.value}})])}))],2)},f=[];const p={props:{hubId:{type:String,required:!0}},computed:(0,i.A)({},(0,o.L8)({options:"Finances/PadeStatistics/options",highlights:"Finances/PadeStatistics/highlights"})),methods:(0,i.A)((0,i.A)({},(0,o.PY)({setHighlights:"Finances/PadeStatistics/SET_HIGHLIGHTS",resetHighlights:"Finances/PadeStatistics/RESET_HIGHLIGHTS"})),{},{setHighlight:function(t,e,s){this.setHighlights({hub:t,type:e,delivery_method:s})}})},v=p;var m=(0,l.A)(v,h,f,!1,null,"5332fac4",null);const _=m.exports,g={name:"statistics-table",components:{MethodsColumn:_,TableCellType:u},computed:(0,i.A)({},(0,o.L8)({options:"Finances/PadeStatistics/options",statistics:"Finances/PadeStatistics/padeStatistics",highlights:"Finances/PadeStatistics/highlights"})),methods:(0,i.A)({},(0,o.PY)({setHighlights:"Finances/PadeStatistics/SET_HIGHLIGHTS",resetHighlights:"Finances/PadeStatistics/RESET_HIGHLIGHTS"}))},y=g;var w=(0,l.A)(y,a,n,!1,null,null,null);const C=w.exports},4639:()=>{}}]); 2//# sourceMappingURL=finances-6ea7611d.37406a14.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.