{"version":3,"sources":["webpack:///./src/views/royalty_tracker/Invoices.vue?6f2f","webpack:///src/views/royalty_tracker/Invoices.vue","webpack:///./src/views/royalty_tracker/Invoices.vue?3ee5","webpack:///./src/views/royalty_tracker/Invoices.vue"],"names":["render","_vm","this","_c","_self","attrs","staticClass","profile","type","staticStyle","licensees","nativeOn","$event","resetLicensee","model","value","callback","$$v","selectedLicenseeId","expression","_e","searchTerms","invoicesFiltered","loadingInvoices","on","goToInvoice","scrollTop","slot","_v","scopedSlots","_u","key","fn","props","_s","licenseesById","row","licenseeId","name","invoiceCodeNumber","_f","invoiceCreateDate","class","daysOverdue","paid","momentDueDate","invoiceDueDate","column","label","sentFilter","invoiceSentDate","totalRoyalty","paidFilter","invoicePaidDate","staticRenderFns","components","mixins","mixin","invoiceList","overdueDate","selectedLicensee","selectedLicenseeDivisionId","loaded","invoice","computed","$store","state","orderBy","mapped","forEach","licensee","id","invoices","find","status","some","term","val","filter","startsWith","push","length","includes","chunks","split","property","trim","toLowerCase","haystack","invoiceNumber","join","invoiceSent","commit","dispatch","nonTableElementsHeight","document","getElementById","clientHeight","getElementsByClassName","projectsTable","style","minHeight","window","innerHeight","maxHeight","InvoicesApi","getInvoicesByLicenseeId","methods","routeData","$router","resolve","params","invoiceId","open","href","element","$scrollTo","selectedPeriod","selectedInvoice","date","format","field","hasSearchTerm","invoicePaid","d","Date","dueDateSplited","substring","dueDate","diffInTime","getTime","diffInDays","Math","floor","component"],"mappings":"uHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,MAAM,CAAC,GAAK,oBAAoB,CAACF,EAAG,UAAU,GAAG,CAACA,EAAG,MAAM,CAACE,MAAM,CAAC,GAAK,mBAAmB,CAACF,EAAG,MAAM,CAACG,YAAY,WAAWD,MAAM,CAAC,GAAK,sBAAsB,CAACF,EAAG,MAAM,CAACG,YAAY,uDAAuD,CAACH,EAAG,MAAM,C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,IAAIC,KACRC,EAAiB/D,EAAQjB,eAAeiF,UAAU,EAAG,IAAI3C,MAAM,KAC/D4C,EAAU,IAAIH,KAAKC,EAAe,GAAIA,EAAe,GAAK,EAAGA,EAAe,IAE5EG,EAAaL,EAAEM,UAAYF,EAAQE,UACnCC,EAAaF,EAAa,MAC9B,OAAOG,KAAKC,MAAMF,GAGtB,OAAO,KCxWyL,I,YCOlMG,EAAY,eACd,EACAtI,EACAsD,GACA,EACA,KACA,KACA,MAIa,aAAAgF,E","file":"assets/js/chunk-2d229d7a.0902a575.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{\"id\":\"projects_layout\"}},[_c('section',{},[_c('div',{attrs:{\"id\":\"projects_table\"}},[_c('div',{staticClass:\"row wide\",attrs:{\"id\":\"projects_tabletop\"}},[_c('div',{staticClass:\"padding-xy-4 padding-x-0-desktop padding-y-5-tablet\"},[_c('div',{staticClass:\"columns is-multiline is-mobile is-vcentered\"},[((_vm.profile.type == 'jfe') && (_vm.profile.hasJfeAdminPermission))?_c('div',{staticClass:\"column is-narrow\"},[_c('b-field',{staticStyle:{\"min-width\":\"250px\",\"margin-bottom\":\"0\"}},[_c('autocomplete-single',{staticClass:\"field no-icon wrap-item\",attrs:{\"placeholder\":\"Licensee\",\"icon\":\"id-badge\",\"open-on-focus\":true,\"items\":_vm.licensees,\"text-field\":\"name\",\"value-field\":\"id\"},nativeOn:{\"change\":function($event){return _vm.resetLicensee()}},model:{value:(_vm.selectedLicenseeId),callback:function ($$v) {_vm.selectedLicenseeId=$$v},expression:\"selectedLicenseeId\"}})],1)],1):_vm._e(),_c('div',{staticClass:\"column\"},[_c('b-field',[_c('b-taginput',{attrs:{\"placeholder\":\"Search...\",\"icon\":\"search\",\"type\":\"is-dark\",\"rounded\":\"\"},model:{value:(_vm.searchTerms),callback:function ($$v) {_vm.searchTerms=$$v},expression:\"searchTerms\"}})],1)],1)])])]),_c('b-table',{staticClass:\"scrollable clickable-row\",attrs:{\"data\":_vm.invoicesFiltered,\"mobile-cards\":false,\"hoverable\":true,\"paginated\":\"\",\"per-page\":50,\"loading\":_vm.loadingInvoices},on:{\"click\":_vm.goToInvoice,\"page-change\":_vm.scrollTop}},[_c('template',{slot:\"empty\"},[_c('div',{staticClass:\"padding-xy-6 has-text-centered\"},[_vm._v(\" No invoices \")])]),_c('b-table-column',{attrs:{\"field\":\"licensee\",\"label\":\"Licensee\",\"visible\":(_vm.profile.type == 'jfe') && (_vm.profile.hasJfeAdminPermission) ? true : false},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_vm._v(\" \"+_vm._s(_vm.licenseesById[props.row.licenseeId].name)+\" \")]}}])}),_c('b-table-column',{attrs:{\"field\":\"invoiceNumber\",\"label\":\"Invoice Number\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_vm._v(\" \"+_vm._s(props.row.invoiceCodeNumber)+\" \")]}}])}),_c('b-table-column',{attrs:{\"field\":\"invoiceCreateDate\",\"label\":\"Invoice Date\",\"sortable\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_vm._v(\" \"+_vm._s(_vm._f(\"moment\")(props.row.invoiceCreateDate,\"M/D/YY\"))+\" \")]}}])}),_c('b-table-column',{attrs:{\"field\":\"invoiceDueDate\",\"label\":\"Due Date\",\"sortable\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_c('span',{class:{'has-text-danger' : _vm.daysOverdue(props.row) > 30 && !props.row.paid }},[_vm._v(_vm._s(_vm.momentDueDate(props.row.invoiceDueDate)))])]}}])}),_c('b-table-column',{attrs:{\"field\":\"sent\",\"label\":\"Sent\"},scopedSlots:_vm._u([{key:\"header\",fn:function({ column }){return [_c('span',{staticStyle:{\"margin-right\":\"3px\"}},[_vm._v(_vm._s(column.label))]),_c('b-dropdown',{attrs:{\"mobile-modal\":false}},[_c('b-button',{staticClass:\"is-transparent is-dark padding-xy-1\",attrs:{\"slot\":\"trigger\",\"icon-right\":\"filter\",\"size\":\"is-small\"},slot:\"trigger\"}),_c('b-dropdown-item',{attrs:{\"custom\":\"\"}},[_c('div',{staticClass:\"padding-y-1\"},[_c('b-radio',{attrs:{\"native-value\":\"all\"},model:{value:(_vm.sentFilter),callback:function ($$v) {_vm.sentFilter=$$v},expression:\"sentFilter\"}},[_vm._v(\" Show All \")])],1),_c('div',{staticClass:\"padding-y-1\"},[_c('b-radio',{attrs:{\"native-value\":\"unsent\"},model:{value:(_vm.sentFilter),callback:function ($$v) {_vm.sentFilter=$$v},expression:\"sentFilter\"}},[_vm._v(\" Show Unsent \")])],1)]),_c('b-dropdown-item',{staticClass:\"has-text-right\"},[_c('small',[_c('a',[_vm._v(\"close\")])])])],1)]}},{key:\"default\",fn:function(props){return [(props.row.invoiceSentDate)?_c('div',[_vm._v(\" \"+_vm._s(_vm._f(\"moment\")(props.row.invoiceSentDate,\"M/D/YY\"))+\" \")]):_c('div',[((_vm.profile.type == 'jfe') && (_vm.profile.hasJfeAdminPermission))?_c('div',[_c('b-button',{attrs:{\"type\":\"is-primary\",\"size\":\"is-small\"}},[_vm._v(\" Send \")])],1):_c('div',[_vm._v(\" - \")])])]}}])}),_c('b-table-column',{attrs:{\"field\":\"total\",\"label\":\"Total\",\"numeric\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [(props.row.totalRoyalty)?[_vm._v(\" \"+_vm._s(_vm._f(\"currency\")(props.row.totalRoyalty))+\" \")]:[_vm._v(\" -- \")]]}}])}),_c('b-table-column',{attrs:{\"field\":\"paid\",\"label\":\"Paid\",\"centered\":\"\"},scopedSlots:_vm._u([{key:\"header\",fn:function({ column }){return [_c('span',{staticStyle:{\"margin-right\":\"3px\"}},[_vm._v(_vm._s(column.label))]),_c('b-dropdown',{staticClass:\"has-text-left\",attrs:{\"position\":\"is-bottom-left\",\"mobile-modal\":false}},[_c('b-button',{staticClass:\"is-transparent is-dark padding-xy-1\",attrs:{\"slot\":\"trigger\",\"icon-right\":\"filter\",\"size\":\"is-small\"},slot:\"trigger\"}),_c('b-dropdown-item',{attrs:{\"custom\":\"\"}},[_c('div',{staticClass:\"padding-y-1\"},[_c('b-radio',{attrs:{\"native-value\":\"all\"},model:{value:(_vm.paidFilter),callback:function ($$v) {_vm.paidFilter=$$v},expression:\"paidFilter\"}},[_vm._v(\" Show All \")])],1),_c('div',{staticClass:\"padding-y-1\"},[_c('b-radio',{attrs:{\"native-value\":\"unpaid\"},model:{value:(_vm.paidFilter),callback:function ($$v) {_vm.paidFilter=$$v},expression:\"paidFilter\"}},[_vm._v(\" Show Unpaid \")])],1)]),_c('b-dropdown-item',{staticClass:\"has-text-right\"},[_c('small',[_c('a',[_vm._v(\"close\")])])])],1)]}},{key:\"default\",fn:function(props){return [(props.row.invoicePaidDate)?_c('div',[_vm._v(\" \"+_vm._s(_vm._f(\"moment\")(props.row.invoicePaidDate,\"M/D/YY\"))+\" \")]):(_vm.daysOverdue(props.row) > 30)?_c('div',[_c('span',{staticClass:\"has-text-danger\"},[_vm._v(\"Overdue\")])]):_c('div',[_c('b-icon',{attrs:{\"icon\":\"times\",\"type\":\"is-danger\",\"size\":\"is-small\"}})],1)]}}])}),_c('b-table-column',{attrs:{\"field\":\"review\",\"label\":\"Reviewed\",\"centered\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [(props.row.invoiceDateReview)?_c('b-icon',{attrs:{\"size\":\"is-small\",\"icon\":\"check\",\"type\":\"is-success\"}}):_c('b-icon',{attrs:{\"size\":\"is-small\",\"icon\":\"times\",\"type\":\"is-danger\"}})]}}])})],2)],1)])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Invoices.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Invoices.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Invoices.vue?vue&type=template&id=fa2c23f2\"\nimport script from \"./Invoices.vue?vue&type=script&lang=js\"\nexport * from \"./Invoices.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":""}