Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Rebuild front
James Cole8f6655f85ea5
diff --git a/frontend/yarn.lock b/frontend/yarn.lockindex d0c2acaeeb..1e51c79a4d 100644--- a/frontend/yarn.lock+++ b/frontend/yarn.lock@@ -6539,9 +6539,9 @@ resolve-from@^5.0.0:integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==resolve-url-loader@^3.1.2:- version "3.1.2"- resolved "https://registry.yarnpkg.com/resolve-url-loader/-/resolve-url-loader-3.1.2.tgz#235e2c28e22e3e432ba7a5d4e305c59a58edfc08"- integrity sha512-QEb4A76c8Mi7I3xNKXlRKQSlLBwjUV/ULFMP+G7n3/7tJZ8MG5wsZ3ucxP1Jz8Vevn6fnJsxDx9cIls+utGzPQ==+ version "3.1.3"+ resolved "https://registry.yarnpkg.com/resolve-url-loader/-/resolve-url-loader-3.1.3.tgz#49ec68340f67d8d2ab6b401948d5def3ab2d0367"+ integrity sha512-WbDSNFiKPPLem1ln+EVTE+bFUBdTTytfQZWbmghroaFNFaAVmGq0Saqw6F/306CwgPXsGwXVxbODE+3xAo/YbA==dependencies:adjust-sourcemap-loader "3.0.0"camelcase "5.3.1"diff --git a/public/v2/js/dashboard.js b/public/v2/js/dashboard.jsindex 7d90d384a4..9666be1002 100755--- a/public/v2/js/dashboard.js+++ b/public/v2/js/dashboard.js@@ -1 +1 @@-(self.webpackChunk=self.webpackChunk||[]).push([[663],{232:(t,e,a)=>{"use strict";a.r(e);var n=a(7760),i=a.n(n),r=a(7152),s=a(4605);window.$=window.jQuery=a(9755),window.axios=a(9669),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var o=document.head.querySelector('meta[name="csrf-token"]');o?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=o.content:console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token");var c=document.head.querySelector('meta[name="locale"]');localStorage.locale=c?c.content:"en_US",a(6891),a(3734),a(7632),a(5432),window.vuei18n=r.Z,window.uiv=s,i().use(vuei18n),i().use(s),window.Vue=i()},9899:(t,e,a)=>{"use strict";a.d(e,{Z:()=>w});var n=a(7760),i=a.n(n),r=a(629),s=a(4478),o=a(3465);const c={namespaced:!0,state:function(){return{transactionType:"any",groupTitle:"",transactions:[],customDateFields:{interest_date:!1,book_date:!1,process_date:!1,due_date:!1,payment_date:!1,invoice_date:!1},defaultTransaction:(0,s.f$)(),defaultErrors:(0,s.kQ)()}},getters:{transactions:function(t){return t.transactions},defaultErrors:function(t){return t.defaultErrors},groupTitle:function(t){return t.groupTitle},transactionType:function(t){return t.transactionType},accountToTransaction:function(t){return t.accountToTransaction},defaultTransaction:function(t){return t.defaultTransaction},sourceAllowedTypes:function(t){return t.sourceAllowedTypes},destinationAllowedTypes:function(t){return t.destinationAllowedTypes},allowedOpposingTypes:function(t){return t.allowedOpposingTypes},customDateFields:function(t){return t.customDateFields}},actions:{},mutations:{addTransaction:function(t){var e=o(t.defaultTransaction);e.errors=o(t.defaultErrors),t.transactions.push(e)},resetErrors:function(t,e){t.transactions[e.index].errors=o(t.defaultErrors)},resetTransactions:function(t){t.transactions=[]},setGroupTitle:function(t,e){t.groupTitle=e.groupTitle},setCustomDateFields:function(t,e){t.customDateFields=e},deleteTransaction:function(t,e){t.transactions.splice(e.index,1),t.transactions.length},setTransactionType:function(t,e){t.transactionType=e},setAllowedOpposingTypes:function(t,e){t.allowedOpposingTypes=e},setAccountToTransaction:function(t,e){t.accountToTransaction=e},updateField:function(t,e){t.transactions[e.index][e.field]=e.value},setTransactionError:function(t,e){t.transactions[e.index].errors[e.field]=e.errors},setDestinationAllowedTypes:function(t,e){t.destinationAllowedTypes=e},setSourceAllowedTypes:function(t,e){t.sourceAllowedTypes=e}}};var l=a(9119),_=a(3894),d=a(584),u=a(7090),p=a(4431),y=a(8358),g=a(4135),h=a(3703);const m={namespaced:!0,state:function(){return{viewRange:"default",start:null,end:null,defaultStart:null,defaultEnd:null}},getters:{start:function(t){return t.start},end:function(t){return t.end},defaultStart:function(t){return t.defaultStart},defaultEnd:function(t){return t.defaultEnd},viewRange:function(t){return t.viewRange}},actions:{initialiseStore:function(t){t.dispatch("restoreViewRange"),axios.get("./api/v1/preferences/viewRange").then((function(e){var a=e.data.data.attributes.data,n=t.getters.viewRange;t.commit("setViewRange",a),a!==n&&t.dispatch("setDatesFromViewRange"),a===n&&t.dispatch("restoreViewRangeDates")})).catch((function(){t.commit("setViewRange","1M"),t.dispatch("setDatesFromViewRange")}))},restoreViewRangeDates:function(t){localStorage.viewRangeStart&&t.commit("setStart",new Date(localStorage.viewRangeStart)),localStorage.viewRangeEnd&&t.commit("setEnd",new Date(localStorage.viewRangeEnd)),localStorage.viewRangeDefaultStart&&t.commit("setDefaultStart",new Date(localStorage.viewRangeDefaultStart)),localStorage.viewRangeDefaultEnd&&t.commit("setDefaultEnd",new Date(localStorage.viewRangeDefaultEnd))},restoreViewRange:function(t){var e=localStorage.getItem("viewRange");null!==e&&t.commit("setViewRange",e)},setDatesFromViewRange:function(t){var e,a,n=t.getters.viewRange,i=new Date;switch(n){case"1D":e=(0,l.Z)(i),a=(0,_.Z)(i);break;case"1W":e=(0,l.Z)((0,d.Z)(i,{weekStartsOn:1})),a=(0,_.Z)((0,u.Z)(i,{weekStartsOn:1}));break;case"1M":e=(0,l.Z)((0,h.Z)(i)),a=(0,_.Z)((0,g.Z)(i));break;case"3M":e=(0,l.Z)((0,p.Z)(i)),a=(0,_.Z)((0,y.Z)(i));break;case"6M":i.getMonth()<=5&&((e=new Date(i)).setMonth(0),e.setDate(1),e=(0,l.Z)(e),(a=new Date(i)).setMonth(5),a.setDate(30),a=(0,_.Z)(e)),i.getMonth()>5&&((e=new Date(i)).setMonth(6),e.setDate(1),e=(0,l.Z)(e),(a=new Date(i)).setMonth(11),a.setDate(31),a=(0,_.Z)(e));break;case"1Y":(e=new Date(i)).setMonth(0),e.setDate(1),e=(0,l.Z)(e),(a=new Date(i)).setMonth(11),a.setDate(31),a=(0,_.Z)(a)}t.commit("setStart",e),t.commit("setEnd",a),t.commit("setDefaultStart",e),t.commit("setDefaultEnd",a)}},mutations:{setStart:function(t,e){t.start=e,window.localStorage.setItem("viewRangeStart",e)},setEnd:function(t,e){t.end=e,window.localStorage.setItem("viewRangeEnd",e)},setDefaultStart:function(t,e){t.defaultStart=e,window.localStorage.setItem("viewRangeDefaultStart",e)},setDefaultEnd:function(t,e){t.defaultEnd=e,window.localStorage.setItem("viewRangeDefaultEnd",e)},setViewRange:function(t,e){t.viewRange=e,window.localStorage.setItem("viewRange",e)}}};var f=function(){return{listPageSize:33,timezone:""}},b={initialiseStore:function(t){localStorage.listPageSize&&(f.listPageSize=localStorage.listPageSize,t.commit("setListPageSize",{length:localStorage.listPageSize})),localStorage.listPageSize||axios.get("./api/v1/preferences/listPageSize").then((function(e){t.commit("setListPageSize",{length:parseInt(e.data.data.attributes.data)})})),localStorage.timezone&&(f.timezone=localStorage.timezone,t.commit("setTimezone",{timezone:localStorage.timezone})),localStorage.timezone||axios.get("./api/v1/configuration/app.timezone").then((function(e){t.commit("setTimezone",{timezone:e.data.data.value})}))}};const v={namespaced:!0,state:f,getters:{listPageSize:function(t){return t.listPageSize},timezone:function(t){return t.timezone}},actions:b,mutations:{setListPageSize:function(t,e){var a=parseInt(e.length);0!==a&&(t.listPageSize=a,localStorage.listPageSize=a)},setTimezone:function(t,e){""!==e.timezone&&(t.timezone=e.timezone,localStorage.timezone=e.timezone)}}};i().use(r.ZP);const w=new r.ZP.Store({namespaced:!0,modules:{root:v,transactions:{namespaced:!0,modules:{create:c,edit:{namespaced:!0,state:function(){return{}},getters:{},actions:{},mutations:{}}}},accounts:{namespaced:!0,modules:{index:{namespaced:!0,state:function(){return{orderMode:!1,activeFilter:1}},getters:{orderMode:function(t){return t.orderMode},activeFilter:function(t){return t.activeFilter}},actions:{},mutations:{setOrderMode:function(t,e){t.orderMode=e},setActiveFilter:function(t,e){t.activeFilter=e}}}}},dashboard:{namespaced:!0,modules:{index:m}}},strict:!1,plugins:[],state:{currencyPreference:{},locale:"en-US",listPageSize:50},mutations:{setCurrencyPreference:function(t,e){t.currencyPreference=e.payload},initialiseStore:function(t){if(localStorage.locale)t.locale=localStorage.locale;else{var e=document.head.querySelector('meta[name="locale"]');e&&(t.locale=e.content,localStorage.locale=e.content)}}},getters:{currencyCode:function(t){return t.currencyPreference.code},currencyPreference:function(t){return t.currencyPreference},currencyId:function(t){return t.currencyPreference.id},locale:function(t){return t.locale}},actions:{updateCurrencyPreference:function(t){localStorage.currencyPreference?t.commit("setCurrencyPreference",{payload:JSON.parse(localStorage.currencyPreference)}):axios.get("./api/v1/currencies/default").then((function(e){var a={id:parseInt(e.data.data.id),name:e.data.data.attributes.name,symbol:e.data.data.attributes.symbol,code:e.data.data.attributes.code,decimal_places:parseInt(e.data.data.attributes.decimal_places)};localStorage.currencyPreference=JSON.stringify(a),t.commit("setCurrencyPreference",{payload:a})})).catch((function(e){console.error(e),t.commit("setCurrencyPreference",{payload:{id:1,name:"Euro",symbol:"€",code:"EUR",decimal_places:2}})}))}}})},157:(t,e,a)=>{t.exports=new vuei18n({locale:document.documentElement.lang,fallbackLocale:"en",messages:{bg:a(7154),cs:a(6407),de:a(4726),en:a(3340),"en-us":a(3340),"en-gb":a(6318),es:a(5394),el:a(3636),fr:a(2551),hu:a(995),it:a(9112),nl:a(4671),nb:a(9085),pl:a(6238),fi:a(7868),"pt-br":a(6586),"pt-pt":a(8664),ro:a(1102),ru:a(753),"zh-tw":a(1715),"zh-cn":a(4556),sk:a(7049),sv:a(7921),vi:a(1497)}})},4729:(t,e,a)=>{"use strict";var n=a(1900);const i=(0,n.Z)({name:"Dashboard"},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("top-boxes"),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("main-account")],1)]),t._v(" "),a("main-account-list"),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("main-budget-list")],1)]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("main-category-list")],1)]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("main-debit-list")],1),t._v(" "),a("div",{staticClass:"col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("main-credit-list")],1)]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("main-piggy-list")],1),t._v(" "),a("div",{staticClass:"col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("main-bills-list")],1)])],1)}),[],!1,null,null,null).exports;var r=a(629),s=a(7955);function o(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function c(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?o(Object(a),!0).forEach((function(e){l(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):o(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function l(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var _=(0,r._p)("dashboard/index"),d=(_.mapState,_.mapGetters);_.mapActions,_.mapMutations;const u={name:"TopBoxes",props:{},data:function(){return{summary:[],balances:[],billsPaid:[],billsUnpaid:[],leftToSpend:[],netWorth:[],loading:!0,error:!1,ready:!1}},computed:c(c({},d(["start","end"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready},prefCurrencyBalances:function(){return this.filterOnCurrency(this.balances)},notPrefCurrencyBalances:function(){return this.filterOnNotCurrency(this.balances)},prefBillsUnpaid:function(){return this.filterOnCurrency(this.billsUnpaid)},notPrefBillsUnpaid:function(){return this.filterOnNotCurrency(this.billsUnpaid)},prefLeftToSpend:function(){return this.filterOnCurrency(this.leftToSpend)},notPrefLeftToSpend:function(){return this.filterOnNotCurrency(this.leftToSpend)},prefNetWorth:function(){return this.filterOnCurrency(this.netWorth)},notPrefNetWorth:function(){return this.filterOnNotCurrency(this.netWorth)},currencyCode:function(){return this.$store.getters.currencyCode},currencyId:function(){return this.$store.getters.currencyId}}),watch:{datesReady:function(t){!0===t&&this.prepareComponent()},start:function(){!1===this.loading&&this.prepareComponent()},end:function(){!1===this.loading&&this.prepareComponent()}},created:function(){this.ready=!0},methods:{filterOnCurrency:function(t){var e=[];for(var a in t)t.hasOwnProperty(a)&&t[a].currency_id===this.currencyId&&e.push(t[a]);return 0===e.length&&t.hasOwnProperty(0)&&e.push(t[0]),e},filterOnNotCurrency:function(t){var e=[];for(var a in t)t.hasOwnProperty(a)&&t[a].currency_id!==this.currencyId&&e.push(t[a]);return e},prepareComponent:function(){var t=this;this.error=!1,this.loading=!0,this.summary=[],this.balances=[],this.billsPaid=[],this.billsUnpaid=[],this.leftToSpend=[],this.netWorth=[];var e=(0,s.Z)(this.start,"y-MM-dd"),a=(0,s.Z)(this.end,"y-MM-dd");axios.get("./api/v1/summary/basic?start="+e+"&end="+a).then((function(e){t.summary=e.data,t.buildComponent(),t.loading=!1})).catch((function(e){t.error=!0}))},buildComponent:function(){this.getBalanceEntries(),this.getBillsEntries(),this.getLeftToSpend(),this.getNetWorth()},hasCurrency:function(t){for(var e in t)if(t.hasOwnProperty(e)&&t[e].currency_id===this.currencyId)return!0;return!1},getBalanceEntries:function(){this.balances=this.getKeyedEntries("balance-in-")},getNetWorth:function(){this.netWorth=this.getKeyedEntries("net-worth-in-")},getLeftToSpend:function(){this.leftToSpend=this.getKeyedEntries("left-to-spend-in-")},getBillsEntries:function(){this.billsPaid=this.getKeyedEntries("bills-paid-in-"),this.billsUnpaid=this.getKeyedEntries("bills-unpaid-in-")},getKeyedEntries:function(t){var e=[];for(var a in this.summary)this.summary.hasOwnProperty(a)&&t===a.substr(0,t.length)&&e.push(this.summary[a]);return e}}},p=(0,n.Z)(u,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"row"},[0!==t.prefCurrencyBalances.length&&0!==t.notPrefCurrencyBalances.length?a("div",{staticClass:"col"},[a("div",{staticClass:"info-box"},[t._m(0),t._v(" "),a("div",{staticClass:"info-box-content"},[t.loading||t.error?t._e():a("span",{staticClass:"info-box-text"},[t._v(t._s(t.$t("firefly.balance")))]),t._v(" "),t.loading&&!t.error?a("span",{staticClass:"info-box-text"},[a("i",{staticClass:"fas fa-spinner fa-spin"})]):t._e(),t._v(" "),t.error?a("span",{staticClass:"info-box-text"},[a("i",{staticClass:"fas fa-exclamation-triangle text-danger"})]):t._e(),t._v(" "),t._l(t.prefCurrencyBalances,(function(e){return a("span",{staticClass:"info-box-number",attrs:{title:e.sub_title}},[t._v(t._s(e.value_parsed))])})),t._v(" "),0===t.prefCurrencyBalances.length?a("span",{staticClass:"info-box-number"},[t._v(" ")]):t._e(),t._v(" "),t._m(1),t._v(" "),a("span",{staticClass:"progress-description"},[t._l(t.notPrefCurrencyBalances,(function(e,n){return a("span",{attrs:{title:e.sub_title}},[t._v("\n "+t._s(e.value_parsed)),n+1!==t.notPrefCurrencyBalances.length?a("span",[t._v(", ")]):t._e()])})),t._v(" "),0===t.notPrefCurrencyBalances.length?a("span",[t._v(" ")]):t._e()],2)],2)])]):t._e(),t._v(" "),0!==t.prefBillsUnpaid.length&&0!==t.notPrefBillsUnpaid.length?a("div",{staticClass:"col"},[a("div",{staticClass:"info-box"},[t._m(2),t._v(" "),a("div",{staticClass:"info-box-content"},[t.loading||t.error?t._e():a("span",{staticClass:"info-box-text"},[t._v(t._s(t.$t("firefly.bills_to_pay")))]),t._v(" "),t.loading&&!t.error?a("span",{staticClass:"info-box-text"},[a("i",{staticClass:"fas fa-spinner fa-spin"})]):t._e(),t._v(" "),t.error?a("span",{staticClass:"info-box-text"},[a("i",{staticClass:"fas fa-exclamation-triangle text-danger"})]):t._e(),t._v(" "),t._l(t.prefBillsUnpaid,(function(e){return a("span",{staticClass:"info-box-number"},[t._v(t._s(e.value_parsed))])})),t._v(" "),t._m(3),t._v(" "),a("span",{staticClass:"progress-description"},[t._l(t.notPrefBillsUnpaid,(function(e,n){return a("span",[t._v("\n "+t._s(e.value_parsed)),n+1!==t.notPrefBillsUnpaid.length?a("span",[t._v(", ")]):t._e()])})),t._v(" "),0===t.notPrefBillsUnpaid.length?a("span",[t._v(" ")]):t._e()],2)],2)])]):t._e(),t._v(" "),0!==t.prefLeftToSpend.length&&0!==t.notPrefLeftToSpend.length?a("div",{staticClass:"col"},[a("div",{staticClass:"info-box"},[t._m(4),t._v(" "),a("div",{staticClass:"info-box-content"},[t.loading||t.error?t._e():a("span",{staticClass:"info-box-text"},[t._v(t._s(t.$t("firefly.left_to_spend")))]),t._v(" "),t.loading&&!t.error?a("span",{staticClass:"info-box-text"},[a("i",{staticClass:"fas fa-spinner fa-spin"})]):t._e(),t._v(" "),t.error?a("span",{staticClass:"info-box-text"},[a("i",{staticClass:"fas fa-exclamation-triangle text-danger"})]):t._e(),t._v(" "),t._l(t.prefLeftToSpend,(function(e){return a("span",{staticClass:"info-box-number",attrs:{title:e.sub_title}},[t._v(t._s(e.value_parsed))])})),t._v(" "),0===t.prefLeftToSpend.length?a("span",{staticClass:"info-box-number"},[t._v(" ")]):t._e(),t._v(" "),t._m(5),t._v(" "),a("span",{staticClass:"progress-description"},[t._l(t.notPrefLeftToSpend,(function(e,n){return a("span",[t._v("\n "+t._s(e.value_parsed)),n+1!==t.notPrefLeftToSpend.length?a("span",[t._v(", ")]):t._e()])})),t._v(" "),0===t.notPrefLeftToSpend.length?a("span",[t._v(" ")]):t._e()],2)],2)])]):t._e(),t._v(" "),0!==t.notPrefNetWorth.length&&0!==t.prefNetWorth.length?a("div",{staticClass:"col"},[a("div",{staticClass:"info-box"},[t._m(6),t._v(" "),a("div",{staticClass:"info-box-content"},[t.loading||t.error?t._e():a("span",{staticClass:"info-box-text"},[t._v(t._s(t.$t("firefly.net_worth")))]),t._v(" "),t.loading&&!t.error?a("span",{staticClass:"info-box-text"},[a("i",{staticClass:"fas fa-spinner fa-spin"})]):t._e(),t._v(" "),t.error?a("span",{staticClass:"info-box-text"},[a("i",{staticClass:"fas fa-exclamation-triangle text-danger"})]):t._e(),t._v(" "),t._l(t.prefNetWorth,(function(e){return a("span",{staticClass:"info-box-number",attrs:{title:e.sub_title}},[t._v(t._s(e.value_parsed))])})),t._v(" "),0===t.prefNetWorth.length?a("span",[t._v(" ")]):t._e(),t._v(" "),t._m(7),t._v(" "),a("span",{staticClass:"progress-description"},[t._l(t.notPrefNetWorth,(function(e,n){return a("span",[t._v("\n "+t._s(e.value_parsed)),n+1!==t.notPrefNetWorth.length?a("span",[t._v(", ")]):t._e()])})),t._v(" "),0===t.notPrefNetWorth.length?a("span",[t._v(" ")]):t._e()],2)],2)])]):t._e()])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"info-box-icon"},[e("i",{staticClass:"far fa-bookmark text-info"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"progress bg-info"},[e("div",{staticClass:"progress-bar",staticStyle:{width:"0"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"info-box-icon"},[e("i",{staticClass:"far fa-calendar-alt text-teal"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"progress bg-teal"},[e("div",{staticClass:"progress-bar",staticStyle:{width:"0"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"info-box-icon"},[e("i",{staticClass:"fas fa-money-bill text-success"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"progress bg-success"},[e("div",{staticClass:"progress-bar",staticStyle:{width:"0"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"info-box-icon"},[e("i",{staticClass:"fas fa-money-bill text-success"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"progress bg-success"},[e("div",{staticClass:"progress-bar",staticStyle:{width:"0"}})])}],!1,null,null,null).exports,y={name:"DataConverter",data:function(){return{dataSet:null,newDataSet:null,locale:localStorage.local}},methods:{convertChart:function(t){return this.dataSet=t,this.newDataSet={labels:[],datasets:[]},this.getLabels(),this.getDataSets(),this.newDataSet},colorizeBarData:function(t){this.dataSet=t,this.newDataSet={labels:[],datasets:[]};for(var e=[[53,124,165],[0,141,76],[219,139,11],[202,25,90],[85,82,153],[66,133,244],[219,68,55],[244,180,0],[15,157,88],[171,71,188],[0,172,193],[255,112,67],[158,157,36],[92,107,192],[240,98,146],[0,121,107],[194,24,91]],a=[],n=0;n<e.length;n++)a.push("rgba("+e[n][0]+", "+e[n][1]+", "+e[n][2]+", 0.5)");for(var i in this.newDataSet.labels=this.dataSet.labels,this.dataSet.datasets)if(this.dataSet.datasets.hasOwnProperty(i)){var r=this.dataSet.datasets[i];r.fill=!1,r.backgroundColor=r.borderColor=a[i],this.newDataSet.datasets.push(r)}return this.newDataSet},colorizeLineData:function(t){this.dataSet=t,this.newDataSet={labels:[],datasets:[]};for(var e=[[53,124,165],[0,141,76],[219,139,11],[202,25,90],[85,82,153],[66,133,244],[219,68,55],[244,180,0],[15,157,88],[171,71,188],[0,172,193],[255,112,67],[158,157,36],[92,107,192],[240,98,146],[0,121,107],[194,24,91]],a=[],n=0;n<e.length;n++)a.push("rgba("+e[n][0]+", "+e[n][1]+", "+e[n][2]+", 0.5)");for(var i in this.newDataSet.labels=this.dataSet.labels,this.dataSet.datasets)if(this.dataSet.datasets.hasOwnProperty(i)){var r=this.dataSet.datasets[i];r.fill=!1,r.backgroundColor=r.borderColor=a[i],this.newDataSet.datasets.push(r)}return this.newDataSet},convertLabelsToDate:function(t){for(var e in t.labels)if(t.labels.hasOwnProperty(e)){var a=Date.parse(t.labels[e]);t.labels[e]=new Intl.DateTimeFormat(this.locale).format(a)}return t},getLabels:function(){var t=this.dataSet[0];if(void 0!==t)for(var e in t.entries)t.entries.hasOwnProperty(e)&&this.newDataSet.labels.push(e)},getDataSets:function(){for(var t in this.dataSet)if(this.dataSet.hasOwnProperty(t)){var e={},a=this.dataSet[t];if(void 0!==a){for(var n in e.label=a.label,e.type=a.type,e.currency_symbol=a.currency_symbol,e.currency_code=a.currency_code,e.data=[],a.entries)a.entries.hasOwnProperty(n)&&e.data.push(a.entries[n]);this.newDataSet.datasets.push(e)}}}}},g=(0,n.Z)(y,void 0,void 0,!1,null,null,null).exports,h={name:"DefaultLineOptions",data:function(){return{}},methods:{formatLabel:function(t,e){var a=[],n=(t=String(t)).split(" "),i="";return n.forEach((function(t,r){if(i.length>0){var s=i+" "+t;if(!(s.length>e))return r===n.length-1?void a.push(s):void(i=s);a.push(i),i=""}r!==n.length-1&&t.length<e?i=t:a.push(t)})),a},getDefaultOptions:function(){return{responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1}},animations:!1,elements:{line:{cubicInterpolationMode:"monotone"}},scales:{x:{grid:{display:!1},ticks:{callback:function(t,e,a){var n=new Date(this.getLabelForValue(t).split("T")[0]);return new Intl.DateTimeFormat(localStorage.locale,{year:"numeric",month:"long",day:"numeric"}).format(n)}}},y:{suggestedMin:0}}}}}},m=(0,n.Z)(h,(function(){var t=this.$createElement;return(this._self._c||t)("div")}),[],!1,null,"376cc9e0",null).exports;var f=a(2181);function b(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function v(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?b(Object(a),!0).forEach((function(e){w(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):b(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function w(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}f.Chart.register.apply(null,Object.values(f).filter((function(t){return t.id})));const k={name:"MainAccount",components:{},data:function(){return{loading:!0,error:!1,ready:!1,initialised:!1,dataCollection:{},chartOptions:{},_chart:null}},created:function(){this.chartOptions=m.methods.getDefaultOptions(),this.ready=!0},computed:v(v({},(0,r.Se)("dashboard/index",["start","end"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready}}),watch:{datesReady:function(t){!0===t&&this.initialiseChart()},start:function(){this.updateChart()},end:function(){this.updateChart()}},methods:{initialiseChart:function(){var t=this;this.loading=!0,this.error=!1;var e="./api/v1/chart/account/overview?start="+(0,s.Z)(this.start,"y-MM-dd")+"&end="+(0,s.Z)(this.end,"y-MM-dd");axios.get(e).then((function(e){var a=g.methods.convertChart(e.data);a=g.methods.colorizeLineData(a),t.dataCollection=a,t.loading=!1,t.drawChart()})).catch((function(e){console.log("Has error!"),console.log(e),t.error=!0}))},drawChart:function(){void 0!==this._chart&&(this._chart.data=this.dataCollection,this._chart.update(),this.initialised=!0),void 0===this._chart&&(this._chart=new f.Chart(this.$refs.canvas.getContext("2d"),{type:"line",data:this.dataCollection,options:this.chartOptions}),this.initialised=!0)},updateChart:function(){this.initialised&&(this.initialised=!1,this.initialiseChart())}}},D=(0,n.Z)(k,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v(t._s(t.$t("firefly.yourAccounts")))])]),t._v(" "),a("div",{staticClass:"card-body"},[a("div",[a("canvas",{ref:"canvas",attrs:{id:"canvas",width:"400",height:"400"}})]),t._v(" "),t.loading&&!t.error?a("div",{staticClass:"text-center"},[a("i",{staticClass:"fas fa-spinner fa-spin"})]):t._e(),t._v(" "),t.error?a("div",{staticClass:"text-center"},[a("i",{staticClass:"fas fa-exclamation-triangle text-danger"})]):t._e()]),t._v(" "),a("div",{staticClass:"card-footer"},[a("a",{staticClass:"btn btn-default button-sm",attrs:{href:"./accounts/asset"}},[a("i",{staticClass:"far fa-money-bill-alt"}),t._v(" "+t._s(t.$t("firefly.go_to_asset_accounts")))])])])}),[],!1,null,null,null).exports;function S(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function C(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?S(Object(a),!0).forEach((function(e){I(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):S(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function I(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var x=(0,r._p)("dashboard/index"),j=(x.mapState,x.mapGetters);x.mapActions,x.mapMutations;const z={name:"MainAccountList",data:function(){return{loading:!0,error:!1,ready:!1,accounts:[],locale:"en-US"}},created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US",this.ready=!0},computed:C(C({},j(["start","end"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready}}),watch:{datesReady:function(t){!0===t&&this.initialiseList()},start:function(){!1===this.loading&&this.initialiseList()},end:function(){!1===this.loading&&this.initialiseList()}},methods:{initialiseList:function(){var t=this;this.loading=!0,this.accounts=[],axios.get("./api/v1/preferences/frontPageAccounts").then((function(e){t.loadAccounts(e)}))},loadAccounts:function(t){var e=t.data.data.attributes.data;for(var a in e)e.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294&&(this.accounts.push({id:e[a],title:"",url:"",include:!1,current_balance:"0",currency_code:"EUR",transactions:[]}),this.loadSingleAccount(a,e[a]))},loadSingleAccount:function(t,e){var a=this;axios.get("./api/v1/accounts/"+e).then((function(n){var i=n.data.data;"asset"!==i.attributes.type&&"liabilities"!==i.attributes.type||(a.accounts[t].title=i.attributes.name,a.accounts[t].url="./accounts/show/"+i.id,a.accounts[t].current_balance=i.attributes.current_balance,a.accounts[t].currency_code=i.attributes.currency_code,a.accounts[t].include=!0,a.loadTransactions(t,e))}))},loadTransactions:function(t,e){var a=this,n=(0,s.Z)(this.start,"y-MM-dd"),i=(0,s.Z)(this.end,"y-MM-dd");axios.get("./api/v1/accounts/"+e+"/transactions?page=1&limit=10&start="+n+"&end="+i).then((function(e){a.accounts[t].transactions=e.data.data,a.loading=!1,a.error=!1}))}}},A=(0,n.Z)(z,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[t.loading&&!t.error?a("div",{staticClass:"row"},[t._m(0)]):t._e(),t._v(" "),t.error?a("div",{staticClass:"row"},[t._m(1)]):t._e(),t._v(" "),t.loading||t.error?t._e():a("div",{staticClass:"row"},t._l(t.accounts,(function(e){return a("div",{class:{"col-lg-12":1===t.accounts.length,"col-lg-6":2===t.accounts.length,"col-lg-4":t.accounts.length>2}},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[a("a",{attrs:{href:e.url}},[t._v(t._s(e.title))])]),t._v(" "),a("div",{staticClass:"card-tools"},[a("span",{class:parseFloat(e.current_balance)<0?"text-danger":"text-success"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(parseFloat(e.current_balance)))+"\n ")])])]),t._v(" "),a("div",{staticClass:"card-body table-responsive p-0"},[a("div",[1===t.accounts.length?a("transaction-list-large",{attrs:{account_id:e.id,transactions:e.transactions}}):t._e(),t._v(" "),2===t.accounts.length?a("transaction-list-medium",{attrs:{account_id:e.id,transactions:e.transactions}}):t._e(),t._v(" "),t.accounts.length>2?a("transaction-list-small",{attrs:{account_id:e.id,transactions:e.transactions}}):t._e()],1)])])])})),0)])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col"},[e("div",{staticClass:"card"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-spinner fa-spin"})])])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col"},[e("div",{staticClass:"card"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle text-danger"})])])])])}],!1,null,"bf9d2eee",null).exports;function P(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function O(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?P(Object(a),!0).forEach((function(e){T(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):P(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function T(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var B=(0,r._p)("dashboard/index"),N=(B.mapState,B.mapGetters);B.mapActions,B.mapMutations;const L={name:"MainBillsList",data:function(){return{bills:[],locale:"en-US",ready:!1,loading:!0,error:!1}},computed:O(O({},N(["start","end"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready}}),watch:{datesReady:function(t){!0===t&&this.initialiseBills()},start:function(){!1===this.loading&&this.initialiseBills()},end:function(){!1===this.loading&&this.initialiseBills()}},created:function(){var t;this.ready=!0,this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US"},components:{},methods:{initialiseBills:function(){var t=this;this.loading=!0,this.bills=[];var e=(0,s.Z)(this.start,"y-MM-dd"),a=(0,s.Z)(this.end,"y-MM-dd");axios.get("./api/v1/bills?start="+e+"&end="+a).then((function(e){t.loadBills(e.data.data)})).catch((function(e){t.error=!0,t.loading=!1}))},renderPaidDate:function(t){var e=new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long",day:"numeric"}).format(new Date(t.date)),a=this.$t("firefly.bill_paid_on",{date:e});return'<a href="./transactions/show/'+t.transaction_group_id+'" title="'+a+'">'+a+"</a>"},loadBills:function(t){for(var e in t)if(t.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t[e],n=a.attributes.active;a.attributes.pay_dates.length>0&&n&&this.bills.push(a)}this.error=!1,this.loading=!1}}},F=(0,n.Z)(L,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v(t._s(t.$t("firefly.bills")))])]),t._v(" "),t.loading&&!t.error?a("div",{staticClass:"card-body"},[t._m(0)]):t._e(),t._v(" "),t.error?a("div",{staticClass:"card-body"},[t._m(1)]):t._e(),t._v(" "),t.loading||t.error?t._e():a("div",{staticClass:"card-body table-responsive p-0"},[a("table",{staticClass:"table table-striped"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("firefly.bills")))]),t._v(" "),a("thead",[a("tr",[a("th",{staticStyle:{width:"35%"},attrs:{scope:"col"}},[t._v(t._s(t.$t("list.name")))]),t._v(" "),a("th",{staticStyle:{width:"25%"},attrs:{scope:"col"}},[t._v(t._s(t.$t("list.next_expected_match")))])])]),t._v(" "),a("tbody",t._l(this.bills,(function(e){return a("tr",[a("td",[a("a",{attrs:{href:"./bills/show/"+e.id,title:e.attributes.name}},[t._v(t._s(e.attributes.name))]),t._v("\n (~ "),a("span",{staticClass:"text-danger"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.attributes.currency_code}).format((parseFloat(e.attributes.amount_min)+parseFloat(e.attributes.amount_max))/-2)))]),t._v(")\n "),e.attributes.object_group_title?a("small",{staticClass:"text-muted"},[a("br"),t._v("\n "+t._s(e.attributes.object_group_title)+"\n ")]):t._e()]),t._v(" "),a("td",[t._l(e.attributes.paid_dates,(function(e){return a("span",[a("span",{domProps:{innerHTML:t._s(t.renderPaidDate(e))}}),a("br")])})),t._v(" "),t._l(e.attributes.pay_dates,(function(n){return 0===e.attributes.paid_dates.length?a("span",[t._v("\n "+t._s(new Intl.DateTimeFormat(t.locale,{year:"numeric",month:"long",day:"numeric"}).format(new Date(n)))+"\n "),a("br")]):t._e()}))],2)])})),0)])]),t._v(" "),a("div",{staticClass:"card-footer"},[a("a",{staticClass:"btn btn-default button-sm",attrs:{href:"./bills"}},[a("i",{staticClass:"far fa-money-bill-alt"}),t._v(" "+t._s(t.$t("firefly.go_to_bills")))])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-spinner fa-spin"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle text-danger"})])}],!1,null,null,null).exports,M={name:"BudgetLimitRow",created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US"},data:function(){return{locale:"en-US"}},props:{budgetLimit:{type:Object,default:function(){return{}}},budget:{type:Object,default:function(){return{}}}}},R=(0,n.Z)(M,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("tr",[a("td",{staticStyle:{width:"25%"}},[a("a",{attrs:{href:"./budgets/show/"+t.budgetLimit.budget_id}},[t._v(t._s(t.budgetLimit.budget_name))])]),t._v(" "),a("td",{staticStyle:{"vertical-align":"middle"}},[a("div",{staticClass:"progress progress active"},[a("div",{staticClass:"progress-bar bg-success progress-bar-striped",style:"width: "+t.budgetLimit.pctGreen+"%;",attrs:{"aria-valuenow":t.budgetLimit.pctGreen,"aria-valuemax":"100","aria-valuemin":"0",role:"progressbar"}},[t.budgetLimit.pctGreen>35?a("span",[t._v("\n "+t._s(t.$t("firefly.spent_x_of_y",{amount:Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.spent),total:Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.amount)}))+"\n ")]):t._e()]),t._v(" "),a("div",{staticClass:"progress-bar bg-warning progress-bar-striped",style:"width: "+t.budgetLimit.pctOrange+"%;",attrs:{"aria-valuenow":t.budgetLimit.pctOrange,"aria-valuemax":"100","aria-valuemin":"0",role:"progressbar"}},[t.budgetLimit.pctRed<=50&&t.budgetLimit.pctOrange>35?a("span",[t._v("\n "+t._s(t.$t("firefly.spent_x_of_y",{amount:Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.spent),total:Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.amount)}))+"\n ")]):t._e()]),t._v(" "),a("div",{staticClass:"progress-bar bg-danger progress-bar-striped",style:"width: "+t.budgetLimit.pctRed+"%;",attrs:{"aria-valuenow":t.budgetLimit.pctRed,"aria-valuemax":"100","aria-valuemin":"0",role:"progressbar"}},[t.budgetLimit.pctOrange<=50&&t.budgetLimit.pctRed>35?a("span",{staticClass:"text-muted"},[t._v("\n "+t._s(t.$t("firefly.spent_x_of_y",{amount:Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.spent),total:Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.amount)}))+"\n ")]):t._e()]),t._v(" "),t.budgetLimit.pctGreen<=35&&0===t.budgetLimit.pctOrange&&0===t.budgetLimit.pctRed&&0!==t.budgetLimit.pctGreen?a("span",{staticStyle:{"line-height":"16px"}},[t._v("\n "+t._s(t.$t("firefly.spent_x_of_y",{amount:Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.spent),total:Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.amount)}))+"\n ")]):t._e()]),t._v(" "),a("small",{staticClass:"d-none d-lg-block"},[t._v("\n "+t._s(new Intl.DateTimeFormat(t.locale,{year:"numeric",month:"long",day:"numeric"}).format(t.budgetLimit.start))+"\n →\n "+t._s(new Intl.DateTimeFormat(t.locale,{year:"numeric",month:"long",day:"numeric"}).format(t.budgetLimit.end))+"\n ")])]),t._v(" "),a("td",{staticClass:"align-middle d-none d-lg-table-cell",staticStyle:{width:"10%"}},[parseFloat(t.budgetLimit.amount)+parseFloat(t.budgetLimit.spent)>0?a("span",{staticClass:"text-success"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(parseFloat(t.budgetLimit.amount)+parseFloat(t.budgetLimit.spent)))+"\n ")]):t._e(),t._v(" "),0===parseFloat(t.budgetLimit.amount)+parseFloat(t.budgetLimit.spent)?a("span",{staticClass:"text-muted"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(0))+"\n ")]):t._e(),t._v(" "),parseFloat(t.budgetLimit.amount)+parseFloat(t.budgetLimit.spent)<0?a("span",{staticClass:"text-danger"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(parseFloat(t.budgetLimit.amount)+parseFloat(t.budgetLimit.spent)))+"\n ")]):t._e()])])}),[],!1,null,"7988ecb6",null).exports,Z={name:"BudgetRow",created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US"},data:function(){return{locale:"en-US"}},props:{budget:{type:Object,default:{}}}},E={name:"BudgetListGroup",components:{BudgetLimitRow:R,BudgetRow:(0,n.Z)(Z,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("tr",[a("td",{staticStyle:{width:"25%"}},[a("a",{attrs:{href:"./budgets/show/"+t.budget.id}},[t._v(t._s(t.budget.name))])]),t._v(" "),a("td",{staticClass:"align-middle text-right"},[a("span",{staticClass:"text-danger"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:t.budget.currency_code}).format(parseFloat(t.budget.spent)))+"\n ")])])])}),[],!1,null,"2fc8f640",null).exports},props:{title:String,budgetLimits:Array,budgets:Array}},$=(0,n.Z)(E,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v(t._s(t.title))])]),t._v(" "),a("div",{staticClass:"card-body table-responsive p-0"},[a("table",{staticClass:"table table-sm"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.title))]),t._v(" "),a("thead",[a("tr",[a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.budget")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.spent")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.left")))])])]),t._v(" "),a("tbody",[t._l(t.budgetLimits,(function(t,e){return a("BudgetLimitRow",{key:e,attrs:{budgetLimit:t}})})),t._v(" "),t._l(t.budgets,(function(t,e){return a("BudgetRow",{key:e,attrs:{budget:t}})}))],2)])]),t._v(" "),a("div",{staticClass:"card-footer"},[a("a",{staticClass:"btn btn-default button-sm",attrs:{href:"./budgets"}},[a("i",{staticClass:"far fa-money-bill-alt"}),t._v(" "+t._s(t.$t("firefly.go_to_budgets")))])])])}),[],!1,null,"2b21deef",null).exports;function U(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function W(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?U(Object(a),!0).forEach((function(e){V(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):U(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function V(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var q=(0,r._p)("dashboard/index"),G=(q.mapState,q.mapGetters);q.mapActions,q.mapMutations;const K={name:"MainBudgetList",components:{BudgetListGroup:$},data:function(){return{budgetList:["daily","weekly","monthly","quarterly","half_year","yearly","other"],budgetLimits:{daily:[],weekly:[],monthly:[],quarterly:[],half_year:[],yearly:[],other:[]},budgets:{},rawBudgets:[],locale:"en-US",ready:!1,loading:!0,error:!1}},created:function(){var t;this.ready=!0,this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US"},watch:{datesReady:function(t){!0===t&&this.getBudgets()},start:function(){!1===this.loading&&this.getBudgets()},end:function(){!1===this.loading&&this.getBudgets()}},computed:W(W({},G(["start","end"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready}}),methods:{getBudgets:function(){var t=this;this.budgets={},this.rawBudgets=[],this.budgetLimits={daily:[],weekly:[],monthly:[],quarterly:[],half_year:[],yearly:[],other:[]},this.loading=!0;var e=(0,s.Z)(this.start,"y-MM-dd"),a=(0,s.Z)(this.end,"y-MM-dd");axios.get("./api/v1/budgets?start="+e+"&end="+a).then((function(e){t.parseBudgets(e.data)}))},parseBudgets:function(t){for(var e in t.data)if(t.data.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t.data[e];if(!1===a.attributes.active)continue;for(var n in a.attributes.spent)if(a.attributes.spent.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294){var i=a.attributes.spent[n];this.rawBudgets.push({id:parseInt(a.id),name:a.attributes.name,currency_id:parseInt(i.currency_id),currency_code:i.currency_code,spent:i.sum})}}this.getBudgetLimits()},getBudgetLimits:function(){var t=this,e=(0,s.Z)(this.start,"y-MM-dd"),a=(0,s.Z)(this.end,"y-MM-dd");axios.get("./api/v1/budget-limits?start="+e+"&end="+a).then((function(e){t.parseBudgetLimits(e.data),t.loading=!1}))},parseBudgetLimits:function(t){for(var e in t.included)if(t.included.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t.included[e],n=parseInt(a.id);this.budgets[n]={id:n,name:a.attributes.name}}for(var i in t.data)if(t.data.hasOwnProperty(i)&&/^0$|^[1-9]\d*$/.test(i)&&i<=4294967294){var r,s=t.data[i],o=parseInt(s.id),c=parseInt(s.attributes.budget_id),l=parseInt(s.attributes.currency_id),_=parseFloat(s.attributes.spent),d=-1*parseFloat(s.attributes.spent),u=parseFloat(s.attributes.amount),p=null!==(r=s.attributes.period)&&void 0!==r?r:"other",y=0,g=0,h=0;this.filterBudgets(c,l),0!==_&&d<u&&(y=d/u*100),0!==d&&d>u&&(h=100-(g=d/u*100));var m={id:o,amount:s.attributes.amount,budget_id:c,budget_name:this.budgets[s.attributes.budget_id].name,currency_id:l,currency_code:s.attributes.currency_code,period:s.attributes.period,start:new Date(s.attributes.start),end:new Date(s.attributes.end),spent:s.attributes.spent,pctGreen:y,pctOrange:g,pctRed:h};this.budgetLimits[p].push(m)}},filterBudgets:function(t,e){for(var a in this.rawBudgets)this.rawBudgets.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294&&this.rawBudgets[a].currency_id===e&&this.rawBudgets[a].id===t&&this.rawBudgets.splice(parseInt(a),1)}}},H=(0,n.Z)(K,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[t.loading?t._e():a("div",{staticClass:"row"},[t.budgetLimits.daily.length>0?a("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[a("BudgetListGroup",{attrs:{budgetLimits:t.budgetLimits.daily,title:t.$t("firefly.daily_budgets")}})],1):t._e(),t._v(" "),t.budgetLimits.weekly.length>0?a("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[a("BudgetListGroup",{attrs:{budgetLimits:t.budgetLimits.weekly,title:t.$t("firefly.weekly_budgets")}})],1):t._e(),t._v(" "),t.budgetLimits.monthly.length>0?a("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[a("BudgetListGroup",{attrs:{budgetLimits:t.budgetLimits.monthly,title:t.$t("firefly.monthly_budgets")}})],1):t._e(),t._v(" "),t.budgetLimits.quarterly.length>0?a("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[a("BudgetListGroup",{attrs:{budgetLimits:t.budgetLimits.quarterly,title:t.$t("firefly.quarterly_budgets")}})],1):t._e(),t._v(" "),t.budgetLimits.half_year.length>0?a("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[a("BudgetListGroup",{attrs:{budgetLimits:t.budgetLimits.half_year,title:t.$t("firefly.half_year_budgets")}})],1):t._e(),t._v(" "),t.budgetLimits.yearly.length>0?a("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[a("BudgetListGroup",{attrs:{budgetLimits:t.budgetLimits.yearly,title:t.$t("firefly.yearly_budgets")}})],1):t._e(),t._v(" "),t.budgetLimits.other.length>0||t.rawBudgets.length>0?a("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[a("BudgetListGroup",{attrs:{budgetLimits:t.budgetLimits.other,budgets:t.rawBudgets,title:t.$t("firefly.other_budgets")}})],1):t._e()]),t._v(" "),t.loading&&!t.error?a("div",{staticClass:"row"},[t._m(0)]):t._e()])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col"},[e("div",{staticClass:"card"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-spinner fa-spin"})])])])])}],!1,null,"0ae2dcbe",null).exports;function Q(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function Y(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?Q(Object(a),!0).forEach((function(e){J(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):Q(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function J(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var X=(0,r._p)("dashboard/index"),tt=(X.mapState,X.mapGetters);X.mapActions,X.mapMutations;const et={name:"MainCreditList",data:function(){return{locale:"en-US",income:[],max:0,loading:!0,error:!1}},created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US",this.ready=!0},computed:Y(Y({},tt(["start","end"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready}}),watch:{datesReady:function(t){!0===t&&this.getIncome()},start:function(){!1===this.loading&&this.getIncome()},end:function(){!1===this.loading&&this.getIncome()}},methods:{getIncome:function(){var t=this;this.loading=!0,this.income=[],this.error=!1;var e=(0,s.Z)(this.start,"y-MM-dd"),a=(0,s.Z)(this.end,"y-MM-dd");axios.get("./api/v1/insight/income/revenue?start="+e+"&end="+a).then((function(e){t.parseIncome(e.data),t.loading=!1})).catch((function(e){t.error=!0}))},parseIncome:function(t){for(var e in t)if(t.hasOwnProperty(e)){var a=t[e=parseInt(e)];a.pct=0,this.max=a.difference_float>this.max?a.difference_float:this.max,this.income.push(a)}for(var n in 0===this.max&&(this.max=1),this.income)if(this.income.hasOwnProperty(n)){var i=this.income[n];i.pct=i.difference_float/this.max*100,this.income[n]=i}this.income.sort((function(t,e){return t.pct>e.pct?-1:e.pct>t.pct?1:0}))}}},at=(0,n.Z)(et,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v(t._s(t.$t("firefly.revenue_accounts")))])]),t._v(" "),t.loading&&!t.error?a("div",{staticClass:"card-body"},[t._m(0)]):t._e(),t._v(" "),t.error?a("div",{staticClass:"card-body"},[t._m(1)]):t._e(),t._v(" "),t.loading||t.error?t._e():a("div",{staticClass:"card-body table-responsive p-0"},[a("table",{staticClass:"table table-sm"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("firefly.revenue_accounts")))]),t._v(" "),a("thead",[a("tr",[a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.account")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.earned")))])])]),t._v(" "),a("tbody",t._l(t.income,(function(e){return a("tr",[a("td",{staticStyle:{width:"20%"}},[a("a",{attrs:{href:"./accounts/show/"+e.id}},[t._v(t._s(e.name))])]),t._v(" "),a("td",{staticClass:"align-middle"},[e.pct>0?a("div",{staticClass:"progress"},[a("div",{staticClass:"progress-bar progress-bar-striped bg-success",style:{width:e.pct+"%"},attrs:{"aria-valuenow":e.pct,"aria-valuemax":"100","aria-valuemin":"0",role:"progressbar"}},[e.pct>20?a("span",[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.difference_float))+"\n ")]):t._e()]),t._v(" "),e.pct<=20?a("span",{staticStyle:{"line-height":"16px"}},[t._v(" \n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.difference_float))+"\n ")]):t._e()]):t._e()])])})),0)])]),t._v(" "),a("div",{staticClass:"card-footer"},[a("a",{staticClass:"btn btn-default button-sm",attrs:{href:"./transactions/deposit"}},[a("i",{staticClass:"far fa-money-bill-alt"}),t._v(" "+t._s(t.$t("firefly.go_to_deposits")))])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-spinner fa-spin"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle text-danger"})])}],!1,null,null,null).exports;function nt(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function it(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?nt(Object(a),!0).forEach((function(e){rt(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):nt(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function rt(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var st=(0,r._p)("dashboard/index"),ot=(st.mapState,st.mapGetters);st.mapActions,st.mapMutations;const ct={name:"MainDebitList",data:function(){return{locale:"en-US",expenses:[],min:0,loading:!0,error:!1}},created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US",this.ready=!0},computed:it(it({},ot(["start","end"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready}}),watch:{datesReady:function(t){!0===t&&this.getExpenses()},start:function(){!1===this.loading&&this.getExpenses()},end:function(){!1===this.loading&&this.getExpenses()}},methods:{getExpenses:function(){var t=this;this.loading=!0,this.error=!1,this.expenses=[];var e=(0,s.Z)(this.start,"y-MM-dd"),a=(0,s.Z)(this.end,"y-MM-dd");axios.get("./api/v1/insight/expense/expense?start="+e+"&end="+a).then((function(e){t.parseExpenses(e.data),t.loading=!1})).catch((function(e){t.error=!0}))},parseExpenses:function(t){for(var e in t)if(t.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t[e];a.pct=0,this.min=a.difference_float<this.min?a.difference_float:this.min,this.expenses.push(a)}for(var n in 0===this.min&&(this.min=-1),this.expenses)if(this.expenses.hasOwnProperty(n)){var i=this.expenses[n];i.pct=-1*i.difference_float/this.min*-1*100,this.expenses[n]=i}this.expenses.sort((function(t,e){return t.pct>e.pct?-1:e.pct>t.pct?1:0}))}}},lt=(0,n.Z)(ct,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v(t._s(t.$t("firefly.expense_accounts")))])]),t._v(" "),t.loading&&!t.error?a("div",{staticClass:"card-body"},[t._m(0)]):t._e(),t._v(" "),t.error?a("div",{staticClass:"card-body"},[t._m(1)]):t._e(),t._v(" "),t.loading||t.error?t._e():a("div",{staticClass:"card-body table-responsive p-0"},[a("table",{staticClass:"table table-sm"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("firefly.expense_accounts")))]),t._v(" "),a("thead",[a("tr",[a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.account")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.spent")))])])]),t._v(" "),a("tbody",t._l(t.expenses,(function(e){return a("tr",[a("td",{staticStyle:{width:"20%"}},[a("a",{attrs:{href:"./accounts/show/"+e.id}},[t._v(t._s(e.name))])]),t._v(" "),a("td",{staticClass:"align-middle"},[e.pct>0?a("div",{staticClass:"progress"},[a("div",{staticClass:"progress-bar progress-bar-striped bg-danger",style:{width:e.pct+"%"},attrs:{"aria-valuenow":e.pct,"aria-valuemax":"100","aria-valuemin":"0",role:"progressbar"}},[e.pct>20?a("span",[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.difference_float))+"\n ")]):t._e()]),t._v(" "),e.pct<=20?a("span",{staticStyle:{"line-height":"16px"}},[t._v(" \n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.difference_float))+"\n ")]):t._e()]):t._e()])])})),0)])]),t._v(" "),a("div",{staticClass:"card-footer"},[a("a",{staticClass:"btn btn-default button-sm",attrs:{href:"./transactions/withdrawal"}},[a("i",{staticClass:"far fa-money-bill-alt"}),t._v(" "+t._s(t.$t("firefly.go_to_withdrawals")))])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-spinner fa-spin"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle text-danger"})])}],!1,null,null,null).exports,_t={name:"MainPiggyList",data:function(){return{piggy_banks:[],loading:!0,error:!1,locale:"en-US"}},created:function(){var t,e=this;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US",axios.get("./api/v1/piggy_banks").then((function(t){e.loadPiggyBanks(t.data.data),e.loading=!1})).catch((function(t){e.error=!0}))},methods:{loadPiggyBanks:function(t){for(var e in t)if(t.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t[e];0!==parseFloat(a.attributes.left_to_save)&&(a.attributes.pct=parseFloat(a.attributes.current_amount)/parseFloat(a.attributes.target_amount)*100,this.piggy_banks.push(a))}this.piggy_banks.sort((function(t,e){return e.attributes.pct-t.attributes.pct}))}}},dt=(0,n.Z)(_t,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v(t._s(t.$t("firefly.piggy_banks")))])]),t._v(" "),t.loading&&!t.error?a("div",{staticClass:"card-body"},[t._m(0)]):t._e(),t._v(" "),t.error?a("div",{staticClass:"card-body"},[t._m(1)]):t._e(),t._v(" "),t.loading||t.error?t._e():a("div",{staticClass:"card-body table-responsive p-0"},[a("table",{staticClass:"table table-striped"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("firefly.piggy_banks")))]),t._v(" "),a("thead",[a("tr",[a("th",{staticStyle:{width:"35%"},attrs:{scope:"col"}},[t._v(t._s(t.$t("list.piggy_bank")))]),t._v(" "),a("th",{staticStyle:{width:"40%"},attrs:{scope:"col"}},[t._v(t._s(t.$t("list.percentage"))+" "),a("small",[t._v("/ "+t._s(t.$t("list.amount")))])])])]),t._v(" "),a("tbody",t._l(this.piggy_banks,(function(e){return a("tr",[a("td",[a("a",{attrs:{href:"./piggy-banks/show/"+e.id,title:e.attributes.name}},[t._v(t._s(e.attributes.name))]),t._v(" "),e.attributes.object_group_title?a("small",{staticClass:"text-muted"},[a("br"),t._v("\n "+t._s(e.attributes.object_group_title)+"\n ")]):t._e()]),t._v(" "),a("td",[a("div",{staticClass:"progress-group"},[a("div",{staticClass:"progress progress-sm"},[e.attributes.pct<100?a("div",{staticClass:"progress-bar progress-bar-striped primary",style:{width:e.attributes.pct+"%"}}):t._e(),t._v(" "),100===e.attributes.pct?a("div",{staticClass:"progress-bar progress-bar-striped bg-success",style:{width:e.attributes.pct+"%"}}):t._e()])]),t._v(" "),a("span",{staticClass:"text-success"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.attributes.currency_code}).format(e.attributes.current_amount))+"\n ")]),t._v("\n of\n "),a("span",{staticClass:"text-success"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.attributes.currency_code}).format(e.attributes.target_amount)))])])])})),0)])]),t._v(" "),a("div",{staticClass:"card-footer"},[a("a",{staticClass:"btn btn-default button-sm",attrs:{href:"./piggy-banks"}},[a("i",{staticClass:"far fa-money-bill-alt"}),t._v(" "+t._s(t.$t("firefly.go_to_piggies")))])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-spinner fa-spin"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle text-danger"})])}],!1,null,"c17c9a5a",null).exports,ut={name:"TransactionListLarge",data:function(){return{locale:"en-US"}},created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US"},props:{transactions:{type:Array,default:function(){return[]}},account_id:{type:Number,default:function(){return 0}}}},pt=(0,n.Z)(ut,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("table",{staticClass:"table table-striped table-sm"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("firefly.transaction_table_description")))]),t._v(" "),a("thead",[a("tr",[a("th",{staticClass:"text-left",attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.description")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.opposing_account")))]),t._v(" "),a("th",{staticClass:"text-right",attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.amount")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.category")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.budget")))])])]),t._v(" "),a("tbody",t._l(this.transactions,(function(e){return a("tr",[a("td",[a("a",{attrs:{href:"transactions/show/"+e.id,title:e.date}},[e.attributes.transactions.length>1?a("span",[t._v(t._s(e.attributes.group_title))]):t._e(),t._v(" "),1===e.attributes.transactions.length?a("span",[t._v(t._s(e.attributes.transactions[0].description))]):t._e()])]),t._v(" "),a("td",t._l(e.attributes.transactions,(function(e){return a("span",["withdrawal"===e.type?a("a",{attrs:{href:"accounts/show/"+e.destination_id}},[t._v(t._s(e.destination_name))]):t._e(),t._v(" "),"deposit"===e.type?a("a",{attrs:{href:"accounts/show/"+e.source_id}},[t._v(t._s(e.source_name))]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.source_id)===t.account_id?a("a",{attrs:{href:"accounts/show/"+e.destination_id}},[t._v(t._s(e.destination_name))]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.destination_id)===t.account_id?a("a",{attrs:{href:"accounts/show/"+e.source_id}},[t._v(t._s(e.source_name))]):t._e(),t._v(" "),a("br")])})),0),t._v(" "),a("td",{staticStyle:{"text-align":"right"}},t._l(e.attributes.transactions,(function(e){return a("span",["withdrawal"===e.type?a("span",{staticClass:"text-danger"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(-1*e.amount))),a("br")]):t._e(),t._v(" "),"deposit"===e.type?a("span",{staticClass:"text-success"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.amount))),a("br")]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.source_id)===t.account_id?a("span",{staticClass:"text-info"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(-1*e.amount))),a("br")]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.destination_id)===t.account_id?a("span",{staticClass:"text-info"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.amount))),a("br")]):t._e()])})),0),t._v(" "),a("td",t._l(e.attributes.transactions,(function(e){return a("span",[0!==e.category_id?a("a",{attrs:{href:"categories/show/"+e.category_id}},[t._v(t._s(e.category_name))]):t._e(),a("br")])})),0),t._v(" "),a("td",t._l(e.attributes.transactions,(function(e){return a("span",[0!==e.budget_id?a("a",{attrs:{href:"budgets/show/"+e.budget_id}},[t._v(t._s(e.budget_name))]):t._e(),a("br")])})),0)])})),0)])}),[],!1,null,"6e420753",null).exports,yt={name:"TransactionListMedium",data:function(){return{locale:"en-US"}},created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US"},props:{transactions:{type:Array,default:function(){return[]}},account_id:{type:Number,default:function(){return 0}}}},gt=(0,n.Z)(yt,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("table",{staticClass:"table table-striped table-sm"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("firefly.transaction_table_description")))]),t._v(" "),a("thead",[a("tr",[a("th",{staticClass:"text-left",attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.description")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.opposing_account")))]),t._v(" "),a("th",{staticClass:"text-right",attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.amount")))])])]),t._v(" "),a("tbody",t._l(this.transactions,(function(e){return a("tr",[a("td",[a("a",{attrs:{href:"transactions/show/"+e.id,title:e.date}},[e.attributes.transactions.length>1?a("span",[t._v(t._s(e.attributes.group_title))]):t._e(),t._v(" "),1===e.attributes.transactions.length?a("span",[t._v(t._s(e.attributes.transactions[0].description))]):t._e()])]),t._v(" "),a("td",t._l(e.attributes.transactions,(function(e){return a("span",["withdrawal"===e.type?a("a",{attrs:{href:"accounts/show/"+e.destination_id}},[t._v(t._s(e.destination_name))]):t._e(),t._v(" "),"deposit"===e.type?a("a",{attrs:{href:"accounts/show/"+e.source_id}},[t._v(t._s(e.source_name))]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.source_id)===t.account_id?a("a",{attrs:{href:"accounts/show/"+e.destination_id}},[t._v(t._s(e.destination_name))]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.destination_id)===t.account_id?a("a",{attrs:{href:"accounts/show/"+e.source_id}},[t._v(t._s(e.source_name))]):t._e(),t._v(" "),a("br")])})),0),t._v(" "),a("td",{staticStyle:{"text-align":"right"}},t._l(e.attributes.transactions,(function(e){return a("span",["withdrawal"===e.type?a("span",{staticClass:"text-danger"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(-1*e.amount))),a("br")]):t._e(),t._v(" "),"deposit"===e.type?a("span",{staticClass:"text-success"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.amount))),a("br")]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.source_id)===t.account_id?a("span",{staticClass:"text-info"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(-1*e.amount))),a("br")]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.destination_id)===t.account_id?a("span",{staticClass:"text-info"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.amount))),a("br")]):t._e()])})),0)])})),0)])}),[],!1,null,"0d4f7042",null).exports,ht={name:"TransactionListSmall",data:function(){return{locale:"en-US"}},created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US"},methods:{},props:{transactions:{type:Array,default:function(){return[]}},account_id:{type:Number,default:function(){return 0}}}},mt=(0,n.Z)(ht,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("table",{staticClass:"table table-striped table-sm"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("firefly.transaction_table_description")))]),t._v(" "),a("thead",[a("tr",[a("th",{staticClass:"text-left",attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.description")))]),t._v(" "),a("th",{staticClass:"text-right",attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.amount")))])])]),t._v(" "),a("tbody",t._l(this.transactions,(function(e){return a("tr",[a("td",[a("a",{attrs:{href:"transactions/show/"+e.id,title:new Intl.DateTimeFormat(t.locale,{year:"numeric",month:"long",day:"numeric"}).format(new Date(e.attributes.transactions[0].date))}},[e.attributes.transactions.length>1?a("span",[t._v(t._s(e.attributes.group_title))]):t._e(),t._v(" "),1===e.attributes.transactions.length?a("span",[t._v(t._s(e.attributes.transactions[0].description))]):t._e()])]),t._v(" "),a("td",{staticStyle:{"text-align":"right"}},t._l(e.attributes.transactions,(function(e){return a("span",["withdrawal"===e.type?a("span",{staticClass:"text-danger"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(-1*e.amount))),a("br")]):t._e(),t._v(" "),"deposit"===e.type?a("span",{staticClass:"text-success"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.amount))),a("br")]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.source_id)===t.account_id?a("span",{staticClass:"text-info"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(-1*e.amount))),a("br")]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.destination_id)===t.account_id?a("span",{staticClass:"text-info"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.amount))),a("br")]):t._e()])})),0)])})),0)])}),[],!1,null,"4cd7a656",null).exports;var ft=a(1114);function bt(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function vt(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?bt(Object(a),!0).forEach((function(e){wt(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):bt(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function wt(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var kt=(0,r._p)("dashboard/index"),Dt=(kt.mapState,kt.mapGetters);kt.mapActions,kt.mapMutations;const St={name:"MainCategoryList",created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US",this.ready=!0},data:function(){return{locale:"en-US",categories:[],sortedList:[],spent:0,earned:0,loading:!0,error:!1}},computed:vt(vt({},Dt(["start","end"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready}}),watch:{datesReady:function(t){!0===t&&this.getCategories()},start:function(){!1===this.loading&&this.getCategories()},end:function(){!1===this.loading&&this.getCategories()}},methods:{getCategories:function(){this.categories=[],this.sortedList=[],this.spent=0,this.earned=0,this.loading=!0;var t=(0,s.Z)(this.start,"y-MM-dd"),e=(0,s.Z)(this.end,"y-MM-dd");this.getCategoryPage(t,e,1)},getCategoryPage:function(t,e,a){var n=this;axios.get("./api/v1/categories?start="+t+"&end="+e+"&page="+a).then((function(a){var i=a.data.data,r=parseInt(a.data.meta.pagination.current_page),s=parseInt(a.data.meta.pagination.total_pages);if(n.parseCategories(i),r<s){var o=r+1;n.getCategoryPage(t,e,o)}r===s&&(n.loading=!1,n.sortCategories())})).catch((function(t){n.error=!0}))},parseCategories:function(t){for(var e in t)if(t.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t[e],n=null,i=parseInt(a.id);for(var r in a.attributes.spent)if(a.attributes.spent.hasOwnProperty(r)&&/^0$|^[1-9]\d*$/.test(r)&&r<=4294967294){var s,o=a.attributes.spent[r];n=o.currency_id+"-"+a.id,this.categories[n]=null!==(s=this.categories[n])&&void 0!==s?s:{id:i,name:a.attributes.name,currency_code:o.currency_code,currency_symbol:o.currency_symbol,spent:0,earned:0,spentPct:0,earnedPct:0},this.categories[n].spent=parseFloat(o.sum),this.spent=parseFloat(o.sum)<this.spent?parseFloat(o.sum):this.spent}for(var c in a.attributes.earned)if(a.attributes.earned.hasOwnProperty(c)&&/^0$|^[1-9]\d*$/.test(c)&&c<=4294967294){var l,_=a.attributes.earned[c];n=_.currency_id+"-"+a.id,this.categories[n]=null!==(l=this.categories[n])&&void 0!==l?l:{id:i,name:a.attributes.name,currency_code:_.currency_code,currency_symbol:_.currency_symbol,spent:0,earned:0,spentPct:0,earnedPct:0},this.categories[n].earned=parseFloat(_.sum),this.earned=parseFloat(_.sum)>this.earned?parseFloat(_.sum):this.earned}}},sortCategories:function(){var t=[];for(var e in this.categories)this.categories.hasOwnProperty(e)&&t.push(this.categories[e]);for(var a in t.sort((function(t,e){return t.spent+t.earned-(e.spent+e.earned)})),t)if(t.hasOwnProperty(a)){var n=t[a];n.spentPct=n.spent/this.spent*100,n.earnedPct=n.earned/this.earned*100,this.sortedList.push(n)}}}},Ct=(0,n.Z)(St,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v(t._s(t.$t("firefly.categories")))])]),t._v(" "),t.loading&&!t.error?a("div",{staticClass:"card-body"},[t._m(0)]):t._e(),t._v(" "),t.error?a("div",{staticClass:"card-body"},[t._m(1)]):t._e(),t._v(" "),t.loading||t.error?t._e():a("div",{staticClass:"card-body table-responsive p-0"},[a("table",{staticClass:"table table-sm"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("firefly.categories")))]),t._v(" "),a("thead",[a("tr",[a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.category")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.spent"))+" / "+t._s(t.$t("firefly.earned")))])])]),t._v(" "),a("tbody",t._l(t.sortedList,(function(e){return a("tr",[a("td",{staticStyle:{width:"20%"}},[a("a",{attrs:{href:"./categories/show/"+e.id}},[t._v(t._s(e.name))])]),t._v(" "),a("td",{staticClass:"align-middle"},[e.spentPct>0?a("div",{staticClass:"progress"},[a("div",{staticClass:"progress-bar progress-bar-striped bg-danger",style:{width:e.spentPct+"%"},attrs:{"aria-valuenow":e.spentPct,"aria-valuemax":"100","aria-valuemin":"0",role:"progressbar"}},[e.spentPct>20?a("span",[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.spent))+"\n ")]):t._e()]),t._v(" "),e.spentPct<=20?a("span",{staticClass:"progress-label",staticStyle:{"line-height":"16px"}},[t._v(" \n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.spent))+"\n ")]):t._e()]):t._e(),t._v(" "),e.earnedPct>0?a("div",{staticClass:"progress justify-content-end",attrs:{title:"hello2"}},[e.earnedPct<=20?a("span",{staticStyle:{"line-height":"16px"}},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.earned))+"\n ")]):t._e(),t._v(" "),a("div",{staticClass:"progress-bar progress-bar-striped bg-success",style:{width:e.earnedPct+"%"},attrs:{"aria-valuenow":e.earnedPct,"aria-valuemax":"100","aria-valuemin":"0",role:"progressbar",title:"hello"}},[e.earnedPct>20?a("span",[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.earned))+"\n ")]):t._e()])]):t._e()])])})),0)])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-spinner fa-spin"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle text-danger"})])}],!1,null,"a33c44be",null).exports;var It=a(7760),xt=a.n(It),jt=a(9899);a(232),a(2181),xt().component("transaction-list-large",pt),xt().component("transaction-list-medium",gt),xt().component("transaction-list-small",mt),xt().component("dashboard",i),xt().component("top-boxes",p),xt().component("main-account",D),xt().component("main-account-list",A),xt().component("main-bills-list",F),xt().component("main-budget-list",H),xt().component("main-category-list",Ct),xt().component("main-debit-list",lt),xt().component("main-credit-list",at),xt().component("main-piggy-list",dt),xt().use(r.ZP);var zt=a(157),At={};new(xt())({i18n:zt,store:jt.Z,el:"#dashboard",render:function(t){return t(i,{props:At})},beforeCreate:function(){this.$store.commit("initialiseStore"),this.$store.dispatch("updateCurrencyPreference"),this.$store.dispatch("root/initialiseStore"),this.$store.dispatch("dashboard/index/initialiseStore")}}),new(xt())({i18n:zt,store:jt.Z,el:"#calendar",render:function(t){return t(ft.Z,{props:At})}})},4478:(t,e,a)=>{"use strict";function n(){return{description:[],amount:[],source:[],destination:[],currency:[],foreign_currency:[],foreign_amount:[],date:[],custom_dates:[],budget:[],category:[],bill:[],tags:[],piggy_bank:[],internal_reference:[],external_url:[],notes:[],location:[]}}function i(){return{description:"",transaction_journal_id:0,source_account_id:null,source_account_name:null,source_account_type:null,source_account_currency_id:null,source_account_currency_code:null,source_account_currency_symbol:null,destination_account_id:null,destination_account_name:null,destination_account_type:null,destination_account_currency_id:null,destination_account_currency_code:null,destination_account_currency_symbol:null,attachments:!1,selectedAttachments:!1,uploadTrigger:!1,clearTrigger:!1,source_account:{id:0,name:"",name_with_balance:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2},destination_account:{id:0,name:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2},amount:"",currency_id:0,foreign_amount:"",foreign_currency_id:0,category:null,budget_id:0,bill_id:0,piggy_bank_id:0,tags:[],interest_date:null,book_date:null,process_date:null,due_date:null,payment_date:null,invoice_date:null,internal_reference:null,external_url:null,external_id:null,notes:null,links:[],zoom_level:null,longitude:null,latitude:null,errors:{}}}a.d(e,{kQ:()=>n,f$:()=>i})},9239:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>o});var n=a(4015),i=a.n(n),r=a(3645),s=a.n(r)()(i());s.push([t.id,".dropdown-item[data-v-391cacea],.dropdown-item[data-v-391cacea]:hover{color:#212529}","",{version:3,sources:["webpack://./src/components/dashboard/Calendar.vue"],names:[],mappings:"AAwlBA,sEACA,aACA",sourcesContent:["\x3c!--\n - Calendar.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n --\x3e\n\n<template>\n <div>\n <div class=\"row\">\n <div class=\"col\">Start</div>\n <div class=\"col-8\">{{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(range.start) }}</div>\n </div>\n <div class=\"row\">\n <div class=\"col\">End</div>\n <div class=\"col-8\">{{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(range.end) }}</div>\n </div>\n <date-picker\n v-model=\"range\"\n :rows=\"2\"\n is-range\n mode=\"date\"\n >\n <template v-slot=\"{ inputValue, inputEvents, isDragging, togglePopover }\">\n <div class=\"row\">\n <div class=\"col\">\n <div class=\"btn-group btn-group-sm d-flex\">\n <button\n :title=\"$t('firefly.custom_period')\" class=\"btn btn-secondary btn-sm\"\n @click=\"togglePopover({ placement: 'auto-start', positionFixed: true })\"\n ><i class=\"fas fa-calendar-alt\"></i></button>\n <button :title=\"$t('firefly.reset_to_current')\"\n class=\"btn btn-secondary\"\n @click=\"resetDate\"\n ><i class=\"fas fa-history\"></i></button>\n <button id=\"dropdownMenuButton\" :title=\"$t('firefly.select_period')\" aria-expanded=\"false\" aria-haspopup=\"true\"\n class=\"btn btn-secondary dropdown-toggle\"\n data-toggle=\"dropdown\"\n type=\"button\">\n <i class=\"fas fa-list\"></i>\n </button>\n <div aria-labelledby=\"dropdownMenuButton\" class=\"dropdown-menu\">\n <a v-for=\"period in periods\" class=\"dropdown-item\" href=\"#\" @click=\"customDate(period.start, period.end)\">{{ period.title }}</a>\n </div>\n\n </div>\n <input v-on=\"inputEvents.start\"\n :class=\"isDragging ? 'text-gray-600' : 'text-gray-900'\"\n :value=\"inputValue.start\"\n type=\"hidden\"\n />\n <input v-on=\"inputEvents.end\"\n :class=\"isDragging ? 'text-gray-600' : 'text-gray-900'\"\n :value=\"inputValue.end\"\n type=\"hidden\"\n />\n </div>\n </div>\n </template>\n </date-picker>\n </div>\n</template>\n\n<script>\n\nimport {createNamespacedHelpers} from \"vuex\";\nimport Vue from \"vue\";\nimport DatePicker from \"v-calendar/lib/components/date-picker.umd\";\nimport subDays from 'date-fns/subDays';\nimport addDays from 'date-fns/addDays';\nimport addMonths from 'date-fns/addMonths';\nimport startOfDay from 'date-fns/startOfDay';\nimport endOfDay from 'date-fns/endOfDay';\nimport startOfWeek from 'date-fns/startOfWeek';\nimport endOfWeek from 'date-fns/endOfWeek';\nimport endOfMonth from 'date-fns/endOfMonth';\nimport format from 'date-fns/format';\nimport startOfQuarter from 'date-fns/startOfQuarter';\nimport subMonths from 'date-fns/subMonths';\nimport endOfQuarter from 'date-fns/endOfQuarter';\nimport subQuarters from 'date-fns/subQuarters';\nimport addQuarters from 'date-fns/addQuarters';\nimport startOfMonth from 'date-fns/startOfMonth';\n\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\n\nVue.component('date-picker', DatePicker)\n\nexport default {\n name: \"Calendar\",\n created() {\n this.ready = true;\n this.locale = localStorage.locale ?? 'en-US';\n },\n data() {\n return {\n locale: 'en-US',\n ready: false,\n range: {\n start: null,\n end: null,\n },\n defaultRange: {\n start: null,\n end: null,\n },\n periods: []\n };\n },\n methods: {\n ...mapMutations(\n [\n 'setEnd',\n 'setStart',\n ],\n ),\n resetDate: function () {\n //console.log('Reset date to');\n //console.log(this.defaultStart);\n //console.log(this.defaultEnd);\n this.range.start = this.defaultStart;\n this.range.end = this.defaultEnd;\n this.setStart(this.defaultStart);\n this.setEnd(this.defaultEnd);\n },\n customDate: function (startStr, endStr) {\n let start = new Date(startStr);\n let end = new Date(endStr);\n this.setStart(start);\n this.setEnd(end);\n this.range.start = start;\n this.range.end = end;\n this.generatePeriods()\n return false;\n },\n generateDaily: function () {\n let today = new Date(this.range.start);\n // yesterday\n this.periods.push(\n {\n start: startOfDay(subDays(today, 1)).toDateString(),\n end: endOfDay(subDays(today, 1)).toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(subDays(today, 1))\n }\n );\n\n // today\n this.periods.push(\n {\n start: startOfDay(today).toDateString(),\n end: endOfDay(today).toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(today)\n }\n );\n\n // tomorrow:\n this.periods.push(\n {\n start: startOfDay(addDays(today, 1)).toDateString(),\n end: endOfDay(addDays(today, 1)).toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(addDays(today, 1))\n }\n );\n\n // The Day After Tomorrow dun-dun-dun!\n this.periods.push(\n {\n start: startOfDay(addDays(today, 2)).toDateString(),\n end: endOfDay(addDays(today, 2)).toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(addDays(today, 2))\n }\n );\n },\n\n generateWeekly: function () {\n //console.log('weekly');\n let today = new Date(this.range.start);\n //console.log('Today is ' + today);\n let start = startOfDay(startOfWeek(subDays(today, 7), {weekStartsOn: 1}));\n let end = endOfDay(endOfWeek(subDays(today, 7), {weekStartsOn: 1}));\n let dateFormat = this.$t('config.week_in_year_fns');\n //console.log('Date format: \"'+dateFormat+'\"');\n let title = format(start, dateFormat);\n\n // last week\n // console.log('Last week');\n // console.log(start);\n // console.log(end);\n // console.log(title);\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n\n // this week\n start = startOfDay(startOfWeek(today, {weekStartsOn: 1}));\n end = endOfDay(endOfWeek(today, {weekStartsOn: 1}));\n title = format(start, dateFormat);\n // console.log('This week');\n // console.log(start);\n // console.log(end);\n // console.log(title);\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n\n // next week\n start = startOfDay(startOfWeek(addDays(today, 7), {weekStartsOn: 1}));\n end = endOfDay(endOfWeek(addDays(today, 7), {weekStartsOn: 1}));\n title = format(start, dateFormat);\n // console.log('Next week');\n // console.log(start);\n // console.log(end);\n // console.log(title);\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n },\n generateMonthly: function () {\n let today = new Date(this.range.start);\n // previous month\n let start = startOfDay(startOfMonth(subMonths(today, 1)));\n let end = endOfDay(endOfMonth(subMonths(today, 1)));\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long'}).format(start)\n }\n );\n\n // this month\n start = startOfDay(startOfMonth(today));\n end = endOfDay(endOfMonth(today));\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long'}).format(start)\n }\n );\n\n // next month\n start = startOfDay(startOfMonth(addMonths(today, 1)));\n end = endOfDay(endOfMonth(addMonths(today, 1)));\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long'}).format(start)\n }\n );\n\n },\n generateQuarterly: function () {\n let today = new Date(this.range.start);\n\n // last quarter\n let start = startOfDay(startOfQuarter(subQuarters(today, 1)));\n let end = endOfDay(endOfQuarter(subQuarters(today, 1)));\n let dateFormat = this.$t('config.quarter_fns');\n let title = format(start, dateFormat);\n\n // last week\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n\n\n // this quarter\n start = startOfDay(startOfQuarter(today));\n end = endOfDay(endOfQuarter(today));\n title = format(start, dateFormat);\n\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n // next quarter\n start = startOfDay(startOfQuarter(addQuarters(today, 1)));\n end = endOfDay(endOfQuarter(addQuarters(today, 1)));\n title = format(start, dateFormat);\n\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n },\n generateHalfYearly: function () {\n let today = new Date(this.range.start);\n let start;\n let end;\n let title = 'todo';\n let half = 1;\n\n\n // its currently first half of year:\n if (today.getMonth() <= 5) {\n // previous year, last half:\n start = today;\n start.setFullYear(start.getFullYear() - 1);\n start.setMonth(6);\n start.setDate(1);\n start = startOfDay(start);\n end = start;\n end.setMonth(11);\n end.setDate(31);\n end = endOfDay(end);\n half = 2;\n title = format(start, this.$t('config.half_year_fns', {half: half}));\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n\n // this year, first half:\n start = today;\n start.setMonth(0);\n start.setDate(1);\n start = startOfDay(start);\n end = today;\n end.setMonth(5);\n end.setDate(30);\n end = endOfDay(start);\n half = 1;\n title = format(start, this.$t('config.half_year_fns', {half: half}));\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n\n // this year, second half:\n start = today;\n start.setMonth(6);\n start.setDate(1);\n start = startOfDay(start);\n end = start;\n end.setMonth(11);\n end.setDate(31);\n end = endOfDay(end);\n half = 2;\n title = format(start, this.$t('config.half_year_fns', {half: half}));\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n return;\n }\n // this year, first half:\n start = today;\n start.setMonth(0);\n start.setDate(1);\n start = startOfDay(start);\n end = start;\n end.setMonth(5);\n end.setDate(30);\n end = endOfDay(end);\n half = 1;\n title = format(start, this.$t('config.half_year_fns', {half: half}));\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n\n // this year, current (second) half:\n start = today;\n start.setMonth(6);\n start.setDate(1);\n start = startOfDay(start);\n end = today;\n end.setMonth(11);\n end.setDate(31);\n end = endOfDay(start);\n half = 2;\n title = format(start, this.$t('config.half_year_fns', {half: half}));\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n\n // next year, first half:\n start = today;\n start.setMonth(0);\n start.setDate(1);\n start = startOfDay(start);\n end = start;\n end.setMonth(5);\n end.setDate(30);\n end = endOfDay(end);\n half = 1;\n title = format(start, this.$t('config.half_year_fns', {half: half}));\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n },\n generateYearly: function () {\n let today = new Date(this.range.start);\n let start;\n let end;\n let title;\n\n // last year\n start = new Date(today);\n start.setFullYear(start.getFullYear() - 1);\n start.setMonth(0);\n start.setDate(1);\n start = startOfDay(start);\n\n end = new Date(today);\n end.setFullYear(end.getFullYear() - 1);\n end.setMonth(11);\n end.setDate(31);\n end = endOfDay(end);\n\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: start.getFullYear()\n }\n );\n\n // this year\n start = new Date(today);\n start.setMonth(0);\n start.setDate(1);\n start = startOfDay(start);\n\n end = new Date(today);\n end.setMonth(11);\n end.setDate(31);\n end = endOfDay(end);\n\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: start.getFullYear()\n }\n );\n // next year\n start = new Date(today);\n start.setFullYear(start.getFullYear() + 1);\n start.setMonth(0);\n start.setDate(1);\n start = startOfDay(start);\n\n end = new Date(today);\n end.setFullYear(end.getFullYear() + 1);\n end.setMonth(11);\n end.setDate(31);\n end = endOfDay(end);\n\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: start.getFullYear()\n }\n );\n },\n generatePeriods: function () {\n this.periods = [];\n //console.log('The view range is \"' + this.viewRange + '\".');\n switch (this.viewRange) {\n case '1D':\n this.generateDaily();\n break;\n case '1W':\n this.generateWeekly();\n break;\n case '1M':\n this.generateMonthly();\n break;\n case '3M':\n this.generateQuarterly();\n break;\n case '6M':\n this.generateHalfYearly();\n break;\n case '1Y':\n this.generateYearly();\n break;\n }\n\n\n // last 7 days\n let today = new Date;\n let end = new Date;\n end.setDate(end.getDate() - 7);\n this.periods.push(\n {\n start: end.toDateString(),\n end: today.toDateString(),\n title: this.$t('firefly.last_seven_days')\n }\n );\n\n // last 30 days:\n end.setDate(end.getDate() - 23);\n this.periods.push(\n {\n start: end.toDateString(),\n end: today.toDateString(),\n title: this.$t('firefly.last_thirty_days')\n }\n );\n // last 30 days\n // everything\n }\n },\n computed: {\n ...mapGetters([\n 'viewRange',\n 'start',\n 'end',\n 'defaultStart',\n 'defaultEnd'\n ]),\n 'datesReady': function () {\n return null !== this.start && null !== this.end && this.ready;\n },\n },\n watch: {\n datesReady: function (value) {\n if (false === value) {\n return;\n }\n this.range.start = new Date(this.start);\n this.range.end = new Date(this.end);\n this.generatePeriods();\n\n },\n range: function (value) {\n //console.log('User updated range');\n this.setStart(value.start);\n this.setEnd(value.end);\n }\n }\n}\n<\/script>\n\n<style scoped>\n.dropdown-item {\n color: #212529;\n}\n\n.dropdown-item:hover {\n color: #212529;\n}\n</style>"],sourceRoot:""}]);const o=s},5278:()=>{},1114:(t,e,a)=>{"use strict";a.d(e,{Z:()=>A});var n=a(629),i=a(7760),r=a.n(i),s=a(6782),o=a.n(s),c=a(7069),l=a(7349),_=a(1640),d=a(9119),u=a(3894),p=a(584),y=a(7090),g=a(4135),h=a(7955),m=a(4431),f=a(4559),b=a(8358),v=a(8793),w=a(8791),k=a(3703);function D(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function S(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?D(Object(a),!0).forEach((function(e){C(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):D(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function C(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var I=(0,n._p)("dashboard/index"),x=(I.mapState,I.mapGetters),j=(I.mapActions,I.mapMutations);r().component("date-picker",o());const z={name:"Calendar",created:function(){var t;this.ready=!0,this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US"},data:function(){return{locale:"en-US",ready:!1,range:{start:null,end:null},defaultRange:{start:null,end:null},periods:[]}},methods:S(S({},j(["setEnd","setStart"])),{},{resetDate:function(){this.range.start=this.defaultStart,this.range.end=this.defaultEnd,this.setStart(this.defaultStart),this.setEnd(this.defaultEnd)},customDate:function(t,e){var a=new Date(t),n=new Date(e);return this.setStart(a),this.setEnd(n),this.range.start=a,this.range.end=n,this.generatePeriods(),!1},generateDaily:function(){var t=new Date(this.range.start);this.periods.push({start:(0,d.Z)((0,c.Z)(t,1)).toDateString(),end:(0,u.Z)((0,c.Z)(t,1)).toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long",day:"numeric"}).format((0,c.Z)(t,1))}),this.periods.push({start:(0,d.Z)(t).toDateString(),end:(0,u.Z)(t).toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long",day:"numeric"}).format(t)}),this.periods.push({start:(0,d.Z)((0,l.Z)(t,1)).toDateString(),end:(0,u.Z)((0,l.Z)(t,1)).toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long",day:"numeric"}).format((0,l.Z)(t,1))}),this.periods.push({start:(0,d.Z)((0,l.Z)(t,2)).toDateString(),end:(0,u.Z)((0,l.Z)(t,2)).toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long",day:"numeric"}).format((0,l.Z)(t,2))})},generateWeekly:function(){var t=new Date(this.range.start),e=(0,d.Z)((0,p.Z)((0,c.Z)(t,7),{weekStartsOn:1})),a=(0,u.Z)((0,y.Z)((0,c.Z)(t,7),{weekStartsOn:1})),n=this.$t("config.week_in_year_fns"),i=(0,h.Z)(e,n);this.periods.push({start:e.toDateString(),end:a.toDateString(),title:i}),e=(0,d.Z)((0,p.Z)(t,{weekStartsOn:1})),a=(0,u.Z)((0,y.Z)(t,{weekStartsOn:1})),i=(0,h.Z)(e,n),this.periods.push({start:e.toDateString(),end:a.toDateString(),title:i}),e=(0,d.Z)((0,p.Z)((0,l.Z)(t,7),{weekStartsOn:1})),a=(0,u.Z)((0,y.Z)((0,l.Z)(t,7),{weekStartsOn:1})),i=(0,h.Z)(e,n),this.periods.push({start:e.toDateString(),end:a.toDateString(),title:i})},generateMonthly:function(){var t=new Date(this.range.start),e=(0,d.Z)((0,k.Z)((0,f.Z)(t,1))),a=(0,u.Z)((0,g.Z)((0,f.Z)(t,1)));this.periods.push({start:e.toDateString(),end:a.toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long"}).format(e)}),e=(0,d.Z)((0,k.Z)(t)),a=(0,u.Z)((0,g.Z)(t)),this.periods.push({start:e.toDateString(),end:a.toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long"}).format(e)}),e=(0,d.Z)((0,k.Z)((0,_.Z)(t,1))),a=(0,u.Z)((0,g.Z)((0,_.Z)(t,1))),this.periods.push({start:e.toDateString(),end:a.toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long"}).format(e)})},generateQuarterly:function(){var t=new Date(this.range.start),e=(0,d.Z)((0,m.Z)((0,v.Z)(t,1))),a=(0,u.Z)((0,b.Z)((0,v.Z)(t,1))),n=this.$t("config.quarter_fns"),i=(0,h.Z)(e,n);this.periods.push({start:e.toDateString(),end:a.toDateString(),title:i}),e=(0,d.Z)((0,m.Z)(t)),a=(0,u.Z)((0,b.Z)(t)),i=(0,h.Z)(e,n),this.periods.push({start:e.toDateString(),end:a.toDateString(),title:i}),e=(0,d.Z)((0,m.Z)((0,w.Z)(t,1))),a=(0,u.Z)((0,b.Z)((0,w.Z)(t,1))),i=(0,h.Z)(e,n),this.periods.push({start:e.toDateString(),end:a.toDateString(),title:i})},generateHalfYearly:function(){var t,e,a=new Date(this.range.start),n="todo",i=1;if(a.getMonth()<=5)return(t=a).setFullYear(t.getFullYear()-1),t.setMonth(6),t.setDate(1),(e=t=(0,d.Z)(t)).setMonth(11),e.setDate(31),e=(0,u.Z)(e),i=2,n=(0,h.Z)(t,this.$t("config.half_year_fns",{half:i})),this.periods.push({start:t.toDateString(),end:e.toDateString(),title:n}),(t=a).setMonth(0),t.setDate(1),t=(0,d.Z)(t),(e=a).setMonth(5),e.setDate(30),e=(0,u.Z)(t),i=1,n=(0,h.Z)(t,this.$t("config.half_year_fns",{half:i})),this.periods.push({start:t.toDateString(),end:e.toDateString(),title:n}),(t=a).setMonth(6),t.setDate(1),(e=t=(0,d.Z)(t)).setMonth(11),e.setDate(31),e=(0,u.Z)(e),i=2,n=(0,h.Z)(t,this.$t("config.half_year_fns",{half:i})),void this.periods.push({start:t.toDateString(),end:e.toDateString(),title:n});(t=a).setMonth(0),t.setDate(1),(e=t=(0,d.Z)(t)).setMonth(5),e.setDate(30),e=(0,u.Z)(e),i=1,n=(0,h.Z)(t,this.$t("config.half_year_fns",{half:i})),this.periods.push({start:t.toDateString(),end:e.toDateString(),title:n}),(t=a).setMonth(6),t.setDate(1),t=(0,d.Z)(t),(e=a).setMonth(11),e.setDate(31),e=(0,u.Z)(t),i=2,n=(0,h.Z)(t,this.$t("config.half_year_fns",{half:i})),this.periods.push({start:t.toDateString(),end:e.toDateString(),title:n}),(t=a).setMonth(0),t.setDate(1),(e=t=(0,d.Z)(t)).setMonth(5),e.setDate(30),e=(0,u.Z)(e),i=1,n=(0,h.Z)(t,this.$t("config.half_year_fns",{half:i})),this.periods.push({start:t.toDateString(),end:e.toDateString(),title:n})},generateYearly:function(){var t,e,a=new Date(this.range.start);(t=new Date(a)).setFullYear(t.getFullYear()-1),t.setMonth(0),t.setDate(1),t=(0,d.Z)(t),(e=new Date(a)).setFullYear(e.getFullYear()-1),e.setMonth(11),e.setDate(31),e=(0,u.Z)(e),this.periods.push({start:t.toDateString(),end:e.toDateString(),title:t.getFullYear()}),(t=new Date(a)).setMonth(0),t.setDate(1),t=(0,d.Z)(t),(e=new Date(a)).setMonth(11),e.setDate(31),e=(0,u.Z)(e),this.periods.push({start:t.toDateString(),end:e.toDateString(),title:t.getFullYear()}),(t=new Date(a)).setFullYear(t.getFullYear()+1),t.setMonth(0),t.setDate(1),t=(0,d.Z)(t),(e=new Date(a)).setFullYear(e.getFullYear()+1),e.setMonth(11),e.setDate(31),e=(0,u.Z)(e),this.periods.push({start:t.toDateString(),end:e.toDateString(),title:t.getFullYear()})},generatePeriods:function(){switch(this.periods=[],this.viewRange){case"1D":this.generateDaily();break;case"1W":this.generateWeekly();break;case"1M":this.generateMonthly();break;case"3M":this.generateQuarterly();break;case"6M":this.generateHalfYearly();break;case"1Y":this.generateYearly()}var t=new Date,e=new Date;e.setDate(e.getDate()-7),this.periods.push({start:e.toDateString(),end:t.toDateString(),title:this.$t("firefly.last_seven_days")}),e.setDate(e.getDate()-23),this.periods.push({start:e.toDateString(),end:t.toDateString(),title:this.$t("firefly.last_thirty_days")})}}),computed:S(S({},x(["viewRange","start","end","defaultStart","defaultEnd"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready}}),watch:{datesReady:function(t){!1!==t&&(this.range.start=new Date(this.start),this.range.end=new Date(this.end),this.generatePeriods())},range:function(t){this.setStart(t.start),this.setEnd(t.end)}}};a(9192);const A=(0,a(1900).Z)(z,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[t._v("Start")]),t._v(" "),a("div",{staticClass:"col-8"},[t._v(t._s(new Intl.DateTimeFormat(t.locale,{year:"numeric",month:"long",day:"numeric"}).format(t.range.start)))])]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[t._v("End")]),t._v(" "),a("div",{staticClass:"col-8"},[t._v(t._s(new Intl.DateTimeFormat(t.locale,{year:"numeric",month:"long",day:"numeric"}).format(t.range.end)))])]),t._v(" "),a("date-picker",{attrs:{rows:2,"is-range":"",mode:"date"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.inputValue,i=e.inputEvents,r=e.isDragging,s=e.togglePopover;return[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"btn-group btn-group-sm d-flex"},[a("button",{staticClass:"btn btn-secondary btn-sm",attrs:{title:t.$t("firefly.custom_period")},on:{click:function(t){return s({placement:"auto-start",positionFixed:!0})}}},[a("i",{staticClass:"fas fa-calendar-alt"})]),t._v(" "),a("button",{staticClass:"btn btn-secondary",attrs:{title:t.$t("firefly.reset_to_current")},on:{click:t.resetDate}},[a("i",{staticClass:"fas fa-history"})]),t._v(" "),a("button",{staticClass:"btn btn-secondary dropdown-toggle",attrs:{id:"dropdownMenuButton",title:t.$t("firefly.select_period"),"aria-expanded":"false","aria-haspopup":"true","data-toggle":"dropdown",type:"button"}},[a("i",{staticClass:"fas fa-list"})]),t._v(" "),a("div",{staticClass:"dropdown-menu",attrs:{"aria-labelledby":"dropdownMenuButton"}},t._l(t.periods,(function(e){return a("a",{staticClass:"dropdown-item",attrs:{href:"#"},on:{click:function(a){return t.customDate(e.start,e.end)}}},[t._v(t._s(e.title))])})),0)]),t._v(" "),a("input",t._g({class:r?"text-gray-600":"text-gray-900",attrs:{type:"hidden"},domProps:{value:n.start}},i.start)),t._v(" "),a("input",t._g({class:r?"text-gray-600":"text-gray-900",attrs:{type:"hidden"},domProps:{value:n.end}},i.end))])])]}}]),model:{value:t.range,callback:function(e){t.range=e},expression:"range"}})],1)}),[],!1,null,"391cacea",null).exports},9192:(t,e,a)=>{var n=a(9239);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals),(0,a(5346).Z)("719f2a46",n,!0,{})},7154:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Прехвърляне","Withdrawal":"Теглене","Deposit":"Депозит","date_and_time":"Date and time","no_currency":"(без валута)","date":"Дата","time":"Time","no_budget":"(без бюджет)","destination_account":"Приходна сметка","source_account":"Разходна сметка","single_split":"Раздел","create_new_transaction":"Create a new transaction","balance":"Салдо","transaction_journal_extra":"Extra information","transaction_journal_meta":"Мета информация","basic_journal_information":"Basic transaction information","bills_to_pay":"Сметки за плащане","left_to_spend":"Останали за харчене","attachments":"Прикачени файлове","net_worth":"Нетна стойност","bill":"Сметка","no_bill":"(няма сметка)","tags":"Етикети","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(без касичка)","paid":"Платени","notes":"Бележки","yourAccounts":"Вашите сметки","go_to_asset_accounts":"Вижте активите си","delete_account":"Изтриване на профил","transaction_table_description":"Таблица съдържаща вашите транзакции","account":"Сметка","description":"Описание","amount":"Сума","budget":"Бюджет","category":"Категория","opposing_account":"Противоположна сметка","budgets":"Бюджети","categories":"Категории","go_to_budgets":"Вижте бюджетите си","income":"Приходи","go_to_deposits":"Отиди в депозити","go_to_categories":"Виж категориите си","expense_accounts":"Сметки за разходи","go_to_expenses":"Отиди в Разходи","go_to_bills":"Виж сметките си","bills":"Сметки","last_thirty_days":"Последните трийсет дни","last_seven_days":"Последните седем дни","go_to_piggies":"Виж касичките си","saved":"Записан","piggy_banks":"Касички","piggy_bank":"Касичка","amounts":"Суми","left":"Останали","spent":"Похарчени","Default asset account":"Сметка за активи по подразбиране","search_results":"Резултати от търсенето","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Сметка за активи по подразбиране","account_role_savingAsset":"Спестовна сметка","account_role_sharedAsset":"Сметка за споделени активи","clear_location":"Изчисти местоположението","account_role_ccAsset":"Кредитна карта","account_role_cashWalletAsset":"Паричен портфейл","daily_budgets":"Дневни бюджети","weekly_budgets":"Седмични бюджети","monthly_budgets":"Месечни бюджети","quarterly_budgets":"Тримесечни бюджети","create_new_expense":"Създай нова сметка за разходи","create_new_revenue":"Създай нова сметка за приходи","create_new_liabilities":"Create new liability","half_year_budgets":"Шестмесечни бюджети","yearly_budgets":"Годишни бюджети","split_transaction_title":"Описание на разделена транзакция","errors_submission":"Имаше нещо нередно с вашите данни. Моля, проверете грешките.","flash_error":"Грешка!","store_transaction":"Store transaction","flash_success":"Успех!","create_another":"След съхраняването се върнете тук, за да създадете нова.","update_transaction":"Обнови транзакцията","after_update_create_another":"След обновяването се върнете тук, за да продължите с редакцията.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Търсене","create_new_asset":"Създай нова сметка за активи","asset_accounts":"Сметки за активи","reset_after":"Изчистване на формуляра след изпращане","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID}(\\"{title}\\")</a> беше записана.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Местоположение","other_budgets":"Времево персонализирани бюджети","journal_links":"Връзки на транзакция","go_to_withdrawals":"Вижте тегленията си","revenue_accounts":"Сметки за приходи","add_another_split":"Добавяне на друг раздел","actions":"Действия","earned":"Спечелени","empty":"(празно)","edit":"Промени","never":"Никога","account_type_Loan":"Заем","account_type_Mortgage":"Ипотека","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Дълг","delete":"Изтрий","store_new_asset_account":"Запамети нова сметка за активи","store_new_expense_account":"Запамети нова сметка за разходи","store_new_liabilities_account":"Запамети ново задължение","store_new_revenue_account":"Запамети нова сметка за приходи","mandatoryFields":"Задължителни полета","optionalFields":"Незадължителни полета","reconcile_this_account":"Съгласувай тази сметка","interest_calc_weekly":"Per week","interest_calc_monthly":"На месец","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Годишно","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(нищо)"},"list":{"piggy_bank":"Касичка","percentage":"%","amount":"Сума","lastActivity":"Последна активност","name":"Име","role":"Привилегии","iban":"IBAN","interest":"Лихва","interest_period":"лихвен период","liability_type":"Вид на задължението","liability_direction":"(list.liability_direction)","currentBalance":"Текущ баланс","next_expected_match":"Следващo очакванo съвпадение"},"config":{"html_language":"bg","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Сума във валута","interest_date":"Падеж на лихва","name":"Име","amount":"Сума","iban":"IBAN","BIC":"BIC","notes":"Бележки","location":"Местоположение","attachments":"Прикачени файлове","active":"Активен","include_net_worth":"Включи в общото богатство","account_number":"Номер на сметка","virtual_balance":"Виртуален баланс","opening_balance":"Начално салдо","opening_balance_date":"Дата на началното салдо","date":"Дата","interest":"Лихва","interest_period":"Лихвен период","currency_id":"Валута","liability_type":"Liability type","account_role":"Роля на сметката","liability_direction":"Liability in/out","book_date":"Дата на осчетоводяване","permDeleteWarning":"Изтриването на неща от Firefly III е постоянно и не може да бъде възстановено.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Дата на обработка","due_date":"Дата на падеж","payment_date":"Дата на плащане","invoice_date":"Дата на фактура"}}')},6407:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Převod","Withdrawal":"Výběr","Deposit":"Vklad","date_and_time":"Datum a čas","no_currency":"(žádná měna)","date":"Datum","time":"Čas","no_budget":"(žádný rozpočet)","destination_account":"Cílový účet","source_account":"Zdrojový účet","single_split":"Rozdělit","create_new_transaction":"Vytvořit novou transakci","balance":"Zůstatek","transaction_journal_extra":"Více informací","transaction_journal_meta":"Meta informace","basic_journal_information":"Basic transaction information","bills_to_pay":"Faktury k zaplacení","left_to_spend":"Zbývá k utracení","attachments":"Přílohy","net_worth":"Čisté jmění","bill":"Účet","no_bill":"(no bill)","tags":"Štítky","internal_reference":"Interní odkaz","external_url":"Externí URL adresa","no_piggy_bank":"(žádná pokladnička)","paid":"Zaplaceno","notes":"Poznámky","yourAccounts":"Vaše účty","go_to_asset_accounts":"Zobrazit účty s aktivy","delete_account":"Smazat účet","transaction_table_description":"A table containing your transactions","account":"Účet","description":"Popis","amount":"Částka","budget":"Rozpočet","category":"Kategorie","opposing_account":"Protiúčet","budgets":"Rozpočty","categories":"Kategorie","go_to_budgets":"Přejít k rozpočtům","income":"Odměna/příjem","go_to_deposits":"Přejít na vklady","go_to_categories":"Přejít ke kategoriím","expense_accounts":"Výdajové účty","go_to_expenses":"Přejít na výdaje","go_to_bills":"Přejít k účtům","bills":"Účty","last_thirty_days":"Uplynulých 30 dní","last_seven_days":"Uplynulých 7 dnů","go_to_piggies":"Přejít k pokladničkám","saved":"Uloženo","piggy_banks":"Pokladničky","piggy_bank":"Pokladnička","amounts":"Amounts","left":"Zbývá","spent":"Utraceno","Default asset account":"Výchozí účet s aktivy","search_results":"Výsledky hledání","include":"Include?","transaction":"Transakce","account_role_defaultAsset":"Výchozí účet aktiv","account_role_savingAsset":"Spořicí účet","account_role_sharedAsset":"Sdílený účet aktiv","clear_location":"Vymazat umístění","account_role_ccAsset":"Kreditní karta","account_role_cashWalletAsset":"Peněženka","daily_budgets":"Denní rozpočty","weekly_budgets":"Týdenní rozpočty","monthly_budgets":"Měsíční rozpočty","quarterly_budgets":"Čtvrtletní rozpočty","create_new_expense":"Vytvořit výdajový účet","create_new_revenue":"Vytvořit nový příjmový účet","create_new_liabilities":"Create new liability","half_year_budgets":"Pololetní rozpočty","yearly_budgets":"Roční rozpočty","split_transaction_title":"Popis rozúčtování","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Chyba!","store_transaction":"Store transaction","flash_success":"Úspěšně dokončeno!","create_another":"After storing, return here to create another one.","update_transaction":"Aktualizovat transakci","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hledat","create_new_asset":"Vytvořit nový účet aktiv","asset_accounts":"Účty aktiv","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Vlastní období","reset_to_current":"Obnovit aktuální období","select_period":"Vyberte období","location":"Umístění","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Přejít na výběry","revenue_accounts":"Příjmové účty","add_another_split":"Přidat další rozúčtování","actions":"Akce","earned":"Vyděláno","empty":"(prázdné)","edit":"Upravit","never":"Nikdy","account_type_Loan":"Půjčka","account_type_Mortgage":"Hypotéka","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Dluh","delete":"Odstranit","store_new_asset_account":"Uložit nový účet aktiv","store_new_expense_account":"Uložit nový výdajový účet","store_new_liabilities_account":"Uložit nový závazek","store_new_revenue_account":"Uložit nový příjmový účet","mandatoryFields":"Povinné kolonky","optionalFields":"Volitelné kolonky","reconcile_this_account":"Vyúčtovat tento účet","interest_calc_weekly":"Per week","interest_calc_monthly":"Za měsíc","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Za rok","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(žádné)"},"list":{"piggy_bank":"Pokladnička","percentage":"%","amount":"Částka","lastActivity":"Poslední aktivita","name":"Jméno","role":"Role","iban":"IBAN","interest":"Úrok","interest_period":"úrokové období","liability_type":"Typ závazku","liability_direction":"(list.liability_direction)","currentBalance":"Aktuální zůstatek","next_expected_match":"Další očekávaná shoda"},"config":{"html_language":"cs","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Částka v cizí měně","interest_date":"Úrokové datum","name":"Název","amount":"Částka","iban":"IBAN","BIC":"BIC","notes":"Poznámky","location":"Údaje o poloze","attachments":"Přílohy","active":"Aktivní","include_net_worth":"Zahrnout do čistého jmění","account_number":"Číslo účtu","virtual_balance":"Virtuální zůstatek","opening_balance":"Počáteční zůstatek","opening_balance_date":"Datum počátečního zůstatku","date":"Datum","interest":"Úrok","interest_period":"Úrokové období","currency_id":"Měna","liability_type":"Liability type","account_role":"Role účtu","liability_direction":"Liability in/out","book_date":"Datum rezervace","permDeleteWarning":"Odstranění věcí z Firefly III je trvalé a nelze vrátit zpět.","account_areYouSure_js":"Jste si jisti, že chcete odstranit účet s názvem \\"{name}\\"?","also_delete_piggyBanks_js":"Žádné pokladničky|Jediná pokladnička připojená k tomuto účtu bude také odstraněna. Všech {count} pokladniček, které jsou připojeny k tomuto účtu, bude také odstraněno.","also_delete_transactions_js":"Žádné transakce|Jediná transakce připojená k tomuto účtu bude také smazána.|Všech {count} transakcí připojených k tomuto účtu bude také odstraněno.","process_date":"Datum zpracování","due_date":"Datum splatnosti","payment_date":"Datum zaplacení","invoice_date":"Datum vystavení"}}')},4726:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Umbuchung","Withdrawal":"Ausgabe","Deposit":"Einnahme","date_and_time":"Datum und Uhrzeit","no_currency":"(ohne Währung)","date":"Datum","time":"Uhrzeit","no_budget":"(kein Budget)","destination_account":"Zielkonto","source_account":"Quellkonto","single_split":"Teil","create_new_transaction":"Neue Buchung erstellen","balance":"Kontostand","transaction_journal_extra":"Zusätzliche Informationen","transaction_journal_meta":"Metainformationen","basic_journal_information":"Allgemeine Buchungsinformationen","bills_to_pay":"Unbezahlte Rechnungen","left_to_spend":"Verbleibend zum Ausgeben","attachments":"Anhänge","net_worth":"Eigenkapital","bill":"Rechnung","no_bill":"(keine Belege)","tags":"Schlagwörter","internal_reference":"Interner Verweis","external_url":"Externe URL","no_piggy_bank":"(kein Sparschwein)","paid":"Bezahlt","notes":"Notizen","yourAccounts":"Deine Konten","go_to_asset_accounts":"Bestandskonten anzeigen","delete_account":"Konto löschen","transaction_table_description":"Eine Tabelle mit Ihren Buchungen","account":"Konto","description":"Beschreibung","amount":"Betrag","budget":"Budget","category":"Kategorie","opposing_account":"Gegenkonto","budgets":"Budgets","categories":"Kategorien","go_to_budgets":"Budgets anzeigen","income":"Einnahmen / Einkommen","go_to_deposits":"Zu Einlagen wechseln","go_to_categories":"Kategorien anzeigen","expense_accounts":"Ausgabekonten","go_to_expenses":"Zu Ausgaben wechseln","go_to_bills":"Rechnungen anzeigen","bills":"Rechnungen","last_thirty_days":"Letzte 30 Tage","last_seven_days":"Letzte sieben Tage","go_to_piggies":"Sparschweine anzeigen","saved":"Gespeichert","piggy_banks":"Sparschweine","piggy_bank":"Sparschwein","amounts":"Beträge","left":"Übrig","spent":"Ausgegeben","Default asset account":"Standard-Bestandskonto","search_results":"Suchergebnisse","include":"Inbegriffen?","transaction":"Überweisung","account_role_defaultAsset":"Standard-Bestandskonto","account_role_savingAsset":"Sparkonto","account_role_sharedAsset":"Gemeinsames Bestandskonto","clear_location":"Ort leeren","account_role_ccAsset":"Kreditkarte","account_role_cashWalletAsset":"Geldbörse","daily_budgets":"Tagesbudgets","weekly_budgets":"Wochenbudgets","monthly_budgets":"Monatsbudgets","quarterly_budgets":"Quartalsbudgets","create_new_expense":"Neues Ausgabenkonto erstellen","create_new_revenue":"Neues Einnahmenkonto erstellen","create_new_liabilities":"Neue Verbindlichkeit anlegen","half_year_budgets":"Halbjahresbudgets","yearly_budgets":"Jahresbudgets","split_transaction_title":"Beschreibung der Splittbuchung","errors_submission":"Ihre Übermittlung ist fehlgeschlagen. Bitte überprüfen Sie die Fehler.","flash_error":"Fehler!","store_transaction":"Buchung speichern","flash_success":"Geschafft!","create_another":"Nach dem Speichern hierher zurückkehren, um ein weiteres zu erstellen.","update_transaction":"Buchung aktualisieren","after_update_create_another":"Nach dem Aktualisieren hierher zurückkehren, um weiter zu bearbeiten.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde nicht verändert.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde aktualisiert.","spent_x_of_y":"{amount} von {total} ausgegeben","search":"Suche","create_new_asset":"Neues Bestandskonto erstellen","asset_accounts":"Bestandskonten","reset_after":"Formular nach der Übermittlung zurücksetzen","bill_paid_on":"Bezahlt am {date}","first_split_decides":"Die erste Aufteilung bestimmt den Wert dieses Feldes","first_split_overrules_source":"Die erste Aufteilung könnte das Quellkonto überschreiben","first_split_overrules_destination":"Die erste Aufteilung könnte das Zielkonto überschreiben","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Buchung #{ID} (\\"{title}\\")</a> wurde gespeichert.","custom_period":"Benutzerdefinierter Zeitraum","reset_to_current":"Auf aktuellen Zeitraum zurücksetzen","select_period":"Zeitraum auswählen","location":"Standort","other_budgets":"Zeitlich befristete Budgets","journal_links":"Buchungsverknüpfungen","go_to_withdrawals":"Ausgaben anzeigen","revenue_accounts":"Einnahmekonten","add_another_split":"Eine weitere Aufteilung hinzufügen","actions":"Aktionen","earned":"Eingenommen","empty":"(leer)","edit":"Bearbeiten","never":"Nie","account_type_Loan":"Darlehen","account_type_Mortgage":"Hypothek","stored_new_account_js":"Neues Konto \\"<a href=\\"accounts/show/{ID}\\">„{name}”</a>\\" gespeichert!","account_type_Debt":"Schuld","delete":"Löschen","store_new_asset_account":"Neues Bestandskonto speichern","store_new_expense_account":"Neues Ausgabenkonto speichern","store_new_liabilities_account":"Neue Verbindlichkeit speichern","store_new_revenue_account":"Neues Einnahmenkonto speichern","mandatoryFields":"Pflichtfelder","optionalFields":"Optionale Felder","reconcile_this_account":"Dieses Konto abgleichen","interest_calc_weekly":"Pro Woche","interest_calc_monthly":"Monatlich","interest_calc_quarterly":"Vierteljährlich","interest_calc_half-year":"Halbjährlich","interest_calc_yearly":"Jährlich","liability_direction_credit":"Mir wird dies geschuldet","liability_direction_debit":"Ich schulde dies jemandem","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Keine Buchungen|Speichern Sie diese Buchung, indem Sie sie auf ein anderes Konto verschieben. |Speichern Sie diese Buchungen, indem Sie sie auf ein anderes Konto verschieben.","none_in_select_list":"(Keine)"},"list":{"piggy_bank":"Sparschwein","percentage":"%","amount":"Betrag","lastActivity":"Letzte Aktivität","name":"Name","role":"Rolle","iban":"IBAN","interest":"Zinsen","interest_period":"Verzinsungszeitraum","liability_type":"Verbindlichkeitsart","liability_direction":"(list.liability_direction)","currentBalance":"Aktueller Kontostand","next_expected_match":"Nächste erwartete Übereinstimmung"},"config":{"html_language":"de","week_in_year_fns":"\'Woche\' ww/yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'QQQ, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Ausländischer Betrag","interest_date":"Zinstermin","name":"Name","amount":"Betrag","iban":"IBAN","BIC":"BIC","notes":"Notizen","location":"Herkunft","attachments":"Anhänge","active":"Aktiv","include_net_worth":"Im Eigenkapital enthalten","account_number":"Kontonummer","virtual_balance":"Virtueller Kontostand","opening_balance":"Eröffnungsbilanz","opening_balance_date":"Eröffnungsbilanzdatum","date":"Datum","interest":"Zinsen","interest_period":"Verzinsungszeitraum","currency_id":"Währung","liability_type":"Art der Verbindlichkeit","account_role":"Kontenfunktion","liability_direction":"Verbindlichkeit Ein/Aus","book_date":"Buchungsdatum","permDeleteWarning":"Das Löschen von Dingen in Firefly III ist dauerhaft und kann nicht rückgängig gemacht werden.","account_areYouSure_js":"Möchten Sie das Konto „{name}” wirklich löschen?","also_delete_piggyBanks_js":"Keine Sparschweine|Das einzige Sparschwein, welches mit diesem Konto verbunden ist, wird ebenfalls gelöscht.|Alle {count} Sparschweine, welche mit diesem Konto verbunden sind, werden ebenfalls gelöscht.","also_delete_transactions_js":"Keine Buchungen|Die einzige Buchung, die mit diesem Konto verbunden ist, wird ebenfalls gelöscht.|Alle {count} Buchungen, die mit diesem Konto verbunden sind, werden ebenfalls gelöscht.","process_date":"Bearbeitungsdatum","due_date":"Fälligkeitstermin","payment_date":"Zahlungsdatum","invoice_date":"Rechnungsdatum"}}')},3636:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Μεταφορά","Withdrawal":"Ανάληψη","Deposit":"Κατάθεση","date_and_time":"Ημερομηνία και ώρα","no_currency":"(χωρίς νόμισμα)","date":"Ημερομηνία","time":"Ώρα","no_budget":"(χωρίς προϋπολογισμό)","destination_account":"Λογαριασμός προορισμού","source_account":"Λογαριασμός προέλευσης","single_split":"Διαχωρισμός","create_new_transaction":"Δημιουργία μιας νέας συναλλαγής","balance":"Ισοζύγιο","transaction_journal_extra":"Περισσότερες πληροφορίες","transaction_journal_meta":"Πληροφορίες μεταδεδομένων","basic_journal_information":"Βασικές πληροφορίες συναλλαγής","bills_to_pay":"Πάγια έξοδα προς πληρωμή","left_to_spend":"Διαθέσιμα προϋπολογισμών","attachments":"Συνημμένα","net_worth":"Καθαρή αξία","bill":"Πάγιο έξοδο","no_bill":"(χωρίς πάγιο έξοδο)","tags":"Ετικέτες","internal_reference":"Εσωτερική αναφορά","external_url":"Εξωτερικό URL","no_piggy_bank":"(χωρίς κουμπαρά)","paid":"Πληρωμένο","notes":"Σημειώσεις","yourAccounts":"Οι λογαριασμοί σας","go_to_asset_accounts":"Δείτε τους λογαριασμούς κεφαλαίου σας","delete_account":"Διαγραφή λογαριασμού","transaction_table_description":"Ένας πίνακας με τις συναλλαγές σας","account":"Λογαριασμός","description":"Περιγραφή","amount":"Ποσό","budget":"Προϋπολογισμός","category":"Κατηγορία","opposing_account":"Έναντι λογαριασμός","budgets":"Προϋπολογισμοί","categories":"Κατηγορίες","go_to_budgets":"Πηγαίνετε στους προϋπολογισμούς σας","income":"Έσοδα","go_to_deposits":"Πηγαίνετε στις καταθέσεις","go_to_categories":"Πηγαίνετε στις κατηγορίες σας","expense_accounts":"Δαπάνες","go_to_expenses":"Πηγαίνετε στις δαπάνες","go_to_bills":"Πηγαίνετε στα πάγια έξοδα","bills":"Πάγια έξοδα","last_thirty_days":"Τελευταίες τριάντα ημέρες","last_seven_days":"Τελευταίες επτά ημέρες","go_to_piggies":"Πηγαίνετε στους κουμπαράδες σας","saved":"Αποθηκεύτηκε","piggy_banks":"Κουμπαράδες","piggy_bank":"Κουμπαράς","amounts":"Ποσά","left":"Απομένουν","spent":"Δαπανήθηκαν","Default asset account":"Βασικός λογαριασμός κεφαλαίου","search_results":"Αποτελέσματα αναζήτησης","include":"Include?","transaction":"Συναλλαγή","account_role_defaultAsset":"Βασικός λογαριασμός κεφαλαίου","account_role_savingAsset":"Λογαριασμός αποταμίευσης","account_role_sharedAsset":"Κοινός λογαριασμός κεφαλαίου","clear_location":"Εκκαθάριση τοποθεσίας","account_role_ccAsset":"Πιστωτική κάρτα","account_role_cashWalletAsset":"Πορτοφόλι μετρητών","daily_budgets":"Ημερήσιοι προϋπολογισμοί","weekly_budgets":"Εβδομαδιαίοι προϋπολογισμοί","monthly_budgets":"Μηνιαίοι προϋπολογισμοί","quarterly_budgets":"Τριμηνιαίοι προϋπολογισμοί","create_new_expense":"Δημιουργία νέου λογαριασμού δαπανών","create_new_revenue":"Δημιουργία νέου λογαριασμού εσόδων","create_new_liabilities":"Create new liability","half_year_budgets":"Εξαμηνιαίοι προϋπολογισμοί","yearly_budgets":"Ετήσιοι προϋπολογισμοί","split_transaction_title":"Περιγραφή της συναλλαγής με διαχωρισμό","errors_submission":"Υπήρξε κάποιο λάθος με την υποβολή σας. Παρακαλώ ελέγξτε τα σφάλματα.","flash_error":"Σφάλμα!","store_transaction":"Αποθήκευση συναλλαγής","flash_success":"Επιτυχία!","create_another":"Μετά την αποθήκευση, επιστρέψτε εδώ για να δημιουργήσετε ακόμη ένα.","update_transaction":"Ενημέρωση συναλλαγής","after_update_create_another":"Μετά την ενημέρωση, επιστρέψτε εδώ για να συνεχίσετε την επεξεργασία.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID}</a> (\\"{title}\\") παρέμεινε χωρίς καμία αλλαγή.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID}</a> (\\"{title}\\") έχει ενημερωθεί.","spent_x_of_y":"Spent {amount} of {total}","search":"Αναζήτηση","create_new_asset":"Δημιουργία νέου λογαριασμού κεφαλαίου","asset_accounts":"Κεφάλαια","reset_after":"Επαναφορά φόρμας μετά την υποβολή","bill_paid_on":"Πληρώθηκε στις {date}","first_split_decides":"Ο πρώτος διαχωρισμός καθορίζει την τιμή αυτού του πεδίου","first_split_overrules_source":"Ο πρώτος διαχωρισμός ενδέχεται να παρακάμψει τον λογαριασμό προέλευσης","first_split_overrules_destination":"Ο πρώτος διαχωρισμός ενδέχεται να παρακάμψει τον λογαριασμό προορισμού","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID} (\\"{title}\\")</a> έχει αποθηκευτεί.","custom_period":"Προσαρμοσμένη περίοδος","reset_to_current":"Επαναφορά στην τρέχουσα περίοδο","select_period":"Επιλέξτε περίοδο","location":"Τοποθεσία","other_budgets":"Προϋπολογισμοί με χρονική προσαρμογή","journal_links":"Συνδέσεις συναλλαγών","go_to_withdrawals":"Πηγαίνετε στις αναλήψεις σας","revenue_accounts":"Έσοδα","add_another_split":"Προσθήκη ενός ακόμα διαχωρισμού","actions":"Ενέργειες","earned":"Κερδήθηκαν","empty":"(κενό)","edit":"Επεξεργασία","never":"Ποτέ","account_type_Loan":"Δάνειο","account_type_Mortgage":"Υποθήκη","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Χρέος","delete":"Διαγραφή","store_new_asset_account":"Αποθήκευση νέου λογαριασμού κεφαλαίου","store_new_expense_account":"Αποθήκευση νέου λογαριασμού δαπανών","store_new_liabilities_account":"Αποθήκευση νέας υποχρέωσης","store_new_revenue_account":"Αποθήκευση νέου λογαριασμού εσόδων","mandatoryFields":"Υποχρεωτικά πεδία","optionalFields":"Προαιρετικά πεδία","reconcile_this_account":"Τακτοποίηση αυτού του λογαριασμού","interest_calc_weekly":"Per week","interest_calc_monthly":"Ανά μήνα","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Ανά έτος","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(τίποτα)"},"list":{"piggy_bank":"Κουμπαράς","percentage":"pct.","amount":"Ποσό","lastActivity":"Τελευταία δραστηριότητα","name":"Όνομα","role":"Ρόλος","iban":"IBAN","interest":"Τόκος","interest_period":"τοκιζόμενη περίοδος","liability_type":"Τύπος υποχρέωσης","liability_direction":"(list.liability_direction)","currentBalance":"Τρέχον υπόλοιπο","next_expected_match":"Επόμενη αναμενόμενη αντιστοίχιση"},"config":{"html_language":"el","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Ποσό σε ξένο νόμισμα","interest_date":"Ημερομηνία τοκισμού","name":"Όνομα","amount":"Ποσό","iban":"IBAN","BIC":"BIC","notes":"Σημειώσεις","location":"Τοποθεσία","attachments":"Συνημμένα","active":"Ενεργό","include_net_worth":"Εντός καθαρής αξίας","account_number":"Αριθμός λογαριασμού","virtual_balance":"Εικονικό υπόλοιπο","opening_balance":"Υπόλοιπο έναρξης","opening_balance_date":"Ημερομηνία υπολοίπου έναρξης","date":"Ημερομηνία","interest":"Τόκος","interest_period":"Τοκιζόμενη περίοδος","currency_id":"Νόμισμα","liability_type":"Liability type","account_role":"Ρόλος λογαριασμού","liability_direction":"Liability in/out","book_date":"Ημερομηνία εγγραφής","permDeleteWarning":"Η διαγραφή στοιχείων από το Firefly III είναι μόνιμη και δεν μπορεί να αναιρεθεί.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Ημερομηνία επεξεργασίας","due_date":"Ημερομηνία προθεσμίας","payment_date":"Ημερομηνία πληρωμής","invoice_date":"Ημερομηνία τιμολόγησης"}}')},6318:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Withdrawal","Deposit":"Deposit","date_and_time":"Date and time","no_currency":"(no currency)","date":"Date","time":"Time","no_budget":"(no budget)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Balance","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta information","basic_journal_information":"Basic transaction information","bills_to_pay":"Bills to pay","left_to_spend":"Left to spend","attachments":"Attachments","net_worth":"Net worth","bill":"Bill","no_bill":"(no bill)","tags":"Tags","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Paid","notes":"Notes","yourAccounts":"Your accounts","go_to_asset_accounts":"View your asset accounts","delete_account":"Delete account","transaction_table_description":"A table containing your transactions","account":"Account","description":"Description","amount":"Amount","budget":"Budget","category":"Category","opposing_account":"Opposing account","budgets":"Budgets","categories":"Categories","go_to_budgets":"Go to your budgets","income":"Revenue / income","go_to_deposits":"Go to deposits","go_to_categories":"Go to your categories","expense_accounts":"Expense accounts","go_to_expenses":"Go to expenses","go_to_bills":"Go to your bills","bills":"Bills","last_thirty_days":"Last thirty days","last_seven_days":"Last seven days","go_to_piggies":"Go to your piggy banks","saved":"Saved","piggy_banks":"Piggy banks","piggy_bank":"Piggy bank","amounts":"Amounts","left":"Left","spent":"Spent","Default asset account":"Default asset account","search_results":"Search results","include":"Include?","transaction":"Transaction","account_role_defaultAsset":"Default asset account","account_role_savingAsset":"Savings account","account_role_sharedAsset":"Shared asset account","clear_location":"Clear location","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash wallet","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Create new expense account","create_new_revenue":"Create new revenue account","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Error!","store_transaction":"Store transaction","flash_success":"Success!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Search","create_new_asset":"Create new asset account","asset_accounts":"Asset accounts","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Location","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Revenue accounts","add_another_split":"Add another split","actions":"Actions","earned":"Earned","empty":"(empty)","edit":"Edit","never":"Never","account_type_Loan":"Loan","account_type_Mortgage":"Mortgage","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Debt","delete":"Delete","store_new_asset_account":"Store new asset account","store_new_expense_account":"Store new expense account","store_new_liabilities_account":"Store new liability","store_new_revenue_account":"Store new revenue account","mandatoryFields":"Mandatory fields","optionalFields":"Optional fields","reconcile_this_account":"Reconcile this account","interest_calc_weekly":"Per week","interest_calc_monthly":"Per month","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Per year","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(none)"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","lastActivity":"Last activity","name":"Name","role":"Role","iban":"IBAN","interest":"Interest","interest_period":"interest period","liability_type":"Type of liability","liability_direction":"(list.liability_direction)","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en-gb","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Foreign amount","interest_date":"Interest date","name":"Name","amount":"Amount","iban":"IBAN","BIC":"BIC","notes":"Notes","location":"Location","attachments":"Attachments","active":"Active","include_net_worth":"Include in net worth","account_number":"Account number","virtual_balance":"Virtual balance","opening_balance":"Opening balance","opening_balance_date":"Opening balance date","date":"Date","interest":"Interest","interest_period":"Interest period","currency_id":"Currency","liability_type":"Liability type","account_role":"Account role","liability_direction":"Liability in/out","book_date":"Book date","permDeleteWarning":"Deleting stuff from Firefly III is permanent and cannot be undone.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},3340:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Withdrawal","Deposit":"Deposit","date_and_time":"Date and time","no_currency":"(no currency)","date":"Date","time":"Time","no_budget":"(no budget)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Balance","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta information","basic_journal_information":"Basic transaction information","bills_to_pay":"Bills to pay","left_to_spend":"Left to spend","attachments":"Attachments","net_worth":"Net worth","bill":"Bill","no_bill":"(no bill)","tags":"Tags","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Paid","notes":"Notes","yourAccounts":"Your accounts","go_to_asset_accounts":"View your asset accounts","delete_account":"Delete account","transaction_table_description":"A table containing your transactions","account":"Account","description":"Description","amount":"Amount","budget":"Budget","category":"Category","opposing_account":"Opposing account","budgets":"Budgets","categories":"Categories","go_to_budgets":"Go to your budgets","income":"Revenue / income","go_to_deposits":"Go to deposits","go_to_categories":"Go to your categories","expense_accounts":"Expense accounts","go_to_expenses":"Go to expenses","go_to_bills":"Go to your bills","bills":"Bills","last_thirty_days":"Last thirty days","last_seven_days":"Last seven days","go_to_piggies":"Go to your piggy banks","saved":"Saved","piggy_banks":"Piggy banks","piggy_bank":"Piggy bank","amounts":"Amounts","left":"Left","spent":"Spent","Default asset account":"Default asset account","search_results":"Search results","include":"Include?","transaction":"Transaction","account_role_defaultAsset":"Default asset account","account_role_savingAsset":"Savings account","account_role_sharedAsset":"Shared asset account","clear_location":"Clear location","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash wallet","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Create new expense account","create_new_revenue":"Create new revenue account","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Error!","store_transaction":"Store transaction","flash_success":"Success!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Search","create_new_asset":"Create new asset account","asset_accounts":"Asset accounts","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Location","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Revenue accounts","add_another_split":"Add another split","actions":"Actions","earned":"Earned","empty":"(empty)","edit":"Edit","never":"Never","account_type_Loan":"Loan","account_type_Mortgage":"Mortgage","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Debt","delete":"Delete","store_new_asset_account":"Store new asset account","store_new_expense_account":"Store new expense account","store_new_liabilities_account":"Store new liability","store_new_revenue_account":"Store new revenue account","mandatoryFields":"Mandatory fields","optionalFields":"Optional fields","reconcile_this_account":"Reconcile this account","interest_calc_weekly":"Per week","interest_calc_monthly":"Per month","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Per year","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(none)"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","lastActivity":"Last activity","name":"Name","role":"Role","iban":"IBAN","interest":"Interest","interest_period":"interest period","liability_type":"Type of liability","liability_direction":"(list.liability_direction)","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Foreign amount","interest_date":"Interest date","name":"Name","amount":"Amount","iban":"IBAN","BIC":"BIC","notes":"Notes","location":"Location","attachments":"Attachments","active":"Active","include_net_worth":"Include in net worth","account_number":"Account number","virtual_balance":"Virtual balance","opening_balance":"Opening balance","opening_balance_date":"Opening balance date","date":"Date","interest":"Interest","interest_period":"Interest period","currency_id":"Currency","liability_type":"Liability type","account_role":"Account role","liability_direction":"Liability in/out","book_date":"Book date","permDeleteWarning":"Deleting stuff from Firefly III is permanent and cannot be undone.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},5394:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transferencia","Withdrawal":"Retiro","Deposit":"Depósito","date_and_time":"Fecha y hora","no_currency":"(sin moneda)","date":"Fecha","time":"Hora","no_budget":"(sin presupuesto)","destination_account":"Cuenta destino","source_account":"Cuenta origen","single_split":"División","create_new_transaction":"Crear una nueva transacción","balance":"Balance","transaction_journal_extra":"Información adicional","transaction_journal_meta":"Información Meta","basic_journal_information":"Información básica de transacción","bills_to_pay":"Facturas por pagar","left_to_spend":"Disponible para gastar","attachments":"Archivos adjuntos","net_worth":"Valor Neto","bill":"Factura","no_bill":"(sin factura)","tags":"Etiquetas","internal_reference":"Referencia interna","external_url":"URL externa","no_piggy_bank":"(sin hucha)","paid":"Pagado","notes":"Notas","yourAccounts":"Tus cuentas","go_to_asset_accounts":"Ver tus cuentas de activos","delete_account":"Eliminar cuenta","transaction_table_description":"Una tabla que contiene sus transacciones","account":"Cuenta","description":"Descripción","amount":"Cantidad","budget":"Presupuesto","category":"Categoria","opposing_account":"Cuenta opuesta","budgets":"Presupuestos","categories":"Categorías","go_to_budgets":"Ir a tus presupuestos","income":"Ingresos / salarios","go_to_deposits":"Ir a depósitos","go_to_categories":"Ir a tus categorías","expense_accounts":"Cuentas de gastos","go_to_expenses":"Ir a gastos","go_to_bills":"Ir a tus cuentas","bills":"Facturas","last_thirty_days":"Últimos treinta días","last_seven_days":"Últimos siete días","go_to_piggies":"Ir a tu hucha","saved":"Guardado","piggy_banks":"Huchas","piggy_bank":"Hucha","amounts":"Importes","left":"Disponible","spent":"Gastado","Default asset account":"Cuenta de ingresos por defecto","search_results":"Buscar resultados","include":"¿Incluir?","transaction":"Transaccion","account_role_defaultAsset":"Cuentas de ingresos por defecto","account_role_savingAsset":"Cuentas de ahorros","account_role_sharedAsset":"Cuenta de ingresos compartida","clear_location":"Eliminar ubicación","account_role_ccAsset":"Tarjeta de Crédito","account_role_cashWalletAsset":"Billetera de efectivo","daily_budgets":"Presupuestos diarios","weekly_budgets":"Presupuestos semanales","monthly_budgets":"Presupuestos mensuales","quarterly_budgets":"Presupuestos trimestrales","create_new_expense":"Crear nueva cuenta de gastos","create_new_revenue":"Crear nueva cuenta de ingresos","create_new_liabilities":"Crear nuevo pasivo","half_year_budgets":"Presupuestos semestrales","yearly_budgets":"Presupuestos anuales","split_transaction_title":"Descripción de la transacción dividida","errors_submission":"Hubo un problema con su envío. Por favor, compruebe los errores.","flash_error":"¡Error!","store_transaction":"Guardar transacción","flash_success":"¡Operación correcta!","create_another":"Después de guardar, vuelve aquí para crear otro.","update_transaction":"Actualizar transacción","after_update_create_another":"Después de actualizar, vuelve aquí para continuar editando.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID}</a> (\\"{title}\\") no recibió ningún cambio.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID}</a> (\\"{title}\\") ha sido actualizada.","spent_x_of_y":"{amount} gastado de {total}","search":"Buscar","create_new_asset":"Crear nueva cuenta de activos","asset_accounts":"Cuenta de activos","reset_after":"Restablecer formulario después del envío","bill_paid_on":"Pagado el {date}","first_split_decides":"La primera división determina el valor de este campo","first_split_overrules_source":"La primera división puede anular la cuenta de origen","first_split_overrules_destination":"La primera división puede anular la cuenta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID} (\\"{title}\\")</a> ha sido almacenada.","custom_period":"Período personalizado","reset_to_current":"Restablecer al período actual","select_period":"Seleccione un período","location":"Ubicación","other_budgets":"Presupuestos de tiempo personalizado","journal_links":"Enlaces de transacciones","go_to_withdrawals":"Ir a tus retiradas","revenue_accounts":"Cuentas de ingresos","add_another_split":"Añadir otra división","actions":"Acciones","earned":"Ganado","empty":"(vacío)","edit":"Editar","never":"Nunca","account_type_Loan":"Préstamo","account_type_Mortgage":"Hipoteca","stored_new_account_js":"Nueva cuenta \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" guardada!","account_type_Debt":"Deuda","delete":"Eliminar","store_new_asset_account":"Crear cuenta de activos","store_new_expense_account":"Crear cuenta de gastos","store_new_liabilities_account":"Crear nuevo pasivo","store_new_revenue_account":"Crear cuenta de ingresos","mandatoryFields":"Campos obligatorios","optionalFields":"Campos opcionales","reconcile_this_account":"Reconciliar esta cuenta","interest_calc_weekly":"Por semana","interest_calc_monthly":"Por mes","interest_calc_quarterly":"Por trimestre","interest_calc_half-year":"Por semestre","interest_calc_yearly":"Por año","liability_direction_credit":"Se me debe esta deuda","liability_direction_debit":"Le debo esta deuda a otra persona","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Ninguna transacción|Guardar esta transacción moviéndola a otra cuenta. |Guardar estas transacciones moviéndolas a otra cuenta.","none_in_select_list":"(ninguno)"},"list":{"piggy_bank":"Alcancilla","percentage":"pct.","amount":"Monto","lastActivity":"Actividad más reciente","name":"Nombre","role":"Rol","iban":"IBAN","interest":"Interés","interest_period":"período de interés","liability_type":"Tipo de pasivo","liability_direction":"(list.liability_direction)","currentBalance":"Balance actual","next_expected_match":"Próxima coincidencia esperada"},"config":{"html_language":"es","week_in_year_fns":"\'Semana\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Trimestre\' Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Cantidad extranjera","interest_date":"Fecha de interés","name":"Nombre","amount":"Importe","iban":"IBAN","BIC":"BIC","notes":"Notas","location":"Ubicación","attachments":"Adjuntos","active":"Activo","include_net_worth":"Incluir en valor neto","account_number":"Número de cuenta","virtual_balance":"Saldo virtual","opening_balance":"Saldo inicial","opening_balance_date":"Fecha del saldo inicial","date":"Fecha","interest":"Interés","interest_period":"Período de interés","currency_id":"Divisa","liability_type":"Tipo de pasivo","account_role":"Rol de cuenta","liability_direction":"Pasivo entrada/salida","book_date":"Fecha de registro","permDeleteWarning":"Eliminar cosas de Firefly III es permanente y no se puede deshacer.","account_areYouSure_js":"¿Está seguro que desea eliminar la cuenta llamada \\"{name}\\"?","also_delete_piggyBanks_js":"Ninguna alcancía|La única alcancía conectada a esta cuenta también será borrada. También se eliminarán todas {count} alcancías conectados a esta cuenta.","also_delete_transactions_js":"Ninguna transacción|La única transacción conectada a esta cuenta se eliminará también.|Todas las {count} transacciones conectadas a esta cuenta también se eliminarán.","process_date":"Fecha de procesamiento","due_date":"Fecha de vencimiento","payment_date":"Fecha de pago","invoice_date":"Fecha de la factura"}}')},7868:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Siirto","Withdrawal":"Nosto","Deposit":"Talletus","date_and_time":"Date and time","no_currency":"(ei valuuttaa)","date":"Päivämäärä","time":"Time","no_budget":"(ei budjettia)","destination_account":"Kohdetili","source_account":"Lähdetili","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metatiedot","basic_journal_information":"Basic transaction information","bills_to_pay":"Laskuja maksettavana","left_to_spend":"Käytettävissä","attachments":"Liitteet","net_worth":"Varallisuus","bill":"Lasku","no_bill":"(no bill)","tags":"Tägit","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(ei säästöpossu)","paid":"Maksettu","notes":"Muistiinpanot","yourAccounts":"Omat tilisi","go_to_asset_accounts":"Tarkastele omaisuustilejäsi","delete_account":"Poista käyttäjätili","transaction_table_description":"A table containing your transactions","account":"Tili","description":"Kuvaus","amount":"Summa","budget":"Budjetti","category":"Kategoria","opposing_account":"Vastatili","budgets":"Budjetit","categories":"Kategoriat","go_to_budgets":"Avaa omat budjetit","income":"Tuotto / ansio","go_to_deposits":"Go to deposits","go_to_categories":"Avaa omat kategoriat","expense_accounts":"Kulutustilit","go_to_expenses":"Go to expenses","go_to_bills":"Avaa omat laskut","bills":"Laskut","last_thirty_days":"Viimeiset 30 päivää","last_seven_days":"Viimeiset 7 päivää","go_to_piggies":"Tarkastele säästöpossujasi","saved":"Saved","piggy_banks":"Säästöpossut","piggy_bank":"Säästöpossu","amounts":"Amounts","left":"Jäljellä","spent":"Käytetty","Default asset account":"Oletusomaisuustili","search_results":"Haun tulokset","include":"Include?","transaction":"Tapahtuma","account_role_defaultAsset":"Oletuskäyttötili","account_role_savingAsset":"Säästötili","account_role_sharedAsset":"Jaettu käyttötili","clear_location":"Tyhjennä sijainti","account_role_ccAsset":"Luottokortti","account_role_cashWalletAsset":"Käteinen","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Luo uusi maksutili","create_new_revenue":"Luo uusi tuottotili","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Jaetun tapahtuman kuvaus","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Virhe!","store_transaction":"Store transaction","flash_success":"Valmista tuli!","create_another":"Tallennuksen jälkeen, palaa takaisin luomaan uusi tapahtuma.","update_transaction":"Päivitä tapahtuma","after_update_create_another":"Päivityksen jälkeen, palaa takaisin jatkamaan muokkausta.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hae","create_new_asset":"Luo uusi omaisuustili","asset_accounts":"Käyttötilit","reset_after":"Tyhjennä lomake lähetyksen jälkeen","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Sijainti","other_budgets":"Custom timed budgets","journal_links":"Tapahtuman linkit","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Tuottotilit","add_another_split":"Lisää tapahtumaan uusi osa","actions":"Toiminnot","earned":"Ansaittu","empty":"(tyhjä)","edit":"Muokkaa","never":"Ei koskaan","account_type_Loan":"Laina","account_type_Mortgage":"Kiinnelaina","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Velka","delete":"Poista","store_new_asset_account":"Tallenna uusi omaisuustili","store_new_expense_account":"Tallenna uusi kulutustili","store_new_liabilities_account":"Tallenna uusi vastuu","store_new_revenue_account":"Tallenna uusi tuottotili","mandatoryFields":"Pakolliset kentät","optionalFields":"Valinnaiset kentät","reconcile_this_account":"Täsmäytä tämä tili","interest_calc_weekly":"Per week","interest_calc_monthly":"Kuukaudessa","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Vuodessa","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(ei mitään)"},"list":{"piggy_bank":"Säästöpossu","percentage":"pros.","amount":"Summa","lastActivity":"Viimeisin tapahtuma","name":"Nimi","role":"Rooli","iban":"IBAN","interest":"Korko","interest_period":"korkojakso","liability_type":"Vastuutyyppi","liability_direction":"(list.liability_direction)","currentBalance":"Tämänhetkinen saldo","next_expected_match":"Seuraava lasku odotettavissa"},"config":{"html_language":"fi","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Ulkomaan summa","interest_date":"Korkopäivä","name":"Nimi","amount":"Summa","iban":"IBAN","BIC":"BIC","notes":"Muistiinpanot","location":"Sijainti","attachments":"Liitteet","active":"Aktiivinen","include_net_worth":"Sisällytä varallisuuteen","account_number":"Tilinumero","virtual_balance":"Virtuaalinen saldo","opening_balance":"Alkusaldo","opening_balance_date":"Alkusaldon päivämäärä","date":"Päivämäärä","interest":"Korko","interest_period":"Korkojakso","currency_id":"Valuutta","liability_type":"Liability type","account_role":"Tilin tyyppi","liability_direction":"Liability in/out","book_date":"Kirjauspäivä","permDeleteWarning":"Asioiden poistaminen Firefly III:sta on lopullista eikä poistoa pysty perumaan.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Käsittelypäivä","due_date":"Eräpäivä","payment_date":"Maksupäivä","invoice_date":"Laskun päivämäärä"}}')},2551:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfert","Withdrawal":"Dépense","Deposit":"Dépôt","date_and_time":"Date et heure","no_currency":"(pas de devise)","date":"Date","time":"Heure","no_budget":"(pas de budget)","destination_account":"Compte de destination","source_account":"Compte source","single_split":"Ventilation","create_new_transaction":"Créer une nouvelle opération","balance":"Solde","transaction_journal_extra":"Informations supplémentaires","transaction_journal_meta":"Méta informations","basic_journal_information":"Informations de base sur l\'opération","bills_to_pay":"Factures à payer","left_to_spend":"Reste à dépenser","attachments":"Pièces jointes","net_worth":"Avoir net","bill":"Facture","no_bill":"(aucune facture)","tags":"Tags","internal_reference":"Référence interne","external_url":"URL externe","no_piggy_bank":"(aucune tirelire)","paid":"Payé","notes":"Notes","yourAccounts":"Vos comptes","go_to_asset_accounts":"Afficher vos comptes d\'actifs","delete_account":"Supprimer le compte","transaction_table_description":"Une table contenant vos opérations","account":"Compte","description":"Description","amount":"Montant","budget":"Budget","category":"Catégorie","opposing_account":"Compte opposé","budgets":"Budgets","categories":"Catégories","go_to_budgets":"Gérer vos budgets","income":"Recette / revenu","go_to_deposits":"Aller aux dépôts","go_to_categories":"Gérer vos catégories","expense_accounts":"Comptes de dépenses","go_to_expenses":"Aller aux dépenses","go_to_bills":"Gérer vos factures","bills":"Factures","last_thirty_days":"Trente derniers jours","last_seven_days":"7 Derniers Jours","go_to_piggies":"Gérer vos tirelires","saved":"Sauvegardé","piggy_banks":"Tirelires","piggy_bank":"Tirelire","amounts":"Montants","left":"Reste","spent":"Dépensé","Default asset account":"Compte d’actif par défaut","search_results":"Résultats de la recherche","include":"Inclure ?","transaction":"Opération","account_role_defaultAsset":"Compte d\'actif par défaut","account_role_savingAsset":"Compte d’épargne","account_role_sharedAsset":"Compte d\'actif partagé","clear_location":"Effacer la localisation","account_role_ccAsset":"Carte de crédit","account_role_cashWalletAsset":"Porte-monnaie","daily_budgets":"Budgets quotidiens","weekly_budgets":"Budgets hebdomadaires","monthly_budgets":"Budgets mensuels","quarterly_budgets":"Budgets trimestriels","create_new_expense":"Créer nouveau compte de dépenses","create_new_revenue":"Créer nouveau compte de recettes","create_new_liabilities":"Créer un nouveau passif","half_year_budgets":"Budgets semestriels","yearly_budgets":"Budgets annuels","split_transaction_title":"Description de l\'opération ventilée","errors_submission":"Certaines informations ne sont pas correctes dans votre formulaire. Veuillez vérifier les erreurs.","flash_error":"Erreur !","store_transaction":"Enregistrer l\'opération","flash_success":"Super !","create_another":"Après enregistrement, revenir ici pour en créer un nouveau.","update_transaction":"Mettre à jour l\'opération","after_update_create_another":"Après la mise à jour, revenir ici pour continuer l\'édition.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID}</a> (\\"{title}\\") n\'a pas été modifiée.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID}</a> (\\"{title}\\") a été mise à jour.","spent_x_of_y":"Dépensé {amount} sur {total}","search":"Rechercher","create_new_asset":"Créer un nouveau compte d’actif","asset_accounts":"Comptes d’actif","reset_after":"Réinitialiser le formulaire après soumission","bill_paid_on":"Payé le {date}","first_split_decides":"La première ventilation détermine la valeur de ce champ","first_split_overrules_source":"La première ventilation peut remplacer le compte source","first_split_overrules_destination":"La première ventilation peut remplacer le compte de destination","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID} (\\"{title}\\")</a> a été enregistrée.","custom_period":"Période personnalisée","reset_to_current":"Réinitialiser à la période en cours","select_period":"Sélectionnez une période","location":"Emplacement","other_budgets":"Budgets à période personnalisée","journal_links":"Liens d\'opération","go_to_withdrawals":"Accéder à vos retraits","revenue_accounts":"Comptes de recettes","add_another_split":"Ajouter une autre fraction","actions":"Actions","earned":"Gagné","empty":"(vide)","edit":"Modifier","never":"Jamais","account_type_Loan":"Prêt","account_type_Mortgage":"Prêt hypothécaire","stored_new_account_js":"Nouveau compte \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" enregistré !","account_type_Debt":"Dette","delete":"Supprimer","store_new_asset_account":"Créer un nouveau compte d’actif","store_new_expense_account":"Créer un nouveau compte de dépenses","store_new_liabilities_account":"Enregistrer un nouveau passif","store_new_revenue_account":"Créer un compte de recettes","mandatoryFields":"Champs obligatoires","optionalFields":"Champs optionnels","reconcile_this_account":"Rapprocher ce compte","interest_calc_weekly":"Par semaine","interest_calc_monthly":"Par mois","interest_calc_quarterly":"Par trimestre","interest_calc_half-year":"Par semestre","interest_calc_yearly":"Par an","liability_direction_credit":"On me doit cette dette","liability_direction_debit":"Je dois cette dette à quelqu\'un d\'autre","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Aucune opération|Conserver cette opération en la déplaçant vers un autre compte. |Conserver ces opérations en les déplaçant vers un autre compte.","none_in_select_list":"(aucun)"},"list":{"piggy_bank":"Tirelire","percentage":"pct.","amount":"Montant","lastActivity":"Activité récente","name":"Nom","role":"Rôle","iban":"Numéro IBAN","interest":"Intérêt","interest_period":"période d’intérêt","liability_type":"Type de passif","liability_direction":"(list.liability_direction)","currentBalance":"Solde courant","next_expected_match":"Prochaine association attendue"},"config":{"html_language":"fr","week_in_year_fns":"\'Semaine\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Montant en devise étrangère","interest_date":"Date de valeur (intérêts)","name":"Nom","amount":"Montant","iban":"Numéro IBAN","BIC":"Code BIC","notes":"Notes","location":"Emplacement","attachments":"Documents joints","active":"Actif","include_net_worth":"Inclure dans l\'avoir net","account_number":"Numéro de compte","virtual_balance":"Solde virtuel","opening_balance":"Solde initial","opening_balance_date":"Date du solde initial","date":"Date","interest":"Intérêt","interest_period":"Période d’intérêt","currency_id":"Devise","liability_type":"Type de passif","account_role":"Rôle du compte","liability_direction":"Sens du passif","book_date":"Date de réservation","permDeleteWarning":"Supprimer quelque chose dans Firefly est permanent et ne peut pas être annulé.","account_areYouSure_js":"Êtes-vous sûr de vouloir supprimer le compte nommé \\"{name}\\" ?","also_delete_piggyBanks_js":"Aucune tirelire|La seule tirelire liée à ce compte sera aussi supprimée.|Les {count} tirelires liées à ce compte seront aussi supprimées.","also_delete_transactions_js":"Aucune opération|La seule opération liée à ce compte sera aussi supprimée.|Les {count} opérations liées à ce compte seront aussi supprimées.","process_date":"Date de traitement","due_date":"Échéance","payment_date":"Date de paiement","invoice_date":"Date de facturation"}}')},995:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Átvezetés","Withdrawal":"Költség","Deposit":"Bevétel","date_and_time":"Date and time","no_currency":"(nincs pénznem)","date":"Dátum","time":"Time","no_budget":"(nincs költségkeret)","destination_account":"Célszámla","source_account":"Forrás számla","single_split":"Felosztás","create_new_transaction":"Create a new transaction","balance":"Egyenleg","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta-információ","basic_journal_information":"Basic transaction information","bills_to_pay":"Fizetendő számlák","left_to_spend":"Elkölthető","attachments":"Mellékletek","net_worth":"Nettó érték","bill":"Számla","no_bill":"(no bill)","tags":"Címkék","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(nincs malacpersely)","paid":"Kifizetve","notes":"Megjegyzések","yourAccounts":"Bankszámlák","go_to_asset_accounts":"Eszközszámlák megtekintése","delete_account":"Fiók törlése","transaction_table_description":"Tranzakciókat tartalmazó táblázat","account":"Bankszámla","description":"Leírás","amount":"Összeg","budget":"Költségkeret","category":"Kategória","opposing_account":"Ellenoldali számla","budgets":"Költségkeretek","categories":"Kategóriák","go_to_budgets":"Ugrás a költségkeretekhez","income":"Jövedelem / bevétel","go_to_deposits":"Ugrás a bevételekre","go_to_categories":"Ugrás a kategóriákhoz","expense_accounts":"Költségszámlák","go_to_expenses":"Ugrás a kiadásokra","go_to_bills":"Ugrás a számlákhoz","bills":"Számlák","last_thirty_days":"Elmúlt harminc nap","last_seven_days":"Utolsó hét nap","go_to_piggies":"Ugrás a malacperselyekhez","saved":"Mentve","piggy_banks":"Malacperselyek","piggy_bank":"Malacpersely","amounts":"Mennyiségek","left":"Maradvány","spent":"Elköltött","Default asset account":"Alapértelmezett eszközszámla","search_results":"Keresési eredmények","include":"Include?","transaction":"Tranzakció","account_role_defaultAsset":"Alapértelmezett eszközszámla","account_role_savingAsset":"Megtakarítási számla","account_role_sharedAsset":"Megosztott eszközszámla","clear_location":"Hely törlése","account_role_ccAsset":"Hitelkártya","account_role_cashWalletAsset":"Készpénz","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Új költségszámla létrehozása","create_new_revenue":"Új jövedelemszámla létrehozása","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Felosztott tranzakció leírása","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Hiba!","store_transaction":"Store transaction","flash_success":"Siker!","create_another":"A tárolás után térjen vissza ide új létrehozásához.","update_transaction":"Tranzakció frissítése","after_update_create_another":"A frissítés után térjen vissza ide a szerkesztés folytatásához.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Keresés","create_new_asset":"Új eszközszámla létrehozása","asset_accounts":"Eszközszámlák","reset_after":"Űrlap törlése a beküldés után","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> mentve.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Hely","other_budgets":"Custom timed budgets","journal_links":"Tranzakció összekapcsolások","go_to_withdrawals":"Ugrás a költségekhez","revenue_accounts":"Jövedelemszámlák","add_another_split":"Másik felosztás hozzáadása","actions":"Műveletek","earned":"Megkeresett","empty":"(üres)","edit":"Szerkesztés","never":"Soha","account_type_Loan":"Hitel","account_type_Mortgage":"Jelzálog","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Adósság","delete":"Törlés","store_new_asset_account":"Új eszközszámla tárolása","store_new_expense_account":"Új költségszámla tárolása","store_new_liabilities_account":"Új kötelezettség eltárolása","store_new_revenue_account":"Új jövedelemszámla létrehozása","mandatoryFields":"Kötelező mezők","optionalFields":"Nem kötelező mezők","reconcile_this_account":"Számla egyeztetése","interest_calc_weekly":"Per week","interest_calc_monthly":"Havonta","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Évente","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(nincs)"},"list":{"piggy_bank":"Malacpersely","percentage":"%","amount":"Összeg","lastActivity":"Utolsó aktivitás","name":"Név","role":"Szerepkör","iban":"IBAN","interest":"Kamat","interest_period":"kamatperiódus","liability_type":"A kötelezettség típusa","liability_direction":"(list.liability_direction)","currentBalance":"Aktuális egyenleg","next_expected_match":"Következő várható egyezés"},"config":{"html_language":"hu","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Külföldi összeg","interest_date":"Kamatfizetési időpont","name":"Név","amount":"Összeg","iban":"IBAN","BIC":"BIC","notes":"Megjegyzések","location":"Hely","attachments":"Mellékletek","active":"Aktív","include_net_worth":"Befoglalva a nettó értékbe","account_number":"Számlaszám","virtual_balance":"Virtuális egyenleg","opening_balance":"Nyitó egyenleg","opening_balance_date":"Nyitó egyenleg dátuma","date":"Dátum","interest":"Kamat","interest_period":"Kamatperiódus","currency_id":"Pénznem","liability_type":"Liability type","account_role":"Bankszámla szerepköre","liability_direction":"Liability in/out","book_date":"Könyvelés dátuma","permDeleteWarning":"A Firefly III-ból történő törlés végleges és nem vonható vissza.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Feldolgozás dátuma","due_date":"Lejárati időpont","payment_date":"Fizetés dátuma","invoice_date":"Számla dátuma"}}')},9112:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Trasferimento","Withdrawal":"Prelievo","Deposit":"Entrata","date_and_time":"Data e ora","no_currency":"(nessuna valuta)","date":"Data","time":"Ora","no_budget":"(nessun budget)","destination_account":"Conto destinazione","source_account":"Conto di origine","single_split":"Divisione","create_new_transaction":"Crea una nuova transazione","balance":"Saldo","transaction_journal_extra":"Informazioni aggiuntive","transaction_journal_meta":"Meta informazioni","basic_journal_information":"Informazioni di base sulla transazione","bills_to_pay":"Bollette da pagare","left_to_spend":"Altro da spendere","attachments":"Allegati","net_worth":"Patrimonio","bill":"Bolletta","no_bill":"(nessuna bolletta)","tags":"Etichette","internal_reference":"Riferimento interno","external_url":"URL esterno","no_piggy_bank":"(nessun salvadanaio)","paid":"Pagati","notes":"Note","yourAccounts":"I tuoi conti","go_to_asset_accounts":"Visualizza i tuoi conti attività","delete_account":"Elimina account","transaction_table_description":"Una tabella contenente le tue transazioni","account":"Conto","description":"Descrizione","amount":"Importo","budget":"Budget","category":"Categoria","opposing_account":"Conto beneficiario","budgets":"Budget","categories":"Categorie","go_to_budgets":"Vai ai tuoi budget","income":"Redditi / entrate","go_to_deposits":"Vai ai depositi","go_to_categories":"Vai alle tue categorie","expense_accounts":"Conti uscite","go_to_expenses":"Vai alle spese","go_to_bills":"Vai alle tue bollette","bills":"Bollette","last_thirty_days":"Ultimi trenta giorni","last_seven_days":"Ultimi sette giorni","go_to_piggies":"Vai ai tuoi salvadanai","saved":"Salvata","piggy_banks":"Salvadanai","piggy_bank":"Salvadanaio","amounts":"Importi","left":"Resto","spent":"Speso","Default asset account":"Conto attività predefinito","search_results":"Risultati ricerca","include":"Includere?","transaction":"Transazione","account_role_defaultAsset":"Conto attività predefinito","account_role_savingAsset":"Conto risparmio","account_role_sharedAsset":"Conto attività condiviso","clear_location":"Rimuovi dalla posizione","account_role_ccAsset":"Carta di credito","account_role_cashWalletAsset":"Portafoglio","daily_budgets":"Budget giornalieri","weekly_budgets":"Budget settimanali","monthly_budgets":"Budget mensili","quarterly_budgets":"Bilanci trimestrali","create_new_expense":"Crea un nuovo conto di spesa","create_new_revenue":"Crea un nuovo conto entrate","create_new_liabilities":"Crea nuova passività","half_year_budgets":"Bilanci semestrali","yearly_budgets":"Budget annuali","split_transaction_title":"Descrizione della transazione suddivisa","errors_submission":"Errore durante l\'invio. Controlla gli errori segnalati qui sotto.","flash_error":"Errore!","store_transaction":"Salva transazione","flash_success":"Successo!","create_another":"Dopo il salvataggio, torna qui per crearne un\'altra.","update_transaction":"Aggiorna transazione","after_update_create_another":"Dopo l\'aggiornamento, torna qui per continuare la modifica.","transaction_updated_no_changes":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID}</a> (\\"{title}\\") non ha avuto cambiamenti.","transaction_updated_link":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID}</a> (\\"{title}\\") è stata aggiornata.","spent_x_of_y":"Spesi {amount} di {total}","search":"Cerca","create_new_asset":"Crea un nuovo conto attività","asset_accounts":"Conti attività","reset_after":"Resetta il modulo dopo l\'invio","bill_paid_on":"Pagata il {date}","first_split_decides":"La prima suddivisione determina il valore di questo campo","first_split_overrules_source":"La prima suddivisione potrebbe sovrascrivere l\'account di origine","first_split_overrules_destination":"La prima suddivisione potrebbe sovrascrivere l\'account di destinazione","transaction_stored_link":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID} (\\"{title}\\")</a> è stata salvata.","custom_period":"Periodo personalizzato","reset_to_current":"Ripristina il periodo corrente","select_period":"Seleziona il periodo","location":"Posizione","other_budgets":"Budget a periodi personalizzati","journal_links":"Collegamenti della transazione","go_to_withdrawals":"Vai ai tuoi prelievi","revenue_accounts":"Conti entrate","add_another_split":"Aggiungi un\'altra divisione","actions":"Azioni","earned":"Guadagnato","empty":"(vuoto)","edit":"Modifica","never":"Mai","account_type_Loan":"Prestito","account_type_Mortgage":"Mutuo","stored_new_account_js":"Nuovo conto \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" salvato!","account_type_Debt":"Debito","delete":"Elimina","store_new_asset_account":"Salva nuovo conto attività","store_new_expense_account":"Salva il nuovo conto uscite","store_new_liabilities_account":"Memorizza nuova passività","store_new_revenue_account":"Salva il nuovo conto entrate","mandatoryFields":"Campi obbligatori","optionalFields":"Campi opzionali","reconcile_this_account":"Riconcilia questo conto","interest_calc_weekly":"Settimanale","interest_calc_monthly":"Al mese","interest_calc_quarterly":"Trimestrale","interest_calc_half-year":"Semestrale","interest_calc_yearly":"All\'anno","liability_direction_credit":"Questo debito mi è dovuto","liability_direction_debit":"Devo questo debito a qualcun altro","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Nessuna transazione|Salva questa transazione spostandola in un altro conto.|Salva queste transazioni spostandole in un altro conto.","none_in_select_list":"(nessuna)"},"list":{"piggy_bank":"Salvadanaio","percentage":"perc.","amount":"Importo","lastActivity":"Ultima attività","name":"Nome","role":"Ruolo","iban":"IBAN","interest":"Interesse","interest_period":"periodo di interesse","liability_type":"Tipo di passività","liability_direction":"(list.liability_direction)","currentBalance":"Saldo corrente","next_expected_match":"Prossimo abbinamento previsto"},"config":{"html_language":"it","week_in_year_fns":"\'Settimana\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Importo estero","interest_date":"Data di valuta","name":"Nome","amount":"Importo","iban":"IBAN","BIC":"BIC","notes":"Note","location":"Posizione","attachments":"Allegati","active":"Attivo","include_net_worth":"Includi nel patrimonio","account_number":"Numero conto","virtual_balance":"Saldo virtuale","opening_balance":"Saldo di apertura","opening_balance_date":"Data saldo di apertura","date":"Data","interest":"Interesse","interest_period":"Periodo di interesse","currency_id":"Valuta","liability_type":"Tipo passività","account_role":"Ruolo del conto","liability_direction":"Passività in entrata/uscita","book_date":"Data contabile","permDeleteWarning":"L\'eliminazione dei dati da Firefly III è definitiva e non può essere annullata.","account_areYouSure_js":"Sei sicuro di voler eliminare il conto \\"{name}\\"?","also_delete_piggyBanks_js":"Nessun salvadanaio|Anche l\'unico salvadanaio collegato a questo conto verrà eliminato.|Anche tutti i {count} salvadanai collegati a questo conto verranno eliminati.","also_delete_transactions_js":"Nessuna transazioni|Anche l\'unica transazione collegata al conto verrà eliminata.|Anche tutte le {count} transazioni collegati a questo conto verranno eliminate.","process_date":"Data elaborazione","due_date":"Data scadenza","payment_date":"Data pagamento","invoice_date":"Data fatturazione"}}')},9085:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Overføring","Withdrawal":"Uttak","Deposit":"Innskudd","date_and_time":"Date and time","no_currency":"(ingen valuta)","date":"Dato","time":"Time","no_budget":"(ingen budsjett)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metainformasjon","basic_journal_information":"Basic transaction information","bills_to_pay":"Regninger å betale","left_to_spend":"Igjen å bruke","attachments":"Vedlegg","net_worth":"Formue","bill":"Regning","no_bill":"(no bill)","tags":"Tagger","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Betalt","notes":"Notater","yourAccounts":"Dine kontoer","go_to_asset_accounts":"Se aktivakontoene dine","delete_account":"Slett konto","transaction_table_description":"A table containing your transactions","account":"Konto","description":"Beskrivelse","amount":"Beløp","budget":"Busjett","category":"Kategori","opposing_account":"Opposing account","budgets":"Budsjetter","categories":"Kategorier","go_to_budgets":"Gå til budsjettene dine","income":"Inntekt","go_to_deposits":"Go to deposits","go_to_categories":"Gå til kategoriene dine","expense_accounts":"Utgiftskontoer","go_to_expenses":"Go to expenses","go_to_bills":"Gå til regningene dine","bills":"Regninger","last_thirty_days":"Tredve siste dager","last_seven_days":"Syv siste dager","go_to_piggies":"Gå til sparegrisene dine","saved":"Saved","piggy_banks":"Sparegriser","piggy_bank":"Sparegris","amounts":"Amounts","left":"Gjenværende","spent":"Brukt","Default asset account":"Standard aktivakonto","search_results":"Søkeresultater","include":"Include?","transaction":"Transaksjon","account_role_defaultAsset":"Standard aktivakonto","account_role_savingAsset":"Sparekonto","account_role_sharedAsset":"Delt aktivakonto","clear_location":"Tøm lokasjon","account_role_ccAsset":"Kredittkort","account_role_cashWalletAsset":"Kontant lommebok","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Opprett ny utgiftskonto","create_new_revenue":"Opprett ny inntektskonto","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Feil!","store_transaction":"Store transaction","flash_success":"Suksess!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Søk","create_new_asset":"Opprett ny aktivakonto","asset_accounts":"Aktivakontoer","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Sted","other_budgets":"Custom timed budgets","journal_links":"Transaksjonskoblinger","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Inntektskontoer","add_another_split":"Legg til en oppdeling til","actions":"Handlinger","earned":"Opptjent","empty":"(empty)","edit":"Rediger","never":"Aldri","account_type_Loan":"Lån","account_type_Mortgage":"Boliglån","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Gjeld","delete":"Slett","store_new_asset_account":"Lagre ny brukskonto","store_new_expense_account":"Lagre ny utgiftskonto","store_new_liabilities_account":"Lagre ny gjeld","store_new_revenue_account":"Lagre ny inntektskonto","mandatoryFields":"Obligatoriske felter","optionalFields":"Valgfrie felter","reconcile_this_account":"Avstem denne kontoen","interest_calc_weekly":"Per week","interest_calc_monthly":"Per måned","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Per år","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(ingen)"},"list":{"piggy_bank":"Sparegris","percentage":"pct.","amount":"Beløp","lastActivity":"Siste aktivitet","name":"Navn","role":"Rolle","iban":"IBAN","interest":"Renter","interest_period":"renteperiode","liability_type":"Type gjeld","liability_direction":"(list.liability_direction)","currentBalance":"Nåværende saldo","next_expected_match":"Neste forventede treff"},"config":{"html_language":"nb","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Utenlandske beløp","interest_date":"Rentedato","name":"Navn","amount":"Beløp","iban":"IBAN","BIC":"BIC","notes":"Notater","location":"Location","attachments":"Vedlegg","active":"Aktiv","include_net_worth":"Inkluder i formue","account_number":"Account number","virtual_balance":"Virtual balance","opening_balance":"Opening balance","opening_balance_date":"Opening balance date","date":"Dato","interest":"Rente","interest_period":"Renteperiode","currency_id":"Valuta","liability_type":"Liability type","account_role":"Account role","liability_direction":"Liability in/out","book_date":"Bokføringsdato","permDeleteWarning":"Sletting av data fra Firefly III er permanent, og kan ikke angres.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Prosesseringsdato","due_date":"Forfallsdato","payment_date":"Betalingsdato","invoice_date":"Fakturadato"}}')},4671:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Overschrijving","Withdrawal":"Uitgave","Deposit":"Inkomsten","date_and_time":"Datum en tijd","no_currency":"(geen valuta)","date":"Datum","time":"Tijd","no_budget":"(geen budget)","destination_account":"Doelrekening","source_account":"Bronrekening","single_split":"Split","create_new_transaction":"Maak een nieuwe transactie","balance":"Saldo","transaction_journal_extra":"Extra informatie","transaction_journal_meta":"Metainformatie","basic_journal_information":"Standaard transactieinformatie","bills_to_pay":"Openstaande contracten","left_to_spend":"Over om uit te geven","attachments":"Bijlagen","net_worth":"Kapitaal","bill":"Contract","no_bill":"(geen contract)","tags":"Tags","internal_reference":"Interne referentie","external_url":"Externe URL","no_piggy_bank":"(geen spaarpotje)","paid":"Betaald","notes":"Notities","yourAccounts":"Je betaalrekeningen","go_to_asset_accounts":"Bekijk je betaalrekeningen","delete_account":"Verwijder je account","transaction_table_description":"Een tabel met je transacties","account":"Rekening","description":"Omschrijving","amount":"Bedrag","budget":"Budget","category":"Categorie","opposing_account":"Tegenrekening","budgets":"Budgetten","categories":"Categorieën","go_to_budgets":"Ga naar je budgetten","income":"Inkomsten","go_to_deposits":"Ga naar je inkomsten","go_to_categories":"Ga naar je categorieën","expense_accounts":"Crediteuren","go_to_expenses":"Ga naar je uitgaven","go_to_bills":"Ga naar je contracten","bills":"Contracten","last_thirty_days":"Laatste dertig dagen","last_seven_days":"Laatste zeven dagen","go_to_piggies":"Ga naar je spaarpotjes","saved":"Opgeslagen","piggy_banks":"Spaarpotjes","piggy_bank":"Spaarpotje","amounts":"Bedragen","left":"Over","spent":"Uitgegeven","Default asset account":"Standaard betaalrekening","search_results":"Zoekresultaten","include":"Opnemen?","transaction":"Transactie","account_role_defaultAsset":"Standaard betaalrekening","account_role_savingAsset":"Spaarrekening","account_role_sharedAsset":"Gedeelde betaalrekening","clear_location":"Wis locatie","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash","daily_budgets":"Dagelijkse budgetten","weekly_budgets":"Wekelijkse budgetten","monthly_budgets":"Maandelijkse budgetten","quarterly_budgets":"Driemaandelijkse budgetten","create_new_expense":"Nieuwe crediteur","create_new_revenue":"Nieuwe debiteur","create_new_liabilities":"Maak nieuwe passiva","half_year_budgets":"Halfjaarlijkse budgetten","yearly_budgets":"Jaarlijkse budgetten","split_transaction_title":"Beschrijving van de gesplitste transactie","errors_submission":"Er ging iets mis. Check de errors.","flash_error":"Fout!","store_transaction":"Transactie opslaan","flash_success":"Gelukt!","create_another":"Terug naar deze pagina voor een nieuwe transactie.","update_transaction":"Update transactie","after_update_create_another":"Na het opslaan terug om door te gaan met wijzigen.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID}</a> (\\"{title}\\") is niet gewijzigd.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID}</a> (\\"{title}\\") is geüpdatet.","spent_x_of_y":"{amount} van {total} uitgegeven","search":"Zoeken","create_new_asset":"Nieuwe betaalrekening","asset_accounts":"Betaalrekeningen","reset_after":"Reset formulier na opslaan","bill_paid_on":"Betaald op {date}","first_split_decides":"De eerste split bepaalt wat hier staat","first_split_overrules_source":"De eerste split kan de bronrekening overschrijven","first_split_overrules_destination":"De eerste split kan de doelrekening overschrijven","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID} (\\"{title}\\")</a> is opgeslagen.","custom_period":"Aangepaste periode","reset_to_current":"Reset naar huidige periode","select_period":"Selecteer een periode","location":"Plaats","other_budgets":"Aangepaste budgetten","journal_links":"Transactiekoppelingen","go_to_withdrawals":"Ga naar je uitgaven","revenue_accounts":"Debiteuren","add_another_split":"Voeg een split toe","actions":"Acties","earned":"Verdiend","empty":"(leeg)","edit":"Wijzig","never":"Nooit","account_type_Loan":"Lening","account_type_Mortgage":"Hypotheek","stored_new_account_js":"Nieuwe account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" opgeslagen!","account_type_Debt":"Schuld","delete":"Verwijder","store_new_asset_account":"Sla nieuwe betaalrekening op","store_new_expense_account":"Sla nieuwe crediteur op","store_new_liabilities_account":"Nieuwe passiva opslaan","store_new_revenue_account":"Sla nieuwe debiteur op","mandatoryFields":"Verplichte velden","optionalFields":"Optionele velden","reconcile_this_account":"Stem deze rekening af","interest_calc_weekly":"Per week","interest_calc_monthly":"Per maand","interest_calc_quarterly":"Per kwartaal","interest_calc_half-year":"Per half jaar","interest_calc_yearly":"Per jaar","liability_direction_credit":"Ik krijg dit bedrag terug","liability_direction_debit":"Ik moet dit bedrag terugbetalen","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Geen transacties|Bewaar deze transactie door ze aan een andere rekening te koppelen.|Bewaar deze transacties door ze aan een andere rekening te koppelen.","none_in_select_list":"(geen)"},"list":{"piggy_bank":"Spaarpotje","percentage":"pct","amount":"Bedrag","lastActivity":"Laatste activiteit","name":"Naam","role":"Rol","iban":"IBAN","interest":"Rente","interest_period":"renteperiode","liability_type":"Type passiva","liability_direction":"(list.liability_direction)","currentBalance":"Huidig saldo","next_expected_match":"Volgende verwachte match"},"config":{"html_language":"nl","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Bedrag in vreemde valuta","interest_date":"Rentedatum","name":"Naam","amount":"Bedrag","iban":"IBAN","BIC":"BIC","notes":"Notities","location":"Locatie","attachments":"Bijlagen","active":"Actief","include_net_worth":"Meetellen in kapitaal","account_number":"Rekeningnummer","virtual_balance":"Virtueel saldo","opening_balance":"Startsaldo","opening_balance_date":"Startsaldodatum","date":"Datum","interest":"Rente","interest_period":"Renteperiode","currency_id":"Valuta","liability_type":"Passivasoort","account_role":"Rol van rekening","liability_direction":"Passiva in- of uitgaand","book_date":"Boekdatum","permDeleteWarning":"Dingen verwijderen uit Firefly III is permanent en kan niet ongedaan gemaakt worden.","account_areYouSure_js":"Weet je zeker dat je de rekening met naam \\"{name}\\" wilt verwijderen?","also_delete_piggyBanks_js":"Geen spaarpotjes|Ook het spaarpotje verbonden aan deze rekening wordt verwijderd.|Ook alle {count} spaarpotjes verbonden aan deze rekening worden verwijderd.","also_delete_transactions_js":"Geen transacties|Ook de enige transactie verbonden aan deze rekening wordt verwijderd.|Ook alle {count} transacties verbonden aan deze rekening worden verwijderd.","process_date":"Verwerkingsdatum","due_date":"Vervaldatum","payment_date":"Betalingsdatum","invoice_date":"Factuurdatum"}}')},6238:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Wypłata","Deposit":"Wpłata","date_and_time":"Data i czas","no_currency":"(brak waluty)","date":"Data","time":"Czas","no_budget":"(brak budżetu)","destination_account":"Konto docelowe","source_account":"Konto źródłowe","single_split":"Podział","create_new_transaction":"Stwórz nową transakcję","balance":"Saldo","transaction_journal_extra":"Dodatkowe informacje","transaction_journal_meta":"Meta informacje","basic_journal_information":"Podstawowe informacje o transakcji","bills_to_pay":"Rachunki do zapłacenia","left_to_spend":"Pozostało do wydania","attachments":"Załączniki","net_worth":"Wartość netto","bill":"Rachunek","no_bill":"(brak rachunku)","tags":"Tagi","internal_reference":"Wewnętrzny nr referencyjny","external_url":"Zewnętrzny adres URL","no_piggy_bank":"(brak skarbonki)","paid":"Zapłacone","notes":"Notatki","yourAccounts":"Twoje konta","go_to_asset_accounts":"Zobacz swoje konta aktywów","delete_account":"Usuń konto","transaction_table_description":"Tabela zawierająca Twoje transakcje","account":"Konto","description":"Opis","amount":"Kwota","budget":"Budżet","category":"Kategoria","opposing_account":"Konto przeciwstawne","budgets":"Budżety","categories":"Kategorie","go_to_budgets":"Przejdź do swoich budżetów","income":"Przychody / dochody","go_to_deposits":"Przejdź do wpłat","go_to_categories":"Przejdź do swoich kategorii","expense_accounts":"Konta wydatków","go_to_expenses":"Przejdź do wydatków","go_to_bills":"Przejdź do swoich rachunków","bills":"Rachunki","last_thirty_days":"Ostanie 30 dni","last_seven_days":"Ostatnie 7 dni","go_to_piggies":"Przejdź do swoich skarbonek","saved":"Zapisano","piggy_banks":"Skarbonki","piggy_bank":"Skarbonka","amounts":"Kwoty","left":"Pozostało","spent":"Wydano","Default asset account":"Domyślne konto aktywów","search_results":"Wyniki wyszukiwania","include":"Include?","transaction":"Transakcja","account_role_defaultAsset":"Domyślne konto aktywów","account_role_savingAsset":"Konto oszczędnościowe","account_role_sharedAsset":"Współdzielone konto aktywów","clear_location":"Wyczyść lokalizację","account_role_ccAsset":"Karta kredytowa","account_role_cashWalletAsset":"Portfel gotówkowy","daily_budgets":"Budżety dzienne","weekly_budgets":"Budżety tygodniowe","monthly_budgets":"Budżety miesięczne","quarterly_budgets":"Budżety kwartalne","create_new_expense":"Utwórz nowe konto wydatków","create_new_revenue":"Utwórz nowe konto przychodów","create_new_liabilities":"Utwórz nowe zobowiązanie","half_year_budgets":"Budżety półroczne","yearly_budgets":"Budżety roczne","split_transaction_title":"Opis podzielonej transakcji","errors_submission":"Coś poszło nie tak w czasie zapisu. Proszę sprawdź błędy.","flash_error":"Błąd!","store_transaction":"Zapisz transakcję","flash_success":"Sukces!","create_another":"Po zapisaniu wróć tutaj, aby utworzyć kolejny.","update_transaction":"Zaktualizuj transakcję","after_update_create_another":"Po aktualizacji wróć tutaj, aby kontynuować edycję.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID}</a> (\\"{title}\\") nie została zmieniona.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID}</a> (\\"{title}\\") została zaktualizowana.","spent_x_of_y":"Wydano {amount} z {total}","search":"Szukaj","create_new_asset":"Utwórz nowe konto aktywów","asset_accounts":"Konta aktywów","reset_after":"Wyczyść formularz po zapisaniu","bill_paid_on":"Zapłacone {date}","first_split_decides":"Pierwszy podział określa wartość tego pola","first_split_overrules_source":"Pierwszy podział może nadpisać konto źródłowe","first_split_overrules_destination":"Pierwszy podział może nadpisać konto docelowe","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID} (\\"{title}\\")</a> została zapisana.","custom_period":"Okres niestandardowy","reset_to_current":"Przywróć do bieżącego okresu","select_period":"Wybierz okres","location":"Lokalizacja","other_budgets":"Budżety niestandardowe","journal_links":"Powiązane transakcje","go_to_withdrawals":"Przejdź do swoich wydatków","revenue_accounts":"Konta przychodów","add_another_split":"Dodaj kolejny podział","actions":"Akcje","earned":"Zarobiono","empty":"(pusty)","edit":"Modyfikuj","never":"Nigdy","account_type_Loan":"Pożyczka","account_type_Mortgage":"Hipoteka","stored_new_account_js":"Nowe konto \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" zapisane!","account_type_Debt":"Dług","delete":"Usuń","store_new_asset_account":"Zapisz nowe konto aktywów","store_new_expense_account":"Zapisz nowe konto wydatków","store_new_liabilities_account":"Zapisz nowe zobowiązanie","store_new_revenue_account":"Zapisz nowe konto przychodów","mandatoryFields":"Pola wymagane","optionalFields":"Pola opcjonalne","reconcile_this_account":"Uzgodnij to konto","interest_calc_weekly":"Tygodniowo","interest_calc_monthly":"Co miesiąc","interest_calc_quarterly":"Kwartalnie","interest_calc_half-year":"Co pół roku","interest_calc_yearly":"Co rok","liability_direction_credit":"Zadłużenie wobec mnie","liability_direction_debit":"Zadłużenie wobec kogoś innego","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Brak transakcji|Zapisz tę transakcję, przenosząc ją na inne konto.|Zapisz te transakcje przenosząc je na inne konto.","none_in_select_list":"(żadne)"},"list":{"piggy_bank":"Skarbonka","percentage":"%","amount":"Kwota","lastActivity":"Ostatnia aktywność","name":"Nazwa","role":"Rola","iban":"IBAN","interest":"Odsetki","interest_period":"okres odsetkowy","liability_type":"Rodzaj zobowiązania","liability_direction":"(list.liability_direction)","currentBalance":"Bieżące saldo","next_expected_match":"Następne oczekiwane dopasowanie"},"config":{"html_language":"pl","week_in_year_fns":"w \'tydzień\' yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"Q \'kwartał\' yyyy","half_year_fns":"\'{half} połowa\' yyyy"},"form":{"foreign_amount":"Kwota zagraniczna","interest_date":"Data odsetek","name":"Nazwa","amount":"Kwota","iban":"IBAN","BIC":"BIC","notes":"Notatki","location":"Lokalizacja","attachments":"Załączniki","active":"Aktywny","include_net_worth":"Uwzględnij w wartości netto","account_number":"Numer konta","virtual_balance":"Wirtualne saldo","opening_balance":"Saldo początkowe","opening_balance_date":"Data salda otwarcia","date":"Data","interest":"Odsetki","interest_period":"Okres odsetkowy","currency_id":"Waluta","liability_type":"Rodzaj zobowiązania","account_role":"Rola konta","liability_direction":"Liability in/out","book_date":"Data księgowania","permDeleteWarning":"Usuwanie rzeczy z Firefly III jest trwałe i nie można tego cofnąć.","account_areYouSure_js":"Czy na pewno chcesz usunąć konto o nazwie \\"{name}\\"?","also_delete_piggyBanks_js":"Brak skarbonek|Jedyna skarbonka połączona z tym kontem również zostanie usunięta.|Wszystkie {count} skarbonki połączone z tym kontem zostaną również usunięte.","also_delete_transactions_js":"Brak transakcji|Jedyna transakcja połączona z tym kontem również zostanie usunięta.|Wszystkie {count} transakcje połączone z tym kontem również zostaną usunięte.","process_date":"Data przetworzenia","due_date":"Termin realizacji","payment_date":"Data płatności","invoice_date":"Data faktury"}}')},6586:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transferência","Withdrawal":"Retirada","Deposit":"Depósito","date_and_time":"Data e hora","no_currency":"(sem moeda)","date":"Data","time":"Horário","no_budget":"(sem orçamento)","destination_account":"Conta destino","source_account":"Conta origem","single_split":"Divisão","create_new_transaction":"Criar nova transação","balance":"Saldo","transaction_journal_extra":"Informação extra","transaction_journal_meta":"Meta-informação","basic_journal_information":"Informações básicas de transação","bills_to_pay":"Contas a pagar","left_to_spend":"Restante para gastar","attachments":"Anexos","net_worth":"Valor Líquido","bill":"Fatura","no_bill":"(sem conta)","tags":"Tags","internal_reference":"Referência interna","external_url":"URL externa","no_piggy_bank":"(nenhum cofrinho)","paid":"Pago","notes":"Notas","yourAccounts":"Suas contas","go_to_asset_accounts":"Veja suas contas ativas","delete_account":"Apagar conta","transaction_table_description":"Uma tabela contendo suas transações","account":"Conta","description":"Descrição","amount":"Valor","budget":"Orçamento","category":"Categoria","opposing_account":"Conta oposta","budgets":"Orçamentos","categories":"Categorias","go_to_budgets":"Vá para seus orçamentos","income":"Receita / Renda","go_to_deposits":"Ir para as entradas","go_to_categories":"Vá para suas categorias","expense_accounts":"Contas de despesas","go_to_expenses":"Ir para despesas","go_to_bills":"Vá para suas contas","bills":"Faturas","last_thirty_days":"Últimos 30 dias","last_seven_days":"Últimos sete dias","go_to_piggies":"Vá para sua poupança","saved":"Salvo","piggy_banks":"Cofrinhos","piggy_bank":"Cofrinho","amounts":"Quantias","left":"Restante","spent":"Gasto","Default asset account":"Conta padrão","search_results":"Resultados da pesquisa","include":"Incluir?","transaction":"Transação","account_role_defaultAsset":"Conta padrão","account_role_savingAsset":"Conta poupança","account_role_sharedAsset":"Contas de ativos compartilhadas","clear_location":"Limpar localização","account_role_ccAsset":"Cartão de crédito","account_role_cashWalletAsset":"Carteira de dinheiro","daily_budgets":"Orçamentos diários","weekly_budgets":"Orçamentos semanais","monthly_budgets":"Orçamentos mensais","quarterly_budgets":"Orçamentos trimestrais","create_new_expense":"Criar nova conta de despesa","create_new_revenue":"Criar nova conta de receita","create_new_liabilities":"Criar novo passivo","half_year_budgets":"Orçamentos semestrais","yearly_budgets":"Orçamentos anuais","split_transaction_title":"Descrição da transação dividida","errors_submission":"Há algo de errado com o seu envio. Por favor, verifique os erros abaixo.","flash_error":"Erro!","store_transaction":"Salvar transação","flash_success":"Sucesso!","create_another":"Depois de armazenar, retorne aqui para criar outro.","update_transaction":"Atualizar transação","after_update_create_another":"Depois de atualizar, retorne aqui para continuar editando.","transaction_updated_no_changes":"A <a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") não recebeu nenhuma alteração.","transaction_updated_link":"A <a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") foi atualizada.","spent_x_of_y":"Gasto {amount} de {total}","search":"Pesquisa","create_new_asset":"Criar nova conta de ativo","asset_accounts":"Contas de ativo","reset_after":"Resetar o formulário após o envio","bill_paid_on":"Pago em {date}","first_split_decides":"A primeira divisão determina o valor deste campo","first_split_overrules_source":"A primeira divisão pode anular a conta de origem","first_split_overrules_destination":"A primeira divisão pode anular a conta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID} (\\"{title}\\")</a> foi salva.","custom_period":"Período personalizado","reset_to_current":"Redefinir para o período atual","select_period":"Selecione um período","location":"Localização","other_budgets":"Orçamentos de períodos personalizados","journal_links":"Transações ligadas","go_to_withdrawals":"Vá para seus saques","revenue_accounts":"Contas de receitas","add_another_split":"Adicionar outra divisão","actions":"Ações","earned":"Ganho","empty":"(vazio)","edit":"Editar","never":"Nunca","account_type_Loan":"Empréstimo","account_type_Mortgage":"Hipoteca","stored_new_account_js":"Nova conta \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" armazenada!","account_type_Debt":"Dívida","delete":"Apagar","store_new_asset_account":"Armazenar nova conta de ativo","store_new_expense_account":"Armazenar nova conta de despesa","store_new_liabilities_account":"Guardar novo passivo","store_new_revenue_account":"Armazenar nova conta de receita","mandatoryFields":"Campos obrigatórios","optionalFields":"Campos opcionais","reconcile_this_account":"Concilie esta conta","interest_calc_weekly":"Por semana","interest_calc_monthly":"Por mês","interest_calc_quarterly":"Por trimestre","interest_calc_half-year":"Por semestre","interest_calc_yearly":"Por ano","liability_direction_credit":"Devo este débito","liability_direction_debit":"Devo este débito a outra pessoa","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Nenhuma transação.|Salve esta transação movendo-a para outra conta.|Salve essas transações movendo-as para outra conta.","none_in_select_list":"(nenhum)"},"list":{"piggy_bank":"Cofrinho","percentage":"pct.","amount":"Total","lastActivity":"Última atividade","name":"Nome","role":"Papel","iban":"IBAN","interest":"Juros","interest_period":"período de juros","liability_type":"Tipo de passivo","liability_direction":"(list.liability_direction)","currentBalance":"Saldo atual","next_expected_match":"Próximo correspondente esperado"},"config":{"html_language":"pt-br","week_in_year_fns":"\'Semana\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'T\'Q, yyyy","half_year_fns":"\'S{half}\', yyyy"},"form":{"foreign_amount":"Montante em moeda estrangeira","interest_date":"Data de interesse","name":"Nome","amount":"Valor","iban":"IBAN","BIC":"BIC","notes":"Notas","location":"Localização","attachments":"Anexos","active":"Ativar","include_net_worth":"Incluir no patrimonio liquido","account_number":"Número de conta","virtual_balance":"Saldo virtual","opening_balance":"Saldo inicial","opening_balance_date":"Data do saldo inicial","date":"Data","interest":"Juros","interest_period":"Período de juros","currency_id":"Moeda","liability_type":"Tipo de passivo","account_role":"Função de conta","liability_direction":"Passivo entrada/saída","book_date":"Data reserva","permDeleteWarning":"Exclusão de dados do Firefly III são permanentes e não podem ser desfeitos.","account_areYouSure_js":"Tem certeza que deseja excluir a conta \\"{name}\\"?","also_delete_piggyBanks_js":"Sem cofrinhos|O único cofrinho conectado a esta conta também será excluído.|Todos os {count} cofrinhos conectados a esta conta também serão excluídos.","also_delete_transactions_js":"Sem transações|A única transação conectada a esta conta também será excluída.|Todas as {count} transações conectadas a essa conta também serão excluídas.","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da Fatura"}}')},8664:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transferência","Withdrawal":"Levantamento","Deposit":"Depósito","date_and_time":"Data e hora","no_currency":"(sem moeda)","date":"Data","time":"Hora","no_budget":"(sem orçamento)","destination_account":"Conta de destino","source_account":"Conta de origem","single_split":"Dividir","create_new_transaction":"Criar uma nova transação","balance":"Saldo","transaction_journal_extra":"Informações extra","transaction_journal_meta":"Meta informação","basic_journal_information":"Informações básicas de transação","bills_to_pay":"Faturas a pagar","left_to_spend":"Restante para gastar","attachments":"Anexos","net_worth":"Patrimonio liquido","bill":"Fatura","no_bill":"(sem fatura)","tags":"Etiquetas","internal_reference":"Referência interna","external_url":"URL Externo","no_piggy_bank":"(nenhum mealheiro)","paid":"Pago","notes":"Notas","yourAccounts":"As suas contas","go_to_asset_accounts":"Ver as contas de activos","delete_account":"Apagar conta de utilizador","transaction_table_description":"Uma tabela com as suas transacções","account":"Conta","description":"Descricao","amount":"Montante","budget":"Orcamento","category":"Categoria","opposing_account":"Conta oposta","budgets":"Orçamentos","categories":"Categorias","go_to_budgets":"Ir para os seus orçamentos","income":"Receita / renda","go_to_deposits":"Ir para depósitos","go_to_categories":"Ir para categorias","expense_accounts":"Conta de despesas","go_to_expenses":"Ir para despesas","go_to_bills":"Ir para as faturas","bills":"Faturas","last_thirty_days":"Últimos trinta dias","last_seven_days":"Últimos sete dias","go_to_piggies":"Ir para mealheiros","saved":"Guardado","piggy_banks":"Mealheiros","piggy_bank":"Mealheiro","amounts":"Montantes","left":"Em falta","spent":"Gasto","Default asset account":"Conta de activos padrão","search_results":"Resultados da pesquisa","include":"Incluir?","transaction":"Transacção","account_role_defaultAsset":"Conta de activos padrão","account_role_savingAsset":"Conta poupança","account_role_sharedAsset":"Conta de activos partilhados","clear_location":"Limpar localização","account_role_ccAsset":"Cartão de credito","account_role_cashWalletAsset":"Carteira de dinheiro","daily_budgets":"Orçamento diário","weekly_budgets":"Orçamento semanal","monthly_budgets":"Orçamento mensal","quarterly_budgets":"Orçamento trimestral","create_new_expense":"Criar nova conta de despesas","create_new_revenue":"Criar nova conta de receitas","create_new_liabilities":"Criar novo passivo","half_year_budgets":"Orçamento semestral","yearly_budgets":"Orçamento anual","split_transaction_title":"Descrição da transacção dividida","errors_submission":"Aconteceu algo errado com a sua submissão. Por favor, verifique os erros.","flash_error":"Erro!","store_transaction":"Guardar transação","flash_success":"Sucesso!","create_another":"Depois de guardar, voltar aqui para criar outra.","update_transaction":"Actualizar transacção","after_update_create_another":"Após a atualização, regresse aqui para continuar a editar.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") não recebeu nenhuma alteração.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") foi atualizada.","spent_x_of_y":"Gasto {amount} de {total}","search":"Procurar","create_new_asset":"Criar nova conta de activos","asset_accounts":"Conta de activos","reset_after":"Repor o formulário após o envio","bill_paid_on":"Pago a {date}","first_split_decides":"A primeira divisão determina o valor deste campo","first_split_overrules_source":"A primeira divisão pode anular a conta de origem","first_split_overrules_destination":"A primeira divisão pode anular a conta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID} (\\"{title}\\")</a> foi guardada.","custom_period":"Período personalizado","reset_to_current":"Reiniciar o período personalizado","select_period":"Selecionar um período","location":"Localização","other_budgets":"Orçamentos de tempo personalizado","journal_links":"Ligações de transacção","go_to_withdrawals":"Ir para os seus levantamentos","revenue_accounts":"Conta de receitas","add_another_split":"Adicionar outra divisão","actions":"Ações","earned":"Ganho","empty":"(vazio)","edit":"Alterar","never":"Nunca","account_type_Loan":"Emprestimo","account_type_Mortgage":"Hipoteca","stored_new_account_js":"Nova conta \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" armazenada!","account_type_Debt":"Debito","delete":"Apagar","store_new_asset_account":"Guardar nova conta de activos","store_new_expense_account":"Guardar nova conta de despesas","store_new_liabilities_account":"Guardar novo passivo","store_new_revenue_account":"Guardar nova conta de receitas","mandatoryFields":"Campos obrigatorios","optionalFields":"Campos opcionais","reconcile_this_account":"Reconciliar esta conta","interest_calc_weekly":"Por semana","interest_calc_monthly":"Mensal","interest_calc_quarterly":"Por trimestre","interest_calc_half-year":"Por meio ano","interest_calc_yearly":"Anual","liability_direction_credit":"Esta dívida é-me devida","liability_direction_debit":"Devo esta dívida a outra pessoa","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Nenhuma transação| Guarde esta transação movendo-a para outra conta| Guarde estas transações movendo-as para outra conta.","none_in_select_list":"(nenhum)"},"list":{"piggy_bank":"Mealheiro","percentage":"%.","amount":"Montante","lastActivity":"Ultima actividade","name":"Nome","role":"Regra","iban":"IBAN","interest":"Juro","interest_period":"periodo de juros","liability_type":"Tipo de responsabilidade","liability_direction":"(list.liability_direction)","currentBalance":"Saldo actual","next_expected_match":"Proxima correspondencia esperada"},"config":{"html_language":"pt","week_in_year_fns":"\'Semana\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Trimestre\' Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Montante estrangeiro","interest_date":"Data de juros","name":"Nome","amount":"Montante","iban":"IBAN","BIC":"BIC","notes":"Notas","location":"Localização","attachments":"Anexos","active":"Activo","include_net_worth":"Incluir no patrimonio liquido","account_number":"Número de conta","virtual_balance":"Saldo virtual","opening_balance":"Saldo inicial","opening_balance_date":"Data do saldo inicial","date":"Data","interest":"Juro","interest_period":"Periodo de juros","currency_id":"Divisa","liability_type":"Tipo de responsabilidade","account_role":"Tipo de conta","liability_direction":"Responsabilidade entrada/saída","book_date":"Data de registo","permDeleteWarning":"Apagar as tuas coisas do Firefly III e permanente e nao pode ser desfeito.","account_areYouSure_js":"Tem a certeza que deseja eliminar a conta denominada por \\"{name}?","also_delete_piggyBanks_js":"Nenhum mealheiro|O único mealheiro ligado a esta conta será também eliminado.|Todos os {count} mealheiros ligados a esta conta serão também eliminados.","also_delete_transactions_js":"Nenhuma transação| A única transação ligada a esta conta será também excluída.|Todas as {count} transações ligadas a esta conta serão também excluídas.","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da factura"}}')},1102:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Retragere","Deposit":"Depozit","date_and_time":"Data și ora","no_currency":"(nici o monedă)","date":"Dată","time":"Timp","no_budget":"(nici un buget)","destination_account":"Contul de destinație","source_account":"Contul sursă","single_split":"Împarte","create_new_transaction":"Creați o tranzacție nouă","balance":"Balantă","transaction_journal_extra":"Informații suplimentare","transaction_journal_meta":"Informații meta","basic_journal_information":"Informații de bază despre tranzacție","bills_to_pay":"Facturile de plată","left_to_spend":"Ramas de cheltuit","attachments":"Atașamente","net_worth":"Valoarea netă","bill":"Factură","no_bill":"(fără factură)","tags":"Etichete","internal_reference":"Referință internă","external_url":"URL extern","no_piggy_bank":"(nicio pușculiță)","paid":"Plătit","notes":"Notițe","yourAccounts":"Conturile dvs.","go_to_asset_accounts":"Vizualizați conturile de active","delete_account":"Șterge account","transaction_table_description":"Un tabel care conține tranzacțiile tale","account":"Cont","description":"Descriere","amount":"Sumă","budget":"Buget","category":"Categorie","opposing_account":"Cont opus","budgets":"Buget","categories":"Categorii","go_to_budgets":"Mergi la bugete","income":"Venituri","go_to_deposits":"Du-te la depozite","go_to_categories":"Mergi la categorii","expense_accounts":"Conturi de cheltuieli","go_to_expenses":"Mergi la cheltuieli","go_to_bills":"Mergi la facturi","bills":"Facturi","last_thirty_days":"Ultimele 30 de zile","last_seven_days":"Ultimele 7 zile","go_to_piggies":"Mergi la pușculiță","saved":"Salvat","piggy_banks":"Pușculiță","piggy_bank":"Pușculiță","amounts":"Sume","left":"Rămas","spent":"Cheltuit","Default asset account":"Cont de active implicit","search_results":"Rezultatele căutarii","include":"Include?","transaction":"Tranzacţie","account_role_defaultAsset":"Contul implicit activ","account_role_savingAsset":"Cont de economii","account_role_sharedAsset":"Contul de active partajat","clear_location":"Ștergeți locația","account_role_ccAsset":"Card de credit","account_role_cashWalletAsset":"Cash - Numerar","daily_budgets":"Bugete zilnice","weekly_budgets":"Bugete săptămânale","monthly_budgets":"Bugete lunare","quarterly_budgets":"Bugete trimestriale","create_new_expense":"Creați un nou cont de cheltuieli","create_new_revenue":"Creați un nou cont de venituri","create_new_liabilities":"Creare provizion nou","half_year_budgets":"Bugete semestriale","yearly_budgets":"Bugete anuale","split_transaction_title":"Descrierea tranzacției divizate","errors_submission":"A fost ceva în neregulă cu depunerea ta. Te rugăm să verifici erorile.","flash_error":"Eroare!","store_transaction":"Tranzacție magazin","flash_success":"Succes!","create_another":"După stocare, reveniți aici pentru a crea alta.","update_transaction":"Actualizați tranzacția","after_update_create_another":"După actualizare, reveniți aici pentru a continua editarea.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Tranzacția #{ID}</a> (\\"{title}\\") nu a primit nicio modificare.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Tranzacția #{ID}</a> (\\"{title}\\") a fost actualizată.","spent_x_of_y":"Cheltuit {amount} din {total}","search":"Caută","create_new_asset":"Creați un nou cont de active","asset_accounts":"Conturile de active","reset_after":"Resetați formularul după trimitere","bill_paid_on":"Plătit pe {date}","first_split_decides":"Prima împărțire determină valoarea acestui câmp","first_split_overrules_source":"Prima împărțire poate suprascrie contul sursă","first_split_overrules_destination":"Prima împărțire poate suprascrie contul de destinație","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Tranzacția #{ID} (\\"{title}\\")</a> a fost stocată.","custom_period":"Perioadă personalizată","reset_to_current":"Resetare la perioada curentă","select_period":"Selectați o perioadă","location":"Locație","other_budgets":"Bugete personalizate temporale","journal_links":"Link-uri de tranzacții","go_to_withdrawals":"Mergi la retragerile tale","revenue_accounts":"Conturi de venituri","add_another_split":"Adăugați o divizare","actions":"Acțiuni","earned":"Câștigat","empty":"(gol)","edit":"Editează","never":"Niciodată","account_type_Loan":"Împrumut","account_type_Mortgage":"Credit ipotecar","stored_new_account_js":"Cont nou \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stocat!","account_type_Debt":"Datorie","delete":"Șterge","store_new_asset_account":"Salvați un nou cont de active","store_new_expense_account":"Salvați un nou cont de cheltuieli","store_new_liabilities_account":"Salvați provizion nou","store_new_revenue_account":"Salvați un nou cont de venituri","mandatoryFields":"Câmpuri obligatorii","optionalFields":"Câmpuri opționale","reconcile_this_account":"Reconciliați acest cont","interest_calc_weekly":"Pe săptămână","interest_calc_monthly":"Pe lună","interest_calc_quarterly":"Pe trimestru","interest_calc_half-year":"Pe jumătate de an","interest_calc_yearly":"Pe an","liability_direction_credit":"Sunt datorat acestei datorii","liability_direction_debit":"Datorăm această datorie altcuiva","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Fără tranzacții* Salvați această tranzacție mutând-o în alt cont. | Salvați aceste tranzacții mutându-le într-un alt cont.","none_in_select_list":"(nici unul)"},"list":{"piggy_bank":"Pușculiță","percentage":"procent %","amount":"Sumă","lastActivity":"Ultima activitate","name":"Nume","role":"Rol","iban":"IBAN","interest":"Interes","interest_period":"perioadă de interes","liability_type":"Tip de provizion","liability_direction":"(list.liability_direction)","currentBalance":"Sold curent","next_expected_match":"Următoarea potrivire așteptată"},"config":{"html_language":"ro","week_in_year_fns":"\'Săptămână\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyy"},"form":{"foreign_amount":"Sumă străină","interest_date":"Data de interes","name":"Nume","amount":"Sumă","iban":"IBAN","BIC":"BIC","notes":"Notițe","location":"Locație","attachments":"Fișiere atașate","active":"Activ","include_net_worth":"Includeți în valoare netă","account_number":"Număr de cont","virtual_balance":"Soldul virtual","opening_balance":"Soldul de deschidere","opening_balance_date":"Data soldului de deschidere","date":"Dată","interest":"Interes","interest_period":"Perioadă de interes","currency_id":"Monedă","liability_type":"Tipul de provizion","account_role":"Rolul contului","liability_direction":"Răspundere în/afară","book_date":"Rezervă dată","permDeleteWarning":"Ștergerea este permanentă și nu poate fi anulată.","account_areYouSure_js":"Sunteţi sigur că doriţi să ştergeţi contul numit \\"{name}\\"?","also_delete_piggyBanks_js":"Nici o pușculiță | Singura pușculiță conectată la acest cont va fi de asemenea ștearsă. Toate cele {count} pușculițe conectate la acest cont vor fi șterse, de asemenea.","also_delete_transactions_js":"Nicio tranzacție | Singura tranzacție conectată la acest cont va fi de asemenea ștearsă. | Toate cele {count} tranzacții conectate la acest cont vor fi șterse, de asemenea.","process_date":"Data procesării","due_date":"Data scadentă","payment_date":"Data de plată","invoice_date":"Data facturii"}}')},753:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Перевод","Withdrawal":"Расход","Deposit":"Доход","date_and_time":"Дата и время","no_currency":"(нет валюты)","date":"Дата","time":"Время","no_budget":"(вне бюджета)","destination_account":"Счёт назначения","source_account":"Счёт-источник","single_split":"Разделённая транзакция","create_new_transaction":"Создать новую транзакцию","balance":"Бaлaнc","transaction_journal_extra":"Дополнительные сведения","transaction_journal_meta":"Дополнительная информация","basic_journal_information":"Основная информация о транзакции","bills_to_pay":"Счета к оплате","left_to_spend":"Осталось потратить","attachments":"Вложения","net_worth":"Мои сбережения","bill":"Счёт к оплате","no_bill":"(нет счёта на оплату)","tags":"Метки","internal_reference":"Внутренняя ссылка","external_url":"Внешний URL-адрес","no_piggy_bank":"(нет копилки)","paid":"Оплачено","notes":"Заметки","yourAccounts":"Ваши счета","go_to_asset_accounts":"Просмотр ваших основных счетов","delete_account":"Удалить профиль","transaction_table_description":"Таблица, содержащая ваши транзакции","account":"Счёт","description":"Описание","amount":"Сумма","budget":"Бюджет","category":"Категория","opposing_account":"Противодействующий счёт","budgets":"Бюджет","categories":"Категории","go_to_budgets":"Перейти к вашим бюджетам","income":"Мои доходы","go_to_deposits":"Перейти ко вкладам","go_to_categories":"Перейти к вашим категориям","expense_accounts":"Счета расходов","go_to_expenses":"Перейти к расходам","go_to_bills":"Перейти к вашим счетам на оплату","bills":"Счета к оплате","last_thirty_days":"Последние 30 дней","last_seven_days":"Последние 7 дней","go_to_piggies":"Перейти к вашим копилкам","saved":"Сохранено","piggy_banks":"Копилки","piggy_bank":"Копилка","amounts":"Сумма","left":"Осталось","spent":"Расход","Default asset account":"Счёт по умолчанию","search_results":"Результаты поиска","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Счёт по умолчанию","account_role_savingAsset":"Сберегательный счет","account_role_sharedAsset":"Общий основной счёт","clear_location":"Очистить местоположение","account_role_ccAsset":"Кредитная карта","account_role_cashWalletAsset":"Наличные","daily_budgets":"Бюджеты на день","weekly_budgets":"Бюджеты на неделю","monthly_budgets":"Бюджеты на месяц","quarterly_budgets":"Бюджеты на квартал","create_new_expense":"Создать новый счёт расхода","create_new_revenue":"Создать новый счёт дохода","create_new_liabilities":"Create new liability","half_year_budgets":"Бюджеты на полгода","yearly_budgets":"Годовые бюджеты","split_transaction_title":"Описание разделённой транзакции","errors_submission":"При отправке что-то пошло не так. Пожалуйста, проверьте ошибки ниже.","flash_error":"Ошибка!","store_transaction":"Сохранить транзакцию","flash_success":"Успешно!","create_another":"После сохранения вернуться сюда и создать ещё одну аналогичную запись.","update_transaction":"Обновить транзакцию","after_update_create_another":"После обновления вернитесь сюда, чтобы продолжить редактирование.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Поиск","create_new_asset":"Создать новый активный счёт","asset_accounts":"Основные счета","reset_after":"Сбросить форму после отправки","bill_paid_on":"Оплачено {date}","first_split_decides":"В данном поле используется значение из первой части разделенной транзакции","first_split_overrules_source":"Значение из первой части транзакции может изменить счет источника","first_split_overrules_destination":"Значение из первой части транзакции может изменить счет назначения","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID} (\\"{title}\\")</a> сохранена.","custom_period":"Пользовательский период","reset_to_current":"Сброс к текущему периоду","select_period":"Выберите период","location":"Размещение","other_budgets":"Бюджеты на произвольный отрезок времени","journal_links":"Связи транзакции","go_to_withdrawals":"Перейти к вашим расходам","revenue_accounts":"Счета доходов","add_another_split":"Добавить еще одну часть","actions":"Действия","earned":"Заработано","empty":"(пусто)","edit":"Изменить","never":"Никогда","account_type_Loan":"Заём","account_type_Mortgage":"Ипотека","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Дебит","delete":"Удалить","store_new_asset_account":"Сохранить новый основной счёт","store_new_expense_account":"Сохранить новый счёт расхода","store_new_liabilities_account":"Сохранить новое обязательство","store_new_revenue_account":"Сохранить новый счёт дохода","mandatoryFields":"Обязательные поля","optionalFields":"Дополнительные поля","reconcile_this_account":"Произвести сверку данного счёта","interest_calc_weekly":"Per week","interest_calc_monthly":"В месяц","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"В год","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(нет)"},"list":{"piggy_bank":"Копилка","percentage":"процентов","amount":"Сумма","lastActivity":"Последняя активность","name":"Имя","role":"Роль","iban":"IBAN","interest":"Процентная ставка","interest_period":"период начисления процентов","liability_type":"Тип ответственности","liability_direction":"(list.liability_direction)","currentBalance":"Текущий баланс","next_expected_match":"Следующий ожидаемый результат"},"config":{"html_language":"ru","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Сумма в иностранной валюте","interest_date":"Дата начисления процентов","name":"Название","amount":"Сумма","iban":"IBAN","BIC":"BIC","notes":"Заметки","location":"Местоположение","attachments":"Вложения","active":"Активный","include_net_worth":"Включать в \\"Мои сбережения\\"","account_number":"Номер счёта","virtual_balance":"Виртуальный баланс","opening_balance":"Начальный баланс","opening_balance_date":"Дата начального баланса","date":"Дата","interest":"Процентная ставка","interest_period":"Период начисления процентов","currency_id":"Валюта","liability_type":"Liability type","account_role":"Тип счета","liability_direction":"Liability in/out","book_date":"Дата бронирования","permDeleteWarning":"Удаление информации из Firefly III является постоянным и не может быть отменено.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Дата обработки","due_date":"Срок оплаты","payment_date":"Дата платежа","invoice_date":"Дата выставления счёта"}}')},7049:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Prevod","Withdrawal":"Výber","Deposit":"Vklad","date_and_time":"Dátum a čas","no_currency":"(žiadna mena)","date":"Dátum","time":"Čas","no_budget":"(žiadny rozpočet)","destination_account":"Cieľový účet","source_account":"Zdrojový účet","single_split":"Rozúčtovať","create_new_transaction":"Vytvoriť novú transakciu","balance":"Zostatok","transaction_journal_extra":"Ďalšie informácie","transaction_journal_meta":"Meta informácie","basic_journal_information":"Základné Informácie o transakcii","bills_to_pay":"Účty na úhradu","left_to_spend":"Zostáva k útrate","attachments":"Prílohy","net_worth":"Čisté imanie","bill":"Účet","no_bill":"(žiadny účet)","tags":"Štítky","internal_reference":"Interná referencia","external_url":"Externá URL","no_piggy_bank":"(žiadna pokladnička)","paid":"Uhradené","notes":"Poznámky","yourAccounts":"Vaše účty","go_to_asset_accounts":"Zobraziť účty aktív","delete_account":"Odstrániť účet","transaction_table_description":"Tabuľka obsahujúca vaše transakcie","account":"Účet","description":"Popis","amount":"Suma","budget":"Rozpočet","category":"Kategória","opposing_account":"Cieľový účet","budgets":"Rozpočty","categories":"Kategórie","go_to_budgets":"Zobraziť rozpočty","income":"Zisky / príjmy","go_to_deposits":"Zobraziť vklady","go_to_categories":"Zobraziť kategórie","expense_accounts":"Výdavkové účty","go_to_expenses":"Zobraziť výdavky","go_to_bills":"Zobraziť účty","bills":"Účty","last_thirty_days":"Uplynulých 30 dní","last_seven_days":"Uplynulých 7 dní","go_to_piggies":"Zobraziť pokladničky","saved":"Uložené","piggy_banks":"Pokladničky","piggy_bank":"Pokladnička","amounts":"Suma","left":"Zostáva","spent":"Utratené","Default asset account":"Prednastavený účet aktív","search_results":"Výsledky vyhľadávania","include":"Zahrnúť?","transaction":"Transakcia","account_role_defaultAsset":"Predvolený účet aktív","account_role_savingAsset":"Šetriaci účet","account_role_sharedAsset":"Zdieľaný účet aktív","clear_location":"Odstrániť pozíciu","account_role_ccAsset":"Kreditná karta","account_role_cashWalletAsset":"Peňaženka","daily_budgets":"Denné rozpočty","weekly_budgets":"Týždenné rozpočty","monthly_budgets":"Mesačné rozpočty","quarterly_budgets":"Štvrťročné rozpočty","create_new_expense":"Vytvoriť výdavkoý účet","create_new_revenue":"Vytvoriť nový príjmový účet","create_new_liabilities":"Vytvoriť nový záväzok","half_year_budgets":"Polročné rozpočty","yearly_budgets":"Ročné rozpočty","split_transaction_title":"Popis rozúčtovania","errors_submission":"Pri odosielaní sa niečo nepodarilo. Skontrolujte prosím chyby.","flash_error":"Chyba!","store_transaction":"Uložiť transakciu","flash_success":"Hotovo!","create_another":"Po uložení sa vrátiť späť sem a vytvoriť ďalší.","update_transaction":"Upraviť transakciu","after_update_create_another":"Po aktualizácii sa vrátiť späť a pokračovať v úpravách.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transakcia #{ID}</a> (\\"{title}\\") sa nezmenila.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transakcia #{ID}</a> (\\"{title}\\") bola upravená.","spent_x_of_y":"Utratené {amount} z {total}","search":"Hľadať","create_new_asset":"Vytvoriť nový účet aktív","asset_accounts":"Účty aktív","reset_after":"Po odoslaní vynulovať formulár","bill_paid_on":"Uhradené {date}","first_split_decides":"Hodnotu tohto atribútu určuje prvé rozdelenie","first_split_overrules_source":"Prvé rozdelenie môže pozmeniť zdrojový účet","first_split_overrules_destination":"Prvé rozdelenie môže pozmeniť cieľový účet","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transakcia #{ID} (\\"{title}\\")</a> bola uložená.","custom_period":"Vlastné obdobie","reset_to_current":"Obnoviť na aktuálne obdobie","select_period":"Vyberte obdobie","location":"Poloha","other_budgets":"Špecifické časované rozpočty","journal_links":"Prepojenia transakcie","go_to_withdrawals":"Zobraziť výbery","revenue_accounts":"Výnosové účty","add_another_split":"Pridať ďalšie rozúčtovanie","actions":"Akcie","earned":"Zarobené","empty":"(prázdne)","edit":"Upraviť","never":"Nikdy","account_type_Loan":"Pôžička","account_type_Mortgage":"Hypotéka","stored_new_account_js":"Nový účet \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" vytvorený!","account_type_Debt":"Dlh","delete":"Odstrániť","store_new_asset_account":"Uložiť nový účet aktív","store_new_expense_account":"Uložiť nový výdavkový účet","store_new_liabilities_account":"Uložiť nový záväzok","store_new_revenue_account":"Uložiť nový príjmový účet","mandatoryFields":"Povinné údaje","optionalFields":"Voliteľné údaje","reconcile_this_account":"Vyúčtovat tento účet","interest_calc_weekly":"Za týždeň","interest_calc_monthly":"Za mesiac","interest_calc_quarterly":"Za štvrťrok","interest_calc_half-year":"Za polrok","interest_calc_yearly":"Za rok","liability_direction_credit":"Túto sumu mi dlžia","liability_direction_debit":"Tento dlh mám voči niekomu inému","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Žiadne transakcie|Zachovať túto transakciu presunom pod iný účet.|Zachovať tieto transakcie presunom pod iný účet.","none_in_select_list":"(žiadne)"},"list":{"piggy_bank":"Pokladnička","percentage":"perc.","amount":"Suma","lastActivity":"Posledná aktivita","name":"Meno/Názov","role":"Rola","iban":"IBAN","interest":"Úrok","interest_period":"úrokové obdobie","liability_type":"Typ záväzku","liability_direction":"(list.liability_direction)","currentBalance":"Aktuálny zostatok","next_expected_match":"Ďalšia očakávaná zhoda"},"config":{"html_language":"sk","week_in_year_fns":"\'Týždeň\' tt, rrrr","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, rrrr","half_year_fns":"\'H{half}\', rrrr"},"form":{"foreign_amount":"Suma v cudzej mene","interest_date":"Úrokový dátum","name":"Názov","amount":"Suma","iban":"IBAN","BIC":"BIC","notes":"Poznámky","location":"Údaje o polohe","attachments":"Prílohy","active":"Aktívne","include_net_worth":"Zahrnúť do čistého majetku","account_number":"Číslo účtu","virtual_balance":"Virtuálnu zostatok","opening_balance":"Počiatočný zostatok","opening_balance_date":"Dátum počiatočného zostatku","date":"Dátum","interest":"Úrok","interest_period":"Úrokové obdobie","currency_id":"Mena","liability_type":"Typ záväzku","account_role":"Rola účtu","liability_direction":"Záväzky príjem/výdaj","book_date":"Dátum rezervácie","permDeleteWarning":"Odstránenie údajov z Firefly III je trvalé a nie je možné ich vrátiť späť.","account_areYouSure_js":"Skutočne chcete odstrániť účet s názvom \\"{name}\\"?","also_delete_piggyBanks_js":"Žiadne prasiatko|Odstráni sa tiež jediné prasiatko prepojené s týmto účtom.|Odstráni sa tiež {count} prasiatok prepojených s týmto účtom.","also_delete_transactions_js":"Žiadne transakcie|Odstráni sa aj jediná transakcia spojená s týmto účtom.|Odstráni sa tiež {count} transakcií spojených s týmto účtom.","process_date":"Dátum spracovania","due_date":"Dátum splatnosti","payment_date":"Dátum úhrady","invoice_date":"Dátum vystavenia"}}')},7921:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Överföring","Withdrawal":"Uttag","Deposit":"Insättning","date_and_time":"Datum och tid","no_currency":"(ingen valuta)","date":"Datum","time":"Tid","no_budget":"(ingen budget)","destination_account":"Till konto","source_account":"Källkonto","single_split":"Dela","create_new_transaction":"Skapa en ny transaktion","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metadata","basic_journal_information":"Grundläggande transaktionsinformation","bills_to_pay":"Notor att betala","left_to_spend":"Återstår att spendera","attachments":"Bilagor","net_worth":"Nettoförmögenhet","bill":"Nota","no_bill":"(ingen räkning)","tags":"Etiketter","internal_reference":"Intern referens","external_url":"Extern URL","no_piggy_bank":"(ingen spargris)","paid":"Betald","notes":"Noteringar","yourAccounts":"Dina konton","go_to_asset_accounts":"Visa dina tillgångskonton","delete_account":"Ta bort konto","transaction_table_description":"En tabell som innehåller dina transaktioner","account":"Konto","description":"Beskrivning","amount":"Belopp","budget":"Budget","category":"Kategori","opposing_account":"Motsatt konto","budgets":"Budgetar","categories":"Kategorier","go_to_budgets":"Gå till dina budgetar","income":"Intäkter / inkomster","go_to_deposits":"Gå till insättningar","go_to_categories":"Gå till dina kategorier","expense_accounts":"Kostnadskonto","go_to_expenses":"Gå till utgifter","go_to_bills":"Gå till dina notor","bills":"Notor","last_thirty_days":"Senaste 30 dagarna","last_seven_days":"Senaste 7 dagarna","go_to_piggies":"Gå till dina sparbössor","saved":"Sparad","piggy_banks":"Spargrisar","piggy_bank":"Spargris","amounts":"Belopp","left":"Återstår","spent":"Spenderat","Default asset account":"Förvalt tillgångskonto","search_results":"Sökresultat","include":"Inkludera?","transaction":"Transaktion","account_role_defaultAsset":"Förvalt tillgångskonto","account_role_savingAsset":"Sparkonto","account_role_sharedAsset":"Delat tillgångskonto","clear_location":"Rena plats","account_role_ccAsset":"Kreditkort","account_role_cashWalletAsset":"Plånbok","daily_budgets":"Dagliga budgetar","weekly_budgets":"Veckovis budgetar","monthly_budgets":"Månatliga budgetar","quarterly_budgets":"Kvartalsbudgetar","create_new_expense":"Skapa ett nytt utgiftskonto","create_new_revenue":"Skapa ett nytt intäktskonto","create_new_liabilities":"Skapa ny skuld","half_year_budgets":"Halvårsbudgetar","yearly_budgets":"Årliga budgetar","split_transaction_title":"Beskrivning av delad transaktion","errors_submission":"Något fel uppstod med inskickningen. Vänligen kontrollera felen nedan.","flash_error":"Fel!","store_transaction":"Lagra transaktion","flash_success":"Slutförd!","create_another":"Efter sparat, återkom hit för att skapa ytterligare en.","update_transaction":"Uppdatera transaktion","after_update_create_another":"Efter uppdaterat, återkom hit för att fortsätta redigera.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID}</a> (\\"{title}\\") fick inga ändringar.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID}</a> (\\"{title}\\") uppdaterades.","spent_x_of_y":"Spenderade {amount} av {total}","search":"Sök","create_new_asset":"Skapa ett nytt tillgångskonto","asset_accounts":"Tillgångskonton","reset_after":"Återställ formulär efter inskickat","bill_paid_on":"Betalad den {date}","first_split_decides":"Första delningen bestämmer värdet på detta fält","first_split_overrules_source":"Den första delningen kan åsidosätta källkontot","first_split_overrules_destination":"Den första delningen kan åsidosätta målkontot","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID} (\\"{title}\\")</a> sparades.","custom_period":"Anpassad period","reset_to_current":"Återställ till nuvarande period","select_period":"Välj en period","location":"Plats","other_budgets":"Anpassade tidsinställda budgetar","journal_links":"Transaktionslänkar","go_to_withdrawals":"Gå till dina uttag","revenue_accounts":"Intäktskonton","add_another_split":"Lägga till en annan delning","actions":"Åtgärder","earned":"Tjänat","empty":"(tom)","edit":"Redigera","never":"Aldrig","account_type_Loan":"Lån","account_type_Mortgage":"Bolån","stored_new_account_js":"Nytt konto \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" lagrat!","account_type_Debt":"Skuld","delete":"Ta bort","store_new_asset_account":"Lagra nytt tillgångskonto","store_new_expense_account":"Spara nytt utgiftskonto","store_new_liabilities_account":"Spara en ny skuld","store_new_revenue_account":"Spara nytt intäktskonto","mandatoryFields":"Obligatoriska fält","optionalFields":"Valfria fält","reconcile_this_account":"Stäm av detta konto","interest_calc_weekly":"Per vecka","interest_calc_monthly":"Per månad","interest_calc_quarterly":"Per kvartal","interest_calc_half-year":"Per halvår","interest_calc_yearly":"Per år","liability_direction_credit":"Jag är skyldig denna skuld","liability_direction_debit":"Jag är skyldig någon annan denna skuld","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Inga transaktioner|Spara denna transaktion genom att flytta den till ett annat konto.|Spara dessa transaktioner genom att flytta dem till ett annat konto.","none_in_select_list":"(Ingen)"},"list":{"piggy_bank":"Spargris","percentage":"procent","amount":"Belopp","lastActivity":"Senaste aktivitet","name":"Namn","role":"Roll","iban":"IBAN","interest":"Ränta","interest_period":"ränteperiod","liability_type":"Typ av ansvar","liability_direction":"(list.liability_direction)","currentBalance":"Nuvarande saldo","next_expected_match":"Nästa förväntade träff"},"config":{"html_language":"sv","week_in_year_fns":"\'Vecka\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'kvartal\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Utländskt belopp","interest_date":"Räntedatum","name":"Namn","amount":"Belopp","iban":"IBAN","BIC":"BIC","notes":"Anteckningar","location":"Plats","attachments":"Bilagor","active":"Aktiv","include_net_worth":"Inkludera i nettovärde","account_number":"Kontonummer","virtual_balance":"Virtuell balans","opening_balance":"Ingående balans","opening_balance_date":"Ingående balans datum","date":"Datum","interest":"Ränta","interest_period":"Ränteperiod","currency_id":"Valuta","liability_type":"Typ av ansvar","account_role":"Konto roll","liability_direction":"Ansvar in/ut","book_date":"Bokföringsdatum","permDeleteWarning":"Att ta bort saker från Firefly III är permanent och kan inte ångras.","account_areYouSure_js":"Är du säker du vill ta bort kontot \\"{name}\\"?","also_delete_piggyBanks_js":"Inga spargrisar|Den enda spargrisen som är ansluten till detta konto kommer också att tas bort.|Alla {count} spargrisar anslutna till detta konto kommer också att tas bort.","also_delete_transactions_js":"Inga transaktioner|Den enda transaktionen som är ansluten till detta konto kommer också att tas bort.|Alla {count} transaktioner som är kopplade till detta konto kommer också att tas bort.","process_date":"Behandlingsdatum","due_date":"Förfallodatum","payment_date":"Betalningsdatum","invoice_date":"Fakturadatum"}}')},1497:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Chuyển khoản","Withdrawal":"Rút tiền","Deposit":"Tiền gửi","date_and_time":"Date and time","no_currency":"(không có tiền tệ)","date":"Ngày","time":"Time","no_budget":"(không có ngân sách)","destination_account":"Tài khoản đích","source_account":"Nguồn tài khoản","single_split":"Chia ra","create_new_transaction":"Tạo giao dịch mới","balance":"Tiền còn lại","transaction_journal_extra":"Extra information","transaction_journal_meta":"Thông tin tổng hợp","basic_journal_information":"Basic transaction information","bills_to_pay":"Hóa đơn phải trả","left_to_spend":"Còn lại để chi tiêu","attachments":"Tệp đính kèm","net_worth":"Tài sản thực","bill":"Hóa đơn","no_bill":"(no bill)","tags":"Nhãn","internal_reference":"Tài liệu tham khảo nội bộ","external_url":"URL bên ngoài","no_piggy_bank":"(chưa có heo đất)","paid":"Đã thanh toán","notes":"Ghi chú","yourAccounts":"Tài khoản của bạn","go_to_asset_accounts":"Xem tài khoản của bạn","delete_account":"Xóa tài khoản","transaction_table_description":"A table containing your transactions","account":"Tài khoản","description":"Sự miêu tả","amount":"Số tiền","budget":"Ngân sách","category":"Danh mục","opposing_account":"Opposing account","budgets":"Ngân sách","categories":"Danh mục","go_to_budgets":"Chuyển đến ngân sách của bạn","income":"Thu nhập doanh thu","go_to_deposits":"Go to deposits","go_to_categories":"Đi đến danh mục của bạn","expense_accounts":"Tài khoản chi phí","go_to_expenses":"Go to expenses","go_to_bills":"Đi đến hóa đơn của bạn","bills":"Hóa đơn","last_thirty_days":"Ba mươi ngày gần đây","last_seven_days":"Bảy ngày gần đây","go_to_piggies":"Tới heo đất của bạn","saved":"Đã lưu","piggy_banks":"Heo đất","piggy_bank":"Heo đất","amounts":"Amounts","left":"Còn lại","spent":"Đã chi","Default asset account":"Mặc định tài khoản","search_results":"Kết quả tìm kiếm","include":"Include?","transaction":"Giao dịch","account_role_defaultAsset":"tài khoản mặc định","account_role_savingAsset":"Tài khoản tiết kiệm","account_role_sharedAsset":"tài khoản dùng chung","clear_location":"Xóa vị trí","account_role_ccAsset":"Thẻ tín dụng","account_role_cashWalletAsset":"Ví tiền mặt","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Tạo tài khoản chi phí mới","create_new_revenue":"Tạo tài khoản doanh thu mới","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Mô tả giao dịch tách","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Lỗi!","store_transaction":"Store transaction","flash_success":"Thành công!","create_another":"Sau khi lưu trữ, quay trở lại đây để tạo một cái khác.","update_transaction":"Cập nhật giao dịch","after_update_create_another":"Sau khi cập nhật, quay lại đây để tiếp tục chỉnh sửa.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Tìm kiếm","create_new_asset":"Tạo tài khoản mới","asset_accounts":"tài khoản","reset_after":"Đặt lại mẫu sau khi gửi","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Giao dịch #{ID} (\\"{title}\\")</a> đã được lưu trữ.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Vị trí","other_budgets":"Custom timed budgets","journal_links":"Liên kết giao dịch","go_to_withdrawals":"Chuyển đến mục rút tiền của bạn","revenue_accounts":"Tài khoản doanh thu","add_another_split":"Thêm một phân chia khác","actions":"Hành động","earned":"Kiếm được","empty":"(trống)","edit":"Sửa","never":"Không bao giờ","account_type_Loan":"Tiền vay","account_type_Mortgage":"Thế chấp","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Món nợ","delete":"Xóa","store_new_asset_account":"Lưu trữ tài khoản mới","store_new_expense_account":"Lưu trữ tài khoản chi phí mới","store_new_liabilities_account":"Lưu trữ nợ mới","store_new_revenue_account":"Lưu trữ tài khoản doanh thu mới","mandatoryFields":"Các trường bắt buộc","optionalFields":"Các trường tùy chọn","reconcile_this_account":"Điều chỉnh tài khoản này","interest_calc_weekly":"Per week","interest_calc_monthly":"Mỗi tháng","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Mỗi năm","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(Trống)"},"list":{"piggy_bank":"Ống heo con","percentage":"phần trăm.","amount":"Số tiền","lastActivity":"Hoạt động cuối cùng","name":"Tên","role":"Quy tắc","iban":"IBAN","interest":"Lãi","interest_period":"Chu kỳ lãi","liability_type":"Loại trách nhiệm pháp lý","liability_direction":"(list.liability_direction)","currentBalance":"Số dư hiện tại","next_expected_match":"Trận đấu dự kiến tiếp theo"},"config":{"html_language":"vi","week_in_year_fns":"\'Tuần\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Ngoại tệ","interest_date":"Ngày lãi","name":"Tên","amount":"Số tiền","iban":"IBAN","BIC":"BIC","notes":"Ghi chú","location":"Vị trí","attachments":"Tài liệu đính kèm","active":"Hành động","include_net_worth":"Bao gồm trong giá trị ròng","account_number":"Số tài khoản","virtual_balance":"Cân bằng ảo","opening_balance":"Số dư đầu kỳ","opening_balance_date":"Ngày mở số dư","date":"Ngày","interest":"Lãi","interest_period":"Chu kỳ lãi","currency_id":"Tiền tệ","liability_type":"Liability type","account_role":"Vai trò tài khoản","liability_direction":"Liability in/out","book_date":"Ngày đặt sách","permDeleteWarning":"Xóa nội dung khỏi Firefly III là vĩnh viễn và không thể hoàn tác.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Ngày xử lý","due_date":"Ngày đáo hạn","payment_date":"Ngày thanh toán","invoice_date":"Ngày hóa đơn"}}')},4556:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"转账","Withdrawal":"提款","Deposit":"收入","date_and_time":"日期和时间","no_currency":"(没有货币)","date":"日期","time":"时间","no_budget":"(无预算)","destination_account":"目标账户","source_account":"来源账户","single_split":"拆分","create_new_transaction":"创建新交易","balance":"余额","transaction_journal_extra":"额外信息","transaction_journal_meta":"元信息","basic_journal_information":"基础交易信息","bills_to_pay":"待付账单","left_to_spend":"剩余支出","attachments":"附件","net_worth":"净资产","bill":"账单","no_bill":"(无账单)","tags":"标签","internal_reference":"内部引用","external_url":"外部链接","no_piggy_bank":"(无存钱罐)","paid":"已付款","notes":"备注","yourAccounts":"您的账户","go_to_asset_accounts":"查看您的资产账户","delete_account":"删除账户","transaction_table_description":"包含您交易的表格","account":"账户","description":"描述","amount":"金额","budget":"预算","category":"分类","opposing_account":"对方账户","budgets":"预算","categories":"分类","go_to_budgets":"前往您的预算","income":"收入","go_to_deposits":"前往收入","go_to_categories":"前往您的分类","expense_accounts":"支出账户","go_to_expenses":"前往支出","go_to_bills":"前往账单","bills":"账单","last_thirty_days":"最近 30 天","last_seven_days":"最近 7 天","go_to_piggies":"前往您的存钱罐","saved":"已保存","piggy_banks":"存钱罐","piggy_bank":"存钱罐","amounts":"金额","left":"剩余","spent":"支出","Default asset account":"默认资产账户","search_results":"搜索结果","include":"Include?","transaction":"交易","account_role_defaultAsset":"默认资产账户","account_role_savingAsset":"储蓄账户","account_role_sharedAsset":"共用资产账户","clear_location":"清除位置","account_role_ccAsset":"信用卡","account_role_cashWalletAsset":"现金钱包","daily_budgets":"每日预算","weekly_budgets":"每周预算","monthly_budgets":"每月预算","quarterly_budgets":"每季度预算","create_new_expense":"创建新支出账户","create_new_revenue":"创建新收入账户","create_new_liabilities":"Create new liability","half_year_budgets":"每半年预算","yearly_budgets":"每年预算","split_transaction_title":"拆分交易的描述","errors_submission":"您提交的内容有误,请检查错误信息。","flash_error":"错误!","store_transaction":"保存交易","flash_success":"成功!","create_another":"保存后,返回此页面以创建新记录","update_transaction":"更新交易","after_update_create_another":"更新后,返回此页面继续编辑。","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"搜索","create_new_asset":"创建新资产账户","asset_accounts":"资产账户","reset_after":"提交后重置表单","bill_paid_on":"支付于 {date}","first_split_decides":"首笔拆分决定此字段的值","first_split_overrules_source":"首笔拆分可能覆盖来源账户","first_split_overrules_destination":"首笔拆分可能覆盖目标账户","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">交易 #{ID} (“{title}”)</a> 已保存。","custom_period":"自定义周期","reset_to_current":"重置为当前周期","select_period":"选择周期","location":"位置","other_budgets":"自定义区间预算","journal_links":"交易关联","go_to_withdrawals":"前往支出","revenue_accounts":"收入账户","add_another_split":"增加另一笔拆分","actions":"操作","earned":"收入","empty":"(空)","edit":"编辑","never":"永不","account_type_Loan":"贷款","account_type_Mortgage":"抵押","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"欠款","delete":"删除","store_new_asset_account":"保存新资产账户","store_new_expense_account":"保存新支出账户","store_new_liabilities_account":"保存新债务账户","store_new_revenue_account":"保存新收入账户","mandatoryFields":"必填字段","optionalFields":"选填字段","reconcile_this_account":"对账此账户","interest_calc_weekly":"每周","interest_calc_monthly":"每月","interest_calc_quarterly":"每季度","interest_calc_half-year":"每半年","interest_calc_yearly":"每年","liability_direction_credit":"我欠了这笔债务","liability_direction_debit":"我欠别人这笔钱","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(空)"},"list":{"piggy_bank":"存钱罐","percentage":"%","amount":"金额","lastActivity":"上次活动","name":"名称","role":"角色","iban":"国际银行账户号码(IBAN)","interest":"利息","interest_period":"利息期","liability_type":"债务类型","liability_direction":"(list.liability_direction)","currentBalance":"目前余额","next_expected_match":"预期下次支付"},"config":{"html_language":"zh-cn","week_in_year_fns":"\'周\' w,yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"外币金额","interest_date":"利息日期","name":"名称","amount":"金额","iban":"国际银行账户号码 IBAN","BIC":"银行识别代码 BIC","notes":"备注","location":"位置","attachments":"附件","active":"启用","include_net_worth":"包含于净资产","account_number":"账户号码","virtual_balance":"虚拟账户余额","opening_balance":"初始余额","opening_balance_date":"开户日期","date":"日期","interest":"利息","interest_period":"利息期","currency_id":"货币","liability_type":"债务类型","account_role":"账户角色","liability_direction":"Liability in/out","book_date":"登记日期","permDeleteWarning":"从 Firefly III 删除内容是永久且无法恢复的。","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"处理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"发票日期"}}')},1715:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"轉帳","Withdrawal":"提款","Deposit":"存款","date_and_time":"Date and time","no_currency":"(沒有貨幣)","date":"日期","time":"Time","no_budget":"(無預算)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"餘額","transaction_journal_extra":"Extra information","transaction_journal_meta":"後設資訊","basic_journal_information":"Basic transaction information","bills_to_pay":"待付帳單","left_to_spend":"剩餘可花費","attachments":"附加檔案","net_worth":"淨值","bill":"帳單","no_bill":"(no bill)","tags":"標籤","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"已付款","notes":"備註","yourAccounts":"您的帳戶","go_to_asset_accounts":"檢視您的資產帳戶","delete_account":"移除帳號","transaction_table_description":"A table containing your transactions","account":"帳戶","description":"描述","amount":"金額","budget":"預算","category":"分類","opposing_account":"Opposing account","budgets":"預算","categories":"分類","go_to_budgets":"前往您的預算","income":"收入 / 所得","go_to_deposits":"Go to deposits","go_to_categories":"前往您的分類","expense_accounts":"支出帳戶","go_to_expenses":"Go to expenses","go_to_bills":"前往您的帳單","bills":"帳單","last_thirty_days":"最近30天","last_seven_days":"最近7天","go_to_piggies":"前往您的小豬撲滿","saved":"Saved","piggy_banks":"小豬撲滿","piggy_bank":"小豬撲滿","amounts":"Amounts","left":"剩餘","spent":"支出","Default asset account":"預設資產帳戶","search_results":"搜尋結果","include":"Include?","transaction":"交易","account_role_defaultAsset":"預設資產帳戶","account_role_savingAsset":"儲蓄帳戶","account_role_sharedAsset":"共用資產帳戶","clear_location":"清除位置","account_role_ccAsset":"信用卡","account_role_cashWalletAsset":"現金錢包","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"建立新支出帳戶","create_new_revenue":"建立新收入帳戶","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"拆分交易的描述","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"錯誤!","store_transaction":"Store transaction","flash_success":"成功!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"搜尋","create_new_asset":"建立新資產帳戶","asset_accounts":"資產帳戶","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"位置","other_budgets":"Custom timed budgets","journal_links":"交易連結","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"收入帳戶","add_another_split":"增加拆分","actions":"操作","earned":"已賺得","empty":"(empty)","edit":"編輯","never":"未有資料","account_type_Loan":"貸款","account_type_Mortgage":"抵押","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"負債","delete":"刪除","store_new_asset_account":"儲存新資產帳戶","store_new_expense_account":"儲存新支出帳戶","store_new_liabilities_account":"儲存新債務","store_new_revenue_account":"儲存新收入帳戶","mandatoryFields":"必要欄位","optionalFields":"選填欄位","reconcile_this_account":"對帳此帳戶","interest_calc_weekly":"Per week","interest_calc_monthly":"每月","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"每年","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(空)"},"list":{"piggy_bank":"小豬撲滿","percentage":"pct.","amount":"金額","lastActivity":"上次活動","name":"名稱","role":"角色","iban":"國際銀行帳戶號碼 (IBAN)","interest":"利率","interest_period":"利率期","liability_type":"負債類型","liability_direction":"(list.liability_direction)","currentBalance":"目前餘額","next_expected_match":"下一個預期的配對"},"config":{"html_language":"zh-tw","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"外幣金額","interest_date":"利率日期","name":"名稱","amount":"金額","iban":"國際銀行帳戶號碼 (IBAN)","BIC":"BIC","notes":"備註","location":"Location","attachments":"附加檔案","active":"啟用","include_net_worth":"包括淨值","account_number":"帳戶號碼","virtual_balance":"虛擬餘額","opening_balance":"初始餘額","opening_balance_date":"初始餘額日期","date":"日期","interest":"利率","interest_period":"利率期","currency_id":"貨幣","liability_type":"Liability type","account_role":"帳戶角色","liability_direction":"Liability in/out","book_date":"登記日期","permDeleteWarning":"自 Firefly III 刪除項目是永久且不可撤銷的。","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"處理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"發票日期"}}')}},t=>{"use strict";var e=e=>t(t.s=e);t.O(0,[879,228],(()=>(e(4729),e(5278)))),t.O()}]);+(self.webpackChunk=self.webpackChunk||[]).push([[663],{232:(t,e,a)=>{"use strict";a.r(e);var n=a(7760),i=a.n(n),r=a(7152),s=a(4605);window.$=window.jQuery=a(9755),window.axios=a(9669),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var o=document.head.querySelector('meta[name="csrf-token"]');o?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=o.content:console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token");var c=document.head.querySelector('meta[name="locale"]');localStorage.locale=c?c.content:"en_US",a(6891),a(3734),a(7632),a(5432),window.vuei18n=r.Z,window.uiv=s,i().use(vuei18n),i().use(s),window.Vue=i()},9899:(t,e,a)=>{"use strict";a.d(e,{Z:()=>w});var n=a(7760),i=a.n(n),r=a(629),s=a(4478),o=a(3465);const c={namespaced:!0,state:function(){return{transactionType:"any",groupTitle:"",transactions:[],customDateFields:{interest_date:!1,book_date:!1,process_date:!1,due_date:!1,payment_date:!1,invoice_date:!1},defaultTransaction:(0,s.f$)(),defaultErrors:(0,s.kQ)()}},getters:{transactions:function(t){return t.transactions},defaultErrors:function(t){return t.defaultErrors},groupTitle:function(t){return t.groupTitle},transactionType:function(t){return t.transactionType},accountToTransaction:function(t){return t.accountToTransaction},defaultTransaction:function(t){return t.defaultTransaction},sourceAllowedTypes:function(t){return t.sourceAllowedTypes},destinationAllowedTypes:function(t){return t.destinationAllowedTypes},allowedOpposingTypes:function(t){return t.allowedOpposingTypes},customDateFields:function(t){return t.customDateFields}},actions:{},mutations:{addTransaction:function(t){var e=o(t.defaultTransaction);e.errors=o(t.defaultErrors),t.transactions.push(e)},resetErrors:function(t,e){t.transactions[e.index].errors=o(t.defaultErrors)},resetTransactions:function(t){t.transactions=[]},setGroupTitle:function(t,e){t.groupTitle=e.groupTitle},setCustomDateFields:function(t,e){t.customDateFields=e},deleteTransaction:function(t,e){t.transactions.splice(e.index,1),t.transactions.length},setTransactionType:function(t,e){t.transactionType=e},setAllowedOpposingTypes:function(t,e){t.allowedOpposingTypes=e},setAccountToTransaction:function(t,e){t.accountToTransaction=e},updateField:function(t,e){t.transactions[e.index][e.field]=e.value},setTransactionError:function(t,e){t.transactions[e.index].errors[e.field]=e.errors},setDestinationAllowedTypes:function(t,e){t.destinationAllowedTypes=e},setSourceAllowedTypes:function(t,e){t.sourceAllowedTypes=e}}};var l=a(9119),_=a(3894),d=a(584),u=a(7090),p=a(4431),y=a(8358),g=a(4135),h=a(3703);const m={namespaced:!0,state:function(){return{viewRange:"default",start:null,end:null,defaultStart:null,defaultEnd:null}},getters:{start:function(t){return t.start},end:function(t){return t.end},defaultStart:function(t){return t.defaultStart},defaultEnd:function(t){return t.defaultEnd},viewRange:function(t){return t.viewRange}},actions:{initialiseStore:function(t){t.dispatch("restoreViewRange"),axios.get("./api/v1/preferences/viewRange").then((function(e){var a=e.data.data.attributes.data,n=t.getters.viewRange;t.commit("setViewRange",a),a!==n&&t.dispatch("setDatesFromViewRange"),a===n&&t.dispatch("restoreViewRangeDates")})).catch((function(){t.commit("setViewRange","1M"),t.dispatch("setDatesFromViewRange")}))},restoreViewRangeDates:function(t){localStorage.viewRangeStart&&t.commit("setStart",new Date(localStorage.viewRangeStart)),localStorage.viewRangeEnd&&t.commit("setEnd",new Date(localStorage.viewRangeEnd)),localStorage.viewRangeDefaultStart&&t.commit("setDefaultStart",new Date(localStorage.viewRangeDefaultStart)),localStorage.viewRangeDefaultEnd&&t.commit("setDefaultEnd",new Date(localStorage.viewRangeDefaultEnd))},restoreViewRange:function(t){var e=localStorage.getItem("viewRange");null!==e&&t.commit("setViewRange",e)},setDatesFromViewRange:function(t){var e,a,n=t.getters.viewRange,i=new Date;switch(n){case"1D":e=(0,l.Z)(i),a=(0,_.Z)(i);break;case"1W":e=(0,l.Z)((0,d.Z)(i,{weekStartsOn:1})),a=(0,_.Z)((0,u.Z)(i,{weekStartsOn:1}));break;case"1M":e=(0,l.Z)((0,h.Z)(i)),a=(0,_.Z)((0,g.Z)(i));break;case"3M":e=(0,l.Z)((0,p.Z)(i)),a=(0,_.Z)((0,y.Z)(i));break;case"6M":i.getMonth()<=5&&((e=new Date(i)).setMonth(0),e.setDate(1),e=(0,l.Z)(e),(a=new Date(i)).setMonth(5),a.setDate(30),a=(0,_.Z)(e)),i.getMonth()>5&&((e=new Date(i)).setMonth(6),e.setDate(1),e=(0,l.Z)(e),(a=new Date(i)).setMonth(11),a.setDate(31),a=(0,_.Z)(e));break;case"1Y":(e=new Date(i)).setMonth(0),e.setDate(1),e=(0,l.Z)(e),(a=new Date(i)).setMonth(11),a.setDate(31),a=(0,_.Z)(a)}t.commit("setStart",e),t.commit("setEnd",a),t.commit("setDefaultStart",e),t.commit("setDefaultEnd",a)}},mutations:{setStart:function(t,e){t.start=e,window.localStorage.setItem("viewRangeStart",e)},setEnd:function(t,e){t.end=e,window.localStorage.setItem("viewRangeEnd",e)},setDefaultStart:function(t,e){t.defaultStart=e,window.localStorage.setItem("viewRangeDefaultStart",e)},setDefaultEnd:function(t,e){t.defaultEnd=e,window.localStorage.setItem("viewRangeDefaultEnd",e)},setViewRange:function(t,e){t.viewRange=e,window.localStorage.setItem("viewRange",e)}}};var f=function(){return{listPageSize:33,timezone:""}},b={initialiseStore:function(t){localStorage.listPageSize&&(f.listPageSize=localStorage.listPageSize,t.commit("setListPageSize",{length:localStorage.listPageSize})),localStorage.listPageSize||axios.get("./api/v1/preferences/listPageSize").then((function(e){t.commit("setListPageSize",{length:parseInt(e.data.data.attributes.data)})})),localStorage.timezone&&(f.timezone=localStorage.timezone,t.commit("setTimezone",{timezone:localStorage.timezone})),localStorage.timezone||axios.get("./api/v1/configuration/app.timezone").then((function(e){t.commit("setTimezone",{timezone:e.data.data.value})}))}};const v={namespaced:!0,state:f,getters:{listPageSize:function(t){return t.listPageSize},timezone:function(t){return t.timezone}},actions:b,mutations:{setListPageSize:function(t,e){var a=parseInt(e.length);0!==a&&(t.listPageSize=a,localStorage.listPageSize=a)},setTimezone:function(t,e){""!==e.timezone&&(t.timezone=e.timezone,localStorage.timezone=e.timezone)}}};i().use(r.ZP);const w=new r.ZP.Store({namespaced:!0,modules:{root:v,transactions:{namespaced:!0,modules:{create:c,edit:{namespaced:!0,state:function(){return{}},getters:{},actions:{},mutations:{}}}},accounts:{namespaced:!0,modules:{index:{namespaced:!0,state:function(){return{orderMode:!1,activeFilter:1}},getters:{orderMode:function(t){return t.orderMode},activeFilter:function(t){return t.activeFilter}},actions:{},mutations:{setOrderMode:function(t,e){t.orderMode=e},setActiveFilter:function(t,e){t.activeFilter=e}}}}},dashboard:{namespaced:!0,modules:{index:m}}},strict:!1,plugins:[],state:{currencyPreference:{},locale:"en-US",listPageSize:50},mutations:{setCurrencyPreference:function(t,e){t.currencyPreference=e.payload},initialiseStore:function(t){if(localStorage.locale)t.locale=localStorage.locale;else{var e=document.head.querySelector('meta[name="locale"]');e&&(t.locale=e.content,localStorage.locale=e.content)}}},getters:{currencyCode:function(t){return t.currencyPreference.code},currencyPreference:function(t){return t.currencyPreference},currencyId:function(t){return t.currencyPreference.id},locale:function(t){return t.locale}},actions:{updateCurrencyPreference:function(t){localStorage.currencyPreference?t.commit("setCurrencyPreference",{payload:JSON.parse(localStorage.currencyPreference)}):axios.get("./api/v1/currencies/default").then((function(e){var a={id:parseInt(e.data.data.id),name:e.data.data.attributes.name,symbol:e.data.data.attributes.symbol,code:e.data.data.attributes.code,decimal_places:parseInt(e.data.data.attributes.decimal_places)};localStorage.currencyPreference=JSON.stringify(a),t.commit("setCurrencyPreference",{payload:a})})).catch((function(e){console.error(e),t.commit("setCurrencyPreference",{payload:{id:1,name:"Euro",symbol:"€",code:"EUR",decimal_places:2}})}))}}})},157:(t,e,a)=>{t.exports=new vuei18n({locale:document.documentElement.lang,fallbackLocale:"en",messages:{bg:a(7154),cs:a(6407),de:a(4726),en:a(3340),"en-us":a(3340),"en-gb":a(6318),es:a(5394),el:a(3636),fr:a(2551),hu:a(995),it:a(9112),nl:a(4671),nb:a(9085),pl:a(6238),fi:a(7868),"pt-br":a(6586),"pt-pt":a(8664),ro:a(1102),ru:a(753),"zh-tw":a(1715),"zh-cn":a(4556),sk:a(7049),sv:a(7921),vi:a(1497)}})},2286:(t,e,a)=>{"use strict";var n=a(1900);const i=(0,n.Z)({name:"Dashboard"},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("top-boxes"),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("main-account")],1)]),t._v(" "),a("main-account-list"),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("main-budget-list")],1)]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("main-category-list")],1)]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("main-debit-list")],1),t._v(" "),a("div",{staticClass:"col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("main-credit-list")],1)]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("main-piggy-list")],1),t._v(" "),a("div",{staticClass:"col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("main-bills-list")],1)])],1)}),[],!1,null,null,null).exports;var r=a(629),s=a(7955);function o(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function c(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?o(Object(a),!0).forEach((function(e){l(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):o(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function l(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var _=(0,r._p)("dashboard/index"),d=(_.mapState,_.mapGetters);_.mapActions,_.mapMutations;const u={name:"TopBoxes",props:{},data:function(){return{summary:[],balances:[],billsPaid:[],billsUnpaid:[],leftToSpend:[],netWorth:[],loading:!0,error:!1,ready:!1}},computed:c(c({},d(["start","end"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready},prefCurrencyBalances:function(){return this.filterOnCurrency(this.balances)},notPrefCurrencyBalances:function(){return this.filterOnNotCurrency(this.balances)},prefBillsUnpaid:function(){return this.filterOnCurrency(this.billsUnpaid)},notPrefBillsUnpaid:function(){return this.filterOnNotCurrency(this.billsUnpaid)},prefLeftToSpend:function(){return this.filterOnCurrency(this.leftToSpend)},notPrefLeftToSpend:function(){return this.filterOnNotCurrency(this.leftToSpend)},prefNetWorth:function(){return this.filterOnCurrency(this.netWorth)},notPrefNetWorth:function(){return this.filterOnNotCurrency(this.netWorth)},currencyCode:function(){return this.$store.getters.currencyCode},currencyId:function(){return this.$store.getters.currencyId}}),watch:{datesReady:function(t){!0===t&&this.prepareComponent()},start:function(){!1===this.loading&&this.prepareComponent()},end:function(){!1===this.loading&&this.prepareComponent()}},created:function(){this.ready=!0},methods:{filterOnCurrency:function(t){var e=[];for(var a in t)t.hasOwnProperty(a)&&t[a].currency_id===this.currencyId&&e.push(t[a]);return 0===e.length&&t.hasOwnProperty(0)&&e.push(t[0]),e},filterOnNotCurrency:function(t){var e=[];for(var a in t)t.hasOwnProperty(a)&&t[a].currency_id!==this.currencyId&&e.push(t[a]);return e},prepareComponent:function(){var t=this;this.error=!1,this.loading=!0,this.summary=[],this.balances=[],this.billsPaid=[],this.billsUnpaid=[],this.leftToSpend=[],this.netWorth=[];var e=(0,s.Z)(this.start,"y-MM-dd"),a=(0,s.Z)(this.end,"y-MM-dd");axios.get("./api/v1/summary/basic?start="+e+"&end="+a).then((function(e){t.summary=e.data,t.buildComponent(),t.loading=!1})).catch((function(e){t.error=!0}))},buildComponent:function(){this.getBalanceEntries(),this.getBillsEntries(),this.getLeftToSpend(),this.getNetWorth()},hasCurrency:function(t){for(var e in t)if(t.hasOwnProperty(e)&&t[e].currency_id===this.currencyId)return!0;return!1},getBalanceEntries:function(){this.balances=this.getKeyedEntries("balance-in-")},getNetWorth:function(){this.netWorth=this.getKeyedEntries("net-worth-in-")},getLeftToSpend:function(){this.leftToSpend=this.getKeyedEntries("left-to-spend-in-")},getBillsEntries:function(){this.billsPaid=this.getKeyedEntries("bills-paid-in-"),this.billsUnpaid=this.getKeyedEntries("bills-unpaid-in-")},getKeyedEntries:function(t){var e=[];for(var a in this.summary)this.summary.hasOwnProperty(a)&&t===a.substr(0,t.length)&&e.push(this.summary[a]);return e}}},p=(0,n.Z)(u,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"row"},[0!==t.prefCurrencyBalances.length||0!==t.notPrefCurrencyBalances.length?a("div",{staticClass:"col"},[a("div",{staticClass:"info-box"},[t._m(0),t._v(" "),a("div",{staticClass:"info-box-content"},[t.loading||t.error?t._e():a("span",{staticClass:"info-box-text"},[t._v(t._s(t.$t("firefly.balance")))]),t._v(" "),t.loading&&!t.error?a("span",{staticClass:"info-box-text"},[a("i",{staticClass:"fas fa-spinner fa-spin"})]):t._e(),t._v(" "),t.error?a("span",{staticClass:"info-box-text"},[a("i",{staticClass:"fas fa-exclamation-triangle text-danger"})]):t._e(),t._v(" "),t._l(t.prefCurrencyBalances,(function(e){return a("span",{staticClass:"info-box-number",attrs:{title:e.sub_title}},[t._v(t._s(e.value_parsed))])})),t._v(" "),0===t.prefCurrencyBalances.length?a("span",{staticClass:"info-box-number"},[t._v(" ")]):t._e(),t._v(" "),t._m(1),t._v(" "),a("span",{staticClass:"progress-description"},[t._l(t.notPrefCurrencyBalances,(function(e,n){return a("span",{attrs:{title:e.sub_title}},[t._v("\n "+t._s(e.value_parsed)),n+1!==t.notPrefCurrencyBalances.length?a("span",[t._v(", ")]):t._e()])})),t._v(" "),0===t.notPrefCurrencyBalances.length?a("span",[t._v(" ")]):t._e()],2)],2)])]):t._e(),t._v(" "),0!==t.prefBillsUnpaid.length||0!==t.notPrefBillsUnpaid.length?a("div",{staticClass:"col"},[a("div",{staticClass:"info-box"},[t._m(2),t._v(" "),a("div",{staticClass:"info-box-content"},[t.loading||t.error?t._e():a("span",{staticClass:"info-box-text"},[t._v(t._s(t.$t("firefly.bills_to_pay")))]),t._v(" "),t.loading&&!t.error?a("span",{staticClass:"info-box-text"},[a("i",{staticClass:"fas fa-spinner fa-spin"})]):t._e(),t._v(" "),t.error?a("span",{staticClass:"info-box-text"},[a("i",{staticClass:"fas fa-exclamation-triangle text-danger"})]):t._e(),t._v(" "),t._l(t.prefBillsUnpaid,(function(e){return a("span",{staticClass:"info-box-number"},[t._v(t._s(e.value_parsed))])})),t._v(" "),t._m(3),t._v(" "),a("span",{staticClass:"progress-description"},[t._l(t.notPrefBillsUnpaid,(function(e,n){return a("span",[t._v("\n "+t._s(e.value_parsed)),n+1!==t.notPrefBillsUnpaid.length?a("span",[t._v(", ")]):t._e()])})),t._v(" "),0===t.notPrefBillsUnpaid.length?a("span",[t._v(" ")]):t._e()],2)],2)])]):t._e(),t._v(" "),0!==t.prefLeftToSpend.length||0!==t.notPrefLeftToSpend.length?a("div",{staticClass:"col"},[a("div",{staticClass:"info-box"},[t._m(4),t._v(" "),a("div",{staticClass:"info-box-content"},[t.loading||t.error?t._e():a("span",{staticClass:"info-box-text"},[t._v(t._s(t.$t("firefly.left_to_spend")))]),t._v(" "),t.loading&&!t.error?a("span",{staticClass:"info-box-text"},[a("i",{staticClass:"fas fa-spinner fa-spin"})]):t._e(),t._v(" "),t.error?a("span",{staticClass:"info-box-text"},[a("i",{staticClass:"fas fa-exclamation-triangle text-danger"})]):t._e(),t._v(" "),t._l(t.prefLeftToSpend,(function(e){return a("span",{staticClass:"info-box-number",attrs:{title:e.sub_title}},[t._v(t._s(e.value_parsed))])})),t._v(" "),0===t.prefLeftToSpend.length?a("span",{staticClass:"info-box-number"},[t._v(" ")]):t._e(),t._v(" "),t._m(5),t._v(" "),a("span",{staticClass:"progress-description"},[t._l(t.notPrefLeftToSpend,(function(e,n){return a("span",[t._v("\n "+t._s(e.value_parsed)),n+1!==t.notPrefLeftToSpend.length?a("span",[t._v(", ")]):t._e()])})),t._v(" "),0===t.notPrefLeftToSpend.length?a("span",[t._v(" ")]):t._e()],2)],2)])]):t._e(),t._v(" "),0!==t.notPrefNetWorth.length||0!==t.prefNetWorth.length?a("div",{staticClass:"col"},[a("div",{staticClass:"info-box"},[t._m(6),t._v(" "),a("div",{staticClass:"info-box-content"},[t.loading||t.error?t._e():a("span",{staticClass:"info-box-text"},[t._v(t._s(t.$t("firefly.net_worth")))]),t._v(" "),t.loading&&!t.error?a("span",{staticClass:"info-box-text"},[a("i",{staticClass:"fas fa-spinner fa-spin"})]):t._e(),t._v(" "),t.error?a("span",{staticClass:"info-box-text"},[a("i",{staticClass:"fas fa-exclamation-triangle text-danger"})]):t._e(),t._v(" "),t._l(t.prefNetWorth,(function(e){return a("span",{staticClass:"info-box-number",attrs:{title:e.sub_title}},[t._v(t._s(e.value_parsed))])})),t._v(" "),0===t.prefNetWorth.length?a("span",[t._v(" ")]):t._e(),t._v(" "),t._m(7),t._v(" "),a("span",{staticClass:"progress-description"},[t._l(t.notPrefNetWorth,(function(e,n){return a("span",[t._v("\n "+t._s(e.value_parsed)),n+1!==t.notPrefNetWorth.length?a("span",[t._v(", ")]):t._e()])})),t._v(" "),0===t.notPrefNetWorth.length?a("span",[t._v(" ")]):t._e()],2)],2)])]):t._e()])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"info-box-icon"},[e("i",{staticClass:"far fa-bookmark text-info"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"progress bg-info"},[e("div",{staticClass:"progress-bar",staticStyle:{width:"0"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"info-box-icon"},[e("i",{staticClass:"far fa-calendar-alt text-teal"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"progress bg-teal"},[e("div",{staticClass:"progress-bar",staticStyle:{width:"0"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"info-box-icon"},[e("i",{staticClass:"fas fa-money-bill text-success"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"progress bg-success"},[e("div",{staticClass:"progress-bar",staticStyle:{width:"0"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"info-box-icon"},[e("i",{staticClass:"fas fa-money-bill text-success"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"progress bg-success"},[e("div",{staticClass:"progress-bar",staticStyle:{width:"0"}})])}],!1,null,null,null).exports,y={name:"DataConverter",data:function(){return{dataSet:null,newDataSet:null,locale:localStorage.local}},methods:{convertChart:function(t){return this.dataSet=t,this.newDataSet={labels:[],datasets:[]},this.getLabels(),this.getDataSets(),this.newDataSet},colorizeBarData:function(t){this.dataSet=t,this.newDataSet={labels:[],datasets:[]};for(var e=[[53,124,165],[0,141,76],[219,139,11],[202,25,90],[85,82,153],[66,133,244],[219,68,55],[244,180,0],[15,157,88],[171,71,188],[0,172,193],[255,112,67],[158,157,36],[92,107,192],[240,98,146],[0,121,107],[194,24,91]],a=[],n=0;n<e.length;n++)a.push("rgba("+e[n][0]+", "+e[n][1]+", "+e[n][2]+", 0.5)");for(var i in this.newDataSet.labels=this.dataSet.labels,this.dataSet.datasets)if(this.dataSet.datasets.hasOwnProperty(i)){var r=this.dataSet.datasets[i];r.fill=!1,r.backgroundColor=r.borderColor=a[i],this.newDataSet.datasets.push(r)}return this.newDataSet},colorizeLineData:function(t){this.dataSet=t,this.newDataSet={labels:[],datasets:[]};for(var e=[[53,124,165],[0,141,76],[219,139,11],[202,25,90],[85,82,153],[66,133,244],[219,68,55],[244,180,0],[15,157,88],[171,71,188],[0,172,193],[255,112,67],[158,157,36],[92,107,192],[240,98,146],[0,121,107],[194,24,91]],a=[],n=0;n<e.length;n++)a.push("rgba("+e[n][0]+", "+e[n][1]+", "+e[n][2]+", 0.5)");for(var i in this.newDataSet.labels=this.dataSet.labels,this.dataSet.datasets)if(this.dataSet.datasets.hasOwnProperty(i)){var r=this.dataSet.datasets[i];r.fill=!1,r.backgroundColor=r.borderColor=a[i],this.newDataSet.datasets.push(r)}return this.newDataSet},convertLabelsToDate:function(t){for(var e in t.labels)if(t.labels.hasOwnProperty(e)){var a=Date.parse(t.labels[e]);t.labels[e]=new Intl.DateTimeFormat(this.locale).format(a)}return t},getLabels:function(){var t=this.dataSet[0];if(void 0!==t)for(var e in t.entries)t.entries.hasOwnProperty(e)&&this.newDataSet.labels.push(e)},getDataSets:function(){for(var t in this.dataSet)if(this.dataSet.hasOwnProperty(t)){var e={},a=this.dataSet[t];if(void 0!==a){for(var n in e.label=a.label,e.type=a.type,e.currency_symbol=a.currency_symbol,e.currency_code=a.currency_code,e.data=[],a.entries)a.entries.hasOwnProperty(n)&&e.data.push(a.entries[n]);this.newDataSet.datasets.push(e)}}}}},g=(0,n.Z)(y,void 0,void 0,!1,null,null,null).exports,h={name:"DefaultLineOptions",data:function(){return{}},methods:{formatLabel:function(t,e){var a=[],n=(t=String(t)).split(" "),i="";return n.forEach((function(t,r){if(i.length>0){var s=i+" "+t;if(!(s.length>e))return r===n.length-1?void a.push(s):void(i=s);a.push(i),i=""}r!==n.length-1&&t.length<e?i=t:a.push(t)})),a},getDefaultOptions:function(){return{responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1}},animations:!1,elements:{line:{cubicInterpolationMode:"monotone"}},scales:{x:{grid:{display:!1},ticks:{callback:function(t,e,a){var n=new Date(this.getLabelForValue(t).split("T")[0]);return new Intl.DateTimeFormat(localStorage.locale,{year:"numeric",month:"long",day:"numeric"}).format(n)}}},y:{suggestedMin:0}}}}}},m=(0,n.Z)(h,(function(){var t=this.$createElement;return(this._self._c||t)("div")}),[],!1,null,"376cc9e0",null).exports;var f=a(2181);function b(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function v(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?b(Object(a),!0).forEach((function(e){w(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):b(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function w(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}f.Chart.register.apply(null,Object.values(f).filter((function(t){return t.id})));const k={name:"MainAccount",components:{},data:function(){return{loading:!0,error:!1,ready:!1,initialised:!1,dataCollection:{},chartOptions:{},_chart:null}},created:function(){this.chartOptions=m.methods.getDefaultOptions(),this.ready=!0},computed:v(v({},(0,r.Se)("dashboard/index",["start","end"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready}}),watch:{datesReady:function(t){!0===t&&this.initialiseChart()},start:function(){this.updateChart()},end:function(){this.updateChart()}},methods:{initialiseChart:function(){var t=this;this.loading=!0,this.error=!1;var e="./api/v1/chart/account/overview?start="+(0,s.Z)(this.start,"y-MM-dd")+"&end="+(0,s.Z)(this.end,"y-MM-dd");axios.get(e).then((function(e){var a=g.methods.convertChart(e.data);a=g.methods.colorizeLineData(a),t.dataCollection=a,t.loading=!1,t.drawChart()})).catch((function(e){console.log("Has error!"),console.log(e),t.error=!0}))},drawChart:function(){void 0!==this._chart&&(this._chart.data=this.dataCollection,this._chart.update(),this.initialised=!0),void 0===this._chart&&(this._chart=new f.Chart(this.$refs.canvas.getContext("2d"),{type:"line",data:this.dataCollection,options:this.chartOptions}),this.initialised=!0)},updateChart:function(){this.initialised&&(this.initialised=!1,this.initialiseChart())}}},D=(0,n.Z)(k,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v(t._s(t.$t("firefly.yourAccounts")))])]),t._v(" "),a("div",{staticClass:"card-body"},[a("div",[a("canvas",{ref:"canvas",attrs:{id:"canvas",width:"400",height:"400"}})]),t._v(" "),t.loading&&!t.error?a("div",{staticClass:"text-center"},[a("i",{staticClass:"fas fa-spinner fa-spin"})]):t._e(),t._v(" "),t.error?a("div",{staticClass:"text-center"},[a("i",{staticClass:"fas fa-exclamation-triangle text-danger"})]):t._e()]),t._v(" "),a("div",{staticClass:"card-footer"},[a("a",{staticClass:"btn btn-default button-sm",attrs:{href:"./accounts/asset"}},[a("i",{staticClass:"far fa-money-bill-alt"}),t._v(" "+t._s(t.$t("firefly.go_to_asset_accounts")))])])])}),[],!1,null,null,null).exports;function S(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function C(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?S(Object(a),!0).forEach((function(e){I(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):S(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function I(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var x=(0,r._p)("dashboard/index"),j=(x.mapState,x.mapGetters);x.mapActions,x.mapMutations;const z={name:"MainAccountList",data:function(){return{loading:!0,error:!1,ready:!1,accounts:[],locale:"en-US"}},created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US",this.ready=!0},computed:C(C({},j(["start","end"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready}}),watch:{datesReady:function(t){!0===t&&this.initialiseList()},start:function(){!1===this.loading&&this.initialiseList()},end:function(){!1===this.loading&&this.initialiseList()}},methods:{initialiseList:function(){var t=this;this.loading=!0,this.accounts=[],axios.get("./api/v1/preferences/frontPageAccounts").then((function(e){t.loadAccounts(e)}))},loadAccounts:function(t){var e=t.data.data.attributes.data;for(var a in e)e.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294&&(this.accounts.push({id:e[a],title:"",url:"",include:!1,current_balance:"0",currency_code:"EUR",transactions:[]}),this.loadSingleAccount(a,e[a]))},loadSingleAccount:function(t,e){var a=this;axios.get("./api/v1/accounts/"+e).then((function(n){var i=n.data.data;"asset"!==i.attributes.type&&"liabilities"!==i.attributes.type||(a.accounts[t].title=i.attributes.name,a.accounts[t].url="./accounts/show/"+i.id,a.accounts[t].current_balance=i.attributes.current_balance,a.accounts[t].currency_code=i.attributes.currency_code,a.accounts[t].include=!0,a.loadTransactions(t,e))}))},loadTransactions:function(t,e){var a=this,n=(0,s.Z)(this.start,"y-MM-dd"),i=(0,s.Z)(this.end,"y-MM-dd");axios.get("./api/v1/accounts/"+e+"/transactions?page=1&limit=10&start="+n+"&end="+i).then((function(e){a.accounts[t].transactions=e.data.data,a.loading=!1,a.error=!1}))}}},A=(0,n.Z)(z,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[t.loading&&!t.error?a("div",{staticClass:"row"},[t._m(0)]):t._e(),t._v(" "),t.error?a("div",{staticClass:"row"},[t._m(1)]):t._e(),t._v(" "),t.loading||t.error?t._e():a("div",{staticClass:"row"},t._l(t.accounts,(function(e){return a("div",{class:{"col-lg-12":1===t.accounts.length,"col-lg-6":2===t.accounts.length,"col-lg-4":t.accounts.length>2}},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[a("a",{attrs:{href:e.url}},[t._v(t._s(e.title))])]),t._v(" "),a("div",{staticClass:"card-tools"},[a("span",{class:parseFloat(e.current_balance)<0?"text-danger":"text-success"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(parseFloat(e.current_balance)))+"\n ")])])]),t._v(" "),a("div",{staticClass:"card-body table-responsive p-0"},[a("div",[1===t.accounts.length?a("transaction-list-large",{attrs:{account_id:e.id,transactions:e.transactions}}):t._e(),t._v(" "),2===t.accounts.length?a("transaction-list-medium",{attrs:{account_id:e.id,transactions:e.transactions}}):t._e(),t._v(" "),t.accounts.length>2?a("transaction-list-small",{attrs:{account_id:e.id,transactions:e.transactions}}):t._e()],1)])])])})),0)])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col"},[e("div",{staticClass:"card"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-spinner fa-spin"})])])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col"},[e("div",{staticClass:"card"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle text-danger"})])])])])}],!1,null,"bf9d2eee",null).exports;function P(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function O(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?P(Object(a),!0).forEach((function(e){T(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):P(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function T(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var B=(0,r._p)("dashboard/index"),N=(B.mapState,B.mapGetters);B.mapActions,B.mapMutations;const L={name:"MainBillsList",data:function(){return{bills:[],locale:"en-US",ready:!1,loading:!0,error:!1}},computed:O(O({},N(["start","end"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready}}),watch:{datesReady:function(t){!0===t&&this.initialiseBills()},start:function(){!1===this.loading&&this.initialiseBills()},end:function(){!1===this.loading&&this.initialiseBills()}},created:function(){var t;this.ready=!0,this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US"},components:{},methods:{initialiseBills:function(){var t=this;this.loading=!0,this.bills=[];var e=(0,s.Z)(this.start,"y-MM-dd"),a=(0,s.Z)(this.end,"y-MM-dd");axios.get("./api/v1/bills?start="+e+"&end="+a).then((function(e){t.loadBills(e.data.data)})).catch((function(e){t.error=!0,t.loading=!1}))},renderPaidDate:function(t){var e=new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long",day:"numeric"}).format(new Date(t.date)),a=this.$t("firefly.bill_paid_on",{date:e});return'<a href="./transactions/show/'+t.transaction_group_id+'" title="'+a+'">'+a+"</a>"},loadBills:function(t){for(var e in t)if(t.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t[e],n=a.attributes.active;a.attributes.pay_dates.length>0&&n&&this.bills.push(a)}this.error=!1,this.loading=!1}}},F=(0,n.Z)(L,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v(t._s(t.$t("firefly.bills")))])]),t._v(" "),t.loading&&!t.error?a("div",{staticClass:"card-body"},[t._m(0)]):t._e(),t._v(" "),t.error?a("div",{staticClass:"card-body"},[t._m(1)]):t._e(),t._v(" "),t.loading||t.error?t._e():a("div",{staticClass:"card-body table-responsive p-0"},[a("table",{staticClass:"table table-striped"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("firefly.bills")))]),t._v(" "),a("thead",[a("tr",[a("th",{staticStyle:{width:"35%"},attrs:{scope:"col"}},[t._v(t._s(t.$t("list.name")))]),t._v(" "),a("th",{staticStyle:{width:"25%"},attrs:{scope:"col"}},[t._v(t._s(t.$t("list.next_expected_match")))])])]),t._v(" "),a("tbody",t._l(this.bills,(function(e){return a("tr",[a("td",[a("a",{attrs:{href:"./bills/show/"+e.id,title:e.attributes.name}},[t._v(t._s(e.attributes.name))]),t._v("\n (~ "),a("span",{staticClass:"text-danger"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.attributes.currency_code}).format((parseFloat(e.attributes.amount_min)+parseFloat(e.attributes.amount_max))/-2)))]),t._v(")\n "),e.attributes.object_group_title?a("small",{staticClass:"text-muted"},[a("br"),t._v("\n "+t._s(e.attributes.object_group_title)+"\n ")]):t._e()]),t._v(" "),a("td",[t._l(e.attributes.paid_dates,(function(e){return a("span",[a("span",{domProps:{innerHTML:t._s(t.renderPaidDate(e))}}),a("br")])})),t._v(" "),t._l(e.attributes.pay_dates,(function(n){return 0===e.attributes.paid_dates.length?a("span",[t._v("\n "+t._s(new Intl.DateTimeFormat(t.locale,{year:"numeric",month:"long",day:"numeric"}).format(new Date(n)))+"\n "),a("br")]):t._e()}))],2)])})),0)])]),t._v(" "),a("div",{staticClass:"card-footer"},[a("a",{staticClass:"btn btn-default button-sm",attrs:{href:"./bills"}},[a("i",{staticClass:"far fa-money-bill-alt"}),t._v(" "+t._s(t.$t("firefly.go_to_bills")))])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-spinner fa-spin"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle text-danger"})])}],!1,null,null,null).exports,M={name:"BudgetLimitRow",created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US"},data:function(){return{locale:"en-US"}},props:{budgetLimit:{type:Object,default:function(){return{}}},budget:{type:Object,default:function(){return{}}}}},R=(0,n.Z)(M,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("tr",[a("td",{staticStyle:{width:"25%"}},[a("a",{attrs:{href:"./budgets/show/"+t.budgetLimit.budget_id}},[t._v(t._s(t.budgetLimit.budget_name))])]),t._v(" "),a("td",{staticStyle:{"vertical-align":"middle"}},[a("div",{staticClass:"progress progress active"},[a("div",{staticClass:"progress-bar bg-success progress-bar-striped",style:"width: "+t.budgetLimit.pctGreen+"%;",attrs:{"aria-valuenow":t.budgetLimit.pctGreen,"aria-valuemax":"100","aria-valuemin":"0",role:"progressbar"}},[t.budgetLimit.pctGreen>35?a("span",[t._v("\n "+t._s(t.$t("firefly.spent_x_of_y",{amount:Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.spent),total:Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.amount)}))+"\n ")]):t._e()]),t._v(" "),a("div",{staticClass:"progress-bar bg-warning progress-bar-striped",style:"width: "+t.budgetLimit.pctOrange+"%;",attrs:{"aria-valuenow":t.budgetLimit.pctOrange,"aria-valuemax":"100","aria-valuemin":"0",role:"progressbar"}},[t.budgetLimit.pctRed<=50&&t.budgetLimit.pctOrange>35?a("span",[t._v("\n "+t._s(t.$t("firefly.spent_x_of_y",{amount:Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.spent),total:Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.amount)}))+"\n ")]):t._e()]),t._v(" "),a("div",{staticClass:"progress-bar bg-danger progress-bar-striped",style:"width: "+t.budgetLimit.pctRed+"%;",attrs:{"aria-valuenow":t.budgetLimit.pctRed,"aria-valuemax":"100","aria-valuemin":"0",role:"progressbar"}},[t.budgetLimit.pctOrange<=50&&t.budgetLimit.pctRed>35?a("span",{staticClass:"text-muted"},[t._v("\n "+t._s(t.$t("firefly.spent_x_of_y",{amount:Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.spent),total:Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.amount)}))+"\n ")]):t._e()]),t._v(" "),t.budgetLimit.pctGreen<=35&&0===t.budgetLimit.pctOrange&&0===t.budgetLimit.pctRed&&0!==t.budgetLimit.pctGreen?a("span",{staticStyle:{"line-height":"16px"}},[t._v("\n "+t._s(t.$t("firefly.spent_x_of_y",{amount:Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.spent),total:Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.amount)}))+"\n ")]):t._e()]),t._v(" "),a("small",{staticClass:"d-none d-lg-block"},[t._v("\n "+t._s(new Intl.DateTimeFormat(t.locale,{year:"numeric",month:"long",day:"numeric"}).format(t.budgetLimit.start))+"\n →\n "+t._s(new Intl.DateTimeFormat(t.locale,{year:"numeric",month:"long",day:"numeric"}).format(t.budgetLimit.end))+"\n ")])]),t._v(" "),a("td",{staticClass:"align-middle d-none d-lg-table-cell",staticStyle:{width:"10%"}},[parseFloat(t.budgetLimit.amount)+parseFloat(t.budgetLimit.spent)>0?a("span",{staticClass:"text-success"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(parseFloat(t.budgetLimit.amount)+parseFloat(t.budgetLimit.spent)))+"\n ")]):t._e(),t._v(" "),0===parseFloat(t.budgetLimit.amount)+parseFloat(t.budgetLimit.spent)?a("span",{staticClass:"text-muted"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(0))+"\n ")]):t._e(),t._v(" "),parseFloat(t.budgetLimit.amount)+parseFloat(t.budgetLimit.spent)<0?a("span",{staticClass:"text-danger"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(parseFloat(t.budgetLimit.amount)+parseFloat(t.budgetLimit.spent)))+"\n ")]):t._e()])])}),[],!1,null,"7988ecb6",null).exports,Z={name:"BudgetRow",created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US"},data:function(){return{locale:"en-US"}},props:{budget:{type:Object,default:{}}}},E={name:"BudgetListGroup",components:{BudgetLimitRow:R,BudgetRow:(0,n.Z)(Z,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("tr",[a("td",{staticStyle:{width:"25%"}},[a("a",{attrs:{href:"./budgets/show/"+t.budget.id}},[t._v(t._s(t.budget.name))])]),t._v(" "),a("td",{staticClass:"align-middle text-right"},[a("span",{staticClass:"text-danger"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:t.budget.currency_code}).format(parseFloat(t.budget.spent)))+"\n ")])])])}),[],!1,null,"2fc8f640",null).exports},props:{title:String,budgetLimits:Array,budgets:Array}},$=(0,n.Z)(E,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v(t._s(t.title))])]),t._v(" "),a("div",{staticClass:"card-body table-responsive p-0"},[a("table",{staticClass:"table table-sm"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.title))]),t._v(" "),a("thead",[a("tr",[a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.budget")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.spent")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.left")))])])]),t._v(" "),a("tbody",[t._l(t.budgetLimits,(function(t,e){return a("BudgetLimitRow",{key:e,attrs:{budgetLimit:t}})})),t._v(" "),t._l(t.budgets,(function(t,e){return a("BudgetRow",{key:e,attrs:{budget:t}})}))],2)])]),t._v(" "),a("div",{staticClass:"card-footer"},[a("a",{staticClass:"btn btn-default button-sm",attrs:{href:"./budgets"}},[a("i",{staticClass:"far fa-money-bill-alt"}),t._v(" "+t._s(t.$t("firefly.go_to_budgets")))])])])}),[],!1,null,"2b21deef",null).exports;function U(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function W(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?U(Object(a),!0).forEach((function(e){V(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):U(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function V(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var q=(0,r._p)("dashboard/index"),G=(q.mapState,q.mapGetters);q.mapActions,q.mapMutations;const K={name:"MainBudgetList",components:{BudgetListGroup:$},data:function(){return{budgetList:["daily","weekly","monthly","quarterly","half_year","yearly","other"],budgetLimits:{daily:[],weekly:[],monthly:[],quarterly:[],half_year:[],yearly:[],other:[]},budgets:{},rawBudgets:[],locale:"en-US",ready:!1,loading:!0,error:!1}},created:function(){var t;this.ready=!0,this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US"},watch:{datesReady:function(t){!0===t&&this.getBudgets()},start:function(){!1===this.loading&&this.getBudgets()},end:function(){!1===this.loading&&this.getBudgets()}},computed:W(W({},G(["start","end"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready}}),methods:{getBudgets:function(){var t=this;this.budgets={},this.rawBudgets=[],this.budgetLimits={daily:[],weekly:[],monthly:[],quarterly:[],half_year:[],yearly:[],other:[]},this.loading=!0;var e=(0,s.Z)(this.start,"y-MM-dd"),a=(0,s.Z)(this.end,"y-MM-dd");axios.get("./api/v1/budgets?start="+e+"&end="+a).then((function(e){t.parseBudgets(e.data)}))},parseBudgets:function(t){for(var e in t.data)if(t.data.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t.data[e];if(!1===a.attributes.active)continue;for(var n in a.attributes.spent)if(a.attributes.spent.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294){var i=a.attributes.spent[n];this.rawBudgets.push({id:parseInt(a.id),name:a.attributes.name,currency_id:parseInt(i.currency_id),currency_code:i.currency_code,spent:i.sum})}}this.getBudgetLimits()},getBudgetLimits:function(){var t=this,e=(0,s.Z)(this.start,"y-MM-dd"),a=(0,s.Z)(this.end,"y-MM-dd");axios.get("./api/v1/budget-limits?start="+e+"&end="+a).then((function(e){t.parseBudgetLimits(e.data),t.loading=!1}))},parseBudgetLimits:function(t){for(var e in t.included)if(t.included.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t.included[e],n=parseInt(a.id);this.budgets[n]={id:n,name:a.attributes.name}}for(var i in t.data)if(t.data.hasOwnProperty(i)&&/^0$|^[1-9]\d*$/.test(i)&&i<=4294967294){var r,s=t.data[i],o=parseInt(s.id),c=parseInt(s.attributes.budget_id),l=parseInt(s.attributes.currency_id),_=parseFloat(s.attributes.spent),d=-1*parseFloat(s.attributes.spent),u=parseFloat(s.attributes.amount),p=null!==(r=s.attributes.period)&&void 0!==r?r:"other",y=0,g=0,h=0;this.filterBudgets(c,l),0!==_&&d<u&&(y=d/u*100),0!==d&&d>u&&(h=100-(g=d/u*100));var m={id:o,amount:s.attributes.amount,budget_id:c,budget_name:this.budgets[s.attributes.budget_id].name,currency_id:l,currency_code:s.attributes.currency_code,period:s.attributes.period,start:new Date(s.attributes.start),end:new Date(s.attributes.end),spent:s.attributes.spent,pctGreen:y,pctOrange:g,pctRed:h};this.budgetLimits[p].push(m)}},filterBudgets:function(t,e){for(var a in this.rawBudgets)this.rawBudgets.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294&&this.rawBudgets[a].currency_id===e&&this.rawBudgets[a].id===t&&this.rawBudgets.splice(parseInt(a),1)}}},H=(0,n.Z)(K,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[t.loading?t._e():a("div",{staticClass:"row"},[t.budgetLimits.daily.length>0?a("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[a("BudgetListGroup",{attrs:{budgetLimits:t.budgetLimits.daily,title:t.$t("firefly.daily_budgets")}})],1):t._e(),t._v(" "),t.budgetLimits.weekly.length>0?a("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[a("BudgetListGroup",{attrs:{budgetLimits:t.budgetLimits.weekly,title:t.$t("firefly.weekly_budgets")}})],1):t._e(),t._v(" "),t.budgetLimits.monthly.length>0?a("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[a("BudgetListGroup",{attrs:{budgetLimits:t.budgetLimits.monthly,title:t.$t("firefly.monthly_budgets")}})],1):t._e(),t._v(" "),t.budgetLimits.quarterly.length>0?a("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[a("BudgetListGroup",{attrs:{budgetLimits:t.budgetLimits.quarterly,title:t.$t("firefly.quarterly_budgets")}})],1):t._e(),t._v(" "),t.budgetLimits.half_year.length>0?a("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[a("BudgetListGroup",{attrs:{budgetLimits:t.budgetLimits.half_year,title:t.$t("firefly.half_year_budgets")}})],1):t._e(),t._v(" "),t.budgetLimits.yearly.length>0?a("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[a("BudgetListGroup",{attrs:{budgetLimits:t.budgetLimits.yearly,title:t.$t("firefly.yearly_budgets")}})],1):t._e(),t._v(" "),t.budgetLimits.other.length>0||t.rawBudgets.length>0?a("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[a("BudgetListGroup",{attrs:{budgetLimits:t.budgetLimits.other,budgets:t.rawBudgets,title:t.$t("firefly.other_budgets")}})],1):t._e()]),t._v(" "),t.loading&&!t.error?a("div",{staticClass:"row"},[t._m(0)]):t._e()])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col"},[e("div",{staticClass:"card"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-spinner fa-spin"})])])])])}],!1,null,"0ae2dcbe",null).exports;function Q(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function Y(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?Q(Object(a),!0).forEach((function(e){J(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):Q(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function J(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var X=(0,r._p)("dashboard/index"),tt=(X.mapState,X.mapGetters);X.mapActions,X.mapMutations;const et={name:"MainCreditList",data:function(){return{locale:"en-US",income:[],max:0,loading:!0,error:!1}},created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US",this.ready=!0},computed:Y(Y({},tt(["start","end"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready}}),watch:{datesReady:function(t){!0===t&&this.getIncome()},start:function(){!1===this.loading&&this.getIncome()},end:function(){!1===this.loading&&this.getIncome()}},methods:{getIncome:function(){var t=this;this.loading=!0,this.income=[],this.error=!1;var e=(0,s.Z)(this.start,"y-MM-dd"),a=(0,s.Z)(this.end,"y-MM-dd");axios.get("./api/v1/insight/income/revenue?start="+e+"&end="+a).then((function(e){t.parseIncome(e.data),t.loading=!1})).catch((function(e){t.error=!0}))},parseIncome:function(t){for(var e in t)if(t.hasOwnProperty(e)){var a=t[e=parseInt(e)];a.pct=0,this.max=a.difference_float>this.max?a.difference_float:this.max,this.income.push(a)}for(var n in 0===this.max&&(this.max=1),this.income)if(this.income.hasOwnProperty(n)){var i=this.income[n];i.pct=i.difference_float/this.max*100,this.income[n]=i}this.income.sort((function(t,e){return t.pct>e.pct?-1:e.pct>t.pct?1:0}))}}},at=(0,n.Z)(et,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v(t._s(t.$t("firefly.revenue_accounts")))])]),t._v(" "),t.loading&&!t.error?a("div",{staticClass:"card-body"},[t._m(0)]):t._e(),t._v(" "),t.error?a("div",{staticClass:"card-body"},[t._m(1)]):t._e(),t._v(" "),t.loading||t.error?t._e():a("div",{staticClass:"card-body table-responsive p-0"},[a("table",{staticClass:"table table-sm"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("firefly.revenue_accounts")))]),t._v(" "),a("thead",[a("tr",[a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.account")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.earned")))])])]),t._v(" "),a("tbody",t._l(t.income,(function(e){return a("tr",[a("td",{staticStyle:{width:"20%"}},[a("a",{attrs:{href:"./accounts/show/"+e.id}},[t._v(t._s(e.name))])]),t._v(" "),a("td",{staticClass:"align-middle"},[e.pct>0?a("div",{staticClass:"progress"},[a("div",{staticClass:"progress-bar progress-bar-striped bg-success",style:{width:e.pct+"%"},attrs:{"aria-valuenow":e.pct,"aria-valuemax":"100","aria-valuemin":"0",role:"progressbar"}},[e.pct>20?a("span",[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.difference_float))+"\n ")]):t._e()]),t._v(" "),e.pct<=20?a("span",{staticStyle:{"line-height":"16px"}},[t._v(" \n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.difference_float))+"\n ")]):t._e()]):t._e()])])})),0)])]),t._v(" "),a("div",{staticClass:"card-footer"},[a("a",{staticClass:"btn btn-default button-sm",attrs:{href:"./transactions/deposit"}},[a("i",{staticClass:"far fa-money-bill-alt"}),t._v(" "+t._s(t.$t("firefly.go_to_deposits")))])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-spinner fa-spin"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle text-danger"})])}],!1,null,null,null).exports;function nt(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function it(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?nt(Object(a),!0).forEach((function(e){rt(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):nt(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function rt(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var st=(0,r._p)("dashboard/index"),ot=(st.mapState,st.mapGetters);st.mapActions,st.mapMutations;const ct={name:"MainDebitList",data:function(){return{locale:"en-US",expenses:[],min:0,loading:!0,error:!1}},created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US",this.ready=!0},computed:it(it({},ot(["start","end"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready}}),watch:{datesReady:function(t){!0===t&&this.getExpenses()},start:function(){!1===this.loading&&this.getExpenses()},end:function(){!1===this.loading&&this.getExpenses()}},methods:{getExpenses:function(){var t=this;this.loading=!0,this.error=!1,this.expenses=[];var e=(0,s.Z)(this.start,"y-MM-dd"),a=(0,s.Z)(this.end,"y-MM-dd");axios.get("./api/v1/insight/expense/expense?start="+e+"&end="+a).then((function(e){t.parseExpenses(e.data),t.loading=!1})).catch((function(e){t.error=!0}))},parseExpenses:function(t){for(var e in t)if(t.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t[e];a.pct=0,this.min=a.difference_float<this.min?a.difference_float:this.min,this.expenses.push(a)}for(var n in 0===this.min&&(this.min=-1),this.expenses)if(this.expenses.hasOwnProperty(n)){var i=this.expenses[n];i.pct=-1*i.difference_float/this.min*-1*100,this.expenses[n]=i}this.expenses.sort((function(t,e){return t.pct>e.pct?-1:e.pct>t.pct?1:0}))}}},lt=(0,n.Z)(ct,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v(t._s(t.$t("firefly.expense_accounts")))])]),t._v(" "),t.loading&&!t.error?a("div",{staticClass:"card-body"},[t._m(0)]):t._e(),t._v(" "),t.error?a("div",{staticClass:"card-body"},[t._m(1)]):t._e(),t._v(" "),t.loading||t.error?t._e():a("div",{staticClass:"card-body table-responsive p-0"},[a("table",{staticClass:"table table-sm"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("firefly.expense_accounts")))]),t._v(" "),a("thead",[a("tr",[a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.account")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.spent")))])])]),t._v(" "),a("tbody",t._l(t.expenses,(function(e){return a("tr",[a("td",{staticStyle:{width:"20%"}},[a("a",{attrs:{href:"./accounts/show/"+e.id}},[t._v(t._s(e.name))])]),t._v(" "),a("td",{staticClass:"align-middle"},[e.pct>0?a("div",{staticClass:"progress"},[a("div",{staticClass:"progress-bar progress-bar-striped bg-danger",style:{width:e.pct+"%"},attrs:{"aria-valuenow":e.pct,"aria-valuemax":"100","aria-valuemin":"0",role:"progressbar"}},[e.pct>20?a("span",[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.difference_float))+"\n ")]):t._e()]),t._v(" "),e.pct<=20?a("span",{staticStyle:{"line-height":"16px"}},[t._v(" \n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.difference_float))+"\n ")]):t._e()]):t._e()])])})),0)])]),t._v(" "),a("div",{staticClass:"card-footer"},[a("a",{staticClass:"btn btn-default button-sm",attrs:{href:"./transactions/withdrawal"}},[a("i",{staticClass:"far fa-money-bill-alt"}),t._v(" "+t._s(t.$t("firefly.go_to_withdrawals")))])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-spinner fa-spin"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle text-danger"})])}],!1,null,null,null).exports,_t={name:"MainPiggyList",data:function(){return{piggy_banks:[],loading:!0,error:!1,locale:"en-US"}},created:function(){var t,e=this;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US",axios.get("./api/v1/piggy_banks").then((function(t){e.loadPiggyBanks(t.data.data),e.loading=!1})).catch((function(t){e.error=!0}))},methods:{loadPiggyBanks:function(t){for(var e in t)if(t.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t[e];0!==parseFloat(a.attributes.left_to_save)&&(a.attributes.pct=parseFloat(a.attributes.current_amount)/parseFloat(a.attributes.target_amount)*100,this.piggy_banks.push(a))}this.piggy_banks.sort((function(t,e){return e.attributes.pct-t.attributes.pct}))}}},dt=(0,n.Z)(_t,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v(t._s(t.$t("firefly.piggy_banks")))])]),t._v(" "),t.loading&&!t.error?a("div",{staticClass:"card-body"},[t._m(0)]):t._e(),t._v(" "),t.error?a("div",{staticClass:"card-body"},[t._m(1)]):t._e(),t._v(" "),t.loading||t.error?t._e():a("div",{staticClass:"card-body table-responsive p-0"},[a("table",{staticClass:"table table-striped"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("firefly.piggy_banks")))]),t._v(" "),a("thead",[a("tr",[a("th",{staticStyle:{width:"35%"},attrs:{scope:"col"}},[t._v(t._s(t.$t("list.piggy_bank")))]),t._v(" "),a("th",{staticStyle:{width:"40%"},attrs:{scope:"col"}},[t._v(t._s(t.$t("list.percentage"))+" "),a("small",[t._v("/ "+t._s(t.$t("list.amount")))])])])]),t._v(" "),a("tbody",t._l(this.piggy_banks,(function(e){return a("tr",[a("td",[a("a",{attrs:{href:"./piggy-banks/show/"+e.id,title:e.attributes.name}},[t._v(t._s(e.attributes.name))]),t._v(" "),e.attributes.object_group_title?a("small",{staticClass:"text-muted"},[a("br"),t._v("\n "+t._s(e.attributes.object_group_title)+"\n ")]):t._e()]),t._v(" "),a("td",[a("div",{staticClass:"progress-group"},[a("div",{staticClass:"progress progress-sm"},[e.attributes.pct<100?a("div",{staticClass:"progress-bar progress-bar-striped primary",style:{width:e.attributes.pct+"%"}}):t._e(),t._v(" "),100===e.attributes.pct?a("div",{staticClass:"progress-bar progress-bar-striped bg-success",style:{width:e.attributes.pct+"%"}}):t._e()])]),t._v(" "),a("span",{staticClass:"text-success"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.attributes.currency_code}).format(e.attributes.current_amount))+"\n ")]),t._v("\n of\n "),a("span",{staticClass:"text-success"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.attributes.currency_code}).format(e.attributes.target_amount)))])])])})),0)])]),t._v(" "),a("div",{staticClass:"card-footer"},[a("a",{staticClass:"btn btn-default button-sm",attrs:{href:"./piggy-banks"}},[a("i",{staticClass:"far fa-money-bill-alt"}),t._v(" "+t._s(t.$t("firefly.go_to_piggies")))])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-spinner fa-spin"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle text-danger"})])}],!1,null,"c17c9a5a",null).exports,ut={name:"TransactionListLarge",data:function(){return{locale:"en-US"}},created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US"},props:{transactions:{type:Array,default:function(){return[]}},account_id:{type:Number,default:function(){return 0}}}},pt=(0,n.Z)(ut,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("table",{staticClass:"table table-striped table-sm"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("firefly.transaction_table_description")))]),t._v(" "),a("thead",[a("tr",[a("th",{staticClass:"text-left",attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.description")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.opposing_account")))]),t._v(" "),a("th",{staticClass:"text-right",attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.amount")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.category")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.budget")))])])]),t._v(" "),a("tbody",t._l(this.transactions,(function(e){return a("tr",[a("td",[a("a",{attrs:{href:"transactions/show/"+e.id,title:e.date}},[e.attributes.transactions.length>1?a("span",[t._v(t._s(e.attributes.group_title))]):t._e(),t._v(" "),1===e.attributes.transactions.length?a("span",[t._v(t._s(e.attributes.transactions[0].description))]):t._e()])]),t._v(" "),a("td",t._l(e.attributes.transactions,(function(e){return a("span",["withdrawal"===e.type?a("a",{attrs:{href:"accounts/show/"+e.destination_id}},[t._v(t._s(e.destination_name))]):t._e(),t._v(" "),"deposit"===e.type?a("a",{attrs:{href:"accounts/show/"+e.source_id}},[t._v(t._s(e.source_name))]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.source_id)===t.account_id?a("a",{attrs:{href:"accounts/show/"+e.destination_id}},[t._v(t._s(e.destination_name))]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.destination_id)===t.account_id?a("a",{attrs:{href:"accounts/show/"+e.source_id}},[t._v(t._s(e.source_name))]):t._e(),t._v(" "),a("br")])})),0),t._v(" "),a("td",{staticStyle:{"text-align":"right"}},t._l(e.attributes.transactions,(function(e){return a("span",["withdrawal"===e.type?a("span",{staticClass:"text-danger"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(-1*e.amount))),a("br")]):t._e(),t._v(" "),"deposit"===e.type?a("span",{staticClass:"text-success"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.amount))),a("br")]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.source_id)===t.account_id?a("span",{staticClass:"text-info"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(-1*e.amount))),a("br")]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.destination_id)===t.account_id?a("span",{staticClass:"text-info"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.amount))),a("br")]):t._e()])})),0),t._v(" "),a("td",t._l(e.attributes.transactions,(function(e){return a("span",[0!==e.category_id?a("a",{attrs:{href:"categories/show/"+e.category_id}},[t._v(t._s(e.category_name))]):t._e(),a("br")])})),0),t._v(" "),a("td",t._l(e.attributes.transactions,(function(e){return a("span",[0!==e.budget_id?a("a",{attrs:{href:"budgets/show/"+e.budget_id}},[t._v(t._s(e.budget_name))]):t._e(),a("br")])})),0)])})),0)])}),[],!1,null,"6e420753",null).exports,yt={name:"TransactionListMedium",data:function(){return{locale:"en-US"}},created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US"},props:{transactions:{type:Array,default:function(){return[]}},account_id:{type:Number,default:function(){return 0}}}},gt=(0,n.Z)(yt,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("table",{staticClass:"table table-striped table-sm"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("firefly.transaction_table_description")))]),t._v(" "),a("thead",[a("tr",[a("th",{staticClass:"text-left",attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.description")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.opposing_account")))]),t._v(" "),a("th",{staticClass:"text-right",attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.amount")))])])]),t._v(" "),a("tbody",t._l(this.transactions,(function(e){return a("tr",[a("td",[a("a",{attrs:{href:"transactions/show/"+e.id,title:e.date}},[e.attributes.transactions.length>1?a("span",[t._v(t._s(e.attributes.group_title))]):t._e(),t._v(" "),1===e.attributes.transactions.length?a("span",[t._v(t._s(e.attributes.transactions[0].description))]):t._e()])]),t._v(" "),a("td",t._l(e.attributes.transactions,(function(e){return a("span",["withdrawal"===e.type?a("a",{attrs:{href:"accounts/show/"+e.destination_id}},[t._v(t._s(e.destination_name))]):t._e(),t._v(" "),"deposit"===e.type?a("a",{attrs:{href:"accounts/show/"+e.source_id}},[t._v(t._s(e.source_name))]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.source_id)===t.account_id?a("a",{attrs:{href:"accounts/show/"+e.destination_id}},[t._v(t._s(e.destination_name))]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.destination_id)===t.account_id?a("a",{attrs:{href:"accounts/show/"+e.source_id}},[t._v(t._s(e.source_name))]):t._e(),t._v(" "),a("br")])})),0),t._v(" "),a("td",{staticStyle:{"text-align":"right"}},t._l(e.attributes.transactions,(function(e){return a("span",["withdrawal"===e.type?a("span",{staticClass:"text-danger"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(-1*e.amount))),a("br")]):t._e(),t._v(" "),"deposit"===e.type?a("span",{staticClass:"text-success"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.amount))),a("br")]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.source_id)===t.account_id?a("span",{staticClass:"text-info"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(-1*e.amount))),a("br")]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.destination_id)===t.account_id?a("span",{staticClass:"text-info"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.amount))),a("br")]):t._e()])})),0)])})),0)])}),[],!1,null,"0d4f7042",null).exports,ht={name:"TransactionListSmall",data:function(){return{locale:"en-US"}},created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US"},methods:{},props:{transactions:{type:Array,default:function(){return[]}},account_id:{type:Number,default:function(){return 0}}}},mt=(0,n.Z)(ht,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("table",{staticClass:"table table-striped table-sm"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("firefly.transaction_table_description")))]),t._v(" "),a("thead",[a("tr",[a("th",{staticClass:"text-left",attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.description")))]),t._v(" "),a("th",{staticClass:"text-right",attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.amount")))])])]),t._v(" "),a("tbody",t._l(this.transactions,(function(e){return a("tr",[a("td",[a("a",{attrs:{href:"transactions/show/"+e.id,title:new Intl.DateTimeFormat(t.locale,{year:"numeric",month:"long",day:"numeric"}).format(new Date(e.attributes.transactions[0].date))}},[e.attributes.transactions.length>1?a("span",[t._v(t._s(e.attributes.group_title))]):t._e(),t._v(" "),1===e.attributes.transactions.length?a("span",[t._v(t._s(e.attributes.transactions[0].description))]):t._e()])]),t._v(" "),a("td",{staticStyle:{"text-align":"right"}},t._l(e.attributes.transactions,(function(e){return a("span",["withdrawal"===e.type?a("span",{staticClass:"text-danger"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(-1*e.amount))),a("br")]):t._e(),t._v(" "),"deposit"===e.type?a("span",{staticClass:"text-success"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.amount))),a("br")]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.source_id)===t.account_id?a("span",{staticClass:"text-info"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(-1*e.amount))),a("br")]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.destination_id)===t.account_id?a("span",{staticClass:"text-info"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.amount))),a("br")]):t._e()])})),0)])})),0)])}),[],!1,null,"4cd7a656",null).exports;var ft=a(1114);function bt(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function vt(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?bt(Object(a),!0).forEach((function(e){wt(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):bt(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function wt(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var kt=(0,r._p)("dashboard/index"),Dt=(kt.mapState,kt.mapGetters);kt.mapActions,kt.mapMutations;const St={name:"MainCategoryList",created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US",this.ready=!0},data:function(){return{locale:"en-US",categories:[],sortedList:[],spent:0,earned:0,loading:!0,error:!1}},computed:vt(vt({},Dt(["start","end"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready}}),watch:{datesReady:function(t){!0===t&&this.getCategories()},start:function(){!1===this.loading&&this.getCategories()},end:function(){!1===this.loading&&this.getCategories()}},methods:{getCategories:function(){this.categories=[],this.sortedList=[],this.spent=0,this.earned=0,this.loading=!0;var t=(0,s.Z)(this.start,"y-MM-dd"),e=(0,s.Z)(this.end,"y-MM-dd");this.getCategoryPage(t,e,1)},getCategoryPage:function(t,e,a){var n=this;axios.get("./api/v1/categories?start="+t+"&end="+e+"&page="+a).then((function(a){var i=a.data.data,r=parseInt(a.data.meta.pagination.current_page),s=parseInt(a.data.meta.pagination.total_pages);if(n.parseCategories(i),r<s){var o=r+1;n.getCategoryPage(t,e,o)}r===s&&(n.loading=!1,n.sortCategories())})).catch((function(t){n.error=!0}))},parseCategories:function(t){for(var e in t)if(t.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t[e],n=null,i=parseInt(a.id);for(var r in a.attributes.spent)if(a.attributes.spent.hasOwnProperty(r)&&/^0$|^[1-9]\d*$/.test(r)&&r<=4294967294){var s,o=a.attributes.spent[r];n=o.currency_id+"-"+a.id,this.categories[n]=null!==(s=this.categories[n])&&void 0!==s?s:{id:i,name:a.attributes.name,currency_code:o.currency_code,currency_symbol:o.currency_symbol,spent:0,earned:0,spentPct:0,earnedPct:0},this.categories[n].spent=parseFloat(o.sum),this.spent=parseFloat(o.sum)<this.spent?parseFloat(o.sum):this.spent}for(var c in a.attributes.earned)if(a.attributes.earned.hasOwnProperty(c)&&/^0$|^[1-9]\d*$/.test(c)&&c<=4294967294){var l,_=a.attributes.earned[c];n=_.currency_id+"-"+a.id,this.categories[n]=null!==(l=this.categories[n])&&void 0!==l?l:{id:i,name:a.attributes.name,currency_code:_.currency_code,currency_symbol:_.currency_symbol,spent:0,earned:0,spentPct:0,earnedPct:0},this.categories[n].earned=parseFloat(_.sum),this.earned=parseFloat(_.sum)>this.earned?parseFloat(_.sum):this.earned}}},sortCategories:function(){var t=[];for(var e in this.categories)this.categories.hasOwnProperty(e)&&t.push(this.categories[e]);for(var a in t.sort((function(t,e){return t.spent+t.earned-(e.spent+e.earned)})),t)if(t.hasOwnProperty(a)){var n=t[a];n.spentPct=n.spent/this.spent*100,n.earnedPct=n.earned/this.earned*100,this.sortedList.push(n)}}}},Ct=(0,n.Z)(St,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v(t._s(t.$t("firefly.categories")))])]),t._v(" "),t.loading&&!t.error?a("div",{staticClass:"card-body"},[t._m(0)]):t._e(),t._v(" "),t.error?a("div",{staticClass:"card-body"},[t._m(1)]):t._e(),t._v(" "),t.loading||t.error?t._e():a("div",{staticClass:"card-body table-responsive p-0"},[a("table",{staticClass:"table table-sm"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("firefly.categories")))]),t._v(" "),a("thead",[a("tr",[a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.category")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.spent"))+" / "+t._s(t.$t("firefly.earned")))])])]),t._v(" "),a("tbody",t._l(t.sortedList,(function(e){return a("tr",[a("td",{staticStyle:{width:"20%"}},[a("a",{attrs:{href:"./categories/show/"+e.id}},[t._v(t._s(e.name))])]),t._v(" "),a("td",{staticClass:"align-middle"},[e.spentPct>0?a("div",{staticClass:"progress"},[a("div",{staticClass:"progress-bar progress-bar-striped bg-danger",style:{width:e.spentPct+"%"},attrs:{"aria-valuenow":e.spentPct,"aria-valuemax":"100","aria-valuemin":"0",role:"progressbar"}},[e.spentPct>20?a("span",[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.spent))+"\n ")]):t._e()]),t._v(" "),e.spentPct<=20?a("span",{staticClass:"progress-label",staticStyle:{"line-height":"16px"}},[t._v(" \n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.spent))+"\n ")]):t._e()]):t._e(),t._v(" "),e.earnedPct>0?a("div",{staticClass:"progress justify-content-end",attrs:{title:"hello2"}},[e.earnedPct<=20?a("span",{staticStyle:{"line-height":"16px"}},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.earned))+"\n ")]):t._e(),t._v(" "),a("div",{staticClass:"progress-bar progress-bar-striped bg-success",style:{width:e.earnedPct+"%"},attrs:{"aria-valuenow":e.earnedPct,"aria-valuemax":"100","aria-valuemin":"0",role:"progressbar",title:"hello"}},[e.earnedPct>20?a("span",[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.earned))+"\n ")]):t._e()])]):t._e()])])})),0)])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-spinner fa-spin"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle text-danger"})])}],!1,null,"a33c44be",null).exports;var It=a(7760),xt=a.n(It),jt=a(9899);a(232),a(2181),xt().component("transaction-list-large",pt),xt().component("transaction-list-medium",gt),xt().component("transaction-list-small",mt),xt().component("dashboard",i),xt().component("top-boxes",p),xt().component("main-account",D),xt().component("main-account-list",A),xt().component("main-bills-list",F),xt().component("main-budget-list",H),xt().component("main-category-list",Ct),xt().component("main-debit-list",lt),xt().component("main-credit-list",at),xt().component("main-piggy-list",dt),xt().use(r.ZP);var zt=a(157),At={};new(xt())({i18n:zt,store:jt.Z,el:"#dashboard",render:function(t){return t(i,{props:At})},beforeCreate:function(){this.$store.commit("initialiseStore"),this.$store.dispatch("updateCurrencyPreference"),this.$store.dispatch("root/initialiseStore"),this.$store.dispatch("dashboard/index/initialiseStore")}}),new(xt())({i18n:zt,store:jt.Z,el:"#calendar",render:function(t){return t(ft.Z,{props:At})}})},4478:(t,e,a)=>{"use strict";function n(){return{description:[],amount:[],source:[],destination:[],currency:[],foreign_currency:[],foreign_amount:[],date:[],custom_dates:[],budget:[],category:[],bill:[],tags:[],piggy_bank:[],internal_reference:[],external_url:[],notes:[],location:[]}}function i(){return{description:"",transaction_journal_id:0,source_account_id:null,source_account_name:null,source_account_type:null,source_account_currency_id:null,source_account_currency_code:null,source_account_currency_symbol:null,destination_account_id:null,destination_account_name:null,destination_account_type:null,destination_account_currency_id:null,destination_account_currency_code:null,destination_account_currency_symbol:null,attachments:!1,selectedAttachments:!1,uploadTrigger:!1,clearTrigger:!1,source_account:{id:0,name:"",name_with_balance:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2},destination_account:{id:0,name:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2},amount:"",currency_id:0,foreign_amount:"",foreign_currency_id:0,category:null,budget_id:0,bill_id:0,piggy_bank_id:0,tags:[],interest_date:null,book_date:null,process_date:null,due_date:null,payment_date:null,invoice_date:null,internal_reference:null,external_url:null,external_id:null,notes:null,links:[],zoom_level:null,longitude:null,latitude:null,errors:{}}}a.d(e,{kQ:()=>n,f$:()=>i})},9239:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>o});var n=a(4015),i=a.n(n),r=a(3645),s=a.n(r)()(i());s.push([t.id,".dropdown-item[data-v-391cacea],.dropdown-item[data-v-391cacea]:hover{color:#212529}","",{version:3,sources:["webpack://./src/components/dashboard/Calendar.vue"],names:[],mappings:"AAwlBA,sEACA,aACA",sourcesContent:["\x3c!--\n - Calendar.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n --\x3e\n\n<template>\n <div>\n <div class=\"row\">\n <div class=\"col\">Start</div>\n <div class=\"col-8\">{{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(range.start) }}</div>\n </div>\n <div class=\"row\">\n <div class=\"col\">End</div>\n <div class=\"col-8\">{{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(range.end) }}</div>\n </div>\n <date-picker\n v-model=\"range\"\n :rows=\"2\"\n is-range\n mode=\"date\"\n >\n <template v-slot=\"{ inputValue, inputEvents, isDragging, togglePopover }\">\n <div class=\"row\">\n <div class=\"col\">\n <div class=\"btn-group btn-group-sm d-flex\">\n <button\n :title=\"$t('firefly.custom_period')\" class=\"btn btn-secondary btn-sm\"\n @click=\"togglePopover({ placement: 'auto-start', positionFixed: true })\"\n ><i class=\"fas fa-calendar-alt\"></i></button>\n <button :title=\"$t('firefly.reset_to_current')\"\n class=\"btn btn-secondary\"\n @click=\"resetDate\"\n ><i class=\"fas fa-history\"></i></button>\n <button id=\"dropdownMenuButton\" :title=\"$t('firefly.select_period')\" aria-expanded=\"false\" aria-haspopup=\"true\"\n class=\"btn btn-secondary dropdown-toggle\"\n data-toggle=\"dropdown\"\n type=\"button\">\n <i class=\"fas fa-list\"></i>\n </button>\n <div aria-labelledby=\"dropdownMenuButton\" class=\"dropdown-menu\">\n <a v-for=\"period in periods\" class=\"dropdown-item\" href=\"#\" @click=\"customDate(period.start, period.end)\">{{ period.title }}</a>\n </div>\n\n </div>\n <input v-on=\"inputEvents.start\"\n :class=\"isDragging ? 'text-gray-600' : 'text-gray-900'\"\n :value=\"inputValue.start\"\n type=\"hidden\"\n />\n <input v-on=\"inputEvents.end\"\n :class=\"isDragging ? 'text-gray-600' : 'text-gray-900'\"\n :value=\"inputValue.end\"\n type=\"hidden\"\n />\n </div>\n </div>\n </template>\n </date-picker>\n </div>\n</template>\n\n<script>\n\nimport {createNamespacedHelpers} from \"vuex\";\nimport Vue from \"vue\";\nimport DatePicker from \"v-calendar/lib/components/date-picker.umd\";\nimport subDays from 'date-fns/subDays';\nimport addDays from 'date-fns/addDays';\nimport addMonths from 'date-fns/addMonths';\nimport startOfDay from 'date-fns/startOfDay';\nimport endOfDay from 'date-fns/endOfDay';\nimport startOfWeek from 'date-fns/startOfWeek';\nimport endOfWeek from 'date-fns/endOfWeek';\nimport endOfMonth from 'date-fns/endOfMonth';\nimport format from 'date-fns/format';\nimport startOfQuarter from 'date-fns/startOfQuarter';\nimport subMonths from 'date-fns/subMonths';\nimport endOfQuarter from 'date-fns/endOfQuarter';\nimport subQuarters from 'date-fns/subQuarters';\nimport addQuarters from 'date-fns/addQuarters';\nimport startOfMonth from 'date-fns/startOfMonth';\n\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\n\nVue.component('date-picker', DatePicker)\n\nexport default {\n name: \"Calendar\",\n created() {\n this.ready = true;\n this.locale = localStorage.locale ?? 'en-US';\n },\n data() {\n return {\n locale: 'en-US',\n ready: false,\n range: {\n start: null,\n end: null,\n },\n defaultRange: {\n start: null,\n end: null,\n },\n periods: []\n };\n },\n methods: {\n ...mapMutations(\n [\n 'setEnd',\n 'setStart',\n ],\n ),\n resetDate: function () {\n //console.log('Reset date to');\n //console.log(this.defaultStart);\n //console.log(this.defaultEnd);\n this.range.start = this.defaultStart;\n this.range.end = this.defaultEnd;\n this.setStart(this.defaultStart);\n this.setEnd(this.defaultEnd);\n },\n customDate: function (startStr, endStr) {\n let start = new Date(startStr);\n let end = new Date(endStr);\n this.setStart(start);\n this.setEnd(end);\n this.range.start = start;\n this.range.end = end;\n this.generatePeriods()\n return false;\n },\n generateDaily: function () {\n let today = new Date(this.range.start);\n // yesterday\n this.periods.push(\n {\n start: startOfDay(subDays(today, 1)).toDateString(),\n end: endOfDay(subDays(today, 1)).toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(subDays(today, 1))\n }\n );\n\n // today\n this.periods.push(\n {\n start: startOfDay(today).toDateString(),\n end: endOfDay(today).toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(today)\n }\n );\n\n // tomorrow:\n this.periods.push(\n {\n start: startOfDay(addDays(today, 1)).toDateString(),\n end: endOfDay(addDays(today, 1)).toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(addDays(today, 1))\n }\n );\n\n // The Day After Tomorrow dun-dun-dun!\n this.periods.push(\n {\n start: startOfDay(addDays(today, 2)).toDateString(),\n end: endOfDay(addDays(today, 2)).toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(addDays(today, 2))\n }\n );\n },\n\n generateWeekly: function () {\n //console.log('weekly');\n let today = new Date(this.range.start);\n //console.log('Today is ' + today);\n let start = startOfDay(startOfWeek(subDays(today, 7), {weekStartsOn: 1}));\n let end = endOfDay(endOfWeek(subDays(today, 7), {weekStartsOn: 1}));\n let dateFormat = this.$t('config.week_in_year_fns');\n //console.log('Date format: \"'+dateFormat+'\"');\n let title = format(start, dateFormat);\n\n // last week\n // console.log('Last week');\n // console.log(start);\n // console.log(end);\n // console.log(title);\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n\n // this week\n start = startOfDay(startOfWeek(today, {weekStartsOn: 1}));\n end = endOfDay(endOfWeek(today, {weekStartsOn: 1}));\n title = format(start, dateFormat);\n // console.log('This week');\n // console.log(start);\n // console.log(end);\n // console.log(title);\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n\n // next week\n start = startOfDay(startOfWeek(addDays(today, 7), {weekStartsOn: 1}));\n end = endOfDay(endOfWeek(addDays(today, 7), {weekStartsOn: 1}));\n title = format(start, dateFormat);\n // console.log('Next week');\n // console.log(start);\n // console.log(end);\n // console.log(title);\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n },\n generateMonthly: function () {\n let today = new Date(this.range.start);\n // previous month\n let start = startOfDay(startOfMonth(subMonths(today, 1)));\n let end = endOfDay(endOfMonth(subMonths(today, 1)));\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long'}).format(start)\n }\n );\n\n // this month\n start = startOfDay(startOfMonth(today));\n end = endOfDay(endOfMonth(today));\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long'}).format(start)\n }\n );\n\n // next month\n start = startOfDay(startOfMonth(addMonths(today, 1)));\n end = endOfDay(endOfMonth(addMonths(today, 1)));\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long'}).format(start)\n }\n );\n\n },\n generateQuarterly: function () {\n let today = new Date(this.range.start);\n\n // last quarter\n let start = startOfDay(startOfQuarter(subQuarters(today, 1)));\n let end = endOfDay(endOfQuarter(subQuarters(today, 1)));\n let dateFormat = this.$t('config.quarter_fns');\n let title = format(start, dateFormat);\n\n // last week\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n\n\n // this quarter\n start = startOfDay(startOfQuarter(today));\n end = endOfDay(endOfQuarter(today));\n title = format(start, dateFormat);\n\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n // next quarter\n start = startOfDay(startOfQuarter(addQuarters(today, 1)));\n end = endOfDay(endOfQuarter(addQuarters(today, 1)));\n title = format(start, dateFormat);\n\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n },\n generateHalfYearly: function () {\n let today = new Date(this.range.start);\n let start;\n let end;\n let title = 'todo';\n let half = 1;\n\n\n // its currently first half of year:\n if (today.getMonth() <= 5) {\n // previous year, last half:\n start = today;\n start.setFullYear(start.getFullYear() - 1);\n start.setMonth(6);\n start.setDate(1);\n start = startOfDay(start);\n end = start;\n end.setMonth(11);\n end.setDate(31);\n end = endOfDay(end);\n half = 2;\n title = format(start, this.$t('config.half_year_fns', {half: half}));\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n\n // this year, first half:\n start = today;\n start.setMonth(0);\n start.setDate(1);\n start = startOfDay(start);\n end = today;\n end.setMonth(5);\n end.setDate(30);\n end = endOfDay(start);\n half = 1;\n title = format(start, this.$t('config.half_year_fns', {half: half}));\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n\n // this year, second half:\n start = today;\n start.setMonth(6);\n start.setDate(1);\n start = startOfDay(start);\n end = start;\n end.setMonth(11);\n end.setDate(31);\n end = endOfDay(end);\n half = 2;\n title = format(start, this.$t('config.half_year_fns', {half: half}));\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n return;\n }\n // this year, first half:\n start = today;\n start.setMonth(0);\n start.setDate(1);\n start = startOfDay(start);\n end = start;\n end.setMonth(5);\n end.setDate(30);\n end = endOfDay(end);\n half = 1;\n title = format(start, this.$t('config.half_year_fns', {half: half}));\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n\n // this year, current (second) half:\n start = today;\n start.setMonth(6);\n start.setDate(1);\n start = startOfDay(start);\n end = today;\n end.setMonth(11);\n end.setDate(31);\n end = endOfDay(start);\n half = 2;\n title = format(start, this.$t('config.half_year_fns', {half: half}));\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n\n // next year, first half:\n start = today;\n start.setMonth(0);\n start.setDate(1);\n start = startOfDay(start);\n end = start;\n end.setMonth(5);\n end.setDate(30);\n end = endOfDay(end);\n half = 1;\n title = format(start, this.$t('config.half_year_fns', {half: half}));\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n },\n generateYearly: function () {\n let today = new Date(this.range.start);\n let start;\n let end;\n let title;\n\n // last year\n start = new Date(today);\n start.setFullYear(start.getFullYear() - 1);\n start.setMonth(0);\n start.setDate(1);\n start = startOfDay(start);\n\n end = new Date(today);\n end.setFullYear(end.getFullYear() - 1);\n end.setMonth(11);\n end.setDate(31);\n end = endOfDay(end);\n\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: start.getFullYear()\n }\n );\n\n // this year\n start = new Date(today);\n start.setMonth(0);\n start.setDate(1);\n start = startOfDay(start);\n\n end = new Date(today);\n end.setMonth(11);\n end.setDate(31);\n end = endOfDay(end);\n\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: start.getFullYear()\n }\n );\n // next year\n start = new Date(today);\n start.setFullYear(start.getFullYear() + 1);\n start.setMonth(0);\n start.setDate(1);\n start = startOfDay(start);\n\n end = new Date(today);\n end.setFullYear(end.getFullYear() + 1);\n end.setMonth(11);\n end.setDate(31);\n end = endOfDay(end);\n\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: start.getFullYear()\n }\n );\n },\n generatePeriods: function () {\n this.periods = [];\n //console.log('The view range is \"' + this.viewRange + '\".');\n switch (this.viewRange) {\n case '1D':\n this.generateDaily();\n break;\n case '1W':\n this.generateWeekly();\n break;\n case '1M':\n this.generateMonthly();\n break;\n case '3M':\n this.generateQuarterly();\n break;\n case '6M':\n this.generateHalfYearly();\n break;\n case '1Y':\n this.generateYearly();\n break;\n }\n\n\n // last 7 days\n let today = new Date;\n let end = new Date;\n end.setDate(end.getDate() - 7);\n this.periods.push(\n {\n start: end.toDateString(),\n end: today.toDateString(),\n title: this.$t('firefly.last_seven_days')\n }\n );\n\n // last 30 days:\n end.setDate(end.getDate() - 23);\n this.periods.push(\n {\n start: end.toDateString(),\n end: today.toDateString(),\n title: this.$t('firefly.last_thirty_days')\n }\n );\n // last 30 days\n // everything\n }\n },\n computed: {\n ...mapGetters([\n 'viewRange',\n 'start',\n 'end',\n 'defaultStart',\n 'defaultEnd'\n ]),\n 'datesReady': function () {\n return null !== this.start && null !== this.end && this.ready;\n },\n },\n watch: {\n datesReady: function (value) {\n if (false === value) {\n return;\n }\n this.range.start = new Date(this.start);\n this.range.end = new Date(this.end);\n this.generatePeriods();\n\n },\n range: function (value) {\n //console.log('User updated range');\n this.setStart(value.start);\n this.setEnd(value.end);\n }\n }\n}\n<\/script>\n\n<style scoped>\n.dropdown-item {\n color: #212529;\n}\n\n.dropdown-item:hover {\n color: #212529;\n}\n</style>"],sourceRoot:""}]);const o=s},5278:()=>{},1114:(t,e,a)=>{"use strict";a.d(e,{Z:()=>A});var n=a(629),i=a(7760),r=a.n(i),s=a(6782),o=a.n(s),c=a(7069),l=a(7349),_=a(1640),d=a(9119),u=a(3894),p=a(584),y=a(7090),g=a(4135),h=a(7955),m=a(4431),f=a(4559),b=a(8358),v=a(8793),w=a(8791),k=a(3703);function D(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function S(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?D(Object(a),!0).forEach((function(e){C(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):D(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function C(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var I=(0,n._p)("dashboard/index"),x=(I.mapState,I.mapGetters),j=(I.mapActions,I.mapMutations);r().component("date-picker",o());const z={name:"Calendar",created:function(){var t;this.ready=!0,this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US"},data:function(){return{locale:"en-US",ready:!1,range:{start:null,end:null},defaultRange:{start:null,end:null},periods:[]}},methods:S(S({},j(["setEnd","setStart"])),{},{resetDate:function(){this.range.start=this.defaultStart,this.range.end=this.defaultEnd,this.setStart(this.defaultStart),this.setEnd(this.defaultEnd)},customDate:function(t,e){var a=new Date(t),n=new Date(e);return this.setStart(a),this.setEnd(n),this.range.start=a,this.range.end=n,this.generatePeriods(),!1},generateDaily:function(){var t=new Date(this.range.start);this.periods.push({start:(0,d.Z)((0,c.Z)(t,1)).toDateString(),end:(0,u.Z)((0,c.Z)(t,1)).toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long",day:"numeric"}).format((0,c.Z)(t,1))}),this.periods.push({start:(0,d.Z)(t).toDateString(),end:(0,u.Z)(t).toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long",day:"numeric"}).format(t)}),this.periods.push({start:(0,d.Z)((0,l.Z)(t,1)).toDateString(),end:(0,u.Z)((0,l.Z)(t,1)).toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long",day:"numeric"}).format((0,l.Z)(t,1))}),this.periods.push({start:(0,d.Z)((0,l.Z)(t,2)).toDateString(),end:(0,u.Z)((0,l.Z)(t,2)).toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long",day:"numeric"}).format((0,l.Z)(t,2))})},generateWeekly:function(){var t=new Date(this.range.start),e=(0,d.Z)((0,p.Z)((0,c.Z)(t,7),{weekStartsOn:1})),a=(0,u.Z)((0,y.Z)((0,c.Z)(t,7),{weekStartsOn:1})),n=this.$t("config.week_in_year_fns"),i=(0,h.Z)(e,n);this.periods.push({start:e.toDateString(),end:a.toDateString(),title:i}),e=(0,d.Z)((0,p.Z)(t,{weekStartsOn:1})),a=(0,u.Z)((0,y.Z)(t,{weekStartsOn:1})),i=(0,h.Z)(e,n),this.periods.push({start:e.toDateString(),end:a.toDateString(),title:i}),e=(0,d.Z)((0,p.Z)((0,l.Z)(t,7),{weekStartsOn:1})),a=(0,u.Z)((0,y.Z)((0,l.Z)(t,7),{weekStartsOn:1})),i=(0,h.Z)(e,n),this.periods.push({start:e.toDateString(),end:a.toDateString(),title:i})},generateMonthly:function(){var t=new Date(this.range.start),e=(0,d.Z)((0,k.Z)((0,f.Z)(t,1))),a=(0,u.Z)((0,g.Z)((0,f.Z)(t,1)));this.periods.push({start:e.toDateString(),end:a.toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long"}).format(e)}),e=(0,d.Z)((0,k.Z)(t)),a=(0,u.Z)((0,g.Z)(t)),this.periods.push({start:e.toDateString(),end:a.toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long"}).format(e)}),e=(0,d.Z)((0,k.Z)((0,_.Z)(t,1))),a=(0,u.Z)((0,g.Z)((0,_.Z)(t,1))),this.periods.push({start:e.toDateString(),end:a.toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long"}).format(e)})},generateQuarterly:function(){var t=new Date(this.range.start),e=(0,d.Z)((0,m.Z)((0,v.Z)(t,1))),a=(0,u.Z)((0,b.Z)((0,v.Z)(t,1))),n=this.$t("config.quarter_fns"),i=(0,h.Z)(e,n);this.periods.push({start:e.toDateString(),end:a.toDateString(),title:i}),e=(0,d.Z)((0,m.Z)(t)),a=(0,u.Z)((0,b.Z)(t)),i=(0,h.Z)(e,n),this.periods.push({start:e.toDateString(),end:a.toDateString(),title:i}),e=(0,d.Z)((0,m.Z)((0,w.Z)(t,1))),a=(0,u.Z)((0,b.Z)((0,w.Z)(t,1))),i=(0,h.Z)(e,n),this.periods.push({start:e.toDateString(),end:a.toDateString(),title:i})},generateHalfYearly:function(){var t,e,a=new Date(this.range.start),n="todo",i=1;if(a.getMonth()<=5)return(t=a).setFullYear(t.getFullYear()-1),t.setMonth(6),t.setDate(1),(e=t=(0,d.Z)(t)).setMonth(11),e.setDate(31),e=(0,u.Z)(e),i=2,n=(0,h.Z)(t,this.$t("config.half_year_fns",{half:i})),this.periods.push({start:t.toDateString(),end:e.toDateString(),title:n}),(t=a).setMonth(0),t.setDate(1),t=(0,d.Z)(t),(e=a).setMonth(5),e.setDate(30),e=(0,u.Z)(t),i=1,n=(0,h.Z)(t,this.$t("config.half_year_fns",{half:i})),this.periods.push({start:t.toDateString(),end:e.toDateString(),title:n}),(t=a).setMonth(6),t.setDate(1),(e=t=(0,d.Z)(t)).setMonth(11),e.setDate(31),e=(0,u.Z)(e),i=2,n=(0,h.Z)(t,this.$t("config.half_year_fns",{half:i})),void this.periods.push({start:t.toDateString(),end:e.toDateString(),title:n});(t=a).setMonth(0),t.setDate(1),(e=t=(0,d.Z)(t)).setMonth(5),e.setDate(30),e=(0,u.Z)(e),i=1,n=(0,h.Z)(t,this.$t("config.half_year_fns",{half:i})),this.periods.push({start:t.toDateString(),end:e.toDateString(),title:n}),(t=a).setMonth(6),t.setDate(1),t=(0,d.Z)(t),(e=a).setMonth(11),e.setDate(31),e=(0,u.Z)(t),i=2,n=(0,h.Z)(t,this.$t("config.half_year_fns",{half:i})),this.periods.push({start:t.toDateString(),end:e.toDateString(),title:n}),(t=a).setMonth(0),t.setDate(1),(e=t=(0,d.Z)(t)).setMonth(5),e.setDate(30),e=(0,u.Z)(e),i=1,n=(0,h.Z)(t,this.$t("config.half_year_fns",{half:i})),this.periods.push({start:t.toDateString(),end:e.toDateString(),title:n})},generateYearly:function(){var t,e,a=new Date(this.range.start);(t=new Date(a)).setFullYear(t.getFullYear()-1),t.setMonth(0),t.setDate(1),t=(0,d.Z)(t),(e=new Date(a)).setFullYear(e.getFullYear()-1),e.setMonth(11),e.setDate(31),e=(0,u.Z)(e),this.periods.push({start:t.toDateString(),end:e.toDateString(),title:t.getFullYear()}),(t=new Date(a)).setMonth(0),t.setDate(1),t=(0,d.Z)(t),(e=new Date(a)).setMonth(11),e.setDate(31),e=(0,u.Z)(e),this.periods.push({start:t.toDateString(),end:e.toDateString(),title:t.getFullYear()}),(t=new Date(a)).setFullYear(t.getFullYear()+1),t.setMonth(0),t.setDate(1),t=(0,d.Z)(t),(e=new Date(a)).setFullYear(e.getFullYear()+1),e.setMonth(11),e.setDate(31),e=(0,u.Z)(e),this.periods.push({start:t.toDateString(),end:e.toDateString(),title:t.getFullYear()})},generatePeriods:function(){switch(this.periods=[],this.viewRange){case"1D":this.generateDaily();break;case"1W":this.generateWeekly();break;case"1M":this.generateMonthly();break;case"3M":this.generateQuarterly();break;case"6M":this.generateHalfYearly();break;case"1Y":this.generateYearly()}var t=new Date,e=new Date;e.setDate(e.getDate()-7),this.periods.push({start:e.toDateString(),end:t.toDateString(),title:this.$t("firefly.last_seven_days")}),e.setDate(e.getDate()-23),this.periods.push({start:e.toDateString(),end:t.toDateString(),title:this.$t("firefly.last_thirty_days")})}}),computed:S(S({},x(["viewRange","start","end","defaultStart","defaultEnd"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready}}),watch:{datesReady:function(t){!1!==t&&(this.range.start=new Date(this.start),this.range.end=new Date(this.end),this.generatePeriods())},range:function(t){this.setStart(t.start),this.setEnd(t.end)}}};a(9192);const A=(0,a(1900).Z)(z,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[t._v("Start")]),t._v(" "),a("div",{staticClass:"col-8"},[t._v(t._s(new Intl.DateTimeFormat(t.locale,{year:"numeric",month:"long",day:"numeric"}).format(t.range.start)))])]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[t._v("End")]),t._v(" "),a("div",{staticClass:"col-8"},[t._v(t._s(new Intl.DateTimeFormat(t.locale,{year:"numeric",month:"long",day:"numeric"}).format(t.range.end)))])]),t._v(" "),a("date-picker",{attrs:{rows:2,"is-range":"",mode:"date"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.inputValue,i=e.inputEvents,r=e.isDragging,s=e.togglePopover;return[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"btn-group btn-group-sm d-flex"},[a("button",{staticClass:"btn btn-secondary btn-sm",attrs:{title:t.$t("firefly.custom_period")},on:{click:function(t){return s({placement:"auto-start",positionFixed:!0})}}},[a("i",{staticClass:"fas fa-calendar-alt"})]),t._v(" "),a("button",{staticClass:"btn btn-secondary",attrs:{title:t.$t("firefly.reset_to_current")},on:{click:t.resetDate}},[a("i",{staticClass:"fas fa-history"})]),t._v(" "),a("button",{staticClass:"btn btn-secondary dropdown-toggle",attrs:{id:"dropdownMenuButton",title:t.$t("firefly.select_period"),"aria-expanded":"false","aria-haspopup":"true","data-toggle":"dropdown",type:"button"}},[a("i",{staticClass:"fas fa-list"})]),t._v(" "),a("div",{staticClass:"dropdown-menu",attrs:{"aria-labelledby":"dropdownMenuButton"}},t._l(t.periods,(function(e){return a("a",{staticClass:"dropdown-item",attrs:{href:"#"},on:{click:function(a){return t.customDate(e.start,e.end)}}},[t._v(t._s(e.title))])})),0)]),t._v(" "),a("input",t._g({class:r?"text-gray-600":"text-gray-900",attrs:{type:"hidden"},domProps:{value:n.start}},i.start)),t._v(" "),a("input",t._g({class:r?"text-gray-600":"text-gray-900",attrs:{type:"hidden"},domProps:{value:n.end}},i.end))])])]}}]),model:{value:t.range,callback:function(e){t.range=e},expression:"range"}})],1)}),[],!1,null,"391cacea",null).exports},9192:(t,e,a)=>{var n=a(9239);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals),(0,a(5346).Z)("719f2a46",n,!0,{})},7154:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Прехвърляне","Withdrawal":"Теглене","Deposit":"Депозит","date_and_time":"Date and time","no_currency":"(без валута)","date":"Дата","time":"Time","no_budget":"(без бюджет)","destination_account":"Приходна сметка","source_account":"Разходна сметка","single_split":"Раздел","create_new_transaction":"Create a new transaction","balance":"Салдо","transaction_journal_extra":"Extra information","transaction_journal_meta":"Мета информация","basic_journal_information":"Basic transaction information","bills_to_pay":"Сметки за плащане","left_to_spend":"Останали за харчене","attachments":"Прикачени файлове","net_worth":"Нетна стойност","bill":"Сметка","no_bill":"(няма сметка)","tags":"Етикети","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(без касичка)","paid":"Платени","notes":"Бележки","yourAccounts":"Вашите сметки","go_to_asset_accounts":"Вижте активите си","delete_account":"Изтриване на профил","transaction_table_description":"Таблица съдържаща вашите транзакции","account":"Сметка","description":"Описание","amount":"Сума","budget":"Бюджет","category":"Категория","opposing_account":"Противоположна сметка","budgets":"Бюджети","categories":"Категории","go_to_budgets":"Вижте бюджетите си","income":"Приходи","go_to_deposits":"Отиди в депозити","go_to_categories":"Виж категориите си","expense_accounts":"Сметки за разходи","go_to_expenses":"Отиди в Разходи","go_to_bills":"Виж сметките си","bills":"Сметки","last_thirty_days":"Последните трийсет дни","last_seven_days":"Последните седем дни","go_to_piggies":"Виж касичките си","saved":"Записан","piggy_banks":"Касички","piggy_bank":"Касичка","amounts":"Суми","left":"Останали","spent":"Похарчени","Default asset account":"Сметка за активи по подразбиране","search_results":"Резултати от търсенето","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Сметка за активи по подразбиране","account_role_savingAsset":"Спестовна сметка","account_role_sharedAsset":"Сметка за споделени активи","clear_location":"Изчисти местоположението","account_role_ccAsset":"Кредитна карта","account_role_cashWalletAsset":"Паричен портфейл","daily_budgets":"Дневни бюджети","weekly_budgets":"Седмични бюджети","monthly_budgets":"Месечни бюджети","quarterly_budgets":"Тримесечни бюджети","create_new_expense":"Създай нова сметка за разходи","create_new_revenue":"Създай нова сметка за приходи","create_new_liabilities":"Create new liability","half_year_budgets":"Шестмесечни бюджети","yearly_budgets":"Годишни бюджети","split_transaction_title":"Описание на разделена транзакция","errors_submission":"Имаше нещо нередно с вашите данни. Моля, проверете грешките.","flash_error":"Грешка!","store_transaction":"Store transaction","flash_success":"Успех!","create_another":"След съхраняването се върнете тук, за да създадете нова.","update_transaction":"Обнови транзакцията","after_update_create_another":"След обновяването се върнете тук, за да продължите с редакцията.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Търсене","create_new_asset":"Създай нова сметка за активи","asset_accounts":"Сметки за активи","reset_after":"Изчистване на формуляра след изпращане","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID}(\\"{title}\\")</a> беше записана.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Местоположение","other_budgets":"Времево персонализирани бюджети","journal_links":"Връзки на транзакция","go_to_withdrawals":"Вижте тегленията си","revenue_accounts":"Сметки за приходи","add_another_split":"Добавяне на друг раздел","actions":"Действия","earned":"Спечелени","empty":"(празно)","edit":"Промени","never":"Никога","account_type_Loan":"Заем","account_type_Mortgage":"Ипотека","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Дълг","delete":"Изтрий","store_new_asset_account":"Запамети нова сметка за активи","store_new_expense_account":"Запамети нова сметка за разходи","store_new_liabilities_account":"Запамети ново задължение","store_new_revenue_account":"Запамети нова сметка за приходи","mandatoryFields":"Задължителни полета","optionalFields":"Незадължителни полета","reconcile_this_account":"Съгласувай тази сметка","interest_calc_weekly":"Per week","interest_calc_monthly":"На месец","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Годишно","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(нищо)"},"list":{"piggy_bank":"Касичка","percentage":"%","amount":"Сума","lastActivity":"Последна активност","name":"Име","role":"Привилегии","iban":"IBAN","interest":"Лихва","interest_period":"лихвен период","liability_type":"Вид на задължението","liability_direction":"(list.liability_direction)","currentBalance":"Текущ баланс","next_expected_match":"Следващo очакванo съвпадение"},"config":{"html_language":"bg","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Сума във валута","interest_date":"Падеж на лихва","name":"Име","amount":"Сума","iban":"IBAN","BIC":"BIC","notes":"Бележки","location":"Местоположение","attachments":"Прикачени файлове","active":"Активен","include_net_worth":"Включи в общото богатство","account_number":"Номер на сметка","virtual_balance":"Виртуален баланс","opening_balance":"Начално салдо","opening_balance_date":"Дата на началното салдо","date":"Дата","interest":"Лихва","interest_period":"Лихвен период","currency_id":"Валута","liability_type":"Liability type","account_role":"Роля на сметката","liability_direction":"Liability in/out","book_date":"Дата на осчетоводяване","permDeleteWarning":"Изтриването на неща от Firefly III е постоянно и не може да бъде възстановено.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Дата на обработка","due_date":"Дата на падеж","payment_date":"Дата на плащане","invoice_date":"Дата на фактура"}}')},6407:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Převod","Withdrawal":"Výběr","Deposit":"Vklad","date_and_time":"Datum a čas","no_currency":"(žádná měna)","date":"Datum","time":"Čas","no_budget":"(žádný rozpočet)","destination_account":"Cílový účet","source_account":"Zdrojový účet","single_split":"Rozdělit","create_new_transaction":"Vytvořit novou transakci","balance":"Zůstatek","transaction_journal_extra":"Více informací","transaction_journal_meta":"Meta informace","basic_journal_information":"Basic transaction information","bills_to_pay":"Faktury k zaplacení","left_to_spend":"Zbývá k utracení","attachments":"Přílohy","net_worth":"Čisté jmění","bill":"Účet","no_bill":"(no bill)","tags":"Štítky","internal_reference":"Interní odkaz","external_url":"Externí URL adresa","no_piggy_bank":"(žádná pokladnička)","paid":"Zaplaceno","notes":"Poznámky","yourAccounts":"Vaše účty","go_to_asset_accounts":"Zobrazit účty s aktivy","delete_account":"Smazat účet","transaction_table_description":"A table containing your transactions","account":"Účet","description":"Popis","amount":"Částka","budget":"Rozpočet","category":"Kategorie","opposing_account":"Protiúčet","budgets":"Rozpočty","categories":"Kategorie","go_to_budgets":"Přejít k rozpočtům","income":"Odměna/příjem","go_to_deposits":"Přejít na vklady","go_to_categories":"Přejít ke kategoriím","expense_accounts":"Výdajové účty","go_to_expenses":"Přejít na výdaje","go_to_bills":"Přejít k účtům","bills":"Účty","last_thirty_days":"Uplynulých 30 dní","last_seven_days":"Uplynulých 7 dnů","go_to_piggies":"Přejít k pokladničkám","saved":"Uloženo","piggy_banks":"Pokladničky","piggy_bank":"Pokladnička","amounts":"Amounts","left":"Zbývá","spent":"Utraceno","Default asset account":"Výchozí účet s aktivy","search_results":"Výsledky hledání","include":"Include?","transaction":"Transakce","account_role_defaultAsset":"Výchozí účet aktiv","account_role_savingAsset":"Spořicí účet","account_role_sharedAsset":"Sdílený účet aktiv","clear_location":"Vymazat umístění","account_role_ccAsset":"Kreditní karta","account_role_cashWalletAsset":"Peněženka","daily_budgets":"Denní rozpočty","weekly_budgets":"Týdenní rozpočty","monthly_budgets":"Měsíční rozpočty","quarterly_budgets":"Čtvrtletní rozpočty","create_new_expense":"Vytvořit výdajový účet","create_new_revenue":"Vytvořit nový příjmový účet","create_new_liabilities":"Create new liability","half_year_budgets":"Pololetní rozpočty","yearly_budgets":"Roční rozpočty","split_transaction_title":"Popis rozúčtování","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Chyba!","store_transaction":"Store transaction","flash_success":"Úspěšně dokončeno!","create_another":"After storing, return here to create another one.","update_transaction":"Aktualizovat transakci","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hledat","create_new_asset":"Vytvořit nový účet aktiv","asset_accounts":"Účty aktiv","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Vlastní období","reset_to_current":"Obnovit aktuální období","select_period":"Vyberte období","location":"Umístění","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Přejít na výběry","revenue_accounts":"Příjmové účty","add_another_split":"Přidat další rozúčtování","actions":"Akce","earned":"Vyděláno","empty":"(prázdné)","edit":"Upravit","never":"Nikdy","account_type_Loan":"Půjčka","account_type_Mortgage":"Hypotéka","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Dluh","delete":"Odstranit","store_new_asset_account":"Uložit nový účet aktiv","store_new_expense_account":"Uložit nový výdajový účet","store_new_liabilities_account":"Uložit nový závazek","store_new_revenue_account":"Uložit nový příjmový účet","mandatoryFields":"Povinné kolonky","optionalFields":"Volitelné kolonky","reconcile_this_account":"Vyúčtovat tento účet","interest_calc_weekly":"Per week","interest_calc_monthly":"Za měsíc","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Za rok","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(žádné)"},"list":{"piggy_bank":"Pokladnička","percentage":"%","amount":"Částka","lastActivity":"Poslední aktivita","name":"Jméno","role":"Role","iban":"IBAN","interest":"Úrok","interest_period":"úrokové období","liability_type":"Typ závazku","liability_direction":"(list.liability_direction)","currentBalance":"Aktuální zůstatek","next_expected_match":"Další očekávaná shoda"},"config":{"html_language":"cs","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Částka v cizí měně","interest_date":"Úrokové datum","name":"Název","amount":"Částka","iban":"IBAN","BIC":"BIC","notes":"Poznámky","location":"Údaje o poloze","attachments":"Přílohy","active":"Aktivní","include_net_worth":"Zahrnout do čistého jmění","account_number":"Číslo účtu","virtual_balance":"Virtuální zůstatek","opening_balance":"Počáteční zůstatek","opening_balance_date":"Datum počátečního zůstatku","date":"Datum","interest":"Úrok","interest_period":"Úrokové období","currency_id":"Měna","liability_type":"Liability type","account_role":"Role účtu","liability_direction":"Liability in/out","book_date":"Datum rezervace","permDeleteWarning":"Odstranění věcí z Firefly III je trvalé a nelze vrátit zpět.","account_areYouSure_js":"Jste si jisti, že chcete odstranit účet s názvem \\"{name}\\"?","also_delete_piggyBanks_js":"Žádné pokladničky|Jediná pokladnička připojená k tomuto účtu bude také odstraněna. Všech {count} pokladniček, které jsou připojeny k tomuto účtu, bude také odstraněno.","also_delete_transactions_js":"Žádné transakce|Jediná transakce připojená k tomuto účtu bude také smazána.|Všech {count} transakcí připojených k tomuto účtu bude také odstraněno.","process_date":"Datum zpracování","due_date":"Datum splatnosti","payment_date":"Datum zaplacení","invoice_date":"Datum vystavení"}}')},4726:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Umbuchung","Withdrawal":"Ausgabe","Deposit":"Einnahme","date_and_time":"Datum und Uhrzeit","no_currency":"(ohne Währung)","date":"Datum","time":"Uhrzeit","no_budget":"(kein Budget)","destination_account":"Zielkonto","source_account":"Quellkonto","single_split":"Teil","create_new_transaction":"Neue Buchung erstellen","balance":"Kontostand","transaction_journal_extra":"Zusätzliche Informationen","transaction_journal_meta":"Metainformationen","basic_journal_information":"Allgemeine Buchungsinformationen","bills_to_pay":"Unbezahlte Rechnungen","left_to_spend":"Verbleibend zum Ausgeben","attachments":"Anhänge","net_worth":"Eigenkapital","bill":"Rechnung","no_bill":"(keine Belege)","tags":"Schlagwörter","internal_reference":"Interner Verweis","external_url":"Externe URL","no_piggy_bank":"(kein Sparschwein)","paid":"Bezahlt","notes":"Notizen","yourAccounts":"Deine Konten","go_to_asset_accounts":"Bestandskonten anzeigen","delete_account":"Konto löschen","transaction_table_description":"Eine Tabelle mit Ihren Buchungen","account":"Konto","description":"Beschreibung","amount":"Betrag","budget":"Budget","category":"Kategorie","opposing_account":"Gegenkonto","budgets":"Budgets","categories":"Kategorien","go_to_budgets":"Budgets anzeigen","income":"Einnahmen / Einkommen","go_to_deposits":"Zu Einlagen wechseln","go_to_categories":"Kategorien anzeigen","expense_accounts":"Ausgabekonten","go_to_expenses":"Zu Ausgaben wechseln","go_to_bills":"Rechnungen anzeigen","bills":"Rechnungen","last_thirty_days":"Letzte 30 Tage","last_seven_days":"Letzte sieben Tage","go_to_piggies":"Sparschweine anzeigen","saved":"Gespeichert","piggy_banks":"Sparschweine","piggy_bank":"Sparschwein","amounts":"Beträge","left":"Übrig","spent":"Ausgegeben","Default asset account":"Standard-Bestandskonto","search_results":"Suchergebnisse","include":"Inbegriffen?","transaction":"Überweisung","account_role_defaultAsset":"Standard-Bestandskonto","account_role_savingAsset":"Sparkonto","account_role_sharedAsset":"Gemeinsames Bestandskonto","clear_location":"Ort leeren","account_role_ccAsset":"Kreditkarte","account_role_cashWalletAsset":"Geldbörse","daily_budgets":"Tagesbudgets","weekly_budgets":"Wochenbudgets","monthly_budgets":"Monatsbudgets","quarterly_budgets":"Quartalsbudgets","create_new_expense":"Neues Ausgabenkonto erstellen","create_new_revenue":"Neues Einnahmenkonto erstellen","create_new_liabilities":"Neue Verbindlichkeit anlegen","half_year_budgets":"Halbjahresbudgets","yearly_budgets":"Jahresbudgets","split_transaction_title":"Beschreibung der Splittbuchung","errors_submission":"Ihre Übermittlung ist fehlgeschlagen. Bitte überprüfen Sie die Fehler.","flash_error":"Fehler!","store_transaction":"Buchung speichern","flash_success":"Geschafft!","create_another":"Nach dem Speichern hierher zurückkehren, um ein weiteres zu erstellen.","update_transaction":"Buchung aktualisieren","after_update_create_another":"Nach dem Aktualisieren hierher zurückkehren, um weiter zu bearbeiten.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde nicht verändert.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde aktualisiert.","spent_x_of_y":"{amount} von {total} ausgegeben","search":"Suche","create_new_asset":"Neues Bestandskonto erstellen","asset_accounts":"Bestandskonten","reset_after":"Formular nach der Übermittlung zurücksetzen","bill_paid_on":"Bezahlt am {date}","first_split_decides":"Die erste Aufteilung bestimmt den Wert dieses Feldes","first_split_overrules_source":"Die erste Aufteilung könnte das Quellkonto überschreiben","first_split_overrules_destination":"Die erste Aufteilung könnte das Zielkonto überschreiben","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Buchung #{ID} (\\"{title}\\")</a> wurde gespeichert.","custom_period":"Benutzerdefinierter Zeitraum","reset_to_current":"Auf aktuellen Zeitraum zurücksetzen","select_period":"Zeitraum auswählen","location":"Standort","other_budgets":"Zeitlich befristete Budgets","journal_links":"Buchungsverknüpfungen","go_to_withdrawals":"Ausgaben anzeigen","revenue_accounts":"Einnahmekonten","add_another_split":"Eine weitere Aufteilung hinzufügen","actions":"Aktionen","earned":"Eingenommen","empty":"(leer)","edit":"Bearbeiten","never":"Nie","account_type_Loan":"Darlehen","account_type_Mortgage":"Hypothek","stored_new_account_js":"Neues Konto \\"<a href=\\"accounts/show/{ID}\\">„{name}”</a>\\" gespeichert!","account_type_Debt":"Schuld","delete":"Löschen","store_new_asset_account":"Neues Bestandskonto speichern","store_new_expense_account":"Neues Ausgabenkonto speichern","store_new_liabilities_account":"Neue Verbindlichkeit speichern","store_new_revenue_account":"Neues Einnahmenkonto speichern","mandatoryFields":"Pflichtfelder","optionalFields":"Optionale Felder","reconcile_this_account":"Dieses Konto abgleichen","interest_calc_weekly":"Pro Woche","interest_calc_monthly":"Monatlich","interest_calc_quarterly":"Vierteljährlich","interest_calc_half-year":"Halbjährlich","interest_calc_yearly":"Jährlich","liability_direction_credit":"Mir wird dies geschuldet","liability_direction_debit":"Ich schulde dies jemandem","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Keine Buchungen|Speichern Sie diese Buchung, indem Sie sie auf ein anderes Konto verschieben. |Speichern Sie diese Buchungen, indem Sie sie auf ein anderes Konto verschieben.","none_in_select_list":"(Keine)"},"list":{"piggy_bank":"Sparschwein","percentage":"%","amount":"Betrag","lastActivity":"Letzte Aktivität","name":"Name","role":"Rolle","iban":"IBAN","interest":"Zinsen","interest_period":"Verzinsungszeitraum","liability_type":"Verbindlichkeitsart","liability_direction":"(list.liability_direction)","currentBalance":"Aktueller Kontostand","next_expected_match":"Nächste erwartete Übereinstimmung"},"config":{"html_language":"de","week_in_year_fns":"\'Woche\' ww/yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'QQQ, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Ausländischer Betrag","interest_date":"Zinstermin","name":"Name","amount":"Betrag","iban":"IBAN","BIC":"BIC","notes":"Notizen","location":"Herkunft","attachments":"Anhänge","active":"Aktiv","include_net_worth":"Im Eigenkapital enthalten","account_number":"Kontonummer","virtual_balance":"Virtueller Kontostand","opening_balance":"Eröffnungsbilanz","opening_balance_date":"Eröffnungsbilanzdatum","date":"Datum","interest":"Zinsen","interest_period":"Verzinsungszeitraum","currency_id":"Währung","liability_type":"Art der Verbindlichkeit","account_role":"Kontenfunktion","liability_direction":"Verbindlichkeit Ein/Aus","book_date":"Buchungsdatum","permDeleteWarning":"Das Löschen von Dingen in Firefly III ist dauerhaft und kann nicht rückgängig gemacht werden.","account_areYouSure_js":"Möchten Sie das Konto „{name}” wirklich löschen?","also_delete_piggyBanks_js":"Keine Sparschweine|Das einzige Sparschwein, welches mit diesem Konto verbunden ist, wird ebenfalls gelöscht.|Alle {count} Sparschweine, welche mit diesem Konto verbunden sind, werden ebenfalls gelöscht.","also_delete_transactions_js":"Keine Buchungen|Die einzige Buchung, die mit diesem Konto verbunden ist, wird ebenfalls gelöscht.|Alle {count} Buchungen, die mit diesem Konto verbunden sind, werden ebenfalls gelöscht.","process_date":"Bearbeitungsdatum","due_date":"Fälligkeitstermin","payment_date":"Zahlungsdatum","invoice_date":"Rechnungsdatum"}}')},3636:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Μεταφορά","Withdrawal":"Ανάληψη","Deposit":"Κατάθεση","date_and_time":"Ημερομηνία και ώρα","no_currency":"(χωρίς νόμισμα)","date":"Ημερομηνία","time":"Ώρα","no_budget":"(χωρίς προϋπολογισμό)","destination_account":"Λογαριασμός προορισμού","source_account":"Λογαριασμός προέλευσης","single_split":"Διαχωρισμός","create_new_transaction":"Δημιουργία μιας νέας συναλλαγής","balance":"Ισοζύγιο","transaction_journal_extra":"Περισσότερες πληροφορίες","transaction_journal_meta":"Πληροφορίες μεταδεδομένων","basic_journal_information":"Βασικές πληροφορίες συναλλαγής","bills_to_pay":"Πάγια έξοδα προς πληρωμή","left_to_spend":"Διαθέσιμα προϋπολογισμών","attachments":"Συνημμένα","net_worth":"Καθαρή αξία","bill":"Πάγιο έξοδο","no_bill":"(χωρίς πάγιο έξοδο)","tags":"Ετικέτες","internal_reference":"Εσωτερική αναφορά","external_url":"Εξωτερικό URL","no_piggy_bank":"(χωρίς κουμπαρά)","paid":"Πληρωμένο","notes":"Σημειώσεις","yourAccounts":"Οι λογαριασμοί σας","go_to_asset_accounts":"Δείτε τους λογαριασμούς κεφαλαίου σας","delete_account":"Διαγραφή λογαριασμού","transaction_table_description":"Ένας πίνακας με τις συναλλαγές σας","account":"Λογαριασμός","description":"Περιγραφή","amount":"Ποσό","budget":"Προϋπολογισμός","category":"Κατηγορία","opposing_account":"Έναντι λογαριασμός","budgets":"Προϋπολογισμοί","categories":"Κατηγορίες","go_to_budgets":"Πηγαίνετε στους προϋπολογισμούς σας","income":"Έσοδα","go_to_deposits":"Πηγαίνετε στις καταθέσεις","go_to_categories":"Πηγαίνετε στις κατηγορίες σας","expense_accounts":"Δαπάνες","go_to_expenses":"Πηγαίνετε στις δαπάνες","go_to_bills":"Πηγαίνετε στα πάγια έξοδα","bills":"Πάγια έξοδα","last_thirty_days":"Τελευταίες τριάντα ημέρες","last_seven_days":"Τελευταίες επτά ημέρες","go_to_piggies":"Πηγαίνετε στους κουμπαράδες σας","saved":"Αποθηκεύτηκε","piggy_banks":"Κουμπαράδες","piggy_bank":"Κουμπαράς","amounts":"Ποσά","left":"Απομένουν","spent":"Δαπανήθηκαν","Default asset account":"Βασικός λογαριασμός κεφαλαίου","search_results":"Αποτελέσματα αναζήτησης","include":"Include?","transaction":"Συναλλαγή","account_role_defaultAsset":"Βασικός λογαριασμός κεφαλαίου","account_role_savingAsset":"Λογαριασμός αποταμίευσης","account_role_sharedAsset":"Κοινός λογαριασμός κεφαλαίου","clear_location":"Εκκαθάριση τοποθεσίας","account_role_ccAsset":"Πιστωτική κάρτα","account_role_cashWalletAsset":"Πορτοφόλι μετρητών","daily_budgets":"Ημερήσιοι προϋπολογισμοί","weekly_budgets":"Εβδομαδιαίοι προϋπολογισμοί","monthly_budgets":"Μηνιαίοι προϋπολογισμοί","quarterly_budgets":"Τριμηνιαίοι προϋπολογισμοί","create_new_expense":"Δημιουργία νέου λογαριασμού δαπανών","create_new_revenue":"Δημιουργία νέου λογαριασμού εσόδων","create_new_liabilities":"Create new liability","half_year_budgets":"Εξαμηνιαίοι προϋπολογισμοί","yearly_budgets":"Ετήσιοι προϋπολογισμοί","split_transaction_title":"Περιγραφή της συναλλαγής με διαχωρισμό","errors_submission":"Υπήρξε κάποιο λάθος με την υποβολή σας. Παρακαλώ ελέγξτε τα σφάλματα.","flash_error":"Σφάλμα!","store_transaction":"Αποθήκευση συναλλαγής","flash_success":"Επιτυχία!","create_another":"Μετά την αποθήκευση, επιστρέψτε εδώ για να δημιουργήσετε ακόμη ένα.","update_transaction":"Ενημέρωση συναλλαγής","after_update_create_another":"Μετά την ενημέρωση, επιστρέψτε εδώ για να συνεχίσετε την επεξεργασία.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID}</a> (\\"{title}\\") παρέμεινε χωρίς καμία αλλαγή.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID}</a> (\\"{title}\\") έχει ενημερωθεί.","spent_x_of_y":"Spent {amount} of {total}","search":"Αναζήτηση","create_new_asset":"Δημιουργία νέου λογαριασμού κεφαλαίου","asset_accounts":"Κεφάλαια","reset_after":"Επαναφορά φόρμας μετά την υποβολή","bill_paid_on":"Πληρώθηκε στις {date}","first_split_decides":"Ο πρώτος διαχωρισμός καθορίζει την τιμή αυτού του πεδίου","first_split_overrules_source":"Ο πρώτος διαχωρισμός ενδέχεται να παρακάμψει τον λογαριασμό προέλευσης","first_split_overrules_destination":"Ο πρώτος διαχωρισμός ενδέχεται να παρακάμψει τον λογαριασμό προορισμού","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID} (\\"{title}\\")</a> έχει αποθηκευτεί.","custom_period":"Προσαρμοσμένη περίοδος","reset_to_current":"Επαναφορά στην τρέχουσα περίοδο","select_period":"Επιλέξτε περίοδο","location":"Τοποθεσία","other_budgets":"Προϋπολογισμοί με χρονική προσαρμογή","journal_links":"Συνδέσεις συναλλαγών","go_to_withdrawals":"Πηγαίνετε στις αναλήψεις σας","revenue_accounts":"Έσοδα","add_another_split":"Προσθήκη ενός ακόμα διαχωρισμού","actions":"Ενέργειες","earned":"Κερδήθηκαν","empty":"(κενό)","edit":"Επεξεργασία","never":"Ποτέ","account_type_Loan":"Δάνειο","account_type_Mortgage":"Υποθήκη","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Χρέος","delete":"Διαγραφή","store_new_asset_account":"Αποθήκευση νέου λογαριασμού κεφαλαίου","store_new_expense_account":"Αποθήκευση νέου λογαριασμού δαπανών","store_new_liabilities_account":"Αποθήκευση νέας υποχρέωσης","store_new_revenue_account":"Αποθήκευση νέου λογαριασμού εσόδων","mandatoryFields":"Υποχρεωτικά πεδία","optionalFields":"Προαιρετικά πεδία","reconcile_this_account":"Τακτοποίηση αυτού του λογαριασμού","interest_calc_weekly":"Per week","interest_calc_monthly":"Ανά μήνα","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Ανά έτος","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(τίποτα)"},"list":{"piggy_bank":"Κουμπαράς","percentage":"pct.","amount":"Ποσό","lastActivity":"Τελευταία δραστηριότητα","name":"Όνομα","role":"Ρόλος","iban":"IBAN","interest":"Τόκος","interest_period":"τοκιζόμενη περίοδος","liability_type":"Τύπος υποχρέωσης","liability_direction":"(list.liability_direction)","currentBalance":"Τρέχον υπόλοιπο","next_expected_match":"Επόμενη αναμενόμενη αντιστοίχιση"},"config":{"html_language":"el","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Ποσό σε ξένο νόμισμα","interest_date":"Ημερομηνία τοκισμού","name":"Όνομα","amount":"Ποσό","iban":"IBAN","BIC":"BIC","notes":"Σημειώσεις","location":"Τοποθεσία","attachments":"Συνημμένα","active":"Ενεργό","include_net_worth":"Εντός καθαρής αξίας","account_number":"Αριθμός λογαριασμού","virtual_balance":"Εικονικό υπόλοιπο","opening_balance":"Υπόλοιπο έναρξης","opening_balance_date":"Ημερομηνία υπολοίπου έναρξης","date":"Ημερομηνία","interest":"Τόκος","interest_period":"Τοκιζόμενη περίοδος","currency_id":"Νόμισμα","liability_type":"Liability type","account_role":"Ρόλος λογαριασμού","liability_direction":"Liability in/out","book_date":"Ημερομηνία εγγραφής","permDeleteWarning":"Η διαγραφή στοιχείων από το Firefly III είναι μόνιμη και δεν μπορεί να αναιρεθεί.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Ημερομηνία επεξεργασίας","due_date":"Ημερομηνία προθεσμίας","payment_date":"Ημερομηνία πληρωμής","invoice_date":"Ημερομηνία τιμολόγησης"}}')},6318:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Withdrawal","Deposit":"Deposit","date_and_time":"Date and time","no_currency":"(no currency)","date":"Date","time":"Time","no_budget":"(no budget)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Balance","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta information","basic_journal_information":"Basic transaction information","bills_to_pay":"Bills to pay","left_to_spend":"Left to spend","attachments":"Attachments","net_worth":"Net worth","bill":"Bill","no_bill":"(no bill)","tags":"Tags","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Paid","notes":"Notes","yourAccounts":"Your accounts","go_to_asset_accounts":"View your asset accounts","delete_account":"Delete account","transaction_table_description":"A table containing your transactions","account":"Account","description":"Description","amount":"Amount","budget":"Budget","category":"Category","opposing_account":"Opposing account","budgets":"Budgets","categories":"Categories","go_to_budgets":"Go to your budgets","income":"Revenue / income","go_to_deposits":"Go to deposits","go_to_categories":"Go to your categories","expense_accounts":"Expense accounts","go_to_expenses":"Go to expenses","go_to_bills":"Go to your bills","bills":"Bills","last_thirty_days":"Last thirty days","last_seven_days":"Last seven days","go_to_piggies":"Go to your piggy banks","saved":"Saved","piggy_banks":"Piggy banks","piggy_bank":"Piggy bank","amounts":"Amounts","left":"Left","spent":"Spent","Default asset account":"Default asset account","search_results":"Search results","include":"Include?","transaction":"Transaction","account_role_defaultAsset":"Default asset account","account_role_savingAsset":"Savings account","account_role_sharedAsset":"Shared asset account","clear_location":"Clear location","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash wallet","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Create new expense account","create_new_revenue":"Create new revenue account","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Error!","store_transaction":"Store transaction","flash_success":"Success!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Search","create_new_asset":"Create new asset account","asset_accounts":"Asset accounts","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Location","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Revenue accounts","add_another_split":"Add another split","actions":"Actions","earned":"Earned","empty":"(empty)","edit":"Edit","never":"Never","account_type_Loan":"Loan","account_type_Mortgage":"Mortgage","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Debt","delete":"Delete","store_new_asset_account":"Store new asset account","store_new_expense_account":"Store new expense account","store_new_liabilities_account":"Store new liability","store_new_revenue_account":"Store new revenue account","mandatoryFields":"Mandatory fields","optionalFields":"Optional fields","reconcile_this_account":"Reconcile this account","interest_calc_weekly":"Per week","interest_calc_monthly":"Per month","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Per year","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(none)"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","lastActivity":"Last activity","name":"Name","role":"Role","iban":"IBAN","interest":"Interest","interest_period":"interest period","liability_type":"Type of liability","liability_direction":"(list.liability_direction)","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en-gb","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Foreign amount","interest_date":"Interest date","name":"Name","amount":"Amount","iban":"IBAN","BIC":"BIC","notes":"Notes","location":"Location","attachments":"Attachments","active":"Active","include_net_worth":"Include in net worth","account_number":"Account number","virtual_balance":"Virtual balance","opening_balance":"Opening balance","opening_balance_date":"Opening balance date","date":"Date","interest":"Interest","interest_period":"Interest period","currency_id":"Currency","liability_type":"Liability type","account_role":"Account role","liability_direction":"Liability in/out","book_date":"Book date","permDeleteWarning":"Deleting stuff from Firefly III is permanent and cannot be undone.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},3340:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Withdrawal","Deposit":"Deposit","date_and_time":"Date and time","no_currency":"(no currency)","date":"Date","time":"Time","no_budget":"(no budget)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Balance","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta information","basic_journal_information":"Basic transaction information","bills_to_pay":"Bills to pay","left_to_spend":"Left to spend","attachments":"Attachments","net_worth":"Net worth","bill":"Bill","no_bill":"(no bill)","tags":"Tags","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Paid","notes":"Notes","yourAccounts":"Your accounts","go_to_asset_accounts":"View your asset accounts","delete_account":"Delete account","transaction_table_description":"A table containing your transactions","account":"Account","description":"Description","amount":"Amount","budget":"Budget","category":"Category","opposing_account":"Opposing account","budgets":"Budgets","categories":"Categories","go_to_budgets":"Go to your budgets","income":"Revenue / income","go_to_deposits":"Go to deposits","go_to_categories":"Go to your categories","expense_accounts":"Expense accounts","go_to_expenses":"Go to expenses","go_to_bills":"Go to your bills","bills":"Bills","last_thirty_days":"Last thirty days","last_seven_days":"Last seven days","go_to_piggies":"Go to your piggy banks","saved":"Saved","piggy_banks":"Piggy banks","piggy_bank":"Piggy bank","amounts":"Amounts","left":"Left","spent":"Spent","Default asset account":"Default asset account","search_results":"Search results","include":"Include?","transaction":"Transaction","account_role_defaultAsset":"Default asset account","account_role_savingAsset":"Savings account","account_role_sharedAsset":"Shared asset account","clear_location":"Clear location","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash wallet","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Create new expense account","create_new_revenue":"Create new revenue account","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Error!","store_transaction":"Store transaction","flash_success":"Success!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Search","create_new_asset":"Create new asset account","asset_accounts":"Asset accounts","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Location","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Revenue accounts","add_another_split":"Add another split","actions":"Actions","earned":"Earned","empty":"(empty)","edit":"Edit","never":"Never","account_type_Loan":"Loan","account_type_Mortgage":"Mortgage","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Debt","delete":"Delete","store_new_asset_account":"Store new asset account","store_new_expense_account":"Store new expense account","store_new_liabilities_account":"Store new liability","store_new_revenue_account":"Store new revenue account","mandatoryFields":"Mandatory fields","optionalFields":"Optional fields","reconcile_this_account":"Reconcile this account","interest_calc_weekly":"Per week","interest_calc_monthly":"Per month","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Per year","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(none)"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","lastActivity":"Last activity","name":"Name","role":"Role","iban":"IBAN","interest":"Interest","interest_period":"interest period","liability_type":"Type of liability","liability_direction":"(list.liability_direction)","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Foreign amount","interest_date":"Interest date","name":"Name","amount":"Amount","iban":"IBAN","BIC":"BIC","notes":"Notes","location":"Location","attachments":"Attachments","active":"Active","include_net_worth":"Include in net worth","account_number":"Account number","virtual_balance":"Virtual balance","opening_balance":"Opening balance","opening_balance_date":"Opening balance date","date":"Date","interest":"Interest","interest_period":"Interest period","currency_id":"Currency","liability_type":"Liability type","account_role":"Account role","liability_direction":"Liability in/out","book_date":"Book date","permDeleteWarning":"Deleting stuff from Firefly III is permanent and cannot be undone.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},5394:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transferencia","Withdrawal":"Retiro","Deposit":"Depósito","date_and_time":"Fecha y hora","no_currency":"(sin moneda)","date":"Fecha","time":"Hora","no_budget":"(sin presupuesto)","destination_account":"Cuenta destino","source_account":"Cuenta origen","single_split":"División","create_new_transaction":"Crear una nueva transacción","balance":"Balance","transaction_journal_extra":"Información adicional","transaction_journal_meta":"Información Meta","basic_journal_information":"Información básica de transacción","bills_to_pay":"Facturas por pagar","left_to_spend":"Disponible para gastar","attachments":"Archivos adjuntos","net_worth":"Valor Neto","bill":"Factura","no_bill":"(sin factura)","tags":"Etiquetas","internal_reference":"Referencia interna","external_url":"URL externa","no_piggy_bank":"(sin hucha)","paid":"Pagado","notes":"Notas","yourAccounts":"Tus cuentas","go_to_asset_accounts":"Ver tus cuentas de activos","delete_account":"Eliminar cuenta","transaction_table_description":"Una tabla que contiene sus transacciones","account":"Cuenta","description":"Descripción","amount":"Cantidad","budget":"Presupuesto","category":"Categoria","opposing_account":"Cuenta opuesta","budgets":"Presupuestos","categories":"Categorías","go_to_budgets":"Ir a tus presupuestos","income":"Ingresos / salarios","go_to_deposits":"Ir a depósitos","go_to_categories":"Ir a tus categorías","expense_accounts":"Cuentas de gastos","go_to_expenses":"Ir a gastos","go_to_bills":"Ir a tus cuentas","bills":"Facturas","last_thirty_days":"Últimos treinta días","last_seven_days":"Últimos siete días","go_to_piggies":"Ir a tu hucha","saved":"Guardado","piggy_banks":"Huchas","piggy_bank":"Hucha","amounts":"Importes","left":"Disponible","spent":"Gastado","Default asset account":"Cuenta de ingresos por defecto","search_results":"Buscar resultados","include":"¿Incluir?","transaction":"Transaccion","account_role_defaultAsset":"Cuentas de ingresos por defecto","account_role_savingAsset":"Cuentas de ahorros","account_role_sharedAsset":"Cuenta de ingresos compartida","clear_location":"Eliminar ubicación","account_role_ccAsset":"Tarjeta de Crédito","account_role_cashWalletAsset":"Billetera de efectivo","daily_budgets":"Presupuestos diarios","weekly_budgets":"Presupuestos semanales","monthly_budgets":"Presupuestos mensuales","quarterly_budgets":"Presupuestos trimestrales","create_new_expense":"Crear nueva cuenta de gastos","create_new_revenue":"Crear nueva cuenta de ingresos","create_new_liabilities":"Crear nuevo pasivo","half_year_budgets":"Presupuestos semestrales","yearly_budgets":"Presupuestos anuales","split_transaction_title":"Descripción de la transacción dividida","errors_submission":"Hubo un problema con su envío. Por favor, compruebe los errores.","flash_error":"¡Error!","store_transaction":"Guardar transacción","flash_success":"¡Operación correcta!","create_another":"Después de guardar, vuelve aquí para crear otro.","update_transaction":"Actualizar transacción","after_update_create_another":"Después de actualizar, vuelve aquí para continuar editando.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID}</a> (\\"{title}\\") no recibió ningún cambio.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID}</a> (\\"{title}\\") ha sido actualizada.","spent_x_of_y":"{amount} gastado de {total}","search":"Buscar","create_new_asset":"Crear nueva cuenta de activos","asset_accounts":"Cuenta de activos","reset_after":"Restablecer formulario después del envío","bill_paid_on":"Pagado el {date}","first_split_decides":"La primera división determina el valor de este campo","first_split_overrules_source":"La primera división puede anular la cuenta de origen","first_split_overrules_destination":"La primera división puede anular la cuenta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID} (\\"{title}\\")</a> ha sido almacenada.","custom_period":"Período personalizado","reset_to_current":"Restablecer al período actual","select_period":"Seleccione un período","location":"Ubicación","other_budgets":"Presupuestos de tiempo personalizado","journal_links":"Enlaces de transacciones","go_to_withdrawals":"Ir a tus retiradas","revenue_accounts":"Cuentas de ingresos","add_another_split":"Añadir otra división","actions":"Acciones","earned":"Ganado","empty":"(vacío)","edit":"Editar","never":"Nunca","account_type_Loan":"Préstamo","account_type_Mortgage":"Hipoteca","stored_new_account_js":"Nueva cuenta \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" guardada!","account_type_Debt":"Deuda","delete":"Eliminar","store_new_asset_account":"Crear cuenta de activos","store_new_expense_account":"Crear cuenta de gastos","store_new_liabilities_account":"Crear nuevo pasivo","store_new_revenue_account":"Crear cuenta de ingresos","mandatoryFields":"Campos obligatorios","optionalFields":"Campos opcionales","reconcile_this_account":"Reconciliar esta cuenta","interest_calc_weekly":"Por semana","interest_calc_monthly":"Por mes","interest_calc_quarterly":"Por trimestre","interest_calc_half-year":"Por semestre","interest_calc_yearly":"Por año","liability_direction_credit":"Se me debe esta deuda","liability_direction_debit":"Le debo esta deuda a otra persona","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Ninguna transacción|Guardar esta transacción moviéndola a otra cuenta. |Guardar estas transacciones moviéndolas a otra cuenta.","none_in_select_list":"(ninguno)"},"list":{"piggy_bank":"Alcancilla","percentage":"pct.","amount":"Monto","lastActivity":"Actividad más reciente","name":"Nombre","role":"Rol","iban":"IBAN","interest":"Interés","interest_period":"período de interés","liability_type":"Tipo de pasivo","liability_direction":"(list.liability_direction)","currentBalance":"Balance actual","next_expected_match":"Próxima coincidencia esperada"},"config":{"html_language":"es","week_in_year_fns":"\'Semana\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Trimestre\' Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Cantidad extranjera","interest_date":"Fecha de interés","name":"Nombre","amount":"Importe","iban":"IBAN","BIC":"BIC","notes":"Notas","location":"Ubicación","attachments":"Adjuntos","active":"Activo","include_net_worth":"Incluir en valor neto","account_number":"Número de cuenta","virtual_balance":"Saldo virtual","opening_balance":"Saldo inicial","opening_balance_date":"Fecha del saldo inicial","date":"Fecha","interest":"Interés","interest_period":"Período de interés","currency_id":"Divisa","liability_type":"Tipo de pasivo","account_role":"Rol de cuenta","liability_direction":"Pasivo entrada/salida","book_date":"Fecha de registro","permDeleteWarning":"Eliminar cosas de Firefly III es permanente y no se puede deshacer.","account_areYouSure_js":"¿Está seguro que desea eliminar la cuenta llamada \\"{name}\\"?","also_delete_piggyBanks_js":"Ninguna alcancía|La única alcancía conectada a esta cuenta también será borrada. También se eliminarán todas {count} alcancías conectados a esta cuenta.","also_delete_transactions_js":"Ninguna transacción|La única transacción conectada a esta cuenta se eliminará también.|Todas las {count} transacciones conectadas a esta cuenta también se eliminarán.","process_date":"Fecha de procesamiento","due_date":"Fecha de vencimiento","payment_date":"Fecha de pago","invoice_date":"Fecha de la factura"}}')},7868:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Siirto","Withdrawal":"Nosto","Deposit":"Talletus","date_and_time":"Date and time","no_currency":"(ei valuuttaa)","date":"Päivämäärä","time":"Time","no_budget":"(ei budjettia)","destination_account":"Kohdetili","source_account":"Lähdetili","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metatiedot","basic_journal_information":"Basic transaction information","bills_to_pay":"Laskuja maksettavana","left_to_spend":"Käytettävissä","attachments":"Liitteet","net_worth":"Varallisuus","bill":"Lasku","no_bill":"(no bill)","tags":"Tägit","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(ei säästöpossu)","paid":"Maksettu","notes":"Muistiinpanot","yourAccounts":"Omat tilisi","go_to_asset_accounts":"Tarkastele omaisuustilejäsi","delete_account":"Poista käyttäjätili","transaction_table_description":"A table containing your transactions","account":"Tili","description":"Kuvaus","amount":"Summa","budget":"Budjetti","category":"Kategoria","opposing_account":"Vastatili","budgets":"Budjetit","categories":"Kategoriat","go_to_budgets":"Avaa omat budjetit","income":"Tuotto / ansio","go_to_deposits":"Go to deposits","go_to_categories":"Avaa omat kategoriat","expense_accounts":"Kulutustilit","go_to_expenses":"Go to expenses","go_to_bills":"Avaa omat laskut","bills":"Laskut","last_thirty_days":"Viimeiset 30 päivää","last_seven_days":"Viimeiset 7 päivää","go_to_piggies":"Tarkastele säästöpossujasi","saved":"Saved","piggy_banks":"Säästöpossut","piggy_bank":"Säästöpossu","amounts":"Amounts","left":"Jäljellä","spent":"Käytetty","Default asset account":"Oletusomaisuustili","search_results":"Haun tulokset","include":"Include?","transaction":"Tapahtuma","account_role_defaultAsset":"Oletuskäyttötili","account_role_savingAsset":"Säästötili","account_role_sharedAsset":"Jaettu käyttötili","clear_location":"Tyhjennä sijainti","account_role_ccAsset":"Luottokortti","account_role_cashWalletAsset":"Käteinen","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Luo uusi maksutili","create_new_revenue":"Luo uusi tuottotili","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Jaetun tapahtuman kuvaus","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Virhe!","store_transaction":"Store transaction","flash_success":"Valmista tuli!","create_another":"Tallennuksen jälkeen, palaa takaisin luomaan uusi tapahtuma.","update_transaction":"Päivitä tapahtuma","after_update_create_another":"Päivityksen jälkeen, palaa takaisin jatkamaan muokkausta.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hae","create_new_asset":"Luo uusi omaisuustili","asset_accounts":"Käyttötilit","reset_after":"Tyhjennä lomake lähetyksen jälkeen","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Sijainti","other_budgets":"Custom timed budgets","journal_links":"Tapahtuman linkit","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Tuottotilit","add_another_split":"Lisää tapahtumaan uusi osa","actions":"Toiminnot","earned":"Ansaittu","empty":"(tyhjä)","edit":"Muokkaa","never":"Ei koskaan","account_type_Loan":"Laina","account_type_Mortgage":"Kiinnelaina","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Velka","delete":"Poista","store_new_asset_account":"Tallenna uusi omaisuustili","store_new_expense_account":"Tallenna uusi kulutustili","store_new_liabilities_account":"Tallenna uusi vastuu","store_new_revenue_account":"Tallenna uusi tuottotili","mandatoryFields":"Pakolliset kentät","optionalFields":"Valinnaiset kentät","reconcile_this_account":"Täsmäytä tämä tili","interest_calc_weekly":"Per week","interest_calc_monthly":"Kuukaudessa","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Vuodessa","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(ei mitään)"},"list":{"piggy_bank":"Säästöpossu","percentage":"pros.","amount":"Summa","lastActivity":"Viimeisin tapahtuma","name":"Nimi","role":"Rooli","iban":"IBAN","interest":"Korko","interest_period":"korkojakso","liability_type":"Vastuutyyppi","liability_direction":"(list.liability_direction)","currentBalance":"Tämänhetkinen saldo","next_expected_match":"Seuraava lasku odotettavissa"},"config":{"html_language":"fi","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Ulkomaan summa","interest_date":"Korkopäivä","name":"Nimi","amount":"Summa","iban":"IBAN","BIC":"BIC","notes":"Muistiinpanot","location":"Sijainti","attachments":"Liitteet","active":"Aktiivinen","include_net_worth":"Sisällytä varallisuuteen","account_number":"Tilinumero","virtual_balance":"Virtuaalinen saldo","opening_balance":"Alkusaldo","opening_balance_date":"Alkusaldon päivämäärä","date":"Päivämäärä","interest":"Korko","interest_period":"Korkojakso","currency_id":"Valuutta","liability_type":"Liability type","account_role":"Tilin tyyppi","liability_direction":"Liability in/out","book_date":"Kirjauspäivä","permDeleteWarning":"Asioiden poistaminen Firefly III:sta on lopullista eikä poistoa pysty perumaan.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Käsittelypäivä","due_date":"Eräpäivä","payment_date":"Maksupäivä","invoice_date":"Laskun päivämäärä"}}')},2551:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfert","Withdrawal":"Dépense","Deposit":"Dépôt","date_and_time":"Date et heure","no_currency":"(pas de devise)","date":"Date","time":"Heure","no_budget":"(pas de budget)","destination_account":"Compte de destination","source_account":"Compte source","single_split":"Ventilation","create_new_transaction":"Créer une nouvelle opération","balance":"Solde","transaction_journal_extra":"Informations supplémentaires","transaction_journal_meta":"Méta informations","basic_journal_information":"Informations de base sur l\'opération","bills_to_pay":"Factures à payer","left_to_spend":"Reste à dépenser","attachments":"Pièces jointes","net_worth":"Avoir net","bill":"Facture","no_bill":"(aucune facture)","tags":"Tags","internal_reference":"Référence interne","external_url":"URL externe","no_piggy_bank":"(aucune tirelire)","paid":"Payé","notes":"Notes","yourAccounts":"Vos comptes","go_to_asset_accounts":"Afficher vos comptes d\'actifs","delete_account":"Supprimer le compte","transaction_table_description":"Une table contenant vos opérations","account":"Compte","description":"Description","amount":"Montant","budget":"Budget","category":"Catégorie","opposing_account":"Compte opposé","budgets":"Budgets","categories":"Catégories","go_to_budgets":"Gérer vos budgets","income":"Recette / revenu","go_to_deposits":"Aller aux dépôts","go_to_categories":"Gérer vos catégories","expense_accounts":"Comptes de dépenses","go_to_expenses":"Aller aux dépenses","go_to_bills":"Gérer vos factures","bills":"Factures","last_thirty_days":"Trente derniers jours","last_seven_days":"7 Derniers Jours","go_to_piggies":"Gérer vos tirelires","saved":"Sauvegardé","piggy_banks":"Tirelires","piggy_bank":"Tirelire","amounts":"Montants","left":"Reste","spent":"Dépensé","Default asset account":"Compte d’actif par défaut","search_results":"Résultats de la recherche","include":"Inclure ?","transaction":"Opération","account_role_defaultAsset":"Compte d\'actif par défaut","account_role_savingAsset":"Compte d’épargne","account_role_sharedAsset":"Compte d\'actif partagé","clear_location":"Effacer la localisation","account_role_ccAsset":"Carte de crédit","account_role_cashWalletAsset":"Porte-monnaie","daily_budgets":"Budgets quotidiens","weekly_budgets":"Budgets hebdomadaires","monthly_budgets":"Budgets mensuels","quarterly_budgets":"Budgets trimestriels","create_new_expense":"Créer nouveau compte de dépenses","create_new_revenue":"Créer nouveau compte de recettes","create_new_liabilities":"Créer un nouveau passif","half_year_budgets":"Budgets semestriels","yearly_budgets":"Budgets annuels","split_transaction_title":"Description de l\'opération ventilée","errors_submission":"Certaines informations ne sont pas correctes dans votre formulaire. Veuillez vérifier les erreurs.","flash_error":"Erreur !","store_transaction":"Enregistrer l\'opération","flash_success":"Super !","create_another":"Après enregistrement, revenir ici pour en créer un nouveau.","update_transaction":"Mettre à jour l\'opération","after_update_create_another":"Après la mise à jour, revenir ici pour continuer l\'édition.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID}</a> (\\"{title}\\") n\'a pas été modifiée.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID}</a> (\\"{title}\\") a été mise à jour.","spent_x_of_y":"Dépensé {amount} sur {total}","search":"Rechercher","create_new_asset":"Créer un nouveau compte d’actif","asset_accounts":"Comptes d’actif","reset_after":"Réinitialiser le formulaire après soumission","bill_paid_on":"Payé le {date}","first_split_decides":"La première ventilation détermine la valeur de ce champ","first_split_overrules_source":"La première ventilation peut remplacer le compte source","first_split_overrules_destination":"La première ventilation peut remplacer le compte de destination","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID} (\\"{title}\\")</a> a été enregistrée.","custom_period":"Période personnalisée","reset_to_current":"Réinitialiser à la période en cours","select_period":"Sélectionnez une période","location":"Emplacement","other_budgets":"Budgets à période personnalisée","journal_links":"Liens d\'opération","go_to_withdrawals":"Accéder à vos retraits","revenue_accounts":"Comptes de recettes","add_another_split":"Ajouter une autre fraction","actions":"Actions","earned":"Gagné","empty":"(vide)","edit":"Modifier","never":"Jamais","account_type_Loan":"Prêt","account_type_Mortgage":"Prêt hypothécaire","stored_new_account_js":"Nouveau compte \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" enregistré !","account_type_Debt":"Dette","delete":"Supprimer","store_new_asset_account":"Créer un nouveau compte d’actif","store_new_expense_account":"Créer un nouveau compte de dépenses","store_new_liabilities_account":"Enregistrer un nouveau passif","store_new_revenue_account":"Créer un compte de recettes","mandatoryFields":"Champs obligatoires","optionalFields":"Champs optionnels","reconcile_this_account":"Rapprocher ce compte","interest_calc_weekly":"Par semaine","interest_calc_monthly":"Par mois","interest_calc_quarterly":"Par trimestre","interest_calc_half-year":"Par semestre","interest_calc_yearly":"Par an","liability_direction_credit":"On me doit cette dette","liability_direction_debit":"Je dois cette dette à quelqu\'un d\'autre","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Aucune opération|Conserver cette opération en la déplaçant vers un autre compte. |Conserver ces opérations en les déplaçant vers un autre compte.","none_in_select_list":"(aucun)"},"list":{"piggy_bank":"Tirelire","percentage":"pct.","amount":"Montant","lastActivity":"Activité récente","name":"Nom","role":"Rôle","iban":"Numéro IBAN","interest":"Intérêt","interest_period":"période d’intérêt","liability_type":"Type de passif","liability_direction":"(list.liability_direction)","currentBalance":"Solde courant","next_expected_match":"Prochaine association attendue"},"config":{"html_language":"fr","week_in_year_fns":"\'Semaine\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Montant en devise étrangère","interest_date":"Date de valeur (intérêts)","name":"Nom","amount":"Montant","iban":"Numéro IBAN","BIC":"Code BIC","notes":"Notes","location":"Emplacement","attachments":"Documents joints","active":"Actif","include_net_worth":"Inclure dans l\'avoir net","account_number":"Numéro de compte","virtual_balance":"Solde virtuel","opening_balance":"Solde initial","opening_balance_date":"Date du solde initial","date":"Date","interest":"Intérêt","interest_period":"Période d’intérêt","currency_id":"Devise","liability_type":"Type de passif","account_role":"Rôle du compte","liability_direction":"Sens du passif","book_date":"Date de réservation","permDeleteWarning":"Supprimer quelque chose dans Firefly est permanent et ne peut pas être annulé.","account_areYouSure_js":"Êtes-vous sûr de vouloir supprimer le compte nommé \\"{name}\\" ?","also_delete_piggyBanks_js":"Aucune tirelire|La seule tirelire liée à ce compte sera aussi supprimée.|Les {count} tirelires liées à ce compte seront aussi supprimées.","also_delete_transactions_js":"Aucune opération|La seule opération liée à ce compte sera aussi supprimée.|Les {count} opérations liées à ce compte seront aussi supprimées.","process_date":"Date de traitement","due_date":"Échéance","payment_date":"Date de paiement","invoice_date":"Date de facturation"}}')},995:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Átvezetés","Withdrawal":"Költség","Deposit":"Bevétel","date_and_time":"Date and time","no_currency":"(nincs pénznem)","date":"Dátum","time":"Time","no_budget":"(nincs költségkeret)","destination_account":"Célszámla","source_account":"Forrás számla","single_split":"Felosztás","create_new_transaction":"Create a new transaction","balance":"Egyenleg","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta-információ","basic_journal_information":"Basic transaction information","bills_to_pay":"Fizetendő számlák","left_to_spend":"Elkölthető","attachments":"Mellékletek","net_worth":"Nettó érték","bill":"Számla","no_bill":"(no bill)","tags":"Címkék","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(nincs malacpersely)","paid":"Kifizetve","notes":"Megjegyzések","yourAccounts":"Bankszámlák","go_to_asset_accounts":"Eszközszámlák megtekintése","delete_account":"Fiók törlése","transaction_table_description":"Tranzakciókat tartalmazó táblázat","account":"Bankszámla","description":"Leírás","amount":"Összeg","budget":"Költségkeret","category":"Kategória","opposing_account":"Ellenoldali számla","budgets":"Költségkeretek","categories":"Kategóriák","go_to_budgets":"Ugrás a költségkeretekhez","income":"Jövedelem / bevétel","go_to_deposits":"Ugrás a bevételekre","go_to_categories":"Ugrás a kategóriákhoz","expense_accounts":"Költségszámlák","go_to_expenses":"Ugrás a kiadásokra","go_to_bills":"Ugrás a számlákhoz","bills":"Számlák","last_thirty_days":"Elmúlt harminc nap","last_seven_days":"Utolsó hét nap","go_to_piggies":"Ugrás a malacperselyekhez","saved":"Mentve","piggy_banks":"Malacperselyek","piggy_bank":"Malacpersely","amounts":"Mennyiségek","left":"Maradvány","spent":"Elköltött","Default asset account":"Alapértelmezett eszközszámla","search_results":"Keresési eredmények","include":"Include?","transaction":"Tranzakció","account_role_defaultAsset":"Alapértelmezett eszközszámla","account_role_savingAsset":"Megtakarítási számla","account_role_sharedAsset":"Megosztott eszközszámla","clear_location":"Hely törlése","account_role_ccAsset":"Hitelkártya","account_role_cashWalletAsset":"Készpénz","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Új költségszámla létrehozása","create_new_revenue":"Új jövedelemszámla létrehozása","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Felosztott tranzakció leírása","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Hiba!","store_transaction":"Store transaction","flash_success":"Siker!","create_another":"A tárolás után térjen vissza ide új létrehozásához.","update_transaction":"Tranzakció frissítése","after_update_create_another":"A frissítés után térjen vissza ide a szerkesztés folytatásához.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Keresés","create_new_asset":"Új eszközszámla létrehozása","asset_accounts":"Eszközszámlák","reset_after":"Űrlap törlése a beküldés után","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> mentve.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Hely","other_budgets":"Custom timed budgets","journal_links":"Tranzakció összekapcsolások","go_to_withdrawals":"Ugrás a költségekhez","revenue_accounts":"Jövedelemszámlák","add_another_split":"Másik felosztás hozzáadása","actions":"Műveletek","earned":"Megkeresett","empty":"(üres)","edit":"Szerkesztés","never":"Soha","account_type_Loan":"Hitel","account_type_Mortgage":"Jelzálog","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Adósság","delete":"Törlés","store_new_asset_account":"Új eszközszámla tárolása","store_new_expense_account":"Új költségszámla tárolása","store_new_liabilities_account":"Új kötelezettség eltárolása","store_new_revenue_account":"Új jövedelemszámla létrehozása","mandatoryFields":"Kötelező mezők","optionalFields":"Nem kötelező mezők","reconcile_this_account":"Számla egyeztetése","interest_calc_weekly":"Per week","interest_calc_monthly":"Havonta","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Évente","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(nincs)"},"list":{"piggy_bank":"Malacpersely","percentage":"%","amount":"Összeg","lastActivity":"Utolsó aktivitás","name":"Név","role":"Szerepkör","iban":"IBAN","interest":"Kamat","interest_period":"kamatperiódus","liability_type":"A kötelezettség típusa","liability_direction":"(list.liability_direction)","currentBalance":"Aktuális egyenleg","next_expected_match":"Következő várható egyezés"},"config":{"html_language":"hu","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Külföldi összeg","interest_date":"Kamatfizetési időpont","name":"Név","amount":"Összeg","iban":"IBAN","BIC":"BIC","notes":"Megjegyzések","location":"Hely","attachments":"Mellékletek","active":"Aktív","include_net_worth":"Befoglalva a nettó értékbe","account_number":"Számlaszám","virtual_balance":"Virtuális egyenleg","opening_balance":"Nyitó egyenleg","opening_balance_date":"Nyitó egyenleg dátuma","date":"Dátum","interest":"Kamat","interest_period":"Kamatperiódus","currency_id":"Pénznem","liability_type":"Liability type","account_role":"Bankszámla szerepköre","liability_direction":"Liability in/out","book_date":"Könyvelés dátuma","permDeleteWarning":"A Firefly III-ból történő törlés végleges és nem vonható vissza.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Feldolgozás dátuma","due_date":"Lejárati időpont","payment_date":"Fizetés dátuma","invoice_date":"Számla dátuma"}}')},9112:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Trasferimento","Withdrawal":"Prelievo","Deposit":"Entrata","date_and_time":"Data e ora","no_currency":"(nessuna valuta)","date":"Data","time":"Ora","no_budget":"(nessun budget)","destination_account":"Conto destinazione","source_account":"Conto di origine","single_split":"Divisione","create_new_transaction":"Crea una nuova transazione","balance":"Saldo","transaction_journal_extra":"Informazioni aggiuntive","transaction_journal_meta":"Meta informazioni","basic_journal_information":"Informazioni di base sulla transazione","bills_to_pay":"Bollette da pagare","left_to_spend":"Altro da spendere","attachments":"Allegati","net_worth":"Patrimonio","bill":"Bolletta","no_bill":"(nessuna bolletta)","tags":"Etichette","internal_reference":"Riferimento interno","external_url":"URL esterno","no_piggy_bank":"(nessun salvadanaio)","paid":"Pagati","notes":"Note","yourAccounts":"I tuoi conti","go_to_asset_accounts":"Visualizza i tuoi conti attività","delete_account":"Elimina account","transaction_table_description":"Una tabella contenente le tue transazioni","account":"Conto","description":"Descrizione","amount":"Importo","budget":"Budget","category":"Categoria","opposing_account":"Conto beneficiario","budgets":"Budget","categories":"Categorie","go_to_budgets":"Vai ai tuoi budget","income":"Redditi / entrate","go_to_deposits":"Vai ai depositi","go_to_categories":"Vai alle tue categorie","expense_accounts":"Conti uscite","go_to_expenses":"Vai alle spese","go_to_bills":"Vai alle tue bollette","bills":"Bollette","last_thirty_days":"Ultimi trenta giorni","last_seven_days":"Ultimi sette giorni","go_to_piggies":"Vai ai tuoi salvadanai","saved":"Salvata","piggy_banks":"Salvadanai","piggy_bank":"Salvadanaio","amounts":"Importi","left":"Resto","spent":"Speso","Default asset account":"Conto attività predefinito","search_results":"Risultati ricerca","include":"Includere?","transaction":"Transazione","account_role_defaultAsset":"Conto attività predefinito","account_role_savingAsset":"Conto risparmio","account_role_sharedAsset":"Conto attività condiviso","clear_location":"Rimuovi dalla posizione","account_role_ccAsset":"Carta di credito","account_role_cashWalletAsset":"Portafoglio","daily_budgets":"Budget giornalieri","weekly_budgets":"Budget settimanali","monthly_budgets":"Budget mensili","quarterly_budgets":"Bilanci trimestrali","create_new_expense":"Crea un nuovo conto di spesa","create_new_revenue":"Crea un nuovo conto entrate","create_new_liabilities":"Crea nuova passività","half_year_budgets":"Bilanci semestrali","yearly_budgets":"Budget annuali","split_transaction_title":"Descrizione della transazione suddivisa","errors_submission":"Errore durante l\'invio. Controlla gli errori segnalati qui sotto.","flash_error":"Errore!","store_transaction":"Salva transazione","flash_success":"Successo!","create_another":"Dopo il salvataggio, torna qui per crearne un\'altra.","update_transaction":"Aggiorna transazione","after_update_create_another":"Dopo l\'aggiornamento, torna qui per continuare la modifica.","transaction_updated_no_changes":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID}</a> (\\"{title}\\") non ha avuto cambiamenti.","transaction_updated_link":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID}</a> (\\"{title}\\") è stata aggiornata.","spent_x_of_y":"Spesi {amount} di {total}","search":"Cerca","create_new_asset":"Crea un nuovo conto attività","asset_accounts":"Conti attività","reset_after":"Resetta il modulo dopo l\'invio","bill_paid_on":"Pagata il {date}","first_split_decides":"La prima suddivisione determina il valore di questo campo","first_split_overrules_source":"La prima suddivisione potrebbe sovrascrivere l\'account di origine","first_split_overrules_destination":"La prima suddivisione potrebbe sovrascrivere l\'account di destinazione","transaction_stored_link":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID} (\\"{title}\\")</a> è stata salvata.","custom_period":"Periodo personalizzato","reset_to_current":"Ripristina il periodo corrente","select_period":"Seleziona il periodo","location":"Posizione","other_budgets":"Budget a periodi personalizzati","journal_links":"Collegamenti della transazione","go_to_withdrawals":"Vai ai tuoi prelievi","revenue_accounts":"Conti entrate","add_another_split":"Aggiungi un\'altra divisione","actions":"Azioni","earned":"Guadagnato","empty":"(vuoto)","edit":"Modifica","never":"Mai","account_type_Loan":"Prestito","account_type_Mortgage":"Mutuo","stored_new_account_js":"Nuovo conto \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" salvato!","account_type_Debt":"Debito","delete":"Elimina","store_new_asset_account":"Salva nuovo conto attività","store_new_expense_account":"Salva il nuovo conto uscite","store_new_liabilities_account":"Memorizza nuova passività","store_new_revenue_account":"Salva il nuovo conto entrate","mandatoryFields":"Campi obbligatori","optionalFields":"Campi opzionali","reconcile_this_account":"Riconcilia questo conto","interest_calc_weekly":"Settimanale","interest_calc_monthly":"Al mese","interest_calc_quarterly":"Trimestrale","interest_calc_half-year":"Semestrale","interest_calc_yearly":"All\'anno","liability_direction_credit":"Questo debito mi è dovuto","liability_direction_debit":"Devo questo debito a qualcun altro","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Nessuna transazione|Salva questa transazione spostandola in un altro conto.|Salva queste transazioni spostandole in un altro conto.","none_in_select_list":"(nessuna)"},"list":{"piggy_bank":"Salvadanaio","percentage":"perc.","amount":"Importo","lastActivity":"Ultima attività","name":"Nome","role":"Ruolo","iban":"IBAN","interest":"Interesse","interest_period":"periodo di interesse","liability_type":"Tipo di passività","liability_direction":"(list.liability_direction)","currentBalance":"Saldo corrente","next_expected_match":"Prossimo abbinamento previsto"},"config":{"html_language":"it","week_in_year_fns":"\'Settimana\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Importo estero","interest_date":"Data di valuta","name":"Nome","amount":"Importo","iban":"IBAN","BIC":"BIC","notes":"Note","location":"Posizione","attachments":"Allegati","active":"Attivo","include_net_worth":"Includi nel patrimonio","account_number":"Numero conto","virtual_balance":"Saldo virtuale","opening_balance":"Saldo di apertura","opening_balance_date":"Data saldo di apertura","date":"Data","interest":"Interesse","interest_period":"Periodo di interesse","currency_id":"Valuta","liability_type":"Tipo passività","account_role":"Ruolo del conto","liability_direction":"Passività in entrata/uscita","book_date":"Data contabile","permDeleteWarning":"L\'eliminazione dei dati da Firefly III è definitiva e non può essere annullata.","account_areYouSure_js":"Sei sicuro di voler eliminare il conto \\"{name}\\"?","also_delete_piggyBanks_js":"Nessun salvadanaio|Anche l\'unico salvadanaio collegato a questo conto verrà eliminato.|Anche tutti i {count} salvadanai collegati a questo conto verranno eliminati.","also_delete_transactions_js":"Nessuna transazioni|Anche l\'unica transazione collegata al conto verrà eliminata.|Anche tutte le {count} transazioni collegati a questo conto verranno eliminate.","process_date":"Data elaborazione","due_date":"Data scadenza","payment_date":"Data pagamento","invoice_date":"Data fatturazione"}}')},9085:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Overføring","Withdrawal":"Uttak","Deposit":"Innskudd","date_and_time":"Date and time","no_currency":"(ingen valuta)","date":"Dato","time":"Time","no_budget":"(ingen budsjett)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metainformasjon","basic_journal_information":"Basic transaction information","bills_to_pay":"Regninger å betale","left_to_spend":"Igjen å bruke","attachments":"Vedlegg","net_worth":"Formue","bill":"Regning","no_bill":"(no bill)","tags":"Tagger","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Betalt","notes":"Notater","yourAccounts":"Dine kontoer","go_to_asset_accounts":"Se aktivakontoene dine","delete_account":"Slett konto","transaction_table_description":"A table containing your transactions","account":"Konto","description":"Beskrivelse","amount":"Beløp","budget":"Busjett","category":"Kategori","opposing_account":"Opposing account","budgets":"Budsjetter","categories":"Kategorier","go_to_budgets":"Gå til budsjettene dine","income":"Inntekt","go_to_deposits":"Go to deposits","go_to_categories":"Gå til kategoriene dine","expense_accounts":"Utgiftskontoer","go_to_expenses":"Go to expenses","go_to_bills":"Gå til regningene dine","bills":"Regninger","last_thirty_days":"Tredve siste dager","last_seven_days":"Syv siste dager","go_to_piggies":"Gå til sparegrisene dine","saved":"Saved","piggy_banks":"Sparegriser","piggy_bank":"Sparegris","amounts":"Amounts","left":"Gjenværende","spent":"Brukt","Default asset account":"Standard aktivakonto","search_results":"Søkeresultater","include":"Include?","transaction":"Transaksjon","account_role_defaultAsset":"Standard aktivakonto","account_role_savingAsset":"Sparekonto","account_role_sharedAsset":"Delt aktivakonto","clear_location":"Tøm lokasjon","account_role_ccAsset":"Kredittkort","account_role_cashWalletAsset":"Kontant lommebok","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Opprett ny utgiftskonto","create_new_revenue":"Opprett ny inntektskonto","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Feil!","store_transaction":"Store transaction","flash_success":"Suksess!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Søk","create_new_asset":"Opprett ny aktivakonto","asset_accounts":"Aktivakontoer","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Sted","other_budgets":"Custom timed budgets","journal_links":"Transaksjonskoblinger","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Inntektskontoer","add_another_split":"Legg til en oppdeling til","actions":"Handlinger","earned":"Opptjent","empty":"(empty)","edit":"Rediger","never":"Aldri","account_type_Loan":"Lån","account_type_Mortgage":"Boliglån","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Gjeld","delete":"Slett","store_new_asset_account":"Lagre ny brukskonto","store_new_expense_account":"Lagre ny utgiftskonto","store_new_liabilities_account":"Lagre ny gjeld","store_new_revenue_account":"Lagre ny inntektskonto","mandatoryFields":"Obligatoriske felter","optionalFields":"Valgfrie felter","reconcile_this_account":"Avstem denne kontoen","interest_calc_weekly":"Per week","interest_calc_monthly":"Per måned","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Per år","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(ingen)"},"list":{"piggy_bank":"Sparegris","percentage":"pct.","amount":"Beløp","lastActivity":"Siste aktivitet","name":"Navn","role":"Rolle","iban":"IBAN","interest":"Renter","interest_period":"renteperiode","liability_type":"Type gjeld","liability_direction":"(list.liability_direction)","currentBalance":"Nåværende saldo","next_expected_match":"Neste forventede treff"},"config":{"html_language":"nb","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Utenlandske beløp","interest_date":"Rentedato","name":"Navn","amount":"Beløp","iban":"IBAN","BIC":"BIC","notes":"Notater","location":"Location","attachments":"Vedlegg","active":"Aktiv","include_net_worth":"Inkluder i formue","account_number":"Account number","virtual_balance":"Virtual balance","opening_balance":"Opening balance","opening_balance_date":"Opening balance date","date":"Dato","interest":"Rente","interest_period":"Renteperiode","currency_id":"Valuta","liability_type":"Liability type","account_role":"Account role","liability_direction":"Liability in/out","book_date":"Bokføringsdato","permDeleteWarning":"Sletting av data fra Firefly III er permanent, og kan ikke angres.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Prosesseringsdato","due_date":"Forfallsdato","payment_date":"Betalingsdato","invoice_date":"Fakturadato"}}')},4671:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Overschrijving","Withdrawal":"Uitgave","Deposit":"Inkomsten","date_and_time":"Datum en tijd","no_currency":"(geen valuta)","date":"Datum","time":"Tijd","no_budget":"(geen budget)","destination_account":"Doelrekening","source_account":"Bronrekening","single_split":"Split","create_new_transaction":"Maak een nieuwe transactie","balance":"Saldo","transaction_journal_extra":"Extra informatie","transaction_journal_meta":"Metainformatie","basic_journal_information":"Standaard transactieinformatie","bills_to_pay":"Openstaande contracten","left_to_spend":"Over om uit te geven","attachments":"Bijlagen","net_worth":"Kapitaal","bill":"Contract","no_bill":"(geen contract)","tags":"Tags","internal_reference":"Interne referentie","external_url":"Externe URL","no_piggy_bank":"(geen spaarpotje)","paid":"Betaald","notes":"Notities","yourAccounts":"Je betaalrekeningen","go_to_asset_accounts":"Bekijk je betaalrekeningen","delete_account":"Verwijder je account","transaction_table_description":"Een tabel met je transacties","account":"Rekening","description":"Omschrijving","amount":"Bedrag","budget":"Budget","category":"Categorie","opposing_account":"Tegenrekening","budgets":"Budgetten","categories":"Categorieën","go_to_budgets":"Ga naar je budgetten","income":"Inkomsten","go_to_deposits":"Ga naar je inkomsten","go_to_categories":"Ga naar je categorieën","expense_accounts":"Crediteuren","go_to_expenses":"Ga naar je uitgaven","go_to_bills":"Ga naar je contracten","bills":"Contracten","last_thirty_days":"Laatste dertig dagen","last_seven_days":"Laatste zeven dagen","go_to_piggies":"Ga naar je spaarpotjes","saved":"Opgeslagen","piggy_banks":"Spaarpotjes","piggy_bank":"Spaarpotje","amounts":"Bedragen","left":"Over","spent":"Uitgegeven","Default asset account":"Standaard betaalrekening","search_results":"Zoekresultaten","include":"Opnemen?","transaction":"Transactie","account_role_defaultAsset":"Standaard betaalrekening","account_role_savingAsset":"Spaarrekening","account_role_sharedAsset":"Gedeelde betaalrekening","clear_location":"Wis locatie","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash","daily_budgets":"Dagelijkse budgetten","weekly_budgets":"Wekelijkse budgetten","monthly_budgets":"Maandelijkse budgetten","quarterly_budgets":"Driemaandelijkse budgetten","create_new_expense":"Nieuwe crediteur","create_new_revenue":"Nieuwe debiteur","create_new_liabilities":"Maak nieuwe passiva","half_year_budgets":"Halfjaarlijkse budgetten","yearly_budgets":"Jaarlijkse budgetten","split_transaction_title":"Beschrijving van de gesplitste transactie","errors_submission":"Er ging iets mis. Check de errors.","flash_error":"Fout!","store_transaction":"Transactie opslaan","flash_success":"Gelukt!","create_another":"Terug naar deze pagina voor een nieuwe transactie.","update_transaction":"Update transactie","after_update_create_another":"Na het opslaan terug om door te gaan met wijzigen.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID}</a> (\\"{title}\\") is niet gewijzigd.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID}</a> (\\"{title}\\") is geüpdatet.","spent_x_of_y":"{amount} van {total} uitgegeven","search":"Zoeken","create_new_asset":"Nieuwe betaalrekening","asset_accounts":"Betaalrekeningen","reset_after":"Reset formulier na opslaan","bill_paid_on":"Betaald op {date}","first_split_decides":"De eerste split bepaalt wat hier staat","first_split_overrules_source":"De eerste split kan de bronrekening overschrijven","first_split_overrules_destination":"De eerste split kan de doelrekening overschrijven","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID} (\\"{title}\\")</a> is opgeslagen.","custom_period":"Aangepaste periode","reset_to_current":"Reset naar huidige periode","select_period":"Selecteer een periode","location":"Plaats","other_budgets":"Aangepaste budgetten","journal_links":"Transactiekoppelingen","go_to_withdrawals":"Ga naar je uitgaven","revenue_accounts":"Debiteuren","add_another_split":"Voeg een split toe","actions":"Acties","earned":"Verdiend","empty":"(leeg)","edit":"Wijzig","never":"Nooit","account_type_Loan":"Lening","account_type_Mortgage":"Hypotheek","stored_new_account_js":"Nieuwe account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" opgeslagen!","account_type_Debt":"Schuld","delete":"Verwijder","store_new_asset_account":"Sla nieuwe betaalrekening op","store_new_expense_account":"Sla nieuwe crediteur op","store_new_liabilities_account":"Nieuwe passiva opslaan","store_new_revenue_account":"Sla nieuwe debiteur op","mandatoryFields":"Verplichte velden","optionalFields":"Optionele velden","reconcile_this_account":"Stem deze rekening af","interest_calc_weekly":"Per week","interest_calc_monthly":"Per maand","interest_calc_quarterly":"Per kwartaal","interest_calc_half-year":"Per half jaar","interest_calc_yearly":"Per jaar","liability_direction_credit":"Ik krijg dit bedrag terug","liability_direction_debit":"Ik moet dit bedrag terugbetalen","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Geen transacties|Bewaar deze transactie door ze aan een andere rekening te koppelen.|Bewaar deze transacties door ze aan een andere rekening te koppelen.","none_in_select_list":"(geen)"},"list":{"piggy_bank":"Spaarpotje","percentage":"pct","amount":"Bedrag","lastActivity":"Laatste activiteit","name":"Naam","role":"Rol","iban":"IBAN","interest":"Rente","interest_period":"renteperiode","liability_type":"Type passiva","liability_direction":"(list.liability_direction)","currentBalance":"Huidig saldo","next_expected_match":"Volgende verwachte match"},"config":{"html_language":"nl","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Bedrag in vreemde valuta","interest_date":"Rentedatum","name":"Naam","amount":"Bedrag","iban":"IBAN","BIC":"BIC","notes":"Notities","location":"Locatie","attachments":"Bijlagen","active":"Actief","include_net_worth":"Meetellen in kapitaal","account_number":"Rekeningnummer","virtual_balance":"Virtueel saldo","opening_balance":"Startsaldo","opening_balance_date":"Startsaldodatum","date":"Datum","interest":"Rente","interest_period":"Renteperiode","currency_id":"Valuta","liability_type":"Passivasoort","account_role":"Rol van rekening","liability_direction":"Passiva in- of uitgaand","book_date":"Boekdatum","permDeleteWarning":"Dingen verwijderen uit Firefly III is permanent en kan niet ongedaan gemaakt worden.","account_areYouSure_js":"Weet je zeker dat je de rekening met naam \\"{name}\\" wilt verwijderen?","also_delete_piggyBanks_js":"Geen spaarpotjes|Ook het spaarpotje verbonden aan deze rekening wordt verwijderd.|Ook alle {count} spaarpotjes verbonden aan deze rekening worden verwijderd.","also_delete_transactions_js":"Geen transacties|Ook de enige transactie verbonden aan deze rekening wordt verwijderd.|Ook alle {count} transacties verbonden aan deze rekening worden verwijderd.","process_date":"Verwerkingsdatum","due_date":"Vervaldatum","payment_date":"Betalingsdatum","invoice_date":"Factuurdatum"}}')},6238:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Wypłata","Deposit":"Wpłata","date_and_time":"Data i czas","no_currency":"(brak waluty)","date":"Data","time":"Czas","no_budget":"(brak budżetu)","destination_account":"Konto docelowe","source_account":"Konto źródłowe","single_split":"Podział","create_new_transaction":"Stwórz nową transakcję","balance":"Saldo","transaction_journal_extra":"Dodatkowe informacje","transaction_journal_meta":"Meta informacje","basic_journal_information":"Podstawowe informacje o transakcji","bills_to_pay":"Rachunki do zapłacenia","left_to_spend":"Pozostało do wydania","attachments":"Załączniki","net_worth":"Wartość netto","bill":"Rachunek","no_bill":"(brak rachunku)","tags":"Tagi","internal_reference":"Wewnętrzny nr referencyjny","external_url":"Zewnętrzny adres URL","no_piggy_bank":"(brak skarbonki)","paid":"Zapłacone","notes":"Notatki","yourAccounts":"Twoje konta","go_to_asset_accounts":"Zobacz swoje konta aktywów","delete_account":"Usuń konto","transaction_table_description":"Tabela zawierająca Twoje transakcje","account":"Konto","description":"Opis","amount":"Kwota","budget":"Budżet","category":"Kategoria","opposing_account":"Konto przeciwstawne","budgets":"Budżety","categories":"Kategorie","go_to_budgets":"Przejdź do swoich budżetów","income":"Przychody / dochody","go_to_deposits":"Przejdź do wpłat","go_to_categories":"Przejdź do swoich kategorii","expense_accounts":"Konta wydatków","go_to_expenses":"Przejdź do wydatków","go_to_bills":"Przejdź do swoich rachunków","bills":"Rachunki","last_thirty_days":"Ostanie 30 dni","last_seven_days":"Ostatnie 7 dni","go_to_piggies":"Przejdź do swoich skarbonek","saved":"Zapisano","piggy_banks":"Skarbonki","piggy_bank":"Skarbonka","amounts":"Kwoty","left":"Pozostało","spent":"Wydano","Default asset account":"Domyślne konto aktywów","search_results":"Wyniki wyszukiwania","include":"Include?","transaction":"Transakcja","account_role_defaultAsset":"Domyślne konto aktywów","account_role_savingAsset":"Konto oszczędnościowe","account_role_sharedAsset":"Współdzielone konto aktywów","clear_location":"Wyczyść lokalizację","account_role_ccAsset":"Karta kredytowa","account_role_cashWalletAsset":"Portfel gotówkowy","daily_budgets":"Budżety dzienne","weekly_budgets":"Budżety tygodniowe","monthly_budgets":"Budżety miesięczne","quarterly_budgets":"Budżety kwartalne","create_new_expense":"Utwórz nowe konto wydatków","create_new_revenue":"Utwórz nowe konto przychodów","create_new_liabilities":"Utwórz nowe zobowiązanie","half_year_budgets":"Budżety półroczne","yearly_budgets":"Budżety roczne","split_transaction_title":"Opis podzielonej transakcji","errors_submission":"Coś poszło nie tak w czasie zapisu. Proszę sprawdź błędy.","flash_error":"Błąd!","store_transaction":"Zapisz transakcję","flash_success":"Sukces!","create_another":"Po zapisaniu wróć tutaj, aby utworzyć kolejny.","update_transaction":"Zaktualizuj transakcję","after_update_create_another":"Po aktualizacji wróć tutaj, aby kontynuować edycję.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID}</a> (\\"{title}\\") nie została zmieniona.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID}</a> (\\"{title}\\") została zaktualizowana.","spent_x_of_y":"Wydano {amount} z {total}","search":"Szukaj","create_new_asset":"Utwórz nowe konto aktywów","asset_accounts":"Konta aktywów","reset_after":"Wyczyść formularz po zapisaniu","bill_paid_on":"Zapłacone {date}","first_split_decides":"Pierwszy podział określa wartość tego pola","first_split_overrules_source":"Pierwszy podział może nadpisać konto źródłowe","first_split_overrules_destination":"Pierwszy podział może nadpisać konto docelowe","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID} (\\"{title}\\")</a> została zapisana.","custom_period":"Okres niestandardowy","reset_to_current":"Przywróć do bieżącego okresu","select_period":"Wybierz okres","location":"Lokalizacja","other_budgets":"Budżety niestandardowe","journal_links":"Powiązane transakcje","go_to_withdrawals":"Przejdź do swoich wydatków","revenue_accounts":"Konta przychodów","add_another_split":"Dodaj kolejny podział","actions":"Akcje","earned":"Zarobiono","empty":"(pusty)","edit":"Modyfikuj","never":"Nigdy","account_type_Loan":"Pożyczka","account_type_Mortgage":"Hipoteka","stored_new_account_js":"Nowe konto \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" zapisane!","account_type_Debt":"Dług","delete":"Usuń","store_new_asset_account":"Zapisz nowe konto aktywów","store_new_expense_account":"Zapisz nowe konto wydatków","store_new_liabilities_account":"Zapisz nowe zobowiązanie","store_new_revenue_account":"Zapisz nowe konto przychodów","mandatoryFields":"Pola wymagane","optionalFields":"Pola opcjonalne","reconcile_this_account":"Uzgodnij to konto","interest_calc_weekly":"Tygodniowo","interest_calc_monthly":"Co miesiąc","interest_calc_quarterly":"Kwartalnie","interest_calc_half-year":"Co pół roku","interest_calc_yearly":"Co rok","liability_direction_credit":"Zadłużenie wobec mnie","liability_direction_debit":"Zadłużenie wobec kogoś innego","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Brak transakcji|Zapisz tę transakcję, przenosząc ją na inne konto.|Zapisz te transakcje przenosząc je na inne konto.","none_in_select_list":"(żadne)"},"list":{"piggy_bank":"Skarbonka","percentage":"%","amount":"Kwota","lastActivity":"Ostatnia aktywność","name":"Nazwa","role":"Rola","iban":"IBAN","interest":"Odsetki","interest_period":"okres odsetkowy","liability_type":"Rodzaj zobowiązania","liability_direction":"(list.liability_direction)","currentBalance":"Bieżące saldo","next_expected_match":"Następne oczekiwane dopasowanie"},"config":{"html_language":"pl","week_in_year_fns":"w \'tydzień\' yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"Q \'kwartał\' yyyy","half_year_fns":"\'{half} połowa\' yyyy"},"form":{"foreign_amount":"Kwota zagraniczna","interest_date":"Data odsetek","name":"Nazwa","amount":"Kwota","iban":"IBAN","BIC":"BIC","notes":"Notatki","location":"Lokalizacja","attachments":"Załączniki","active":"Aktywny","include_net_worth":"Uwzględnij w wartości netto","account_number":"Numer konta","virtual_balance":"Wirtualne saldo","opening_balance":"Saldo początkowe","opening_balance_date":"Data salda otwarcia","date":"Data","interest":"Odsetki","interest_period":"Okres odsetkowy","currency_id":"Waluta","liability_type":"Rodzaj zobowiązania","account_role":"Rola konta","liability_direction":"Liability in/out","book_date":"Data księgowania","permDeleteWarning":"Usuwanie rzeczy z Firefly III jest trwałe i nie można tego cofnąć.","account_areYouSure_js":"Czy na pewno chcesz usunąć konto o nazwie \\"{name}\\"?","also_delete_piggyBanks_js":"Brak skarbonek|Jedyna skarbonka połączona z tym kontem również zostanie usunięta.|Wszystkie {count} skarbonki połączone z tym kontem zostaną również usunięte.","also_delete_transactions_js":"Brak transakcji|Jedyna transakcja połączona z tym kontem również zostanie usunięta.|Wszystkie {count} transakcje połączone z tym kontem również zostaną usunięte.","process_date":"Data przetworzenia","due_date":"Termin realizacji","payment_date":"Data płatności","invoice_date":"Data faktury"}}')},6586:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transferência","Withdrawal":"Retirada","Deposit":"Depósito","date_and_time":"Data e hora","no_currency":"(sem moeda)","date":"Data","time":"Horário","no_budget":"(sem orçamento)","destination_account":"Conta destino","source_account":"Conta origem","single_split":"Divisão","create_new_transaction":"Criar nova transação","balance":"Saldo","transaction_journal_extra":"Informação extra","transaction_journal_meta":"Meta-informação","basic_journal_information":"Informações básicas de transação","bills_to_pay":"Contas a pagar","left_to_spend":"Restante para gastar","attachments":"Anexos","net_worth":"Valor Líquido","bill":"Fatura","no_bill":"(sem conta)","tags":"Tags","internal_reference":"Referência interna","external_url":"URL externa","no_piggy_bank":"(nenhum cofrinho)","paid":"Pago","notes":"Notas","yourAccounts":"Suas contas","go_to_asset_accounts":"Veja suas contas ativas","delete_account":"Apagar conta","transaction_table_description":"Uma tabela contendo suas transações","account":"Conta","description":"Descrição","amount":"Valor","budget":"Orçamento","category":"Categoria","opposing_account":"Conta oposta","budgets":"Orçamentos","categories":"Categorias","go_to_budgets":"Vá para seus orçamentos","income":"Receita / Renda","go_to_deposits":"Ir para as entradas","go_to_categories":"Vá para suas categorias","expense_accounts":"Contas de despesas","go_to_expenses":"Ir para despesas","go_to_bills":"Vá para suas contas","bills":"Faturas","last_thirty_days":"Últimos 30 dias","last_seven_days":"Últimos sete dias","go_to_piggies":"Vá para sua poupança","saved":"Salvo","piggy_banks":"Cofrinhos","piggy_bank":"Cofrinho","amounts":"Quantias","left":"Restante","spent":"Gasto","Default asset account":"Conta padrão","search_results":"Resultados da pesquisa","include":"Incluir?","transaction":"Transação","account_role_defaultAsset":"Conta padrão","account_role_savingAsset":"Conta poupança","account_role_sharedAsset":"Contas de ativos compartilhadas","clear_location":"Limpar localização","account_role_ccAsset":"Cartão de crédito","account_role_cashWalletAsset":"Carteira de dinheiro","daily_budgets":"Orçamentos diários","weekly_budgets":"Orçamentos semanais","monthly_budgets":"Orçamentos mensais","quarterly_budgets":"Orçamentos trimestrais","create_new_expense":"Criar nova conta de despesa","create_new_revenue":"Criar nova conta de receita","create_new_liabilities":"Criar novo passivo","half_year_budgets":"Orçamentos semestrais","yearly_budgets":"Orçamentos anuais","split_transaction_title":"Descrição da transação dividida","errors_submission":"Há algo de errado com o seu envio. Por favor, verifique os erros abaixo.","flash_error":"Erro!","store_transaction":"Salvar transação","flash_success":"Sucesso!","create_another":"Depois de armazenar, retorne aqui para criar outro.","update_transaction":"Atualizar transação","after_update_create_another":"Depois de atualizar, retorne aqui para continuar editando.","transaction_updated_no_changes":"A <a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") não recebeu nenhuma alteração.","transaction_updated_link":"A <a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") foi atualizada.","spent_x_of_y":"Gasto {amount} de {total}","search":"Pesquisa","create_new_asset":"Criar nova conta de ativo","asset_accounts":"Contas de ativo","reset_after":"Resetar o formulário após o envio","bill_paid_on":"Pago em {date}","first_split_decides":"A primeira divisão determina o valor deste campo","first_split_overrules_source":"A primeira divisão pode anular a conta de origem","first_split_overrules_destination":"A primeira divisão pode anular a conta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID} (\\"{title}\\")</a> foi salva.","custom_period":"Período personalizado","reset_to_current":"Redefinir para o período atual","select_period":"Selecione um período","location":"Localização","other_budgets":"Orçamentos de períodos personalizados","journal_links":"Transações ligadas","go_to_withdrawals":"Vá para seus saques","revenue_accounts":"Contas de receitas","add_another_split":"Adicionar outra divisão","actions":"Ações","earned":"Ganho","empty":"(vazio)","edit":"Editar","never":"Nunca","account_type_Loan":"Empréstimo","account_type_Mortgage":"Hipoteca","stored_new_account_js":"Nova conta \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" armazenada!","account_type_Debt":"Dívida","delete":"Apagar","store_new_asset_account":"Armazenar nova conta de ativo","store_new_expense_account":"Armazenar nova conta de despesa","store_new_liabilities_account":"Guardar novo passivo","store_new_revenue_account":"Armazenar nova conta de receita","mandatoryFields":"Campos obrigatórios","optionalFields":"Campos opcionais","reconcile_this_account":"Concilie esta conta","interest_calc_weekly":"Por semana","interest_calc_monthly":"Por mês","interest_calc_quarterly":"Por trimestre","interest_calc_half-year":"Por semestre","interest_calc_yearly":"Por ano","liability_direction_credit":"Devo este débito","liability_direction_debit":"Devo este débito a outra pessoa","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Nenhuma transação.|Salve esta transação movendo-a para outra conta.|Salve essas transações movendo-as para outra conta.","none_in_select_list":"(nenhum)"},"list":{"piggy_bank":"Cofrinho","percentage":"pct.","amount":"Total","lastActivity":"Última atividade","name":"Nome","role":"Papel","iban":"IBAN","interest":"Juros","interest_period":"período de juros","liability_type":"Tipo de passivo","liability_direction":"(list.liability_direction)","currentBalance":"Saldo atual","next_expected_match":"Próximo correspondente esperado"},"config":{"html_language":"pt-br","week_in_year_fns":"\'Semana\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'T\'Q, yyyy","half_year_fns":"\'S{half}\', yyyy"},"form":{"foreign_amount":"Montante em moeda estrangeira","interest_date":"Data de interesse","name":"Nome","amount":"Valor","iban":"IBAN","BIC":"BIC","notes":"Notas","location":"Localização","attachments":"Anexos","active":"Ativar","include_net_worth":"Incluir no patrimonio liquido","account_number":"Número de conta","virtual_balance":"Saldo virtual","opening_balance":"Saldo inicial","opening_balance_date":"Data do saldo inicial","date":"Data","interest":"Juros","interest_period":"Período de juros","currency_id":"Moeda","liability_type":"Tipo de passivo","account_role":"Função de conta","liability_direction":"Passivo entrada/saída","book_date":"Data reserva","permDeleteWarning":"Exclusão de dados do Firefly III são permanentes e não podem ser desfeitos.","account_areYouSure_js":"Tem certeza que deseja excluir a conta \\"{name}\\"?","also_delete_piggyBanks_js":"Sem cofrinhos|O único cofrinho conectado a esta conta também será excluído.|Todos os {count} cofrinhos conectados a esta conta também serão excluídos.","also_delete_transactions_js":"Sem transações|A única transação conectada a esta conta também será excluída.|Todas as {count} transações conectadas a essa conta também serão excluídas.","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da Fatura"}}')},8664:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transferência","Withdrawal":"Levantamento","Deposit":"Depósito","date_and_time":"Data e hora","no_currency":"(sem moeda)","date":"Data","time":"Hora","no_budget":"(sem orçamento)","destination_account":"Conta de destino","source_account":"Conta de origem","single_split":"Dividir","create_new_transaction":"Criar uma nova transação","balance":"Saldo","transaction_journal_extra":"Informações extra","transaction_journal_meta":"Meta informação","basic_journal_information":"Informações básicas de transação","bills_to_pay":"Faturas a pagar","left_to_spend":"Restante para gastar","attachments":"Anexos","net_worth":"Patrimonio liquido","bill":"Fatura","no_bill":"(sem fatura)","tags":"Etiquetas","internal_reference":"Referência interna","external_url":"URL Externo","no_piggy_bank":"(nenhum mealheiro)","paid":"Pago","notes":"Notas","yourAccounts":"As suas contas","go_to_asset_accounts":"Ver as contas de activos","delete_account":"Apagar conta de utilizador","transaction_table_description":"Uma tabela com as suas transacções","account":"Conta","description":"Descricao","amount":"Montante","budget":"Orcamento","category":"Categoria","opposing_account":"Conta oposta","budgets":"Orçamentos","categories":"Categorias","go_to_budgets":"Ir para os seus orçamentos","income":"Receita / renda","go_to_deposits":"Ir para depósitos","go_to_categories":"Ir para categorias","expense_accounts":"Conta de despesas","go_to_expenses":"Ir para despesas","go_to_bills":"Ir para as faturas","bills":"Faturas","last_thirty_days":"Últimos trinta dias","last_seven_days":"Últimos sete dias","go_to_piggies":"Ir para mealheiros","saved":"Guardado","piggy_banks":"Mealheiros","piggy_bank":"Mealheiro","amounts":"Montantes","left":"Em falta","spent":"Gasto","Default asset account":"Conta de activos padrão","search_results":"Resultados da pesquisa","include":"Incluir?","transaction":"Transacção","account_role_defaultAsset":"Conta de activos padrão","account_role_savingAsset":"Conta poupança","account_role_sharedAsset":"Conta de activos partilhados","clear_location":"Limpar localização","account_role_ccAsset":"Cartão de credito","account_role_cashWalletAsset":"Carteira de dinheiro","daily_budgets":"Orçamento diário","weekly_budgets":"Orçamento semanal","monthly_budgets":"Orçamento mensal","quarterly_budgets":"Orçamento trimestral","create_new_expense":"Criar nova conta de despesas","create_new_revenue":"Criar nova conta de receitas","create_new_liabilities":"Criar novo passivo","half_year_budgets":"Orçamento semestral","yearly_budgets":"Orçamento anual","split_transaction_title":"Descrição da transacção dividida","errors_submission":"Aconteceu algo errado com a sua submissão. Por favor, verifique os erros.","flash_error":"Erro!","store_transaction":"Guardar transação","flash_success":"Sucesso!","create_another":"Depois de guardar, voltar aqui para criar outra.","update_transaction":"Actualizar transacção","after_update_create_another":"Após a atualização, regresse aqui para continuar a editar.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") não recebeu nenhuma alteração.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") foi atualizada.","spent_x_of_y":"Gasto {amount} de {total}","search":"Procurar","create_new_asset":"Criar nova conta de activos","asset_accounts":"Conta de activos","reset_after":"Repor o formulário após o envio","bill_paid_on":"Pago a {date}","first_split_decides":"A primeira divisão determina o valor deste campo","first_split_overrules_source":"A primeira divisão pode anular a conta de origem","first_split_overrules_destination":"A primeira divisão pode anular a conta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID} (\\"{title}\\")</a> foi guardada.","custom_period":"Período personalizado","reset_to_current":"Reiniciar o período personalizado","select_period":"Selecionar um período","location":"Localização","other_budgets":"Orçamentos de tempo personalizado","journal_links":"Ligações de transacção","go_to_withdrawals":"Ir para os seus levantamentos","revenue_accounts":"Conta de receitas","add_another_split":"Adicionar outra divisão","actions":"Ações","earned":"Ganho","empty":"(vazio)","edit":"Alterar","never":"Nunca","account_type_Loan":"Emprestimo","account_type_Mortgage":"Hipoteca","stored_new_account_js":"Nova conta \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" armazenada!","account_type_Debt":"Debito","delete":"Apagar","store_new_asset_account":"Guardar nova conta de activos","store_new_expense_account":"Guardar nova conta de despesas","store_new_liabilities_account":"Guardar novo passivo","store_new_revenue_account":"Guardar nova conta de receitas","mandatoryFields":"Campos obrigatorios","optionalFields":"Campos opcionais","reconcile_this_account":"Reconciliar esta conta","interest_calc_weekly":"Por semana","interest_calc_monthly":"Mensal","interest_calc_quarterly":"Por trimestre","interest_calc_half-year":"Por meio ano","interest_calc_yearly":"Anual","liability_direction_credit":"Esta dívida é-me devida","liability_direction_debit":"Devo esta dívida a outra pessoa","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Nenhuma transação| Guarde esta transação movendo-a para outra conta| Guarde estas transações movendo-as para outra conta.","none_in_select_list":"(nenhum)"},"list":{"piggy_bank":"Mealheiro","percentage":"%.","amount":"Montante","lastActivity":"Ultima actividade","name":"Nome","role":"Regra","iban":"IBAN","interest":"Juro","interest_period":"periodo de juros","liability_type":"Tipo de responsabilidade","liability_direction":"(list.liability_direction)","currentBalance":"Saldo actual","next_expected_match":"Proxima correspondencia esperada"},"config":{"html_language":"pt","week_in_year_fns":"\'Semana\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Trimestre\' Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Montante estrangeiro","interest_date":"Data de juros","name":"Nome","amount":"Montante","iban":"IBAN","BIC":"BIC","notes":"Notas","location":"Localização","attachments":"Anexos","active":"Activo","include_net_worth":"Incluir no patrimonio liquido","account_number":"Número de conta","virtual_balance":"Saldo virtual","opening_balance":"Saldo inicial","opening_balance_date":"Data do saldo inicial","date":"Data","interest":"Juro","interest_period":"Periodo de juros","currency_id":"Divisa","liability_type":"Tipo de responsabilidade","account_role":"Tipo de conta","liability_direction":"Responsabilidade entrada/saída","book_date":"Data de registo","permDeleteWarning":"Apagar as tuas coisas do Firefly III e permanente e nao pode ser desfeito.","account_areYouSure_js":"Tem a certeza que deseja eliminar a conta denominada por \\"{name}?","also_delete_piggyBanks_js":"Nenhum mealheiro|O único mealheiro ligado a esta conta será também eliminado.|Todos os {count} mealheiros ligados a esta conta serão também eliminados.","also_delete_transactions_js":"Nenhuma transação| A única transação ligada a esta conta será também excluída.|Todas as {count} transações ligadas a esta conta serão também excluídas.","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da factura"}}')},1102:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Retragere","Deposit":"Depozit","date_and_time":"Data și ora","no_currency":"(nici o monedă)","date":"Dată","time":"Timp","no_budget":"(nici un buget)","destination_account":"Contul de destinație","source_account":"Contul sursă","single_split":"Împarte","create_new_transaction":"Creați o tranzacție nouă","balance":"Balantă","transaction_journal_extra":"Informații suplimentare","transaction_journal_meta":"Informații meta","basic_journal_information":"Informații de bază despre tranzacție","bills_to_pay":"Facturile de plată","left_to_spend":"Ramas de cheltuit","attachments":"Atașamente","net_worth":"Valoarea netă","bill":"Factură","no_bill":"(fără factură)","tags":"Etichete","internal_reference":"Referință internă","external_url":"URL extern","no_piggy_bank":"(nicio pușculiță)","paid":"Plătit","notes":"Notițe","yourAccounts":"Conturile dvs.","go_to_asset_accounts":"Vizualizați conturile de active","delete_account":"Șterge account","transaction_table_description":"Un tabel care conține tranzacțiile tale","account":"Cont","description":"Descriere","amount":"Sumă","budget":"Buget","category":"Categorie","opposing_account":"Cont opus","budgets":"Buget","categories":"Categorii","go_to_budgets":"Mergi la bugete","income":"Venituri","go_to_deposits":"Du-te la depozite","go_to_categories":"Mergi la categorii","expense_accounts":"Conturi de cheltuieli","go_to_expenses":"Mergi la cheltuieli","go_to_bills":"Mergi la facturi","bills":"Facturi","last_thirty_days":"Ultimele 30 de zile","last_seven_days":"Ultimele 7 zile","go_to_piggies":"Mergi la pușculiță","saved":"Salvat","piggy_banks":"Pușculiță","piggy_bank":"Pușculiță","amounts":"Sume","left":"Rămas","spent":"Cheltuit","Default asset account":"Cont de active implicit","search_results":"Rezultatele căutarii","include":"Include?","transaction":"Tranzacţie","account_role_defaultAsset":"Contul implicit activ","account_role_savingAsset":"Cont de economii","account_role_sharedAsset":"Contul de active partajat","clear_location":"Ștergeți locația","account_role_ccAsset":"Card de credit","account_role_cashWalletAsset":"Cash - Numerar","daily_budgets":"Bugete zilnice","weekly_budgets":"Bugete săptămânale","monthly_budgets":"Bugete lunare","quarterly_budgets":"Bugete trimestriale","create_new_expense":"Creați un nou cont de cheltuieli","create_new_revenue":"Creați un nou cont de venituri","create_new_liabilities":"Creare provizion nou","half_year_budgets":"Bugete semestriale","yearly_budgets":"Bugete anuale","split_transaction_title":"Descrierea tranzacției divizate","errors_submission":"A fost ceva în neregulă cu depunerea ta. Te rugăm să verifici erorile.","flash_error":"Eroare!","store_transaction":"Tranzacție magazin","flash_success":"Succes!","create_another":"După stocare, reveniți aici pentru a crea alta.","update_transaction":"Actualizați tranzacția","after_update_create_another":"După actualizare, reveniți aici pentru a continua editarea.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Tranzacția #{ID}</a> (\\"{title}\\") nu a primit nicio modificare.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Tranzacția #{ID}</a> (\\"{title}\\") a fost actualizată.","spent_x_of_y":"Cheltuit {amount} din {total}","search":"Caută","create_new_asset":"Creați un nou cont de active","asset_accounts":"Conturile de active","reset_after":"Resetați formularul după trimitere","bill_paid_on":"Plătit pe {date}","first_split_decides":"Prima împărțire determină valoarea acestui câmp","first_split_overrules_source":"Prima împărțire poate suprascrie contul sursă","first_split_overrules_destination":"Prima împărțire poate suprascrie contul de destinație","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Tranzacția #{ID} (\\"{title}\\")</a> a fost stocată.","custom_period":"Perioadă personalizată","reset_to_current":"Resetare la perioada curentă","select_period":"Selectați o perioadă","location":"Locație","other_budgets":"Bugete personalizate temporale","journal_links":"Link-uri de tranzacții","go_to_withdrawals":"Mergi la retragerile tale","revenue_accounts":"Conturi de venituri","add_another_split":"Adăugați o divizare","actions":"Acțiuni","earned":"Câștigat","empty":"(gol)","edit":"Editează","never":"Niciodată","account_type_Loan":"Împrumut","account_type_Mortgage":"Credit ipotecar","stored_new_account_js":"Cont nou \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stocat!","account_type_Debt":"Datorie","delete":"Șterge","store_new_asset_account":"Salvați un nou cont de active","store_new_expense_account":"Salvați un nou cont de cheltuieli","store_new_liabilities_account":"Salvați provizion nou","store_new_revenue_account":"Salvați un nou cont de venituri","mandatoryFields":"Câmpuri obligatorii","optionalFields":"Câmpuri opționale","reconcile_this_account":"Reconciliați acest cont","interest_calc_weekly":"Pe săptămână","interest_calc_monthly":"Pe lună","interest_calc_quarterly":"Pe trimestru","interest_calc_half-year":"Pe jumătate de an","interest_calc_yearly":"Pe an","liability_direction_credit":"Sunt datorat acestei datorii","liability_direction_debit":"Datorăm această datorie altcuiva","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Fără tranzacții* Salvați această tranzacție mutând-o în alt cont. | Salvați aceste tranzacții mutându-le într-un alt cont.","none_in_select_list":"(nici unul)"},"list":{"piggy_bank":"Pușculiță","percentage":"procent %","amount":"Sumă","lastActivity":"Ultima activitate","name":"Nume","role":"Rol","iban":"IBAN","interest":"Interes","interest_period":"perioadă de interes","liability_type":"Tip de provizion","liability_direction":"(list.liability_direction)","currentBalance":"Sold curent","next_expected_match":"Următoarea potrivire așteptată"},"config":{"html_language":"ro","week_in_year_fns":"\'Săptămână\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyy"},"form":{"foreign_amount":"Sumă străină","interest_date":"Data de interes","name":"Nume","amount":"Sumă","iban":"IBAN","BIC":"BIC","notes":"Notițe","location":"Locație","attachments":"Fișiere atașate","active":"Activ","include_net_worth":"Includeți în valoare netă","account_number":"Număr de cont","virtual_balance":"Soldul virtual","opening_balance":"Soldul de deschidere","opening_balance_date":"Data soldului de deschidere","date":"Dată","interest":"Interes","interest_period":"Perioadă de interes","currency_id":"Monedă","liability_type":"Tipul de provizion","account_role":"Rolul contului","liability_direction":"Răspundere în/afară","book_date":"Rezervă dată","permDeleteWarning":"Ștergerea este permanentă și nu poate fi anulată.","account_areYouSure_js":"Sunteţi sigur că doriţi să ştergeţi contul numit \\"{name}\\"?","also_delete_piggyBanks_js":"Nici o pușculiță | Singura pușculiță conectată la acest cont va fi de asemenea ștearsă. Toate cele {count} pușculițe conectate la acest cont vor fi șterse, de asemenea.","also_delete_transactions_js":"Nicio tranzacție | Singura tranzacție conectată la acest cont va fi de asemenea ștearsă. | Toate cele {count} tranzacții conectate la acest cont vor fi șterse, de asemenea.","process_date":"Data procesării","due_date":"Data scadentă","payment_date":"Data de plată","invoice_date":"Data facturii"}}')},753:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Перевод","Withdrawal":"Расход","Deposit":"Доход","date_and_time":"Дата и время","no_currency":"(нет валюты)","date":"Дата","time":"Время","no_budget":"(вне бюджета)","destination_account":"Счёт назначения","source_account":"Счёт-источник","single_split":"Разделённая транзакция","create_new_transaction":"Создать новую транзакцию","balance":"Бaлaнc","transaction_journal_extra":"Дополнительные сведения","transaction_journal_meta":"Дополнительная информация","basic_journal_information":"Основная информация о транзакции","bills_to_pay":"Счета к оплате","left_to_spend":"Осталось потратить","attachments":"Вложения","net_worth":"Мои сбережения","bill":"Счёт к оплате","no_bill":"(нет счёта на оплату)","tags":"Метки","internal_reference":"Внутренняя ссылка","external_url":"Внешний URL-адрес","no_piggy_bank":"(нет копилки)","paid":"Оплачено","notes":"Заметки","yourAccounts":"Ваши счета","go_to_asset_accounts":"Просмотр ваших основных счетов","delete_account":"Удалить профиль","transaction_table_description":"Таблица, содержащая ваши транзакции","account":"Счёт","description":"Описание","amount":"Сумма","budget":"Бюджет","category":"Категория","opposing_account":"Противодействующий счёт","budgets":"Бюджет","categories":"Категории","go_to_budgets":"Перейти к вашим бюджетам","income":"Мои доходы","go_to_deposits":"Перейти ко вкладам","go_to_categories":"Перейти к вашим категориям","expense_accounts":"Счета расходов","go_to_expenses":"Перейти к расходам","go_to_bills":"Перейти к вашим счетам на оплату","bills":"Счета к оплате","last_thirty_days":"Последние 30 дней","last_seven_days":"Последние 7 дней","go_to_piggies":"Перейти к вашим копилкам","saved":"Сохранено","piggy_banks":"Копилки","piggy_bank":"Копилка","amounts":"Сумма","left":"Осталось","spent":"Расход","Default asset account":"Счёт по умолчанию","search_results":"Результаты поиска","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Счёт по умолчанию","account_role_savingAsset":"Сберегательный счет","account_role_sharedAsset":"Общий основной счёт","clear_location":"Очистить местоположение","account_role_ccAsset":"Кредитная карта","account_role_cashWalletAsset":"Наличные","daily_budgets":"Бюджеты на день","weekly_budgets":"Бюджеты на неделю","monthly_budgets":"Бюджеты на месяц","quarterly_budgets":"Бюджеты на квартал","create_new_expense":"Создать новый счёт расхода","create_new_revenue":"Создать новый счёт дохода","create_new_liabilities":"Create new liability","half_year_budgets":"Бюджеты на полгода","yearly_budgets":"Годовые бюджеты","split_transaction_title":"Описание разделённой транзакции","errors_submission":"При отправке что-то пошло не так. Пожалуйста, проверьте ошибки ниже.","flash_error":"Ошибка!","store_transaction":"Сохранить транзакцию","flash_success":"Успешно!","create_another":"После сохранения вернуться сюда и создать ещё одну аналогичную запись.","update_transaction":"Обновить транзакцию","after_update_create_another":"После обновления вернитесь сюда, чтобы продолжить редактирование.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Поиск","create_new_asset":"Создать новый активный счёт","asset_accounts":"Основные счета","reset_after":"Сбросить форму после отправки","bill_paid_on":"Оплачено {date}","first_split_decides":"В данном поле используется значение из первой части разделенной транзакции","first_split_overrules_source":"Значение из первой части транзакции может изменить счет источника","first_split_overrules_destination":"Значение из первой части транзакции может изменить счет назначения","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID} (\\"{title}\\")</a> сохранена.","custom_period":"Пользовательский период","reset_to_current":"Сброс к текущему периоду","select_period":"Выберите период","location":"Размещение","other_budgets":"Бюджеты на произвольный отрезок времени","journal_links":"Связи транзакции","go_to_withdrawals":"Перейти к вашим расходам","revenue_accounts":"Счета доходов","add_another_split":"Добавить еще одну часть","actions":"Действия","earned":"Заработано","empty":"(пусто)","edit":"Изменить","never":"Никогда","account_type_Loan":"Заём","account_type_Mortgage":"Ипотека","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Дебит","delete":"Удалить","store_new_asset_account":"Сохранить новый основной счёт","store_new_expense_account":"Сохранить новый счёт расхода","store_new_liabilities_account":"Сохранить новое обязательство","store_new_revenue_account":"Сохранить новый счёт дохода","mandatoryFields":"Обязательные поля","optionalFields":"Дополнительные поля","reconcile_this_account":"Произвести сверку данного счёта","interest_calc_weekly":"Per week","interest_calc_monthly":"В месяц","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"В год","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(нет)"},"list":{"piggy_bank":"Копилка","percentage":"процентов","amount":"Сумма","lastActivity":"Последняя активность","name":"Имя","role":"Роль","iban":"IBAN","interest":"Процентная ставка","interest_period":"период начисления процентов","liability_type":"Тип ответственности","liability_direction":"(list.liability_direction)","currentBalance":"Текущий баланс","next_expected_match":"Следующий ожидаемый результат"},"config":{"html_language":"ru","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Сумма в иностранной валюте","interest_date":"Дата начисления процентов","name":"Название","amount":"Сумма","iban":"IBAN","BIC":"BIC","notes":"Заметки","location":"Местоположение","attachments":"Вложения","active":"Активный","include_net_worth":"Включать в \\"Мои сбережения\\"","account_number":"Номер счёта","virtual_balance":"Виртуальный баланс","opening_balance":"Начальный баланс","opening_balance_date":"Дата начального баланса","date":"Дата","interest":"Процентная ставка","interest_period":"Период начисления процентов","currency_id":"Валюта","liability_type":"Liability type","account_role":"Тип счета","liability_direction":"Liability in/out","book_date":"Дата бронирования","permDeleteWarning":"Удаление информации из Firefly III является постоянным и не может быть отменено.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Дата обработки","due_date":"Срок оплаты","payment_date":"Дата платежа","invoice_date":"Дата выставления счёта"}}')},7049:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Prevod","Withdrawal":"Výber","Deposit":"Vklad","date_and_time":"Dátum a čas","no_currency":"(žiadna mena)","date":"Dátum","time":"Čas","no_budget":"(žiadny rozpočet)","destination_account":"Cieľový účet","source_account":"Zdrojový účet","single_split":"Rozúčtovať","create_new_transaction":"Vytvoriť novú transakciu","balance":"Zostatok","transaction_journal_extra":"Ďalšie informácie","transaction_journal_meta":"Meta informácie","basic_journal_information":"Základné Informácie o transakcii","bills_to_pay":"Účty na úhradu","left_to_spend":"Zostáva k útrate","attachments":"Prílohy","net_worth":"Čisté imanie","bill":"Účet","no_bill":"(žiadny účet)","tags":"Štítky","internal_reference":"Interná referencia","external_url":"Externá URL","no_piggy_bank":"(žiadna pokladnička)","paid":"Uhradené","notes":"Poznámky","yourAccounts":"Vaše účty","go_to_asset_accounts":"Zobraziť účty aktív","delete_account":"Odstrániť účet","transaction_table_description":"Tabuľka obsahujúca vaše transakcie","account":"Účet","description":"Popis","amount":"Suma","budget":"Rozpočet","category":"Kategória","opposing_account":"Cieľový účet","budgets":"Rozpočty","categories":"Kategórie","go_to_budgets":"Zobraziť rozpočty","income":"Zisky / príjmy","go_to_deposits":"Zobraziť vklady","go_to_categories":"Zobraziť kategórie","expense_accounts":"Výdavkové účty","go_to_expenses":"Zobraziť výdavky","go_to_bills":"Zobraziť účty","bills":"Účty","last_thirty_days":"Uplynulých 30 dní","last_seven_days":"Uplynulých 7 dní","go_to_piggies":"Zobraziť pokladničky","saved":"Uložené","piggy_banks":"Pokladničky","piggy_bank":"Pokladnička","amounts":"Suma","left":"Zostáva","spent":"Utratené","Default asset account":"Prednastavený účet aktív","search_results":"Výsledky vyhľadávania","include":"Zahrnúť?","transaction":"Transakcia","account_role_defaultAsset":"Predvolený účet aktív","account_role_savingAsset":"Šetriaci účet","account_role_sharedAsset":"Zdieľaný účet aktív","clear_location":"Odstrániť pozíciu","account_role_ccAsset":"Kreditná karta","account_role_cashWalletAsset":"Peňaženka","daily_budgets":"Denné rozpočty","weekly_budgets":"Týždenné rozpočty","monthly_budgets":"Mesačné rozpočty","quarterly_budgets":"Štvrťročné rozpočty","create_new_expense":"Vytvoriť výdavkoý účet","create_new_revenue":"Vytvoriť nový príjmový účet","create_new_liabilities":"Vytvoriť nový záväzok","half_year_budgets":"Polročné rozpočty","yearly_budgets":"Ročné rozpočty","split_transaction_title":"Popis rozúčtovania","errors_submission":"Pri odosielaní sa niečo nepodarilo. Skontrolujte prosím chyby.","flash_error":"Chyba!","store_transaction":"Uložiť transakciu","flash_success":"Hotovo!","create_another":"Po uložení sa vrátiť späť sem a vytvoriť ďalší.","update_transaction":"Upraviť transakciu","after_update_create_another":"Po aktualizácii sa vrátiť späť a pokračovať v úpravách.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transakcia #{ID}</a> (\\"{title}\\") sa nezmenila.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transakcia #{ID}</a> (\\"{title}\\") bola upravená.","spent_x_of_y":"Utratené {amount} z {total}","search":"Hľadať","create_new_asset":"Vytvoriť nový účet aktív","asset_accounts":"Účty aktív","reset_after":"Po odoslaní vynulovať formulár","bill_paid_on":"Uhradené {date}","first_split_decides":"Hodnotu tohto atribútu určuje prvé rozdelenie","first_split_overrules_source":"Prvé rozdelenie môže pozmeniť zdrojový účet","first_split_overrules_destination":"Prvé rozdelenie môže pozmeniť cieľový účet","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transakcia #{ID} (\\"{title}\\")</a> bola uložená.","custom_period":"Vlastné obdobie","reset_to_current":"Obnoviť na aktuálne obdobie","select_period":"Vyberte obdobie","location":"Poloha","other_budgets":"Špecifické časované rozpočty","journal_links":"Prepojenia transakcie","go_to_withdrawals":"Zobraziť výbery","revenue_accounts":"Výnosové účty","add_another_split":"Pridať ďalšie rozúčtovanie","actions":"Akcie","earned":"Zarobené","empty":"(prázdne)","edit":"Upraviť","never":"Nikdy","account_type_Loan":"Pôžička","account_type_Mortgage":"Hypotéka","stored_new_account_js":"Nový účet \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" vytvorený!","account_type_Debt":"Dlh","delete":"Odstrániť","store_new_asset_account":"Uložiť nový účet aktív","store_new_expense_account":"Uložiť nový výdavkový účet","store_new_liabilities_account":"Uložiť nový záväzok","store_new_revenue_account":"Uložiť nový príjmový účet","mandatoryFields":"Povinné údaje","optionalFields":"Voliteľné údaje","reconcile_this_account":"Vyúčtovat tento účet","interest_calc_weekly":"Za týždeň","interest_calc_monthly":"Za mesiac","interest_calc_quarterly":"Za štvrťrok","interest_calc_half-year":"Za polrok","interest_calc_yearly":"Za rok","liability_direction_credit":"Túto sumu mi dlžia","liability_direction_debit":"Tento dlh mám voči niekomu inému","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Žiadne transakcie|Zachovať túto transakciu presunom pod iný účet.|Zachovať tieto transakcie presunom pod iný účet.","none_in_select_list":"(žiadne)"},"list":{"piggy_bank":"Pokladnička","percentage":"perc.","amount":"Suma","lastActivity":"Posledná aktivita","name":"Meno/Názov","role":"Rola","iban":"IBAN","interest":"Úrok","interest_period":"úrokové obdobie","liability_type":"Typ záväzku","liability_direction":"(list.liability_direction)","currentBalance":"Aktuálny zostatok","next_expected_match":"Ďalšia očakávaná zhoda"},"config":{"html_language":"sk","week_in_year_fns":"\'Týždeň\' tt, rrrr","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, rrrr","half_year_fns":"\'H{half}\', rrrr"},"form":{"foreign_amount":"Suma v cudzej mene","interest_date":"Úrokový dátum","name":"Názov","amount":"Suma","iban":"IBAN","BIC":"BIC","notes":"Poznámky","location":"Údaje o polohe","attachments":"Prílohy","active":"Aktívne","include_net_worth":"Zahrnúť do čistého majetku","account_number":"Číslo účtu","virtual_balance":"Virtuálnu zostatok","opening_balance":"Počiatočný zostatok","opening_balance_date":"Dátum počiatočného zostatku","date":"Dátum","interest":"Úrok","interest_period":"Úrokové obdobie","currency_id":"Mena","liability_type":"Typ záväzku","account_role":"Rola účtu","liability_direction":"Záväzky príjem/výdaj","book_date":"Dátum rezervácie","permDeleteWarning":"Odstránenie údajov z Firefly III je trvalé a nie je možné ich vrátiť späť.","account_areYouSure_js":"Skutočne chcete odstrániť účet s názvom \\"{name}\\"?","also_delete_piggyBanks_js":"Žiadne prasiatko|Odstráni sa tiež jediné prasiatko prepojené s týmto účtom.|Odstráni sa tiež {count} prasiatok prepojených s týmto účtom.","also_delete_transactions_js":"Žiadne transakcie|Odstráni sa aj jediná transakcia spojená s týmto účtom.|Odstráni sa tiež {count} transakcií spojených s týmto účtom.","process_date":"Dátum spracovania","due_date":"Dátum splatnosti","payment_date":"Dátum úhrady","invoice_date":"Dátum vystavenia"}}')},7921:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Överföring","Withdrawal":"Uttag","Deposit":"Insättning","date_and_time":"Datum och tid","no_currency":"(ingen valuta)","date":"Datum","time":"Tid","no_budget":"(ingen budget)","destination_account":"Till konto","source_account":"Källkonto","single_split":"Dela","create_new_transaction":"Skapa en ny transaktion","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metadata","basic_journal_information":"Grundläggande transaktionsinformation","bills_to_pay":"Notor att betala","left_to_spend":"Återstår att spendera","attachments":"Bilagor","net_worth":"Nettoförmögenhet","bill":"Nota","no_bill":"(ingen räkning)","tags":"Etiketter","internal_reference":"Intern referens","external_url":"Extern URL","no_piggy_bank":"(ingen spargris)","paid":"Betald","notes":"Noteringar","yourAccounts":"Dina konton","go_to_asset_accounts":"Visa dina tillgångskonton","delete_account":"Ta bort konto","transaction_table_description":"En tabell som innehåller dina transaktioner","account":"Konto","description":"Beskrivning","amount":"Belopp","budget":"Budget","category":"Kategori","opposing_account":"Motsatt konto","budgets":"Budgetar","categories":"Kategorier","go_to_budgets":"Gå till dina budgetar","income":"Intäkter / inkomster","go_to_deposits":"Gå till insättningar","go_to_categories":"Gå till dina kategorier","expense_accounts":"Kostnadskonto","go_to_expenses":"Gå till utgifter","go_to_bills":"Gå till dina notor","bills":"Notor","last_thirty_days":"Senaste 30 dagarna","last_seven_days":"Senaste 7 dagarna","go_to_piggies":"Gå till dina sparbössor","saved":"Sparad","piggy_banks":"Spargrisar","piggy_bank":"Spargris","amounts":"Belopp","left":"Återstår","spent":"Spenderat","Default asset account":"Förvalt tillgångskonto","search_results":"Sökresultat","include":"Inkludera?","transaction":"Transaktion","account_role_defaultAsset":"Förvalt tillgångskonto","account_role_savingAsset":"Sparkonto","account_role_sharedAsset":"Delat tillgångskonto","clear_location":"Rena plats","account_role_ccAsset":"Kreditkort","account_role_cashWalletAsset":"Plånbok","daily_budgets":"Dagliga budgetar","weekly_budgets":"Veckovis budgetar","monthly_budgets":"Månatliga budgetar","quarterly_budgets":"Kvartalsbudgetar","create_new_expense":"Skapa ett nytt utgiftskonto","create_new_revenue":"Skapa ett nytt intäktskonto","create_new_liabilities":"Skapa ny skuld","half_year_budgets":"Halvårsbudgetar","yearly_budgets":"Årliga budgetar","split_transaction_title":"Beskrivning av delad transaktion","errors_submission":"Något fel uppstod med inskickningen. Vänligen kontrollera felen nedan.","flash_error":"Fel!","store_transaction":"Lagra transaktion","flash_success":"Slutförd!","create_another":"Efter sparat, återkom hit för att skapa ytterligare en.","update_transaction":"Uppdatera transaktion","after_update_create_another":"Efter uppdaterat, återkom hit för att fortsätta redigera.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID}</a> (\\"{title}\\") fick inga ändringar.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID}</a> (\\"{title}\\") uppdaterades.","spent_x_of_y":"Spenderade {amount} av {total}","search":"Sök","create_new_asset":"Skapa ett nytt tillgångskonto","asset_accounts":"Tillgångskonton","reset_after":"Återställ formulär efter inskickat","bill_paid_on":"Betalad den {date}","first_split_decides":"Första delningen bestämmer värdet på detta fält","first_split_overrules_source":"Den första delningen kan åsidosätta källkontot","first_split_overrules_destination":"Den första delningen kan åsidosätta målkontot","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID} (\\"{title}\\")</a> sparades.","custom_period":"Anpassad period","reset_to_current":"Återställ till nuvarande period","select_period":"Välj en period","location":"Plats","other_budgets":"Anpassade tidsinställda budgetar","journal_links":"Transaktionslänkar","go_to_withdrawals":"Gå till dina uttag","revenue_accounts":"Intäktskonton","add_another_split":"Lägga till en annan delning","actions":"Åtgärder","earned":"Tjänat","empty":"(tom)","edit":"Redigera","never":"Aldrig","account_type_Loan":"Lån","account_type_Mortgage":"Bolån","stored_new_account_js":"Nytt konto \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" lagrat!","account_type_Debt":"Skuld","delete":"Ta bort","store_new_asset_account":"Lagra nytt tillgångskonto","store_new_expense_account":"Spara nytt utgiftskonto","store_new_liabilities_account":"Spara en ny skuld","store_new_revenue_account":"Spara nytt intäktskonto","mandatoryFields":"Obligatoriska fält","optionalFields":"Valfria fält","reconcile_this_account":"Stäm av detta konto","interest_calc_weekly":"Per vecka","interest_calc_monthly":"Per månad","interest_calc_quarterly":"Per kvartal","interest_calc_half-year":"Per halvår","interest_calc_yearly":"Per år","liability_direction_credit":"Jag är skyldig denna skuld","liability_direction_debit":"Jag är skyldig någon annan denna skuld","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Inga transaktioner|Spara denna transaktion genom att flytta den till ett annat konto.|Spara dessa transaktioner genom att flytta dem till ett annat konto.","none_in_select_list":"(Ingen)"},"list":{"piggy_bank":"Spargris","percentage":"procent","amount":"Belopp","lastActivity":"Senaste aktivitet","name":"Namn","role":"Roll","iban":"IBAN","interest":"Ränta","interest_period":"ränteperiod","liability_type":"Typ av ansvar","liability_direction":"(list.liability_direction)","currentBalance":"Nuvarande saldo","next_expected_match":"Nästa förväntade träff"},"config":{"html_language":"sv","week_in_year_fns":"\'Vecka\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'kvartal\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Utländskt belopp","interest_date":"Räntedatum","name":"Namn","amount":"Belopp","iban":"IBAN","BIC":"BIC","notes":"Anteckningar","location":"Plats","attachments":"Bilagor","active":"Aktiv","include_net_worth":"Inkludera i nettovärde","account_number":"Kontonummer","virtual_balance":"Virtuell balans","opening_balance":"Ingående balans","opening_balance_date":"Ingående balans datum","date":"Datum","interest":"Ränta","interest_period":"Ränteperiod","currency_id":"Valuta","liability_type":"Typ av ansvar","account_role":"Konto roll","liability_direction":"Ansvar in/ut","book_date":"Bokföringsdatum","permDeleteWarning":"Att ta bort saker från Firefly III är permanent och kan inte ångras.","account_areYouSure_js":"Är du säker du vill ta bort kontot \\"{name}\\"?","also_delete_piggyBanks_js":"Inga spargrisar|Den enda spargrisen som är ansluten till detta konto kommer också att tas bort.|Alla {count} spargrisar anslutna till detta konto kommer också att tas bort.","also_delete_transactions_js":"Inga transaktioner|Den enda transaktionen som är ansluten till detta konto kommer också att tas bort.|Alla {count} transaktioner som är kopplade till detta konto kommer också att tas bort.","process_date":"Behandlingsdatum","due_date":"Förfallodatum","payment_date":"Betalningsdatum","invoice_date":"Fakturadatum"}}')},1497:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Chuyển khoản","Withdrawal":"Rút tiền","Deposit":"Tiền gửi","date_and_time":"Date and time","no_currency":"(không có tiền tệ)","date":"Ngày","time":"Time","no_budget":"(không có ngân sách)","destination_account":"Tài khoản đích","source_account":"Nguồn tài khoản","single_split":"Chia ra","create_new_transaction":"Tạo giao dịch mới","balance":"Tiền còn lại","transaction_journal_extra":"Extra information","transaction_journal_meta":"Thông tin tổng hợp","basic_journal_information":"Basic transaction information","bills_to_pay":"Hóa đơn phải trả","left_to_spend":"Còn lại để chi tiêu","attachments":"Tệp đính kèm","net_worth":"Tài sản thực","bill":"Hóa đơn","no_bill":"(no bill)","tags":"Nhãn","internal_reference":"Tài liệu tham khảo nội bộ","external_url":"URL bên ngoài","no_piggy_bank":"(chưa có heo đất)","paid":"Đã thanh toán","notes":"Ghi chú","yourAccounts":"Tài khoản của bạn","go_to_asset_accounts":"Xem tài khoản của bạn","delete_account":"Xóa tài khoản","transaction_table_description":"A table containing your transactions","account":"Tài khoản","description":"Sự miêu tả","amount":"Số tiền","budget":"Ngân sách","category":"Danh mục","opposing_account":"Opposing account","budgets":"Ngân sách","categories":"Danh mục","go_to_budgets":"Chuyển đến ngân sách của bạn","income":"Thu nhập doanh thu","go_to_deposits":"Go to deposits","go_to_categories":"Đi đến danh mục của bạn","expense_accounts":"Tài khoản chi phí","go_to_expenses":"Go to expenses","go_to_bills":"Đi đến hóa đơn của bạn","bills":"Hóa đơn","last_thirty_days":"Ba mươi ngày gần đây","last_seven_days":"Bảy ngày gần đây","go_to_piggies":"Tới heo đất của bạn","saved":"Đã lưu","piggy_banks":"Heo đất","piggy_bank":"Heo đất","amounts":"Amounts","left":"Còn lại","spent":"Đã chi","Default asset account":"Mặc định tài khoản","search_results":"Kết quả tìm kiếm","include":"Include?","transaction":"Giao dịch","account_role_defaultAsset":"tài khoản mặc định","account_role_savingAsset":"Tài khoản tiết kiệm","account_role_sharedAsset":"tài khoản dùng chung","clear_location":"Xóa vị trí","account_role_ccAsset":"Thẻ tín dụng","account_role_cashWalletAsset":"Ví tiền mặt","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Tạo tài khoản chi phí mới","create_new_revenue":"Tạo tài khoản doanh thu mới","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Mô tả giao dịch tách","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Lỗi!","store_transaction":"Store transaction","flash_success":"Thành công!","create_another":"Sau khi lưu trữ, quay trở lại đây để tạo một cái khác.","update_transaction":"Cập nhật giao dịch","after_update_create_another":"Sau khi cập nhật, quay lại đây để tiếp tục chỉnh sửa.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Tìm kiếm","create_new_asset":"Tạo tài khoản mới","asset_accounts":"tài khoản","reset_after":"Đặt lại mẫu sau khi gửi","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Giao dịch #{ID} (\\"{title}\\")</a> đã được lưu trữ.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Vị trí","other_budgets":"Custom timed budgets","journal_links":"Liên kết giao dịch","go_to_withdrawals":"Chuyển đến mục rút tiền của bạn","revenue_accounts":"Tài khoản doanh thu","add_another_split":"Thêm một phân chia khác","actions":"Hành động","earned":"Kiếm được","empty":"(trống)","edit":"Sửa","never":"Không bao giờ","account_type_Loan":"Tiền vay","account_type_Mortgage":"Thế chấp","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Món nợ","delete":"Xóa","store_new_asset_account":"Lưu trữ tài khoản mới","store_new_expense_account":"Lưu trữ tài khoản chi phí mới","store_new_liabilities_account":"Lưu trữ nợ mới","store_new_revenue_account":"Lưu trữ tài khoản doanh thu mới","mandatoryFields":"Các trường bắt buộc","optionalFields":"Các trường tùy chọn","reconcile_this_account":"Điều chỉnh tài khoản này","interest_calc_weekly":"Per week","interest_calc_monthly":"Mỗi tháng","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Mỗi năm","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(Trống)"},"list":{"piggy_bank":"Ống heo con","percentage":"phần trăm.","amount":"Số tiền","lastActivity":"Hoạt động cuối cùng","name":"Tên","role":"Quy tắc","iban":"IBAN","interest":"Lãi","interest_period":"Chu kỳ lãi","liability_type":"Loại trách nhiệm pháp lý","liability_direction":"(list.liability_direction)","currentBalance":"Số dư hiện tại","next_expected_match":"Trận đấu dự kiến tiếp theo"},"config":{"html_language":"vi","week_in_year_fns":"\'Tuần\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Ngoại tệ","interest_date":"Ngày lãi","name":"Tên","amount":"Số tiền","iban":"IBAN","BIC":"BIC","notes":"Ghi chú","location":"Vị trí","attachments":"Tài liệu đính kèm","active":"Hành động","include_net_worth":"Bao gồm trong giá trị ròng","account_number":"Số tài khoản","virtual_balance":"Cân bằng ảo","opening_balance":"Số dư đầu kỳ","opening_balance_date":"Ngày mở số dư","date":"Ngày","interest":"Lãi","interest_period":"Chu kỳ lãi","currency_id":"Tiền tệ","liability_type":"Liability type","account_role":"Vai trò tài khoản","liability_direction":"Liability in/out","book_date":"Ngày đặt sách","permDeleteWarning":"Xóa nội dung khỏi Firefly III là vĩnh viễn và không thể hoàn tác.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Ngày xử lý","due_date":"Ngày đáo hạn","payment_date":"Ngày thanh toán","invoice_date":"Ngày hóa đơn"}}')},4556:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"转账","Withdrawal":"提款","Deposit":"收入","date_and_time":"日期和时间","no_currency":"(没有货币)","date":"日期","time":"时间","no_budget":"(无预算)","destination_account":"目标账户","source_account":"来源账户","single_split":"拆分","create_new_transaction":"创建新交易","balance":"余额","transaction_journal_extra":"额外信息","transaction_journal_meta":"元信息","basic_journal_information":"基础交易信息","bills_to_pay":"待付账单","left_to_spend":"剩余支出","attachments":"附件","net_worth":"净资产","bill":"账单","no_bill":"(无账单)","tags":"标签","internal_reference":"内部引用","external_url":"外部链接","no_piggy_bank":"(无存钱罐)","paid":"已付款","notes":"备注","yourAccounts":"您的账户","go_to_asset_accounts":"查看您的资产账户","delete_account":"删除账户","transaction_table_description":"包含您交易的表格","account":"账户","description":"描述","amount":"金额","budget":"预算","category":"分类","opposing_account":"对方账户","budgets":"预算","categories":"分类","go_to_budgets":"前往您的预算","income":"收入","go_to_deposits":"前往收入","go_to_categories":"前往您的分类","expense_accounts":"支出账户","go_to_expenses":"前往支出","go_to_bills":"前往账单","bills":"账单","last_thirty_days":"最近 30 天","last_seven_days":"最近 7 天","go_to_piggies":"前往您的存钱罐","saved":"已保存","piggy_banks":"存钱罐","piggy_bank":"存钱罐","amounts":"金额","left":"剩余","spent":"支出","Default asset account":"默认资产账户","search_results":"搜索结果","include":"Include?","transaction":"交易","account_role_defaultAsset":"默认资产账户","account_role_savingAsset":"储蓄账户","account_role_sharedAsset":"共用资产账户","clear_location":"清除位置","account_role_ccAsset":"信用卡","account_role_cashWalletAsset":"现金钱包","daily_budgets":"每日预算","weekly_budgets":"每周预算","monthly_budgets":"每月预算","quarterly_budgets":"每季度预算","create_new_expense":"创建新支出账户","create_new_revenue":"创建新收入账户","create_new_liabilities":"Create new liability","half_year_budgets":"每半年预算","yearly_budgets":"每年预算","split_transaction_title":"拆分交易的描述","errors_submission":"您提交的内容有误,请检查错误信息。","flash_error":"错误!","store_transaction":"保存交易","flash_success":"成功!","create_another":"保存后,返回此页面以创建新记录","update_transaction":"更新交易","after_update_create_another":"更新后,返回此页面继续编辑。","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"搜索","create_new_asset":"创建新资产账户","asset_accounts":"资产账户","reset_after":"提交后重置表单","bill_paid_on":"支付于 {date}","first_split_decides":"首笔拆分决定此字段的值","first_split_overrules_source":"首笔拆分可能覆盖来源账户","first_split_overrules_destination":"首笔拆分可能覆盖目标账户","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">交易 #{ID} (“{title}”)</a> 已保存。","custom_period":"自定义周期","reset_to_current":"重置为当前周期","select_period":"选择周期","location":"位置","other_budgets":"自定义区间预算","journal_links":"交易关联","go_to_withdrawals":"前往支出","revenue_accounts":"收入账户","add_another_split":"增加另一笔拆分","actions":"操作","earned":"收入","empty":"(空)","edit":"编辑","never":"永不","account_type_Loan":"贷款","account_type_Mortgage":"抵押","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"欠款","delete":"删除","store_new_asset_account":"保存新资产账户","store_new_expense_account":"保存新支出账户","store_new_liabilities_account":"保存新债务账户","store_new_revenue_account":"保存新收入账户","mandatoryFields":"必填字段","optionalFields":"选填字段","reconcile_this_account":"对账此账户","interest_calc_weekly":"每周","interest_calc_monthly":"每月","interest_calc_quarterly":"每季度","interest_calc_half-year":"每半年","interest_calc_yearly":"每年","liability_direction_credit":"我欠了这笔债务","liability_direction_debit":"我欠别人这笔钱","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(空)"},"list":{"piggy_bank":"存钱罐","percentage":"%","amount":"金额","lastActivity":"上次活动","name":"名称","role":"角色","iban":"国际银行账户号码(IBAN)","interest":"利息","interest_period":"利息期","liability_type":"债务类型","liability_direction":"(list.liability_direction)","currentBalance":"目前余额","next_expected_match":"预期下次支付"},"config":{"html_language":"zh-cn","week_in_year_fns":"\'周\' w,yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"外币金额","interest_date":"利息日期","name":"名称","amount":"金额","iban":"国际银行账户号码 IBAN","BIC":"银行识别代码 BIC","notes":"备注","location":"位置","attachments":"附件","active":"启用","include_net_worth":"包含于净资产","account_number":"账户号码","virtual_balance":"虚拟账户余额","opening_balance":"初始余额","opening_balance_date":"开户日期","date":"日期","interest":"利息","interest_period":"利息期","currency_id":"货币","liability_type":"债务类型","account_role":"账户角色","liability_direction":"Liability in/out","book_date":"登记日期","permDeleteWarning":"从 Firefly III 删除内容是永久且无法恢复的。","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"处理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"发票日期"}}')},1715:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"轉帳","Withdrawal":"提款","Deposit":"存款","date_and_time":"Date and time","no_currency":"(沒有貨幣)","date":"日期","time":"Time","no_budget":"(無預算)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"餘額","transaction_journal_extra":"Extra information","transaction_journal_meta":"後設資訊","basic_journal_information":"Basic transaction information","bills_to_pay":"待付帳單","left_to_spend":"剩餘可花費","attachments":"附加檔案","net_worth":"淨值","bill":"帳單","no_bill":"(no bill)","tags":"標籤","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"已付款","notes":"備註","yourAccounts":"您的帳戶","go_to_asset_accounts":"檢視您的資產帳戶","delete_account":"移除帳號","transaction_table_description":"A table containing your transactions","account":"帳戶","description":"描述","amount":"金額","budget":"預算","category":"分類","opposing_account":"Opposing account","budgets":"預算","categories":"分類","go_to_budgets":"前往您的預算","income":"收入 / 所得","go_to_deposits":"Go to deposits","go_to_categories":"前往您的分類","expense_accounts":"支出帳戶","go_to_expenses":"Go to expenses","go_to_bills":"前往您的帳單","bills":"帳單","last_thirty_days":"最近30天","last_seven_days":"最近7天","go_to_piggies":"前往您的小豬撲滿","saved":"Saved","piggy_banks":"小豬撲滿","piggy_bank":"小豬撲滿","amounts":"Amounts","left":"剩餘","spent":"支出","Default asset account":"預設資產帳戶","search_results":"搜尋結果","include":"Include?","transaction":"交易","account_role_defaultAsset":"預設資產帳戶","account_role_savingAsset":"儲蓄帳戶","account_role_sharedAsset":"共用資產帳戶","clear_location":"清除位置","account_role_ccAsset":"信用卡","account_role_cashWalletAsset":"現金錢包","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"建立新支出帳戶","create_new_revenue":"建立新收入帳戶","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"拆分交易的描述","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"錯誤!","store_transaction":"Store transaction","flash_success":"成功!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"搜尋","create_new_asset":"建立新資產帳戶","asset_accounts":"資產帳戶","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"位置","other_budgets":"Custom timed budgets","journal_links":"交易連結","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"收入帳戶","add_another_split":"增加拆分","actions":"操作","earned":"已賺得","empty":"(empty)","edit":"編輯","never":"未有資料","account_type_Loan":"貸款","account_type_Mortgage":"抵押","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"負債","delete":"刪除","store_new_asset_account":"儲存新資產帳戶","store_new_expense_account":"儲存新支出帳戶","store_new_liabilities_account":"儲存新債務","store_new_revenue_account":"儲存新收入帳戶","mandatoryFields":"必要欄位","optionalFields":"選填欄位","reconcile_this_account":"對帳此帳戶","interest_calc_weekly":"Per week","interest_calc_monthly":"每月","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"每年","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(空)"},"list":{"piggy_bank":"小豬撲滿","percentage":"pct.","amount":"金額","lastActivity":"上次活動","name":"名稱","role":"角色","iban":"國際銀行帳戶號碼 (IBAN)","interest":"利率","interest_period":"利率期","liability_type":"負債類型","liability_direction":"(list.liability_direction)","currentBalance":"目前餘額","next_expected_match":"下一個預期的配對"},"config":{"html_language":"zh-tw","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"外幣金額","interest_date":"利率日期","name":"名稱","amount":"金額","iban":"國際銀行帳戶號碼 (IBAN)","BIC":"BIC","notes":"備註","location":"Location","attachments":"附加檔案","active":"啟用","include_net_worth":"包括淨值","account_number":"帳戶號碼","virtual_balance":"虛擬餘額","opening_balance":"初始餘額","opening_balance_date":"初始餘額日期","date":"日期","interest":"利率","interest_period":"利率期","currency_id":"貨幣","liability_type":"Liability type","account_role":"帳戶角色","liability_direction":"Liability in/out","book_date":"登記日期","permDeleteWarning":"自 Firefly III 刪除項目是永久且不可撤銷的。","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"處理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"發票日期"}}')}},t=>{"use strict";var e=e=>t(t.s=e);t.O(0,[879,228],(()=>(e(2286),e(5278)))),t.O()}]);diff --git a/public/v2/js/dashboard.js.map b/public/v2/js/dashboard.js.mapindex dd93116e2d..603f0415a6 100755--- a/public/v2/js/dashboard.js.map+++ b/public/v2/js/dashboard.js.map@@ -1 +1 @@-{"version":3,"sources":["webpack:///./src/bootstrap.js","webpack:///./src/components/store/modules/transactions/create.js","webpack:///./src/components/store/modules/transactions/edit.js","webpack:///./src/components/store/modules/dashboard/index.js","webpack:///./src/components/store/modules/root.js","webpack:///./src/components/store/modules/accounts/index.js","webpack:///./src/components/store/index.js","webpack:///./src/i18n.js","webpack:///src/components/dashboard/Dashboard.vue","webpack:///./src/components/dashboard/Dashboard.vue?94b6","webpack:///./src/components/dashboard/Dashboard.vue","webpack:///./src/components/dashboard/Dashboard.vue?1d88","webpack:///./src/components/dashboard/TopBoxes.vue?107c","webpack:///src/components/dashboard/TopBoxes.vue","webpack:///./src/components/dashboard/TopBoxes.vue?97f7","webpack:///./src/components/dashboard/TopBoxes.vue","webpack:///src/components/charts/DataConverter.vue","webpack:///./src/components/charts/DataConverter.vue?e094","webpack:///./src/components/charts/DataConverter.vue","webpack:///src/components/charts/DefaultLineOptions.vue","webpack:///./src/components/charts/DefaultLineOptions.vue?1df9","webpack:///./src/components/charts/DefaultLineOptions.vue","webpack:///./src/components/charts/DefaultLineOptions.vue?78b9","webpack:///src/components/dashboard/MainAccount.vue","webpack:///./src/components/dashboard/MainAccount.vue?e0d5","webpack:///./src/components/dashboard/MainAccount.vue","webpack:///./src/components/dashboard/MainAccount.vue?c333","webpack:///src/components/dashboard/MainAccountList.vue","webpack:///./src/components/dashboard/MainAccountList.vue?cba7","webpack:///./src/components/dashboard/MainAccountList.vue","webpack:///./src/components/dashboard/MainAccountList.vue?7ec7","webpack:///src/components/dashboard/MainBillsList.vue","webpack:///./src/components/dashboard/MainBillsList.vue?52e4","webpack:///./src/components/dashboard/MainBillsList.vue","webpack:///./src/components/dashboard/MainBillsList.vue?2854","webpack:///src/components/dashboard/BudgetLimitRow.vue","webpack:///./src/components/dashboard/BudgetLimitRow.vue?796e","webpack:///./src/components/dashboard/BudgetLimitRow.vue","webpack:///./src/components/dashboard/BudgetLimitRow.vue?6b70","webpack:///src/components/dashboard/BudgetRow.vue","webpack:///./src/components/dashboard/BudgetRow.vue?1331","webpack:///./src/components/dashboard/BudgetRow.vue","webpack:///./src/components/dashboard/BudgetListGroup.vue?78de","webpack:///src/components/dashboard/BudgetListGroup.vue","webpack:///./src/components/dashboard/BudgetRow.vue?6522","webpack:///./src/components/dashboard/BudgetListGroup.vue","webpack:///./src/components/dashboard/BudgetListGroup.vue?000b","webpack:///src/components/dashboard/MainBudgetList.vue","webpack:///./src/components/dashboard/MainBudgetList.vue?ac83","webpack:///./src/components/dashboard/MainBudgetList.vue","webpack:///./src/components/dashboard/MainBudgetList.vue?cb21","webpack:///src/components/dashboard/MainCreditList.vue","webpack:///./src/components/dashboard/MainCreditList.vue?0712","webpack:///./src/components/dashboard/MainCreditList.vue","webpack:///./src/components/dashboard/MainCreditList.vue?69e5","webpack:///src/components/dashboard/MainDebitList.vue","webpack:///./src/components/dashboard/MainDebitList.vue?f4cd","webpack:///./src/components/dashboard/MainDebitList.vue","webpack:///./src/components/dashboard/MainDebitList.vue?9266","webpack:///src/components/dashboard/MainPiggyList.vue","webpack:///./src/components/dashboard/MainPiggyList.vue?cbf9","webpack:///./src/components/dashboard/MainPiggyList.vue","webpack:///./src/components/dashboard/MainPiggyList.vue?8b99","webpack:///src/components/transactions/TransactionListLarge.vue","webpack:///./src/components/transactions/TransactionListLarge.vue?4e79","webpack:///./src/components/transactions/TransactionListLarge.vue","webpack:///./src/components/transactions/TransactionListLarge.vue?e222","webpack:///src/components/transactions/TransactionListMedium.vue","webpack:///./src/components/transactions/TransactionListMedium.vue?8fc8","webpack:///./src/components/transactions/TransactionListMedium.vue","webpack:///./src/components/transactions/TransactionListMedium.vue?6c5b","webpack:///src/components/transactions/TransactionListSmall.vue","webpack:///./src/components/transactions/TransactionListSmall.vue?c965","webpack:///./src/components/transactions/TransactionListSmall.vue","webpack:///./src/components/transactions/TransactionListSmall.vue?e6af","webpack:///src/components/dashboard/MainCategoryList.vue","webpack:///./src/components/dashboard/MainCategoryList.vue?80ff","webpack:///./src/components/dashboard/MainCategoryList.vue","webpack:///./src/components/dashboard/MainCategoryList.vue?57b4","webpack:///./src/pages/dashboard.js","webpack:///./src/shared/transactions.js","webpack:///./src/components/dashboard/Calendar.vue?c25e","webpack:///./src/components/dashboard/Calendar.vue?86f5","webpack:///src/components/dashboard/Calendar.vue","webpack:///./src/components/dashboard/Calendar.vue?6b2f","webpack:///./src/components/dashboard/Calendar.vue","webpack:///./src/components/dashboard/Calendar.vue?8979"],"names":["window","$","jQuery","require","axios","defaults","headers","common","token","document","head","querySelector","content","console","error","localeToken","localStorage","locale","vuei18n","VueI18n","uiv","Vue","lodashClonedeep","namespaced","state","transactionType","groupTitle","transactions","customDateFields","interest_date","book_date","process_date","due_date","payment_date","invoice_date","defaultTransaction","getDefaultTransaction","defaultErrors","getDefaultErrors","getters","accountToTransaction","sourceAllowedTypes","destinationAllowedTypes","allowedOpposingTypes","actions","mutations","addTransaction","newTransaction","errors","push","resetErrors","payload","index","resetTransactions","setGroupTitle","setCustomDateFields","deleteTransaction","splice","length","setTransactionType","setAllowedOpposingTypes","setAccountToTransaction","updateField","field","value","setTransactionError","setDestinationAllowedTypes","setSourceAllowedTypes","viewRange","start","end","defaultStart","defaultEnd","initialiseStore","context","dispatch","get","then","response","data","attributes","oldViewRange","commit","restoreViewRangeDates","viewRangeStart","Date","viewRangeEnd","viewRangeDefaultStart","viewRangeDefaultEnd","restoreViewRange","getItem","setDatesFromViewRange","today","startOfDay","endOfDay","startOfWeek","weekStartsOn","endOfWeek","startOfMonth","endOfMonth","startOfQuarter","endOfQuarter","getMonth","setMonth","setDate","setStart","setItem","setEnd","setDefaultStart","setDefaultEnd","setViewRange","range","listPageSize","timezone","parseInt","setListPageSize","number","setTimezone","orderMode","activeFilter","setOrderMode","setActiveFilter","Vuex","modules","root","root_store","create","transactions_create","edit","transactions_edit","accounts","accounts_index","dashboard","dashboard_index","strict","process","plugins","currencyPreference","setCurrencyPreference","currencyCode","code","currencyId","id","updateCurrencyPreference","JSON","parse","currencyResponse","name","symbol","decimal_places","stringify","err","module","exports","documentElement","lang","fallbackLocale","messages","_vm","this","_h","$createElement","_c","_self","_v","staticClass","props","summary","balances","billsPaid","billsUnpaid","leftToSpend","netWorth","loading","ready","computed","prefCurrencyBalances","filterOnCurrency","notPrefCurrencyBalances","filterOnNotCurrency","prefBillsUnpaid","notPrefBillsUnpaid","prefLeftToSpend","notPrefLeftToSpend","prefNetWorth","notPrefNetWorth","$store","watch","datesReady","prepareComponent","created","methods","array","hasOwnProperty","key","currency_id","ret","startStr","endStr","buildComponent","getBalanceEntries","getBillsEntries","getLeftToSpend","getNetWorth","hasCurrency","getKeyedEntries","expected","substr","result","_m","_e","_s","$t","_l","balance","attrs","sub_title","value_parsed","bill","left","nw","staticStyle","dataSet","newDataSet","local","convertChart","labels","datasets","getLabels","getDataSets","colorizeBarData","fillColors","colourSet","i","setKey","dataset","fill","backgroundColor","borderColor","colorizeLineData","convertLabelsToDate","labelKey","Intl","DateTimeFormat","format","unixTimeZero","firstSet","entries","entryLabel","oldSet","newSet","label","type","currency_symbol","currency_code","formatLabel","sections","words","str","String","split","temp","forEach","item","concat","maxwidth","getDefaultOptions","responsive","maintainAspectRatio","legend","display","animations","elements","line","cubicInterpolationMode","scales","x","grid","ticks","callback","y","suggestedMin","Chart","components","initialised","dataCollection","chartOptions","_chart","DefaultLineOptions","initialiseChart","updateChart","url","drawChart","update","ref","initialiseList","loadAccounts","accountIds","test","loadSingleAccount","accountId","loadTransactions","account","class","title","parseFloat","current_balance","NumberFormat","style","currency","bills","initialiseBills","renderPaidDate","obj","transaction_group_id","loadBills","pay_dates","active","amount_min","amount_max","object_group_title","paidDate","domProps","payDate","paid_dates","year","month","day","budgetLimit","Object","default","budget","budget_id","budget_name","pctGreen","amount","spent","total","pctOrange","pctRed","budgetLimits","Array","budgets","budgetList","daily","weekly","monthly","quarterly","half_year","yearly","other","rawBudgets","getBudgets","income","max","getIncome","parseIncome","mainKey","current","pct","difference_float","sort","entry","width","expenses","min","getExpenses","parseExpenses","piggy_banks","loadPiggyBanks","piggy","left_to_save","a","b","current_amount","target_amount","account_id","Number","transaction","date","group_title","description","tr","destination_id","destination_name","source_id","source_name","category_id","category_name","categories","sortedList","earned","getCategories","category","spentPct","earnedPct","TransactionListLarge","TransactionListMedium","TransactionListSmall","Dashboard","TopBoxes","MainAccount","MainAccountList","MainBillsList","MainBudgetList","MainCategoryList","MainDebitList","MainCreditList","MainPiggyList","i18n","store","el","render","createElement","beforeCreate","Calendar","source","destination","foreign_currency","foreign_amount","custom_dates","tags","piggy_bank","internal_reference","external_url","notes","location","transaction_journal_id","source_account_id","source_account_name","source_account_type","source_account_currency_id","source_account_currency_code","source_account_currency_symbol","destination_account_id","destination_account_name","destination_account_type","destination_account_currency_id","destination_account_currency_code","destination_account_currency_symbol","attachments","selectedAttachments","uploadTrigger","clearTrigger","source_account","name_with_balance","currency_name","currency_decimal_places","destination_account","foreign_currency_id","bill_id","piggy_bank_id","external_id","links","zoom_level","longitude","latitude","___CSS_LOADER_EXPORT___","defaultRange","periods","resetDate","customDate","generatePeriods","generateDaily","generateWeekly","generateMonthly","generateQuarterly","generateHalfYearly","setFullYear","getFullYear","half","generateYearly","getDate","scopedSlots","_u","fn","inputValue","inputEvents","isDragging","togglePopover","on","$event","placement","positionFixed","period","_g","model","$$v","expression","__esModule","locals","add"],"mappings":"oIA0BAA,OAAOC,EAAID,OAAOE,OAASC,EAAQ,MAGnCH,OAAOI,MAAQD,EAAQ,MACvBH,OAAOI,MAAMC,SAASC,QAAQC,OAAO,oBAAsB,iBAG3D,IAAIC,EAAQC,SAASC,KAAKC,cAAc,2BAEpCH,EACAR,OAAOI,MAAMC,SAASC,QAAQC,OAAO,gBAAkBC,EAAMI,QAE7DC,QAAQC,MAAM,yEAIlB,IAAIC,EAAcN,SAASC,KAAKC,cAAc,uBAG1CK,aAAaC,OADbF,EACsBA,EAAYH,QAEZ,QAI1BT,EAAQ,MACRA,EAAQ,MAERA,EAAQ,MACRA,EAAQ,MAIRH,OAAOkB,QAAUC,IACjBnB,OAAOoB,IAAMA,EACbC,QAAQH,SACRG,QAAQD,GACRpB,OAAOqB,IAAMA,K,uFC3CPC,EAAkBnB,EAAQ,MA4HhC,SACIoB,YAAY,EACZC,MAzHU,iBAAO,CACbC,gBAAiB,MACjBC,WAAY,GACZC,aAAc,GACdC,iBAAkB,CACdC,eAAe,EACfC,WAAW,EACXC,cAAc,EACdC,UAAU,EACVC,cAAc,EACdC,cAAc,GAElBC,oBAAoBC,UACpBC,eAAeC,YA6GnBC,QAvGY,CACZZ,aAAc,SAAAH,GACV,OAAOA,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AAO8F,EAAS,MAAEyH,SAAS,SAAUgN,GAAMzU,EAAI/C,MAAMwX,GAAKC,WAAW,YAAY,KACzgD,IGMpB,EACA,KACA,WACA,M,wBCZF,IAAI5d,EAAU,EAAQ,MACnBA,EAAQ6d,aAAY7d,EAAUA,EAAQ8T,SACnB,iBAAZ9T,IAAsBA,EAAU,CAAC,CAAC4I,EAAOV,GAAIlI,EAAS,MAC7DA,EAAQ8d,SAAQlV,EAAOC,QAAU7I,EAAQ8d,SAG/BC,EADH,WACO,WAAY/d,GAAS,EAAM,K","file":"/public/js/dashboard.js","sourcesContent":["/*\n * bootstrap.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// // imports\nimport Vue from 'vue';\nimport VueI18n from 'vue-i18n'\nimport * as uiv from 'uiv';\n\n// export jquery for others scripts to use\nwindow.$ = window.jQuery = require('jquery');\n\n// axios\nwindow.axios = require('axios');\nwindow.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';\n\n// CSRF\nlet token = document.head.querySelector('meta[name=\"csrf-token\"]');\n\nif (token) {\n window.axios.defaults.headers.common['X-CSRF-TOKEN'] = token.content;\n} else {\n console.error('CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token');\n}\n\n// locale\nlet localeToken = document.head.querySelector('meta[name=\"locale\"]');\n\nif (localeToken) {\n localStorage.locale = localeToken.content;\n} else {\n localStorage.locale = 'en_US';\n}\n\n// admin stuff\nrequire('jquery-ui');\nrequire('bootstrap'); // bootstrap CSS?\n\nrequire('admin-lte/dist/js/adminlte');\nrequire('overlayscrollbars');\n\n\n// vue\nwindow.vuei18n = VueI18n;\nwindow.uiv = uiv;\nVue.use(vuei18n);\nVue.use(uiv);\nwindow.Vue = Vue;","/*\n * create.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nconst lodashClonedeep = require('lodash.clonedeep');\n\nimport {getDefaultTransaction, getDefaultErrors} from '../../../../shared/transactions';\n\n// initial state\nconst state = () => ({\n transactionType: 'any',\n groupTitle: '',\n transactions: [],\n customDateFields: {\n interest_date: false,\n book_date: false,\n process_date: false,\n due_date: false,\n payment_date: false,\n invoice_date: false,\n },\n defaultTransaction: getDefaultTransaction(),\n defaultErrors: getDefaultErrors()\n }\n)\n\n\n// getters\nconst getters = {\n transactions: state => {\n return state.transactions;\n },\n defaultErrors: state => {\n return state.defaultErrors;\n },\n groupTitle: state => {\n return state.groupTitle;\n },\n transactionType: state => {\n return state.transactionType;\n },\n accountToTransaction: state => {\n // TODO better architecture here, does not need the store.\n // possible API point!!\n return state.accountToTransaction;\n },\n defaultTransaction: state => {\n return state.defaultTransaction;\n },\n sourceAllowedTypes: state => {\n return state.sourceAllowedTypes;\n },\n destinationAllowedTypes: state => {\n return state.destinationAllowedTypes;\n },\n allowedOpposingTypes: state => {\n return state.allowedOpposingTypes;\n },\n customDateFields: state => {\n return state.customDateFields;\n }\n // // `getters` is localized to this module's getters\n // // you can use rootGetters via 4th argument of getters\n // someGetter (state, getters, rootState, rootGetters) {\n // getters.someOtherGetter // -> 'foo/someOtherGetter'\n // rootGetters.someOtherGetter // -> 'someOtherGetter'\n // rootGetters['bar/someOtherGetter'] // -> 'bar/someOtherGetter'\n // },\n\n}\n\n// actions\nconst actions = {}\n\n// mutations\nconst mutations = {\n addTransaction(state) {\n let newTransaction = lodashClonedeep(state.defaultTransaction);\n newTransaction.errors = lodashClonedeep(state.defaultErrors);\n state.transactions.push(newTransaction);\n },\n resetErrors(state, payload) {\n //console.log('resetErrors for index ' + payload.index);\n state.transactions[payload.index].errors = lodashClonedeep(state.defaultErrors);\n },\n resetTransactions(state) {\n state.transactions = [];\n },\n setGroupTitle(state, payload) {\n state.groupTitle = payload.groupTitle;\n },\n setCustomDateFields(state, payload) {\n state.customDateFields = payload;\n },\n deleteTransaction(state, payload) {\n state.transactions.splice(payload.index, 1);\n // console.log('Deleted transaction ' + payload.index);\n // console.log(state.transactions);\n if (0 === state.transactions.length) {\n // console.log('array is empty!');\n }\n },\n setTransactionType(state, transactionType) {\n state.transactionType = transactionType;\n },\n setAllowedOpposingTypes(state, allowedOpposingTypes) {\n state.allowedOpposingTypes = allowedOpposingTypes;\n },\n setAccountToTransaction(state, payload) {\n state.accountToTransaction = payload;\n },\n updateField(state, payload) {\n state.transactions[payload.index][payload.field] = payload.value;\n },\n setTransactionError(state, payload) {\n //console.log('Will set transactions[' + payload.index + '][errors][' + payload.field + '] to ');\n //console.log(payload.errors);\n state.transactions[payload.index].errors[payload.field] = payload.errors;\n },\n setDestinationAllowedTypes(state, payload) {\n // console.log('Destination allowed types was changed!');\n state.destinationAllowedTypes = payload;\n },\n setSourceAllowedTypes(state, payload) {\n state.sourceAllowedTypes = payload;\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * edit.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => ({});\n\n\n// getters\nconst getters = {};\n\n// actions\nconst actions = {};\n\n// mutations\nconst mutations = {};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nimport startOfDay from \"date-fns/startOfDay\";\nimport endOfDay from 'date-fns/endOfDay'\nimport startOfWeek from 'date-fns/startOfWeek'\nimport endOfWeek from 'date-fns/endOfWeek'\nimport startOfQuarter from 'date-fns/startOfQuarter';\nimport endOfQuarter from 'date-fns/endOfQuarter';\nimport endOfMonth from \"date-fns/endOfMonth\";\nimport startOfMonth from 'date-fns/startOfMonth';\n\nconst state = () => (\n {\n viewRange: 'default',\n start: null,\n end: null,\n defaultStart: null,\n defaultEnd: null,\n }\n)\n\n\n// getters\nconst getters = {\n start: state => {\n return state.start;\n },\n end: state => {\n return state.end;\n },\n defaultStart: state => {\n return state.defaultStart;\n },\n defaultEnd: state => {\n return state.defaultEnd;\n },\n viewRange: state => {\n return state.viewRange;\n }\n}\n\n// actions\nconst actions = {\n initialiseStore(context) {\n // console.log('initialiseStore');\n\n // restore from local storage:\n context.dispatch('restoreViewRange');\n\n axios.get('./api/v1/preferences/viewRange')\n .then(response => {\n let viewRange = response.data.data.attributes.data;\n let oldViewRange = context.getters.viewRange;\n context.commit('setViewRange', viewRange);\n if (viewRange !== oldViewRange) {\n // console.log('View range changed from \"' + oldViewRange + '\" to \"' + viewRange + '\"');\n context.dispatch('setDatesFromViewRange');\n }\n if (viewRange === oldViewRange) {\n // console.log('Restore view range dates');\n context.dispatch('restoreViewRangeDates');\n }\n }\n ).catch(() => {\n context.commit('setViewRange', '1M');\n context.dispatch('setDatesFromViewRange');\n });\n\n },\n restoreViewRangeDates: function (context) {\n // check local storage first?\n if (localStorage.viewRangeStart) {\n // console.log('view range start set from local storage.');\n context.commit('setStart', new Date(localStorage.viewRangeStart));\n }\n if (localStorage.viewRangeEnd) {\n // console.log('view range end set from local storage.');\n context.commit('setEnd', new Date(localStorage.viewRangeEnd));\n }\n // also set default:\n if (localStorage.viewRangeDefaultStart) {\n // console.log('view range default start set from local storage.');\n // console.log(localStorage.viewRangeDefaultStart);\n context.commit('setDefaultStart', new Date(localStorage.viewRangeDefaultStart));\n }\n if (localStorage.viewRangeDefaultEnd) {\n // console.log('view range default end set from local storage.');\n // console.log(localStorage.viewRangeDefaultEnd);\n context.commit('setDefaultEnd', new Date(localStorage.viewRangeDefaultEnd));\n }\n },\n restoreViewRange: function (context) {\n // console.log('restoreViewRange');\n let viewRange = localStorage.getItem('viewRange');\n if (null !== viewRange) {\n // console.log('restored restoreViewRange ' + viewRange );\n context.commit('setViewRange', viewRange);\n }\n },\n setDatesFromViewRange(context) {\n let start;\n let end;\n let viewRange = context.getters.viewRange;\n let today = new Date;\n // console.log('Will recreate view range on ' + viewRange);\n switch (viewRange) {\n case '1D':\n // today:\n start = startOfDay(today);\n end = endOfDay(today);\n break;\n case '1W':\n // this week:\n start = startOfDay(startOfWeek(today, {weekStartsOn: 1}));\n end = endOfDay(endOfWeek(today, {weekStartsOn: 1}));\n break;\n case '1M':\n // this month:\n start = startOfDay(startOfMonth(today));\n end = endOfDay(endOfMonth(today));\n break;\n case '3M':\n // this quarter\n start = startOfDay(startOfQuarter(today));\n end = endOfDay(endOfQuarter(today));\n break;\n case '6M':\n // this half-year\n if (today.getMonth() <= 5) {\n start = new Date(today);\n start.setMonth(0);\n start.setDate(1);\n start = startOfDay(start);\n end = new Date(today);\n end.setMonth(5);\n end.setDate(30);\n end = endOfDay(start);\n }\n if (today.getMonth() > 5) {\n start = new Date(today);\n start.setMonth(6);\n start.setDate(1);\n start = startOfDay(start);\n end = new Date(today);\n end.setMonth(11);\n end.setDate(31);\n end = endOfDay(start);\n }\n break;\n case '1Y':\n // this year\n start = new Date(today);\n start.setMonth(0);\n start.setDate(1);\n start = startOfDay(start);\n\n end = new Date(today);\n end.setMonth(11);\n end.setDate(31);\n end = endOfDay(end);\n break;\n }\n // console.log('Range is ' + viewRange);\n // console.log('Start is ' + start);\n // console.log('End is ' + end);\n context.commit('setStart', start);\n context.commit('setEnd', end);\n context.commit('setDefaultStart', start);\n context.commit('setDefaultEnd', end);\n }\n}\n\n// mutations\nconst mutations = {\n setStart(state, value) {\n state.start = value;\n window.localStorage.setItem('viewRangeStart', value);\n },\n setEnd(state, value) {\n state.end = value;\n window.localStorage.setItem('viewRangeEnd', value);\n },\n setDefaultStart(state, value) {\n state.defaultStart = value;\n window.localStorage.setItem('viewRangeDefaultStart', value);\n },\n setDefaultEnd(state, value) {\n state.defaultEnd = value;\n window.localStorage.setItem('viewRangeDefaultEnd', value);\n },\n setViewRange(state, range) {\n state.viewRange = range;\n window.localStorage.setItem('viewRange', range);\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * root.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => (\n {\n listPageSize: 33,\n timezone: ''\n }\n)\n\n\n// getters\nconst getters = {\n listPageSize: state => {\n return state.listPageSize;\n },\n timezone: state => {\n // console.log('Wil return ' + state.listPageSize);\n return state.timezone;\n },\n}\n\n// actions\nconst actions = {\n initialiseStore(context) {\n if (localStorage.listPageSize) {\n state.listPageSize = localStorage.listPageSize;\n context.commit('setListPageSize', {length: localStorage.listPageSize});\n }\n if (!localStorage.listPageSize) {\n axios.get('./api/v1/preferences/listPageSize')\n .then(response => {\n // console.log('from API: listPageSize is ' + parseInt(response.data.data.attributes.data));\n context.commit('setListPageSize', {length: parseInt(response.data.data.attributes.data)});\n }\n );\n }\n if (localStorage.timezone) {\n state.timezone = localStorage.timezone;\n context.commit('setTimezone', {timezone: localStorage.timezone});\n }\n if (!localStorage.timezone) {\n axios.get('./api/v1/configuration/app.timezone')\n .then(response => {\n context.commit('setTimezone', {timezone: response.data.data.value});\n }\n );\n }\n }\n}\n\n// mutations\nconst mutations = {\n setListPageSize(state, payload) {\n // console.log('Got a payload in setListPageSize');\n // console.log(payload);\n let number = parseInt(payload.length);\n if (0 !== number) {\n state.listPageSize = number;\n localStorage.listPageSize = number;\n\n }\n },\n setTimezone(state, payload) {\n\n if ('' !== payload.timezone) {\n state.timezone = payload.timezone;\n localStorage.timezone = payload.timezone;\n }\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => (\n {\n orderMode: false,\n activeFilter: 1\n }\n)\n\n\n// getters\nconst getters = {\n orderMode: state => {\n return state.orderMode;\n },\n activeFilter: state => {\n return state.activeFilter;\n }\n}\n\n// actions\nconst actions = {}\n\n// mutations\nconst mutations = {\n setOrderMode(state, payload) {\n state.orderMode = payload;\n },\n setActiveFilter(state, payload) {\n state.activeFilter = payload;\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nimport Vue from 'vue'\nimport Vuex, {createLogger} from 'vuex'\nimport transactions_create from './modules/transactions/create';\nimport transactions_edit from './modules/transactions/edit';\nimport dashboard_index from './modules/dashboard/index';\nimport root_store from './modules/root';\nimport accounts_index from './modules/accounts/index';\n\nVue.use(Vuex)\nconst debug = process.env.NODE_ENV !== 'production'\n\nexport default new Vuex.Store(\n {\n namespaced: true,\n modules: {\n root: root_store,\n transactions: {\n namespaced: true,\n modules: {\n create: transactions_create,\n edit: transactions_edit\n }\n },\n accounts: {\n namespaced: true,\n modules: {\n index: accounts_index\n },\n },\n dashboard: {\n namespaced: true,\n modules: {\n index: dashboard_index\n }\n }\n },\n strict: debug,\n plugins: debug ? [createLogger()] : [],\n state: {\n currencyPreference: {},\n locale: 'en-US',\n listPageSize: 50\n },\n mutations: {\n setCurrencyPreference(state, payload) {\n state.currencyPreference = payload.payload;\n },\n initialiseStore(state) {\n // if locale in local storage:\n if (localStorage.locale) {\n state.locale = localStorage.locale;\n return;\n }\n\n // set locale from HTML:\n let localeToken = document.head.querySelector('meta[name=\"locale\"]');\n if (localeToken) {\n state.locale = localeToken.content;\n localStorage.locale = localeToken.content;\n }\n }\n },\n getters: {\n currencyCode: state => {\n return state.currencyPreference.code;\n },\n currencyPreference: state => {\n return state.currencyPreference;\n },\n currencyId: state => {\n return state.currencyPreference.id;\n },\n locale: state => {\n return state.locale;\n }\n },\n actions: {\n\n updateCurrencyPreference(context) {\n if (localStorage.currencyPreference) {\n context.commit('setCurrencyPreference', {payload: JSON.parse(localStorage.currencyPreference)});\n return;\n }\n axios.get('./api/v1/currencies/default')\n .then(response => {\n let currencyResponse = {\n id: parseInt(response.data.data.id),\n name: response.data.data.attributes.name,\n symbol: response.data.data.attributes.symbol,\n code: response.data.data.attributes.code,\n decimal_places: parseInt(response.data.data.attributes.decimal_places),\n };\n localStorage.currencyPreference = JSON.stringify(currencyResponse);\n //console.log('getCurrencyPreference from server')\n //console.log(JSON.stringify(currencyResponse));\n context.commit('setCurrencyPreference', {payload: currencyResponse});\n }).catch(err => {\n // console.log('Got error response.');\n console.error(err);\n context.commit('setCurrencyPreference', {\n payload: {\n id: 1,\n name: 'Euro',\n symbol: '€',\n code: 'EUR',\n decimal_places: 2\n }\n });\n });\n\n }\n }\n }\n);","/*\n * i18n.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// Create VueI18n instance with options\nmodule.exports = new vuei18n({\n locale: document.documentElement.lang, // set locale\n fallbackLocale: 'en',\n messages: {\n 'bg': require('./locales/bg.json'),\n 'cs': require('./locales/cs.json'),\n 'de': require('./locales/de.json'),\n 'en': require('./locales/en.json'),\n 'en-us': require('./locales/en.json'),\n 'en-gb': require('./locales/en-gb.json'),\n 'es': require('./locales/es.json'),\n 'el': require('./locales/el.json'),\n 'fr': require('./locales/fr.json'),\n 'hu': require('./locales/hu.json'),\n //'id': require('./locales/id.json'),\n 'it': require('./locales/it.json'),\n 'nl': require('./locales/nl.json'),\n 'nb': require('./locales/nb.json'),\n 'pl': require('./locales/pl.json'),\n 'fi': require('./locales/fi.json'),\n 'pt-br': require('./locales/pt-br.json'),\n 'pt-pt': require('./locales/pt.json'),\n 'ro': require('./locales/ro.json'),\n 'ru': require('./locales/ru.json'),\n //'zh': require('./locales/zh.json'),\n 'zh-tw': require('./locales/zh-tw.json'),\n 'zh-cn': require('./locales/zh-cn.json'),\n 'sk': require('./locales/sk.json'),\n 'sv': require('./locales/sv.json'),\n 'vi': require('./locales/vi.json'),\n }\n});\n","<!--\n - ExampleComponent.vue\n - Copyright (c) 2019 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div>\n <top-boxes/>\n <div class=\"row\">\n <div class=\"col\">\n <main-account/>\n </div>\n </div>\n <main-account-list/>\n\n <div class=\"row\">\n <div class=\"col\">\n <main-budget-list/>\n </div>\n </div>\n\n <div class=\"row\">\n <div class=\"col\">\n <main-category-list/>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <main-debit-list/>\n </div>\n <div class=\"col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <main-credit-list/>\n </div>\n </div>\n\n <div class=\"row\">\n <div class=\"col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <main-piggy-list/>\n </div>\n <div class=\"col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <main-bills-list/>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"Dashboard\",\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dashboard.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dashboard.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Dashboard.vue?vue&type=template&id=9d50d3a2&\"\nimport script from \"./Dashboard.vue?vue&type=script&lang=js&\"\nexport * from \"./Dashboard.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('top-boxes'),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('main-account')],1)]),_vm._v(\" \"),_c('main-account-list'),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('main-budget-list')],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('main-category-list')],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[_c('main-debit-list')],1),_vm._v(\" \"),_c('div',{staticClass:\"col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[_c('main-credit-list')],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[_c('main-piggy-list')],1),_vm._v(\" \"),_c('div',{staticClass:\"col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[_c('main-bills-list')],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"row\"},[(0 !== _vm.prefCurrencyBalances.length && 0 !== _vm.notPrefCurrencyBalances.length)?_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"info-box\"},[_vm._m(0),_vm._v(\" \"),_c('div',{staticClass:\"info-box-content\"},[(!_vm.loading && !_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_vm._v(_vm._s(_vm.$t(\"firefly.balance\")))]):_vm._e(),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})]):_vm._e(),_vm._v(\" \"),_vm._l((_vm.prefCurrencyBalances),function(balance){return _c('span',{staticClass:\"info-box-number\",attrs:{\"title\":balance.sub_title}},[_vm._v(_vm._s(balance.value_parsed))])}),_vm._v(\" \"),(0 === _vm.prefCurrencyBalances.length)?_c('span',{staticClass:\"info-box-number\"},[_vm._v(\" \")]):_vm._e(),_vm._v(\" \"),_vm._m(1),_vm._v(\" \"),_c('span',{staticClass:\"progress-description\"},[_vm._l((_vm.notPrefCurrencyBalances),function(balance,index){return _c('span',{attrs:{\"title\":balance.sub_title}},[_vm._v(\"\\n \"+_vm._s(balance.value_parsed)),(index+1 !== _vm.notPrefCurrencyBalances.length)?_c('span',[_vm._v(\", \")]):_vm._e()])}),_vm._v(\" \"),(0===_vm.notPrefCurrencyBalances.length)?_c('span',[_vm._v(\" \")]):_vm._e()],2)],2)])]):_vm._e(),_vm._v(\" \"),(0!==_vm.prefBillsUnpaid.length && 0 !== _vm.notPrefBillsUnpaid.length)?_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"info-box\"},[_vm._m(2),_vm._v(\" \"),_c('div',{staticClass:\"info-box-content\"},[(!_vm.loading && !_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_vm._v(_vm._s(_vm.$t('firefly.bills_to_pay')))]):_vm._e(),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})]):_vm._e(),_vm._v(\" \"),_vm._l((_vm.prefBillsUnpaid),function(balance){return _c('span',{staticClass:\"info-box-number\"},[_vm._v(_vm._s(balance.value_parsed))])}),_vm._v(\" \"),_vm._m(3),_vm._v(\" \"),_c('span',{staticClass:\"progress-description\"},[_vm._l((_vm.notPrefBillsUnpaid),function(bill,index){return _c('span',[_vm._v(\"\\n \"+_vm._s(bill.value_parsed)),(index+1 !== _vm.notPrefBillsUnpaid.length)?_c('span',[_vm._v(\", \")]):_vm._e()])}),_vm._v(\" \"),(0===_vm.notPrefBillsUnpaid.length)?_c('span',[_vm._v(\" \")]):_vm._e()],2)],2)])]):_vm._e(),_vm._v(\" \"),(0 !== _vm.prefLeftToSpend.length && 0 !== _vm.notPrefLeftToSpend.length)?_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"info-box\"},[_vm._m(4),_vm._v(\" \"),_c('div',{staticClass:\"info-box-content\"},[(!_vm.loading && !_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_vm._v(_vm._s(_vm.$t('firefly.left_to_spend')))]):_vm._e(),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})]):_vm._e(),_vm._v(\" \"),_vm._l((_vm.prefLeftToSpend),function(left){return _c('span',{staticClass:\"info-box-number\",attrs:{\"title\":left.sub_title}},[_vm._v(_vm._s(left.value_parsed))])}),_vm._v(\" \"),(0 === _vm.prefLeftToSpend.length)?_c('span',{staticClass:\"info-box-number\"},[_vm._v(\" \")]):_vm._e(),_vm._v(\" \"),_vm._m(5),_vm._v(\" \"),_c('span',{staticClass:\"progress-description\"},[_vm._l((_vm.notPrefLeftToSpend),function(left,index){return _c('span',[_vm._v(\"\\n \"+_vm._s(left.value_parsed)),(index+1 !== _vm.notPrefLeftToSpend.length)?_c('span',[_vm._v(\", \")]):_vm._e()])}),_vm._v(\" \"),(0===_vm.notPrefLeftToSpend.length)?_c('span',[_vm._v(\" \")]):_vm._e()],2)],2)])]):_vm._e(),_vm._v(\" \"),(0 !== _vm.notPrefNetWorth.length && 0 !== _vm.prefNetWorth.length)?_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"info-box\"},[_vm._m(6),_vm._v(\" \"),_c('div',{staticClass:\"info-box-content\"},[(!_vm.loading && !_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_vm._v(_vm._s(_vm.$t('firefly.net_worth')))]):_vm._e(),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})]):_vm._e(),_vm._v(\" \"),_vm._l((_vm.prefNetWorth),function(nw){return _c('span',{staticClass:\"info-box-number\",attrs:{\"title\":nw.sub_title}},[_vm._v(_vm._s(nw.value_parsed))])}),_vm._v(\" \"),(0===_vm.prefNetWorth.length)?_c('span',[_vm._v(\" \")]):_vm._e(),_vm._v(\" \"),_vm._m(7),_vm._v(\" \"),_c('span',{staticClass:\"progress-description\"},[_vm._l((_vm.notPrefNetWorth),function(nw,index){return _c('span',[_vm._v(\"\\n \"+_vm._s(nw.value_parsed)),(index+1 !== _vm.notPrefNetWorth.length)?_c('span',[_vm._v(\", \")]):_vm._e()])}),_vm._v(\" \"),(0===_vm.notPrefNetWorth.length)?_c('span',[_vm._v(\" \")]):_vm._e()],2)],2)])]):_vm._e()])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"info-box-icon\"},[_c('i',{staticClass:\"far fa-bookmark text-info\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"progress bg-info\"},[_c('div',{staticClass:\"progress-bar\",staticStyle:{\"width\":\"0\"}})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"info-box-icon\"},[_c('i',{staticClass:\"far fa-calendar-alt text-teal\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"progress bg-teal\"},[_c('div',{staticClass:\"progress-bar\",staticStyle:{\"width\":\"0\"}})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"info-box-icon\"},[_c('i',{staticClass:\"fas fa-money-bill text-success\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"progress bg-success\"},[_c('div',{staticClass:\"progress-bar\",staticStyle:{\"width\":\"0\"}})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"info-box-icon\"},[_c('i',{staticClass:\"fas fa-money-bill text-success\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"progress bg-success\"},[_c('div',{staticClass:\"progress-bar\",staticStyle:{\"width\":\"0\"}})])}]\n\nexport { render, staticRenderFns }","<!--\n - TopBoxes.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"row\">\n <div class=\"col\" v-if=\"0 !== prefCurrencyBalances.length && 0 !== notPrefCurrencyBalances.length\">\n <div class=\"info-box\">\n <span class=\"info-box-icon\"><i class=\"far fa-bookmark text-info\"></i></span>\n\n <div class=\"info-box-content\">\n <span v-if=\"!loading && !error\" class=\"info-box-text\">{{ $t(\"firefly.balance\") }}</span>\n <span v-if=\"loading && !error\" class=\"info-box-text\"><i class=\"fas fa-spinner fa-spin\"></i></span>\n <span v-if=\"error\" class=\"info-box-text\"><i class=\"fas fa-exclamation-triangle text-danger\"></i></span>\n <!-- balance in preferred currency -->\n <span v-for=\"balance in prefCurrencyBalances\" :title=\"balance.sub_title\" class=\"info-box-number\">{{ balance.value_parsed }}</span>\n <span v-if=\"0 === prefCurrencyBalances.length\" class=\"info-box-number\"> </span>\n <div class=\"progress bg-info\">\n <div class=\"progress-bar\" style=\"width: 0\"></div>\n </div>\n <!-- balance in not preferred currency -->\n <span class=\"progress-description\">\n <span v-for=\"(balance, index) in notPrefCurrencyBalances\" :title=\"balance.sub_title\">\n {{ balance.value_parsed }}<span v-if=\"index+1 !== notPrefCurrencyBalances.length\">, </span>\n </span>\n <span v-if=\"0===notPrefCurrencyBalances.length\"> </span>\n </span>\n </div>\n </div>\n </div>\n\n <div class=\"col\" v-if=\"0!==prefBillsUnpaid.length && 0 !== notPrefBillsUnpaid.length\">\n <div class=\"info-box\">\n <span class=\"info-box-icon\"><i class=\"far fa-calendar-alt text-teal\"></i></span>\n\n <div class=\"info-box-content\">\n <span v-if=\"!loading && !error\" class=\"info-box-text\">{{ $t('firefly.bills_to_pay') }}</span>\n <span v-if=\"loading && !error\" class=\"info-box-text\"><i class=\"fas fa-spinner fa-spin\"></i></span>\n <span v-if=\"error\" class=\"info-box-text\"><i class=\"fas fa-exclamation-triangle text-danger\"></i></span>\n <!-- bills unpaid, in preferred currency. -->\n <span v-for=\"balance in prefBillsUnpaid\" class=\"info-box-number\">{{ balance.value_parsed }}</span>\n\n <div class=\"progress bg-teal\">\n <div class=\"progress-bar\" style=\"width: 0\"></div>\n </div>\n <!-- bills unpaid, in other currencies. -->\n <span class=\"progress-description\">\n <span v-for=\"(bill, index) in notPrefBillsUnpaid\">\n {{ bill.value_parsed }}<span v-if=\"index+1 !== notPrefBillsUnpaid.length\">, </span>\n </span>\n <span v-if=\"0===notPrefBillsUnpaid.length\"> </span>\n </span>\n </div>\n </div>\n </div>\n <!-- left to spend -->\n <div class=\"col\" v-if=\"0 !== prefLeftToSpend.length && 0 !== notPrefLeftToSpend.length\">\n <div class=\"info-box\">\n <span class=\"info-box-icon\"><i class=\"fas fa-money-bill text-success\"></i></span>\n\n <div class=\"info-box-content\">\n <span v-if=\"!loading && !error\" class=\"info-box-text\">{{ $t('firefly.left_to_spend') }}</span>\n <span v-if=\"loading && !error\" class=\"info-box-text\"><i class=\"fas fa-spinner fa-spin\"></i></span>\n <span v-if=\"error\" class=\"info-box-text\"><i class=\"fas fa-exclamation-triangle text-danger\"></i></span>\n <!-- left to spend in preferred currency -->\n <span v-for=\"left in prefLeftToSpend\" :title=\"left.sub_title\" class=\"info-box-number\">{{ left.value_parsed }}</span>\n <span v-if=\"0 === prefLeftToSpend.length\" class=\"info-box-number\"> </span>\n\n <div class=\"progress bg-success\">\n <div class=\"progress-bar\" style=\"width: 0\"></div>\n </div>\n <!-- other currencies-->\n <span class=\"progress-description\">\n <span v-for=\"(left, index) in notPrefLeftToSpend\">\n {{ left.value_parsed }}<span v-if=\"index+1 !== notPrefLeftToSpend.length\">, </span>\n </span>\n <span v-if=\"0===notPrefLeftToSpend.length\"> </span>\n </span>\n </div>\n </div>\n </div>\n\n <!-- net worth -->\n <div class=\"col\" v-if=\"0 !== notPrefNetWorth.length && 0 !== prefNetWorth.length\">\n <div class=\"info-box\">\n <span class=\"info-box-icon\"><i class=\"fas fa-money-bill text-success\"></i></span>\n\n <div class=\"info-box-content\">\n <span v-if=\"!loading && !error\" class=\"info-box-text\">{{ $t('firefly.net_worth') }}</span>\n <span v-if=\"loading && !error\" class=\"info-box-text\"><i class=\"fas fa-spinner fa-spin\"></i></span>\n <span v-if=\"error\" class=\"info-box-text\"><i class=\"fas fa-exclamation-triangle text-danger\"></i></span>\n <span v-for=\"nw in prefNetWorth\" :title=\"nw.sub_title\" class=\"info-box-number\">{{ nw.value_parsed }}</span>\n <span v-if=\"0===prefNetWorth.length\"> </span>\n <div class=\"progress bg-success\">\n <div class=\"progress-bar\" style=\"width: 0\"></div>\n </div>\n <span class=\"progress-description\">\n <span v-for=\"(nw, index) in notPrefNetWorth\">\n {{ nw.value_parsed }}<span v-if=\"index+1 !== notPrefNetWorth.length\">, </span>\n </span>\n <span v-if=\"0===notPrefNetWorth.length\"> </span>\n </span>\n </div>\n </div>\n </div>\n\n </div>\n</template>\n\n<script>\nimport {createNamespacedHelpers} from \"vuex\";\nimport format from 'date-fns/format';\n\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\nexport default {\n name: \"TopBoxes\",\n props: {},\n data() {\n return {\n summary: [],\n balances: [],\n billsPaid: [],\n billsUnpaid: [],\n leftToSpend: [],\n netWorth: [],\n loading: true,\n error: false,\n ready: false\n }\n },\n computed: {\n ...mapGetters([\n 'start',\n 'end'\n ]),\n 'datesReady': function () {\n return null !== this.start && null !== this.end && this.ready;\n },\n\n // contains only balances with preferred currency.\n prefCurrencyBalances: function () {\n return this.filterOnCurrency(this.balances);\n },\n notPrefCurrencyBalances: function () {\n return this.filterOnNotCurrency(this.balances);\n },\n\n // contains only bills unpaid in preferred currency or first one.\n prefBillsUnpaid: function () {\n return this.filterOnCurrency(this.billsUnpaid);\n },\n notPrefBillsUnpaid: function () {\n return this.filterOnNotCurrency(this.billsUnpaid);\n },\n\n // left to spend\n prefLeftToSpend: function () {\n return this.filterOnCurrency(this.leftToSpend);\n },\n notPrefLeftToSpend: function () {\n return this.filterOnNotCurrency(this.leftToSpend);\n },\n\n // net worth\n prefNetWorth: function () {\n return this.filterOnCurrency(this.netWorth);\n },\n notPrefNetWorth: function () {\n return this.filterOnNotCurrency(this.netWorth);\n },\n currencyCode() {\n return this.$store.getters.currencyCode;\n },\n currencyId() {\n return this.$store.getters.currencyId;\n }\n },\n watch: {\n datesReady: function (value) {\n if (true === value) {\n this.prepareComponent();\n }\n },\n start: function () {\n if (false === this.loading) {\n this.prepareComponent();\n }\n },\n end: function () {\n if (false === this.loading) {\n this.prepareComponent();\n }\n },\n },\n created() {\n this.ready = true;\n },\n methods: {\n filterOnCurrency(array) {\n let ret = [];\n for (const key in array) {\n if (array.hasOwnProperty(key)) {\n // console.log('Currency ID seems to be ' + this.currencyId);\n if (array[key].currency_id === this.currencyId) {\n ret.push(array[key]);\n }\n }\n }\n // or just the first one:\n if (0 === ret.length && array.hasOwnProperty(0)) {\n ret.push(array[0]);\n }\n return ret;\n },\n filterOnNotCurrency(array) {\n let ret = [];\n for (const key in array) {\n if (array.hasOwnProperty(key)) {\n if (array[key].currency_id !== this.currencyId) {\n ret.push(array[key]);\n }\n }\n }\n return ret;\n },\n /**\n * Prepare the component.\n */\n prepareComponent() {\n this.error = false;\n this.loading = true;\n this.summary = [];\n this.balances = [];\n this.billsPaid = [];\n this.billsUnpaid = [];\n this.leftToSpend = [];\n this.netWorth = [];\n let startStr = format(this.start, 'y-MM-dd');\n let endStr = format(this.end, 'y-MM-dd');\n //let startStr = this.start.toISOString().split('T')[0];\n //let endStr = this.end.toISOString().split('T')[0];\n //console.log(startStr);\n //console.log(endStr);\n axios.get('./api/v1/summary/basic?start=' + startStr + '&end=' + endStr)\n .then(response => {\n this.summary = response.data;\n this.buildComponent();\n this.loading = false\n }).catch(error => {\n this.error = true\n });\n },\n buildComponent() {\n this.getBalanceEntries();\n this.getBillsEntries();\n this.getLeftToSpend();\n this.getNetWorth();\n },\n\n hasCurrency: function (array) {\n for (const key in array) {\n if (array.hasOwnProperty(key)) {\n if (array[key].currency_id === this.currencyId) {\n return true;\n }\n }\n }\n return false;\n },\n\n getBalanceEntries() {\n this.balances = this.getKeyedEntries('balance-in-');\n },\n getNetWorth() {\n this.netWorth = this.getKeyedEntries('net-worth-in-');\n },\n getLeftToSpend() {\n this.leftToSpend = this.getKeyedEntries('left-to-spend-in-');\n },\n getBillsEntries() {\n this.billsPaid = this.getKeyedEntries('bills-paid-in-');\n this.billsUnpaid = this.getKeyedEntries('bills-unpaid-in-');\n },\n getKeyedEntries(expected) {\n let result = [];\n for (const key in this.summary) {\n if (this.summary.hasOwnProperty(key)) {\n if (expected === key.substr(0, expected.length)) {\n result.push(this.summary[key]);\n }\n }\n }\n return result;\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TopBoxes.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TopBoxes.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TopBoxes.vue?vue&type=template&id=1f1f5da9&\"\nimport script from \"./TopBoxes.vue?vue&type=script&lang=js&\"\nexport * from \"./TopBoxes.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 - DataConverter.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<script>\nexport default {\n name: \"DataConverter\",\n data() {\n return {\n dataSet: null,\n newDataSet: null,\n locale: localStorage.local,\n }\n },\n methods: {\n convertChart(dataSet) {\n this.dataSet = dataSet;\n this.newDataSet = {\n //count: 0,\n labels: [],\n datasets: []\n }\n this.getLabels();\n this.getDataSets();\n //this.newDataSet.count = this.newDataSet.datasets.length;\n return this.newDataSet;\n },\n\n colorizeBarData(dataSet) {\n this.dataSet = dataSet;\n this.newDataSet = {\n //count: 0,\n labels: [],\n datasets: []\n };\n // colors\n let colourSet = [\n [53, 124, 165],\n [0, 141, 76], // green\n [219, 139, 11],\n [202, 25, 90], // paars rood-ish #CA195A\n [85, 82, 153],\n [66, 133, 244],\n [219, 68, 55], // red #DB4437\n [244, 180, 0],\n [15, 157, 88],\n [171, 71, 188],\n [0, 172, 193],\n [255, 112, 67],\n [158, 157, 36],\n [92, 107, 192],\n [240, 98, 146],\n [0, 121, 107],\n [194, 24, 91]\n ];\n\n let fillColors = [];\n //let strokePointHighColors = [];\n\n\n for (let i = 0; i < colourSet.length; i++) {\n fillColors.push(\"rgba(\" + colourSet[i][0] + \", \" + colourSet[i][1] + \", \" + colourSet[i][2] + \", 0.5)\");\n //strokePointHighColors.push(\"rgba(\" + colourSet[i][0] + \", \" + colourSet[i][1] + \", \" + colourSet[i][2] + \", 0.9)\");\n }\n this.newDataSet.labels = this.dataSet.labels;\n //this.newDataSet.count = this.dataSet.count;\n for (let setKey in this.dataSet.datasets) {\n if (this.dataSet.datasets.hasOwnProperty(setKey)) {\n var dataset = this.dataSet.datasets[setKey];\n dataset.fill = false;\n dataset.backgroundColor = dataset.borderColor = fillColors[setKey];\n this.newDataSet.datasets.push(dataset);\n }\n }\n return this.newDataSet;\n },\n\n colorizeLineData(dataSet) {\n this.dataSet = dataSet;\n this.newDataSet = {\n //count: 0,\n labels: [],\n datasets: []\n };\n // colors\n let colourSet = [\n [53, 124, 165],\n [0, 141, 76], // green\n [219, 139, 11],\n [202, 25, 90], // paars rood-ish #CA195A\n [85, 82, 153],\n [66, 133, 244],\n [219, 68, 55], // red #DB4437\n [244, 180, 0],\n [15, 157, 88],\n [171, 71, 188],\n [0, 172, 193],\n [255, 112, 67],\n [158, 157, 36],\n [92, 107, 192],\n [240, 98, 146],\n [0, 121, 107],\n [194, 24, 91]\n ];\n\n let fillColors = [];\n //let strokePointHighColors = [];\n\n\n for (let i = 0; i < colourSet.length; i++) {\n fillColors.push(\"rgba(\" + colourSet[i][0] + \", \" + colourSet[i][1] + \", \" + colourSet[i][2] + \", 0.5)\");\n //strokePointHighColors.push(\"rgba(\" + colourSet[i][0] + \", \" + colourSet[i][1] + \", \" + colourSet[i][2] + \", 0.9)\");\n }\n this.newDataSet.labels = this.dataSet.labels;\n //this.newDataSet.count = this.dataSet.count;\n for (let setKey in this.dataSet.datasets) {\n if (this.dataSet.datasets.hasOwnProperty(setKey)) {\n let dataset = this.dataSet.datasets[setKey];\n dataset.fill = false;\n dataset.backgroundColor = dataset.borderColor = fillColors[setKey];\n this.newDataSet.datasets.push(dataset);\n }\n }\n return this.newDataSet;\n },\n convertLabelsToDate(dataSet) {\n for (let labelKey in dataSet.labels) {\n if (dataSet.labels.hasOwnProperty(labelKey)) {\n const unixTimeZero = Date.parse(dataSet.labels[labelKey]);\n dataSet.labels[labelKey] = new Intl.DateTimeFormat(this.locale).format(unixTimeZero);\n }\n }\n return dataSet;\n },\n getLabels() {\n let firstSet = this.dataSet[0];\n if (typeof firstSet !== 'undefined') {\n for (const entryLabel in firstSet.entries) {\n if (firstSet.entries.hasOwnProperty(entryLabel)) {\n this.newDataSet.labels.push(entryLabel);\n }\n }\n }\n },\n getDataSets() {\n for (const setKey in this.dataSet) {\n if (this.dataSet.hasOwnProperty(setKey)) {\n let newSet = {};\n let oldSet = this.dataSet[setKey];\n if (typeof oldSet !== 'undefined') {\n newSet.label = oldSet.label;\n newSet.type = oldSet.type;\n newSet.currency_symbol = oldSet.currency_symbol;\n newSet.currency_code = oldSet.currency_code;\n //newSet.yAxisID = oldSet.yAxisID;\n newSet.data = [];\n for (const entryLabel in oldSet.entries) {\n if (oldSet.entries.hasOwnProperty(entryLabel)) {\n newSet.data.push(oldSet.entries[entryLabel]);\n }\n }\n this.newDataSet.datasets.push(newSet);\n }\n }\n }\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataConverter.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataConverter.vue?vue&type=script&lang=js&\"","var render, staticRenderFns\nimport script from \"./DataConverter.vue?vue&type=script&lang=js&\"\nexport * from \"./DataConverter.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 - DefaultLineOptions.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n\n</template>\n\n\n<script>\n\nexport default {\n name: \"DefaultLineOptions\",\n data() {\n return {}\n },\n methods: {\n /**\n * Takes a string phrase and breaks it into separate phrases no bigger than 'maxwidth', breaks are made at complete words.\n * https://stackoverflow.com/questions/21409717/chart-js-and-long-labels\n *\n * @param str\n * @param maxwidth\n * @returns {Array}\n */\n formatLabel(str, maxwidth) {\n var sections = [];\n str = String(str);\n var words = str.split(\" \");\n var temp = \"\";\n\n words.forEach(function (item, index) {\n if (temp.length > 0) {\n var concat = temp + ' ' + item;\n\n if (concat.length > maxwidth) {\n sections.push(temp);\n temp = \"\";\n } else {\n if (index === (words.length - 1)) {\n sections.push(concat);\n return;\n } else {\n temp = concat;\n return;\n }\n }\n }\n\n if (index === (words.length - 1)) {\n sections.push(item);\n return;\n }\n\n if (item.length < maxwidth) {\n temp = item;\n } else {\n sections.push(item);\n }\n\n });\n\n return sections;\n },\n getDefaultOptions() {\n return {\n responsive: true,\n maintainAspectRatio: false,\n plugins: {\n legend: {\n display: false,\n },\n },\n animations: false,\n\n elements: {\n line: {\n cubicInterpolationMode: 'monotone'\n }\n },\n scales: {\n x: {\n //type: 'linear'\n grid: {\n display: false,\n },\n ticks: {\n callback: function (value, index, values) {\n let dateObj = new Date(this.getLabelForValue(value).split('T')[0]);\n return new Intl.DateTimeFormat(localStorage.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(dateObj);\n //return str;\n // // //console.log();\n // // //return self.formatLabel(value, 20);\n // // return self.formatLabel(str, 20);\n }\n }\n },\n y: {\n suggestedMin: 0\n\n //type: 'linear'\n }\n },\n\n // scales: {\n // xAxes: [\n // {\n // gridLines: {\n // display: false\n // },\n // ticks: {\n // // break ticks when too long\n // callback: function (value, index, values) {\n // return value;\n // // date format\n // // let dateObj = new Date(value);\n // // let options = {year: 'numeric', month: 'long', day: 'numeric'};\n // // let str = new Intl.DateTimeFormat(localStorage.locale, options).format(dateObj);\n // // //console.log();\n // // //return self.formatLabel(value, 20);\n // // return self.formatLabel(str, 20);\n // }\n // }\n // }\n // ],\n // yAxes: [{\n // display: true,\n // ticks: {\n // callback: function (tickValue) {\n // \"use strict\";\n // return tickValue;\n // // let currencyCode = this.chart.data.datasets[0].currency_code ? this.chart.data.datasets[0].currency_code : 'EUR';\n // // return new Intl.NumberFormat(localStorage.locale, {style: 'currency', currency: currencyCode}).format(tickValue);\n // },\n // beginAtZero: true\n // }\n //\n // }]\n // },\n // tooltips: {\n // mode: 'index',\n // // callbacks: {\n // // label: function (tooltipItem, data) {\n // // \"use strict\";\n // // let currencyCode = data.datasets[tooltipItem.datasetIndex].currency_code ? data.datasets[tooltipItem.datasetIndex].currency_code : 'EUR';\n // // let nrString =\n // // new Intl.NumberFormat(localStorage.locale, {style: 'currency', currency: currencyCode}).format(tooltipItem.yLabel)\n // //\n // // return data.datasets[tooltipItem.datasetIndex].label + ': ' + nrString;\n // // }\n // // }\n // }\n };\n }\n\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DefaultLineOptions.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DefaultLineOptions.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DefaultLineOptions.vue?vue&type=template&id=376cc9e0&scoped=true&\"\nimport script from \"./DefaultLineOptions.vue?vue&type=script&lang=js&\"\nexport * from \"./DefaultLineOptions.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 \"376cc9e0\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(\"div\")}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - MainAccount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">{{ $t('firefly.yourAccounts') }}</h3>\n </div>\n <div class=\"card-body\">\n <div>\n <canvas id=\"canvas\" ref=\"canvas\" width=\"400\" height=\"400\"></canvas>\n </div>\n <div v-if=\"loading && !error\" class=\"text-center\">\n <i class=\"fas fa-spinner fa-spin\"></i>\n </div>\n <div v-if=\"error\" class=\"text-center\">\n <i class=\"fas fa-exclamation-triangle text-danger\"></i>\n </div>\n </div>\n <div class=\"card-footer\">\n <a class=\"btn btn-default button-sm\" href=\"./accounts/asset\"><i class=\"far fa-money-bill-alt\"></i> {{ $t('firefly.go_to_asset_accounts') }}</a>\n </div>\n </div>\n</template>\n\n<script>\n\nimport DataConverter from \"../charts/DataConverter\";\nimport DefaultLineOptions from \"../charts/DefaultLineOptions\";\nimport {mapGetters} from \"vuex\";\nimport * as ChartJs from 'chart.js'\nimport format from \"date-fns/format\";\n\nChartJs.Chart.register.apply(null, Object.values(ChartJs).filter((chartClass) => (chartClass.id)));\n\n\nexport default {\n name: \"MainAccount\",\n components: {}, // MainAccountChart\n data() {\n return {\n loading: true,\n error: false,\n ready: false,\n initialised: false,\n dataCollection: {},\n chartOptions: {},\n _chart: null,\n }\n },\n created() {\n this.chartOptions = DefaultLineOptions.methods.getDefaultOptions();\n this.ready = true;\n },\n computed: {\n ...mapGetters('dashboard/index', ['start', 'end']),\n 'datesReady': function () {\n return null !== this.start && null !== this.end && this.ready;\n }\n },\n watch: {\n datesReady: function (value) {\n if (true === value) {\n this.initialiseChart();\n }\n },\n start: function () {\n this.updateChart();\n },\n end: function () {\n this.updateChart();\n },\n },\n methods: {\n initialiseChart: function () {\n this.loading = true;\n this.error = false;\n //let startStr = this.start.toISOString().split('T')[0];\n //let endStr = this.end.toISOString().split('T')[0];\n let startStr = format(this.start, 'y-MM-dd');\n let endStr = format(this.end, 'y-MM-dd');\n let url = './api/v1/chart/account/overview?start=' + startStr + '&end=' + endStr;\n axios.get(url)\n .then(response => {\n let chartData = DataConverter.methods.convertChart(response.data);\n chartData = DataConverter.methods.colorizeLineData(chartData);\n\n this.dataCollection = chartData;\n this.loading = false;\n this.drawChart();\n })\n .catch(error => {\n console.log('Has error!');\n console.log(error);\n this.error = true;\n });\n },\n drawChart: function () {\n //console.log('drawChart');\n if ('undefined' !== typeof this._chart) {\n // console.log('update!');\n this._chart.data = this.dataCollection;\n this._chart.update();\n this.initialised = true;\n }\n\n if ('undefined' === typeof this._chart) {\n // console.log('new!');\n this._chart = new ChartJs.Chart(this.$refs.canvas.getContext('2d'), {\n type: 'line',\n data: this.dataCollection,\n options: this.chartOptions\n }\n );\n this.initialised = true;\n }\n },\n updateChart: function () {\n // console.log('updateChart');\n if (this.initialised) {\n // console.log('MUST Update chart!');\n // reset some vars so it wont trigger again:\n this.initialised = false;\n this.initialiseChart();\n }\n }\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainAccount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainAccount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MainAccount.vue?vue&type=template&id=db9781e8&\"\nimport script from \"./MainAccount.vue?vue&type=script&lang=js&\"\nexport * from \"./MainAccount.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(_vm._s(_vm.$t('firefly.yourAccounts')))])]),_vm._v(\" \"),_c('div',{staticClass:\"card-body\"},[_c('div',[_c('canvas',{ref:\"canvas\",attrs:{\"id\":\"canvas\",\"width\":\"400\",\"height\":\"400\"}})]),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"card-footer\"},[_c('a',{staticClass:\"btn btn-default button-sm\",attrs:{\"href\":\"./accounts/asset\"}},[_c('i',{staticClass:\"far fa-money-bill-alt\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.go_to_asset_accounts')))])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - MainAccountList.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div>\n <!-- row if loading -->\n <div v-if=\"loading && !error\" class=\"row\">\n <div class=\"col\">\n <div class=\"card\">\n <div class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-spinner fa-spin\"></i>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <!-- row if error -->\n <div v-if=\"error\" class=\"row\">\n <div class=\"col\">\n <div class=\"card\">\n <div class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-exclamation-triangle text-danger\"></i>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <!-- row if normal -->\n <div v-if=\"!loading && !error\" class=\"row\">\n <div\n v-for=\"account in accounts\"\n v-bind:class=\"{ 'col-lg-12': 1 === accounts.length, 'col-lg-6': 2 === accounts.length, 'col-lg-4': accounts.length > 2 }\">\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\"><a :href=\"account.url\">{{ account.title }}</a></h3>\n <div class=\"card-tools\">\n <span :class=\"parseFloat(account.current_balance) < 0 ? 'text-danger' : 'text-success'\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: account.currency_code}).format(parseFloat(account.current_balance)) }}\n </span>\n </div>\n </div>\n <div class=\"card-body table-responsive p-0\">\n <div>\n <transaction-list-large v-if=\"1===accounts.length\" :account_id=\"account.id\" :transactions=\"account.transactions\"/>\n <transaction-list-medium v-if=\"2===accounts.length\" :account_id=\"account.id\" :transactions=\"account.transactions\"/>\n <transaction-list-small v-if=\"accounts.length > 2\" :account_id=\"account.id\" :transactions=\"account.transactions\"/>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport {createNamespacedHelpers} from \"vuex\";\nimport format from \"date-fns/format\";\n\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\n\nexport default {\n name: \"MainAccountList\",\n data() {\n return {\n loading: true,\n error: false,\n ready: false,\n accounts: [],\n locale: 'en-US'\n }\n },\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n this.ready = true;\n },\n computed: {\n ...mapGetters([\n 'start',\n 'end'\n ]),\n 'datesReady': function () {\n return null !== this.start && null !== this.end && this.ready;\n },\n },\n watch: {\n datesReady: function (value) {\n if (true === value) {\n this.initialiseList();\n }\n },\n start: function () {\n if (false === this.loading) {\n this.initialiseList();\n }\n },\n end: function () {\n if (false === this.loading) {\n this.initialiseList();\n }\n },\n },\n methods: {\n initialiseList: function () {\n this.loading = true;\n this.accounts = [];\n axios.get('./api/v1/preferences/frontPageAccounts')\n .then(response => {\n this.loadAccounts(response);\n }\n );\n },\n loadAccounts(response) {\n let accountIds = response.data.data.attributes.data;\n for (let key in accountIds) {\n if (accountIds.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n this.accounts.push({\n id: accountIds[key],\n title: '',\n url: '',\n include: false,\n current_balance: '0',\n currency_code: 'EUR',\n transactions: []\n });\n this.loadSingleAccount(key, accountIds[key]);\n }\n }\n },\n loadSingleAccount(key, accountId) {\n axios.get('./api/v1/accounts/' + accountId)\n .then(response => {\n let account = response.data.data;\n if ('asset' === account.attributes.type || 'liabilities' === account.attributes.type) {\n this.accounts[key].title = account.attributes.name;\n this.accounts[key].url = './accounts/show/' + account.id;\n this.accounts[key].current_balance = account.attributes.current_balance;\n this.accounts[key].currency_code = account.attributes.currency_code;\n this.accounts[key].include = true;\n this.loadTransactions(key, accountId);\n }\n }\n );\n },\n loadTransactions(key, accountId) {\n // let startStr = this.start.toISOString().split('T')[0];\n // let endStr = this.end.toISOString().split('T')[0];\n let startStr = format(this.start, 'y-MM-dd');\n let endStr = format(this.end, 'y-MM-dd');\n axios.get('./api/v1/accounts/' + accountId + '/transactions?page=1&limit=10&start=' + startStr + '&end=' + endStr)\n .then(response => {\n this.accounts[key].transactions = response.data.data;\n this.loading = false;\n this.error = false;\n }\n );\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainAccountList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainAccountList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MainAccountList.vue?vue&type=template&id=bf9d2eee&scoped=true&\"\nimport script from \"./MainAccountList.vue?vue&type=script&lang=js&\"\nexport * from \"./MainAccountList.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 \"bf9d2eee\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.loading && !_vm.error)?_c('div',{staticClass:\"row\"},[_vm._m(0)]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('div',{staticClass:\"row\"},[_vm._m(1)]):_vm._e(),_vm._v(\" \"),(!_vm.loading && !_vm.error)?_c('div',{staticClass:\"row\"},_vm._l((_vm.accounts),function(account){return _c('div',{class:{ 'col-lg-12': 1 === _vm.accounts.length, 'col-lg-6': 2 === _vm.accounts.length, 'col-lg-4': _vm.accounts.length > 2 }},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_c('a',{attrs:{\"href\":account.url}},[_vm._v(_vm._s(account.title))])]),_vm._v(\" \"),_c('div',{staticClass:\"card-tools\"},[_c('span',{class:parseFloat(account.current_balance) < 0 ? 'text-danger' : 'text-success'},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: account.currency_code}).format(parseFloat(account.current_balance)))+\"\\n \")])])]),_vm._v(\" \"),_c('div',{staticClass:\"card-body table-responsive p-0\"},[_c('div',[(1===_vm.accounts.length)?_c('transaction-list-large',{attrs:{\"account_id\":account.id,\"transactions\":account.transactions}}):_vm._e(),_vm._v(\" \"),(2===_vm.accounts.length)?_c('transaction-list-medium',{attrs:{\"account_id\":account.id,\"transactions\":account.transactions}}):_vm._e(),_vm._v(\" \"),(_vm.accounts.length > 2)?_c('transaction-list-small',{attrs:{\"account_id\":account.id,\"transactions\":account.transactions}}):_vm._e()],1)])])])}),0):_vm._e()])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})])])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})])])])])}]\n\nexport { render, staticRenderFns }","<!--\n - MainBills.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">{{ $t('firefly.bills') }}</h3>\n </div>\n <!-- body if loading -->\n <div v-if=\"loading && !error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-spinner fa-spin\"></i>\n </div>\n </div>\n <!-- body if error -->\n <div v-if=\"error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-exclamation-triangle text-danger\"></i>\n </div>\n </div>\n <!-- body if normal -->\n <div v-if=\"!loading && !error\" class=\"card-body table-responsive p-0\">\n <table class=\"table table-striped\">\n <caption style=\"display:none;\">{{ $t('firefly.bills') }}</caption>\n <thead>\n <tr>\n <th scope=\"col\" style=\"width:35%;\">{{ $t('list.name') }}</th>\n <th scope=\"col\" style=\"width:25%;\">{{ $t('list.next_expected_match') }}</th>\n </tr>\n </thead>\n <tbody>\n <tr v-for=\"bill in this.bills\">\n <td><a :href=\"'./bills/show/' + bill.id\" :title=\"bill.attributes.name\">{{ bill.attributes.name }}</a>\n (~ <span class=\"text-danger\">{{\n Intl.NumberFormat(locale, {style: 'currency', currency: bill.attributes.currency_code}).format((parseFloat(bill.attributes.amount_min) +\n parseFloat(bill.attributes.amount_max)) / -2)\n }}</span>)\n <small v-if=\"bill.attributes.object_group_title\" class=\"text-muted\">\n <br/>\n {{ bill.attributes.object_group_title }}\n </small>\n </td>\n <td>\n <span v-for=\"paidDate in bill.attributes.paid_dates\">\n <span v-html=\"renderPaidDate(paidDate)\"/><br/>\n </span>\n <span v-for=\"payDate in bill.attributes.pay_dates\" v-if=\"0===bill.attributes.paid_dates.length\">\n {{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(new Date(payDate)) }}\n <br/>\n </span>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n <div class=\"card-footer\">\n <a class=\"btn btn-default button-sm\" href=\"./bills\"><i class=\"far fa-money-bill-alt\"></i> {{ $t('firefly.go_to_bills') }}</a>\n </div>\n </div>\n</template>\n<script>\nimport {createNamespacedHelpers} from \"vuex\";\nimport format from \"date-fns/format\";\n\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\nexport default {\n name: \"MainBillsList\",\n data() {\n return {\n bills: [],\n locale: 'en-US',\n ready: false,\n loading: true,\n error: false\n }\n },\n computed: {\n ...mapGetters([\n 'start',\n 'end'\n ]),\n 'datesReady': function () {\n return null !== this.start && null !== this.end && this.ready;\n }\n },\n watch: {\n datesReady: function (value) {\n if (true === value) {\n this.initialiseBills();\n }\n },\n start: function () {\n if (false === this.loading) {\n this.initialiseBills();\n }\n },\n end: function () {\n if (false === this.loading) {\n this.initialiseBills();\n }\n },\n },\n created() {\n this.ready = true;\n this.locale = localStorage.locale ?? 'en-US';\n },\n components: {},\n methods: {\n initialiseBills: function () {\n this.loading = true;\n this.bills = [];\n // let startStr = this.start.toISOString().split('T')[0];\n // let endStr = this.end.toISOString().split('T')[0];\n let startStr = format(this.start, 'y-MM-dd');\n let endStr = format(this.end, 'y-MM-dd');\n\n axios.get('./api/v1/bills?start=' + startStr + '&end=' + endStr)\n .then(response => {\n this.loadBills(response.data.data);\n }\n ).catch(error => {\n this.error = true;\n this.loading = false;\n });\n },\n renderPaidDate: function (obj) {\n let dateStr = new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(new Date(obj.date));\n let str = this.$t('firefly.bill_paid_on', {date: dateStr});\n return '<a href=\"./transactions/show/' + obj.transaction_group_id + '\" title=\"' + str + '\">' + str + '</a>';\n },\n loadBills: function (data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n\n let bill = data[key];\n let active = bill.attributes.active;\n if (bill.attributes.pay_dates.length > 0 && active) {\n this.bills.push(bill);\n }\n }\n }\n this.error = false;\n this.loading = false;\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainBillsList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainBillsList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MainBillsList.vue?vue&type=template&id=df2c6a44&\"\nimport script from \"./MainBillsList.vue?vue&type=script&lang=js&\"\nexport * from \"./MainBillsList.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(_vm._s(_vm.$t('firefly.bills')))])]),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(0)]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(1)]):_vm._e(),_vm._v(\" \"),(!_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body table-responsive p-0\"},[_c('table',{staticClass:\"table table-striped\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.bills')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{staticStyle:{\"width\":\"35%\"},attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('list.name')))]),_vm._v(\" \"),_c('th',{staticStyle:{\"width\":\"25%\"},attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('list.next_expected_match')))])])]),_vm._v(\" \"),_c('tbody',_vm._l((this.bills),function(bill){return _c('tr',[_c('td',[_c('a',{attrs:{\"href\":'./bills/show/' + bill.id,\"title\":bill.attributes.name}},[_vm._v(_vm._s(bill.attributes.name))]),_vm._v(\"\\n (~ \"),_c('span',{staticClass:\"text-danger\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: bill.attributes.currency_code}).format((parseFloat(bill.attributes.amount_min) +\n parseFloat(bill.attributes.amount_max)) / -2)))]),_vm._v(\")\\n \"),(bill.attributes.object_group_title)?_c('small',{staticClass:\"text-muted\"},[_c('br'),_vm._v(\"\\n \"+_vm._s(bill.attributes.object_group_title)+\"\\n \")]):_vm._e()]),_vm._v(\" \"),_c('td',[_vm._l((bill.attributes.paid_dates),function(paidDate){return _c('span',[_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.renderPaidDate(paidDate))}}),_c('br')])}),_vm._v(\" \"),_vm._l((bill.attributes.pay_dates),function(payDate){return (0===bill.attributes.paid_dates.length)?_c('span',[_vm._v(\"\\n \"+_vm._s(new Intl.DateTimeFormat(_vm.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(new Date(payDate)))+\"\\n \"),_c('br')]):_vm._e()})],2)])}),0)])]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"card-footer\"},[_c('a',{staticClass:\"btn btn-default button-sm\",attrs:{\"href\":\"./bills\"}},[_c('i',{staticClass:\"far fa-money-bill-alt\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.go_to_bills')))])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})])}]\n\nexport { render, staticRenderFns }","<!--\n - BudgetRow.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <tr>\n <td style=\"width:25%;\">\n <a :href=\"'./budgets/show/' + budgetLimit.budget_id\">{{ budgetLimit.budget_name }}</a>\n </td>\n\n <td style=\"vertical-align: middle\">\n <div class=\"progress progress active\">\n <div :aria-valuenow=\"budgetLimit.pctGreen\" :style=\"'width: '+ budgetLimit.pctGreen + '%;'\"\n aria-valuemax=\"100\" aria-valuemin=\"0\" class=\"progress-bar bg-success progress-bar-striped\" role=\"progressbar\">\n <span v-if=\"budgetLimit.pctGreen > 35\">\n {{ $t('firefly.spent_x_of_y', {amount: Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.spent), total: Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.amount)}) }}\n <!-- -->\n </span>\n\n\n </div>\n\n <div :aria-valuenow=\"budgetLimit.pctOrange\" :style=\"'width: '+ budgetLimit.pctOrange + '%;'\"\n aria-valuemax=\"100\" aria-valuemin=\"0\" class=\"progress-bar bg-warning progress-bar-striped\" role=\"progressbar\">\n <span v-if=\"budgetLimit.pctRed <= 50 && budgetLimit.pctOrange > 35\">\n {{ $t('firefly.spent_x_of_y', {amount: Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.spent), total: Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.amount)}) }}\n </span>\n </div>\n\n <div :aria-valuenow=\"budgetLimit.pctRed\" :style=\"'width: '+ budgetLimit.pctRed + '%;'\"\n aria-valuemax=\"100\" aria-valuemin=\"0\" class=\"progress-bar bg-danger progress-bar-striped\" role=\"progressbar\">\n <span v-if=\"budgetLimit.pctOrange <= 50 && budgetLimit.pctRed > 35\" class=\"text-muted\">\n {{ $t('firefly.spent_x_of_y', {amount: Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.spent), total: Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.amount)}) }}\n </span>\n </div>\n\n <!-- amount if bar is very small -->\n <span v-if=\"budgetLimit.pctGreen <= 35 && 0 === budgetLimit.pctOrange && 0 === budgetLimit.pctRed && 0 !== budgetLimit.pctGreen\" style=\"line-height: 16px;\">\n {{ $t('firefly.spent_x_of_y', {amount: Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.spent), total: Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.amount)}) }}\n </span>\n\n </div>\n <small class=\"d-none d-lg-block\">\n {{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(budgetLimit.start) }}\n →\n {{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(budgetLimit.end) }}\n </small>\n </td>\n\n <td class=\"align-middle d-none d-lg-table-cell\" style=\"width:10%;\">\n <span v-if=\"parseFloat(budgetLimit.amount) + parseFloat(budgetLimit.spent) > 0\" class=\"text-success\">\n {{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: budgetLimit.currency_code\n }).format(parseFloat(budgetLimit.amount) + parseFloat(budgetLimit.spent))\n }}\n </span>\n <span v-if=\"0.0 === parseFloat(budgetLimit.amount) + parseFloat(budgetLimit.spent)\" class=\"text-muted\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(0) }}\n </span>\n <span v-if=\"parseFloat(budgetLimit.amount) + parseFloat(budgetLimit.spent) < 0\" class=\"text-danger\">\n {{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: budgetLimit.currency_code\n }).format(parseFloat(budgetLimit.amount) + parseFloat(budgetLimit.spent))\n }}\n </span>\n </td>\n </tr>\n\n</template>\n\n<script>\nexport default {\n name: \"BudgetLimitRow\",\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n },\n data() {\n return {\n locale: 'en-US',\n }\n },\n props: {\n budgetLimit: {\n type: Object,\n default: function () {\n return {};\n }\n },\n budget: {\n type: Object,\n default: function () {\n return {};\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BudgetLimitRow.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BudgetLimitRow.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./BudgetLimitRow.vue?vue&type=template&id=7988ecb6&scoped=true&\"\nimport script from \"./BudgetLimitRow.vue?vue&type=script&lang=js&\"\nexport * from \"./BudgetLimitRow.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 \"7988ecb6\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tr',[_c('td',{staticStyle:{\"width\":\"25%\"}},[_c('a',{attrs:{\"href\":'./budgets/show/' + _vm.budgetLimit.budget_id}},[_vm._v(_vm._s(_vm.budgetLimit.budget_name))])]),_vm._v(\" \"),_c('td',{staticStyle:{\"vertical-align\":\"middle\"}},[_c('div',{staticClass:\"progress progress active\"},[_c('div',{staticClass:\"progress-bar bg-success progress-bar-striped\",style:('width: '+ _vm.budgetLimit.pctGreen + '%;'),attrs:{\"aria-valuenow\":_vm.budgetLimit.pctGreen,\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\",\"role\":\"progressbar\"}},[(_vm.budgetLimit.pctGreen > 35)?_c('span',[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.spent_x_of_y', {amount: Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.spent), total: Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.amount)}))+\"\\n \")]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"progress-bar bg-warning progress-bar-striped\",style:('width: '+ _vm.budgetLimit.pctOrange + '%;'),attrs:{\"aria-valuenow\":_vm.budgetLimit.pctOrange,\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\",\"role\":\"progressbar\"}},[(_vm.budgetLimit.pctRed <= 50 && _vm.budgetLimit.pctOrange > 35)?_c('span',[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.spent_x_of_y', {amount: Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.spent), total: Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.amount)}))+\"\\n \")]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"progress-bar bg-danger progress-bar-striped\",style:('width: '+ _vm.budgetLimit.pctRed + '%;'),attrs:{\"aria-valuenow\":_vm.budgetLimit.pctRed,\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\",\"role\":\"progressbar\"}},[(_vm.budgetLimit.pctOrange <= 50 && _vm.budgetLimit.pctRed > 35)?_c('span',{staticClass:\"text-muted\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.spent_x_of_y', {amount: Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.spent), total: Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.amount)}))+\"\\n \")]):_vm._e()]),_vm._v(\" \"),(_vm.budgetLimit.pctGreen <= 35 && 0 === _vm.budgetLimit.pctOrange && 0 === _vm.budgetLimit.pctRed && 0 !== _vm.budgetLimit.pctGreen)?_c('span',{staticStyle:{\"line-height\":\"16px\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.spent_x_of_y', {amount: Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.spent), total: Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.amount)}))+\"\\n \")]):_vm._e()]),_vm._v(\" \"),_c('small',{staticClass:\"d-none d-lg-block\"},[_vm._v(\"\\n \"+_vm._s(new Intl.DateTimeFormat(_vm.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(_vm.budgetLimit.start))+\"\\n →\\n \"+_vm._s(new Intl.DateTimeFormat(_vm.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(_vm.budgetLimit.end))+\"\\n \")])]),_vm._v(\" \"),_c('td',{staticClass:\"align-middle d-none d-lg-table-cell\",staticStyle:{\"width\":\"10%\"}},[(parseFloat(_vm.budgetLimit.amount) + parseFloat(_vm.budgetLimit.spent) > 0)?_c('span',{staticClass:\"text-success\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: _vm.budgetLimit.currency_code\n }).format(parseFloat(_vm.budgetLimit.amount) + parseFloat(_vm.budgetLimit.spent)))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(0.0 === parseFloat(_vm.budgetLimit.amount) + parseFloat(_vm.budgetLimit.spent))?_c('span',{staticClass:\"text-muted\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(0))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(parseFloat(_vm.budgetLimit.amount) + parseFloat(_vm.budgetLimit.spent) < 0)?_c('span',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: _vm.budgetLimit.currency_code\n }).format(parseFloat(_vm.budgetLimit.amount) + parseFloat(_vm.budgetLimit.spent)))+\"\\n \")]):_vm._e()])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - BudgetRow.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n\n<template>\n <tr>\n <td style=\"width:25%;\">\n <a :href=\"'./budgets/show/' + budget.id\">{{ budget.name }}</a>\n </td>\n <td class=\"align-middle text-right\">\n <span class=\"text-danger\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: budget.currency_code}).format(parseFloat(budget.spent)) }}\n </span>\n </td>\n </tr>\n</template>\n\n<script>\nexport default {\n name: \"BudgetRow\",\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n },\n data() {\n return {\n locale: 'en-US',\n }\n },\n props: {\n budget: {\n type: Object,\n default: {}\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BudgetRow.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BudgetRow.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./BudgetRow.vue?vue&type=template&id=2fc8f640&scoped=true&\"\nimport script from \"./BudgetRow.vue?vue&type=script&lang=js&\"\nexport * from \"./BudgetRow.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 \"2fc8f640\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BudgetListGroup.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BudgetListGroup.vue?vue&type=script&lang=js&\"","<!--\n - BudgetListGroup.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">{{ title }}</h3>\n </div>\n <div class=\"card-body table-responsive p-0\">\n <table class=\"table table-sm\">\n <caption style=\"display:none;\">{{ title }}</caption>\n <thead>\n <tr>\n <th scope=\"col\">{{ $t('firefly.budget') }}</th>\n <th scope=\"col\">{{ $t('firefly.spent') }}</th>\n <th scope=\"col\">{{ $t('firefly.left') }}</th>\n </tr>\n </thead>\n <tbody>\n <BudgetLimitRow v-for=\"(budgetLimit, key) in budgetLimits\" v-bind:key=\"key\" :budgetLimit=\"budgetLimit\"/>\n <BudgetRow v-for=\"(budget, key) in budgets\" v-bind:key=\"key\" :budget=\"budget\"/>\n </tbody>\n </table>\n </div>\n <div class=\"card-footer\">\n <a class=\"btn btn-default button-sm\" href=\"./budgets\"><i class=\"far fa-money-bill-alt\"></i> {{ $t('firefly.go_to_budgets') }}</a>\n </div>\n </div>\n</template>\n\n<script>\nimport BudgetLimitRow from \"./BudgetLimitRow\";\nimport BudgetRow from \"./BudgetRow\";\n\nexport default {\n name: \"BudgetListGroup\",\n components: {BudgetLimitRow, BudgetRow},\n props: {\n title: String,\n budgetLimits: Array,\n budgets: Array,\n },\n}\n</script>\n\n<style scoped>\n\n</style>","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tr',[_c('td',{staticStyle:{\"width\":\"25%\"}},[_c('a',{attrs:{\"href\":'./budgets/show/' + _vm.budget.id}},[_vm._v(_vm._s(_vm.budget.name))])]),_vm._v(\" \"),_c('td',{staticClass:\"align-middle text-right\"},[_c('span',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budget.currency_code}).format(parseFloat(_vm.budget.spent)))+\"\\n \")])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./BudgetListGroup.vue?vue&type=template&id=2b21deef&scoped=true&\"\nimport script from \"./BudgetListGroup.vue?vue&type=script&lang=js&\"\nexport * from \"./BudgetListGroup.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 \"2b21deef\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(_vm._s(_vm.title))])]),_vm._v(\" \"),_c('div',{staticClass:\"card-body table-responsive p-0\"},[_c('table',{staticClass:\"table table-sm\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.title))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.budget')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.spent')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.left')))])])]),_vm._v(\" \"),_c('tbody',[_vm._l((_vm.budgetLimits),function(budgetLimit,key){return _c('BudgetLimitRow',{key:key,attrs:{\"budgetLimit\":budgetLimit}})}),_vm._v(\" \"),_vm._l((_vm.budgets),function(budget,key){return _c('BudgetRow',{key:key,attrs:{\"budget\":budget}})})],2)])]),_vm._v(\" \"),_c('div',{staticClass:\"card-footer\"},[_c('a',{staticClass:\"btn btn-default button-sm\",attrs:{\"href\":\"./budgets\"}},[_c('i',{staticClass:\"far fa-money-bill-alt\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.go_to_budgets')))])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - MainBudgetList.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div>\n <!-- daily budgets (will be the exception, I expect) -->\n <div v-if=\"!loading\" class=\"row\">\n <div v-if=\"budgetLimits.daily.length > 0\" class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n <BudgetListGroup :budgetLimits=budgetLimits.daily :title=\"$t('firefly.daily_budgets')\"\n />\n </div>\n <div v-if=\"budgetLimits.weekly.length > 0\" class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n <BudgetListGroup :budgetLimits=budgetLimits.weekly :title=\"$t('firefly.weekly_budgets')\"\n />\n </div>\n <div v-if=\"budgetLimits.monthly.length > 0\" class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n <BudgetListGroup :budgetLimits=budgetLimits.monthly :title=\"$t('firefly.monthly_budgets')\"\n />\n </div>\n <div v-if=\"budgetLimits.quarterly.length > 0\" class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n <BudgetListGroup :budgetLimits=budgetLimits.quarterly :title=\"$t('firefly.quarterly_budgets')\"\n />\n </div>\n <div v-if=\"budgetLimits.half_year.length > 0\" class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n <BudgetListGroup :budgetLimits=budgetLimits.half_year :title=\"$t('firefly.half_year_budgets')\"\n />\n </div>\n <div v-if=\"budgetLimits.yearly.length > 0\" class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n <BudgetListGroup :budgetLimits=budgetLimits.yearly :title=\"$t('firefly.yearly_budgets')\"\n />\n </div>\n <div v-if=\"budgetLimits.other.length > 0 || rawBudgets.length > 0\" class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n <BudgetListGroup :budgetLimits=budgetLimits.other :budgets=\"rawBudgets\" :title=\"$t('firefly.other_budgets')\"\n />\n </div>\n </div>\n <div v-if=\"loading && !error\" class=\"row\">\n <div class=\"col\">\n <div class=\"card\">\n <div class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-spinner fa-spin\"></i>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport BudgetListGroup from \"./BudgetListGroup\";\nimport {createNamespacedHelpers} from \"vuex\";\nimport format from \"date-fns/format\";\n\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\n\nexport default {\n name: \"MainBudgetList\",\n components: {BudgetListGroup},\n data() {\n return {\n budgetList: ['daily', 'weekly', 'monthly', 'quarterly', 'half_year', 'yearly', 'other'],\n budgetLimits: {\n daily: [],\n weekly: [],\n monthly: [],\n quarterly: [],\n half_year: [],\n yearly: [],\n other: [],\n },\n budgets: {}, // used to collect some meta data.\n rawBudgets: [],\n locale: 'en-US',\n ready: false,\n loading: true,\n error: false\n }\n },\n created() {\n this.ready = true;\n this.locale = localStorage.locale ?? 'en-US';\n },\n watch: {\n datesReady: function (value) {\n if (true === value) {\n this.getBudgets();\n }\n },\n start: function () {\n if (false === this.loading) {\n this.getBudgets();\n }\n },\n end: function () {\n if (false === this.loading) {\n this.getBudgets();\n }\n },\n },\n computed: {\n ...mapGetters(['start', 'end']),\n 'datesReady': function () {\n return null !== this.start && null !== this.end && this.ready;\n }\n },\n methods:\n {\n getBudgets: function () {\n this.budgets = {};\n this.rawBudgets = [];\n this.budgetLimits = {\n daily: [],\n weekly: [],\n monthly: [],\n quarterly: [],\n half_year: [],\n yearly: [],\n other: [],\n };\n this.loading = true;\n // let startStr = this.start.toISOString().split('T')[0];\n // let endStr = this.end.toISOString().split('T')[0];\n let startStr = format(this.start, 'y-MM-dd');\n let endStr = format(this.end, 'y-MM-dd');\n axios.get('./api/v1/budgets?start=' + startStr + '&end=' + endStr)\n .then(response => {\n this.parseBudgets(response.data);\n }\n );\n },\n parseBudgets(data) {\n for (let i in data.data) {\n if (data.data.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = data.data[i];\n if (false === current.attributes.active) {\n // skip inactive budgets\n continue;\n }\n for (let ii in current.attributes.spent) {\n if (current.attributes.spent.hasOwnProperty(ii) && /^0$|^[1-9]\\d*$/.test(ii) && ii <= 4294967294) {\n let spentData = current.attributes.spent[ii];\n this.rawBudgets.push(\n {\n id: parseInt(current.id),\n name: current.attributes.name,\n currency_id: parseInt(spentData.currency_id),\n currency_code: spentData.currency_code,\n spent: spentData.sum\n }\n );\n //console.log('Added budget ' + current.attributes.name + ' (' + spentData.currency_code + ')');\n }\n }\n }\n }\n this.getBudgetLimits();\n },\n getBudgetLimits() {\n // let startStr = this.start.toISOString().split('T')[0];\n // let endStr = this.end.toISOString().split('T')[0];\n let startStr = format(this.start, 'y-MM-dd');\n let endStr = format(this.end, 'y-MM-dd');\n axios.get('./api/v1/budget-limits?start=' + startStr + '&end=' + endStr)\n .then(response => {\n this.parseBudgetLimits(response.data);\n this.loading = false;\n }\n );\n },\n parseBudgetLimits(data) {\n // collect budget meta data.\n for (let i in data.included) {\n if (data.included.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = data.included[i];\n let currentId = parseInt(current.id);\n this.budgets[currentId] =\n {\n id: currentId,\n name: current.attributes.name,\n };\n //console.log('Collected meta data: budget #' + currentId + ' is named ' + current.attributes.name);\n }\n }\n\n for (let i in data.data) {\n if (data.data.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = data.data[i];\n let currentId = parseInt(current.id);\n let budgetId = parseInt(current.attributes.budget_id);\n let currencyId = parseInt(current.attributes.currency_id);\n let spentFloat = parseFloat(current.attributes.spent);\n let spentFloatPos = parseFloat(current.attributes.spent) * -1;\n let amount = parseFloat(current.attributes.amount);\n let period = current.attributes.period ?? 'other';\n let pctGreen = 0;\n let pctOrange = 0;\n let pctRed = 0;\n //console.log('Collected \"' + period + '\" budget limit #' + currentId + ' (part of budget #' + budgetId + ')');\n //console.log('Spent ' + spentFloat + ' of ' + amount);\n\n // remove budget info from rawBudgets if it's there:\n this.filterBudgets(budgetId, currencyId);\n\n // spent within budget:\n if (0.0 !== spentFloat && spentFloatPos < amount) {\n pctGreen = (spentFloatPos / amount) * 100;\n }\n\n // spent over budget\n if (0.0 !== spentFloatPos && spentFloatPos > amount) {\n pctOrange = (spentFloatPos / amount) * 100;\n pctRed = 100 - pctOrange;\n }\n let obj = {\n id: currentId,\n amount: current.attributes.amount,\n budget_id: budgetId,\n budget_name: this.budgets[current.attributes.budget_id].name,\n currency_id: currencyId,\n currency_code: current.attributes.currency_code,\n period: current.attributes.period,\n start: new Date(current.attributes.start),\n end: new Date(current.attributes.end),\n spent: current.attributes.spent,\n pctGreen: pctGreen,\n pctOrange: pctOrange,\n pctRed: pctRed,\n };\n\n this.budgetLimits[period].push(obj);\n }\n }\n },\n\n filterBudgets(budgetId, currencyId) {\n for (let i in this.rawBudgets) {\n if (this.rawBudgets.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n if (this.rawBudgets[i].currency_id === currencyId && this.rawBudgets[i].id === budgetId) {\n //console.log('Budget ' + this.rawBudgets[i].name + ' with currency ' + this.rawBudgets[i].currency_code + ' will be removed in favor of a budget limit.');\n this.rawBudgets.splice(parseInt(i), 1);\n }\n }\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainBudgetList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainBudgetList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MainBudgetList.vue?vue&type=template&id=0ae2dcbe&scoped=true&\"\nimport script from \"./MainBudgetList.vue?vue&type=script&lang=js&\"\nexport * from \"./MainBudgetList.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 \"0ae2dcbe\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.loading)?_c('div',{staticClass:\"row\"},[(_vm.budgetLimits.daily.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"budgetLimits\":_vm.budgetLimits.daily,\"title\":_vm.$t('firefly.daily_budgets')}})],1):_vm._e(),_vm._v(\" \"),(_vm.budgetLimits.weekly.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"budgetLimits\":_vm.budgetLimits.weekly,\"title\":_vm.$t('firefly.weekly_budgets')}})],1):_vm._e(),_vm._v(\" \"),(_vm.budgetLimits.monthly.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"budgetLimits\":_vm.budgetLimits.monthly,\"title\":_vm.$t('firefly.monthly_budgets')}})],1):_vm._e(),_vm._v(\" \"),(_vm.budgetLimits.quarterly.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"budgetLimits\":_vm.budgetLimits.quarterly,\"title\":_vm.$t('firefly.quarterly_budgets')}})],1):_vm._e(),_vm._v(\" \"),(_vm.budgetLimits.half_year.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"budgetLimits\":_vm.budgetLimits.half_year,\"title\":_vm.$t('firefly.half_year_budgets')}})],1):_vm._e(),_vm._v(\" \"),(_vm.budgetLimits.yearly.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"budgetLimits\":_vm.budgetLimits.yearly,\"title\":_vm.$t('firefly.yearly_budgets')}})],1):_vm._e(),_vm._v(\" \"),(_vm.budgetLimits.other.length > 0 || _vm.rawBudgets.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"budgetLimits\":_vm.budgetLimits.other,\"budgets\":_vm.rawBudgets,\"title\":_vm.$t('firefly.other_budgets')}})],1):_vm._e()]):_vm._e(),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('div',{staticClass:\"row\"},[_vm._m(0)]):_vm._e()])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})])])])])}]\n\nexport { render, staticRenderFns }","<!--\n - MainCreditList.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">{{ $t('firefly.revenue_accounts') }}</h3>\n </div>\n <!-- body if loading -->\n <div v-if=\"loading && !error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-spinner fa-spin\"></i>\n </div>\n </div>\n <!-- body if error -->\n <div v-if=\"error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-exclamation-triangle text-danger\"></i>\n </div>\n </div>\n <!-- body if normal -->\n <div v-if=\"!loading && !error\" class=\"card-body table-responsive p-0\">\n <table class=\"table table-sm\">\n <caption style=\"display:none;\">{{ $t('firefly.revenue_accounts') }}</caption>\n <thead>\n <tr>\n <th scope=\"col\">{{ $t('firefly.account') }}</th>\n <th scope=\"col\">{{ $t('firefly.earned') }}</th>\n </tr>\n </thead>\n <tbody>\n <tr v-for=\"entry in income\">\n <td style=\"width:20%;\"><a :href=\"'./accounts/show/' + entry.id\">{{ entry.name }}</a></td>\n <td class=\"align-middle\">\n <div v-if=\"entry.pct > 0\" class=\"progress\">\n <div :aria-valuenow=\"entry.pct\" :style=\"{ width: entry.pct + '%'}\" aria-valuemax=\"100\"\n aria-valuemin=\"0\" class=\"progress-bar progress-bar-striped bg-success\"\n role=\"progressbar\">\n <span v-if=\"entry.pct > 20\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: entry.currency_code}).format(entry.difference_float) }}\n </span>\n </div>\n <span v-if=\"entry.pct <= 20\" style=\"line-height: 16px;\"> \n {{ Intl.NumberFormat(locale, {style: 'currency', currency: entry.currency_code}).format(entry.difference_float) }}\n </span>\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n <div class=\"card-footer\">\n <a class=\"btn btn-default button-sm\" href=\"./transactions/deposit\"><i class=\"far fa-money-bill-alt\"></i> {{ $t('firefly.go_to_deposits') }}</a>\n </div>\n </div>\n</template>\n\n<script>\n\nimport {createNamespacedHelpers} from \"vuex\";\nimport format from \"date-fns/format\";\n\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\n\n// TODO same as credit list but reversed\n\nexport default {\n name: \"MainCreditList\",\n data() {\n return {\n locale: 'en-US',\n income: [],\n max: 0,\n loading: true,\n error: false\n }\n },\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n this.ready = true;\n },\n computed: {\n ...mapGetters([\n 'start',\n 'end'\n ]),\n 'datesReady': function () {\n return null !== this.start && null !== this.end && this.ready;\n }\n },\n watch: {\n datesReady: function (value) {\n if (true === value) {\n this.getIncome();\n }\n },\n start: function () {\n if (false === this.loading) {\n this.getIncome();\n }\n },\n end: function () {\n if (false === this.loading) {\n this.getIncome();\n }\n },\n },\n methods: {\n getIncome() {\n this.loading = true;\n this.income = [];\n this.error = false;\n // let startStr = this.start.toISOString().split('T')[0];\n // let endStr = this.end.toISOString().split('T')[0];\n let startStr = format(this.start, 'y-MM-dd');\n let endStr = format(this.end, 'y-MM-dd');\n axios.get('./api/v1/insight/income/revenue?start=' + startStr + '&end=' + endStr)\n .then(response => {\n // do something with response.\n this.parseIncome(response.data);\n this.loading = false;\n }).catch(error => {\n this.error = true\n });\n },\n parseIncome(data) {\n for (let mainKey in data) {\n if (data.hasOwnProperty(mainKey)) {\n mainKey = parseInt(mainKey);\n // contains currency info and entries.\n let current = data[mainKey];\n current.pct = 0;\n this.max = current.difference_float > this.max ? current.difference_float : this.max;\n this.income.push(current);\n }\n }\n if (0 === this.max) {\n this.max = 1;\n }\n // now sort + pct:\n for (let i in this.income) {\n if (this.income.hasOwnProperty(i)) {\n let current = this.income[i];\n current.pct = (current.difference_float / this.max) * 100;\n this.income[i] = current;\n }\n }\n this.income.sort((a,b) => (a.pct > b.pct) ? -1 : ((b.pct > a.pct) ? 1 : 0));\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainCreditList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainCreditList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MainCreditList.vue?vue&type=template&id=b9de7dae&\"\nimport script from \"./MainCreditList.vue?vue&type=script&lang=js&\"\nexport * from \"./MainCreditList.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(_vm._s(_vm.$t('firefly.revenue_accounts')))])]),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(0)]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(1)]):_vm._e(),_vm._v(\" \"),(!_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body table-responsive p-0\"},[_c('table',{staticClass:\"table table-sm\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.revenue_accounts')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.account')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.earned')))])])]),_vm._v(\" \"),_c('tbody',_vm._l((_vm.income),function(entry){return _c('tr',[_c('td',{staticStyle:{\"width\":\"20%\"}},[_c('a',{attrs:{\"href\":'./accounts/show/' + entry.id}},[_vm._v(_vm._s(entry.name))])]),_vm._v(\" \"),_c('td',{staticClass:\"align-middle\"},[(entry.pct > 0)?_c('div',{staticClass:\"progress\"},[_c('div',{staticClass:\"progress-bar progress-bar-striped bg-success\",style:({ width: entry.pct + '%'}),attrs:{\"aria-valuenow\":entry.pct,\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\",\"role\":\"progressbar\"}},[(entry.pct > 20)?_c('span',[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: entry.currency_code}).format(entry.difference_float))+\"\\n \")]):_vm._e()]),_vm._v(\" \"),(entry.pct <= 20)?_c('span',{staticStyle:{\"line-height\":\"16px\"}},[_vm._v(\" \\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: entry.currency_code}).format(entry.difference_float))+\"\\n \")]):_vm._e()]):_vm._e()])])}),0)])]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"card-footer\"},[_c('a',{staticClass:\"btn btn-default button-sm\",attrs:{\"href\":\"./transactions/deposit\"}},[_c('i',{staticClass:\"far fa-money-bill-alt\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.go_to_deposits')))])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})])}]\n\nexport { render, staticRenderFns }","<!--\n - MainDebitList.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">{{ $t('firefly.expense_accounts') }}</h3>\n </div>\n <!-- body if loading -->\n <div v-if=\"loading && !error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-spinner fa-spin\"></i>\n </div>\n </div>\n <!-- body if error -->\n <div v-if=\"error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-exclamation-triangle text-danger\"></i>\n </div>\n </div>\n <!-- body if normal -->\n <div v-if=\"!loading && !error\" class=\"card-body table-responsive p-0\">\n <table class=\"table table-sm\">\n <caption style=\"display:none;\">{{ $t('firefly.expense_accounts') }}</caption>\n <thead>\n <tr>\n <th scope=\"col\">{{ $t('firefly.account') }}</th>\n <th scope=\"col\">{{ $t('firefly.spent') }}</th>\n </tr>\n </thead>\n <tbody>\n <tr v-for=\"entry in expenses\">\n <td style=\"width:20%;\"><a :href=\"'./accounts/show/' + entry.id\">{{ entry.name }}</a></td>\n <td class=\"align-middle\">\n <div v-if=\"entry.pct > 0\" class=\"progress\">\n <div :aria-valuenow=\"entry.pct\" :style=\"{ width: entry.pct + '%'}\" aria-valuemax=\"100\"\n aria-valuemin=\"0\" class=\"progress-bar progress-bar-striped bg-danger\"\n role=\"progressbar\">\n <span v-if=\"entry.pct > 20\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: entry.currency_code}).format(entry.difference_float) }}\n </span>\n </div>\n <span v-if=\"entry.pct <= 20\" style=\"line-height: 16px;\"> \n {{ Intl.NumberFormat(locale, {style: 'currency', currency: entry.currency_code}).format(entry.difference_float) }}\n </span>\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n <div class=\"card-footer\">\n <a class=\"btn btn-default button-sm\" href=\"./transactions/withdrawal\"><i class=\"far fa-money-bill-alt\"></i> {{ $t('firefly.go_to_withdrawals') }}</a>\n </div>\n </div>\n</template>\n\n<script>\n\nimport {createNamespacedHelpers} from \"vuex\";\nimport format from \"date-fns/format\";\n\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\n\n\nexport default {\n name: \"MainDebitList\",\n data() {\n return {\n locale: 'en-US',\n expenses: [],\n min: 0,\n loading: true,\n error: false\n }\n },\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n this.ready = true;\n },\n computed: {\n ...mapGetters([\n 'start',\n 'end'\n ]),\n 'datesReady': function () {\n return null !== this.start && null !== this.end && this.ready;\n }\n },\n watch: {\n datesReady: function (value) {\n if (true === value) {\n this.getExpenses();\n }\n },\n start: function () {\n if (false === this.loading) {\n this.getExpenses();\n }\n },\n end: function () {\n if (false === this.loading) {\n this.getExpenses();\n }\n },\n },\n methods: {\n getExpenses() {\n this.loading = true;\n this.error = false;\n this.expenses = [];\n // let startStr = this.start.toISOString().split('T')[0];\n // let endStr = this.end.toISOString().split('T')[0];\n let startStr = format(this.start, 'y-MM-dd');\n let endStr = format(this.end, 'y-MM-dd');\n axios.get('./api/v1/insight/expense/expense?start=' + startStr + '&end=' + endStr)\n .then(response => {\n // do something with response.\n this.parseExpenses(response.data);\n this.loading = false\n }).catch(error => {\n this.error = true\n });\n },\n parseExpenses(data) {\n for (let mainKey in data) {\n if (data.hasOwnProperty(mainKey) && /^0$|^[1-9]\\d*$/.test(mainKey) && mainKey <= 4294967294) {\n let current = data[mainKey];\n current.pct = 0;\n\n this.min = current.difference_float < this.min ? current.difference_float : this.min;\n this.expenses.push(current);\n }\n }\n\n if (0 === this.min) {\n this.min = -1;\n }\n // now sort + pct:\n for (let i in this.expenses) {\n if (this.expenses.hasOwnProperty(i)) {\n let current = this.expenses[i];\n current.pct = (current.difference_float*-1 / this.min*-1) * 100;\n this.expenses[i] = current;\n }\n }\n this.expenses.sort((a,b) => (a.pct > b.pct) ? -1 : ((b.pct > a.pct) ? 1 : 0));\n\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainDebitList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainDebitList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MainDebitList.vue?vue&type=template&id=55188dfd&\"\nimport script from \"./MainDebitList.vue?vue&type=script&lang=js&\"\nexport * from \"./MainDebitList.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(_vm._s(_vm.$t('firefly.expense_accounts')))])]),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(0)]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(1)]):_vm._e(),_vm._v(\" \"),(!_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body table-responsive p-0\"},[_c('table',{staticClass:\"table table-sm\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.expense_accounts')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.account')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.spent')))])])]),_vm._v(\" \"),_c('tbody',_vm._l((_vm.expenses),function(entry){return _c('tr',[_c('td',{staticStyle:{\"width\":\"20%\"}},[_c('a',{attrs:{\"href\":'./accounts/show/' + entry.id}},[_vm._v(_vm._s(entry.name))])]),_vm._v(\" \"),_c('td',{staticClass:\"align-middle\"},[(entry.pct > 0)?_c('div',{staticClass:\"progress\"},[_c('div',{staticClass:\"progress-bar progress-bar-striped bg-danger\",style:({ width: entry.pct + '%'}),attrs:{\"aria-valuenow\":entry.pct,\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\",\"role\":\"progressbar\"}},[(entry.pct > 20)?_c('span',[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: entry.currency_code}).format(entry.difference_float))+\"\\n \")]):_vm._e()]),_vm._v(\" \"),(entry.pct <= 20)?_c('span',{staticStyle:{\"line-height\":\"16px\"}},[_vm._v(\" \\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: entry.currency_code}).format(entry.difference_float))+\"\\n \")]):_vm._e()]):_vm._e()])])}),0)])]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"card-footer\"},[_c('a',{staticClass:\"btn btn-default button-sm\",attrs:{\"href\":\"./transactions/withdrawal\"}},[_c('i',{staticClass:\"far fa-money-bill-alt\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.go_to_withdrawals')))])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})])}]\n\nexport { render, staticRenderFns }","<!--\n - MainPiggyList.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">{{ $t('firefly.piggy_banks') }}</h3>\n </div>\n\n <!-- body if loading -->\n <div v-if=\"loading && !error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-spinner fa-spin\"></i>\n </div>\n </div>\n <!-- body if error -->\n <div v-if=\"error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-exclamation-triangle text-danger\"></i>\n </div>\n </div>\n <!-- body if normal -->\n <div v-if=\"!loading && !error\" class=\"card-body table-responsive p-0\">\n <table class=\"table table-striped\">\n <caption style=\"display:none;\">{{ $t('firefly.piggy_banks') }}</caption>\n <thead>\n <tr>\n <th scope=\"col\" style=\"width:35%;\">{{ $t('list.piggy_bank') }}</th>\n <th scope=\"col\" style=\"width:40%;\">{{ $t('list.percentage') }} <small>/ {{ $t('list.amount') }}</small></th>\n </tr>\n </thead>\n <tbody>\n <tr v-for=\"piggy in this.piggy_banks\">\n <td>\n <a :href=\"'./piggy-banks/show/' + piggy.id\" :title=\"piggy.attributes.name\">{{ piggy.attributes.name }}</a>\n <small v-if=\"piggy.attributes.object_group_title\" class=\"text-muted\">\n <br/>\n {{ piggy.attributes.object_group_title }}\n </small>\n </td>\n <td>\n <div class=\"progress-group\">\n <div class=\"progress progress-sm\">\n <div v-if=\"piggy.attributes.pct < 100\" :style=\"{'width': piggy.attributes.pct + '%'}\" class=\"progress-bar progress-bar-striped primary\"></div>\n <div v-if=\"100 === piggy.attributes.pct\" :style=\"{'width': piggy.attributes.pct + '%'}\"\n class=\"progress-bar progress-bar-striped bg-success\"></div>\n </div>\n </div>\n <span class=\"text-success\">\n {{\n Intl.NumberFormat(locale, {style: 'currency', currency: piggy.attributes.currency_code}).format(piggy.attributes.current_amount)\n }}\n </span>\n of\n <span class=\"text-success\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: piggy.attributes.currency_code\n }).format(piggy.attributes.target_amount)\n }}</span>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n <div class=\"card-footer\">\n <a class=\"btn btn-default button-sm\" href=\"./piggy-banks\"><i class=\"far fa-money-bill-alt\"></i> {{ $t('firefly.go_to_piggies') }}</a>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"MainPiggyList\",\n data() {\n return {\n piggy_banks: [],\n loading: true,\n error: false,\n locale: 'en-US'\n }\n },\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n axios.get('./api/v1/piggy_banks')\n .then(response => {\n this.loadPiggyBanks(response.data.data);\n this.loading = false;\n }\n ).catch(error => {\n this.error = true\n });\n },\n methods: {\n loadPiggyBanks(data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let piggy = data[key];\n if (0.0 !== parseFloat(piggy.attributes.left_to_save)) {\n piggy.attributes.pct = (parseFloat(piggy.attributes.current_amount) / parseFloat(piggy.attributes.target_amount)) * 100;\n this.piggy_banks.push(piggy);\n }\n }\n }\n this.piggy_banks.sort(function (a, b) {\n return b.attributes.pct - a.attributes.pct;\n });\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainPiggyList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainPiggyList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MainPiggyList.vue?vue&type=template&id=c17c9a5a&scoped=true&\"\nimport script from \"./MainPiggyList.vue?vue&type=script&lang=js&\"\nexport * from \"./MainPiggyList.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 \"c17c9a5a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(_vm._s(_vm.$t('firefly.piggy_banks')))])]),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(0)]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(1)]):_vm._e(),_vm._v(\" \"),(!_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body table-responsive p-0\"},[_c('table',{staticClass:\"table table-striped\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.piggy_banks')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{staticStyle:{\"width\":\"35%\"},attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('list.piggy_bank')))]),_vm._v(\" \"),_c('th',{staticStyle:{\"width\":\"40%\"},attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('list.percentage'))+\" \"),_c('small',[_vm._v(\"/ \"+_vm._s(_vm.$t('list.amount')))])])])]),_vm._v(\" \"),_c('tbody',_vm._l((this.piggy_banks),function(piggy){return _c('tr',[_c('td',[_c('a',{attrs:{\"href\":'./piggy-banks/show/' + piggy.id,\"title\":piggy.attributes.name}},[_vm._v(_vm._s(piggy.attributes.name))]),_vm._v(\" \"),(piggy.attributes.object_group_title)?_c('small',{staticClass:\"text-muted\"},[_c('br'),_vm._v(\"\\n \"+_vm._s(piggy.attributes.object_group_title)+\"\\n \")]):_vm._e()]),_vm._v(\" \"),_c('td',[_c('div',{staticClass:\"progress-group\"},[_c('div',{staticClass:\"progress progress-sm\"},[(piggy.attributes.pct < 100)?_c('div',{staticClass:\"progress-bar progress-bar-striped primary\",style:({'width': piggy.attributes.pct + '%'})}):_vm._e(),_vm._v(\" \"),(100 === piggy.attributes.pct)?_c('div',{staticClass:\"progress-bar progress-bar-striped bg-success\",style:({'width': piggy.attributes.pct + '%'})}):_vm._e()])]),_vm._v(\" \"),_c('span',{staticClass:\"text-success\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: piggy.attributes.currency_code}).format(piggy.attributes.current_amount))+\"\\n \")]),_vm._v(\"\\n of\\n \"),_c('span',{staticClass:\"text-success\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: piggy.attributes.currency_code\n }).format(piggy.attributes.target_amount)))])])])}),0)])]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"card-footer\"},[_c('a',{staticClass:\"btn btn-default button-sm\",attrs:{\"href\":\"./piggy-banks\"}},[_c('i',{staticClass:\"far fa-money-bill-alt\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.go_to_piggies')))])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})])}]\n\nexport { render, staticRenderFns }","<!--\n - TransactionListLarge.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <table class=\"table table-striped table-sm\">\n <caption style=\"display:none;\">{{ $t('firefly.transaction_table_description') }}</caption>\n <thead>\n <tr>\n <th class=\"text-left\" scope=\"col\">{{ $t('firefly.description') }}</th>\n <th scope=\"col\">{{ $t('firefly.opposing_account') }}</th>\n <th class=\"text-right\" scope=\"col\">{{ $t('firefly.amount') }}</th>\n <th scope=\"col\">{{ $t('firefly.category') }}</th>\n <th scope=\"col\">{{ $t('firefly.budget') }}</th>\n </tr>\n </thead>\n <tbody>\n <tr v-for=\"transaction in this.transactions\">\n <td>\n <a :href=\"'transactions/show/' + transaction.id \" :title=\"transaction.date\">\n <span v-if=\"transaction.attributes.transactions.length > 1\">{{ transaction.attributes.group_title }}</span>\n <span v-if=\"1===transaction.attributes.transactions.length\">{{ transaction.attributes.transactions[0].description }}</span>\n </a>\n </td>\n <td>\n <span v-for=\"tr in transaction.attributes.transactions\">\n <a v-if=\"'withdrawal' === tr.type\" :href=\"'accounts/show/' + tr.destination_id\">{{ tr.destination_name }}</a>\n <a v-if=\"'deposit' === tr.type\" :href=\"'accounts/show/' + tr.source_id\">{{ tr.source_name }}</a>\n <a v-if=\"'transfer' === tr.type && parseInt(tr.source_id) === account_id\" :href=\"'accounts/show/' + tr.destination_id\">{{ tr.destination_name }}</a>\n <a v-if=\"'transfer' === tr.type && parseInt(tr.destination_id) === account_id\" :href=\"'accounts/show/' + tr.source_id\">{{ tr.source_name }}</a>\n <br/>\n </span>\n </td>\n <td style=\"text-align:right;\">\n <span v-for=\"tr in transaction.attributes.transactions\">\n <span v-if=\"'withdrawal' === tr.type\" class=\"text-danger\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1) }}<br>\n </span>\n <span v-if=\"'deposit' === tr.type\" class=\"text-success\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount) }}<br>\n </span>\n <span v-if=\"'transfer' === tr.type && parseInt(tr.source_id) === account_id\" class=\"text-info\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1) }}<br>\n </span>\n <span v-if=\"'transfer' === tr.type && parseInt(tr.destination_id) === account_id\" class=\"text-info\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount) }}<br>\n </span>\n </span>\n </td>\n <td>\n <span v-for=\"tr in transaction.attributes.transactions\">\n <a v-if=\"0!==tr.category_id\" :href=\"'categories/show/' + tr.category_id\">{{ tr.category_name }}</a><br/>\n </span>\n </td>\n <td>\n <span v-for=\"tr in transaction.attributes.transactions\">\n <a v-if=\"0!==tr.budget_id\" :href=\"'budgets/show/' + tr.budget_id\">{{ tr.budget_name }}</a><br/>\n </span>\n </td>\n </tr>\n </tbody>\n </table>\n</template>\n\n<script>\nexport default {\n name: \"TransactionListLarge\",\n data() {\n return {\n locale: 'en-US'\n }\n },\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n },\n props: {\n transactions: {\n type: Array,\n default: function () {\n return [];\n }\n },\n account_id: {\n type: Number,\n default: function () {\n return 0;\n }\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionListLarge.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionListLarge.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionListLarge.vue?vue&type=template&id=6e420753&scoped=true&\"\nimport script from \"./TransactionListLarge.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionListLarge.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 \"6e420753\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('table',{staticClass:\"table table-striped table-sm\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.transaction_table_description')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{staticClass:\"text-left\",attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.description')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.opposing_account')))]),_vm._v(\" \"),_c('th',{staticClass:\"text-right\",attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.amount')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.category')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.budget')))])])]),_vm._v(\" \"),_c('tbody',_vm._l((this.transactions),function(transaction){return _c('tr',[_c('td',[_c('a',{attrs:{\"href\":'transactions/show/' + transaction.id,\"title\":transaction.date}},[(transaction.attributes.transactions.length > 1)?_c('span',[_vm._v(_vm._s(transaction.attributes.group_title))]):_vm._e(),_vm._v(\" \"),(1===transaction.attributes.transactions.length)?_c('span',[_vm._v(_vm._s(transaction.attributes.transactions[0].description))]):_vm._e()])]),_vm._v(\" \"),_c('td',_vm._l((transaction.attributes.transactions),function(tr){return _c('span',[('withdrawal' === tr.type)?_c('a',{attrs:{\"href\":'accounts/show/' + tr.destination_id}},[_vm._v(_vm._s(tr.destination_name))]):_vm._e(),_vm._v(\" \"),('deposit' === tr.type)?_c('a',{attrs:{\"href\":'accounts/show/' + tr.source_id}},[_vm._v(_vm._s(tr.source_name))]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.source_id) === _vm.account_id)?_c('a',{attrs:{\"href\":'accounts/show/' + tr.destination_id}},[_vm._v(_vm._s(tr.destination_name))]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.destination_id) === _vm.account_id)?_c('a',{attrs:{\"href\":'accounts/show/' + tr.source_id}},[_vm._v(_vm._s(tr.source_name))]):_vm._e(),_vm._v(\" \"),_c('br')])}),0),_vm._v(\" \"),_c('td',{staticStyle:{\"text-align\":\"right\"}},_vm._l((transaction.attributes.transactions),function(tr){return _c('span',[('withdrawal' === tr.type)?_c('span',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1))),_c('br')]):_vm._e(),_vm._v(\" \"),('deposit' === tr.type)?_c('span',{staticClass:\"text-success\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount))),_c('br')]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.source_id) === _vm.account_id)?_c('span',{staticClass:\"text-info\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1))),_c('br')]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.destination_id) === _vm.account_id)?_c('span',{staticClass:\"text-info\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount))),_c('br')]):_vm._e()])}),0),_vm._v(\" \"),_c('td',_vm._l((transaction.attributes.transactions),function(tr){return _c('span',[(0!==tr.category_id)?_c('a',{attrs:{\"href\":'categories/show/' + tr.category_id}},[_vm._v(_vm._s(tr.category_name))]):_vm._e(),_c('br')])}),0),_vm._v(\" \"),_c('td',_vm._l((transaction.attributes.transactions),function(tr){return _c('span',[(0!==tr.budget_id)?_c('a',{attrs:{\"href\":'budgets/show/' + tr.budget_id}},[_vm._v(_vm._s(tr.budget_name))]):_vm._e(),_c('br')])}),0)])}),0)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionListMedium.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <table class=\"table table-striped table-sm\">\n <caption style=\"display:none;\">{{ $t('firefly.transaction_table_description') }}</caption>\n <thead>\n <tr>\n <th class=\"text-left\" scope=\"col\">{{ $t('firefly.description') }}</th>\n <th scope=\"col\">{{ $t('firefly.opposing_account') }}</th>\n <th class=\"text-right\" scope=\"col\">{{ $t('firefly.amount') }}</th>\n </tr>\n </thead>\n <tbody>\n <tr v-for=\"transaction in this.transactions\">\n <td>\n <a :href=\"'transactions/show/' + transaction.id \" :title=\"transaction.date\">\n <span v-if=\"transaction.attributes.transactions.length > 1\">{{ transaction.attributes.group_title }}</span>\n <span v-if=\"1===transaction.attributes.transactions.length\">{{ transaction.attributes.transactions[0].description }}</span>\n </a>\n </td>\n <td>\n <span v-for=\"tr in transaction.attributes.transactions\">\n <a v-if=\"'withdrawal' === tr.type\" :href=\"'accounts/show/' + tr.destination_id\">{{ tr.destination_name }}</a>\n <a v-if=\"'deposit' === tr.type\" :href=\"'accounts/show/' + tr.source_id\">{{ tr.source_name }}</a>\n <a v-if=\"'transfer' === tr.type && parseInt(tr.source_id) === account_id\" :href=\"'accounts/show/' + tr.destination_id\">{{ tr.destination_name }}</a>\n <a v-if=\"'transfer' === tr.type && parseInt(tr.destination_id) === account_id\" :href=\"'accounts/show/' + tr.source_id\">{{ tr.source_name }}</a>\n <br/>\n </span>\n </td>\n <td style=\"text-align:right;\">\n <span v-for=\"tr in transaction.attributes.transactions\">\n <span v-if=\"'withdrawal' === tr.type\" class=\"text-danger\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1) }}<br>\n </span>\n <span v-if=\"'deposit' === tr.type\" class=\"text-success\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount) }}<br>\n </span>\n <span v-if=\"'transfer' === tr.type && parseInt(tr.source_id) === account_id\" class=\"text-info\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1) }}<br>\n </span>\n <span v-if=\"'transfer' === tr.type && parseInt(tr.destination_id) === account_id\" class=\"text-info\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount) }}<br>\n </span>\n </span>\n </td>\n </tr>\n </tbody>\n </table>\n</template>\n\n<script>\nexport default {\n name: \"TransactionListMedium\",\n data() {\n return {\n locale: 'en-US'\n }\n },\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n },\n props: {\n transactions: {\n type: Array,\n default: function () {\n return [];\n }\n },\n account_id: {\n type: Number,\n default: function () {\n return 0;\n }\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionListMedium.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionListMedium.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionListMedium.vue?vue&type=template&id=0d4f7042&scoped=true&\"\nimport script from \"./TransactionListMedium.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionListMedium.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 \"0d4f7042\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('table',{staticClass:\"table table-striped table-sm\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.transaction_table_description')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{staticClass:\"text-left\",attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.description')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.opposing_account')))]),_vm._v(\" \"),_c('th',{staticClass:\"text-right\",attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.amount')))])])]),_vm._v(\" \"),_c('tbody',_vm._l((this.transactions),function(transaction){return _c('tr',[_c('td',[_c('a',{attrs:{\"href\":'transactions/show/' + transaction.id,\"title\":transaction.date}},[(transaction.attributes.transactions.length > 1)?_c('span',[_vm._v(_vm._s(transaction.attributes.group_title))]):_vm._e(),_vm._v(\" \"),(1===transaction.attributes.transactions.length)?_c('span',[_vm._v(_vm._s(transaction.attributes.transactions[0].description))]):_vm._e()])]),_vm._v(\" \"),_c('td',_vm._l((transaction.attributes.transactions),function(tr){return _c('span',[('withdrawal' === tr.type)?_c('a',{attrs:{\"href\":'accounts/show/' + tr.destination_id}},[_vm._v(_vm._s(tr.destination_name))]):_vm._e(),_vm._v(\" \"),('deposit' === tr.type)?_c('a',{attrs:{\"href\":'accounts/show/' + tr.source_id}},[_vm._v(_vm._s(tr.source_name))]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.source_id) === _vm.account_id)?_c('a',{attrs:{\"href\":'accounts/show/' + tr.destination_id}},[_vm._v(_vm._s(tr.destination_name))]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.destination_id) === _vm.account_id)?_c('a',{attrs:{\"href\":'accounts/show/' + tr.source_id}},[_vm._v(_vm._s(tr.source_name))]):_vm._e(),_vm._v(\" \"),_c('br')])}),0),_vm._v(\" \"),_c('td',{staticStyle:{\"text-align\":\"right\"}},_vm._l((transaction.attributes.transactions),function(tr){return _c('span',[('withdrawal' === tr.type)?_c('span',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1))),_c('br')]):_vm._e(),_vm._v(\" \"),('deposit' === tr.type)?_c('span',{staticClass:\"text-success\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount))),_c('br')]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.source_id) === _vm.account_id)?_c('span',{staticClass:\"text-info\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1))),_c('br')]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.destination_id) === _vm.account_id)?_c('span',{staticClass:\"text-info\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount))),_c('br')]):_vm._e()])}),0)])}),0)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionListSmall.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <table class=\"table table-striped table-sm\">\n <caption style=\"display:none;\">{{ $t('firefly.transaction_table_description') }}</caption>\n <thead>\n <tr>\n <th class=\"text-left\" scope=\"col\">{{ $t('firefly.description') }}</th>\n <th class=\"text-right\" scope=\"col\">{{ $t('firefly.amount') }}</th>\n </tr>\n </thead>\n <tbody>\n <tr v-for=\"transaction in this.transactions\">\n <td>\n <a :href=\"'transactions/show/' + transaction.id \"\n :title=\"new Intl.DateTimeFormat(locale, { year: 'numeric', month: 'long', day: 'numeric' }).format(new Date(transaction.attributes.transactions[0].date))\">\n <span v-if=\"transaction.attributes.transactions.length > 1\">{{ transaction.attributes.group_title }}</span>\n <span v-if=\"1===transaction.attributes.transactions.length\">{{ transaction.attributes.transactions[0].description }}</span>\n </a>\n </td>\n <td style=\"text-align:right;\">\n <span v-for=\"tr in transaction.attributes.transactions\">\n <span v-if=\"'withdrawal' === tr.type\" class=\"text-danger\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1) }}<br>\n </span>\n <span v-if=\"'deposit' === tr.type\" class=\"text-success\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount) }}<br>\n </span>\n <span v-if=\"'transfer' === tr.type && parseInt(tr.source_id) === account_id\" class=\"text-info\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1) }}<br>\n </span>\n <span v-if=\"'transfer' === tr.type && parseInt(tr.destination_id) === account_id\" class=\"text-info\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount) }}<br>\n </span>\n </span>\n </td>\n </tr>\n </tbody>\n </table>\n</template>\n\n<script>\nexport default {\n name: \"TransactionListSmall\",\n data() {\n return {\n locale: 'en-US'\n }\n },\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n },\n methods: {},\n props: {\n transactions: {\n type: Array,\n default: function () {\n return [];\n }\n },\n account_id: {\n type: Number,\n default: function () {\n return 0;\n }\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionListSmall.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionListSmall.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionListSmall.vue?vue&type=template&id=4cd7a656&scoped=true&\"\nimport script from \"./TransactionListSmall.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionListSmall.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 \"4cd7a656\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('table',{staticClass:\"table table-striped table-sm\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.transaction_table_description')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{staticClass:\"text-left\",attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.description')))]),_vm._v(\" \"),_c('th',{staticClass:\"text-right\",attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.amount')))])])]),_vm._v(\" \"),_c('tbody',_vm._l((this.transactions),function(transaction){return _c('tr',[_c('td',[_c('a',{attrs:{\"href\":'transactions/show/' + transaction.id,\"title\":new Intl.DateTimeFormat(_vm.locale, { year: 'numeric', month: 'long', day: 'numeric' }).format(new Date(transaction.attributes.transactions[0].date))}},[(transaction.attributes.transactions.length > 1)?_c('span',[_vm._v(_vm._s(transaction.attributes.group_title))]):_vm._e(),_vm._v(\" \"),(1===transaction.attributes.transactions.length)?_c('span',[_vm._v(_vm._s(transaction.attributes.transactions[0].description))]):_vm._e()])]),_vm._v(\" \"),_c('td',{staticStyle:{\"text-align\":\"right\"}},_vm._l((transaction.attributes.transactions),function(tr){return _c('span',[('withdrawal' === tr.type)?_c('span',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1))),_c('br')]):_vm._e(),_vm._v(\" \"),('deposit' === tr.type)?_c('span',{staticClass:\"text-success\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount))),_c('br')]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.source_id) === _vm.account_id)?_c('span',{staticClass:\"text-info\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1))),_c('br')]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.destination_id) === _vm.account_id)?_c('span',{staticClass:\"text-info\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount))),_c('br')]):_vm._e()])}),0)])}),0)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - MainCategoryList.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">{{ $t('firefly.categories') }}</h3>\n </div>\n <!-- body if loading -->\n <div v-if=\"loading && !error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-spinner fa-spin\"></i>\n </div>\n </div>\n <!-- body if error -->\n <div v-if=\"error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-exclamation-triangle text-danger\"></i>\n </div>\n </div>\n <!-- body if normal -->\n <div v-if=\"!loading && !error\" class=\"card-body table-responsive p-0\">\n <table class=\"table table-sm\">\n <caption style=\"display:none;\">{{ $t('firefly.categories') }}</caption>\n <thead>\n <tr>\n <th scope=\"col\">{{ $t('firefly.category') }}</th>\n <th scope=\"col\">{{ $t('firefly.spent') }} / {{ $t('firefly.earned') }}</th>\n </tr>\n </thead>\n <tbody>\n <tr v-for=\"category in sortedList\">\n <td style=\"width:20%;\">\n <a :href=\"'./categories/show/' + category.id\">{{ category.name }}</a>\n </td>\n <td class=\"align-middle\">\n <!-- SPENT -->\n <div v-if=\"category.spentPct > 0\" class=\"progress\">\n <div :aria-valuenow=\"category.spentPct\" :style=\"{ width: category.spentPct + '%'}\" aria-valuemax=\"100\"\n aria-valuemin=\"0\" class=\"progress-bar progress-bar-striped bg-danger\"\n role=\"progressbar\">\n <span v-if=\"category.spentPct > 20\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: category.currency_code}).format(category.spent) }}\n </span>\n </div>\n <span v-if=\"category.spentPct <= 20\" class=\"progress-label\" style=\"line-height: 16px;\"> \n {{ Intl.NumberFormat(locale, {style: 'currency', currency: category.currency_code}).format(category.spent) }}\n </span>\n\n </div>\n\n <!-- EARNED -->\n <div v-if=\"category.earnedPct > 0\" class=\"progress justify-content-end\" title=\"hello2\">\n <span v-if=\"category.earnedPct <= 20\" style=\"line-height: 16px;\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: category.currency_code}).format(category.earned) }}\n </span>\n <div :aria-valuenow=\"category.earnedPct\" :style=\"{ width: category.earnedPct + '%'}\" aria-valuemax=\"100\"\n aria-valuemin=\"0\" class=\"progress-bar progress-bar-striped bg-success\"\n role=\"progressbar\" title=\"hello\">\n <span v-if=\"category.earnedPct > 20\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: category.currency_code}).format(category.earned) }}\n </span>\n </div>\n </div>\n\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n</template>\n\n<script>\nimport {createNamespacedHelpers} from \"vuex\";\nimport format from \"date-fns/format\";\n\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\n\nexport default {\n name: \"MainCategoryList\",\n\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n this.ready = true;\n },\n data() {\n return {\n locale: 'en-US',\n categories: [],\n sortedList: [],\n spent: 0,\n earned: 0,\n loading: true,\n error: false\n }\n },\n computed: {\n ...mapGetters(['start', 'end']),\n 'datesReady': function () {\n return null !== this.start && null !== this.end && this.ready;\n }\n },\n watch: {\n datesReady: function (value) {\n if (true === value) {\n this.getCategories();\n }\n },\n start: function () {\n if (false === this.loading) {\n this.getCategories();\n }\n },\n end: function () {\n if (false === this.loading) {\n this.getCategories();\n }\n },\n },\n methods:\n {\n getCategories: function () {\n this.categories = [];\n this.sortedList = [];\n this.spent = 0;\n this.earned = 0;\n this.loading = true;\n // let startStr = this.start.toISOString().split('T')[0];\n // let endStr = this.end.toISOString().split('T')[0];\n let startStr = format(this.start, 'y-MM-dd');\n let endStr = format(this.end, 'y-MM-dd');\n this.getCategoryPage(startStr, endStr, 1);\n },\n getCategoryPage: function (start, end, page) {\n axios.get('./api/v1/categories?start=' + start + '&end=' + end + '&page=' + page)\n .then(response => {\n let categories = response.data.data;\n let currentPage = parseInt(response.data.meta.pagination.current_page);\n let totalPages = parseInt(response.data.meta.pagination.total_pages);\n this.parseCategories(categories);\n if (currentPage < totalPages) {\n let nextPage = currentPage + 1;\n this.getCategoryPage(start, end, nextPage);\n }\n if (currentPage === totalPages) {\n this.loading = false;\n this.sortCategories();\n }\n }\n ).catch(error => {\n this.error = true;\n });\n },\n parseCategories(data) {\n for (let i in data) {\n if (data.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = data[i];\n let entryKey = null;\n let categoryId = parseInt(current.id);\n\n // loop spent info:\n for (let ii in current.attributes.spent) {\n if (current.attributes.spent.hasOwnProperty(ii) && /^0$|^[1-9]\\d*$/.test(ii) && ii <= 4294967294) {\n let spentData = current.attributes.spent[ii];\n entryKey = spentData.currency_id + '-' + current.id;\n\n // does the categories list thing have this combo? if not, create it.\n this.categories[entryKey] = this.categories[entryKey] ??\n {\n id: categoryId,\n name: current.attributes.name,\n currency_code: spentData.currency_code,\n currency_symbol: spentData.currency_symbol,\n spent: 0,\n earned: 0,\n spentPct: 0,\n earnedPct: 0,\n };\n this.categories[entryKey].spent = parseFloat(spentData.sum);\n this.spent = parseFloat(spentData.sum) < this.spent ? parseFloat(spentData.sum) : this.spent;\n }\n }\n\n // loop earned info\n for (let ii in current.attributes.earned) {\n if (current.attributes.earned.hasOwnProperty(ii) && /^0$|^[1-9]\\d*$/.test(ii) && ii <= 4294967294) {\n let earnedData = current.attributes.earned[ii];\n entryKey = earnedData.currency_id + '-' + current.id;\n\n // does the categories list thing have this combo? if not, create it.\n this.categories[entryKey] = this.categories[entryKey] ??\n {\n id: categoryId,\n name: current.attributes.name,\n currency_code: earnedData.currency_code,\n currency_symbol: earnedData.currency_symbol,\n spent: 0,\n earned: 0,\n spentPct: 0,\n earnedPct: 0,\n };\n this.categories[entryKey].earned = parseFloat(earnedData.sum);\n this.earned = parseFloat(earnedData.sum) > this.earned ? parseFloat(earnedData.sum) : this.earned;\n }\n }\n }\n }\n },\n sortCategories() {\n // no longer care about keys:\n let array = [];\n for (let i in this.categories) {\n if (this.categories.hasOwnProperty(i)) {\n array.push(this.categories[i]);\n }\n }\n array.sort(function (one, two) {\n return (one.spent + one.earned) - (two.spent + two.earned);\n });\n for (let i in array) {\n if (array.hasOwnProperty(i)) {\n let current = array[i];\n current.spentPct = (current.spent / this.spent) * 100;\n current.earnedPct = (current.earned / this.earned) * 100;\n this.sortedList.push(current);\n }\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainCategoryList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainCategoryList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MainCategoryList.vue?vue&type=template&id=a33c44be&scoped=true&\"\nimport script from \"./MainCategoryList.vue?vue&type=script&lang=js&\"\nexport * from \"./MainCategoryList.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 \"a33c44be\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(_vm._s(_vm.$t('firefly.categories')))])]),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(0)]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(1)]):_vm._e(),_vm._v(\" \"),(!_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body table-responsive p-0\"},[_c('table',{staticClass:\"table table-sm\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.categories')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.category')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.spent'))+\" / \"+_vm._s(_vm.$t('firefly.earned')))])])]),_vm._v(\" \"),_c('tbody',_vm._l((_vm.sortedList),function(category){return _c('tr',[_c('td',{staticStyle:{\"width\":\"20%\"}},[_c('a',{attrs:{\"href\":'./categories/show/' + category.id}},[_vm._v(_vm._s(category.name))])]),_vm._v(\" \"),_c('td',{staticClass:\"align-middle\"},[(category.spentPct > 0)?_c('div',{staticClass:\"progress\"},[_c('div',{staticClass:\"progress-bar progress-bar-striped bg-danger\",style:({ width: category.spentPct + '%'}),attrs:{\"aria-valuenow\":category.spentPct,\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\",\"role\":\"progressbar\"}},[(category.spentPct > 20)?_c('span',[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: category.currency_code}).format(category.spent))+\"\\n \")]):_vm._e()]),_vm._v(\" \"),(category.spentPct <= 20)?_c('span',{staticClass:\"progress-label\",staticStyle:{\"line-height\":\"16px\"}},[_vm._v(\" \\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: category.currency_code}).format(category.spent))+\"\\n \")]):_vm._e()]):_vm._e(),_vm._v(\" \"),(category.earnedPct > 0)?_c('div',{staticClass:\"progress justify-content-end\",attrs:{\"title\":\"hello2\"}},[(category.earnedPct <= 20)?_c('span',{staticStyle:{\"line-height\":\"16px\"}},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: category.currency_code}).format(category.earned))+\"\\n \")]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"progress-bar progress-bar-striped bg-success\",style:({ width: category.earnedPct + '%'}),attrs:{\"aria-valuenow\":category.earnedPct,\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\",\"role\":\"progressbar\",\"title\":\"hello\"}},[(category.earnedPct > 20)?_c('span',[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: category.currency_code}).format(category.earned))+\"\\n \")]):_vm._e()])]):_vm._e()])])}),0)])]):_vm._e()])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})])}]\n\nexport { render, staticRenderFns }","/*\n * dashboard.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n\nimport Dashboard from '../components/dashboard/Dashboard';\nimport TopBoxes from '../components/dashboard/TopBoxes';\nimport MainAccount from '../components/dashboard/MainAccount';\nimport MainAccountList from '../components/dashboard/MainAccountList';\nimport MainBillsList from '../components/dashboard/MainBillsList';\nimport MainBudgetList from '../components/dashboard/MainBudgetList';\nimport MainCreditList from '../components/dashboard/MainCreditList';\nimport MainDebitList from '../components/dashboard/MainDebitList';\nimport MainPiggyList from '../components/dashboard/MainPiggyList';\nimport TransactionListLarge from '../components/transactions/TransactionListLarge';\nimport TransactionListMedium from '../components/transactions/TransactionListMedium';\nimport TransactionListSmall from '../components/transactions/TransactionListSmall';\nimport Calendar from '../components/dashboard/Calendar';\nimport MainCategoryList from '../components/dashboard/MainCategoryList';\nimport Vue from 'vue';\nimport Vuex from 'vuex'\nimport store from '../components/store';\n\n/**\n * First we will load Axios via bootstrap.js\n * jquery and bootstrap-sass preloaded in app.js\n * vue, uiv and vuei18n are in app_vue.js\n */\n\n// TODO pretty sure not all categories, budgets and other objects are picked up because they're paginated.\n\nrequire('../bootstrap');\nrequire('chart.js');\n\nVue.component('transaction-list-large', TransactionListLarge);\nVue.component('transaction-list-medium', TransactionListMedium);\nVue.component('transaction-list-small', TransactionListSmall);\n\n// components as an example\n\nVue.component('dashboard', Dashboard);\nVue.component('top-boxes', TopBoxes);\nVue.component('main-account', MainAccount);\nVue.component('main-account-list', MainAccountList);\nVue.component('main-bills-list', MainBillsList);\nVue.component('main-budget-list', MainBudgetList);\nVue.component('main-category-list', MainCategoryList);\nVue.component('main-debit-list', MainDebitList);\nVue.component('main-credit-list', MainCreditList);\nVue.component('main-piggy-list', MainPiggyList);\n\nVue.use(Vuex);\n\nlet i18n = require('../i18n');\nlet props = {};\n\nnew Vue({\n i18n,\n store,\n el: '#dashboard',\n render: (createElement) => {\n return createElement(Dashboard, {props: props});\n },\n beforeCreate() {\n // TODO migrate to \"root\" store.\n this.$store.commit('initialiseStore');\n this.$store.dispatch('updateCurrencyPreference');\n this.$store.dispatch('root/initialiseStore');\n this.$store.dispatch('dashboard/index/initialiseStore');\n },\n });\nnew Vue({\n i18n,\n store,\n el: \"#calendar\",\n render: (createElement) => {\n return createElement(Calendar, {props: props});\n },\n // TODO init store as well?\n });","/*\n * transactions.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nexport function getDefaultErrors() {\n return {\n description: [],\n amount: [],\n source: [],\n destination: [],\n currency: [],\n foreign_currency: [],\n foreign_amount: [],\n date: [],\n custom_dates: [],\n budget: [],\n category: [],\n bill: [],\n tags: [],\n piggy_bank: [],\n internal_reference: [],\n external_url: [],\n notes: [],\n location: []\n };\n}\n\nexport function getDefaultTransaction() {\n return {\n // basic\n description: '',\n transaction_journal_id: 0,\n // accounts:\n source_account_id: null,\n source_account_name: null,\n source_account_type: null,\n\n source_account_currency_id: null,\n source_account_currency_code: null,\n source_account_currency_symbol: null,\n\n destination_account_id: null,\n destination_account_name: null,\n destination_account_type: null,\n\n destination_account_currency_id: null,\n destination_account_currency_code: null,\n destination_account_currency_symbol: null,\n attachments: false,\n selectedAttachments: false,\n uploadTrigger: false,\n clearTrigger: false,\n\n source_account: {\n id: 0,\n name: \"\",\n name_with_balance: \"\",\n type: \"\",\n currency_id: 0,\n currency_name: '',\n currency_code: '',\n currency_decimal_places: 2\n },\n destination_account: {\n id: 0,\n name: \"\",\n type: \"\",\n currency_id: 0,\n currency_name: '',\n currency_code: '',\n currency_decimal_places: 2\n },\n\n // amount:\n amount: '',\n currency_id: 0,\n foreign_amount: '',\n foreign_currency_id: 0,\n\n // meta data\n category: null,\n budget_id: 0,\n bill_id: 0,\n piggy_bank_id: 0,\n tags: [],\n\n // optional date fields (6x):\n interest_date: null,\n book_date: null,\n process_date: null,\n due_date: null,\n payment_date: null,\n invoice_date: null,\n\n // optional other fields:\n internal_reference: null,\n external_url: null,\n external_id: null,\n notes: null,\n\n // transaction links:\n links: [],\n // location:\n zoom_level: null,\n longitude: null,\n latitude: null,\n\n // error handling\n errors: {},\n }\n}\n\nexport function toW3CString(date) {\n // https://gist.github.com/tristanlins/6585391\n let year = date.getFullYear();\n let month = date.getMonth();\n month++;\n if (month < 10) {\n month = '0' + month;\n }\n let day = date.getDate();\n if (day < 10) {\n day = '0' + day;\n }\n let hours = date.getHours();\n if (hours < 10) {\n hours = '0' + hours;\n }\n let minutes = date.getMinutes();\n if (minutes < 10) {\n minutes = '0' + minutes;\n }\n let seconds = date.getSeconds();\n if (seconds < 10) {\n seconds = '0' + seconds;\n }\n let offset = -date.getTimezoneOffset();\n let offsetHours = Math.abs(Math.floor(offset / 60));\n let offsetMinutes = Math.abs(offset) - offsetHours * 60;\n if (offsetHours < 10) {\n offsetHours = '0' + offsetHours;\n }\n if (offsetMinutes < 10) {\n offsetMinutes = '0' + offsetMinutes;\n }\n let offsetSign = '+';\n if (offset < 0) {\n offsetSign = '-';\n }\n return year + '-' + month + '-' + day +\n 'T' + hours + ':' + minutes + ':' + seconds +\n offsetSign + offsetHours + ':' + offsetMinutes;\n}","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/cssWithMappingToString.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".dropdown-item[data-v-391cacea],.dropdown-item[data-v-391cacea]:hover{color:#212529}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/dashboard/Calendar.vue\"],\"names\":[],\"mappings\":\"AAwlBA,sEACA,aACA\",\"sourcesContent\":[\"<!--\\n - Calendar.vue\\n - Copyright (c) 2020 [email protected]\\n -\\n - This file is part of Firefly III (https://github.com/firefly-iii).\\n -\\n - This program is free software: you can redistribute it and/or modify\\n - it under the terms of the GNU Affero General Public License as\\n - published by the Free Software Foundation, either version 3 of the\\n - License, or (at your option) any later version.\\n -\\n - This program is distributed in the hope that it will be useful,\\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\\n - GNU Affero General Public License for more details.\\n -\\n - You should have received a copy of the GNU Affero General Public License\\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\\n -->\\n\\n<template>\\n <div>\\n <div class=\\\"row\\\">\\n <div class=\\\"col\\\">Start</div>\\n <div class=\\\"col-8\\\">{{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(range.start) }}</div>\\n </div>\\n <div class=\\\"row\\\">\\n <div class=\\\"col\\\">End</div>\\n <div class=\\\"col-8\\\">{{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(range.end) }}</div>\\n </div>\\n <date-picker\\n v-model=\\\"range\\\"\\n :rows=\\\"2\\\"\\n is-range\\n mode=\\\"date\\\"\\n >\\n <template v-slot=\\\"{ inputValue, inputEvents, isDragging, togglePopover }\\\">\\n <div class=\\\"row\\\">\\n <div class=\\\"col\\\">\\n <div class=\\\"btn-group btn-group-sm d-flex\\\">\\n <button\\n :title=\\\"$t('firefly.custom_period')\\\" class=\\\"btn btn-secondary btn-sm\\\"\\n @click=\\\"togglePopover({ placement: 'auto-start', positionFixed: true })\\\"\\n ><i class=\\\"fas fa-calendar-alt\\\"></i></button>\\n <button :title=\\\"$t('firefly.reset_to_current')\\\"\\n class=\\\"btn btn-secondary\\\"\\n @click=\\\"resetDate\\\"\\n ><i class=\\\"fas fa-history\\\"></i></button>\\n <button id=\\\"dropdownMenuButton\\\" :title=\\\"$t('firefly.select_period')\\\" aria-expanded=\\\"false\\\" aria-haspopup=\\\"true\\\"\\n class=\\\"btn btn-secondary dropdown-toggle\\\"\\n data-toggle=\\\"dropdown\\\"\\n type=\\\"button\\\">\\n <i class=\\\"fas fa-list\\\"></i>\\n </button>\\n <div aria-labelledby=\\\"dropdownMenuButton\\\" class=\\\"dropdown-menu\\\">\\n <a v-for=\\\"period in periods\\\" class=\\\"dropdown-item\\\" href=\\\"#\\\" @click=\\\"customDate(period.start, period.end)\\\">{{ period.title }}</a>\\n </div>\\n\\n </div>\\n <input v-on=\\\"inputEvents.start\\\"\\n :class=\\\"isDragging ? 'text-gray-600' : 'text-gray-900'\\\"\\n :value=\\\"inputValue.start\\\"\\n type=\\\"hidden\\\"\\n />\\n <input v-on=\\\"inputEvents.end\\\"\\n :class=\\\"isDragging ? 'text-gray-600' : 'text-gray-900'\\\"\\n :value=\\\"inputValue.end\\\"\\n type=\\\"hidden\\\"\\n />\\n </div>\\n </div>\\n </template>\\n </date-picker>\\n </div>\\n</template>\\n\\n<script>\\n\\nimport {createNamespacedHelpers} from \\\"vuex\\\";\\nimport Vue from \\\"vue\\\";\\nimport DatePicker from \\\"v-calendar/lib/components/date-picker.umd\\\";\\nimport subDays from 'date-fns/subDays';\\nimport addDays from 'date-fns/addDays';\\nimport addMonths from 'date-fns/addMonths';\\nimport startOfDay from 'date-fns/startOfDay';\\nimport endOfDay from 'date-fns/endOfDay';\\nimport startOfWeek from 'date-fns/startOfWeek';\\nimport endOfWeek from 'date-fns/endOfWeek';\\nimport endOfMonth from 'date-fns/endOfMonth';\\nimport format from 'date-fns/format';\\nimport startOfQuarter from 'date-fns/startOfQuarter';\\nimport subMonths from 'date-fns/subMonths';\\nimport endOfQuarter from 'date-fns/endOfQuarter';\\nimport subQuarters from 'date-fns/subQuarters';\\nimport addQuarters from 'date-fns/addQuarters';\\nimport startOfMonth from 'date-fns/startOfMonth';\\n\\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\\n\\nVue.component('date-picker', DatePicker)\\n\\nexport default {\\n name: \\\"Calendar\\\",\\n created() {\\n this.ready = true;\\n this.locale = localStorage.locale ?? 'en-US';\\n },\\n data() {\\n return {\\n locale: 'en-US',\\n ready: false,\\n range: {\\n start: null,\\n end: null,\\n },\\n defaultRange: {\\n start: null,\\n end: null,\\n },\\n periods: []\\n };\\n },\\n methods: {\\n ...mapMutations(\\n [\\n 'setEnd',\\n 'setStart',\\n ],\\n ),\\n resetDate: function () {\\n //console.log('Reset date to');\\n //console.log(this.defaultStart);\\n //console.log(this.defaultEnd);\\n this.range.start = this.defaultStart;\\n this.range.end = this.defaultEnd;\\n this.setStart(this.defaultStart);\\n this.setEnd(this.defaultEnd);\\n },\\n customDate: function (startStr, endStr) {\\n let start = new Date(startStr);\\n let end = new Date(endStr);\\n this.setStart(start);\\n this.setEnd(end);\\n this.range.start = start;\\n this.range.end = end;\\n this.generatePeriods()\\n return false;\\n },\\n generateDaily: function () {\\n let today = new Date(this.range.start);\\n // yesterday\\n this.periods.push(\\n {\\n start: startOfDay(subDays(today, 1)).toDateString(),\\n end: endOfDay(subDays(today, 1)).toDateString(),\\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(subDays(today, 1))\\n }\\n );\\n\\n // today\\n this.periods.push(\\n {\\n start: startOfDay(today).toDateString(),\\n end: endOfDay(today).toDateString(),\\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(today)\\n }\\n );\\n\\n // tomorrow:\\n this.periods.push(\\n {\\n start: startOfDay(addDays(today, 1)).toDateString(),\\n end: endOfDay(addDays(today, 1)).toDateString(),\\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(addDays(today, 1))\\n }\\n );\\n\\n // The Day After Tomorrow dun-dun-dun!\\n this.periods.push(\\n {\\n start: startOfDay(addDays(today, 2)).toDateString(),\\n end: endOfDay(addDays(today, 2)).toDateString(),\\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(addDays(today, 2))\\n }\\n );\\n },\\n\\n generateWeekly: function () {\\n //console.log('weekly');\\n let today = new Date(this.range.start);\\n //console.log('Today is ' + today);\\n let start = startOfDay(startOfWeek(subDays(today, 7), {weekStartsOn: 1}));\\n let end = endOfDay(endOfWeek(subDays(today, 7), {weekStartsOn: 1}));\\n let dateFormat = this.$t('config.week_in_year_fns');\\n //console.log('Date format: \\\"'+dateFormat+'\\\"');\\n let title = format(start, dateFormat);\\n\\n // last week\\n // console.log('Last week');\\n // console.log(start);\\n // console.log(end);\\n // console.log(title);\\n this.periods.push(\\n {\\n start: start.toDateString(),\\n end: end.toDateString(),\\n title: title\\n }\\n );\\n\\n // this week\\n start = startOfDay(startOfWeek(today, {weekStartsOn: 1}));\\n end = endOfDay(endOfWeek(today, {weekStartsOn: 1}));\\n title = format(start, dateFormat);\\n // console.log('This week');\\n // console.log(start);\\n // console.log(end);\\n // console.log(title);\\n this.periods.push(\\n {\\n start: start.toDateString(),\\n end: end.toDateString(),\\n title: title\\n }\\n );\\n\\n // next week\\n start = startOfDay(startOfWeek(addDays(today, 7), {weekStartsOn: 1}));\\n end = endOfDay(endOfWeek(addDays(today, 7), {weekStartsOn: 1}));\\n title = format(start, dateFormat);\\n // console.log('Next week');\\n // console.log(start);\\n // console.log(end);\\n // console.log(title);\\n this.periods.push(\\n {\\n start: start.toDateString(),\\n end: end.toDateString(),\\n title: title\\n }\\n );\\n },\\n generateMonthly: function () {\\n let today = new Date(this.range.start);\\n // previous month\\n let start = startOfDay(startOfMonth(subMonths(today, 1)));\\n let end = endOfDay(endOfMonth(subMonths(today, 1)));\\n this.periods.push(\\n {\\n start: start.toDateString(),\\n end: end.toDateString(),\\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long'}).format(start)\\n }\\n );\\n\\n // this month\\n start = startOfDay(startOfMonth(today));\\n end = endOfDay(endOfMonth(today));\\n this.periods.push(\\n {\\n start: start.toDateString(),\\n end: end.toDateString(),\\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long'}).format(start)\\n }\\n );\\n\\n // next month\\n start = startOfDay(startOfMonth(addMonths(today, 1)));\\n end = endOfDay(endOfMonth(addMonths(today, 1)));\\n this.periods.push(\\n {\\n start: start.toDateString(),\\n end: end.toDateString(),\\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long'}).format(start)\\n }\\n );\\n\\n },\\n generateQuarterly: function () {\\n let today = new Date(this.range.start);\\n\\n // last quarter\\n let start = startOfDay(startOfQuarter(subQuarters(today, 1)));\\n let end = endOfDay(endOfQuarter(subQuarters(today, 1)));\\n let dateFormat = this.$t('config.quarter_fns');\\n let title = format(start, dateFormat);\\n\\n // last week\\n this.periods.push(\\n {\\n start: start.toDateString(),\\n end: end.toDateString(),\\n title: title\\n }\\n );\\n\\n\\n // this quarter\\n start = startOfDay(startOfQuarter(today));\\n end = endOfDay(endOfQuarter(today));\\n title = format(start, dateFormat);\\n\\n this.periods.push(\\n {\\n start: start.toDateString(),\\n end: end.toDateString(),\\n title: title\\n }\\n );\\n // next quarter\\n start = startOfDay(startOfQuarter(addQuarters(today, 1)));\\n end = endOfDay(endOfQuarter(addQuarters(today, 1)));\\n title = format(start, dateFormat);\\n\\n this.periods.push(\\n {\\n start: start.toDateString(),\\n end: end.toDateString(),\\n title: title\\n }\\n );\\n },\\n generateHalfYearly: function () {\\n let today = new Date(this.range.start);\\n let start;\\n let end;\\n let title = 'todo';\\n let half = 1;\\n\\n\\n // its currently first half of year:\\n if (today.getMonth() <= 5) {\\n // previous year, last half:\\n start = today;\\n start.setFullYear(start.getFullYear() - 1);\\n start.setMonth(6);\\n start.setDate(1);\\n start = startOfDay(start);\\n end = start;\\n end.setMonth(11);\\n end.setDate(31);\\n end = endOfDay(end);\\n half = 2;\\n title = format(start, this.$t('config.half_year_fns', {half: half}));\\n this.periods.push(\\n {\\n start: start.toDateString(),\\n end: end.toDateString(),\\n title: title\\n }\\n );\\n\\n // this year, first half:\\n start = today;\\n start.setMonth(0);\\n start.setDate(1);\\n start = startOfDay(start);\\n end = today;\\n end.setMonth(5);\\n end.setDate(30);\\n end = endOfDay(start);\\n half = 1;\\n title = format(start, this.$t('config.half_year_fns', {half: half}));\\n this.periods.push(\\n {\\n start: start.toDateString(),\\n end: end.toDateString(),\\n title: title\\n }\\n );\\n\\n // this year, second half:\\n start = today;\\n start.setMonth(6);\\n start.setDate(1);\\n start = startOfDay(start);\\n end = start;\\n end.setMonth(11);\\n end.setDate(31);\\n end = endOfDay(end);\\n half = 2;\\n title = format(start, this.$t('config.half_year_fns', {half: half}));\\n this.periods.push(\\n {\\n start: start.toDateString(),\\n end: end.toDateString(),\\n title: title\\n }\\n );\\n return;\\n }\\n // this year, first half:\\n start = today;\\n start.setMonth(0);\\n start.setDate(1);\\n start = startOfDay(start);\\n end = start;\\n end.setMonth(5);\\n end.setDate(30);\\n end = endOfDay(end);\\n half = 1;\\n title = format(start, this.$t('config.half_year_fns', {half: half}));\\n this.periods.push(\\n {\\n start: start.toDateString(),\\n end: end.toDateString(),\\n title: title\\n }\\n );\\n\\n // this year, current (second) half:\\n start = today;\\n start.setMonth(6);\\n start.setDate(1);\\n start = startOfDay(start);\\n end = today;\\n end.setMonth(11);\\n end.setDate(31);\\n end = endOfDay(start);\\n half = 2;\\n title = format(start, this.$t('config.half_year_fns', {half: half}));\\n this.periods.push(\\n {\\n start: start.toDateString(),\\n end: end.toDateString(),\\n title: title\\n }\\n );\\n\\n // next year, first half:\\n start = today;\\n start.setMonth(0);\\n start.setDate(1);\\n start = startOfDay(start);\\n end = start;\\n end.setMonth(5);\\n end.setDate(30);\\n end = endOfDay(end);\\n half = 1;\\n title = format(start, this.$t('config.half_year_fns', {half: half}));\\n this.periods.push(\\n {\\n start: start.toDateString(),\\n end: end.toDateString(),\\n title: title\\n }\\n );\\n },\\n generateYearly: function () {\\n let today = new Date(this.range.start);\\n let start;\\n let end;\\n let title;\\n\\n // last year\\n start = new Date(today);\\n start.setFullYear(start.getFullYear() - 1);\\n start.setMonth(0);\\n start.setDate(1);\\n start = startOfDay(start);\\n\\n end = new Date(today);\\n end.setFullYear(end.getFullYear() - 1);\\n end.setMonth(11);\\n end.setDate(31);\\n end = endOfDay(end);\\n\\n this.periods.push(\\n {\\n start: start.toDateString(),\\n end: end.toDateString(),\\n title: start.getFullYear()\\n }\\n );\\n\\n // this year\\n start = new Date(today);\\n start.setMonth(0);\\n start.setDate(1);\\n start = startOfDay(start);\\n\\n end = new Date(today);\\n end.setMonth(11);\\n end.setDate(31);\\n end = endOfDay(end);\\n\\n this.periods.push(\\n {\\n start: start.toDateString(),\\n end: end.toDateString(),\\n title: start.getFullYear()\\n }\\n );\\n // next year\\n start = new Date(today);\\n start.setFullYear(start.getFullYear() + 1);\\n start.setMonth(0);\\n start.setDate(1);\\n start = startOfDay(start);\\n\\n end = new Date(today);\\n end.setFullYear(end.getFullYear() + 1);\\n end.setMonth(11);\\n end.setDate(31);\\n end = endOfDay(end);\\n\\n this.periods.push(\\n {\\n start: start.toDateString(),\\n end: end.toDateString(),\\n title: start.getFullYear()\\n }\\n );\\n },\\n generatePeriods: function () {\\n this.periods = [];\\n //console.log('The view range is \\\"' + this.viewRange + '\\\".');\\n switch (this.viewRange) {\\n case '1D':\\n this.generateDaily();\\n break;\\n case '1W':\\n this.generateWeekly();\\n break;\\n case '1M':\\n this.generateMonthly();\\n break;\\n case '3M':\\n this.generateQuarterly();\\n break;\\n case '6M':\\n this.generateHalfYearly();\\n break;\\n case '1Y':\\n this.generateYearly();\\n break;\\n }\\n\\n\\n // last 7 days\\n let today = new Date;\\n let end = new Date;\\n end.setDate(end.getDate() - 7);\\n this.periods.push(\\n {\\n start: end.toDateString(),\\n end: today.toDateString(),\\n title: this.$t('firefly.last_seven_days')\\n }\\n );\\n\\n // last 30 days:\\n end.setDate(end.getDate() - 23);\\n this.periods.push(\\n {\\n start: end.toDateString(),\\n end: today.toDateString(),\\n title: this.$t('firefly.last_thirty_days')\\n }\\n );\\n // last 30 days\\n // everything\\n }\\n },\\n computed: {\\n ...mapGetters([\\n 'viewRange',\\n 'start',\\n 'end',\\n 'defaultStart',\\n 'defaultEnd'\\n ]),\\n 'datesReady': function () {\\n return null !== this.start && null !== this.end && this.ready;\\n },\\n },\\n watch: {\\n datesReady: function (value) {\\n if (false === value) {\\n return;\\n }\\n this.range.start = new Date(this.start);\\n this.range.end = new Date(this.end);\\n this.generatePeriods();\\n\\n },\\n range: function (value) {\\n //console.log('User updated range');\\n this.setStart(value.start);\\n this.setEnd(value.end);\\n }\\n }\\n}\\n</script>\\n\\n<style scoped>\\n.dropdown-item {\\n color: #212529;\\n}\\n\\n.dropdown-item:hover {\\n color: #212529;\\n}\\n</style>\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_vm._v(\"Start\")]),_vm._v(\" \"),_c('div',{staticClass:\"col-8\"},[_vm._v(_vm._s(new Intl.DateTimeFormat(_vm.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(_vm.range.start)))])]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_vm._v(\"End\")]),_vm._v(\" \"),_c('div',{staticClass:\"col-8\"},[_vm._v(_vm._s(new Intl.DateTimeFormat(_vm.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(_vm.range.end)))])]),_vm._v(\" \"),_c('date-picker',{attrs:{\"rows\":2,\"is-range\":\"\",\"mode\":\"date\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar inputValue = ref.inputValue;\nvar inputEvents = ref.inputEvents;\nvar isDragging = ref.isDragging;\nvar togglePopover = ref.togglePopover;\nreturn [_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"btn-group btn-group-sm d-flex\"},[_c('button',{staticClass:\"btn btn-secondary btn-sm\",attrs:{\"title\":_vm.$t('firefly.custom_period')},on:{\"click\":function($event){return togglePopover({ placement: 'auto-start', positionFixed: true })}}},[_c('i',{staticClass:\"fas fa-calendar-alt\"})]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-secondary\",attrs:{\"title\":_vm.$t('firefly.reset_to_current')},on:{\"click\":_vm.resetDate}},[_c('i',{staticClass:\"fas fa-history\"})]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-secondary dropdown-toggle\",attrs:{\"id\":\"dropdownMenuButton\",\"title\":_vm.$t('firefly.select_period'),\"aria-expanded\":\"false\",\"aria-haspopup\":\"true\",\"data-toggle\":\"dropdown\",\"type\":\"button\"}},[_c('i',{staticClass:\"fas fa-list\"})]),_vm._v(\" \"),_c('div',{staticClass:\"dropdown-menu\",attrs:{\"aria-labelledby\":\"dropdownMenuButton\"}},_vm._l((_vm.periods),function(period){return _c('a',{staticClass:\"dropdown-item\",attrs:{\"href\":\"#\"},on:{\"click\":function($event){return _vm.customDate(period.start, period.end)}}},[_vm._v(_vm._s(period.title))])}),0)]),_vm._v(\" \"),_c('input',_vm._g({class:isDragging ? 'text-gray-600' : 'text-gray-900',attrs:{\"type\":\"hidden\"},domProps:{\"value\":inputValue.start}},inputEvents.start)),_vm._v(\" \"),_c('input',_vm._g({class:isDragging ? 'text-gray-600' : 'text-gray-900',attrs:{\"type\":\"hidden\"},domProps:{\"value\":inputValue.end}},inputEvents.end))])])]}}]),model:{value:(_vm.range),callback:function ($$v) {_vm.range=$$v},expression:\"range\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - Calendar.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div>\n <div class=\"row\">\n <div class=\"col\">Start</div>\n <div class=\"col-8\">{{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(range.start) }}</div>\n </div>\n <div class=\"row\">\n <div class=\"col\">End</div>\n <div class=\"col-8\">{{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(range.end) }}</div>\n </div>\n <date-picker\n v-model=\"range\"\n :rows=\"2\"\n is-range\n mode=\"date\"\n >\n <template v-slot=\"{ inputValue, inputEvents, isDragging, togglePopover }\">\n <div class=\"row\">\n <div class=\"col\">\n <div class=\"btn-group btn-group-sm d-flex\">\n <button\n :title=\"$t('firefly.custom_period')\" class=\"btn btn-secondary btn-sm\"\n @click=\"togglePopover({ placement: 'auto-start', positionFixed: true })\"\n ><i class=\"fas fa-calendar-alt\"></i></button>\n <button :title=\"$t('firefly.reset_to_current')\"\n class=\"btn btn-secondary\"\n @click=\"resetDate\"\n ><i class=\"fas fa-history\"></i></button>\n <button id=\"dropdownMenuButton\" :title=\"$t('firefly.select_period')\" aria-expanded=\"false\" aria-haspopup=\"true\"\n class=\"btn btn-secondary dropdown-toggle\"\n data-toggle=\"dropdown\"\n type=\"button\">\n <i class=\"fas fa-list\"></i>\n </button>\n <div aria-labelledby=\"dropdownMenuButton\" class=\"dropdown-menu\">\n <a v-for=\"period in periods\" class=\"dropdown-item\" href=\"#\" @click=\"customDate(period.start, period.end)\">{{ period.title }}</a>\n </div>\n\n </div>\n <input v-on=\"inputEvents.start\"\n :class=\"isDragging ? 'text-gray-600' : 'text-gray-900'\"\n :value=\"inputValue.start\"\n type=\"hidden\"\n />\n <input v-on=\"inputEvents.end\"\n :class=\"isDragging ? 'text-gray-600' : 'text-gray-900'\"\n :value=\"inputValue.end\"\n type=\"hidden\"\n />\n </div>\n </div>\n </template>\n </date-picker>\n </div>\n</template>\n\n<script>\n\nimport {createNamespacedHelpers} from \"vuex\";\nimport Vue from \"vue\";\nimport DatePicker from \"v-calendar/lib/components/date-picker.umd\";\nimport subDays from 'date-fns/subDays';\nimport addDays from 'date-fns/addDays';\nimport addMonths from 'date-fns/addMonths';\nimport startOfDay from 'date-fns/startOfDay';\nimport endOfDay from 'date-fns/endOfDay';\nimport startOfWeek from 'date-fns/startOfWeek';\nimport endOfWeek from 'date-fns/endOfWeek';\nimport endOfMonth from 'date-fns/endOfMonth';\nimport format from 'date-fns/format';\nimport startOfQuarter from 'date-fns/startOfQuarter';\nimport subMonths from 'date-fns/subMonths';\nimport endOfQuarter from 'date-fns/endOfQuarter';\nimport subQuarters from 'date-fns/subQuarters';\nimport addQuarters from 'date-fns/addQuarters';\nimport startOfMonth from 'date-fns/startOfMonth';\n\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\n\nVue.component('date-picker', DatePicker)\n\nexport default {\n name: \"Calendar\",\n created() {\n this.ready = true;\n this.locale = localStorage.locale ?? 'en-US';\n },\n data() {\n return {\n locale: 'en-US',\n ready: false,\n range: {\n start: null,\n end: null,\n },\n defaultRange: {\n start: null,\n end: null,\n },\n periods: []\n };\n },\n methods: {\n ...mapMutations(\n [\n 'setEnd',\n 'setStart',\n ],\n ),\n resetDate: function () {\n //console.log('Reset date to');\n //console.log(this.defaultStart);\n //console.log(this.defaultEnd);\n this.range.start = this.defaultStart;\n this.range.end = this.defaultEnd;\n this.setStart(this.defaultStart);\n this.setEnd(this.defaultEnd);\n },\n customDate: function (startStr, endStr) {\n let start = new Date(startStr);\n let end = new Date(endStr);\n this.setStart(start);\n this.setEnd(end);\n this.range.start = start;\n this.range.end = end;\n this.generatePeriods()\n return false;\n },\n generateDaily: function () {\n let today = new Date(this.range.start);\n // yesterday\n this.periods.push(\n {\n start: startOfDay(subDays(today, 1)).toDateString(),\n end: endOfDay(subDays(today, 1)).toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(subDays(today, 1))\n }\n );\n\n // today\n this.periods.push(\n {\n start: startOfDay(today).toDateString(),\n end: endOfDay(today).toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(today)\n }\n );\n\n // tomorrow:\n this.periods.push(\n {\n start: startOfDay(addDays(today, 1)).toDateString(),\n end: endOfDay(addDays(today, 1)).toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(addDays(today, 1))\n }\n );\n\n // The Day After Tomorrow dun-dun-dun!\n this.periods.push(\n {\n start: startOfDay(addDays(today, 2)).toDateString(),\n end: endOfDay(addDays(today, 2)).toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(addDays(today, 2))\n }\n );\n },\n\n generateWeekly: function () {\n //console.log('weekly');\n let today = new Date(this.range.start);\n //console.log('Today is ' + today);\n let start = startOfDay(startOfWeek(subDays(today, 7), {weekStartsOn: 1}));\n let end = endOfDay(endOfWeek(subDays(today, 7), {weekStartsOn: 1}));\n let dateFormat = this.$t('config.week_in_year_fns');\n //console.log('Date format: \"'+dateFormat+'\"');\n let title = format(start, dateFormat);\n\n // last week\n // console.log('Last week');\n // console.log(start);\n // console.log(end);\n // console.log(title);\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n\n // this week\n start = startOfDay(startOfWeek(today, {weekStartsOn: 1}));\n end = endOfDay(endOfWeek(today, {weekStartsOn: 1}));\n title = format(start, dateFormat);\n // console.log('This week');\n // console.log(start);\n // console.log(end);\n // console.log(title);\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n\n // next week\n start = startOfDay(startOfWeek(addDays(today, 7), {weekStartsOn: 1}));\n end = endOfDay(endOfWeek(addDays(today, 7), {weekStartsOn: 1}));\n title = format(start, dateFormat);\n // console.log('Next week');\n // console.log(start);\n // console.log(end);\n // console.log(title);\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n },\n generateMonthly: function () {\n let today = new Date(this.range.start);\n // previous month\n let start = startOfDay(startOfMonth(subMonths(today, 1)));\n let end = endOfDay(endOfMonth(subMonths(today, 1)));\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long'}).format(start)\n }\n );\n\n // this month\n start = startOfDay(startOfMonth(today));\n end = endOfDay(endOfMonth(today));\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long'}).format(start)\n }\n );\n\n // next month\n start = startOfDay(startOfMonth(addMonths(today, 1)));\n end = endOfDay(endOfMonth(addMonths(today, 1)));\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long'}).format(start)\n }\n );\n\n },\n generateQuarterly: function () {\n let today = new Date(this.range.start);\n\n // last quarter\n let start = startOfDay(startOfQuarter(subQuarters(today, 1)));\n let end = endOfDay(endOfQuarter(subQuarters(today, 1)));\n let dateFormat = this.$t('config.quarter_fns');\n let title = format(start, dateFormat);\n\n // last week\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n\n\n // this quarter\n start = startOfDay(startOfQuarter(today));\n end = endOfDay(endOfQuarter(today));\n title = format(start, dateFormat);\n\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n // next quarter\n start = startOfDay(startOfQuarter(addQuarters(today, 1)));\n end = endOfDay(endOfQuarter(addQuarters(today, 1)));\n title = format(start, dateFormat);\n\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n },\n generateHalfYearly: function () {\n let today = new Date(this.range.start);\n let start;\n let end;\n let title = 'todo';\n let half = 1;\n\n\n // its currently first half of year:\n if (today.getMonth() <= 5) {\n // previous year, last half:\n start = today;\n start.setFullYear(start.getFullYear() - 1);\n start.setMonth(6);\n start.setDate(1);\n start = startOfDay(start);\n end = start;\n end.setMonth(11);\n end.setDate(31);\n end = endOfDay(end);\n half = 2;\n title = format(start, this.$t('config.half_year_fns', {half: half}));\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n\n // this year, first half:\n start = today;\n start.setMonth(0);\n start.setDate(1);\n start = startOfDay(start);\n end = today;\n end.setMonth(5);\n end.setDate(30);\n end = endOfDay(start);\n half = 1;\n title = format(start, this.$t('config.half_year_fns', {half: half}));\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n\n // this year, second half:\n start = today;\n start.setMonth(6);\n start.setDate(1);\n start = startOfDay(start);\n end = start;\n end.setMonth(11);\n end.setDate(31);\n end = endOfDay(end);\n half = 2;\n title = format(start, this.$t('config.half_year_fns', {half: half}));\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n return;\n }\n // this year, first half:\n start = today;\n start.setMonth(0);\n start.setDate(1);\n start = startOfDay(start);\n end = start;\n end.setMonth(5);\n end.setDate(30);\n end = endOfDay(end);\n half = 1;\n title = format(start, this.$t('config.half_year_fns', {half: half}));\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n\n // this year, current (second) half:\n start = today;\n start.setMonth(6);\n start.setDate(1);\n start = startOfDay(start);\n end = today;\n end.setMonth(11);\n end.setDate(31);\n end = endOfDay(start);\n half = 2;\n title = format(start, this.$t('config.half_year_fns', {half: half}));\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n\n // next year, first half:\n start = today;\n start.setMonth(0);\n start.setDate(1);\n start = startOfDay(start);\n end = start;\n end.setMonth(5);\n end.setDate(30);\n end = endOfDay(end);\n half = 1;\n title = format(start, this.$t('config.half_year_fns', {half: half}));\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n },\n generateYearly: function () {\n let today = new Date(this.range.start);\n let start;\n let end;\n let title;\n\n // last year\n start = new Date(today);\n start.setFullYear(start.getFullYear() - 1);\n start.setMonth(0);\n start.setDate(1);\n start = startOfDay(start);\n\n end = new Date(today);\n end.setFullYear(end.getFullYear() - 1);\n end.setMonth(11);\n end.setDate(31);\n end = endOfDay(end);\n\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: start.getFullYear()\n }\n );\n\n // this year\n start = new Date(today);\n start.setMonth(0);\n start.setDate(1);\n start = startOfDay(start);\n\n end = new Date(today);\n end.setMonth(11);\n end.setDate(31);\n end = endOfDay(end);\n\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: start.getFullYear()\n }\n );\n // next year\n start = new Date(today);\n start.setFullYear(start.getFullYear() + 1);\n start.setMonth(0);\n start.setDate(1);\n start = startOfDay(start);\n\n end = new Date(today);\n end.setFullYear(end.getFullYear() + 1);\n end.setMonth(11);\n end.setDate(31);\n end = endOfDay(end);\n\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: start.getFullYear()\n }\n );\n },\n generatePeriods: function () {\n this.periods = [];\n //console.log('The view range is \"' + this.viewRange + '\".');\n switch (this.viewRange) {\n case '1D':\n this.generateDaily();\n break;\n case '1W':\n this.generateWeekly();\n break;\n case '1M':\n this.generateMonthly();\n break;\n case '3M':\n this.generateQuarterly();\n break;\n case '6M':\n this.generateHalfYearly();\n break;\n case '1Y':\n this.generateYearly();\n break;\n }\n\n\n // last 7 days\n let today = new Date;\n let end = new Date;\n end.setDate(end.getDate() - 7);\n this.periods.push(\n {\n start: end.toDateString(),\n end: today.toDateString(),\n title: this.$t('firefly.last_seven_days')\n }\n );\n\n // last 30 days:\n end.setDate(end.getDate() - 23);\n this.periods.push(\n {\n start: end.toDateString(),\n end: today.toDateString(),\n title: this.$t('firefly.last_thirty_days')\n }\n );\n // last 30 days\n // everything\n }\n },\n computed: {\n ...mapGetters([\n 'viewRange',\n 'start',\n 'end',\n 'defaultStart',\n 'defaultEnd'\n ]),\n 'datesReady': function () {\n return null !== this.start && null !== this.end && this.ready;\n },\n },\n watch: {\n datesReady: function (value) {\n if (false === value) {\n return;\n }\n this.range.start = new Date(this.start);\n this.range.end = new Date(this.end);\n this.generatePeriods();\n\n },\n range: function (value) {\n //console.log('User updated range');\n this.setStart(value.start);\n this.setEnd(value.end);\n }\n }\n}\n</script>\n\n<style scoped>\n.dropdown-item {\n color: #212529;\n}\n\n.dropdown-item:hover {\n color: #212529;\n}\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Calendar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Calendar.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Calendar.vue?vue&type=template&id=391cacea&scoped=true&\"\nimport script from \"./Calendar.vue?vue&type=script&lang=js&\"\nexport * from \"./Calendar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Calendar.vue?vue&type=style&index=0&id=391cacea&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"391cacea\",\n null\n \n)\n\nexport default component.exports","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[1]!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[2]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Calendar.vue?vue&type=style&index=0&id=391cacea&scoped=true&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"719f2a46\", content, true, {});"],"sourceRoot":""}\ No newline at end of file+{"version":3,"sources":["webpack:///./src/bootstrap.js","webpack:///./src/components/store/modules/transactions/create.js","webpack:///./src/components/store/modules/transactions/edit.js","webpack:///./src/components/store/modules/dashboard/index.js","webpack:///./src/components/store/modules/root.js","webpack:///./src/components/store/modules/accounts/index.js","webpack:///./src/components/store/index.js","webpack:///./src/i18n.js","webpack:///src/components/dashboard/Dashboard.vue","webpack:///./src/components/dashboard/Dashboard.vue?94b6","webpack:///./src/components/dashboard/Dashboard.vue","webpack:///./src/components/dashboard/Dashboard.vue?1d88","webpack:///./src/components/dashboard/TopBoxes.vue?5dfa","webpack:///src/components/dashboard/TopBoxes.vue","webpack:///./src/components/dashboard/TopBoxes.vue?97f7","webpack:///./src/components/dashboard/TopBoxes.vue","webpack:///src/components/charts/DataConverter.vue","webpack:///./src/components/charts/DataConverter.vue?e094","webpack:///./src/components/charts/DataConverter.vue","webpack:///src/components/charts/DefaultLineOptions.vue","webpack:///./src/components/charts/DefaultLineOptions.vue?1df9","webpack:///./src/components/charts/DefaultLineOptions.vue","webpack:///./src/components/charts/DefaultLineOptions.vue?78b9","webpack:///src/components/dashboard/MainAccount.vue","webpack:///./src/components/dashboard/MainAccount.vue?e0d5","webpack:///./src/components/dashboard/MainAccount.vue","webpack:///./src/components/dashboard/MainAccount.vue?c333","webpack:///src/components/dashboard/MainAccountList.vue","webpack:///./src/components/dashboard/MainAccountList.vue?cba7","webpack:///./src/components/dashboard/MainAccountList.vue","webpack:///./src/components/dashboard/MainAccountList.vue?7ec7","webpack:///src/components/dashboard/MainBillsList.vue","webpack:///./src/components/dashboard/MainBillsList.vue?52e4","webpack:///./src/components/dashboard/MainBillsList.vue","webpack:///./src/components/dashboard/MainBillsList.vue?2854","webpack:///src/components/dashboard/BudgetLimitRow.vue","webpack:///./src/components/dashboard/BudgetLimitRow.vue?796e","webpack:///./src/components/dashboard/BudgetLimitRow.vue","webpack:///./src/components/dashboard/BudgetLimitRow.vue?6b70","webpack:///src/components/dashboard/BudgetRow.vue","webpack:///./src/components/dashboard/BudgetRow.vue?1331","webpack:///./src/components/dashboard/BudgetRow.vue","webpack:///./src/components/dashboard/BudgetListGroup.vue?78de","webpack:///src/components/dashboard/BudgetListGroup.vue","webpack:///./src/components/dashboard/BudgetRow.vue?6522","webpack:///./src/components/dashboard/BudgetListGroup.vue","webpack:///./src/components/dashboard/BudgetListGroup.vue?000b","webpack:///src/components/dashboard/MainBudgetList.vue","webpack:///./src/components/dashboard/MainBudgetList.vue?ac83","webpack:///./src/components/dashboard/MainBudgetList.vue","webpack:///./src/components/dashboard/MainBudgetList.vue?cb21","webpack:///src/components/dashboard/MainCreditList.vue","webpack:///./src/components/dashboard/MainCreditList.vue?0712","webpack:///./src/components/dashboard/MainCreditList.vue","webpack:///./src/components/dashboard/MainCreditList.vue?69e5","webpack:///src/components/dashboard/MainDebitList.vue","webpack:///./src/components/dashboard/MainDebitList.vue?f4cd","webpack:///./src/components/dashboard/MainDebitList.vue","webpack:///./src/components/dashboard/MainDebitList.vue?9266","webpack:///src/components/dashboard/MainPiggyList.vue","webpack:///./src/components/dashboard/MainPiggyList.vue?cbf9","webpack:///./src/components/dashboard/MainPiggyList.vue","webpack:///./src/components/dashboard/MainPiggyList.vue?8b99","webpack:///src/components/transactions/TransactionListLarge.vue","webpack:///./src/components/transactions/TransactionListLarge.vue?4e79","webpack:///./src/components/transactions/TransactionListLarge.vue","webpack:///./src/components/transactions/TransactionListLarge.vue?e222","webpack:///src/components/transactions/TransactionListMedium.vue","webpack:///./src/components/transactions/TransactionListMedium.vue?8fc8","webpack:///./src/components/transactions/TransactionListMedium.vue","webpack:///./src/components/transactions/TransactionListMedium.vue?6c5b","webpack:///src/components/transactions/TransactionListSmall.vue","webpack:///./src/components/transactions/TransactionListSmall.vue?c965","webpack:///./src/components/transactions/TransactionListSmall.vue","webpack:///./src/components/transactions/TransactionListSmall.vue?e6af","webpack:///src/components/dashboard/MainCategoryList.vue","webpack:///./src/components/dashboard/MainCategoryList.vue?80ff","webpack:///./src/components/dashboard/MainCategoryList.vue","webpack:///./src/components/dashboard/MainCategoryList.vue?57b4","webpack:///./src/pages/dashboard.js","webpack:///./src/shared/transactions.js","webpack:///./src/components/dashboard/Calendar.vue?c25e","webpack:///./src/components/dashboard/Calendar.vue?86f5","webpack:///src/components/dashboard/Calendar.vue","webpack:///./src/components/dashboard/Calendar.vue?6b2f","webpack:///./src/components/dashboard/Calendar.vue","webpack:///./src/components/dashboard/Calendar.vue?8979"],"names":["window","$","jQuery","require","axios","defaults","headers","common","token","document","head","querySelector","content","console","error","localeToken","localStorage","locale","vuei18n","VueI18n","uiv","Vue","lodashClonedeep","namespaced","state","transactionType","groupTitle","transactions","customDateFields","interest_date","book_date","process_date","due_date","payment_date","invoice_date","defaultTransaction","getDefaultTransaction","defaultErrors","getDefaultErrors","getters","accountToTransaction","sourceAllowedTypes","destinationAllowedTypes","allowedOpposingTypes","actions","mutations","addTransaction","newTransaction","errors","push","resetErrors","payload","index","resetTransactions","setGroupTitle","setCustomDateFields","deleteTransaction","splice","length","setTransactionType","setAllowedOpposingTypes","setAccountToTransaction","updateField","field","value","setTransactionError","setDestinationAllowedTypes","setSourceAllowedTypes","viewRange","start","end","defaultStart","defaultEnd","initialiseStore","context","dispatch","get","then","response","data","attributes","oldViewRange","commit","restoreViewRangeDates","viewRangeStart","Date","viewRangeEnd","viewRangeDefaultStart","viewRangeDefaultEnd","restoreViewRange","getItem","setDatesFromViewRange","today","startOfDay","endOfDay","startOfWeek","weekStartsOn","endOfWeek","startOfMonth","endOfMonth","startOfQuarter","endOfQuarter","getMonth","setMonth","setDate","setStart","setItem","setEnd","setDefaultStart","setDefaultEnd","setViewRange","range","listPageSize","timezone","parseInt","setListPageSize","number","setTimezone","orderMode","activeFilter","setOrderMode","setActiveFilter","Vuex","modules","root","root_store","create","transactions_create","edit","transactions_edit","accounts","accounts_index","dashboard","dashboard_index","strict","process","plugins","currencyPreference","setCurrencyPreference","currencyCode","code","currencyId","id","updateCurrencyPreference","JSON","parse","currencyResponse","name","symbol","decimal_places","stringify","err","module","exports","documentElement","lang","fallbackLocale","messages","_vm","this","_h","$createElement","_c","_self","_v","staticClass","props","summary","balances","billsPaid","billsUnpaid","leftToSpend","netWorth","loading","ready","computed","prefCurrencyBalances","filterOnCurrency","notPrefCurrencyBalances","filterOnNotCurrency","prefBillsUnpaid","notPrefBillsUnpaid","prefLeftToSpend","notPrefLeftToSpend","prefNetWorth","notPrefNetWorth","$store","watch","datesReady","prepareComponent","created","methods","array","hasOwnProperty","key","currency_id","ret","startStr","endStr","buildComponent","getBalanceEntries","getBillsEntries","getLeftToSpend","getNetWorth","hasCurrency","getKeyedEntries","expected","substr","result","_m","_e","_s","$t","_l","balance","attrs","sub_title","value_parsed","bill","left","nw","staticStyle","dataSet","newDataSet","local","convertChart","labels","datasets","getLabels","getDataSets","colorizeBarData","fillColors","colourSet","i","setKey","dataset","fill","backgroundColor","borderColor","colorizeLineData","convertLabelsToDate","labelKey","Intl","DateTimeFormat","format","unixTimeZero","firstSet","entries","entryLabel","oldSet","newSet","label","type","currency_symbol","currency_code","formatLabel","sections","words","str","String","split","temp","forEach","item","concat","maxwidth","getDefaultOptions","responsive","maintainAspectRatio","legend","display","animations","elements","line","cubicInterpolationMode","scales","x","grid","ticks","callback","y","suggestedMin","Chart","components","initialised","dataCollection","chartOptions","_chart","DefaultLineOptions","initialiseChart","updateChart","url","drawChart","update","ref","initialiseList","loadAccounts","accountIds","test","loadSingleAccount","accountId","loadTransactions","account","class","title","parseFloat","current_balance","NumberFormat","style","currency","bills","initialiseBills","renderPaidDate","obj","transaction_group_id","loadBills","pay_dates","active","amount_min","amount_max","object_group_title","paidDate","domProps","payDate","paid_dates","year","month","day","budgetLimit","Object","default","budget","budget_id","budget_name","pctGreen","amount","spent","total","pctOrange","pctRed","budgetLimits","Array","budgets","budgetList","daily","weekly","monthly","quarterly","half_year","yearly","other","rawBudgets","getBudgets","income","max","getIncome","parseIncome","mainKey","current","pct","difference_float","sort","entry","width","expenses","min","getExpenses","parseExpenses","piggy_banks","loadPiggyBanks","piggy","left_to_save","a","b","current_amount","target_amount","account_id","Number","transaction","date","group_title","description","tr","destination_id","destination_name","source_id","source_name","category_id","category_name","categories","sortedList","earned","getCategories","category","spentPct","earnedPct","TransactionListLarge","TransactionListMedium","TransactionListSmall","Dashboard","TopBoxes","MainAccount","MainAccountList","MainBillsList","MainBudgetList","MainCategoryList","MainDebitList","MainCreditList","MainPiggyList","i18n","store","el","render","createElement","beforeCreate","Calendar","source","destination","foreign_currency","foreign_amount","custom_dates","tags","piggy_bank","internal_reference","external_url","notes","location","transaction_journal_id","source_account_id","source_account_name","source_account_type","source_account_currency_id","source_account_currency_code","source_account_currency_symbol","destination_account_id","destination_account_name","destination_account_type","destination_account_currency_id","destination_account_currency_code","destination_account_currency_symbol","attachments","selectedAttachments","uploadTrigger","clearTrigger","source_account","name_with_balance","currency_name","currency_decimal_places","destination_account","foreign_currency_id","bill_id","piggy_bank_id","external_id","links","zoom_level","longitude","latitude","___CSS_LOADER_EXPORT___","defaultRange","periods","resetDate","customDate","generatePeriods","generateDaily","generateWeekly","generateMonthly","generateQuarterly","generateHalfYearly","setFullYear","getFullYear","half","generateYearly","getDate","scopedSlots","_u","fn","inputValue","inputEvents","isDragging","togglePopover","on","$event","placement","positionFixed","period","_g","model","$$v","expression","__esModule","locals","add"],"mappings":"oIA0BAA,OAAOC,EAAID,OAAOE,OAASC,EAAQ,MAGnCH,OAAOI,MAAQD,EAAQ,MACvBH,OAAOI,MAAMC,SAASC,QAAQC,OAAO,oBAAsB,iBAG3D,IAAIC,EAAQC,SAASC,KAAKC,cAAc,2BAEpCH,EACAR,OAAOI,MAAMC,SAASC,QAAQC,OAAO,gBAAkBC,EAAMI,QAE7DC,QAAQC,MAAM,yEAIlB,IAAIC,EAAcN,SAASC,KAAKC,cAAc,uBAG1CK,aAAaC,OADbF,EACsBA,EAAYH,QAEZ,QAI1BT,EAAQ,MACRA,EAAQ,MAERA,EAAQ,MACRA,EAAQ,MAIR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lJ,EAAIM,GAAG,KAAKF,EAAG,QAAQJ,EAAIuU,GAAG,CAACtL,MAAM+K,EAAa,gBAAkB,gBAAgBvQ,MAAM,CAAC,KAAO,UAAU2G,SAAS,CAAC,MAAQ0J,EAAWvZ,QAAQwZ,EAAYxZ,QAAQyF,EAAIM,GAAG,KAAKF,EAAG,QAAQJ,EAAIuU,GAAG,CAACtL,MAAM+K,EAAa,gBAAkB,gBAAgBvQ,MAAM,CAAC,KAAO,UAAU2G,SAAS,CAAC,MAAQ0J,EAAWtZ,MAAMuZ,EAAYvZ,eAAega,MAAM,CAACta,MAAO8F,EAAS,MAAEyH,SAAS,SAAUgN,GAAMzU,EAAI/C,MAAMwX,GAAKC,WAAW,YAAY,KACzgD,IGMpB,EACA,KACA,WACA,M,wBCZF,IAAI5d,EAAU,EAAQ,MACnBA,EAAQ6d,aAAY7d,EAAUA,EAAQ8T,SACnB,iBAAZ9T,IAAsBA,EAAU,CAAC,CAAC4I,EAAOV,GAAIlI,EAAS,MAC7DA,EAAQ8d,SAAQlV,EAAOC,QAAU7I,EAAQ8d,SAG/BC,EADH,WACO,WAAY/d,GAAS,EAAM,K","file":"/public/js/dashboard.js","sourcesContent":["/*\n * bootstrap.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// // imports\nimport Vue from 'vue';\nimport VueI18n from 'vue-i18n'\nimport * as uiv from 'uiv';\n\n// export jquery for others scripts to use\nwindow.$ = window.jQuery = require('jquery');\n\n// axios\nwindow.axios = require('axios');\nwindow.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';\n\n// CSRF\nlet token = document.head.querySelector('meta[name=\"csrf-token\"]');\n\nif (token) {\n window.axios.defaults.headers.common['X-CSRF-TOKEN'] = token.content;\n} else {\n console.error('CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token');\n}\n\n// locale\nlet localeToken = document.head.querySelector('meta[name=\"locale\"]');\n\nif (localeToken) {\n localStorage.locale = localeToken.content;\n} else {\n localStorage.locale = 'en_US';\n}\n\n// admin stuff\nrequire('jquery-ui');\nrequire('bootstrap'); // bootstrap CSS?\n\nrequire('admin-lte/dist/js/adminlte');\nrequire('overlayscrollbars');\n\n\n// vue\nwindow.vuei18n = VueI18n;\nwindow.uiv = uiv;\nVue.use(vuei18n);\nVue.use(uiv);\nwindow.Vue = Vue;","/*\n * create.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nconst lodashClonedeep = require('lodash.clonedeep');\n\nimport {getDefaultTransaction, getDefaultErrors} from '../../../../shared/transactions';\n\n// initial state\nconst state = () => ({\n transactionType: 'any',\n groupTitle: '',\n transactions: [],\n customDateFields: {\n interest_date: false,\n book_date: false,\n process_date: false,\n due_date: false,\n payment_date: false,\n invoice_date: false,\n },\n defaultTransaction: getDefaultTransaction(),\n defaultErrors: getDefaultErrors()\n }\n)\n\n\n// getters\nconst getters = {\n transactions: state => {\n return state.transactions;\n },\n defaultErrors: state => {\n return state.defaultErrors;\n },\n groupTitle: state => {\n return state.groupTitle;\n },\n transactionType: state => {\n return state.transactionType;\n },\n accountToTransaction: state => {\n // TODO better architecture here, does not need the store.\n // possible API point!!\n return state.accountToTransaction;\n },\n defaultTransaction: state => {\n return state.defaultTransaction;\n },\n sourceAllowedTypes: state => {\n return state.sourceAllowedTypes;\n },\n destinationAllowedTypes: state => {\n return state.destinationAllowedTypes;\n },\n allowedOpposingTypes: state => {\n return state.allowedOpposingTypes;\n },\n customDateFields: state => {\n return state.customDateFields;\n }\n // // `getters` is localized to this module's getters\n // // you can use rootGetters via 4th argument of getters\n // someGetter (state, getters, rootState, rootGetters) {\n // getters.someOtherGetter // -> 'foo/someOtherGetter'\n // rootGetters.someOtherGetter // -> 'someOtherGetter'\n // rootGetters['bar/someOtherGetter'] // -> 'bar/someOtherGetter'\n // },\n\n}\n\n// actions\nconst actions = {}\n\n// mutations\nconst mutations = {\n addTransaction(state) {\n let newTransaction = lodashClonedeep(state.defaultTransaction);\n newTransaction.errors = lodashClonedeep(state.defaultErrors);\n state.transactions.push(newTransaction);\n },\n resetErrors(state, payload) {\n //console.log('resetErrors for index ' + payload.index);\n state.transactions[payload.index].errors = lodashClonedeep(state.defaultErrors);\n },\n resetTransactions(state) {\n state.transactions = [];\n },\n setGroupTitle(state, payload) {\n state.groupTitle = payload.groupTitle;\n },\n setCustomDateFields(state, payload) {\n state.customDateFields = payload;\n },\n deleteTransaction(state, payload) {\n state.transactions.splice(payload.index, 1);\n // console.log('Deleted transaction ' + payload.index);\n // console.log(state.transactions);\n if (0 === state.transactions.length) {\n // console.log('array is empty!');\n }\n },\n setTransactionType(state, transactionType) {\n state.transactionType = transactionType;\n },\n setAllowedOpposingTypes(state, allowedOpposingTypes) {\n state.allowedOpposingTypes = allowedOpposingTypes;\n },\n setAccountToTransaction(state, payload) {\n state.accountToTransaction = payload;\n },\n updateField(state, payload) {\n state.transactions[payload.index][payload.field] = payload.value;\n },\n setTransactionError(state, payload) {\n //console.log('Will set transactions[' + payload.index + '][errors][' + payload.field + '] to ');\n //console.log(payload.errors);\n state.transactions[payload.index].errors[payload.field] = payload.errors;\n },\n setDestinationAllowedTypes(state, payload) {\n // console.log('Destination allowed types was changed!');\n state.destinationAllowedTypes = payload;\n },\n setSourceAllowedTypes(state, payload) {\n state.sourceAllowedTypes = payload;\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * edit.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => ({});\n\n\n// getters\nconst getters = {};\n\n// actions\nconst actions = {};\n\n// mutations\nconst mutations = {};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nimport startOfDay from \"date-fns/startOfDay\";\nimport endOfDay from 'date-fns/endOfDay'\nimport startOfWeek from 'date-fns/startOfWeek'\nimport endOfWeek from 'date-fns/endOfWeek'\nimport startOfQuarter from 'date-fns/startOfQuarter';\nimport endOfQuarter from 'date-fns/endOfQuarter';\nimport endOfMonth from \"date-fns/endOfMonth\";\nimport startOfMonth from 'date-fns/startOfMonth';\n\nconst state = () => (\n {\n viewRange: 'default',\n start: null,\n end: null,\n defaultStart: null,\n defaultEnd: null,\n }\n)\n\n\n// getters\nconst getters = {\n start: state => {\n return state.start;\n },\n end: state => {\n return state.end;\n },\n defaultStart: state => {\n return state.defaultStart;\n },\n defaultEnd: state => {\n return state.defaultEnd;\n },\n viewRange: state => {\n return state.viewRange;\n }\n}\n\n// actions\nconst actions = {\n initialiseStore(context) {\n // console.log('initialiseStore');\n\n // restore from local storage:\n context.dispatch('restoreViewRange');\n\n axios.get('./api/v1/preferences/viewRange')\n .then(response => {\n let viewRange = response.data.data.attributes.data;\n let oldViewRange = context.getters.viewRange;\n context.commit('setViewRange', viewRange);\n if (viewRange !== oldViewRange) {\n // console.log('View range changed from \"' + oldViewRange + '\" to \"' + viewRange + '\"');\n context.dispatch('setDatesFromViewRange');\n }\n if (viewRange === oldViewRange) {\n // console.log('Restore view range dates');\n context.dispatch('restoreViewRangeDates');\n }\n }\n ).catch(() => {\n context.commit('setViewRange', '1M');\n context.dispatch('setDatesFromViewRange');\n });\n\n },\n restoreViewRangeDates: function (context) {\n // check local storage first?\n if (localStorage.viewRangeStart) {\n // console.log('view range start set from local storage.');\n context.commit('setStart', new Date(localStorage.viewRangeStart));\n }\n if (localStorage.viewRangeEnd) {\n // console.log('view range end set from local storage.');\n context.commit('setEnd', new Date(localStorage.viewRangeEnd));\n }\n // also set default:\n if (localStorage.viewRangeDefaultStart) {\n // console.log('view range default start set from local storage.');\n // console.log(localStorage.viewRangeDefaultStart);\n context.commit('setDefaultStart', new Date(localStorage.viewRangeDefaultStart));\n }\n if (localStorage.viewRangeDefaultEnd) {\n // console.log('view range default end set from local storage.');\n // console.log(localStorage.viewRangeDefaultEnd);\n context.commit('setDefaultEnd', new Date(localStorage.viewRangeDefaultEnd));\n }\n },\n restoreViewRange: function (context) {\n // console.log('restoreViewRange');\n let viewRange = localStorage.getItem('viewRange');\n if (null !== viewRange) {\n // console.log('restored restoreViewRange ' + viewRange );\n context.commit('setViewRange', viewRange);\n }\n },\n setDatesFromViewRange(context) {\n let start;\n let end;\n let viewRange = context.getters.viewRange;\n let today = new Date;\n // console.log('Will recreate view range on ' + viewRange);\n switch (viewRange) {\n case '1D':\n // today:\n start = startOfDay(today);\n end = endOfDay(today);\n break;\n case '1W':\n // this week:\n start = startOfDay(startOfWeek(today, {weekStartsOn: 1}));\n end = endOfDay(endOfWeek(today, {weekStartsOn: 1}));\n break;\n case '1M':\n // this month:\n start = startOfDay(startOfMonth(today));\n end = endOfDay(endOfMonth(today));\n break;\n case '3M':\n // this quarter\n start = startOfDay(startOfQuarter(today));\n end = endOfDay(endOfQuarter(today));\n break;\n case '6M':\n // this half-year\n if (today.getMonth() <= 5) {\n start = new Date(today);\n start.setMonth(0);\n start.setDate(1);\n start = startOfDay(start);\n end = new Date(today);\n end.setMonth(5);\n end.setDate(30);\n end = endOfDay(start);\n }\n if (today.getMonth() > 5) {\n start = new Date(today);\n start.setMonth(6);\n start.setDate(1);\n start = startOfDay(start);\n end = new Date(today);\n end.setMonth(11);\n end.setDate(31);\n end = endOfDay(start);\n }\n break;\n case '1Y':\n // this year\n start = new Date(today);\n start.setMonth(0);\n start.setDate(1);\n start = startOfDay(start);\n\n end = new Date(today);\n end.setMonth(11);\n end.setDate(31);\n end = endOfDay(end);\n break;\n }\n // console.log('Range is ' + viewRange);\n // console.log('Start is ' + start);\n // console.log('End is ' + end);\n context.commit('setStart', start);\n context.commit('setEnd', end);\n context.commit('setDefaultStart', start);\n context.commit('setDefaultEnd', end);\n }\n}\n\n// mutations\nconst mutations = {\n setStart(state, value) {\n state.start = value;\n window.localStorage.setItem('viewRangeStart', value);\n },\n setEnd(state, value) {\n state.end = value;\n window.localStorage.setItem('viewRangeEnd', value);\n },\n setDefaultStart(state, value) {\n state.defaultStart = value;\n window.localStorage.setItem('viewRangeDefaultStart', value);\n },\n setDefaultEnd(state, value) {\n state.defaultEnd = value;\n window.localStorage.setItem('viewRangeDefaultEnd', value);\n },\n setViewRange(state, range) {\n state.viewRange = range;\n window.localStorage.setItem('viewRange', range);\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * root.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => (\n {\n listPageSize: 33,\n timezone: ''\n }\n)\n\n\n// getters\nconst getters = {\n listPageSize: state => {\n return state.listPageSize;\n },\n timezone: state => {\n // console.log('Wil return ' + state.listPageSize);\n return state.timezone;\n },\n}\n\n// actions\nconst actions = {\n initialiseStore(context) {\n if (localStorage.listPageSize) {\n state.listPageSize = localStorage.listPageSize;\n context.commit('setListPageSize', {length: localStorage.listPageSize});\n }\n if (!localStorage.listPageSize) {\n axios.get('./api/v1/preferences/listPageSize')\n .then(response => {\n // console.log('from API: listPageSize is ' + parseInt(response.data.data.attributes.data));\n context.commit('setListPageSize', {length: parseInt(response.data.data.attributes.data)});\n }\n );\n }\n if (localStorage.timezone) {\n state.timezone = localStorage.timezone;\n context.commit('setTimezone', {timezone: localStorage.timezone});\n }\n if (!localStorage.timezone) {\n axios.get('./api/v1/configuration/app.timezone')\n .then(response => {\n context.commit('setTimezone', {timezone: response.data.data.value});\n }\n );\n }\n }\n}\n\n// mutations\nconst mutations = {\n setListPageSize(state, payload) {\n // console.log('Got a payload in setListPageSize');\n // console.log(payload);\n let number = parseInt(payload.length);\n if (0 !== number) {\n state.listPageSize = number;\n localStorage.listPageSize = number;\n\n }\n },\n setTimezone(state, payload) {\n\n if ('' !== payload.timezone) {\n state.timezone = payload.timezone;\n localStorage.timezone = payload.timezone;\n }\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => (\n {\n orderMode: false,\n activeFilter: 1\n }\n)\n\n\n// getters\nconst getters = {\n orderMode: state => {\n return state.orderMode;\n },\n activeFilter: state => {\n return state.activeFilter;\n }\n}\n\n// actions\nconst actions = {}\n\n// mutations\nconst mutations = {\n setOrderMode(state, payload) {\n state.orderMode = payload;\n },\n setActiveFilter(state, payload) {\n state.activeFilter = payload;\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nimport Vue from 'vue'\nimport Vuex, {createLogger} from 'vuex'\nimport transactions_create from './modules/transactions/create';\nimport transactions_edit from './modules/transactions/edit';\nimport dashboard_index from './modules/dashboard/index';\nimport root_store from './modules/root';\nimport accounts_index from './modules/accounts/index';\n\nVue.use(Vuex)\nconst debug = process.env.NODE_ENV !== 'production'\n\nexport default new Vuex.Store(\n {\n namespaced: true,\n modules: {\n root: root_store,\n transactions: {\n namespaced: true,\n modules: {\n create: transactions_create,\n edit: transactions_edit\n }\n },\n accounts: {\n namespaced: true,\n modules: {\n index: accounts_index\n },\n },\n dashboard: {\n namespaced: true,\n modules: {\n index: dashboard_index\n }\n }\n },\n strict: debug,\n plugins: debug ? [createLogger()] : [],\n state: {\n currencyPreference: {},\n locale: 'en-US',\n listPageSize: 50\n },\n mutations: {\n setCurrencyPreference(state, payload) {\n state.currencyPreference = payload.payload;\n },\n initialiseStore(state) {\n // if locale in local storage:\n if (localStorage.locale) {\n state.locale = localStorage.locale;\n return;\n }\n\n // set locale from HTML:\n let localeToken = document.head.querySelector('meta[name=\"locale\"]');\n if (localeToken) {\n state.locale = localeToken.content;\n localStorage.locale = localeToken.content;\n }\n }\n },\n getters: {\n currencyCode: state => {\n return state.currencyPreference.code;\n },\n currencyPreference: state => {\n return state.currencyPreference;\n },\n currencyId: state => {\n return state.currencyPreference.id;\n },\n locale: state => {\n return state.locale;\n }\n },\n actions: {\n\n updateCurrencyPreference(context) {\n if (localStorage.currencyPreference) {\n context.commit('setCurrencyPreference', {payload: JSON.parse(localStorage.currencyPreference)});\n return;\n }\n axios.get('./api/v1/currencies/default')\n .then(response => {\n let currencyResponse = {\n id: parseInt(response.data.data.id),\n name: response.data.data.attributes.name,\n symbol: response.data.data.attributes.symbol,\n code: response.data.data.attributes.code,\n decimal_places: parseInt(response.data.data.attributes.decimal_places),\n };\n localStorage.currencyPreference = JSON.stringify(currencyResponse);\n //console.log('getCurrencyPreference from server')\n //console.log(JSON.stringify(currencyResponse));\n context.commit('setCurrencyPreference', {payload: currencyResponse});\n }).catch(err => {\n // console.log('Got error response.');\n console.error(err);\n context.commit('setCurrencyPreference', {\n payload: {\n id: 1,\n name: 'Euro',\n symbol: '€',\n code: 'EUR',\n decimal_places: 2\n }\n });\n });\n\n }\n }\n }\n);","/*\n * i18n.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// Create VueI18n instance with options\nmodule.exports = new vuei18n({\n locale: document.documentElement.lang, // set locale\n fallbackLocale: 'en',\n messages: {\n 'bg': require('./locales/bg.json'),\n 'cs': require('./locales/cs.json'),\n 'de': require('./locales/de.json'),\n 'en': require('./locales/en.json'),\n 'en-us': require('./locales/en.json'),\n 'en-gb': require('./locales/en-gb.json'),\n 'es': require('./locales/es.json'),\n 'el': require('./locales/el.json'),\n 'fr': require('./locales/fr.json'),\n 'hu': require('./locales/hu.json'),\n //'id': require('./locales/id.json'),\n 'it': require('./locales/it.json'),\n 'nl': require('./locales/nl.json'),\n 'nb': require('./locales/nb.json'),\n 'pl': require('./locales/pl.json'),\n 'fi': require('./locales/fi.json'),\n 'pt-br': require('./locales/pt-br.json'),\n 'pt-pt': require('./locales/pt.json'),\n 'ro': require('./locales/ro.json'),\n 'ru': require('./locales/ru.json'),\n //'zh': require('./locales/zh.json'),\n 'zh-tw': require('./locales/zh-tw.json'),\n 'zh-cn': require('./locales/zh-cn.json'),\n 'sk': require('./locales/sk.json'),\n 'sv': require('./locales/sv.json'),\n 'vi': require('./locales/vi.json'),\n }\n});\n","<!--\n - ExampleComponent.vue\n - Copyright (c) 2019 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div>\n <top-boxes/>\n <div class=\"row\">\n <div class=\"col\">\n <main-account/>\n </div>\n </div>\n <main-account-list/>\n\n <div class=\"row\">\n <div class=\"col\">\n <main-budget-list/>\n </div>\n </div>\n\n <div class=\"row\">\n <div class=\"col\">\n <main-category-list/>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <main-debit-list/>\n </div>\n <div class=\"col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <main-credit-list/>\n </div>\n </div>\n\n <div class=\"row\">\n <div class=\"col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <main-piggy-list/>\n </div>\n <div class=\"col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <main-bills-list/>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"Dashboard\",\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dashboard.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dashboard.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Dashboard.vue?vue&type=template&id=9d50d3a2&\"\nimport script from \"./Dashboard.vue?vue&type=script&lang=js&\"\nexport * from \"./Dashboard.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('top-boxes'),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('main-account')],1)]),_vm._v(\" \"),_c('main-account-list'),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('main-budget-list')],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('main-category-list')],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[_c('main-debit-list')],1),_vm._v(\" \"),_c('div',{staticClass:\"col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[_c('main-credit-list')],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[_c('main-piggy-list')],1),_vm._v(\" \"),_c('div',{staticClass:\"col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[_c('main-bills-list')],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"row\"},[(0 !== _vm.prefCurrencyBalances.length || 0 !== _vm.notPrefCurrencyBalances.length)?_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"info-box\"},[_vm._m(0),_vm._v(\" \"),_c('div',{staticClass:\"info-box-content\"},[(!_vm.loading && !_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_vm._v(_vm._s(_vm.$t(\"firefly.balance\")))]):_vm._e(),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})]):_vm._e(),_vm._v(\" \"),_vm._l((_vm.prefCurrencyBalances),function(balance){return _c('span',{staticClass:\"info-box-number\",attrs:{\"title\":balance.sub_title}},[_vm._v(_vm._s(balance.value_parsed))])}),_vm._v(\" \"),(0 === _vm.prefCurrencyBalances.length)?_c('span',{staticClass:\"info-box-number\"},[_vm._v(\" \")]):_vm._e(),_vm._v(\" \"),_vm._m(1),_vm._v(\" \"),_c('span',{staticClass:\"progress-description\"},[_vm._l((_vm.notPrefCurrencyBalances),function(balance,index){return _c('span',{attrs:{\"title\":balance.sub_title}},[_vm._v(\"\\n \"+_vm._s(balance.value_parsed)),(index+1 !== _vm.notPrefCurrencyBalances.length)?_c('span',[_vm._v(\", \")]):_vm._e()])}),_vm._v(\" \"),(0===_vm.notPrefCurrencyBalances.length)?_c('span',[_vm._v(\" \")]):_vm._e()],2)],2)])]):_vm._e(),_vm._v(\" \"),(0!==_vm.prefBillsUnpaid.length || 0 !== _vm.notPrefBillsUnpaid.length)?_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"info-box\"},[_vm._m(2),_vm._v(\" \"),_c('div',{staticClass:\"info-box-content\"},[(!_vm.loading && !_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_vm._v(_vm._s(_vm.$t('firefly.bills_to_pay')))]):_vm._e(),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})]):_vm._e(),_vm._v(\" \"),_vm._l((_vm.prefBillsUnpaid),function(balance){return _c('span',{staticClass:\"info-box-number\"},[_vm._v(_vm._s(balance.value_parsed))])}),_vm._v(\" \"),_vm._m(3),_vm._v(\" \"),_c('span',{staticClass:\"progress-description\"},[_vm._l((_vm.notPrefBillsUnpaid),function(bill,index){return _c('span',[_vm._v(\"\\n \"+_vm._s(bill.value_parsed)),(index+1 !== _vm.notPrefBillsUnpaid.length)?_c('span',[_vm._v(\", \")]):_vm._e()])}),_vm._v(\" \"),(0===_vm.notPrefBillsUnpaid.length)?_c('span',[_vm._v(\" \")]):_vm._e()],2)],2)])]):_vm._e(),_vm._v(\" \"),(0 !== _vm.prefLeftToSpend.length || 0 !== _vm.notPrefLeftToSpend.length)?_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"info-box\"},[_vm._m(4),_vm._v(\" \"),_c('div',{staticClass:\"info-box-content\"},[(!_vm.loading && !_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_vm._v(_vm._s(_vm.$t('firefly.left_to_spend')))]):_vm._e(),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})]):_vm._e(),_vm._v(\" \"),_vm._l((_vm.prefLeftToSpend),function(left){return _c('span',{staticClass:\"info-box-number\",attrs:{\"title\":left.sub_title}},[_vm._v(_vm._s(left.value_parsed))])}),_vm._v(\" \"),(0 === _vm.prefLeftToSpend.length)?_c('span',{staticClass:\"info-box-number\"},[_vm._v(\" \")]):_vm._e(),_vm._v(\" \"),_vm._m(5),_vm._v(\" \"),_c('span',{staticClass:\"progress-description\"},[_vm._l((_vm.notPrefLeftToSpend),function(left,index){return _c('span',[_vm._v(\"\\n \"+_vm._s(left.value_parsed)),(index+1 !== _vm.notPrefLeftToSpend.length)?_c('span',[_vm._v(\", \")]):_vm._e()])}),_vm._v(\" \"),(0===_vm.notPrefLeftToSpend.length)?_c('span',[_vm._v(\" \")]):_vm._e()],2)],2)])]):_vm._e(),_vm._v(\" \"),(0 !== _vm.notPrefNetWorth.length || 0 !== _vm.prefNetWorth.length)?_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"info-box\"},[_vm._m(6),_vm._v(\" \"),_c('div',{staticClass:\"info-box-content\"},[(!_vm.loading && !_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_vm._v(_vm._s(_vm.$t('firefly.net_worth')))]):_vm._e(),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})]):_vm._e(),_vm._v(\" \"),_vm._l((_vm.prefNetWorth),function(nw){return _c('span',{staticClass:\"info-box-number\",attrs:{\"title\":nw.sub_title}},[_vm._v(_vm._s(nw.value_parsed))])}),_vm._v(\" \"),(0===_vm.prefNetWorth.length)?_c('span',[_vm._v(\" \")]):_vm._e(),_vm._v(\" \"),_vm._m(7),_vm._v(\" \"),_c('span',{staticClass:\"progress-description\"},[_vm._l((_vm.notPrefNetWorth),function(nw,index){return _c('span',[_vm._v(\"\\n \"+_vm._s(nw.value_parsed)),(index+1 !== _vm.notPrefNetWorth.length)?_c('span',[_vm._v(\", \")]):_vm._e()])}),_vm._v(\" \"),(0===_vm.notPrefNetWorth.length)?_c('span',[_vm._v(\" \")]):_vm._e()],2)],2)])]):_vm._e()])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"info-box-icon\"},[_c('i',{staticClass:\"far fa-bookmark text-info\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"progress bg-info\"},[_c('div',{staticClass:\"progress-bar\",staticStyle:{\"width\":\"0\"}})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"info-box-icon\"},[_c('i',{staticClass:\"far fa-calendar-alt text-teal\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"progress bg-teal\"},[_c('div',{staticClass:\"progress-bar\",staticStyle:{\"width\":\"0\"}})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"info-box-icon\"},[_c('i',{staticClass:\"fas fa-money-bill text-success\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"progress bg-success\"},[_c('div',{staticClass:\"progress-bar\",staticStyle:{\"width\":\"0\"}})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"info-box-icon\"},[_c('i',{staticClass:\"fas fa-money-bill text-success\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"progress bg-success\"},[_c('div',{staticClass:\"progress-bar\",staticStyle:{\"width\":\"0\"}})])}]\n\nexport { render, staticRenderFns }","<!--\n - TopBoxes.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"row\">\n <div class=\"col\" v-if=\"0 !== prefCurrencyBalances.length || 0 !== notPrefCurrencyBalances.length\">\n <div class=\"info-box\">\n <span class=\"info-box-icon\"><i class=\"far fa-bookmark text-info\"></i></span>\n\n <div class=\"info-box-content\">\n <span v-if=\"!loading && !error\" class=\"info-box-text\">{{ $t(\"firefly.balance\") }}</span>\n <span v-if=\"loading && !error\" class=\"info-box-text\"><i class=\"fas fa-spinner fa-spin\"></i></span>\n <span v-if=\"error\" class=\"info-box-text\"><i class=\"fas fa-exclamation-triangle text-danger\"></i></span>\n <!-- balance in preferred currency -->\n <span v-for=\"balance in prefCurrencyBalances\" :title=\"balance.sub_title\" class=\"info-box-number\">{{ balance.value_parsed }}</span>\n <span v-if=\"0 === prefCurrencyBalances.length\" class=\"info-box-number\"> </span>\n <div class=\"progress bg-info\">\n <div class=\"progress-bar\" style=\"width: 0\"></div>\n </div>\n <!-- balance in not preferred currency -->\n <span class=\"progress-description\">\n <span v-for=\"(balance, index) in notPrefCurrencyBalances\" :title=\"balance.sub_title\">\n {{ balance.value_parsed }}<span v-if=\"index+1 !== notPrefCurrencyBalances.length\">, </span>\n </span>\n <span v-if=\"0===notPrefCurrencyBalances.length\"> </span>\n </span>\n </div>\n </div>\n </div>\n\n <div class=\"col\" v-if=\"0!==prefBillsUnpaid.length || 0 !== notPrefBillsUnpaid.length\">\n <div class=\"info-box\">\n <span class=\"info-box-icon\"><i class=\"far fa-calendar-alt text-teal\"></i></span>\n\n <div class=\"info-box-content\">\n <span v-if=\"!loading && !error\" class=\"info-box-text\">{{ $t('firefly.bills_to_pay') }}</span>\n <span v-if=\"loading && !error\" class=\"info-box-text\"><i class=\"fas fa-spinner fa-spin\"></i></span>\n <span v-if=\"error\" class=\"info-box-text\"><i class=\"fas fa-exclamation-triangle text-danger\"></i></span>\n <!-- bills unpaid, in preferred currency. -->\n <span v-for=\"balance in prefBillsUnpaid\" class=\"info-box-number\">{{ balance.value_parsed }}</span>\n\n <div class=\"progress bg-teal\">\n <div class=\"progress-bar\" style=\"width: 0\"></div>\n </div>\n <!-- bills unpaid, in other currencies. -->\n <span class=\"progress-description\">\n <span v-for=\"(bill, index) in notPrefBillsUnpaid\">\n {{ bill.value_parsed }}<span v-if=\"index+1 !== notPrefBillsUnpaid.length\">, </span>\n </span>\n <span v-if=\"0===notPrefBillsUnpaid.length\"> </span>\n </span>\n </div>\n </div>\n </div>\n <!-- left to spend -->\n <div class=\"col\" v-if=\"0 !== prefLeftToSpend.length || 0 !== notPrefLeftToSpend.length\">\n <div class=\"info-box\">\n <span class=\"info-box-icon\"><i class=\"fas fa-money-bill text-success\"></i></span>\n\n <div class=\"info-box-content\">\n <span v-if=\"!loading && !error\" class=\"info-box-text\">{{ $t('firefly.left_to_spend') }}</span>\n <span v-if=\"loading && !error\" class=\"info-box-text\"><i class=\"fas fa-spinner fa-spin\"></i></span>\n <span v-if=\"error\" class=\"info-box-text\"><i class=\"fas fa-exclamation-triangle text-danger\"></i></span>\n <!-- left to spend in preferred currency -->\n <span v-for=\"left in prefLeftToSpend\" :title=\"left.sub_title\" class=\"info-box-number\">{{ left.value_parsed }}</span>\n <span v-if=\"0 === prefLeftToSpend.length\" class=\"info-box-number\"> </span>\n\n <div class=\"progress bg-success\">\n <div class=\"progress-bar\" style=\"width: 0\"></div>\n </div>\n <!-- other currencies-->\n <span class=\"progress-description\">\n <span v-for=\"(left, index) in notPrefLeftToSpend\">\n {{ left.value_parsed }}<span v-if=\"index+1 !== notPrefLeftToSpend.length\">, </span>\n </span>\n <span v-if=\"0===notPrefLeftToSpend.length\"> </span>\n </span>\n </div>\n </div>\n </div>\n\n <!-- net worth -->\n <div class=\"col\" v-if=\"0 !== notPrefNetWorth.length || 0 !== prefNetWorth.length\">\n <div class=\"info-box\">\n <span class=\"info-box-icon\"><i class=\"fas fa-money-bill text-success\"></i></span>\n\n <div class=\"info-box-content\">\n <span v-if=\"!loading && !error\" class=\"info-box-text\">{{ $t('firefly.net_worth') }}</span>\n <span v-if=\"loading && !error\" class=\"info-box-text\"><i class=\"fas fa-spinner fa-spin\"></i></span>\n <span v-if=\"error\" class=\"info-box-text\"><i class=\"fas fa-exclamation-triangle text-danger\"></i></span>\n <span v-for=\"nw in prefNetWorth\" :title=\"nw.sub_title\" class=\"info-box-number\">{{ nw.value_parsed }}</span>\n <span v-if=\"0===prefNetWorth.length\"> </span>\n <div class=\"progress bg-success\">\n <div class=\"progress-bar\" style=\"width: 0\"></div>\n </div>\n <span class=\"progress-description\">\n <span v-for=\"(nw, index) in notPrefNetWorth\">\n {{ nw.value_parsed }}<span v-if=\"index+1 !== notPrefNetWorth.length\">, </span>\n </span>\n <span v-if=\"0===notPrefNetWorth.length\"> </span>\n </span>\n </div>\n </div>\n </div>\n\n </div>\n</template>\n\n<script>\nimport {createNamespacedHelpers} from \"vuex\";\nimport format from 'date-fns/format';\n\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\nexport default {\n name: \"TopBoxes\",\n props: {},\n data() {\n return {\n summary: [],\n balances: [],\n billsPaid: [],\n billsUnpaid: [],\n leftToSpend: [],\n netWorth: [],\n loading: true,\n error: false,\n ready: false\n }\n },\n computed: {\n ...mapGetters([\n 'start',\n 'end'\n ]),\n 'datesReady': function () {\n return null !== this.start && null !== this.end && this.ready;\n },\n\n // contains only balances with preferred currency.\n prefCurrencyBalances: function () {\n return this.filterOnCurrency(this.balances);\n },\n notPrefCurrencyBalances: function () {\n return this.filterOnNotCurrency(this.balances);\n },\n\n // contains only bills unpaid in preferred currency or first one.\n prefBillsUnpaid: function () {\n return this.filterOnCurrency(this.billsUnpaid);\n },\n notPrefBillsUnpaid: function () {\n return this.filterOnNotCurrency(this.billsUnpaid);\n },\n\n // left to spend\n prefLeftToSpend: function () {\n return this.filterOnCurrency(this.leftToSpend);\n },\n notPrefLeftToSpend: function () {\n return this.filterOnNotCurrency(this.leftToSpend);\n },\n\n // net worth\n prefNetWorth: function () {\n return this.filterOnCurrency(this.netWorth);\n },\n notPrefNetWorth: function () {\n return this.filterOnNotCurrency(this.netWorth);\n },\n currencyCode() {\n return this.$store.getters.currencyCode;\n },\n currencyId() {\n return this.$store.getters.currencyId;\n }\n },\n watch: {\n datesReady: function (value) {\n if (true === value) {\n this.prepareComponent();\n }\n },\n start: function () {\n if (false === this.loading) {\n this.prepareComponent();\n }\n },\n end: function () {\n if (false === this.loading) {\n this.prepareComponent();\n }\n },\n },\n created() {\n this.ready = true;\n },\n methods: {\n filterOnCurrency(array) {\n let ret = [];\n for (const key in array) {\n if (array.hasOwnProperty(key)) {\n // console.log('Currency ID seems to be ' + this.currencyId);\n if (array[key].currency_id === this.currencyId) {\n ret.push(array[key]);\n }\n }\n }\n // or just the first one:\n if (0 === ret.length && array.hasOwnProperty(0)) {\n ret.push(array[0]);\n }\n return ret;\n },\n filterOnNotCurrency(array) {\n let ret = [];\n for (const key in array) {\n if (array.hasOwnProperty(key)) {\n if (array[key].currency_id !== this.currencyId) {\n ret.push(array[key]);\n }\n }\n }\n return ret;\n },\n /**\n * Prepare the component.\n */\n prepareComponent() {\n this.error = false;\n this.loading = true;\n this.summary = [];\n this.balances = [];\n this.billsPaid = [];\n this.billsUnpaid = [];\n this.leftToSpend = [];\n this.netWorth = [];\n let startStr = format(this.start, 'y-MM-dd');\n let endStr = format(this.end, 'y-MM-dd');\n //let startStr = this.start.toISOString().split('T')[0];\n //let endStr = this.end.toISOString().split('T')[0];\n //console.log(startStr);\n //console.log(endStr);\n axios.get('./api/v1/summary/basic?start=' + startStr + '&end=' + endStr)\n .then(response => {\n this.summary = response.data;\n this.buildComponent();\n this.loading = false\n }).catch(error => {\n this.error = true\n });\n },\n buildComponent() {\n this.getBalanceEntries();\n this.getBillsEntries();\n this.getLeftToSpend();\n this.getNetWorth();\n },\n\n hasCurrency: function (array) {\n for (const key in array) {\n if (array.hasOwnProperty(key)) {\n if (array[key].currency_id === this.currencyId) {\n return true;\n }\n }\n }\n return false;\n },\n\n getBalanceEntries() {\n this.balances = this.getKeyedEntries('balance-in-');\n },\n getNetWorth() {\n this.netWorth = this.getKeyedEntries('net-worth-in-');\n },\n getLeftToSpend() {\n this.leftToSpend = this.getKeyedEntries('left-to-spend-in-');\n },\n getBillsEntries() {\n this.billsPaid = this.getKeyedEntries('bills-paid-in-');\n this.billsUnpaid = this.getKeyedEntries('bills-unpaid-in-');\n },\n getKeyedEntries(expected) {\n let result = [];\n for (const key in this.summary) {\n if (this.summary.hasOwnProperty(key)) {\n if (expected === key.substr(0, expected.length)) {\n result.push(this.summary[key]);\n }\n }\n }\n return result;\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TopBoxes.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TopBoxes.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TopBoxes.vue?vue&type=template&id=e1fa9aae&\"\nimport script from \"./TopBoxes.vue?vue&type=script&lang=js&\"\nexport * from \"./TopBoxes.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 - DataConverter.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<script>\nexport default {\n name: \"DataConverter\",\n data() {\n return {\n dataSet: null,\n newDataSet: null,\n locale: localStorage.local,\n }\n },\n methods: {\n convertChart(dataSet) {\n this.dataSet = dataSet;\n this.newDataSet = {\n //count: 0,\n labels: [],\n datasets: []\n }\n this.getLabels();\n this.getDataSets();\n //this.newDataSet.count = this.newDataSet.datasets.length;\n return this.newDataSet;\n },\n\n colorizeBarData(dataSet) {\n this.dataSet = dataSet;\n this.newDataSet = {\n //count: 0,\n labels: [],\n datasets: []\n };\n // colors\n let colourSet = [\n [53, 124, 165],\n [0, 141, 76], // green\n [219, 139, 11],\n [202, 25, 90], // paars rood-ish #CA195A\n [85, 82, 153],\n [66, 133, 244],\n [219, 68, 55], // red #DB4437\n [244, 180, 0],\n [15, 157, 88],\n [171, 71, 188],\n [0, 172, 193],\n [255, 112, 67],\n [158, 157, 36],\n [92, 107, 192],\n [240, 98, 146],\n [0, 121, 107],\n [194, 24, 91]\n ];\n\n let fillColors = [];\n //let strokePointHighColors = [];\n\n\n for (let i = 0; i < colourSet.length; i++) {\n fillColors.push(\"rgba(\" + colourSet[i][0] + \", \" + colourSet[i][1] + \", \" + colourSet[i][2] + \", 0.5)\");\n //strokePointHighColors.push(\"rgba(\" + colourSet[i][0] + \", \" + colourSet[i][1] + \", \" + colourSet[i][2] + \", 0.9)\");\n }\n this.newDataSet.labels = this.dataSet.labels;\n //this.newDataSet.count = this.dataSet.count;\n for (let setKey in this.dataSet.datasets) {\n if (this.dataSet.datasets.hasOwnProperty(setKey)) {\n var dataset = this.dataSet.datasets[setKey];\n dataset.fill = false;\n dataset.backgroundColor = dataset.borderColor = fillColors[setKey];\n this.newDataSet.datasets.push(dataset);\n }\n }\n return this.newDataSet;\n },\n\n colorizeLineData(dataSet) {\n this.dataSet = dataSet;\n this.newDataSet = {\n //count: 0,\n labels: [],\n datasets: []\n };\n // colors\n let colourSet = [\n [53, 124, 165],\n [0, 141, 76], // green\n [219, 139, 11],\n [202, 25, 90], // paars rood-ish #CA195A\n [85, 82, 153],\n [66, 133, 244],\n [219, 68, 55], // red #DB4437\n [244, 180, 0],\n [15, 157, 88],\n [171, 71, 188],\n [0, 172, 193],\n [255, 112, 67],\n [158, 157, 36],\n [92, 107, 192],\n [240, 98, 146],\n [0, 121, 107],\n [194, 24, 91]\n ];\n\n let fillColors = [];\n //let strokePointHighColors = [];\n\n\n for (let i = 0; i < colourSet.length; i++) {\n fillColors.push(\"rgba(\" + colourSet[i][0] + \", \" + colourSet[i][1] + \", \" + colourSet[i][2] + \", 0.5)\");\n //strokePointHighColors.push(\"rgba(\" + colourSet[i][0] + \", \" + colourSet[i][1] + \", \" + colourSet[i][2] + \", 0.9)\");\n }\n this.newDataSet.labels = this.dataSet.labels;\n //this.newDataSet.count = this.dataSet.count;\n for (let setKey in this.dataSet.datasets) {\n if (this.dataSet.datasets.hasOwnProperty(setKey)) {\n let dataset = this.dataSet.datasets[setKey];\n dataset.fill = false;\n dataset.backgroundColor = dataset.borderColor = fillColors[setKey];\n this.newDataSet.datasets.push(dataset);\n }\n }\n return this.newDataSet;\n },\n convertLabelsToDate(dataSet) {\n for (let labelKey in dataSet.labels) {\n if (dataSet.labels.hasOwnProperty(labelKey)) {\n const unixTimeZero = Date.parse(dataSet.labels[labelKey]);\n dataSet.labels[labelKey] = new Intl.DateTimeFormat(this.locale).format(unixTimeZero);\n }\n }\n return dataSet;\n },\n getLabels() {\n let firstSet = this.dataSet[0];\n if (typeof firstSet !== 'undefined') {\n for (const entryLabel in firstSet.entries) {\n if (firstSet.entries.hasOwnProperty(entryLabel)) {\n this.newDataSet.labels.push(entryLabel);\n }\n }\n }\n },\n getDataSets() {\n for (const setKey in this.dataSet) {\n if (this.dataSet.hasOwnProperty(setKey)) {\n let newSet = {};\n let oldSet = this.dataSet[setKey];\n if (typeof oldSet !== 'undefined') {\n newSet.label = oldSet.label;\n newSet.type = oldSet.type;\n newSet.currency_symbol = oldSet.currency_symbol;\n newSet.currency_code = oldSet.currency_code;\n //newSet.yAxisID = oldSet.yAxisID;\n newSet.data = [];\n for (const entryLabel in oldSet.entries) {\n if (oldSet.entries.hasOwnProperty(entryLabel)) {\n newSet.data.push(oldSet.entries[entryLabel]);\n }\n }\n this.newDataSet.datasets.push(newSet);\n }\n }\n }\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataConverter.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataConverter.vue?vue&type=script&lang=js&\"","var render, staticRenderFns\nimport script from \"./DataConverter.vue?vue&type=script&lang=js&\"\nexport * from \"./DataConverter.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 - DefaultLineOptions.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n\n</template>\n\n\n<script>\n\nexport default {\n name: \"DefaultLineOptions\",\n data() {\n return {}\n },\n methods: {\n /**\n * Takes a string phrase and breaks it into separate phrases no bigger than 'maxwidth', breaks are made at complete words.\n * https://stackoverflow.com/questions/21409717/chart-js-and-long-labels\n *\n * @param str\n * @param maxwidth\n * @returns {Array}\n */\n formatLabel(str, maxwidth) {\n var sections = [];\n str = String(str);\n var words = str.split(\" \");\n var temp = \"\";\n\n words.forEach(function (item, index) {\n if (temp.length > 0) {\n var concat = temp + ' ' + item;\n\n if (concat.length > maxwidth) {\n sections.push(temp);\n temp = \"\";\n } else {\n if (index === (words.length - 1)) {\n sections.push(concat);\n return;\n } else {\n temp = concat;\n return;\n }\n }\n }\n\n if (index === (words.length - 1)) {\n sections.push(item);\n return;\n }\n\n if (item.length < maxwidth) {\n temp = item;\n } else {\n sections.push(item);\n }\n\n });\n\n return sections;\n },\n getDefaultOptions() {\n return {\n responsive: true,\n maintainAspectRatio: false,\n plugins: {\n legend: {\n display: false,\n },\n },\n animations: false,\n\n elements: {\n line: {\n cubicInterpolationMode: 'monotone'\n }\n },\n scales: {\n x: {\n //type: 'linear'\n grid: {\n display: false,\n },\n ticks: {\n callback: function (value, index, values) {\n let dateObj = new Date(this.getLabelForValue(value).split('T')[0]);\n return new Intl.DateTimeFormat(localStorage.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(dateObj);\n //return str;\n // // //console.log();\n // // //return self.formatLabel(value, 20);\n // // return self.formatLabel(str, 20);\n }\n }\n },\n y: {\n suggestedMin: 0\n\n //type: 'linear'\n }\n },\n\n // scales: {\n // xAxes: [\n // {\n // gridLines: {\n // display: false\n // },\n // ticks: {\n // // break ticks when too long\n // callback: function (value, index, values) {\n // return value;\n // // date format\n // // let dateObj = new Date(value);\n // // let options = {year: 'numeric', month: 'long', day: 'numeric'};\n // // let str = new Intl.DateTimeFormat(localStorage.locale, options).format(dateObj);\n // // //console.log();\n // // //return self.formatLabel(value, 20);\n // // return self.formatLabel(str, 20);\n // }\n // }\n // }\n // ],\n // yAxes: [{\n // display: true,\n // ticks: {\n // callback: function (tickValue) {\n // \"use strict\";\n // return tickValue;\n // // let currencyCode = this.chart.data.datasets[0].currency_code ? this.chart.data.datasets[0].currency_code : 'EUR';\n // // return new Intl.NumberFormat(localStorage.locale, {style: 'currency', currency: currencyCode}).format(tickValue);\n // },\n // beginAtZero: true\n // }\n //\n // }]\n // },\n // tooltips: {\n // mode: 'index',\n // // callbacks: {\n // // label: function (tooltipItem, data) {\n // // \"use strict\";\n // // let currencyCode = data.datasets[tooltipItem.datasetIndex].currency_code ? data.datasets[tooltipItem.datasetIndex].currency_code : 'EUR';\n // // let nrString =\n // // new Intl.NumberFormat(localStorage.locale, {style: 'currency', currency: currencyCode}).format(tooltipItem.yLabel)\n // //\n // // return data.datasets[tooltipItem.datasetIndex].label + ': ' + nrString;\n // // }\n // // }\n // }\n };\n }\n\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DefaultLineOptions.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DefaultLineOptions.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DefaultLineOptions.vue?vue&type=template&id=376cc9e0&scoped=true&\"\nimport script from \"./DefaultLineOptions.vue?vue&type=script&lang=js&\"\nexport * from \"./DefaultLineOptions.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 \"376cc9e0\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(\"div\")}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - MainAccount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">{{ $t('firefly.yourAccounts') }}</h3>\n </div>\n <div class=\"card-body\">\n <div>\n <canvas id=\"canvas\" ref=\"canvas\" width=\"400\" height=\"400\"></canvas>\n </div>\n <div v-if=\"loading && !error\" class=\"text-center\">\n <i class=\"fas fa-spinner fa-spin\"></i>\n </div>\n <div v-if=\"error\" class=\"text-center\">\n <i class=\"fas fa-exclamation-triangle text-danger\"></i>\n </div>\n </div>\n <div class=\"card-footer\">\n <a class=\"btn btn-default button-sm\" href=\"./accounts/asset\"><i class=\"far fa-money-bill-alt\"></i> {{ $t('firefly.go_to_asset_accounts') }}</a>\n </div>\n </div>\n</template>\n\n<script>\n\nimport DataConverter from \"../charts/DataConverter\";\nimport DefaultLineOptions from \"../charts/DefaultLineOptions\";\nimport {mapGetters} from \"vuex\";\nimport * as ChartJs from 'chart.js'\nimport format from \"date-fns/format\";\n\nChartJs.Chart.register.apply(null, Object.values(ChartJs).filter((chartClass) => (chartClass.id)));\n\n\nexport default {\n name: \"MainAccount\",\n components: {}, // MainAccountChart\n data() {\n return {\n loading: true,\n error: false,\n ready: false,\n initialised: false,\n dataCollection: {},\n chartOptions: {},\n _chart: null,\n }\n },\n created() {\n this.chartOptions = DefaultLineOptions.methods.getDefaultOptions();\n this.ready = true;\n },\n computed: {\n ...mapGetters('dashboard/index', ['start', 'end']),\n 'datesReady': function () {\n return null !== this.start && null !== this.end && this.ready;\n }\n },\n watch: {\n datesReady: function (value) {\n if (true === value) {\n this.initialiseChart();\n }\n },\n start: function () {\n this.updateChart();\n },\n end: function () {\n this.updateChart();\n },\n },\n methods: {\n initialiseChart: function () {\n this.loading = true;\n this.error = false;\n //let startStr = this.start.toISOString().split('T')[0];\n //let endStr = this.end.toISOString().split('T')[0];\n let startStr = format(this.start, 'y-MM-dd');\n let endStr = format(this.end, 'y-MM-dd');\n let url = './api/v1/chart/account/overview?start=' + startStr + '&end=' + endStr;\n axios.get(url)\n .then(response => {\n let chartData = DataConverter.methods.convertChart(response.data);\n chartData = DataConverter.methods.colorizeLineData(chartData);\n\n this.dataCollection = chartData;\n this.loading = false;\n this.drawChart();\n })\n .catch(error => {\n console.log('Has error!');\n console.log(error);\n this.error = true;\n });\n },\n drawChart: function () {\n //console.log('drawChart');\n if ('undefined' !== typeof this._chart) {\n // console.log('update!');\n this._chart.data = this.dataCollection;\n this._chart.update();\n this.initialised = true;\n }\n\n if ('undefined' === typeof this._chart) {\n // console.log('new!');\n this._chart = new ChartJs.Chart(this.$refs.canvas.getContext('2d'), {\n type: 'line',\n data: this.dataCollection,\n options: this.chartOptions\n }\n );\n this.initialised = true;\n }\n },\n updateChart: function () {\n // console.log('updateChart');\n if (this.initialised) {\n // console.log('MUST Update chart!');\n // reset some vars so it wont trigger again:\n this.initialised = false;\n this.initialiseChart();\n }\n }\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainAccount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainAccount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MainAccount.vue?vue&type=template&id=db9781e8&\"\nimport script from \"./MainAccount.vue?vue&type=script&lang=js&\"\nexport * from \"./MainAccount.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(_vm._s(_vm.$t('firefly.yourAccounts')))])]),_vm._v(\" \"),_c('div',{staticClass:\"card-body\"},[_c('div',[_c('canvas',{ref:\"canvas\",attrs:{\"id\":\"canvas\",\"width\":\"400\",\"height\":\"400\"}})]),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"card-footer\"},[_c('a',{staticClass:\"btn btn-default button-sm\",attrs:{\"href\":\"./accounts/asset\"}},[_c('i',{staticClass:\"far fa-money-bill-alt\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.go_to_asset_accounts')))])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - MainAccountList.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div>\n <!-- row if loading -->\n <div v-if=\"loading && !error\" class=\"row\">\n <div class=\"col\">\n <div class=\"card\">\n <div class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-spinner fa-spin\"></i>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <!-- row if error -->\n <div v-if=\"error\" class=\"row\">\n <div class=\"col\">\n <div class=\"card\">\n <div class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-exclamation-triangle text-danger\"></i>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <!-- row if normal -->\n <div v-if=\"!loading && !error\" class=\"row\">\n <div\n v-for=\"account in accounts\"\n v-bind:class=\"{ 'col-lg-12': 1 === accounts.length, 'col-lg-6': 2 === accounts.length, 'col-lg-4': accounts.length > 2 }\">\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\"><a :href=\"account.url\">{{ account.title }}</a></h3>\n <div class=\"card-tools\">\n <span :class=\"parseFloat(account.current_balance) < 0 ? 'text-danger' : 'text-success'\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: account.currency_code}).format(parseFloat(account.current_balance)) }}\n </span>\n </div>\n </div>\n <div class=\"card-body table-responsive p-0\">\n <div>\n <transaction-list-large v-if=\"1===accounts.length\" :account_id=\"account.id\" :transactions=\"account.transactions\"/>\n <transaction-list-medium v-if=\"2===accounts.length\" :account_id=\"account.id\" :transactions=\"account.transactions\"/>\n <transaction-list-small v-if=\"accounts.length > 2\" :account_id=\"account.id\" :transactions=\"account.transactions\"/>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport {createNamespacedHelpers} from \"vuex\";\nimport format from \"date-fns/format\";\n\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\n\nexport default {\n name: \"MainAccountList\",\n data() {\n return {\n loading: true,\n error: false,\n ready: false,\n accounts: [],\n locale: 'en-US'\n }\n },\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n this.ready = true;\n },\n computed: {\n ...mapGetters([\n 'start',\n 'end'\n ]),\n 'datesReady': function () {\n return null !== this.start && null !== this.end && this.ready;\n },\n },\n watch: {\n datesReady: function (value) {\n if (true === value) {\n this.initialiseList();\n }\n },\n start: function () {\n if (false === this.loading) {\n this.initialiseList();\n }\n },\n end: function () {\n if (false === this.loading) {\n this.initialiseList();\n }\n },\n },\n methods: {\n initialiseList: function () {\n this.loading = true;\n this.accounts = [];\n axios.get('./api/v1/preferences/frontPageAccounts')\n .then(response => {\n this.loadAccounts(response);\n }\n );\n },\n loadAccounts(response) {\n let accountIds = response.data.data.attributes.data;\n for (let key in accountIds) {\n if (accountIds.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n this.accounts.push({\n id: accountIds[key],\n title: '',\n url: '',\n include: false,\n current_balance: '0',\n currency_code: 'EUR',\n transactions: []\n });\n this.loadSingleAccount(key, accountIds[key]);\n }\n }\n },\n loadSingleAccount(key, accountId) {\n axios.get('./api/v1/accounts/' + accountId)\n .then(response => {\n let account = response.data.data;\n if ('asset' === account.attributes.type || 'liabilities' === account.attributes.type) {\n this.accounts[key].title = account.attributes.name;\n this.accounts[key].url = './accounts/show/' + account.id;\n this.accounts[key].current_balance = account.attributes.current_balance;\n this.accounts[key].currency_code = account.attributes.currency_code;\n this.accounts[key].include = true;\n this.loadTransactions(key, accountId);\n }\n }\n );\n },\n loadTransactions(key, accountId) {\n // let startStr = this.start.toISOString().split('T')[0];\n // let endStr = this.end.toISOString().split('T')[0];\n let startStr = format(this.start, 'y-MM-dd');\n let endStr = format(this.end, 'y-MM-dd');\n axios.get('./api/v1/accounts/' + accountId + '/transactions?page=1&limit=10&start=' + startStr + '&end=' + endStr)\n .then(response => {\n this.accounts[key].transactions = response.data.data;\n this.loading = false;\n this.error = false;\n }\n );\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainAccountList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainAccountList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MainAccountList.vue?vue&type=template&id=bf9d2eee&scoped=true&\"\nimport script from \"./MainAccountList.vue?vue&type=script&lang=js&\"\nexport * from \"./MainAccountList.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 \"bf9d2eee\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.loading && !_vm.error)?_c('div',{staticClass:\"row\"},[_vm._m(0)]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('div',{staticClass:\"row\"},[_vm._m(1)]):_vm._e(),_vm._v(\" \"),(!_vm.loading && !_vm.error)?_c('div',{staticClass:\"row\"},_vm._l((_vm.accounts),function(account){return _c('div',{class:{ 'col-lg-12': 1 === _vm.accounts.length, 'col-lg-6': 2 === _vm.accounts.length, 'col-lg-4': _vm.accounts.length > 2 }},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_c('a',{attrs:{\"href\":account.url}},[_vm._v(_vm._s(account.title))])]),_vm._v(\" \"),_c('div',{staticClass:\"card-tools\"},[_c('span',{class:parseFloat(account.current_balance) < 0 ? 'text-danger' : 'text-success'},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: account.currency_code}).format(parseFloat(account.current_balance)))+\"\\n \")])])]),_vm._v(\" \"),_c('div',{staticClass:\"card-body table-responsive p-0\"},[_c('div',[(1===_vm.accounts.length)?_c('transaction-list-large',{attrs:{\"account_id\":account.id,\"transactions\":account.transactions}}):_vm._e(),_vm._v(\" \"),(2===_vm.accounts.length)?_c('transaction-list-medium',{attrs:{\"account_id\":account.id,\"transactions\":account.transactions}}):_vm._e(),_vm._v(\" \"),(_vm.accounts.length > 2)?_c('transaction-list-small',{attrs:{\"account_id\":account.id,\"transactions\":account.transactions}}):_vm._e()],1)])])])}),0):_vm._e()])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})])])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})])])])])}]\n\nexport { render, staticRenderFns }","<!--\n - MainBills.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">{{ $t('firefly.bills') }}</h3>\n </div>\n <!-- body if loading -->\n <div v-if=\"loading && !error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-spinner fa-spin\"></i>\n </div>\n </div>\n <!-- body if error -->\n <div v-if=\"error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-exclamation-triangle text-danger\"></i>\n </div>\n </div>\n <!-- body if normal -->\n <div v-if=\"!loading && !error\" class=\"card-body table-responsive p-0\">\n <table class=\"table table-striped\">\n <caption style=\"display:none;\">{{ $t('firefly.bills') }}</caption>\n <thead>\n <tr>\n <th scope=\"col\" style=\"width:35%;\">{{ $t('list.name') }}</th>\n <th scope=\"col\" style=\"width:25%;\">{{ $t('list.next_expected_match') }}</th>\n </tr>\n </thead>\n <tbody>\n <tr v-for=\"bill in this.bills\">\n <td><a :href=\"'./bills/show/' + bill.id\" :title=\"bill.attributes.name\">{{ bill.attributes.name }}</a>\n (~ <span class=\"text-danger\">{{\n Intl.NumberFormat(locale, {style: 'currency', currency: bill.attributes.currency_code}).format((parseFloat(bill.attributes.amount_min) +\n parseFloat(bill.attributes.amount_max)) / -2)\n }}</span>)\n <small v-if=\"bill.attributes.object_group_title\" class=\"text-muted\">\n <br/>\n {{ bill.attributes.object_group_title }}\n </small>\n </td>\n <td>\n <span v-for=\"paidDate in bill.attributes.paid_dates\">\n <span v-html=\"renderPaidDate(paidDate)\"/><br/>\n </span>\n <span v-for=\"payDate in bill.attributes.pay_dates\" v-if=\"0===bill.attributes.paid_dates.length\">\n {{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(new Date(payDate)) }}\n <br/>\n </span>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n <div class=\"card-footer\">\n <a class=\"btn btn-default button-sm\" href=\"./bills\"><i class=\"far fa-money-bill-alt\"></i> {{ $t('firefly.go_to_bills') }}</a>\n </div>\n </div>\n</template>\n<script>\nimport {createNamespacedHelpers} from \"vuex\";\nimport format from \"date-fns/format\";\n\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\nexport default {\n name: \"MainBillsList\",\n data() {\n return {\n bills: [],\n locale: 'en-US',\n ready: false,\n loading: true,\n error: false\n }\n },\n computed: {\n ...mapGetters([\n 'start',\n 'end'\n ]),\n 'datesReady': function () {\n return null !== this.start && null !== this.end && this.ready;\n }\n },\n watch: {\n datesReady: function (value) {\n if (true === value) {\n this.initialiseBills();\n }\n },\n start: function () {\n if (false === this.loading) {\n this.initialiseBills();\n }\n },\n end: function () {\n if (false === this.loading) {\n this.initialiseBills();\n }\n },\n },\n created() {\n this.ready = true;\n this.locale = localStorage.locale ?? 'en-US';\n },\n components: {},\n methods: {\n initialiseBills: function () {\n this.loading = true;\n this.bills = [];\n // let startStr = this.start.toISOString().split('T')[0];\n // let endStr = this.end.toISOString().split('T')[0];\n let startStr = format(this.start, 'y-MM-dd');\n let endStr = format(this.end, 'y-MM-dd');\n\n axios.get('./api/v1/bills?start=' + startStr + '&end=' + endStr)\n .then(response => {\n this.loadBills(response.data.data);\n }\n ).catch(error => {\n this.error = true;\n this.loading = false;\n });\n },\n renderPaidDate: function (obj) {\n let dateStr = new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(new Date(obj.date));\n let str = this.$t('firefly.bill_paid_on', {date: dateStr});\n return '<a href=\"./transactions/show/' + obj.transaction_group_id + '\" title=\"' + str + '\">' + str + '</a>';\n },\n loadBills: function (data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n\n let bill = data[key];\n let active = bill.attributes.active;\n if (bill.attributes.pay_dates.length > 0 && active) {\n this.bills.push(bill);\n }\n }\n }\n this.error = false;\n this.loading = false;\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainBillsList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainBillsList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MainBillsList.vue?vue&type=template&id=df2c6a44&\"\nimport script from \"./MainBillsList.vue?vue&type=script&lang=js&\"\nexport * from \"./MainBillsList.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(_vm._s(_vm.$t('firefly.bills')))])]),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(0)]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(1)]):_vm._e(),_vm._v(\" \"),(!_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body table-responsive p-0\"},[_c('table',{staticClass:\"table table-striped\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.bills')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{staticStyle:{\"width\":\"35%\"},attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('list.name')))]),_vm._v(\" \"),_c('th',{staticStyle:{\"width\":\"25%\"},attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('list.next_expected_match')))])])]),_vm._v(\" \"),_c('tbody',_vm._l((this.bills),function(bill){return _c('tr',[_c('td',[_c('a',{attrs:{\"href\":'./bills/show/' + bill.id,\"title\":bill.attributes.name}},[_vm._v(_vm._s(bill.attributes.name))]),_vm._v(\"\\n (~ \"),_c('span',{staticClass:\"text-danger\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: bill.attributes.currency_code}).format((parseFloat(bill.attributes.amount_min) +\n parseFloat(bill.attributes.amount_max)) / -2)))]),_vm._v(\")\\n \"),(bill.attributes.object_group_title)?_c('small',{staticClass:\"text-muted\"},[_c('br'),_vm._v(\"\\n \"+_vm._s(bill.attributes.object_group_title)+\"\\n \")]):_vm._e()]),_vm._v(\" \"),_c('td',[_vm._l((bill.attributes.paid_dates),function(paidDate){return _c('span',[_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.renderPaidDate(paidDate))}}),_c('br')])}),_vm._v(\" \"),_vm._l((bill.attributes.pay_dates),function(payDate){return (0===bill.attributes.paid_dates.length)?_c('span',[_vm._v(\"\\n \"+_vm._s(new Intl.DateTimeFormat(_vm.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(new Date(payDate)))+\"\\n \"),_c('br')]):_vm._e()})],2)])}),0)])]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"card-footer\"},[_c('a',{staticClass:\"btn btn-default button-sm\",attrs:{\"href\":\"./bills\"}},[_c('i',{staticClass:\"far fa-money-bill-alt\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.go_to_bills')))])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})])}]\n\nexport { render, staticRenderFns }","<!--\n - BudgetRow.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <tr>\n <td style=\"width:25%;\">\n <a :href=\"'./budgets/show/' + budgetLimit.budget_id\">{{ budgetLimit.budget_name }}</a>\n </td>\n\n <td style=\"vertical-align: middle\">\n <div class=\"progress progress active\">\n <div :aria-valuenow=\"budgetLimit.pctGreen\" :style=\"'width: '+ budgetLimit.pctGreen + '%;'\"\n aria-valuemax=\"100\" aria-valuemin=\"0\" class=\"progress-bar bg-success progress-bar-striped\" role=\"progressbar\">\n <span v-if=\"budgetLimit.pctGreen > 35\">\n {{ $t('firefly.spent_x_of_y', {amount: Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.spent), total: Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.amount)}) }}\n <!-- -->\n </span>\n\n\n </div>\n\n <div :aria-valuenow=\"budgetLimit.pctOrange\" :style=\"'width: '+ budgetLimit.pctOrange + '%;'\"\n aria-valuemax=\"100\" aria-valuemin=\"0\" class=\"progress-bar bg-warning progress-bar-striped\" role=\"progressbar\">\n <span v-if=\"budgetLimit.pctRed <= 50 && budgetLimit.pctOrange > 35\">\n {{ $t('firefly.spent_x_of_y', {amount: Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.spent), total: Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.amount)}) }}\n </span>\n </div>\n\n <div :aria-valuenow=\"budgetLimit.pctRed\" :style=\"'width: '+ budgetLimit.pctRed + '%;'\"\n aria-valuemax=\"100\" aria-valuemin=\"0\" class=\"progress-bar bg-danger progress-bar-striped\" role=\"progressbar\">\n <span v-if=\"budgetLimit.pctOrange <= 50 && budgetLimit.pctRed > 35\" class=\"text-muted\">\n {{ $t('firefly.spent_x_of_y', {amount: Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.spent), total: Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.amount)}) }}\n </span>\n </div>\n\n <!-- amount if bar is very small -->\n <span v-if=\"budgetLimit.pctGreen <= 35 && 0 === budgetLimit.pctOrange && 0 === budgetLimit.pctRed && 0 !== budgetLimit.pctGreen\" style=\"line-height: 16px;\">\n {{ $t('firefly.spent_x_of_y', {amount: Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.spent), total: Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.amount)}) }}\n </span>\n\n </div>\n <small class=\"d-none d-lg-block\">\n {{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(budgetLimit.start) }}\n →\n {{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(budgetLimit.end) }}\n </small>\n </td>\n\n <td class=\"align-middle d-none d-lg-table-cell\" style=\"width:10%;\">\n <span v-if=\"parseFloat(budgetLimit.amount) + parseFloat(budgetLimit.spent) > 0\" class=\"text-success\">\n {{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: budgetLimit.currency_code\n }).format(parseFloat(budgetLimit.amount) + parseFloat(budgetLimit.spent))\n }}\n </span>\n <span v-if=\"0.0 === parseFloat(budgetLimit.amount) + parseFloat(budgetLimit.spent)\" class=\"text-muted\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(0) }}\n </span>\n <span v-if=\"parseFloat(budgetLimit.amount) + parseFloat(budgetLimit.spent) < 0\" class=\"text-danger\">\n {{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: budgetLimit.currency_code\n }).format(parseFloat(budgetLimit.amount) + parseFloat(budgetLimit.spent))\n }}\n </span>\n </td>\n </tr>\n\n</template>\n\n<script>\nexport default {\n name: \"BudgetLimitRow\",\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n },\n data() {\n return {\n locale: 'en-US',\n }\n },\n props: {\n budgetLimit: {\n type: Object,\n default: function () {\n return {};\n }\n },\n budget: {\n type: Object,\n default: function () {\n return {};\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BudgetLimitRow.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BudgetLimitRow.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./BudgetLimitRow.vue?vue&type=template&id=7988ecb6&scoped=true&\"\nimport script from \"./BudgetLimitRow.vue?vue&type=script&lang=js&\"\nexport * from \"./BudgetLimitRow.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 \"7988ecb6\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tr',[_c('td',{staticStyle:{\"width\":\"25%\"}},[_c('a',{attrs:{\"href\":'./budgets/show/' + _vm.budgetLimit.budget_id}},[_vm._v(_vm._s(_vm.budgetLimit.budget_name))])]),_vm._v(\" \"),_c('td',{staticStyle:{\"vertical-align\":\"middle\"}},[_c('div',{staticClass:\"progress progress active\"},[_c('div',{staticClass:\"progress-bar bg-success progress-bar-striped\",style:('width: '+ _vm.budgetLimit.pctGreen + '%;'),attrs:{\"aria-valuenow\":_vm.budgetLimit.pctGreen,\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\",\"role\":\"progressbar\"}},[(_vm.budgetLimit.pctGreen > 35)?_c('span',[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.spent_x_of_y', {amount: Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.spent), total: Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.amount)}))+\"\\n \")]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"progress-bar bg-warning progress-bar-striped\",style:('width: '+ _vm.budgetLimit.pctOrange + '%;'),attrs:{\"aria-valuenow\":_vm.budgetLimit.pctOrange,\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\",\"role\":\"progressbar\"}},[(_vm.budgetLimit.pctRed <= 50 && _vm.budgetLimit.pctOrange > 35)?_c('span',[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.spent_x_of_y', {amount: Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.spent), total: Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.amount)}))+\"\\n \")]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"progress-bar bg-danger progress-bar-striped\",style:('width: '+ _vm.budgetLimit.pctRed + '%;'),attrs:{\"aria-valuenow\":_vm.budgetLimit.pctRed,\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\",\"role\":\"progressbar\"}},[(_vm.budgetLimit.pctOrange <= 50 && _vm.budgetLimit.pctRed > 35)?_c('span',{staticClass:\"text-muted\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.spent_x_of_y', {amount: Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.spent), total: Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.amount)}))+\"\\n \")]):_vm._e()]),_vm._v(\" \"),(_vm.budgetLimit.pctGreen <= 35 && 0 === _vm.budgetLimit.pctOrange && 0 === _vm.budgetLimit.pctRed && 0 !== _vm.budgetLimit.pctGreen)?_c('span',{staticStyle:{\"line-height\":\"16px\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.spent_x_of_y', {amount: Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.spent), total: Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.amount)}))+\"\\n \")]):_vm._e()]),_vm._v(\" \"),_c('small',{staticClass:\"d-none d-lg-block\"},[_vm._v(\"\\n \"+_vm._s(new Intl.DateTimeFormat(_vm.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(_vm.budgetLimit.start))+\"\\n →\\n \"+_vm._s(new Intl.DateTimeFormat(_vm.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(_vm.budgetLimit.end))+\"\\n \")])]),_vm._v(\" \"),_c('td',{staticClass:\"align-middle d-none d-lg-table-cell\",staticStyle:{\"width\":\"10%\"}},[(parseFloat(_vm.budgetLimit.amount) + parseFloat(_vm.budgetLimit.spent) > 0)?_c('span',{staticClass:\"text-success\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: _vm.budgetLimit.currency_code\n }).format(parseFloat(_vm.budgetLimit.amount) + parseFloat(_vm.budgetLimit.spent)))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(0.0 === parseFloat(_vm.budgetLimit.amount) + parseFloat(_vm.budgetLimit.spent))?_c('span',{staticClass:\"text-muted\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(0))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(parseFloat(_vm.budgetLimit.amount) + parseFloat(_vm.budgetLimit.spent) < 0)?_c('span',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: _vm.budgetLimit.currency_code\n }).format(parseFloat(_vm.budgetLimit.amount) + parseFloat(_vm.budgetLimit.spent)))+\"\\n \")]):_vm._e()])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - BudgetRow.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n\n<template>\n <tr>\n <td style=\"width:25%;\">\n <a :href=\"'./budgets/show/' + budget.id\">{{ budget.name }}</a>\n </td>\n <td class=\"align-middle text-right\">\n <span class=\"text-danger\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: budget.currency_code}).format(parseFloat(budget.spent)) }}\n </span>\n </td>\n </tr>\n</template>\n\n<script>\nexport default {\n name: \"BudgetRow\",\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n },\n data() {\n return {\n locale: 'en-US',\n }\n },\n props: {\n budget: {\n type: Object,\n default: {}\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BudgetRow.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BudgetRow.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./BudgetRow.vue?vue&type=template&id=2fc8f640&scoped=true&\"\nimport script from \"./BudgetRow.vue?vue&type=script&lang=js&\"\nexport * from \"./BudgetRow.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 \"2fc8f640\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BudgetListGroup.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BudgetListGroup.vue?vue&type=script&lang=js&\"","<!--\n - BudgetListGroup.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">{{ title }}</h3>\n </div>\n <div class=\"card-body table-responsive p-0\">\n <table class=\"table table-sm\">\n <caption style=\"display:none;\">{{ title }}</caption>\n <thead>\n <tr>\n <th scope=\"col\">{{ $t('firefly.budget') }}</th>\n <th scope=\"col\">{{ $t('firefly.spent') }}</th>\n <th scope=\"col\">{{ $t('firefly.left') }}</th>\n </tr>\n </thead>\n <tbody>\n <BudgetLimitRow v-for=\"(budgetLimit, key) in budgetLimits\" v-bind:key=\"key\" :budgetLimit=\"budgetLimit\"/>\n <BudgetRow v-for=\"(budget, key) in budgets\" v-bind:key=\"key\" :budget=\"budget\"/>\n </tbody>\n </table>\n </div>\n <div class=\"card-footer\">\n <a class=\"btn btn-default button-sm\" href=\"./budgets\"><i class=\"far fa-money-bill-alt\"></i> {{ $t('firefly.go_to_budgets') }}</a>\n </div>\n </div>\n</template>\n\n<script>\nimport BudgetLimitRow from \"./BudgetLimitRow\";\nimport BudgetRow from \"./BudgetRow\";\n\nexport default {\n name: \"BudgetListGroup\",\n components: {BudgetLimitRow, BudgetRow},\n props: {\n title: String,\n budgetLimits: Array,\n budgets: Array,\n },\n}\n</script>\n\n<style scoped>\n\n</style>","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tr',[_c('td',{staticStyle:{\"width\":\"25%\"}},[_c('a',{attrs:{\"href\":'./budgets/show/' + _vm.budget.id}},[_vm._v(_vm._s(_vm.budget.name))])]),_vm._v(\" \"),_c('td',{staticClass:\"align-middle text-right\"},[_c('span',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budget.currency_code}).format(parseFloat(_vm.budget.spent)))+\"\\n \")])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./BudgetListGroup.vue?vue&type=template&id=2b21deef&scoped=true&\"\nimport script from \"./BudgetListGroup.vue?vue&type=script&lang=js&\"\nexport * from \"./BudgetListGroup.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 \"2b21deef\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(_vm._s(_vm.title))])]),_vm._v(\" \"),_c('div',{staticClass:\"card-body table-responsive p-0\"},[_c('table',{staticClass:\"table table-sm\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.title))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.budget')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.spent')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.left')))])])]),_vm._v(\" \"),_c('tbody',[_vm._l((_vm.budgetLimits),function(budgetLimit,key){return _c('BudgetLimitRow',{key:key,attrs:{\"budgetLimit\":budgetLimit}})}),_vm._v(\" \"),_vm._l((_vm.budgets),function(budget,key){return _c('BudgetRow',{key:key,attrs:{\"budget\":budget}})})],2)])]),_vm._v(\" \"),_c('div',{staticClass:\"card-footer\"},[_c('a',{staticClass:\"btn btn-default button-sm\",attrs:{\"href\":\"./budgets\"}},[_c('i',{staticClass:\"far fa-money-bill-alt\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.go_to_budgets')))])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - MainBudgetList.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div>\n <!-- daily budgets (will be the exception, I expect) -->\n <div v-if=\"!loading\" class=\"row\">\n <div v-if=\"budgetLimits.daily.length > 0\" class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n <BudgetListGroup :budgetLimits=budgetLimits.daily :title=\"$t('firefly.daily_budgets')\"\n />\n </div>\n <div v-if=\"budgetLimits.weekly.length > 0\" class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n <BudgetListGroup :budgetLimits=budgetLimits.weekly :title=\"$t('firefly.weekly_budgets')\"\n />\n </div>\n <div v-if=\"budgetLimits.monthly.length > 0\" class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n <BudgetListGroup :budgetLimits=budgetLimits.monthly :title=\"$t('firefly.monthly_budgets')\"\n />\n </div>\n <div v-if=\"budgetLimits.quarterly.length > 0\" class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n <BudgetListGroup :budgetLimits=budgetLimits.quarterly :title=\"$t('firefly.quarterly_budgets')\"\n />\n </div>\n <div v-if=\"budgetLimits.half_year.length > 0\" class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n <BudgetListGroup :budgetLimits=budgetLimits.half_year :title=\"$t('firefly.half_year_budgets')\"\n />\n </div>\n <div v-if=\"budgetLimits.yearly.length > 0\" class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n <BudgetListGroup :budgetLimits=budgetLimits.yearly :title=\"$t('firefly.yearly_budgets')\"\n />\n </div>\n <div v-if=\"budgetLimits.other.length > 0 || rawBudgets.length > 0\" class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n <BudgetListGroup :budgetLimits=budgetLimits.other :budgets=\"rawBudgets\" :title=\"$t('firefly.other_budgets')\"\n />\n </div>\n </div>\n <div v-if=\"loading && !error\" class=\"row\">\n <div class=\"col\">\n <div class=\"card\">\n <div class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-spinner fa-spin\"></i>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport BudgetListGroup from \"./BudgetListGroup\";\nimport {createNamespacedHelpers} from \"vuex\";\nimport format from \"date-fns/format\";\n\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\n\nexport default {\n name: \"MainBudgetList\",\n components: {BudgetListGroup},\n data() {\n return {\n budgetList: ['daily', 'weekly', 'monthly', 'quarterly', 'half_year', 'yearly', 'other'],\n budgetLimits: {\n daily: [],\n weekly: [],\n monthly: [],\n quarterly: [],\n half_year: [],\n yearly: [],\n other: [],\n },\n budgets: {}, // used to collect some meta data.\n rawBudgets: [],\n locale: 'en-US',\n ready: false,\n loading: true,\n error: false\n }\n },\n created() {\n this.ready = true;\n this.locale = localStorage.locale ?? 'en-US';\n },\n watch: {\n datesReady: function (value) {\n if (true === value) {\n this.getBudgets();\n }\n },\n start: function () {\n if (false === this.loading) {\n this.getBudgets();\n }\n },\n end: function () {\n if (false === this.loading) {\n this.getBudgets();\n }\n },\n },\n computed: {\n ...mapGetters(['start', 'end']),\n 'datesReady': function () {\n return null !== this.start && null !== this.end && this.ready;\n }\n },\n methods:\n {\n getBudgets: function () {\n this.budgets = {};\n this.rawBudgets = [];\n this.budgetLimits = {\n daily: [],\n weekly: [],\n monthly: [],\n quarterly: [],\n half_year: [],\n yearly: [],\n other: [],\n };\n this.loading = true;\n // let startStr = this.start.toISOString().split('T')[0];\n // let endStr = this.end.toISOString().split('T')[0];\n let startStr = format(this.start, 'y-MM-dd');\n let endStr = format(this.end, 'y-MM-dd');\n axios.get('./api/v1/budgets?start=' + startStr + '&end=' + endStr)\n .then(response => {\n this.parseBudgets(response.data);\n }\n );\n },\n parseBudgets(data) {\n for (let i in data.data) {\n if (data.data.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = data.data[i];\n if (false === current.attributes.active) {\n // skip inactive budgets\n continue;\n }\n for (let ii in current.attributes.spent) {\n if (current.attributes.spent.hasOwnProperty(ii) && /^0$|^[1-9]\\d*$/.test(ii) && ii <= 4294967294) {\n let spentData = current.attributes.spent[ii];\n this.rawBudgets.push(\n {\n id: parseInt(current.id),\n name: current.attributes.name,\n currency_id: parseInt(spentData.currency_id),\n currency_code: spentData.currency_code,\n spent: spentData.sum\n }\n );\n //console.log('Added budget ' + current.attributes.name + ' (' + spentData.currency_code + ')');\n }\n }\n }\n }\n this.getBudgetLimits();\n },\n getBudgetLimits() {\n // let startStr = this.start.toISOString().split('T')[0];\n // let endStr = this.end.toISOString().split('T')[0];\n let startStr = format(this.start, 'y-MM-dd');\n let endStr = format(this.end, 'y-MM-dd');\n axios.get('./api/v1/budget-limits?start=' + startStr + '&end=' + endStr)\n .then(response => {\n this.parseBudgetLimits(response.data);\n this.loading = false;\n }\n );\n },\n parseBudgetLimits(data) {\n // collect budget meta data.\n for (let i in data.included) {\n if (data.included.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = data.included[i];\n let currentId = parseInt(current.id);\n this.budgets[currentId] =\n {\n id: currentId,\n name: current.attributes.name,\n };\n //console.log('Collected meta data: budget #' + currentId + ' is named ' + current.attributes.name);\n }\n }\n\n for (let i in data.data) {\n if (data.data.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = data.data[i];\n let currentId = parseInt(current.id);\n let budgetId = parseInt(current.attributes.budget_id);\n let currencyId = parseInt(current.attributes.currency_id);\n let spentFloat = parseFloat(current.attributes.spent);\n let spentFloatPos = parseFloat(current.attributes.spent) * -1;\n let amount = parseFloat(current.attributes.amount);\n let period = current.attributes.period ?? 'other';\n let pctGreen = 0;\n let pctOrange = 0;\n let pctRed = 0;\n //console.log('Collected \"' + period + '\" budget limit #' + currentId + ' (part of budget #' + budgetId + ')');\n //console.log('Spent ' + spentFloat + ' of ' + amount);\n\n // remove budget info from rawBudgets if it's there:\n this.filterBudgets(budgetId, currencyId);\n\n // spent within budget:\n if (0.0 !== spentFloat && spentFloatPos < amount) {\n pctGreen = (spentFloatPos / amount) * 100;\n }\n\n // spent over budget\n if (0.0 !== spentFloatPos && spentFloatPos > amount) {\n pctOrange = (spentFloatPos / amount) * 100;\n pctRed = 100 - pctOrange;\n }\n let obj = {\n id: currentId,\n amount: current.attributes.amount,\n budget_id: budgetId,\n budget_name: this.budgets[current.attributes.budget_id].name,\n currency_id: currencyId,\n currency_code: current.attributes.currency_code,\n period: current.attributes.period,\n start: new Date(current.attributes.start),\n end: new Date(current.attributes.end),\n spent: current.attributes.spent,\n pctGreen: pctGreen,\n pctOrange: pctOrange,\n pctRed: pctRed,\n };\n\n this.budgetLimits[period].push(obj);\n }\n }\n },\n\n filterBudgets(budgetId, currencyId) {\n for (let i in this.rawBudgets) {\n if (this.rawBudgets.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n if (this.rawBudgets[i].currency_id === currencyId && this.rawBudgets[i].id === budgetId) {\n //console.log('Budget ' + this.rawBudgets[i].name + ' with currency ' + this.rawBudgets[i].currency_code + ' will be removed in favor of a budget limit.');\n this.rawBudgets.splice(parseInt(i), 1);\n }\n }\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainBudgetList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainBudgetList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MainBudgetList.vue?vue&type=template&id=0ae2dcbe&scoped=true&\"\nimport script from \"./MainBudgetList.vue?vue&type=script&lang=js&\"\nexport * from \"./MainBudgetList.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 \"0ae2dcbe\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.loading)?_c('div',{staticClass:\"row\"},[(_vm.budgetLimits.daily.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"budgetLimits\":_vm.budgetLimits.daily,\"title\":_vm.$t('firefly.daily_budgets')}})],1):_vm._e(),_vm._v(\" \"),(_vm.budgetLimits.weekly.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"budgetLimits\":_vm.budgetLimits.weekly,\"title\":_vm.$t('firefly.weekly_budgets')}})],1):_vm._e(),_vm._v(\" \"),(_vm.budgetLimits.monthly.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"budgetLimits\":_vm.budgetLimits.monthly,\"title\":_vm.$t('firefly.monthly_budgets')}})],1):_vm._e(),_vm._v(\" \"),(_vm.budgetLimits.quarterly.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"budgetLimits\":_vm.budgetLimits.quarterly,\"title\":_vm.$t('firefly.quarterly_budgets')}})],1):_vm._e(),_vm._v(\" \"),(_vm.budgetLimits.half_year.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"budgetLimits\":_vm.budgetLimits.half_year,\"title\":_vm.$t('firefly.half_year_budgets')}})],1):_vm._e(),_vm._v(\" \"),(_vm.budgetLimits.yearly.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"budgetLimits\":_vm.budgetLimits.yearly,\"title\":_vm.$t('firefly.yearly_budgets')}})],1):_vm._e(),_vm._v(\" \"),(_vm.budgetLimits.other.length > 0 || _vm.rawBudgets.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"budgetLimits\":_vm.budgetLimits.other,\"budgets\":_vm.rawBudgets,\"title\":_vm.$t('firefly.other_budgets')}})],1):_vm._e()]):_vm._e(),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('div',{staticClass:\"row\"},[_vm._m(0)]):_vm._e()])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})])])])])}]\n\nexport { render, staticRenderFns }","<!--\n - MainCreditList.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">{{ $t('firefly.revenue_accounts') }}</h3>\n </div>\n <!-- body if loading -->\n <div v-if=\"loading && !error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-spinner fa-spin\"></i>\n </div>\n </div>\n <!-- body if error -->\n <div v-if=\"error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-exclamation-triangle text-danger\"></i>\n </div>\n </div>\n <!-- body if normal -->\n <div v-if=\"!loading && !error\" class=\"card-body table-responsive p-0\">\n <table class=\"table table-sm\">\n <caption style=\"display:none;\">{{ $t('firefly.revenue_accounts') }}</caption>\n <thead>\n <tr>\n <th scope=\"col\">{{ $t('firefly.account') }}</th>\n <th scope=\"col\">{{ $t('firefly.earned') }}</th>\n </tr>\n </thead>\n <tbody>\n <tr v-for=\"entry in income\">\n <td style=\"width:20%;\"><a :href=\"'./accounts/show/' + entry.id\">{{ entry.name }}</a></td>\n <td class=\"align-middle\">\n <div v-if=\"entry.pct > 0\" class=\"progress\">\n <div :aria-valuenow=\"entry.pct\" :style=\"{ width: entry.pct + '%'}\" aria-valuemax=\"100\"\n aria-valuemin=\"0\" class=\"progress-bar progress-bar-striped bg-success\"\n role=\"progressbar\">\n <span v-if=\"entry.pct > 20\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: entry.currency_code}).format(entry.difference_float) }}\n </span>\n </div>\n <span v-if=\"entry.pct <= 20\" style=\"line-height: 16px;\"> \n {{ Intl.NumberFormat(locale, {style: 'currency', currency: entry.currency_code}).format(entry.difference_float) }}\n </span>\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n <div class=\"card-footer\">\n <a class=\"btn btn-default button-sm\" href=\"./transactions/deposit\"><i class=\"far fa-money-bill-alt\"></i> {{ $t('firefly.go_to_deposits') }}</a>\n </div>\n </div>\n</template>\n\n<script>\n\nimport {createNamespacedHelpers} from \"vuex\";\nimport format from \"date-fns/format\";\n\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\n\n// TODO same as credit list but reversed\n\nexport default {\n name: \"MainCreditList\",\n data() {\n return {\n locale: 'en-US',\n income: [],\n max: 0,\n loading: true,\n error: false\n }\n },\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n this.ready = true;\n },\n computed: {\n ...mapGetters([\n 'start',\n 'end'\n ]),\n 'datesReady': function () {\n return null !== this.start && null !== this.end && this.ready;\n }\n },\n watch: {\n datesReady: function (value) {\n if (true === value) {\n this.getIncome();\n }\n },\n start: function () {\n if (false === this.loading) {\n this.getIncome();\n }\n },\n end: function () {\n if (false === this.loading) {\n this.getIncome();\n }\n },\n },\n methods: {\n getIncome() {\n this.loading = true;\n this.income = [];\n this.error = false;\n // let startStr = this.start.toISOString().split('T')[0];\n // let endStr = this.end.toISOString().split('T')[0];\n let startStr = format(this.start, 'y-MM-dd');\n let endStr = format(this.end, 'y-MM-dd');\n axios.get('./api/v1/insight/income/revenue?start=' + startStr + '&end=' + endStr)\n .then(response => {\n // do something with response.\n this.parseIncome(response.data);\n this.loading = false;\n }).catch(error => {\n this.error = true\n });\n },\n parseIncome(data) {\n for (let mainKey in data) {\n if (data.hasOwnProperty(mainKey)) {\n mainKey = parseInt(mainKey);\n // contains currency info and entries.\n let current = data[mainKey];\n current.pct = 0;\n this.max = current.difference_float > this.max ? current.difference_float : this.max;\n this.income.push(current);\n }\n }\n if (0 === this.max) {\n this.max = 1;\n }\n // now sort + pct:\n for (let i in this.income) {\n if (this.income.hasOwnProperty(i)) {\n let current = this.income[i];\n current.pct = (current.difference_float / this.max) * 100;\n this.income[i] = current;\n }\n }\n this.income.sort((a,b) => (a.pct > b.pct) ? -1 : ((b.pct > a.pct) ? 1 : 0));\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainCreditList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainCreditList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MainCreditList.vue?vue&type=template&id=b9de7dae&\"\nimport script from \"./MainCreditList.vue?vue&type=script&lang=js&\"\nexport * from \"./MainCreditList.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(_vm._s(_vm.$t('firefly.revenue_accounts')))])]),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(0)]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(1)]):_vm._e(),_vm._v(\" \"),(!_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body table-responsive p-0\"},[_c('table',{staticClass:\"table table-sm\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.revenue_accounts')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.account')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.earned')))])])]),_vm._v(\" \"),_c('tbody',_vm._l((_vm.income),function(entry){return _c('tr',[_c('td',{staticStyle:{\"width\":\"20%\"}},[_c('a',{attrs:{\"href\":'./accounts/show/' + entry.id}},[_vm._v(_vm._s(entry.name))])]),_vm._v(\" \"),_c('td',{staticClass:\"align-middle\"},[(entry.pct > 0)?_c('div',{staticClass:\"progress\"},[_c('div',{staticClass:\"progress-bar progress-bar-striped bg-success\",style:({ width: entry.pct + '%'}),attrs:{\"aria-valuenow\":entry.pct,\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\",\"role\":\"progressbar\"}},[(entry.pct > 20)?_c('span',[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: entry.currency_code}).format(entry.difference_float))+\"\\n \")]):_vm._e()]),_vm._v(\" \"),(entry.pct <= 20)?_c('span',{staticStyle:{\"line-height\":\"16px\"}},[_vm._v(\" \\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: entry.currency_code}).format(entry.difference_float))+\"\\n \")]):_vm._e()]):_vm._e()])])}),0)])]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"card-footer\"},[_c('a',{staticClass:\"btn btn-default button-sm\",attrs:{\"href\":\"./transactions/deposit\"}},[_c('i',{staticClass:\"far fa-money-bill-alt\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.go_to_deposits')))])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})])}]\n\nexport { render, staticRenderFns }","<!--\n - MainDebitList.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">{{ $t('firefly.expense_accounts') }}</h3>\n </div>\n <!-- body if loading -->\n <div v-if=\"loading && !error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-spinner fa-spin\"></i>\n </div>\n </div>\n <!-- body if error -->\n <div v-if=\"error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-exclamation-triangle text-danger\"></i>\n </div>\n </div>\n <!-- body if normal -->\n <div v-if=\"!loading && !error\" class=\"card-body table-responsive p-0\">\n <table class=\"table table-sm\">\n <caption style=\"display:none;\">{{ $t('firefly.expense_accounts') }}</caption>\n <thead>\n <tr>\n <th scope=\"col\">{{ $t('firefly.account') }}</th>\n <th scope=\"col\">{{ $t('firefly.spent') }}</th>\n </tr>\n </thead>\n <tbody>\n <tr v-for=\"entry in expenses\">\n <td style=\"width:20%;\"><a :href=\"'./accounts/show/' + entry.id\">{{ entry.name }}</a></td>\n <td class=\"align-middle\">\n <div v-if=\"entry.pct > 0\" class=\"progress\">\n <div :aria-valuenow=\"entry.pct\" :style=\"{ width: entry.pct + '%'}\" aria-valuemax=\"100\"\n aria-valuemin=\"0\" class=\"progress-bar progress-bar-striped bg-danger\"\n role=\"progressbar\">\n <span v-if=\"entry.pct > 20\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: entry.currency_code}).format(entry.difference_float) }}\n </span>\n </div>\n <span v-if=\"entry.pct <= 20\" style=\"line-height: 16px;\"> \n {{ Intl.NumberFormat(locale, {style: 'currency', currency: entry.currency_code}).format(entry.difference_float) }}\n </span>\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n <div class=\"card-footer\">\n <a class=\"btn btn-default button-sm\" href=\"./transactions/withdrawal\"><i class=\"far fa-money-bill-alt\"></i> {{ $t('firefly.go_to_withdrawals') }}</a>\n </div>\n </div>\n</template>\n\n<script>\n\nimport {createNamespacedHelpers} from \"vuex\";\nimport format from \"date-fns/format\";\n\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\n\n\nexport default {\n name: \"MainDebitList\",\n data() {\n return {\n locale: 'en-US',\n expenses: [],\n min: 0,\n loading: true,\n error: false\n }\n },\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n this.ready = true;\n },\n computed: {\n ...mapGetters([\n 'start',\n 'end'\n ]),\n 'datesReady': function () {\n return null !== this.start && null !== this.end && this.ready;\n }\n },\n watch: {\n datesReady: function (value) {\n if (true === value) {\n this.getExpenses();\n }\n },\n start: function () {\n if (false === this.loading) {\n this.getExpenses();\n }\n },\n end: function () {\n if (false === this.loading) {\n this.getExpenses();\n }\n },\n },\n methods: {\n getExpenses() {\n this.loading = true;\n this.error = false;\n this.expenses = [];\n // let startStr = this.start.toISOString().split('T')[0];\n // let endStr = this.end.toISOString().split('T')[0];\n let startStr = format(this.start, 'y-MM-dd');\n let endStr = format(this.end, 'y-MM-dd');\n axios.get('./api/v1/insight/expense/expense?start=' + startStr + '&end=' + endStr)\n .then(response => {\n // do something with response.\n this.parseExpenses(response.data);\n this.loading = false\n }).catch(error => {\n this.error = true\n });\n },\n parseExpenses(data) {\n for (let mainKey in data) {\n if (data.hasOwnProperty(mainKey) && /^0$|^[1-9]\\d*$/.test(mainKey) && mainKey <= 4294967294) {\n let current = data[mainKey];\n current.pct = 0;\n\n this.min = current.difference_float < this.min ? current.difference_float : this.min;\n this.expenses.push(current);\n }\n }\n\n if (0 === this.min) {\n this.min = -1;\n }\n // now sort + pct:\n for (let i in this.expenses) {\n if (this.expenses.hasOwnProperty(i)) {\n let current = this.expenses[i];\n current.pct = (current.difference_float*-1 / this.min*-1) * 100;\n this.expenses[i] = current;\n }\n }\n this.expenses.sort((a,b) => (a.pct > b.pct) ? -1 : ((b.pct > a.pct) ? 1 : 0));\n\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainDebitList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainDebitList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MainDebitList.vue?vue&type=template&id=55188dfd&\"\nimport script from \"./MainDebitList.vue?vue&type=script&lang=js&\"\nexport * from \"./MainDebitList.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(_vm._s(_vm.$t('firefly.expense_accounts')))])]),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(0)]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(1)]):_vm._e(),_vm._v(\" \"),(!_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body table-responsive p-0\"},[_c('table',{staticClass:\"table table-sm\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.expense_accounts')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.account')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.spent')))])])]),_vm._v(\" \"),_c('tbody',_vm._l((_vm.expenses),function(entry){return _c('tr',[_c('td',{staticStyle:{\"width\":\"20%\"}},[_c('a',{attrs:{\"href\":'./accounts/show/' + entry.id}},[_vm._v(_vm._s(entry.name))])]),_vm._v(\" \"),_c('td',{staticClass:\"align-middle\"},[(entry.pct > 0)?_c('div',{staticClass:\"progress\"},[_c('div',{staticClass:\"progress-bar progress-bar-striped bg-danger\",style:({ width: entry.pct + '%'}),attrs:{\"aria-valuenow\":entry.pct,\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\",\"role\":\"progressbar\"}},[(entry.pct > 20)?_c('span',[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: entry.currency_code}).format(entry.difference_float))+\"\\n \")]):_vm._e()]),_vm._v(\" \"),(entry.pct <= 20)?_c('span',{staticStyle:{\"line-height\":\"16px\"}},[_vm._v(\" \\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: entry.currency_code}).format(entry.difference_float))+\"\\n \")]):_vm._e()]):_vm._e()])])}),0)])]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"card-footer\"},[_c('a',{staticClass:\"btn btn-default button-sm\",attrs:{\"href\":\"./transactions/withdrawal\"}},[_c('i',{staticClass:\"far fa-money-bill-alt\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.go_to_withdrawals')))])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})])}]\n\nexport { render, staticRenderFns }","<!--\n - MainPiggyList.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">{{ $t('firefly.piggy_banks') }}</h3>\n </div>\n\n <!-- body if loading -->\n <div v-if=\"loading && !error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-spinner fa-spin\"></i>\n </div>\n </div>\n <!-- body if error -->\n <div v-if=\"error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-exclamation-triangle text-danger\"></i>\n </div>\n </div>\n <!-- body if normal -->\n <div v-if=\"!loading && !error\" class=\"card-body table-responsive p-0\">\n <table class=\"table table-striped\">\n <caption style=\"display:none;\">{{ $t('firefly.piggy_banks') }}</caption>\n <thead>\n <tr>\n <th scope=\"col\" style=\"width:35%;\">{{ $t('list.piggy_bank') }}</th>\n <th scope=\"col\" style=\"width:40%;\">{{ $t('list.percentage') }} <small>/ {{ $t('list.amount') }}</small></th>\n </tr>\n </thead>\n <tbody>\n <tr v-for=\"piggy in this.piggy_banks\">\n <td>\n <a :href=\"'./piggy-banks/show/' + piggy.id\" :title=\"piggy.attributes.name\">{{ piggy.attributes.name }}</a>\n <small v-if=\"piggy.attributes.object_group_title\" class=\"text-muted\">\n <br/>\n {{ piggy.attributes.object_group_title }}\n </small>\n </td>\n <td>\n <div class=\"progress-group\">\n <div class=\"progress progress-sm\">\n <div v-if=\"piggy.attributes.pct < 100\" :style=\"{'width': piggy.attributes.pct + '%'}\" class=\"progress-bar progress-bar-striped primary\"></div>\n <div v-if=\"100 === piggy.attributes.pct\" :style=\"{'width': piggy.attributes.pct + '%'}\"\n class=\"progress-bar progress-bar-striped bg-success\"></div>\n </div>\n </div>\n <span class=\"text-success\">\n {{\n Intl.NumberFormat(locale, {style: 'currency', currency: piggy.attributes.currency_code}).format(piggy.attributes.current_amount)\n }}\n </span>\n of\n <span class=\"text-success\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: piggy.attributes.currency_code\n }).format(piggy.attributes.target_amount)\n }}</span>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n <div class=\"card-footer\">\n <a class=\"btn btn-default button-sm\" href=\"./piggy-banks\"><i class=\"far fa-money-bill-alt\"></i> {{ $t('firefly.go_to_piggies') }}</a>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"MainPiggyList\",\n data() {\n return {\n piggy_banks: [],\n loading: true,\n error: false,\n locale: 'en-US'\n }\n },\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n axios.get('./api/v1/piggy_banks')\n .then(response => {\n this.loadPiggyBanks(response.data.data);\n this.loading = false;\n }\n ).catch(error => {\n this.error = true\n });\n },\n methods: {\n loadPiggyBanks(data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let piggy = data[key];\n if (0.0 !== parseFloat(piggy.attributes.left_to_save)) {\n piggy.attributes.pct = (parseFloat(piggy.attributes.current_amount) / parseFloat(piggy.attributes.target_amount)) * 100;\n this.piggy_banks.push(piggy);\n }\n }\n }\n this.piggy_banks.sort(function (a, b) {\n return b.attributes.pct - a.attributes.pct;\n });\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainPiggyList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainPiggyList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MainPiggyList.vue?vue&type=template&id=c17c9a5a&scoped=true&\"\nimport script from \"./MainPiggyList.vue?vue&type=script&lang=js&\"\nexport * from \"./MainPiggyList.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 \"c17c9a5a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(_vm._s(_vm.$t('firefly.piggy_banks')))])]),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(0)]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(1)]):_vm._e(),_vm._v(\" \"),(!_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body table-responsive p-0\"},[_c('table',{staticClass:\"table table-striped\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.piggy_banks')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{staticStyle:{\"width\":\"35%\"},attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('list.piggy_bank')))]),_vm._v(\" \"),_c('th',{staticStyle:{\"width\":\"40%\"},attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('list.percentage'))+\" \"),_c('small',[_vm._v(\"/ \"+_vm._s(_vm.$t('list.amount')))])])])]),_vm._v(\" \"),_c('tbody',_vm._l((this.piggy_banks),function(piggy){return _c('tr',[_c('td',[_c('a',{attrs:{\"href\":'./piggy-banks/show/' + piggy.id,\"title\":piggy.attributes.name}},[_vm._v(_vm._s(piggy.attributes.name))]),_vm._v(\" \"),(piggy.attributes.object_group_title)?_c('small',{staticClass:\"text-muted\"},[_c('br'),_vm._v(\"\\n \"+_vm._s(piggy.attributes.object_group_title)+\"\\n \")]):_vm._e()]),_vm._v(\" \"),_c('td',[_c('div',{staticClass:\"progress-group\"},[_c('div',{staticClass:\"progress progress-sm\"},[(piggy.attributes.pct < 100)?_c('div',{staticClass:\"progress-bar progress-bar-striped primary\",style:({'width': piggy.attributes.pct + '%'})}):_vm._e(),_vm._v(\" \"),(100 === piggy.attributes.pct)?_c('div',{staticClass:\"progress-bar progress-bar-striped bg-success\",style:({'width': piggy.attributes.pct + '%'})}):_vm._e()])]),_vm._v(\" \"),_c('span',{staticClass:\"text-success\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: piggy.attributes.currency_code}).format(piggy.attributes.current_amount))+\"\\n \")]),_vm._v(\"\\n of\\n \"),_c('span',{staticClass:\"text-success\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: piggy.attributes.currency_code\n }).format(piggy.attributes.target_amount)))])])])}),0)])]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"card-footer\"},[_c('a',{staticClass:\"btn btn-default button-sm\",attrs:{\"href\":\"./piggy-banks\"}},[_c('i',{staticClass:\"far fa-money-bill-alt\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.go_to_piggies')))])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})])}]\n\nexport { render, staticRenderFns }","<!--\n - TransactionListLarge.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <table class=\"table table-striped table-sm\">\n <caption style=\"display:none;\">{{ $t('firefly.transaction_table_description') }}</caption>\n <thead>\n <tr>\n <th class=\"text-left\" scope=\"col\">{{ $t('firefly.description') }}</th>\n <th scope=\"col\">{{ $t('firefly.opposing_account') }}</th>\n <th class=\"text-right\" scope=\"col\">{{ $t('firefly.amount') }}</th>\n <th scope=\"col\">{{ $t('firefly.category') }}</th>\n <th scope=\"col\">{{ $t('firefly.budget') }}</th>\n </tr>\n </thead>\n <tbody>\n <tr v-for=\"transaction in this.transactions\">\n <td>\n <a :href=\"'transactions/show/' + transaction.id \" :title=\"transaction.date\">\n <span v-if=\"transaction.attributes.transactions.length > 1\">{{ transaction.attributes.group_title }}</span>\n <span v-if=\"1===transaction.attributes.transactions.length\">{{ transaction.attributes.transactions[0].description }}</span>\n </a>\n </td>\n <td>\n <span v-for=\"tr in transaction.attributes.transactions\">\n <a v-if=\"'withdrawal' === tr.type\" :href=\"'accounts/show/' + tr.destination_id\">{{ tr.destination_name }}</a>\n <a v-if=\"'deposit' === tr.type\" :href=\"'accounts/show/' + tr.source_id\">{{ tr.source_name }}</a>\n <a v-if=\"'transfer' === tr.type && parseInt(tr.source_id) === account_id\" :href=\"'accounts/show/' + tr.destination_id\">{{ tr.destination_name }}</a>\n <a v-if=\"'transfer' === tr.type && parseInt(tr.destination_id) === account_id\" :href=\"'accounts/show/' + tr.source_id\">{{ tr.source_name }}</a>\n <br/>\n </span>\n </td>\n <td style=\"text-align:right;\">\n <span v-for=\"tr in transaction.attributes.transactions\">\n <span v-if=\"'withdrawal' === tr.type\" class=\"text-danger\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1) }}<br>\n </span>\n <span v-if=\"'deposit' === tr.type\" class=\"text-success\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount) }}<br>\n </span>\n <span v-if=\"'transfer' === tr.type && parseInt(tr.source_id) === account_id\" class=\"text-info\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1) }}<br>\n </span>\n <span v-if=\"'transfer' === tr.type && parseInt(tr.destination_id) === account_id\" class=\"text-info\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount) }}<br>\n </span>\n </span>\n </td>\n <td>\n <span v-for=\"tr in transaction.attributes.transactions\">\n <a v-if=\"0!==tr.category_id\" :href=\"'categories/show/' + tr.category_id\">{{ tr.category_name }}</a><br/>\n </span>\n </td>\n <td>\n <span v-for=\"tr in transaction.attributes.transactions\">\n <a v-if=\"0!==tr.budget_id\" :href=\"'budgets/show/' + tr.budget_id\">{{ tr.budget_name }}</a><br/>\n </span>\n </td>\n </tr>\n </tbody>\n </table>\n</template>\n\n<script>\nexport default {\n name: \"TransactionListLarge\",\n data() {\n return {\n locale: 'en-US'\n }\n },\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n },\n props: {\n transactions: {\n type: Array,\n default: function () {\n return [];\n }\n },\n account_id: {\n type: Number,\n default: function () {\n return 0;\n }\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionListLarge.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionListLarge.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionListLarge.vue?vue&type=template&id=6e420753&scoped=true&\"\nimport script from \"./TransactionListLarge.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionListLarge.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 \"6e420753\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('table',{staticClass:\"table table-striped table-sm\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.transaction_table_description')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{staticClass:\"text-left\",attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.description')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.opposing_account')))]),_vm._v(\" \"),_c('th',{staticClass:\"text-right\",attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.amount')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.category')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.budget')))])])]),_vm._v(\" \"),_c('tbody',_vm._l((this.transactions),function(transaction){return _c('tr',[_c('td',[_c('a',{attrs:{\"href\":'transactions/show/' + transaction.id,\"title\":transaction.date}},[(transaction.attributes.transactions.length > 1)?_c('span',[_vm._v(_vm._s(transaction.attributes.group_title))]):_vm._e(),_vm._v(\" \"),(1===transaction.attributes.transactions.length)?_c('span',[_vm._v(_vm._s(transaction.attributes.transactions[0].description))]):_vm._e()])]),_vm._v(\" \"),_c('td',_vm._l((transaction.attributes.transactions),function(tr){return _c('span',[('withdrawal' === tr.type)?_c('a',{attrs:{\"href\":'accounts/show/' + tr.destination_id}},[_vm._v(_vm._s(tr.destination_name))]):_vm._e(),_vm._v(\" \"),('deposit' === tr.type)?_c('a',{attrs:{\"href\":'accounts/show/' + tr.source_id}},[_vm._v(_vm._s(tr.source_name))]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.source_id) === _vm.account_id)?_c('a',{attrs:{\"href\":'accounts/show/' + tr.destination_id}},[_vm._v(_vm._s(tr.destination_name))]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.destination_id) === _vm.account_id)?_c('a',{attrs:{\"href\":'accounts/show/' + tr.source_id}},[_vm._v(_vm._s(tr.source_name))]):_vm._e(),_vm._v(\" \"),_c('br')])}),0),_vm._v(\" \"),_c('td',{staticStyle:{\"text-align\":\"right\"}},_vm._l((transaction.attributes.transactions),function(tr){return _c('span',[('withdrawal' === tr.type)?_c('span',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1))),_c('br')]):_vm._e(),_vm._v(\" \"),('deposit' === tr.type)?_c('span',{staticClass:\"text-success\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount))),_c('br')]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.source_id) === _vm.account_id)?_c('span',{staticClass:\"text-info\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1))),_c('br')]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.destination_id) === _vm.account_id)?_c('span',{staticClass:\"text-info\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount))),_c('br')]):_vm._e()])}),0),_vm._v(\" \"),_c('td',_vm._l((transaction.attributes.transactions),function(tr){return _c('span',[(0!==tr.category_id)?_c('a',{attrs:{\"href\":'categories/show/' + tr.category_id}},[_vm._v(_vm._s(tr.category_name))]):_vm._e(),_c('br')])}),0),_vm._v(\" \"),_c('td',_vm._l((transaction.attributes.transactions),function(tr){return _c('span',[(0!==tr.budget_id)?_c('a',{attrs:{\"href\":'budgets/show/' + tr.budget_id}},[_vm._v(_vm._s(tr.budget_name))]):_vm._e(),_c('br')])}),0)])}),0)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionListMedium.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <table class=\"table table-striped table-sm\">\n <caption style=\"display:none;\">{{ $t('firefly.transaction_table_description') }}</caption>\n <thead>\n <tr>\n <th class=\"text-left\" scope=\"col\">{{ $t('firefly.description') }}</th>\n <th scope=\"col\">{{ $t('firefly.opposing_account') }}</th>\n <th class=\"text-right\" scope=\"col\">{{ $t('firefly.amount') }}</th>\n </tr>\n </thead>\n <tbody>\n <tr v-for=\"transaction in this.transactions\">\n <td>\n <a :href=\"'transactions/show/' + transaction.id \" :title=\"transaction.date\">\n <span v-if=\"transaction.attributes.transactions.length > 1\">{{ transaction.attributes.group_title }}</span>\n <span v-if=\"1===transaction.attributes.transactions.length\">{{ transaction.attributes.transactions[0].description }}</span>\n </a>\n </td>\n <td>\n <span v-for=\"tr in transaction.attributes.transactions\">\n <a v-if=\"'withdrawal' === tr.type\" :href=\"'accounts/show/' + tr.destination_id\">{{ tr.destination_name }}</a>\n <a v-if=\"'deposit' === tr.type\" :href=\"'accounts/show/' + tr.source_id\">{{ tr.source_name }}</a>\n <a v-if=\"'transfer' === tr.type && parseInt(tr.source_id) === account_id\" :href=\"'accounts/show/' + tr.destination_id\">{{ tr.destination_name }}</a>\n <a v-if=\"'transfer' === tr.type && parseInt(tr.destination_id) === account_id\" :href=\"'accounts/show/' + tr.source_id\">{{ tr.source_name }}</a>\n <br/>\n </span>\n </td>\n <td style=\"text-align:right;\">\n <span v-for=\"tr in transaction.attributes.transactions\">\n <span v-if=\"'withdrawal' === tr.type\" class=\"text-danger\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1) }}<br>\n </span>\n <span v-if=\"'deposit' === tr.type\" class=\"text-success\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount) }}<br>\n </span>\n <span v-if=\"'transfer' === tr.type && parseInt(tr.source_id) === account_id\" class=\"text-info\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1) }}<br>\n </span>\n <span v-if=\"'transfer' === tr.type && parseInt(tr.destination_id) === account_id\" class=\"text-info\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount) }}<br>\n </span>\n </span>\n </td>\n </tr>\n </tbody>\n </table>\n</template>\n\n<script>\nexport default {\n name: \"TransactionListMedium\",\n data() {\n return {\n locale: 'en-US'\n }\n },\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n },\n props: {\n transactions: {\n type: Array,\n default: function () {\n return [];\n }\n },\n account_id: {\n type: Number,\n default: function () {\n return 0;\n }\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionListMedium.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionListMedium.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionListMedium.vue?vue&type=template&id=0d4f7042&scoped=true&\"\nimport script from \"./TransactionListMedium.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionListMedium.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 \"0d4f7042\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('table',{staticClass:\"table table-striped table-sm\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.transaction_table_description')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{staticClass:\"text-left\",attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.description')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.opposing_account')))]),_vm._v(\" \"),_c('th',{staticClass:\"text-right\",attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.amount')))])])]),_vm._v(\" \"),_c('tbody',_vm._l((this.transactions),function(transaction){return _c('tr',[_c('td',[_c('a',{attrs:{\"href\":'transactions/show/' + transaction.id,\"title\":transaction.date}},[(transaction.attributes.transactions.length > 1)?_c('span',[_vm._v(_vm._s(transaction.attributes.group_title))]):_vm._e(),_vm._v(\" \"),(1===transaction.attributes.transactions.length)?_c('span',[_vm._v(_vm._s(transaction.attributes.transactions[0].description))]):_vm._e()])]),_vm._v(\" \"),_c('td',_vm._l((transaction.attributes.transactions),function(tr){return _c('span',[('withdrawal' === tr.type)?_c('a',{attrs:{\"href\":'accounts/show/' + tr.destination_id}},[_vm._v(_vm._s(tr.destination_name))]):_vm._e(),_vm._v(\" \"),('deposit' === tr.type)?_c('a',{attrs:{\"href\":'accounts/show/' + tr.source_id}},[_vm._v(_vm._s(tr.source_name))]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.source_id) === _vm.account_id)?_c('a',{attrs:{\"href\":'accounts/show/' + tr.destination_id}},[_vm._v(_vm._s(tr.destination_name))]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.destination_id) === _vm.account_id)?_c('a',{attrs:{\"href\":'accounts/show/' + tr.source_id}},[_vm._v(_vm._s(tr.source_name))]):_vm._e(),_vm._v(\" \"),_c('br')])}),0),_vm._v(\" \"),_c('td',{staticStyle:{\"text-align\":\"right\"}},_vm._l((transaction.attributes.transactions),function(tr){return _c('span',[('withdrawal' === tr.type)?_c('span',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1))),_c('br')]):_vm._e(),_vm._v(\" \"),('deposit' === tr.type)?_c('span',{staticClass:\"text-success\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount))),_c('br')]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.source_id) === _vm.account_id)?_c('span',{staticClass:\"text-info\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1))),_c('br')]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.destination_id) === _vm.account_id)?_c('span',{staticClass:\"text-info\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount))),_c('br')]):_vm._e()])}),0)])}),0)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionListSmall.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <table class=\"table table-striped table-sm\">\n <caption style=\"display:none;\">{{ $t('firefly.transaction_table_description') }}</caption>\n <thead>\n <tr>\n <th class=\"text-left\" scope=\"col\">{{ $t('firefly.description') }}</th>\n <th class=\"text-right\" scope=\"col\">{{ $t('firefly.amount') }}</th>\n </tr>\n </thead>\n <tbody>\n <tr v-for=\"transaction in this.transactions\">\n <td>\n <a :href=\"'transactions/show/' + transaction.id \"\n :title=\"new Intl.DateTimeFormat(locale, { year: 'numeric', month: 'long', day: 'numeric' }).format(new Date(transaction.attributes.transactions[0].date))\">\n <span v-if=\"transaction.attributes.transactions.length > 1\">{{ transaction.attributes.group_title }}</span>\n <span v-if=\"1===transaction.attributes.transactions.length\">{{ transaction.attributes.transactions[0].description }}</span>\n </a>\n </td>\n <td style=\"text-align:right;\">\n <span v-for=\"tr in transaction.attributes.transactions\">\n <span v-if=\"'withdrawal' === tr.type\" class=\"text-danger\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1) }}<br>\n </span>\n <span v-if=\"'deposit' === tr.type\" class=\"text-success\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount) }}<br>\n </span>\n <span v-if=\"'transfer' === tr.type && parseInt(tr.source_id) === account_id\" class=\"text-info\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1) }}<br>\n </span>\n <span v-if=\"'transfer' === tr.type && parseInt(tr.destination_id) === account_id\" class=\"text-info\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount) }}<br>\n </span>\n </span>\n </td>\n </tr>\n </tbody>\n </table>\n</template>\n\n<script>\nexport default {\n name: \"TransactionListSmall\",\n data() {\n return {\n locale: 'en-US'\n }\n },\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n },\n methods: {},\n props: {\n transactions: {\n type: Array,\n default: function () {\n return [];\n }\n },\n account_id: {\n type: Number,\n default: function () {\n return 0;\n }\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionListSmall.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionListSmall.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionListSmall.vue?vue&type=template&id=4cd7a656&scoped=true&\"\nimport script from \"./TransactionListSmall.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionListSmall.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 \"4cd7a656\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('table',{staticClass:\"table table-striped table-sm\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.transaction_table_description')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{staticClass:\"text-left\",attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.description')))]),_vm._v(\" \"),_c('th',{staticClass:\"text-right\",attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.amount')))])])]),_vm._v(\" \"),_c('tbody',_vm._l((this.transactions),function(transaction){return _c('tr',[_c('td',[_c('a',{attrs:{\"href\":'transactions/show/' + transaction.id,\"title\":new Intl.DateTimeFormat(_vm.locale, { year: 'numeric', month: 'long', day: 'numeric' }).format(new Date(transaction.attributes.transactions[0].date))}},[(transaction.attributes.transactions.length > 1)?_c('span',[_vm._v(_vm._s(transaction.attributes.group_title))]):_vm._e(),_vm._v(\" \"),(1===transaction.attributes.transactions.length)?_c('span',[_vm._v(_vm._s(transaction.attributes.transactions[0].description))]):_vm._e()])]),_vm._v(\" \"),_c('td',{staticStyle:{\"text-align\":\"right\"}},_vm._l((transaction.attributes.transactions),function(tr){return _c('span',[('withdrawal' === tr.type)?_c('span',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1))),_c('br')]):_vm._e(),_vm._v(\" \"),('deposit' === tr.type)?_c('span',{staticClass:\"text-success\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount))),_c('br')]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.source_id) === _vm.account_id)?_c('span',{staticClass:\"text-info\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1))),_c('br')]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.destination_id) === _vm.account_id)?_c('span',{staticClass:\"text-info\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount))),_c('br')]):_vm._e()])}),0)])}),0)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - MainCategoryList.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">{{ $t('firefly.categories') }}</h3>\n </div>\n <!-- body if loading -->\n <div v-if=\"loading && !error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-spinner fa-spin\"></i>\n </div>\n </div>\n <!-- body if error -->\n <div v-if=\"error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-exclamation-triangle text-danger\"></i>\n </div>\n </div>\n <!-- body if normal -->\n <div v-if=\"!loading && !error\" class=\"card-body table-responsive p-0\">\n <table class=\"table table-sm\">\n <caption style=\"display:none;\">{{ $t('firefly.categories') }}</caption>\n <thead>\n <tr>\n <th scope=\"col\">{{ $t('firefly.category') }}</th>\n <th scope=\"col\">{{ $t('firefly.spent') }} / {{ $t('firefly.earned') }}</th>\n </tr>\n </thead>\n <tbody>\n <tr v-for=\"category in sortedList\">\n <td style=\"width:20%;\">\n <a :href=\"'./categories/show/' + category.id\">{{ category.name }}</a>\n </td>\n <td class=\"align-middle\">\n <!-- SPENT -->\n <div v-if=\"category.spentPct > 0\" class=\"progress\">\n <div :aria-valuenow=\"category.spentPct\" :style=\"{ width: category.spentPct + '%'}\" aria-valuemax=\"100\"\n aria-valuemin=\"0\" class=\"progress-bar progress-bar-striped bg-danger\"\n role=\"progressbar\">\n <span v-if=\"category.spentPct > 20\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: category.currency_code}).format(category.spent) }}\n </span>\n </div>\n <span v-if=\"category.spentPct <= 20\" class=\"progress-label\" style=\"line-height: 16px;\"> \n {{ Intl.NumberFormat(locale, {style: 'currency', currency: category.currency_code}).format(category.spent) }}\n </span>\n\n </div>\n\n <!-- EARNED -->\n <div v-if=\"category.earnedPct > 0\" class=\"progress justify-content-end\" title=\"hello2\">\n <span v-if=\"category.earnedPct <= 20\" style=\"line-height: 16px;\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: category.currency_code}).format(category.earned) }}\n </span>\n <div :aria-valuenow=\"category.earnedPct\" :style=\"{ width: category.earnedPct + '%'}\" aria-valuemax=\"100\"\n aria-valuemin=\"0\" class=\"progress-bar progress-bar-striped bg-success\"\n role=\"progressbar\" title=\"hello\">\n <span v-if=\"category.earnedPct > 20\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: category.currency_code}).format(category.earned) }}\n </span>\n </div>\n </div>\n\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n</template>\n\n<script>\nimport {createNamespacedHelpers} from \"vuex\";\nimport format from \"date-fns/format\";\n\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\n\nexport default {\n name: \"MainCategoryList\",\n\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n this.ready = true;\n },\n data() {\n return {\n locale: 'en-US',\n categories: [],\n sortedList: [],\n spent: 0,\n earned: 0,\n loading: true,\n error: false\n }\n },\n computed: {\n ...mapGetters(['start', 'end']),\n 'datesReady': function () {\n return null !== this.start && null !== this.end && this.ready;\n }\n },\n watch: {\n datesReady: function (value) {\n if (true === value) {\n this.getCategories();\n }\n },\n start: function () {\n if (false === this.loading) {\n this.getCategories();\n }\n },\n end: function () {\n if (false === this.loading) {\n this.getCategories();\n }\n },\n },\n methods:\n {\n getCategories: function () {\n this.categories = [];\n this.sortedList = [];\n this.spent = 0;\n this.earned = 0;\n this.loading = true;\n // let startStr = this.start.toISOString().split('T')[0];\n // let endStr = this.end.toISOString().split('T')[0];\n let startStr = format(this.start, 'y-MM-dd');\n let endStr = format(this.end, 'y-MM-dd');\n this.getCategoryPage(startStr, endStr, 1);\n },\n getCategoryPage: function (start, end, page) {\n axios.get('./api/v1/categories?start=' + start + '&end=' + end + '&page=' + page)\n .then(response => {\n let categories = response.data.data;\n let currentPage = parseInt(response.data.meta.pagination.current_page);\n let totalPages = parseInt(response.data.meta.pagination.total_pages);\n this.parseCategories(categories);\n if (currentPage < totalPages) {\n let nextPage = currentPage + 1;\n this.getCategoryPage(start, end, nextPage);\n }\n if (currentPage === totalPages) {\n this.loading = false;\n this.sortCategories();\n }\n }\n ).catch(error => {\n this.error = true;\n });\n },\n parseCategories(data) {\n for (let i in data) {\n if (data.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = data[i];\n let entryKey = null;\n let categoryId = parseInt(current.id);\n\n // loop spent info:\n for (let ii in current.attributes.spent) {\n if (current.attributes.spent.hasOwnProperty(ii) && /^0$|^[1-9]\\d*$/.test(ii) && ii <= 4294967294) {\n let spentData = current.attributes.spent[ii];\n entryKey = spentData.currency_id + '-' + current.id;\n\n // does the categories list thing have this combo? if not, create it.\n this.categories[entryKey] = this.categories[entryKey] ??\n {\n id: categoryId,\n name: current.attributes.name,\n currency_code: spentData.currency_code,\n currency_symbol: spentData.currency_symbol,\n spent: 0,\n earned: 0,\n spentPct: 0,\n earnedPct: 0,\n };\n this.categories[entryKey].spent = parseFloat(spentData.sum);\n this.spent = parseFloat(spentData.sum) < this.spent ? parseFloat(spentData.sum) : this.spent;\n }\n }\n\n // loop earned info\n for (let ii in current.attributes.earned) {\n if (current.attributes.earned.hasOwnProperty(ii) && /^0$|^[1-9]\\d*$/.test(ii) && ii <= 4294967294) {\n let earnedData = current.attributes.earned[ii];\n entryKey = earnedData.currency_id + '-' + current.id;\n\n // does the categories list thing have this combo? if not, create it.\n this.categories[entryKey] = this.categories[entryKey] ??\n {\n id: categoryId,\n name: current.attributes.name,\n currency_code: earnedData.currency_code,\n currency_symbol: earnedData.currency_symbol,\n spent: 0,\n earned: 0,\n spentPct: 0,\n earnedPct: 0,\n };\n this.categories[entryKey].earned = parseFloat(earnedData.sum);\n this.earned = parseFloat(earnedData.sum) > this.earned ? parseFloat(earnedData.sum) : this.earned;\n }\n }\n }\n }\n },\n sortCategories() {\n // no longer care about keys:\n let array = [];\n for (let i in this.categories) {\n if (this.categories.hasOwnProperty(i)) {\n array.push(this.categories[i]);\n }\n }\n array.sort(function (one, two) {\n return (one.spent + one.earned) - (two.spent + two.earned);\n });\n for (let i in array) {\n if (array.hasOwnProperty(i)) {\n let current = array[i];\n current.spentPct = (current.spent / this.spent) * 100;\n current.earnedPct = (current.earned / this.earned) * 100;\n this.sortedList.push(current);\n }\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainCategoryList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainCategoryList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MainCategoryList.vue?vue&type=template&id=a33c44be&scoped=true&\"\nimport script from \"./MainCategoryList.vue?vue&type=script&lang=js&\"\nexport * from \"./MainCategoryList.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 \"a33c44be\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(_vm._s(_vm.$t('firefly.categories')))])]),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(0)]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(1)]):_vm._e(),_vm._v(\" \"),(!_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body table-responsive p-0\"},[_c('table',{staticClass:\"table table-sm\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.categories')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.category')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.spent'))+\" / \"+_vm._s(_vm.$t('firefly.earned')))])])]),_vm._v(\" \"),_c('tbody',_vm._l((_vm.sortedList),function(category){return _c('tr',[_c('td',{staticStyle:{\"width\":\"20%\"}},[_c('a',{attrs:{\"href\":'./categories/show/' + category.id}},[_vm._v(_vm._s(category.name))])]),_vm._v(\" \"),_c('td',{staticClass:\"align-middle\"},[(category.spentPct > 0)?_c('div',{staticClass:\"progress\"},[_c('div',{staticClass:\"progress-bar progress-bar-striped bg-danger\",style:({ width: category.spentPct + '%'}),attrs:{\"aria-valuenow\":category.spentPct,\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\",\"role\":\"progressbar\"}},[(category.spentPct > 20)?_c('span',[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: category.currency_code}).format(category.spent))+\"\\n \")]):_vm._e()]),_vm._v(\" \"),(category.spentPct <= 20)?_c('span',{staticClass:\"progress-label\",staticStyle:{\"line-height\":\"16px\"}},[_vm._v(\" \\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: category.currency_code}).format(category.spent))+\"\\n \")]):_vm._e()]):_vm._e(),_vm._v(\" \"),(category.earnedPct > 0)?_c('div',{staticClass:\"progress justify-content-end\",attrs:{\"title\":\"hello2\"}},[(category.earnedPct <= 20)?_c('span',{staticStyle:{\"line-height\":\"16px\"}},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: category.currency_code}).format(category.earned))+\"\\n \")]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"progress-bar progress-bar-striped bg-success\",style:({ width: category.earnedPct + '%'}),attrs:{\"aria-valuenow\":category.earnedPct,\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\",\"role\":\"progressbar\",\"title\":\"hello\"}},[(category.earnedPct > 20)?_c('span',[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: category.currency_code}).format(category.earned))+\"\\n \")]):_vm._e()])]):_vm._e()])])}),0)])]):_vm._e()])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})])}]\n\nexport { render, staticRenderFns }","/*\n * dashboard.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n\nimport Dashboard from '../components/dashboard/Dashboard';\nimport TopBoxes from '../components/dashboard/TopBoxes';\nimport MainAccount from '../components/dashboard/MainAccount';\nimport MainAccountList from '../components/dashboard/MainAccountList';\nimport MainBillsList from '../components/dashboard/MainBillsList';\nimport MainBudgetList from '../components/dashboard/MainBudgetList';\nimport MainCreditList from '../components/dashboard/MainCreditList';\nimport MainDebitList from '../components/dashboard/MainDebitList';\nimport MainPiggyList from '../components/dashboard/MainPiggyList';\nimport TransactionListLarge from '../components/transactions/TransactionListLarge';\nimport TransactionListMedium from '../components/transactions/TransactionListMedium';\nimport TransactionListSmall from '../components/transactions/TransactionListSmall';\nimport Calendar from '../components/dashboard/Calendar';\nimport MainCategoryList from '../components/dashboard/MainCategoryList';\nimport Vue from 'vue';\nimport Vuex from 'vuex'\nimport store from '../components/store';\n\n/**\n * First we will load Axios via bootstrap.js\n * jquery and bootstrap-sass preloaded in app.js\n * vue, uiv and vuei18n are in app_vue.js\n */\n\n// TODO pretty sure not all categories, budgets and other objects are picked up because they're paginated.\n\nrequire('../bootstrap');\nrequire('chart.js');\n\nVue.component('transaction-list-large', TransactionListLarge);\nVue.component('transaction-list-medium', TransactionListMedium);\nVue.component('transaction-list-small', TransactionListSmall);\n\n// components as an example\n\nVue.component('dashboard', Dashboard);\nVue.component('top-boxes', TopBoxes);\nVue.component('main-account', MainAccount);\nVue.component('main-account-list', MainAccountList);\nVue.component('main-bills-list', MainBillsList);\nVue.component('main-budget-list', MainBudgetList);\nVue.component('main-category-list', MainCategoryList);\nVue.component('main-debit-list', MainDebitList);\nVue.component('main-credit-list', MainCreditList);\nVue.component('main-piggy-list', MainPiggyList);\n\nVue.use(Vuex);\n\nlet i18n = require('../i18n');\nlet props = {};\n\nnew Vue({\n i18n,\n store,\n el: '#dashboard',\n render: (createElement) => {\n return createElement(Dashboard, {props: props});\n },\n beforeCreate() {\n // TODO migrate to \"root\" store.\n this.$store.commit('initialiseStore');\n this.$store.dispatch('updateCurrencyPreference');\n this.$store.dispatch('root/initialiseStore');\n this.$store.dispatch('dashboard/index/initialiseStore');\n },\n });\nnew Vue({\n i18n,\n store,\n el: \"#calendar\",\n render: (createElement) => {\n return createElement(Calendar, {props: props});\n },\n // TODO init store as well?\n });","/*\n * transactions.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nexport function getDefaultErrors() {\n return {\n description: [],\n amount: [],\n source: [],\n destination: [],\n currency: [],\n foreign_currency: [],\n foreign_amount: [],\n date: [],\n custom_dates: [],\n budget: [],\n category: [],\n bill: [],\n tags: [],\n piggy_bank: [],\n internal_reference: [],\n external_url: [],\n notes: [],\n location: []\n };\n}\n\nexport function getDefaultTransaction() {\n return {\n // basic\n description: '',\n transaction_journal_id: 0,\n // accounts:\n source_account_id: null,\n source_account_name: null,\n source_account_type: null,\n\n source_account_currency_id: null,\n source_account_currency_code: null,\n source_account_currency_symbol: null,\n\n destination_account_id: null,\n destination_account_name: null,\n destination_account_type: null,\n\n destination_account_currency_id: null,\n destination_account_currency_code: null,\n destination_account_currency_symbol: null,\n attachments: false,\n selectedAttachments: false,\n uploadTrigger: false,\n clearTrigger: false,\n\n source_account: {\n id: 0,\n name: \"\",\n name_with_balance: \"\",\n type: \"\",\n currency_id: 0,\n currency_name: '',\n currency_code: '',\n currency_decimal_places: 2\n },\n destination_account: {\n id: 0,\n name: \"\",\n type: \"\",\n currency_id: 0,\n currency_name: '',\n currency_code: '',\n currency_decimal_places: 2\n },\n\n // amount:\n amount: '',\n currency_id: 0,\n foreign_amount: '',\n foreign_currency_id: 0,\n\n // meta data\n category: null,\n budget_id: 0,\n bill_id: 0,\n piggy_bank_id: 0,\n tags: [],\n\n // optional date fields (6x):\n interest_date: null,\n book_date: null,\n process_date: null,\n due_date: null,\n payment_date: null,\n invoice_date: null,\n\n // optional other fields:\n internal_reference: null,\n external_url: null,\n external_id: null,\n notes: null,\n\n // transaction links:\n links: [],\n // location:\n zoom_level: null,\n longitude: null,\n latitude: null,\n\n // error handling\n errors: {},\n }\n}\n\nexport function toW3CString(date) {\n // https://gist.github.com/tristanlins/6585391\n let year = date.getFullYear();\n let month = date.getMonth();\n month++;\n if (month < 10) {\n month = '0' + month;\n }\n let day = date.getDate();\n if (day < 10) {\n day = '0' + day;\n }\n let hours = date.getHours();\n if (hours < 10) {\n hours = '0' + hours;\n }\n let minutes = date.getMinutes();\n if (minutes < 10) {\n minutes = '0' + minutes;\n }\n let seconds = date.getSeconds();\n if (seconds < 10) {\n seconds = '0' + seconds;\n }\n let offset = -date.getTimezoneOffset();\n let offsetHours = Math.abs(Math.floor(offset / 60));\n let offsetMinutes = Math.abs(offset) - offsetHours * 60;\n if (offsetHours < 10) {\n offsetHours = '0' + offsetHours;\n }\n if (offsetMinutes < 10) {\n offsetMinutes = '0' + offsetMinutes;\n }\n let offsetSign = '+';\n if (offset < 0) {\n offsetSign = '-';\n }\n return year + '-' + month + '-' + day +\n 'T' + hours + ':' + minutes + ':' + seconds +\n offsetSign + offsetHours + ':' + offsetMinutes;\n}","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/cssWithMappingToString.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".dropdown-item[data-v-391cacea],.dropdown-item[data-v-391cacea]:hover{color:#212529}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/dashboard/Calendar.vue\"],\"names\":[],\"mappings\":\"AAwlBA,sEACA,aACA\",\"sourcesContent\":[\"<!--\\n - Calendar.vue\\n - Copyright (c) 2020 [email protected]\\n -\\n - This file is part of Firefly III (https://github.com/firefly-iii).\\n -\\n - This program is free software: you can redistribute it and/or modify\\n - it under the terms of the GNU Affero General Public License as\\n - published by the Free Software Foundation, either version 3 of the\\n - License, or (at your option) any later version.\\n -\\n - This program is distributed in the hope that it will be useful,\\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\\n - GNU Affero General Public License for more details.\\n -\\n - You should have received a copy of the GNU Affero General Public License\\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\\n -->\\n\\n<template>\\n <div>\\n <div class=\\\"row\\\">\\n <div class=\\\"col\\\">Start</div>\\n <div class=\\\"col-8\\\">{{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(range.start) }}</div>\\n </div>\\n <div class=\\\"row\\\">\\n <div class=\\\"col\\\">End</div>\\n <div class=\\\"col-8\\\">{{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(range.end) }}</div>\\n </div>\\n <date-picker\\n v-model=\\\"range\\\"\\n :rows=\\\"2\\\"\\n is-range\\n mode=\\\"date\\\"\\n >\\n <template v-slot=\\\"{ inputValue, inputEvents, isDragging, togglePopover }\\\">\\n <div class=\\\"row\\\">\\n <div class=\\\"col\\\">\\n <div class=\\\"btn-group btn-group-sm d-flex\\\">\\n <button\\n :title=\\\"$t('firefly.custom_period')\\\" class=\\\"btn btn-secondary btn-sm\\\"\\n @click=\\\"togglePopover({ placement: 'auto-start', positionFixed: true })\\\"\\n ><i class=\\\"fas fa-calendar-alt\\\"></i></button>\\n <button :title=\\\"$t('firefly.reset_to_current')\\\"\\n class=\\\"btn btn-secondary\\\"\\n @click=\\\"resetDate\\\"\\n ><i class=\\\"fas fa-history\\\"></i></button>\\n <button id=\\\"dropdownMenuButton\\\" :title=\\\"$t('firefly.select_period')\\\" aria-expanded=\\\"false\\\" aria-haspopup=\\\"true\\\"\\n class=\\\"btn btn-secondary dropdown-toggle\\\"\\n data-toggle=\\\"dropdown\\\"\\n type=\\\"button\\\">\\n <i class=\\\"fas fa-list\\\"></i>\\n </button>\\n <div aria-labelledby=\\\"dropdownMenuButton\\\" class=\\\"dropdown-menu\\\">\\n <a v-for=\\\"period in periods\\\" class=\\\"dropdown-item\\\" href=\\\"#\\\" @click=\\\"customDate(period.start, period.end)\\\">{{ period.title }}</a>\\n </div>\\n\\n </div>\\n <input v-on=\\\"inputEvents.start\\\"\\n :class=\\\"isDragging ? 'text-gray-600' : 'text-gray-900'\\\"\\n :value=\\\"inputValue.start\\\"\\n type=\\\"hidden\\\"\\n />\\n <input v-on=\\\"inputEvents.end\\\"\\n :class=\\\"isDragging ? 'text-gray-600' : 'text-gray-900'\\\"\\n :value=\\\"inputValue.end\\\"\\n type=\\\"hidden\\\"\\n />\\n </div>\\n </div>\\n </template>\\n </date-picker>\\n </div>\\n</template>\\n\\n<script>\\n\\nimport {createNamespacedHelpers} from \\\"vuex\\\";\\nimport Vue from \\\"vue\\\";\\nimport DatePicker from \\\"v-calendar/lib/components/date-picker.umd\\\";\\nimport subDays from 'date-fns/subDays';\\nimport addDays from 'date-fns/addDays';\\nimport addMonths from 'date-fns/addMonths';\\nimport startOfDay from 'date-fns/startOfDay';\\nimport endOfDay from 'date-fns/endOfDay';\\nimport startOfWeek from 'date-fns/startOfWeek';\\nimport endOfWeek from 'date-fns/endOfWeek';\\nimport endOfMonth from 'date-fns/endOfMonth';\\nimport format from 'date-fns/format';\\nimport startOfQuarter from 'date-fns/startOfQuarter';\\nimport subMonths from 'date-fns/subMonths';\\nimport endOfQuarter from 'date-fns/endOfQuarter';\\nimport subQuarters from 'date-fns/subQuarters';\\nimport addQuarters from 'date-fns/addQuarters';\\nimport startOfMonth from 'date-fns/startOfMonth';\\n\\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\\n\\nVue.component('date-picker', DatePicker)\\n\\nexport default {\\n name: \\\"Calendar\\\",\\n created() {\\n this.ready = true;\\n this.locale = localStorage.locale ?? 'en-US';\\n },\\n data() {\\n return {\\n locale: 'en-US',\\n ready: false,\\n range: {\\n start: null,\\n end: null,\\n },\\n defaultRange: {\\n start: null,\\n end: null,\\n },\\n periods: []\\n };\\n },\\n methods: {\\n ...mapMutations(\\n [\\n 'setEnd',\\n 'setStart',\\n ],\\n ),\\n resetDate: function () {\\n //console.log('Reset date to');\\n //console.log(this.defaultStart);\\n //console.log(this.defaultEnd);\\n this.range.start = this.defaultStart;\\n this.range.end = this.defaultEnd;\\n this.setStart(this.defaultStart);\\n this.setEnd(this.defaultEnd);\\n },\\n customDate: function (startStr, endStr) {\\n let start = new Date(startStr);\\n let end = new Date(endStr);\\n this.setStart(start);\\n this.setEnd(end);\\n this.range.start = start;\\n this.range.end = end;\\n this.generatePeriods()\\n return false;\\n },\\n generateDaily: function () {\\n let today = new Date(this.range.start);\\n // yesterday\\n this.periods.push(\\n {\\n start: startOfDay(subDays(today, 1)).toDateString(),\\n end: endOfDay(subDays(today, 1)).toDateString(),\\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(subDays(today, 1))\\n }\\n );\\n\\n // today\\n this.periods.push(\\n {\\n start: startOfDay(today).toDateString(),\\n end: endOfDay(today).toDateString(),\\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(today)\\n }\\n );\\n\\n // tomorrow:\\n this.periods.push(\\n {\\n start: startOfDay(addDays(today, 1)).toDateString(),\\n end: endOfDay(addDays(today, 1)).toDateString(),\\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(addDays(today, 1))\\n }\\n );\\n\\n // The Day After Tomorrow dun-dun-dun!\\n this.periods.push(\\n {\\n start: startOfDay(addDays(today, 2)).toDateString(),\\n end: endOfDay(addDays(today, 2)).toDateString(),\\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(addDays(today, 2))\\n }\\n );\\n },\\n\\n generateWeekly: function () {\\n //console.log('weekly');\\n let today = new Date(this.range.start);\\n //console.log('Today is ' + today);\\n let start = startOfDay(startOfWeek(subDays(today, 7), {weekStartsOn: 1}));\\n let end = endOfDay(endOfWeek(subDays(today, 7), {weekStartsOn: 1}));\\n let dateFormat = this.$t('config.week_in_year_fns');\\n //console.log('Date format: \\\"'+dateFormat+'\\\"');\\n let title = format(start, dateFormat);\\n\\n // last week\\n // console.log('Last week');\\n // console.log(start);\\n // console.log(end);\\n // console.log(title);\\n this.periods.push(\\n {\\n start: start.toDateString(),\\n end: end.toDateString(),\\n title: title\\n }\\n );\\n\\n // this week\\n start = startOfDay(startOfWeek(today, {weekStartsOn: 1}));\\n end = endOfDay(endOfWeek(today, {weekStartsOn: 1}));\\n title = format(start, dateFormat);\\n // console.log('This week');\\n // console.log(start);\\n // console.log(end);\\n // console.log(title);\\n this.periods.push(\\n {\\n start: start.toDateString(),\\n end: end.toDateString(),\\n title: title\\n }\\n );\\n\\n // next week\\n start = startOfDay(startOfWeek(addDays(today, 7), {weekStartsOn: 1}));\\n end = endOfDay(endOfWeek(addDays(today, 7), {weekStartsOn: 1}));\\n title = format(start, dateFormat);\\n // console.log('Next week');\\n // console.log(start);\\n // console.log(end);\\n // console.log(title);\\n this.periods.push(\\n {\\n start: start.toDateString(),\\n end: end.toDateString(),\\n title: title\\n }\\n );\\n },\\n generateMonthly: function () {\\n let today = new Date(this.range.start);\\n // previous month\\n let start = startOfDay(startOfMonth(subMonths(today, 1)));\\n let end = endOfDay(endOfMonth(subMonths(today, 1)));\\n this.periods.push(\\n {\\n start: start.toDateString(),\\n end: end.toDateString(),\\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long'}).format(start)\\n }\\n );\\n\\n // this month\\n start = startOfDay(startOfMonth(today));\\n end = endOfDay(endOfMonth(today));\\n this.periods.push(\\n {\\n start: start.toDateString(),\\n end: end.toDateString(),\\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long'}).format(start)\\n }\\n );\\n\\n // next month\\n start = startOfDay(startOfMonth(addMonths(today, 1)));\\n end = endOfDay(endOfMonth(addMonths(today, 1)));\\n this.periods.push(\\n {\\n start: start.toDateString(),\\n end: end.toDateString(),\\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long'}).format(start)\\n }\\n );\\n\\n },\\n generateQuarterly: function () {\\n let today = new Date(this.range.start);\\n\\n // last quarter\\n let start = startOfDay(startOfQuarter(subQuarters(today, 1)));\\n let end = endOfDay(endOfQuarter(subQuarters(today, 1)));\\n let dateFormat = this.$t('config.quarter_fns');\\n let title = format(start, dateFormat);\\n\\n // last week\\n this.periods.push(\\n {\\n start: start.toDateString(),\\n end: end.toDateString(),\\n title: title\\n }\\n );\\n\\n\\n // this quarter\\n start = startOfDay(startOfQuarter(today));\\n end = endOfDay(endOfQuarter(today));\\n title = format(start, dateFormat);\\n\\n this.periods.push(\\n {\\n start: start.toDateString(),\\n end: end.toDateString(),\\n title: title\\n }\\n );\\n // next quarter\\n start = startOfDay(startOfQuarter(addQuarters(today, 1)));\\n end = endOfDay(endOfQuarter(addQuarters(today, 1)));\\n title = format(start, dateFormat);\\n\\n this.periods.push(\\n {\\n start: start.toDateString(),\\n end: end.toDateString(),\\n title: title\\n }\\n );\\n },\\n generateHalfYearly: function () {\\n let today = new Date(this.range.start);\\n let start;\\n let end;\\n let title = 'todo';\\n let half = 1;\\n\\n\\n // its currently first half of year:\\n if (today.getMonth() <= 5) {\\n // previous year, last half:\\n start = today;\\n start.setFullYear(start.getFullYear() - 1);\\n start.setMonth(6);\\n start.setDate(1);\\n start = startOfDay(start);\\n end = start;\\n end.setMonth(11);\\n end.setDate(31);\\n end = endOfDay(end);\\n half = 2;\\n title = format(start, this.$t('config.half_year_fns', {half: half}));\\n this.periods.push(\\n {\\n start: start.toDateString(),\\n end: end.toDateString(),\\n title: title\\n }\\n );\\n\\n // this year, first half:\\n start = today;\\n start.setMonth(0);\\n start.setDate(1);\\n start = startOfDay(start);\\n end = today;\\n end.setMonth(5);\\n end.setDate(30);\\n end = endOfDay(start);\\n half = 1;\\n title = format(start, this.$t('config.half_year_fns', {half: half}));\\n this.periods.push(\\n {\\n start: start.toDateString(),\\n end: end.toDateString(),\\n title: title\\n }\\n );\\n\\n // this year, second half:\\n start = today;\\n start.setMonth(6);\\n start.setDate(1);\\n start = startOfDay(start);\\n end = start;\\n end.setMonth(11);\\n end.setDate(31);\\n end = endOfDay(end);\\n half = 2;\\n title = format(start, this.$t('config.half_year_fns', {half: half}));\\n this.periods.push(\\n {\\n start: start.toDateString(),\\n end: end.toDateString(),\\n title: title\\n }\\n );\\n return;\\n }\\n // this year, first half:\\n start = today;\\n start.setMonth(0);\\n start.setDate(1);\\n start = startOfDay(start);\\n end = start;\\n end.setMonth(5);\\n end.setDate(30);\\n end = endOfDay(end);\\n half = 1;\\n title = format(start, this.$t('config.half_year_fns', {half: half}));\\n this.periods.push(\\n {\\n start: start.toDateString(),\\n end: end.toDateString(),\\n title: title\\n }\\n );\\n\\n // this year, current (second) half:\\n start = today;\\n start.setMonth(6);\\n start.setDate(1);\\n start = startOfDay(start);\\n end = today;\\n end.setMonth(11);\\n end.setDate(31);\\n end = endOfDay(start);\\n half = 2;\\n title = format(start, this.$t('config.half_year_fns', {half: half}));\\n this.periods.push(\\n {\\n start: start.toDateString(),\\n end: end.toDateString(),\\n title: title\\n }\\n );\\n\\n // next year, first half:\\n start = today;\\n start.setMonth(0);\\n start.setDate(1);\\n start = startOfDay(start);\\n end = start;\\n end.setMonth(5);\\n end.setDate(30);\\n end = endOfDay(end);\\n half = 1;\\n title = format(start, this.$t('config.half_year_fns', {half: half}));\\n this.periods.push(\\n {\\n start: start.toDateString(),\\n end: end.toDateString(),\\n title: title\\n }\\n );\\n },\\n generateYearly: function () {\\n let today = new Date(this.range.start);\\n let start;\\n let end;\\n let title;\\n\\n // last year\\n start = new Date(today);\\n start.setFullYear(start.getFullYear() - 1);\\n start.setMonth(0);\\n start.setDate(1);\\n start = startOfDay(start);\\n\\n end = new Date(today);\\n end.setFullYear(end.getFullYear() - 1);\\n end.setMonth(11);\\n end.setDate(31);\\n end = endOfDay(end);\\n\\n this.periods.push(\\n {\\n start: start.toDateString(),\\n end: end.toDateString(),\\n title: start.getFullYear()\\n }\\n );\\n\\n // this year\\n start = new Date(today);\\n start.setMonth(0);\\n start.setDate(1);\\n start = startOfDay(start);\\n\\n end = new Date(today);\\n end.setMonth(11);\\n end.setDate(31);\\n end = endOfDay(end);\\n\\n this.periods.push(\\n {\\n start: start.toDateString(),\\n end: end.toDateString(),\\n title: start.getFullYear()\\n }\\n );\\n // next year\\n start = new Date(today);\\n start.setFullYear(start.getFullYear() + 1);\\n start.setMonth(0);\\n start.setDate(1);\\n start = startOfDay(start);\\n\\n end = new Date(today);\\n end.setFullYear(end.getFullYear() + 1);\\n end.setMonth(11);\\n end.setDate(31);\\n end = endOfDay(end);\\n\\n this.periods.push(\\n {\\n start: start.toDateString(),\\n end: end.toDateString(),\\n title: start.getFullYear()\\n }\\n );\\n },\\n generatePeriods: function () {\\n this.periods = [];\\n //console.log('The view range is \\\"' + this.viewRange + '\\\".');\\n switch (this.viewRange) {\\n case '1D':\\n this.generateDaily();\\n break;\\n case '1W':\\n this.generateWeekly();\\n break;\\n case '1M':\\n this.generateMonthly();\\n break;\\n case '3M':\\n this.generateQuarterly();\\n break;\\n case '6M':\\n this.generateHalfYearly();\\n break;\\n case '1Y':\\n this.generateYearly();\\n break;\\n }\\n\\n\\n // last 7 days\\n let today = new Date;\\n let end = new Date;\\n end.setDate(end.getDate() - 7);\\n this.periods.push(\\n {\\n start: end.toDateString(),\\n end: today.toDateString(),\\n title: this.$t('firefly.last_seven_days')\\n }\\n );\\n\\n // last 30 days:\\n end.setDate(end.getDate() - 23);\\n this.periods.push(\\n {\\n start: end.toDateString(),\\n end: today.toDateString(),\\n title: this.$t('firefly.last_thirty_days')\\n }\\n );\\n // last 30 days\\n // everything\\n }\\n },\\n computed: {\\n ...mapGetters([\\n 'viewRange',\\n 'start',\\n 'end',\\n 'defaultStart',\\n 'defaultEnd'\\n ]),\\n 'datesReady': function () {\\n return null !== this.start && null !== this.end && this.ready;\\n },\\n },\\n watch: {\\n datesReady: function (value) {\\n if (false === value) {\\n return;\\n }\\n this.range.start = new Date(this.start);\\n this.range.end = new Date(this.end);\\n this.generatePeriods();\\n\\n },\\n range: function (value) {\\n //console.log('User updated range');\\n this.setStart(value.start);\\n this.setEnd(value.end);\\n }\\n }\\n}\\n</script>\\n\\n<style scoped>\\n.dropdown-item {\\n color: #212529;\\n}\\n\\n.dropdown-item:hover {\\n color: #212529;\\n}\\n</style>\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_vm._v(\"Start\")]),_vm._v(\" \"),_c('div',{staticClass:\"col-8\"},[_vm._v(_vm._s(new Intl.DateTimeFormat(_vm.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(_vm.range.start)))])]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_vm._v(\"End\")]),_vm._v(\" \"),_c('div',{staticClass:\"col-8\"},[_vm._v(_vm._s(new Intl.DateTimeFormat(_vm.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(_vm.range.end)))])]),_vm._v(\" \"),_c('date-picker',{attrs:{\"rows\":2,\"is-range\":\"\",\"mode\":\"date\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar inputValue = ref.inputValue;\nvar inputEvents = ref.inputEvents;\nvar isDragging = ref.isDragging;\nvar togglePopover = ref.togglePopover;\nreturn [_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"btn-group btn-group-sm d-flex\"},[_c('button',{staticClass:\"btn btn-secondary btn-sm\",attrs:{\"title\":_vm.$t('firefly.custom_period')},on:{\"click\":function($event){return togglePopover({ placement: 'auto-start', positionFixed: true })}}},[_c('i',{staticClass:\"fas fa-calendar-alt\"})]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-secondary\",attrs:{\"title\":_vm.$t('firefly.reset_to_current')},on:{\"click\":_vm.resetDate}},[_c('i',{staticClass:\"fas fa-history\"})]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-secondary dropdown-toggle\",attrs:{\"id\":\"dropdownMenuButton\",\"title\":_vm.$t('firefly.select_period'),\"aria-expanded\":\"false\",\"aria-haspopup\":\"true\",\"data-toggle\":\"dropdown\",\"type\":\"button\"}},[_c('i',{staticClass:\"fas fa-list\"})]),_vm._v(\" \"),_c('div',{staticClass:\"dropdown-menu\",attrs:{\"aria-labelledby\":\"dropdownMenuButton\"}},_vm._l((_vm.periods),function(period){return _c('a',{staticClass:\"dropdown-item\",attrs:{\"href\":\"#\"},on:{\"click\":function($event){return _vm.customDate(period.start, period.end)}}},[_vm._v(_vm._s(period.title))])}),0)]),_vm._v(\" \"),_c('input',_vm._g({class:isDragging ? 'text-gray-600' : 'text-gray-900',attrs:{\"type\":\"hidden\"},domProps:{\"value\":inputValue.start}},inputEvents.start)),_vm._v(\" \"),_c('input',_vm._g({class:isDragging ? 'text-gray-600' : 'text-gray-900',attrs:{\"type\":\"hidden\"},domProps:{\"value\":inputValue.end}},inputEvents.end))])])]}}]),model:{value:(_vm.range),callback:function ($$v) {_vm.range=$$v},expression:\"range\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - Calendar.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div>\n <div class=\"row\">\n <div class=\"col\">Start</div>\n <div class=\"col-8\">{{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(range.start) }}</div>\n </div>\n <div class=\"row\">\n <div class=\"col\">End</div>\n <div class=\"col-8\">{{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(range.end) }}</div>\n </div>\n <date-picker\n v-model=\"range\"\n :rows=\"2\"\n is-range\n mode=\"date\"\n >\n <template v-slot=\"{ inputValue, inputEvents, isDragging, togglePopover }\">\n <div class=\"row\">\n <div class=\"col\">\n <div class=\"btn-group btn-group-sm d-flex\">\n <button\n :title=\"$t('firefly.custom_period')\" class=\"btn btn-secondary btn-sm\"\n @click=\"togglePopover({ placement: 'auto-start', positionFixed: true })\"\n ><i class=\"fas fa-calendar-alt\"></i></button>\n <button :title=\"$t('firefly.reset_to_current')\"\n class=\"btn btn-secondary\"\n @click=\"resetDate\"\n ><i class=\"fas fa-history\"></i></button>\n <button id=\"dropdownMenuButton\" :title=\"$t('firefly.select_period')\" aria-expanded=\"false\" aria-haspopup=\"true\"\n class=\"btn btn-secondary dropdown-toggle\"\n data-toggle=\"dropdown\"\n type=\"button\">\n <i class=\"fas fa-list\"></i>\n </button>\n <div aria-labelledby=\"dropdownMenuButton\" class=\"dropdown-menu\">\n <a v-for=\"period in periods\" class=\"dropdown-item\" href=\"#\" @click=\"customDate(period.start, period.end)\">{{ period.title }}</a>\n </div>\n\n </div>\n <input v-on=\"inputEvents.start\"\n :class=\"isDragging ? 'text-gray-600' : 'text-gray-900'\"\n :value=\"inputValue.start\"\n type=\"hidden\"\n />\n <input v-on=\"inputEvents.end\"\n :class=\"isDragging ? 'text-gray-600' : 'text-gray-900'\"\n :value=\"inputValue.end\"\n type=\"hidden\"\n />\n </div>\n </div>\n </template>\n </date-picker>\n </div>\n</template>\n\n<script>\n\nimport {createNamespacedHelpers} from \"vuex\";\nimport Vue from \"vue\";\nimport DatePicker from \"v-calendar/lib/components/date-picker.umd\";\nimport subDays from 'date-fns/subDays';\nimport addDays from 'date-fns/addDays';\nimport addMonths from 'date-fns/addMonths';\nimport startOfDay from 'date-fns/startOfDay';\nimport endOfDay from 'date-fns/endOfDay';\nimport startOfWeek from 'date-fns/startOfWeek';\nimport endOfWeek from 'date-fns/endOfWeek';\nimport endOfMonth from 'date-fns/endOfMonth';\nimport format from 'date-fns/format';\nimport startOfQuarter from 'date-fns/startOfQuarter';\nimport subMonths from 'date-fns/subMonths';\nimport endOfQuarter from 'date-fns/endOfQuarter';\nimport subQuarters from 'date-fns/subQuarters';\nimport addQuarters from 'date-fns/addQuarters';\nimport startOfMonth from 'date-fns/startOfMonth';\n\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\n\nVue.component('date-picker', DatePicker)\n\nexport default {\n name: \"Calendar\",\n created() {\n this.ready = true;\n this.locale = localStorage.locale ?? 'en-US';\n },\n data() {\n return {\n locale: 'en-US',\n ready: false,\n range: {\n start: null,\n end: null,\n },\n defaultRange: {\n start: null,\n end: null,\n },\n periods: []\n };\n },\n methods: {\n ...mapMutations(\n [\n 'setEnd',\n 'setStart',\n ],\n ),\n resetDate: function () {\n //console.log('Reset date to');\n //console.log(this.defaultStart);\n //console.log(this.defaultEnd);\n this.range.start = this.defaultStart;\n this.range.end = this.defaultEnd;\n this.setStart(this.defaultStart);\n this.setEnd(this.defaultEnd);\n },\n customDate: function (startStr, endStr) {\n let start = new Date(startStr);\n let end = new Date(endStr);\n this.setStart(start);\n this.setEnd(end);\n this.range.start = start;\n this.range.end = end;\n this.generatePeriods()\n return false;\n },\n generateDaily: function () {\n let today = new Date(this.range.start);\n // yesterday\n this.periods.push(\n {\n start: startOfDay(subDays(today, 1)).toDateString(),\n end: endOfDay(subDays(today, 1)).toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(subDays(today, 1))\n }\n );\n\n // today\n this.periods.push(\n {\n start: startOfDay(today).toDateString(),\n end: endOfDay(today).toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(today)\n }\n );\n\n // tomorrow:\n this.periods.push(\n {\n start: startOfDay(addDays(today, 1)).toDateString(),\n end: endOfDay(addDays(today, 1)).toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(addDays(today, 1))\n }\n );\n\n // The Day After Tomorrow dun-dun-dun!\n this.periods.push(\n {\n start: startOfDay(addDays(today, 2)).toDateString(),\n end: endOfDay(addDays(today, 2)).toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(addDays(today, 2))\n }\n );\n },\n\n generateWeekly: function () {\n //console.log('weekly');\n let today = new Date(this.range.start);\n //console.log('Today is ' + today);\n let start = startOfDay(startOfWeek(subDays(today, 7), {weekStartsOn: 1}));\n let end = endOfDay(endOfWeek(subDays(today, 7), {weekStartsOn: 1}));\n let dateFormat = this.$t('config.week_in_year_fns');\n //console.log('Date format: \"'+dateFormat+'\"');\n let title = format(start, dateFormat);\n\n // last week\n // console.log('Last week');\n // console.log(start);\n // console.log(end);\n // console.log(title);\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n\n // this week\n start = startOfDay(startOfWeek(today, {weekStartsOn: 1}));\n end = endOfDay(endOfWeek(today, {weekStartsOn: 1}));\n title = format(start, dateFormat);\n // console.log('This week');\n // console.log(start);\n // console.log(end);\n // console.log(title);\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n\n // next week\n start = startOfDay(startOfWeek(addDays(today, 7), {weekStartsOn: 1}));\n end = endOfDay(endOfWeek(addDays(today, 7), {weekStartsOn: 1}));\n title = format(start, dateFormat);\n // console.log('Next week');\n // console.log(start);\n // console.log(end);\n // console.log(title);\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n },\n generateMonthly: function () {\n let today = new Date(this.range.start);\n // previous month\n let start = startOfDay(startOfMonth(subMonths(today, 1)));\n let end = endOfDay(endOfMonth(subMonths(today, 1)));\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long'}).format(start)\n }\n );\n\n // this month\n start = startOfDay(startOfMonth(today));\n end = endOfDay(endOfMonth(today));\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long'}).format(start)\n }\n );\n\n // next month\n start = startOfDay(startOfMonth(addMonths(today, 1)));\n end = endOfDay(endOfMonth(addMonths(today, 1)));\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long'}).format(start)\n }\n );\n\n },\n generateQuarterly: function () {\n let today = new Date(this.range.start);\n\n // last quarter\n let start = startOfDay(startOfQuarter(subQuarters(today, 1)));\n let end = endOfDay(endOfQuarter(subQuarters(today, 1)));\n let dateFormat = this.$t('config.quarter_fns');\n let title = format(start, dateFormat);\n\n // last week\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n\n\n // this quarter\n start = startOfDay(startOfQuarter(today));\n end = endOfDay(endOfQuarter(today));\n title = format(start, dateFormat);\n\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n // next quarter\n start = startOfDay(startOfQuarter(addQuarters(today, 1)));\n end = endOfDay(endOfQuarter(addQuarters(today, 1)));\n title = format(start, dateFormat);\n\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n },\n generateHalfYearly: function () {\n let today = new Date(this.range.start);\n let start;\n let end;\n let title = 'todo';\n let half = 1;\n\n\n // its currently first half of year:\n if (today.getMonth() <= 5) {\n // previous year, last half:\n start = today;\n start.setFullYear(start.getFullYear() - 1);\n start.setMonth(6);\n start.setDate(1);\n start = startOfDay(start);\n end = start;\n end.setMonth(11);\n end.setDate(31);\n end = endOfDay(end);\n half = 2;\n title = format(start, this.$t('config.half_year_fns', {half: half}));\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n\n // this year, first half:\n start = today;\n start.setMonth(0);\n start.setDate(1);\n start = startOfDay(start);\n end = today;\n end.setMonth(5);\n end.setDate(30);\n end = endOfDay(start);\n half = 1;\n title = format(start, this.$t('config.half_year_fns', {half: half}));\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n\n // this year, second half:\n start = today;\n start.setMonth(6);\n start.setDate(1);\n start = startOfDay(start);\n end = start;\n end.setMonth(11);\n end.setDate(31);\n end = endOfDay(end);\n half = 2;\n title = format(start, this.$t('config.half_year_fns', {half: half}));\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n return;\n }\n // this year, first half:\n start = today;\n start.setMonth(0);\n start.setDate(1);\n start = startOfDay(start);\n end = start;\n end.setMonth(5);\n end.setDate(30);\n end = endOfDay(end);\n half = 1;\n title = format(start, this.$t('config.half_year_fns', {half: half}));\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n\n // this year, current (second) half:\n start = today;\n start.setMonth(6);\n start.setDate(1);\n start = startOfDay(start);\n end = today;\n end.setMonth(11);\n end.setDate(31);\n end = endOfDay(start);\n half = 2;\n title = format(start, this.$t('config.half_year_fns', {half: half}));\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n\n // next year, first half:\n start = today;\n start.setMonth(0);\n start.setDate(1);\n start = startOfDay(start);\n end = start;\n end.setMonth(5);\n end.setDate(30);\n end = endOfDay(end);\n half = 1;\n title = format(start, this.$t('config.half_year_fns', {half: half}));\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: title\n }\n );\n },\n generateYearly: function () {\n let today = new Date(this.range.start);\n let start;\n let end;\n let title;\n\n // last year\n start = new Date(today);\n start.setFullYear(start.getFullYear() - 1);\n start.setMonth(0);\n start.setDate(1);\n start = startOfDay(start);\n\n end = new Date(today);\n end.setFullYear(end.getFullYear() - 1);\n end.setMonth(11);\n end.setDate(31);\n end = endOfDay(end);\n\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: start.getFullYear()\n }\n );\n\n // this year\n start = new Date(today);\n start.setMonth(0);\n start.setDate(1);\n start = startOfDay(start);\n\n end = new Date(today);\n end.setMonth(11);\n end.setDate(31);\n end = endOfDay(end);\n\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: start.getFullYear()\n }\n );\n // next year\n start = new Date(today);\n start.setFullYear(start.getFullYear() + 1);\n start.setMonth(0);\n start.setDate(1);\n start = startOfDay(start);\n\n end = new Date(today);\n end.setFullYear(end.getFullYear() + 1);\n end.setMonth(11);\n end.setDate(31);\n end = endOfDay(end);\n\n this.periods.push(\n {\n start: start.toDateString(),\n end: end.toDateString(),\n title: start.getFullYear()\n }\n );\n },\n generatePeriods: function () {\n this.periods = [];\n //console.log('The view range is \"' + this.viewRange + '\".');\n switch (this.viewRange) {\n case '1D':\n this.generateDaily();\n break;\n case '1W':\n this.generateWeekly();\n break;\n case '1M':\n this.generateMonthly();\n break;\n case '3M':\n this.generateQuarterly();\n break;\n case '6M':\n this.generateHalfYearly();\n break;\n case '1Y':\n this.generateYearly();\n break;\n }\n\n\n // last 7 days\n let today = new Date;\n let end = new Date;\n end.setDate(end.getDate() - 7);\n this.periods.push(\n {\n start: end.toDateString(),\n end: today.toDateString(),\n title: this.$t('firefly.last_seven_days')\n }\n );\n\n // last 30 days:\n end.setDate(end.getDate() - 23);\n this.periods.push(\n {\n start: end.toDateString(),\n end: today.toDateString(),\n title: this.$t('firefly.last_thirty_days')\n }\n );\n // last 30 days\n // everything\n }\n },\n computed: {\n ...mapGetters([\n 'viewRange',\n 'start',\n 'end',\n 'defaultStart',\n 'defaultEnd'\n ]),\n 'datesReady': function () {\n return null !== this.start && null !== this.end && this.ready;\n },\n },\n watch: {\n datesReady: function (value) {\n if (false === value) {\n return;\n }\n this.range.start = new Date(this.start);\n this.range.end = new Date(this.end);\n this.generatePeriods();\n\n },\n range: function (value) {\n //console.log('User updated range');\n this.setStart(value.start);\n this.setEnd(value.end);\n }\n }\n}\n</script>\n\n<style scoped>\n.dropdown-item {\n color: #212529;\n}\n\n.dropdown-item:hover {\n color: #212529;\n}\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Calendar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Calendar.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Calendar.vue?vue&type=template&id=391cacea&scoped=true&\"\nimport script from \"./Calendar.vue?vue&type=script&lang=js&\"\nexport * from \"./Calendar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Calendar.vue?vue&type=style&index=0&id=391cacea&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"391cacea\",\n null\n \n)\n\nexport default component.exports","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[1]!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[2]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Calendar.vue?vue&type=style&index=0&id=391cacea&scoped=true&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"719f2a46\", content, true, {});"],"sourceRoot":""}\ No newline at end of filediff --git a/public/v2/js/transactions/edit.js b/public/v2/js/transactions/edit.jsindex b075e39321..533a2faa7e 100755--- a/public/v2/js/transactions/edit.js+++ b/public/v2/js/transactions/edit.js@@ -1,2 +1,2 @@-(self.webpackChunk=self.webpackChunk||[]).push([[847],{232:(e,t,a)=>{"use strict";a.r(t);var n=a(7760),i=a.n(n),o=a(7152),s=a(4605);window.$=window.jQuery=a(9755),window.axios=a(9669),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var r=document.head.querySelector('meta[name="csrf-token"]');r?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=r.content:console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token");var c=document.head.querySelector('meta[name="locale"]');localStorage.locale=c?c.content:"en_US",a(6891),a(3734),a(7632),a(5432),window.vuei18n=o.Z,window.uiv=s,i().use(vuei18n),i().use(s),window.Vue=i()},9899:(e,t,a)=>{"use strict";a.d(t,{Z:()=>x});var n=a(7760),i=a.n(n),o=a(629),s=a(4478),r=a(3465);const c={namespaced:!0,state:function(){return{transactionType:"any",groupTitle:"",transactions:[],customDateFields:{interest_date:!1,book_date:!1,process_date:!1,due_date:!1,payment_date:!1,invoice_date:!1},defaultTransaction:(0,s.f$)(),defaultErrors:(0,s.kQ)()}},getters:{transactions:function(e){return e.transactions},defaultErrors:function(e){return e.defaultErrors},groupTitle:function(e){return e.groupTitle},transactionType:function(e){return e.transactionType},accountToTransaction:function(e){return e.accountToTransaction},defaultTransaction:function(e){return e.defaultTransaction},sourceAllowedTypes:function(e){return e.sourceAllowedTypes},destinationAllowedTypes:function(e){return e.destinationAllowedTypes},allowedOpposingTypes:function(e){return e.allowedOpposingTypes},customDateFields:function(e){return e.customDateFields}},actions:{},mutations:{addTransaction:function(e){var t=r(e.defaultTransaction);t.errors=r(e.defaultErrors),e.transactions.push(t)},resetErrors:function(e,t){e.transactions[t.index].errors=r(e.defaultErrors)},resetTransactions:function(e){e.transactions=[]},setGroupTitle:function(e,t){e.groupTitle=t.groupTitle},setCustomDateFields:function(e,t){e.customDateFields=t},deleteTransaction:function(e,t){e.transactions.splice(t.index,1),e.transactions.length},setTransactionType:function(e,t){e.transactionType=t},setAllowedOpposingTypes:function(e,t){e.allowedOpposingTypes=t},setAccountToTransaction:function(e,t){e.accountToTransaction=t},updateField:function(e,t){e.transactions[t.index][t.field]=t.value},setTransactionError:function(e,t){e.transactions[t.index].errors[t.field]=t.errors},setDestinationAllowedTypes:function(e,t){e.destinationAllowedTypes=t},setSourceAllowedTypes:function(e,t){e.sourceAllowedTypes=t}}};const l={namespaced:!0,state:function(){return{}},getters:{},actions:{},mutations:{}};var _=a(9119),u=a(3894),d=a(584),p=a(7090),y=a(4431),g=a(8358),m=a(4135),h=a(3703);const f={namespaced:!0,state:function(){return{viewRange:"default",start:null,end:null,defaultStart:null,defaultEnd:null}},getters:{start:function(e){return e.start},end:function(e){return e.end},defaultStart:function(e){return e.defaultStart},defaultEnd:function(e){return e.defaultEnd},viewRange:function(e){return e.viewRange}},actions:{initialiseStore:function(e){e.dispatch("restoreViewRange"),axios.get("./api/v1/preferences/viewRange").then((function(t){var a=t.data.data.attributes.data,n=e.getters.viewRange;e.commit("setViewRange",a),a!==n&&e.dispatch("setDatesFromViewRange"),a===n&&e.dispatch("restoreViewRangeDates")})).catch((function(){e.commit("setViewRange","1M"),e.dispatch("setDatesFromViewRange")}))},restoreViewRangeDates:function(e){localStorage.viewRangeStart&&e.commit("setStart",new Date(localStorage.viewRangeStart)),localStorage.viewRangeEnd&&e.commit("setEnd",new Date(localStorage.viewRangeEnd)),localStorage.viewRangeDefaultStart&&e.commit("setDefaultStart",new Date(localStorage.viewRangeDefaultStart)),localStorage.viewRangeDefaultEnd&&e.commit("setDefaultEnd",new Date(localStorage.viewRangeDefaultEnd))},restoreViewRange:function(e){var t=localStorage.getItem("viewRange");null!==t&&e.commit("setViewRange",t)},setDatesFromViewRange:function(e){var t,a,n=e.getters.viewRange,i=new Date;switch(n){case"1D":t=(0,_.Z)(i),a=(0,u.Z)(i);break;case"1W":t=(0,_.Z)((0,d.Z)(i,{weekStartsOn:1})),a=(0,u.Z)((0,p.Z)(i,{weekStartsOn:1}));break;case"1M":t=(0,_.Z)((0,h.Z)(i)),a=(0,u.Z)((0,m.Z)(i));break;case"3M":t=(0,_.Z)((0,y.Z)(i)),a=(0,u.Z)((0,g.Z)(i));break;case"6M":i.getMonth()<=5&&((t=new Date(i)).setMonth(0),t.setDate(1),t=(0,_.Z)(t),(a=new Date(i)).setMonth(5),a.setDate(30),a=(0,u.Z)(t)),i.getMonth()>5&&((t=new Date(i)).setMonth(6),t.setDate(1),t=(0,_.Z)(t),(a=new Date(i)).setMonth(11),a.setDate(31),a=(0,u.Z)(t));break;case"1Y":(t=new Date(i)).setMonth(0),t.setDate(1),t=(0,_.Z)(t),(a=new Date(i)).setMonth(11),a.setDate(31),a=(0,u.Z)(a)}e.commit("setStart",t),e.commit("setEnd",a),e.commit("setDefaultStart",t),e.commit("setDefaultEnd",a)}},mutations:{setStart:function(e,t){e.start=t,window.localStorage.setItem("viewRangeStart",t)},setEnd:function(e,t){e.end=t,window.localStorage.setItem("viewRangeEnd",t)},setDefaultStart:function(e,t){e.defaultStart=t,window.localStorage.setItem("viewRangeDefaultStart",t)},setDefaultEnd:function(e,t){e.defaultEnd=t,window.localStorage.setItem("viewRangeDefaultEnd",t)},setViewRange:function(e,t){e.viewRange=t,window.localStorage.setItem("viewRange",t)}}};var b=function(){return{listPageSize:33,timezone:""}},v={initialiseStore:function(e){localStorage.listPageSize&&(b.listPageSize=localStorage.listPageSize,e.commit("setListPageSize",{length:localStorage.listPageSize})),localStorage.listPageSize||axios.get("./api/v1/preferences/listPageSize").then((function(t){e.commit("setListPageSize",{length:parseInt(t.data.data.attributes.data)})})),localStorage.timezone&&(b.timezone=localStorage.timezone,e.commit("setTimezone",{timezone:localStorage.timezone})),localStorage.timezone||axios.get("./api/v1/configuration/app.timezone").then((function(t){e.commit("setTimezone",{timezone:t.data.data.value})}))}};const k={namespaced:!0,state:b,getters:{listPageSize:function(e){return e.listPageSize},timezone:function(e){return e.timezone}},actions:v,mutations:{setListPageSize:function(e,t){var a=parseInt(t.length);0!==a&&(e.listPageSize=a,localStorage.listPageSize=a)},setTimezone:function(e,t){""!==t.timezone&&(e.timezone=t.timezone,localStorage.timezone=t.timezone)}}};const w={namespaced:!0,state:function(){return{orderMode:!1,activeFilter:1}},getters:{orderMode:function(e){return e.orderMode},activeFilter:function(e){return e.activeFilter}},actions:{},mutations:{setOrderMode:function(e,t){e.orderMode=t},setActiveFilter:function(e,t){e.activeFilter=t}}};i().use(o.ZP);const x=new o.ZP.Store({namespaced:!0,modules:{root:k,transactions:{namespaced:!0,modules:{create:c,edit:l}},accounts:{namespaced:!0,modules:{index:w}},dashboard:{namespaced:!0,modules:{index:f}}},strict:false,plugins:[],state:{currencyPreference:{},locale:"en-US",listPageSize:50},mutations:{setCurrencyPreference:function(e,t){e.currencyPreference=t.payload},initialiseStore:function(e){if(localStorage.locale)e.locale=localStorage.locale;else{var t=document.head.querySelector('meta[name="locale"]');t&&(e.locale=t.content,localStorage.locale=t.content)}}},getters:{currencyCode:function(e){return e.currencyPreference.code},currencyPreference:function(e){return e.currencyPreference},currencyId:function(e){return e.currencyPreference.id},locale:function(e){return e.locale}},actions:{updateCurrencyPreference:function(e){localStorage.currencyPreference?e.commit("setCurrencyPreference",{payload:JSON.parse(localStorage.currencyPreference)}):axios.get("./api/v1/currencies/default").then((function(t){var a={id:parseInt(t.data.data.id),name:t.data.data.attributes.name,symbol:t.data.data.attributes.symbol,code:t.data.data.attributes.code,decimal_places:parseInt(t.data.data.attributes.decimal_places)};localStorage.currencyPreference=JSON.stringify(a),e.commit("setCurrencyPreference",{payload:a})})).catch((function(t){console.error(t),e.commit("setCurrencyPreference",{payload:{id:1,name:"Euro",symbol:"€",code:"EUR",decimal_places:2}})}))}}})},157:(e,t,a)=>{e.exports=new vuei18n({locale:document.documentElement.lang,fallbackLocale:"en",messages:{bg:a(7154),cs:a(6407),de:a(4726),en:a(3340),"en-us":a(3340),"en-gb":a(6318),es:a(5394),el:a(3636),fr:a(2551),hu:a(995),it:a(9112),nl:a(4671),nb:a(9085),pl:a(6238),fi:a(7868),"pt-br":a(6586),"pt-pt":a(8664),ro:a(1102),ru:a(753),"zh-tw":a(1715),"zh-cn":a(4556),sk:a(7049),sv:a(7921),vi:a(1497)}})},1588:(e,t,a)=>{"use strict";var n=a(9899),i=a(629),o=a(3324),s=a(7070),r=a(8151),c=a(5524),l=a(4478);function _(e){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function d(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?u(Object(a),!0).forEach((function(t){p(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):u(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function p(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var y=a(3465);const g={name:"Edit",created:function(){var e=window.location.pathname.split("/");this.groupId=parseInt(e[e.length-1]),this.transactions=[],this.getTransactionGroup(),this.getAllowedOpposingTypes(),this.getCustomFields()},data:function(){return{successMessage:{type:String,default:""},errorMessage:{type:String,default:""},warningMessage:{type:String,default:""},transactions:{type:Array,default:function(){return[]}},originalTransactions:{type:Array,default:function(){return[]}},groupTitle:{type:String,default:""},originalGroupTitle:{type:String,default:""},transactionType:{type:String,default:"any"},groupId:{type:Number,default:0},groupTitleErrors:{type:Array,default:function(){return[]}},customFields:{type:Object,default:function(){return{}}},returnedGroupId:{type:Number,default:0},returnedGroupTitle:{type:String,default:""},date:{type:String,default:""},originalDate:{type:String,default:""},submittedTransaction:{type:Boolean,default:!1},submittedAttachments:{type:Number,default:-1},inError:{type:Boolean,default:!1},submittedAttCount:{type:Object,default:function(){return{}}},allowedOpposingTypes:{type:Object,default:function(){return{}}},destinationAllowedTypes:{type:Array,default:function(){return[]}},sourceAllowedTypes:{type:Array,default:function(){return[]}},enableSubmit:!0,stayHere:!1}},components:{Alert:o.Z,SplitPills:s.Z,SplitForm:r.Z,TransactionGroupTitle:c.Z},watch:{submittedAttachments:function(){this.finaliseSubmission()}},methods:d(d({},(0,i.OI)("transactions/create",["updateField"])),{},{getTransactionGroup:function(){var e=this;axios.get("./api/v1/transactions/"+this.groupId).then((function(t){e.parseTransactionGroup(t.data)})).catch((function(e){}))},parseTransactionGroup:function(e){var t=e.data.attributes,a=t.transactions.reverse();for(var n in this.groupTitle=t.group_title,this.originalGroupTitle=t.group_title,this.transactions=[],this.originalTransactions=[],this.returnedGroupTitle=null===this.originalGroupTitle?e.data.attributes.transactions[0].description:this.originalGroupTitle,a)if(a.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294){console.log("Parsing transaction nr "+n);var i=this.parseTransaction(parseInt(n),a[n]);this.transactions.push(i),this.originalTransactions.push(y(i)),this.parseLinks(parseInt(i.transaction_journal_id),parseInt(n))}},parseTransaction:function(e,t){var a;0===e&&(this.transactionType=t.type.charAt(0).toUpperCase()+t.type.slice(1),this.sourceAllowedTypes=[t.source_type],this.destinationAllowedTypes=[t.destination_type],this.date=t.date.substring(0,16),this.originalDate=t.date.substring(0,16));var n=(0,l.f$)();return n.description=t.description,n.transaction_journal_id=parseInt(t.transaction_journal_id),n.source_account_id=t.source_id,n.source_account_name=t.source_name,n.source_account_type=t.source_type,n.destination_account_id=t.destination_id,n.destination_account_name=t.destination_name,n.destination_account_type=t.destination_type,n.amount=t.amount,n.currency_id=t.currency_id,n.foreign_amount=t.foreign_amount,n.foreign_currency_id=t.foreign_currency_id,n.category=t.category_name,n.budget_id=t.budget_id,n.bill_id=null!==(a=t.bill_id)&&void 0!==a?a:0,n.tags=t.tags,n.interest_date=t.interest_date?t.interest_date.substr(0,10):"",n.book_date=t.book_date?t.book_date.substr(0,10):"",n.process_date=t.process_date?t.process_date.substr(0,10):"",n.due_date=t.due_date?t.due_date.substr(0,10):"",n.payment_date=t.payment_date?t.payment_date.substr(0,10):"",n.invoice_date=t.invoice_date?t.invoice_date.substr(0,10):"",n.internal_reference=t.internal_reference,n.external_url=t.external_uri,n.external_id=t.external_id,n.notes=t.notes,n.location={zoom_level:t.zoom_level,longitude:t.longitude,latitude:t.latitude},n.zoom_level=t.zoom_level,n.longitude=t.longitude,n.latitude=t.latitude,n.errors=(0,l.kQ)(),n},parseLinks:function(e,t){var a=this;axios.get("./api/v1/transaction-journals/"+e+"/links").then((function(n){var i=n.data.data;for(var o in i)i.hasOwnProperty(o)&&/^0$|^[1-9]\d*$/.test(o)&&o<=4294967294&&a.parseLink(i[o],e,t)}))},parseLink:function(e,t,a){var n=this,i=[],o=parseInt(e.attributes.inward_id),s="inward";o===t&&(o=parseInt(e.attributes.outward_id),s="outward"),i.push(new Promise((function(n){n({link:e,journalId:t,opposingId:o,index:a,direction:s})}))),i.push(axios.get("./api/v1/transaction-journals/"+o)),i.push(axios.get("./api/v1/transaction_links/"+e.attributes.link_type_id)),Promise.all(i).then((function(t){var a=t[1].data.data.attributes.transactions,i=t[0].opposingId,o={};for(var s in a)a.hasOwnProperty(s)&&/^0$|^[1-9]\d*$/.test(s)&&s<=4294967294&&a[s].transaction_journal_id===i&&(o=a[s]);var r=t[0].index,c=t[0].direction,l=t[2].data.data.id,_={id:e.id,link_type_id:l+"-"+c,transaction_group_id:t[1].data.data.id,transaction_journal_id:o.transaction_journal_id,description:o.description,type:o.type,currency_code:o.currency_code,amount:o.amount};n.transactions[r].links.push(_),n.originalTransactions[r].links.push(_)}))},getAllowedOpposingTypes:function(){var e=this;axios.get("./api/v1/configuration/firefly.allowed_opposing_types").then((function(t){e.allowedOpposingTypes=t.data.data.value}))},getCustomFields:function(){var e=this;axios.get("./api/v1/preferences/transaction_journal_optional_fields").then((function(t){e.customFields=t.data.data.attributes.data}))},uploadedAttachment:function(e){this.submittedAttachments=0;var t="str"+e;this.submittedAttCount[t]=1,Object.keys(this.submittedAttCount).length===this.transactions.length&&(this.submittedAttachments=1)},storeLocation:function(e){this.transactions[e.index].zoom_level=e.zoomLevel,this.transactions[e.index].longitude=e.lng,this.transactions[e.index].latitude=e.lat},storeAccountValue:function(e){var t=e.direction,a=e.index;this.transactions[a][t+"_account_id"]=e.id,this.transactions[a][t+"_account_type"]=e.type,this.transactions[a][t+"_account_name"]=e.name},storeDate:function(e){this.date=e.date},storeField:function(e){var t=e.field;"category"===t&&(t="category_name"),this.transactions[e.index][t]=e.value},removeTransaction:function(e){var t=0;for(var a in this.transactions)this.transactions.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294&&(console.log("Now at index: "+a),t===e.index&&(console.log("Delete!"),this.transactions.splice(t,1)),t++);$("#transactionTabs li:first-child a").tab("show")},storeGroupTitle:function(e){this.groupTitle=e},selectedAttachments:function(e){for(var t in this.transactions)this.transactions.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294&&parseInt(this.transactions[t].transaction_journal_id)===parseInt(e.id)&&(this.transactions[t].selectedAttachments=!0)},addTransaction:function(e){e.preventDefault();var t=(0,l.f$)();t.errors=(0,l.kQ)(),this.transactions.push(t)},submitTransaction:function(e){e.preventDefault(),this.enableSubmit=!1;var t={transactions:[]},a=!1,n=!1,i=!1;this.groupTitle!==this.originalGroupTitle&&(t.group_title=this.groupTitle,a=!0);var o=this.transactions.length;for(var s in o>1&&void 0===t.group_title&&(null===this.originalGroupTitle||""===this.originalGroupTitle)&&(t.group_title=this.transactions[0].description,a=!0),this.transactions)if(this.transactions.hasOwnProperty(s)&&/^0$|^[1-9]\d*$/.test(s)&&s<=4294967294){var r=this.transactions[s],c=this.originalTransactions.hasOwnProperty(s)?this.originalTransactions[s]:{},l={},u=["description","source_account_id","source_account_name","destination_account_id","destination_account_name","amount","foreign_amount","foreign_currency_id","category_name","budget_id","bill_id","interest_date","book_date","due_date","payment_date","invoice_date","external_url","internal_reference","external_id","notes","zoom_level","longitude","latitude"];for(var d in s>0&&(l.type=this.transactionType.toLowerCase(),"deposit"!==this.transactionType.toLowerCase()&&"transfer"!==this.transactionType.toLowerCase()||(r.destination_account_name=this.originalTransactions[0].destination_account_name,r.destination_account_id=this.originalTransactions[0].destination_account_id),"withdrawal"!==this.transactionType.toLowerCase()&&"transfer"!==this.transactionType.toLowerCase()||(r.source_account_name=this.originalTransactions[0].source_account_name,r.source_account_id=this.originalTransactions[0].source_account_id)),u)if(u.hasOwnProperty(d)&&/^0$|^[1-9]\d*$/.test(d)&&d<=4294967294){var p=u[d],g=p;if(null===r[p]&&void 0===c[p])continue;if(r[p]!==c[p]){if("foreign_amount"===g&&""===r[p])continue;if("foreign_currency_id"===g&&0===r[p])continue;"source_account_id"===g&&(g="source_id"),"source_account_name"===g&&(g="source_name"),"destination_account_id"===g&&(g="destination_id"),"destination_account_name"===g&&(g="destination_name"),l[g]=r[p],a=!0}}if(JSON.stringify(r.tags)!==JSON.stringify(c.tags)){if(l.tags=[],0!==r.tags.length)for(var m in r.tags)if(r.tags.hasOwnProperty(m)&&/^0$|^[1-9]\d*$/.test(m)&&m<=4294967294){var h=r.tags[m];"object"===_(h)&&null!==h&&l.tags.push(h.text),"string"==typeof h&&l.tags.push(h)}a=!0}if(this.compareLinks(r.links)!==this.compareLinks(c.links)&&(n=!0),void 0!==r.selectedAttachments&&!0===r.selectedAttachments&&(i=!0),this.date!==this.originalDate&&(a=!0,l.date=this.date),0===Object.keys(l).length&&o>1)l.transaction_journal_id=c.transaction_journal_id,t.transactions.push(y(l)),a=!0;else if(0!==Object.keys(l).length){var f;l.transaction_journal_id=null!==(f=c.transaction_journal_id)&&void 0!==f?f:0,t.transactions.push(y(l)),a=!0}}this.submitUpdate(t,a,n,i)},submitData:function(e,t){if(!e)return new Promise((function(e){e({})}));var a="./api/v1/transactions/"+this.groupId;return axios.put(a,t)},handleSubmissionResponse:function(e){this.submittedTransaction=!0;var t=[];if(void 0!==e.data){var a;this.returnedGroupId=null!==(a=parseInt(e.data.data.id))&&void 0!==a?a:null,this.returnedGroupTitle=null===e.data.data.attributes.group_title?e.data.data.attributes.transactions[0].description:e.data.data.attributes.group_title;var n=e.data.data.attributes.transactions;for(var i in n)n.hasOwnProperty(i)&&/^0$|^[1-9]\d*$/.test(i)&&i<=4294967294&&t.push(parseInt(n[i].transaction_journal_id))}else for(var o in this.transactions)this.transactions.hasOwnProperty(o)&&/^0$|^[1-9]\d*$/.test(o)&&o<=4294967294&&t.push(this.transactions[o].transaction_journal_id);return t=t.reverse(),new Promise((function(e){e({journals:t})}))},submitLinks:function(e){var t=this;return e?this.deleteAllOriginalLinks().then((function(){return t.submitNewLinks()})):new Promise((function(e){e({})}))},submitAttachments:function(e,t){if(console.log("submitAttachments"),!e)return console.log("no need!"),this.submittedAttachments=1,new Promise((function(e){e({})}));var a=!1;for(var n in this.transactions)if(this.transactions.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294){var i=this.transactions[n],o=i.transaction_journal_id;void 0!==t&&(o=t.journals[n]);var s=i.selectedAttachments;this.transactions[n].transaction_journal_id=o,this.transactions[n].uploadTrigger=!0,s&&(a=!0)}!0===a&&(this.submittedAttachments=0)},finaliseSubmission:function(){if(0!==this.submittedAttachments){var e;if(!0===this.stayHere&&!1===this.inError&&(this.errorMessage="",this.warningMessage="",this.successMessage=this.$t("firefly.transaction_updated_link",{ID:this.groupId,title:this.returnedGroupTitle})),!1===this.stayHere&&!1===this.inError)window.location.href=(null!==(e=window.previousURL)&&void 0!==e?e:"/")+"?transaction_group_id="+this.groupId+"&message=updated";for(var t in this.enableSubmit=!0,this.submittedAttachments=-1,this.inError=!1,this.transactions)this.transactions.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294&&this.transactions.hasOwnProperty(t)&&(this.transactions[t].clearTrigger=!0)}},submitUpdate:function(e,t,a,n){var i=this;this.inError=!1,this.submitData(t,e).then(this.handleSubmissionResponse).then((function(e){return Promise.all([i.submitLinks(a,e),i.submitAttachments(n,e)])})).then(this.finaliseSubmission).catch(this.handleSubmissionError)},compareLinks:function(e){var t=[];for(var a in e)e.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294&&t.push({amount:e[a].amount,currency_code:e[a].currency_code,description:e[a].description,link_type_id:e[a].link_type_id,transaction_group_id:e[a].transaction_group_id,type:e[a].type});return JSON.stringify(t)},parseErrors:function(e){for(var t in this.transactions)this.transactions.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294&&this.resetErrors({index:t});var a,n,i;for(var o in this.successMessage="",this.errorMessage=this.$t("firefly.errors_submission"),void 0===e.errors&&(this.successMessage="",this.errorMessage=e.message),e.errors)if(e.errors.hasOwnProperty(o)){if("group_title"===o){this.groupTitleErrors=e.errors[o];continue}if("group_title"!==o)switch(n=parseInt(o.split(".")[1]),i=o.split(".")[2]){case"amount":case"description":case"date":case"tags":a={index:n,field:i,errors:e.errors[o]},this.setTransactionError(a);break;case"budget_id":a={index:n,field:"budget",errors:e.errors[o]},this.setTransactionError(a);break;case"bill_id":a={index:n,field:"bill",errors:e.errors[o]},this.setTransactionError(a);break;case"piggy_bank_id":a={index:n,field:"piggy_bank",errors:e.errors[o]},this.setTransactionError(a);break;case"category_name":a={index:n,field:"category",errors:e.errors[o]},this.setTransactionError(a);break;case"source_name":case"source_id":a={index:n,field:"source",errors:e.errors[o]},this.setTransactionError(a);break;case"destination_name":case"destination_id":a={index:n,field:"destination",errors:e.errors[o]},this.setTransactionError(a);break;case"foreign_amount":case"foreign_currency":a={index:n,field:"foreign_amount",errors:e.errors[o]},this.setTransactionError(a)}this.transactions[n]}},setTransactionError:function(e){this.transactions[e.index].errors[e.field]=e.errors},resetErrors:function(e){this.transactions[e.index].errors=y((0,l.kQ)())},deleteOriginalLinks:function(e){var t=[];for(var a in e.links)if(e.links.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n="/api/v1/transaction_links/"+e.links[a].id;t.push(axios.delete(n))}return Promise.all(t)},deleteAllOriginalLinks:function(){var e=[];for(var t in this.transactions)if(this.transactions.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=this.transactions[t],n=this.originalTransactions.hasOwnProperty(t)?this.originalTransactions[t]:{},i=this.compareLinks(a.links),o=this.compareLinks(n.links);i!==o?"[]"!==o&&e.push(this.deleteOriginalLinks(n)):e.push(new Promise((function(e){e({})})))}return Promise.all(e)},submitNewLinks:function(){var e=[];for(var t in this.transactions)if(this.transactions.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=this.transactions[t];for(var n in a.links)if(a.links.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294){var i=a.links[n],o={inward_id:a.transaction_journal_id,outward_id:a.transaction_journal_id,link_type_id:"something"},s=i.link_type_id.split("-");o.link_type_id=s[0],"inward"===s[1]&&(o.inward_id=i.transaction_journal_id),"outward"===s[1]&&(o.outward_id=i.transaction_journal_id),e.push(axios.post("./api/v1/transaction_links",o))}}return Promise.all(e)},submitTransactionLinksX:function(){},finalizeSubmitX:function(){if(this.submittedTransaction&&this.submittedAttachments&&this.submittedLinks){var e,t;if(!0===this.stayHere&&!1===this.inError&&0===this.returnedGroupId&&(this.errorMessage="",this.successMessage="",this.warningMessage=this.$t("firefly.transaction_updated_no_changes",{ID:this.returnedGroupId,title:this.returnedGroupTitle})),!1===this.stayHere&&!1===this.inError&&0===this.returnedGroupId)window.location.href=(null!==(e=window.previousURL)&&void 0!==e?e:"/")+"?transaction_group_id="+this.groupId+"&message=no_change";if(!0===this.stayHere&&!1===this.inError&&0!==this.returnedGroupId&&(this.errorMessage="",this.warningMessage="",this.successMessage=this.$t("firefly.transaction_updated_link",{ID:this.returnedGroupId,title:this.returnedGroupTitle})),!1===this.stayHere&&!1===this.inError&&0!==this.returnedGroupId)window.location.href=(null!==(t=window.previousURL)&&void 0!==t?t:"/")+"?transaction_group_id="+this.groupId+"&message=updated";for(var a in this.enableSubmit=!0,this.submittedTransaction=!1,this.submittedLinks=!1,this.submittedAttachments=!1,this.inError=!1,this.transactions)this.transactions.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294&&this.transactions.hasOwnProperty(a)}}})};const m=(0,a(1900).Z)(g,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("Alert",{attrs:{message:e.errorMessage,type:"danger"}}),e._v(" "),a("Alert",{attrs:{message:e.successMessage,type:"success"}}),e._v(" "),a("Alert",{attrs:{message:e.warningMessage,type:"warning"}}),e._v(" "),a("form",{attrs:{autocomplete:"off"},on:{submit:e.submitTransaction}},[a("SplitPills",{attrs:{transactions:e.transactions,count:e.transactions.length}}),e._v(" "),a("div",{staticClass:"tab-content"},e._l(this.transactions,(function(t,n){return a("SplitForm",{key:t.transaction_journal_id,attrs:{index:n,key:t.transaction_journal_id,transaction:t,date:e.date,count:e.transactions.length,"transaction-type":e.transactionType,"source-allowed-types":e.sourceAllowedTypes,"allowed-opposing-types":e.allowedOpposingTypes,"custom-fields":e.customFields,"destination-allowed-types":e.destinationAllowedTypes,"allow-switch":!1},on:{"uploaded-attachments":function(t){return e.uploadedAttachment(t)},"set-marker-location":function(t){return e.storeLocation(t)},"set-account":function(t){return e.storeAccountValue(t)},"set-date":function(t){return e.storeDate(t)},"set-field":function(t){return e.storeField(t)},"remove-transaction":function(t){return e.removeTransaction(t)},"selected-attachments":function(t){return e.selectedAttachments(t)}}})})),1),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},[e.transactions.length>1?a("div",{staticClass:"card"},[a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("TransactionGroupTitle",{attrs:{errors:this.groupTitleErrors},on:{"set-group-title":function(t){return e.storeGroupTitle(t)}},model:{value:this.groupTitle,callback:function(t){e.$set(this,"groupTitle",t)},expression:"this.groupTitle"}})],1)])])]):e._e()]),e._v(" "),a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n \n ")]),e._v(" "),a("button",{staticClass:"btn btn-outline-primary btn-block",attrs:{type:"button"},on:{click:e.addTransaction}},[a("i",{staticClass:"far fa-clone"}),e._v("\n "+e._s(e.$t("firefly.add_another_split"))+"\n ")])]),e._v(" "),a("div",{staticClass:"col"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n \n ")]),e._v(" "),a("button",{staticClass:"btn btn-info btn-block",attrs:{disabled:!e.enableSubmit},on:{click:e.submitTransaction}},[e.enableSubmit?a("span",[a("i",{staticClass:"far fa-save"}),e._v(" "+e._s(e.$t("firefly.update_transaction")))]):e._e(),e._v(" "),e.enableSubmit?e._e():a("span",[a("i",{staticClass:"fas fa-spinner fa-spin"})])])])]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[e._v("\n \n ")]),e._v(" "),a("div",{staticClass:"col"},[a("div",{staticClass:"form-check"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.stayHere,expression:"stayHere"}],staticClass:"form-check-input",attrs:{id:"stayHere",type:"checkbox"},domProps:{checked:Array.isArray(e.stayHere)?e._i(e.stayHere,null)>-1:e.stayHere},on:{change:function(t){var a=e.stayHere,n=t.target,i=!!n.checked;if(Array.isArray(a)){var o=e._i(a,null);n.checked?o<0&&(e.stayHere=a.concat([null])):o>-1&&(e.stayHere=a.slice(0,o).concat(a.slice(o+1)))}else e.stayHere=i}}}),e._v(" "),a("label",{staticClass:"form-check-label",attrs:{for:"stayHere"}},[a("span",{staticClass:"small"},[e._v(e._s(e.$t("firefly.after_update_create_another")))])])])])])])])])])],1)],1)}),[],!1,null,"5216bb87",null).exports;var h=a(7760),f=a.n(h);a(232),f().config.productionTip=!1;var b=a(157),v={};new(f())({i18n:b,store:n.Z,render:function(e){return e(m,{props:v})},beforeCreate:function(){this.$store.commit("initialiseStore"),this.$store.dispatch("updateCurrencyPreference")}}).$mount("#transactions_edit")},4478:(e,t,a)=>{"use strict";function n(){return{description:[],amount:[],source:[],destination:[],currency:[],foreign_currency:[],foreign_amount:[],date:[],custom_dates:[],budget:[],category:[],bill:[],tags:[],piggy_bank:[],internal_reference:[],external_url:[],notes:[],location:[]}}function i(){return{description:"",transaction_journal_id:0,source_account_id:null,source_account_name:null,source_account_type:null,source_account_currency_id:null,source_account_currency_code:null,source_account_currency_symbol:null,destination_account_id:null,destination_account_name:null,destination_account_type:null,destination_account_currency_id:null,destination_account_currency_code:null,destination_account_currency_symbol:null,attachments:!1,selectedAttachments:!1,uploadTrigger:!1,clearTrigger:!1,source_account:{id:0,name:"",name_with_balance:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2},destination_account:{id:0,name:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2},amount:"",currency_id:0,foreign_amount:"",foreign_currency_id:0,category:null,budget_id:0,bill_id:0,piggy_bank_id:0,tags:[],interest_date:null,book_date:null,process_date:null,due_date:null,payment_date:null,invoice_date:null,internal_reference:null,external_url:null,external_id:null,notes:null,links:[],zoom_level:null,longitude:null,latitude:null,errors:{}}}a.d(t,{kQ:()=>n,f$:()=>i})},6665:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>r});var n=a(4015),i=a.n(n),o=a(3645),s=a.n(o)()(i());s.push([e.id,".vue-tags-input{max-width:100%!important;display:block}.ti-input,.vue-tags-input{width:100%;border-radius:.25rem}.ti-input{max-width:100%}.ti-new-tag-input{font-size:1rem}","",{version:3,sources:["webpack://./src/components/transactions/TransactionTags.vue"],names:[],mappings:"AA2HA,gBAEA,wBAAA,CACA,aAEA,CAEA,0BANA,UAAA,CAGA,oBAOA,CAJA,UAEA,cAEA,CAEA,kBACA,cACA",sourcesContent:['\x3c!--\n - TransactionTags.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n --\x3e\n\n<template>\n <div class="form-group">\n <div class="text-xs d-none d-lg-block d-xl-block">\n {{ $t(\'firefly.tags\') }}\n </div>\n <div class="input-group">\n <vue-tags-input\n v-model="currentTag"\n :add-only-from-autocomplete="false"\n :autocomplete-items="autocompleteItems"\n :tags="tags"\n :title="$t(\'firefly.tags\')"\n v-bind:placeholder="$t(\'firefly.tags\')"\n @tags-changed="newTags => this.tags = newTags"\n />\n </div>\n <span v-if="errors.length > 0">\n <span v-for="error in errors" class="text-danger small">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nimport VueTagsInput from "@johmun/vue-tags-input";\nimport axios from "axios";\n\nexport default {\n name: "TransactionTags",\n components: {\n VueTagsInput\n },\n props: [\'value\', \'index\', \'errors\'],\n data() {\n return {\n autocompleteItems: [],\n debounce: null,\n tags: [],\n currentTag: \'\',\n updateTags: true, // the idea is that this is always true, except when the tags-function sets the value.\n tagList: this.value,\n emitEvent: true\n };\n },\n created() {\n let tags = [];\n for (let i in this.value) {\n if (this.value.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n tags.push({text: this.value[i]});\n }\n }\n this.updateTags = false;\n this.tags = tags;\n },\n watch: {\n \'currentTag\': \'initItems\',\n value: function (value) {\n this.emitEvent = false;\n this.tagList = value;\n },\n tagList: function (value) {\n // console.log(\'watch tagList\');\n if (true === this.emitEvent) {\n this.$emit(\'set-field\', {field: \'tags\', index: this.index, value: value});\n }\n this.emitEvent = true;\n this.updateTags = false;\n this.tags = value;\n },\n tags: function (value) {\n if (this.updateTags) {\n let shortList = [];\n for (let key in value) {\n if (value.hasOwnProperty(key)) {\n shortList.push({text: value[key].text});\n }\n }\n this.tagList = shortList;\n }\n this.updateTags = true;\n }\n },\n methods: {\n initItems() {\n if (this.currentTag.length < 2) {\n return;\n }\n const url = document.getElementsByTagName(\'base\')[0].href + `api/v1/autocomplete/tags?query=${this.currentTag}`;\n\n clearTimeout(this.debounce);\n this.debounce = setTimeout(() => {\n axios.get(url).then(response => {\n this.autocompleteItems = response.data.map(item => {\n return {text: item.tag};\n });\n }).catch(() => console.warn(\'Oh. Something went wrong loading tags.\'));\n }, 300);\n },\n },\n\n\n}\n<\/script>\n<style>\n.vue-tags-input {\n width: 100%;\n max-width: 100% !important;\n display: block;\n border-radius: 0.25rem;\n}\n\n.ti-input {\n border-radius: 0.25rem;\n max-width: 100%;\n width: 100%;\n}\n\n.ti-new-tag-input {\n font-size: 1rem;\n}\n</style>\n'],sourceRoot:""}]);const r=s},3324:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});const n={name:"Alert",props:["message","type"]};const i=(0,a(1900).Z)(n,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.message.length>0?a("div",{class:"alert alert-"+e.type+" alert-dismissible"},[a("button",{staticClass:"close",attrs:{"aria-hidden":"true","data-dismiss":"alert",type:"button"}},[e._v("×")]),e._v(" "),a("h5",["danger"===e.type?a("i",{staticClass:"icon fas fa-ban"}):e._e(),e._v(" "),"success"===e.type?a("i",{staticClass:"icon fas fa-thumbs-up"}):e._e(),e._v(" "),"danger"===e.type?a("span",[e._v(e._s(e.$t("firefly.flash_error")))]):e._e(),e._v(" "),"success"===e.type?a("span",[e._v(e._s(e.$t("firefly.flash_success")))]):e._e()]),e._v(" "),a("span",{domProps:{innerHTML:e._s(e.message)}})]):e._e()}),[],!1,null,null,null).exports},8151:(e,t,a)=>{"use strict";a.d(t,{Z:()=>ie});var n=a(1668),i=a(6486);const o={props:["index","value","errors"],components:{VueTypeaheadBootstrap:n.Z},name:"TransactionDescription",data:function(){return{descriptions:[],initialSet:[],description:this.value}},created:function(){var e=this;axios.get(this.getACURL("")).then((function(t){e.descriptions=t.data,e.initialSet=t.data}))},methods:{clearDescription:function(){this.description=""},getACURL:function(e){return document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/transactions?query="+e},lookupDescription:(0,i.debounce)((function(){var e=this;axios.get(this.getACURL(this.value)).then((function(t){e.descriptions=t.data}))}),300)},watch:{value:function(e){this.description=e},description:function(e){this.$emit("set-field",{field:"description",index:this.index,value:e})}}};var s=a(1900);const r=(0,s.Z)(o,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("vue-typeahead-bootstrap",{attrs:{data:e.descriptions,inputClass:e.errors.length>0?"is-invalid":"",minMatchingChars:3,placeholder:e.$t("firefly.description"),serializer:function(e){return e.description},showOnFocus:!0,autofocus:"",inputName:"description[]"},on:{input:e.lookupDescription},model:{value:e.description,callback:function(t){e.description=t},expression:"description"}},[a("template",{slot:"append"},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"},on:{click:e.clearDescription}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()],1)}),[],!1,null,null,null).exports;function c(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function l(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const _={props:["index","errors","date"],name:"TransactionDate",created:function(){this.localTimeZone=Intl.DateTimeFormat().resolvedOptions().timeZone,this.systemTimeZone=this.timezone;var e=this.date.split("T");this.dateStr=e[0],this.timeStr=e[1]},data:function(){return{localDate:this.date,localTimeZone:"",systemTimeZone:"",timeStr:"",dateStr:""}},watch:{dateStr:function(e){this.$emit("set-date",{date:e+"T"+this.timeStr})},timeStr:function(e){this.$emit("set-date",{date:this.dateStr+"T"+e})}},methods:{},computed:function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?c(Object(a),!0).forEach((function(t){l(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):c(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}({},(0,a(629).Se)("root",["timezone"]))};const u=(0,s.Z)(_,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return 0===e.index?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.date_and_time"))+"\n ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.dateStr,expression:"dateStr"}],ref:"date",class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:e.dateStr,title:e.$t("firefly.date"),autocomplete:"off",name:"date[]",type:"date"},domProps:{value:e.dateStr},on:{input:function(t){t.target.composing||(e.dateStr=t.target.value)}}}),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.timeStr,expression:"timeStr"}],ref:"time",class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:e.timeStr,title:e.$t("firefly.time"),autocomplete:"off",name:"time[]",type:"time"},domProps:{value:e.timeStr},on:{input:function(t){t.target.composing||(e.timeStr=t.target.value)}}})]),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e(),e._v(" "),a("span",{staticClass:"text-muted small"},[e._v(e._s(e.localTimeZone)+":"+e._s(e.systemTimeZone))])]):e._e()}),[],!1,null,null,null).exports;const d={props:["index","value","errors"],name:"TransactionBudget",data:function(){return{budgetList:[],budget:this.value,emitEvent:!0}},created:function(){this.collectData()},methods:{collectData:function(){this.budgetList.push({id:0,name:this.$t("firefly.no_budget")}),this.getBudgets()},getBudgets:function(){var e=this;axios.get("./api/v1/budgets").then((function(t){e.parseBudgets(t.data)}))},parseBudgets:function(e){for(var t in e.data)if(e.data.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=e.data[t];if(!a.attributes.active)continue;this.budgetList.push({id:parseInt(a.id),name:a.attributes.name})}}},watch:{value:function(e){this.emitEvent=!1,this.budget=e},budget:function(e){this.$emit("set-field",{field:"budget_id",index:this.index,value:e})}}};const p=(0,s.Z)(d,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.budget"))+"\n ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:e.budget,expression:"budget"}],ref:"budget",class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{title:e.$t("firefly.budget"),autocomplete:"off",name:"budget_id[]"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.budget=t.target.multiple?a:a[0]}}},e._l(this.budgetList,(function(t){return a("option",{attrs:{label:t.name},domProps:{value:t.id}},[e._v(e._s(t.name))])})),0)]),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()])}),[],!1,null,null,null).exports;const y={name:"TransactionAccount",components:{VueTypeaheadBootstrap:n.Z},props:{index:{type:Number},direction:{type:String},value:{type:Object,default:function(){return{}}},errors:{type:Array,default:function(){return[]}},sourceAllowedTypes:{type:Array,default:function(){return[]}},destinationAllowedTypes:{type:Array,default:function(){return[]}},transactionType:{type:String,default:"any"}},data:function(){return{query:"",accounts:[],accountTypes:[],initialSet:[],selectedAccount:{},accountName:"",selectedAccountTrigger:!1}},created:function(){var e;this.accountName=null!==(e=this.value.name)&&void 0!==e?e:"",this.selectedAccountTrigger=!0},methods:{getACURL:function(e,t){return"./api/v1/autocomplete/accounts?types="+e.join(",")+"&query="+t},userSelectedAccount:function(e){this.selectedAccountTrigger=!0,this.selectedAccount=e},systemReturnedAccount:function(e){this.selectedAccountTrigger=!1,this.selectedAccount=e},clearAccount:function(){this.accounts=this.initialSet,this.accountName=""},lookupAccount:(0,i.debounce)((function(){var e=this;0===this.accountTypes.length&&(this.accountTypes="source"===this.direction?this.sourceAllowedTypes:this.destinationAllowedTypes),axios.get(this.getACURL(this.accountTypes,this.accountName)).then((function(t){e.accounts=t.data}))}),300),createInitialSet:function(){var e=this,t=this.sourceAllowedTypes;"destination"===this.direction&&(t=this.destinationAllowedTypes),axios.get(this.getACURL(t,"")).then((function(t){e.accounts=t.data,e.initialSet=t.data}))}},watch:{sourceAllowedTypes:function(e){this.createInitialSet()},destinationAllowedTypes:function(e){this.createInitialSet()},selectedAccount:function(e){!0===this.selectedAccountTrigger&&(this.$emit("set-account",{index:this.index,direction:this.direction,id:e.id,type:e.type,name:e.name,currency_id:e.currency_id,currency_code:e.currency_code,currency_symbol:e.currency_symbol}),this.accountName=e.name),this.selectedAccountTrigger,!1===this.selectedAccountTrigger&&this.accountName!==e.name&&null!==e.name&&(this.selectedAccountTrigger=!0,this.accountName=e.name)},accountName:function(e){this.selectedAccountTrigger,!1===this.selectedAccountTrigger&&this.$emit("set-account",{index:this.index,direction:this.direction,id:null,type:null,name:e,currency_id:null,currency_code:null,currency_symbol:null}),this.selectedAccountTrigger=!1},value:function(e){this.systemReturnedAccount(e)}},computed:{accountKey:{get:function(){return"source"===this.direction?"source_account":"destination_account"}},visible:{get:function(){return 0===this.index||("source"===this.direction?"any"===this.transactionType||"Deposit"===this.transactionType||void 0===this.transactionType:"destination"===this.direction&&("any"===this.transactionType||"Withdrawal"===this.transactionType||void 0===this.transactionType))}}}};const g=(0,s.Z)(y,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[e.visible?a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[0===this.index?a("span",[e._v(e._s(e.$t("firefly."+this.direction+"_account")))]):e._e(),e._v(" "),this.index>0?a("span",{staticClass:"text-warning"},[e._v(e._s(e.$t("firefly.first_split_overrules_"+this.direction)))]):e._e()]):e._e(),e._v(" "),e.visible?e._e():a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n \n ")]),e._v(" "),e.visible?a("vue-typeahead-bootstrap",{attrs:{data:e.accounts,inputClass:e.errors.length>0?"is-invalid":"",inputName:e.direction+"[]",minMatchingChars:3,placeholder:e.$t("firefly."+e.direction+"_account"),serializer:function(e){return e.name_with_balance},showOnFocus:!0,"aria-autocomplete":"none",autocomplete:"off"},on:{hit:e.userSelectedAccount,input:e.lookupAccount},scopedSlots:e._u([{key:"suggestion",fn:function(t){var n=t.data,i=t.htmlText;return[a("div",{staticClass:"d-flex",attrs:{title:n.type}},[a("span",{domProps:{innerHTML:e._s(i)}}),a("br")])]}}],null,!1,1423807661),model:{value:e.accountName,callback:function(t){e.accountName=t},expression:"accountName"}},[e._v(" "),a("template",{slot:"append"},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"},on:{click:e.clearAccount}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2):e._e(),e._v(" "),e.visible?e._e():a("div",{staticClass:"form-control-static"},[a("span",{staticClass:"small text-muted"},[a("em",[e._v(e._s(e.$t("firefly.first_split_decides")))])])]),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()],1)}),[],!1,null,null,null).exports;const m={name:"SwitchAccount",props:["index","transactionType"],methods:{}};const h=(0,s.Z)(m,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},["any"!==this.transactionType?a("span",{staticClass:"text-muted"},[e._v("\n "+e._s(e.$t("firefly."+this.transactionType))+"\n ")]):e._e(),e._v(" "),"any"===this.transactionType?a("span",{staticClass:"text-muted"},[e._v(" ")]):e._e()])])}),[],!1,null,"66a3afa9",null).exports;const f={name:"TransactionAmount",props:{index:{type:Number,default:0,required:!0},errors:{},amount:{},transactionType:{},sourceCurrencySymbol:{},destinationCurrencySymbol:{},fractionDigits:{default:2,required:!1}},created:function(){""!==this.amount&&(this.emitEvent=!1,this.transactionAmount=this.formatNumber(this.amount))},methods:{formatNumber:function(e){return parseFloat(e).toFixed(this.fractionDigits)}},data:function(){return{transactionAmount:this.amount,currencySymbol:null,srcCurrencySymbol:this.sourceCurrencySymbol,dstCurrencySymbol:this.destinationCurrencySymbol,emitEvent:!0}},watch:{transactionAmount:function(e){!0===this.emitEvent&&this.$emit("set-field",{field:"amount",index:this.index,value:e}),this.emitEvent=!0},amount:function(e){this.transactionAmount=e},sourceCurrencySymbol:function(e){this.srcCurrencySymbol=e},destinationCurrencySymbol:function(e){this.dstCurrencySymbol=e},transactionType:function(e){switch(e){case"Transfer":case"Withdrawal":this.currencySymbol=this.srcCurrencySymbol;break;case"Deposit":this.currencySymbol=this.dstCurrencySymbol}}}};const b=(0,s.Z)(f,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs"},[e._v(e._s(e.$t("firefly.amount")))]),e._v(" "),a("div",{staticClass:"input-group"},[e.currencySymbol?a("div",{staticClass:"input-group-prepend"},[a("div",{staticClass:"input-group-text"},[e._v(e._s(e.currencySymbol))])]):e._e(),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.transactionAmount,expression:"transactionAmount"}],class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:e.$t("firefly.amount"),title:e.$t("firefly.amount"),autocomplete:"off",name:"amount[]",type:"number",step:"any"},domProps:{value:e.transactionAmount},on:{input:function(t){t.target.composing||(e.transactionAmount=t.target.value)}}})]),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()])}),[],!1,null,"571f2c0a",null).exports;const v={name:"TransactionForeignAmount",props:{index:{},errors:{},value:{},transactionType:{},sourceCurrencyId:{},destinationCurrencyId:{},fractionDigits:{type:Number,default:2}},data:function(){return{amount:this.value,emitEvent:!0}},created:function(){""!==this.amount&&(this.emitEvent=!1,this.amount=this.formatNumber(this.amount))},methods:{formatNumber:function(e){return parseFloat(e).toFixed(this.fractionDigits)}},watch:{amount:function(e){!0===this.emitEvent&&this.$emit("set-field",{field:"foreign_amount",index:this.index,value:e}),this.emitEvent=!0},value:function(e){this.amount=e}},computed:{isVisible:{get:function(){return!("Transfer"===this.transactionType&&this.sourceCurrencyId===this.destinationCurrencyId)}}}};const k=(0,s.Z)(v,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.isVisible?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs"},[e._v(e._s(e.$t("form.foreign_amount")))]),e._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.amount,expression:"amount"}],class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:e.$t("form.foreign_amount"),title:e.$t("form.foreign_amount"),autocomplete:"off",name:"foreign_amount[]",type:"number"},domProps:{value:e.amount},on:{input:function(t){t.target.composing||(e.amount=t.target.value)}}})]),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()]):e._e()}),[],!1,null,"d13f8bea",null).exports;const w={name:"TransactionForeignCurrency",props:["index","transactionType","sourceCurrencyId","destinationCurrencyId","selectedCurrencyId","value"],data:function(){return{selectedCurrency:this.value,allCurrencies:[],selectableCurrencies:[],dstCurrencyId:this.destinationCurrencyId,srcCurrencyId:this.sourceCurrencyId,lockedCurrency:0,emitEvent:!0}},watch:{value:function(e){this.selectedCurrency=e},sourceCurrencyId:function(e){this.srcCurrencyId=e},destinationCurrencyId:function(e){this.dstCurrencyId=e},selectedCurrency:function(e){this.$emit("set-field",{field:"foreign_currency_id",index:this.index,value:e})},transactionType:function(e){this.lockedCurrency=0,"Transfer"===e&&(this.lockedCurrency=this.dstCurrencyId,this.selectedCurrency=this.dstCurrencyId),this.filterCurrencies()}},created:function(){this.getAllCurrencies()},methods:{getAllCurrencies:function(){var e=this;axios.get("./api/v1/autocomplete/currencies").then((function(t){e.allCurrencies=t.data,e.filterCurrencies()}))},filterCurrencies:function(){if(0===this.lockedCurrency){for(var e in this.selectableCurrencies=[{id:0,name:this.$t("firefly.no_currency")}],this.allCurrencies)if(this.allCurrencies.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var t=this.allCurrencies[e];this.selectableCurrencies.push(t)}}else for(var a in this.allCurrencies)if(this.allCurrencies.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=this.allCurrencies[a];n.id===this.lockedCurrency&&(this.selectableCurrencies=[n],this.selectedCurrency=n.id)}}},computed:{isVisible:function(){return!("Transfer"===this.transactionType&&this.srcCurrencyId===this.dstCurrencyId)}}};const x=(0,s.Z)(w,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.isVisible?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs"},[e._v(" ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedCurrency,expression:"selectedCurrency"}],staticClass:"form-control",attrs:{name:"foreign_currency_id[]"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.selectedCurrency=t.target.multiple?a:a[0]}}},e._l(e.selectableCurrencies,(function(t){return a("option",{attrs:{label:t.name},domProps:{value:t.id}},[e._v(e._s(t.name))])})),0)])]):e._e()}),[],!1,null,"3ee4efa5",null).exports;const T={name:"TransactionCustomDates",props:["index","errors","customFields","interestDate","bookDate","processDate","dueDate","paymentDate","invoiceDate"],data:function(){return{dateFields:["interest_date","book_date","process_date","due_date","payment_date","invoice_date"],availableFields:this.customFields,dates:{interest_date:this.interestDate,book_date:this.bookDate,process_date:this.processDate,due_date:this.dueDate,payment_date:this.paymentDate,invoice_date:this.invoiceDate}}},watch:{customFields:function(e){this.availableFields=e},interestDate:function(e){this.dates.interest_date=e},bookDate:function(e){this.dates.book_date=e},processDate:function(e){this.dates.process_date=e},dueDate:function(e){this.dates.due_date=e},paymentDate:function(e){this.dates.payment_date=e},invoiceDate:function(e){this.dates.invoice_date=e}},methods:{isDateField:function(e){return this.dateFields.includes(e)},getFieldValue:function(e){var t;return null!==(t=this.dates[e])&&void 0!==t?t:""},setFieldValue:function(e,t){this.$emit("set-field",{field:t,index:this.index,value:e.target.value})}}};const A=(0,s.Z)(T,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",e._l(e.availableFields,(function(t,n){return a("div",{staticClass:"form-group"},[t&&e.isDateField(n)?a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("form."+n))+"\n ")]):e._e(),e._v(" "),t&&e.isDateField(n)?a("div",{staticClass:"input-group"},[a("input",{ref:n,refInFor:!0,staticClass:"form-control",attrs:{name:n+"[]",placeholder:e.$t("form."+n),title:e.$t("form."+n),autocomplete:"off",type:"date"},domProps:{value:e.getFieldValue(n)},on:{change:function(t){return e.setFieldValue(t,n)}}})]):e._e()])})),0)}),[],!1,null,null,null).exports;const C={props:["value","index","errors"],components:{VueTypeaheadBootstrap:n.Z},name:"TransactionCategory",data:function(){return{categories:[],initialSet:[],category:this.value}},created:function(){var e=this;axios.get(this.getACURL("")).then((function(t){e.categories=t.data,e.initialSet=t.data}))},methods:{clearCategory:function(){this.category=""},getACURL:function(e){return document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/categories?query="+e},lookupCategory:(0,i.debounce)((function(){var e=this;axios.get(this.getACURL(this.category)).then((function(t){e.categories=t.data}))}),300)},watch:{value:function(e){this.category=null!=e?e:""},category:function(e){this.$emit("set-field",{field:"category",index:this.index,value:e})}},computed:{selectedCategory:{get:function(){return this.categories[this.index].name},set:function(e){this.category=e.name}}}};const D=(0,s.Z)(C,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.category"))+"\n ")]),e._v(" "),a("vue-typeahead-bootstrap",{attrs:{data:e.categories,inputClass:e.errors.length>0?"is-invalid":"",minMatchingChars:3,placeholder:e.$t("firefly.category"),serializer:function(e){return e.name},showOnFocus:!0,inputName:"category[]"},on:{hit:function(t){e.selectedCategory=t},input:e.lookupCategory},model:{value:e.category,callback:function(t){e.category=t},expression:"category"}},[a("template",{slot:"append"},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"},on:{click:e.clearCategory}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()],1)}),[],!1,null,null,null).exports;const I={props:["value","index","errors"],name:"TransactionBill",data:function(){return{billList:[],bill:this.value,emitEvent:!0}},created:function(){this.collectData()},methods:{collectData:function(){this.billList.push({id:0,name:this.$t("firefly.no_bill")}),this.getBills()},getBills:function(){var e=this;axios.get("./api/v1/bills").then((function(t){e.parseBills(t.data)}))},parseBills:function(e){for(var t in e.data)if(e.data.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=e.data[t];this.billList.push({id:parseInt(a.id),name:a.attributes.name})}}},watch:{value:function(e){this.emitEvent=!1,this.bill=e},bill:function(e){!0===this.emitEvent&&this.$emit("set-field",{field:"bill_id",index:this.index,value:e}),this.emitEvent=!0}}};const z=(0,s.Z)(I,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.bill"))+"\n ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:e.bill,expression:"bill"}],ref:"bill",class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{title:e.$t("firefly.bill"),autocomplete:"off",name:"bill_id[]"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.bill=t.target.multiple?a:a[0]}}},e._l(this.billList,(function(t){return a("option",{attrs:{label:t.name},domProps:{value:t.id}},[e._v(e._s(t.name))])})),0)]),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()])}),[],!1,null,null,null).exports;var S=a(1310),j=a.n(S),P=a(9669),B=a.n(P);const N={name:"TransactionTags",components:{VueTagsInput:j()},props:["value","index","errors"],data:function(){return{autocompleteItems:[],debounce:null,tags:[],currentTag:"",updateTags:!0,tagList:this.value,emitEvent:!0}},created:function(){var e=[];for(var t in this.value)this.value.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294&&e.push({text:this.value[t]});this.updateTags=!1,this.tags=e},watch:{currentTag:"initItems",value:function(e){this.emitEvent=!1,this.tagList=e},tagList:function(e){!0===this.emitEvent&&this.$emit("set-field",{field:"tags",index:this.index,value:e}),this.emitEvent=!0,this.updateTags=!1,this.tags=e},tags:function(e){if(this.updateTags){var t=[];for(var a in e)e.hasOwnProperty(a)&&t.push({text:e[a].text});this.tagList=t}this.updateTags=!0}},methods:{initItems:function(){var e=this;if(!(this.currentTag.length<2)){var t=document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/tags?query=".concat(this.currentTag);clearTimeout(this.debounce),this.debounce=setTimeout((function(){B().get(t).then((function(t){e.autocompleteItems=t.data.map((function(e){return{text:e.tag}}))})).catch((function(){return console.warn("Oh. Something went wrong loading tags.")}))}),300)}}}};a(4936);const F=(0,s.Z)(N,(function(){var e=this,t=this,a=t.$createElement,n=t._self._c||a;return n("div",{staticClass:"form-group"},[n("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.tags"))+"\n ")]),t._v(" "),n("div",{staticClass:"input-group"},[n("vue-tags-input",{attrs:{"add-only-from-autocomplete":!1,"autocomplete-items":t.autocompleteItems,tags:t.tags,title:t.$t("firefly.tags"),placeholder:t.$t("firefly.tags")},on:{"tags-changed":function(t){return e.tags=t}},model:{value:t.currentTag,callback:function(e){t.currentTag=e},expression:"currentTag"}})],1),t._v(" "),t.errors.length>0?n("span",t._l(t.errors,(function(e){return n("span",{staticClass:"text-danger small"},[t._v(t._s(e)),n("br")])})),0):t._e()])}),[],!1,null,null,null).exports;const L={props:["index","value","errors"],name:"TransactionPiggyBank",data:function(){return{piggyList:[],piggy_bank_id:this.value,emitEvent:!0}},created:function(){this.collectData()},methods:{collectData:function(){this.piggyList.push({id:0,name_with_balance:this.$t("firefly.no_piggy_bank")}),this.getPiggies()},getPiggies:function(){var e=this;axios.get("./api/v1/autocomplete/piggy-banks-with-balance").then((function(t){e.parsePiggies(t.data)}))},parsePiggies:function(e){for(var t in e)if(e.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=e[t];this.piggyList.push({id:parseInt(a.id),name_with_balance:a.name_with_balance})}}},watch:{value:function(e){this.emitEvent=!1,this.piggy_bank_id=e},piggy_bank_id:function(e){!0===this.emitEvent&&this.$emit("set-field",{field:"piggy_bank_id",index:this.index,value:e}),this.emitEvent=!0}}};const $=(0,s.Z)(L,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.piggy_bank"))+"\n ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:e.piggy_bank_id,expression:"piggy_bank_id"}],ref:"piggy_bank_id",class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{title:e.$t("firefly.piggy_bank"),autocomplete:"off",name:"piggy_bank_id[]"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.piggy_bank_id=t.target.multiple?a:a[0]}}},e._l(this.piggyList,(function(t){return a("option",{attrs:{label:t.name_with_balance},domProps:{value:t.id}},[e._v(e._s(t.name_with_balance))])})),0)]),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()])}),[],!1,null,null,null).exports;const E={props:["index","value","errors","customFields"],name:"TransactionInternalReference",data:function(){return{reference:this.value,availableFields:this.customFields,emitEvent:!0}},computed:{showField:function(){return"internal_reference"in this.availableFields&&this.availableFields.internal_reference}},methods:{},watch:{customFields:function(e){this.availableFields=e},value:function(e){this.emitEvent=!1,this.reference=e},reference:function(e){this.$emit("set-field",{field:"internal_reference",index:this.index,value:e})}}};const O=(0,s.Z)(E,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.internal_reference"))+"\n ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.reference,expression:"reference"}],class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:e.$t("firefly.internal_reference"),name:"internal_reference[]",type:"text"},domProps:{value:e.reference},on:{input:function(t){t.target.composing||(e.reference=t.target.value)}}}),e._v(" "),e._m(0)])]):e._e()}),[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"input-group-append"},[t("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"}},[t("i",{staticClass:"far fa-trash-alt"})])])}],!1,null,null,null).exports;const R={props:["index","value","errors","customFields"],name:"TransactionExternalUrl",data:function(){return{url:this.value,availableFields:this.customFields}},computed:{showField:function(){return"external_uri"in this.availableFields&&this.availableFields.external_uri}},methods:{},watch:{customFields:function(e){this.availableFields=e},value:function(e){this.url=e},url:function(e){this.$emit("set-field",{field:"external_url",index:this.index,value:e})}}};const M=(0,s.Z)(R,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.external_url"))+"\n ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.url,expression:"url"}],class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:e.$t("firefly.external_url"),name:"external_url[]",type:"url"},domProps:{value:e.url},on:{input:function(t){t.target.composing||(e.url=t.target.value)}}}),e._v(" "),e._m(0)])]):e._e()}),[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"input-group-append"},[t("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"}},[t("i",{staticClass:"far fa-trash-alt"})])])}],!1,null,"7f6746e6",null).exports;const q={props:["index","value","errors","customFields"],name:"TransactionNotes",data:function(){return{notes:this.value,availableFields:this.customFields,emitEvent:!0}},computed:{showField:function(){return"notes"in this.availableFields&&this.availableFields.notes}},watch:{value:function(e){this.emitEvent=!1,this.notes=e},customFields:function(e){this.availableFields=e},notes:function(e){!0===this.emitEvent&&this.$emit("set-field",{field:"notes",index:this.index,value:e}),this.emitEvent=!0}}};const V=(0,s.Z)(q,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.notes"))+"\n ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.notes,expression:"notes"}],class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:e.$t("firefly.notes")},domProps:{value:e.notes},on:{input:function(t){t.target.composing||(e.notes=t.target.value)}}})])]):e._e()}),[],!1,null,"10b3ae7a",null).exports;var U=a(3465);const Z={props:["index","value","errors","customFields"],name:"TransactionLinks",data:function(){return{searchResults:[],include:[],locale:"en-US",linkTypes:[],query:"",searching:!1,links:this.value,availableFields:this.customFields,emitEvent:!0}},created:function(){var e;this.locale=null!==(e=localStorage.locale)&&void 0!==e?e:"en-US",this.emitEvent=!1,this.links=U(this.value),this.getLinkTypes()},computed:{showField:function(){return"links"in this.availableFields&&this.availableFields.links}},watch:{value:function(e){null!==e&&(this.emitEvent=!1,this.links=U(e))},links:function(e){!0===this.emitEvent&&this.$emit("set-field",{index:this.index,field:"links",value:U(e)}),this.emitEvent=!0},customFields:function(e){this.availableFields=e}},methods:{removeLink:function(e){this.links.splice(e,1)},getTextForLinkType:function(e){var t=e.split("-");for(var a in this.linkTypes)if(this.linkTypes.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=this.linkTypes[a];if(t[0]===n.id&&t[1]===n.direction)return n.type}return"text for #"+e},selectTransaction:function(e){for(var t in this.searchResults)if(this.searchResults.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=this.searchResults[t];a.selected&&this.addToSelected(a),a.selected||this.removeFromSelected(a)}},selectLinkType:function(e){for(var t in this.searchResults)if(this.searchResults.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=this.searchResults[t];this.updateSelected(a.transaction_journal_id,a.link_type_id)}},updateSelected:function(e,t){for(var a in this.links)if(this.links.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=this.links[a];parseInt(n.transaction_journal_id)===e&&(this.links[a].link_type_id=t)}},addToSelected:function(e){void 0===this.links.find((function(t){return t.transaction_journal_id===e.transaction_journal_id}))&&this.links.push(e)},removeFromSelected:function(e){for(var t in this.links){if(this.links.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294)this.links[t].transaction_journal_id===e.transaction_journal_id&&this.links.splice(parseInt(t),1)}},getLinkTypes:function(){var e=this;axios.get("./api/v1/link_types").then((function(t){e.parseLinkTypes(t.data)}))},resetModal:function(){this.search()},parseLinkTypes:function(e){for(var t in e.data)if(e.data.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=e.data[t],n={id:a.id,type:a.attributes.inward,direction:"inward"},i={id:a.id,type:a.attributes.outward,direction:"outward"};n.type===i.type&&(n.type=n.type+" (←)",i.type=i.type+" (→)"),this.linkTypes.push(n),this.linkTypes.push(i)}},search:function(){var e=this;if(""!==this.query){this.searching=!0,this.searchResults=[];var t="./api/v1/search/transactions?limit=10&query="+this.query;axios.get(t).then((function(t){e.parseSearch(t.data)}))}else this.searchResults=[]},parseSearch:function(e){for(var t in e.data)if(e.data.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294)for(var a in e.data[t].attributes.transactions)if(e.data[t].attributes.transactions.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=e.data[t].attributes.transactions[a];n.transaction_group_id=parseInt(e.data[t].id),n.selected=this.isJournalSelected(n.transaction_journal_id),n.link_type_id=this.getJournalLinkType(n.transaction_journal_id),n.link_type_text="",this.searchResults.push(n)}this.searching=!1},getJournalLinkType:function(e){for(var t in this.links)if(this.links.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=this.links[t];if(a.transaction_journal_id===e)return a.link_type_id}return"1-inward"},isJournalSelected:function(e){for(var t in this.links){if(this.links.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294)if(this.links[t].transaction_journal_id===e)return!0}return!1}}};const G=(0,s.Z)(Z,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.showField?a("div",[a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.journal_links"))+"\n ")]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[0===e.links.length?a("p",[a("button",{staticClass:"btn btn-default btn-xs",attrs:{type:"button","data-target":"#linkModal","data-toggle":"modal"},on:{click:e.resetModal}},[a("i",{staticClass:"fas fa-plus"}),e._v(" Add transaction link")])]):e._e(),e._v(" "),e.links.length>0?a("ul",{staticClass:"list-group"},e._l(e.links,(function(t,n){return a("li",{key:n,staticClass:"list-group-item"},[a("em",[e._v(e._s(e.getTextForLinkType(t.link_type_id)))]),e._v(" "),a("a",{attrs:{href:"./transaction/show/"+t.transaction_group_id}},[e._v(e._s(t.description))]),e._v(" "),"withdrawal"===t.type?a("span",[e._v("\n ("),a("span",{staticClass:"text-danger"},[e._v(e._s(Intl.NumberFormat(e.locale,{style:"currency",currency:t.currency_code}).format(-1*parseFloat(t.amount))))]),e._v(")\n ")]):e._e(),e._v(" "),"deposit"===t.type?a("span",[e._v("\n ("),a("span",{staticClass:"text-success"},[e._v(e._s(Intl.NumberFormat(e.locale,{style:"currency",currency:t.currency_code}).format(parseFloat(t.amount))))]),e._v(")\n ")]):e._e(),e._v(" "),"transfer"===t.type?a("span",[e._v("\n ("),a("span",{staticClass:"text-info"},[e._v(e._s(Intl.NumberFormat(e.locale,{style:"currency",currency:t.currency_code}).format(parseFloat(t.amount))))]),e._v(")\n ")]):e._e(),e._v(" "),a("div",{staticClass:"btn-group btn-group-xs float-right"},[a("button",{staticClass:"btn btn-xs btn-danger",attrs:{type:"button",tabindex:"-1"},on:{click:function(t){return e.removeLink(n)}}},[a("i",{staticClass:"far fa-trash-alt"})])])])})),0):e._e(),e._v(" "),e.links.length>0?a("div",{staticClass:"form-text"},[a("button",{staticClass:"btn btn-default",attrs:{type:"button","data-target":"#linkModal","data-toggle":"modal"},on:{click:e.resetModal}},[a("i",{staticClass:"fas fa-plus"})])]):e._e()])])]),e._v(" "),a("div",{ref:"linkModal",staticClass:"modal",attrs:{id:"linkModal",tabindex:"-1"}},[a("div",{staticClass:"modal-dialog modal-lg"},[a("div",{staticClass:"modal-content"},[e._m(0),e._v(" "),a("div",{staticClass:"modal-body"},[a("div",{staticClass:"container-fluid"},[e._m(1),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("form",{attrs:{autocomplete:"off"},on:{submit:function(t){return t.preventDefault(),e.search(t)}}},[a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.query,expression:"query"}],staticClass:"form-control",attrs:{id:"query",autocomplete:"off",maxlength:"255",name:"search",placeholder:"Search query",type:"text"},domProps:{value:e.query},on:{input:function(t){t.target.composing||(e.query=t.target.value)}}}),e._v(" "),e._m(2)])])])]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[e.searching?a("span",[a("i",{staticClass:"fas fa-spinner fa-spin"})]):e._e(),e._v(" "),e.searchResults.length>0?a("h4",[e._v(e._s(e.$t("firefly.search_results")))]):e._e(),e._v(" "),e.searchResults.length>0?a("table",{staticClass:"table table-sm"},[a("caption",{staticStyle:{display:"none"}},[e._v(e._s(e.$t("firefly.search_results")))]),e._v(" "),a("thead",[a("tr",[a("th",{staticStyle:{width:"33%"},attrs:{scope:"col",colspan:"2"}},[e._v(e._s(e.$t("firefly.include")))]),e._v(" "),a("th",{attrs:{scope:"col"}},[e._v(e._s(e.$t("firefly.transaction")))])])]),e._v(" "),a("tbody",e._l(e.searchResults,(function(t){return a("tr",[a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"result.selected"}],staticClass:"form-control",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.selected)?e._i(t.selected,null)>-1:t.selected},on:{change:[function(a){var n=t.selected,i=a.target,o=!!i.checked;if(Array.isArray(n)){var s=e._i(n,null);i.checked?s<0&&e.$set(t,"selected",n.concat([null])):s>-1&&e.$set(t,"selected",n.slice(0,s).concat(n.slice(s+1)))}else e.$set(t,"selected",o)},function(t){return e.selectTransaction(t)}]}})]),e._v(" "),a("td",[a("select",{directives:[{name:"model",rawName:"v-model",value:t.link_type_id,expression:"result.link_type_id"}],staticClass:"form-control",on:{change:[function(a){var n=Array.prototype.filter.call(a.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(t,"link_type_id",a.target.multiple?n:n[0])},function(t){return e.selectLinkType(t)}]}},e._l(e.linkTypes,(function(t){return a("option",{attrs:{label:t.type},domProps:{value:t.id+"-"+t.direction}},[e._v(e._s(t.type)+"\n ")])})),0)]),e._v(" "),a("td",[a("a",{attrs:{href:"./transactions/show/"+t.transaction_group_id}},[e._v(e._s(t.description))]),e._v(" "),"withdrawal"===t.type?a("span",[e._v("\n ("),a("span",{staticClass:"text-danger"},[e._v(e._s(Intl.NumberFormat(e.locale,{style:"currency",currency:t.currency_code}).format(-1*parseFloat(t.amount))))]),e._v(")\n ")]):e._e(),e._v(" "),"deposit"===t.type?a("span",[e._v("\n ("),a("span",{staticClass:"text-success"},[e._v(e._s(Intl.NumberFormat(e.locale,{style:"currency",currency:t.currency_code}).format(parseFloat(t.amount))))]),e._v(")\n ")]):e._e(),e._v(" "),"transfer"===t.type?a("span",[e._v("\n ("),a("span",{staticClass:"text-info"},[e._v(e._s(Intl.NumberFormat(e.locale,{style:"currency",currency:t.currency_code}).format(parseFloat(t.amount))))]),e._v(")\n ")]):e._e(),e._v(" "),a("br"),e._v(" "),a("em",[a("a",{attrs:{href:"./accounts/show/"+t.source_id}},[e._v(e._s(t.source_name))]),e._v("\n →\n "),a("a",{attrs:{href:"./accounts/show/"+t.destination_id}},[e._v(e._s(t.destination_name))])])])])})),0)]):e._e()])])])]),e._v(" "),e._m(3)])])])]):e._e()}),[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"modal-header"},[a("h5",{staticClass:"modal-title"},[e._v("Transaction thing dialog.")]),e._v(" "),a("button",{staticClass:"close",attrs:{"aria-label":"Close","data-dismiss":"modal",type:"button"}},[a("span",{attrs:{"aria-hidden":"true"}},[e._v("×")])])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("p",[e._v("\n Use this form to search for transactions you wish to link to this one. When in doubt, use "),a("code",[e._v("id:*")]),e._v(" where the ID is the number from\n the URL.\n ")])])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-default",attrs:{type:"submit"}},[a("i",{staticClass:"fas fa-search"}),e._v(" Search")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"modal-footer"},[a("button",{staticClass:"btn btn-secondary",attrs:{"data-dismiss":"modal",type:"button"}},[e._v("Close")])])}],!1,null,null,null).exports;const W={name:"TransactionAttachments",props:["transaction_journal_id","customFields","index","uploadTrigger","clearTrigger"],data:function(){return{availableFields:this.customFields,uploads:0,created:0,uploaded:0}},watch:{customFields:function(e){this.availableFields=e},uploadTrigger:function(){this.doUpload()},clearTrigger:function(){this.$refs.att.value=null},transaction_journal_id:function(e){}},computed:{showField:function(){return"attachments"in this.availableFields&&this.availableFields.attachments}},methods:{selectedFile:function(){this.$emit("selected-attachments",{index:this.index,id:this.transaction_journal_id})},createAttachment:function(e){var t={filename:e,attachable_type:"TransactionJournal",attachable_id:this.transaction_journal_id};return axios.post("./api/v1/attachments",t)},uploadAttachment:function(e,t){this.created++;var a="./api/v1/attachments/"+e+"/upload";return axios.post(a,t)},countAttachment:function(){this.uploaded++,this.uploaded>=this.uploads&&this.$emit("uploaded-attachments",this.transaction_journal_id)},doUpload:function(){var e=this,t=this.$refs.att.files;for(var a in this.uploads=t.length,t)t.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294&&function(){var n=t[a],i=new FileReader,o=e;i.onloadend=function(t){t.target.readyState===FileReader.DONE&&e.createAttachment(n.name).then((function(e){return o.uploadAttachment(e.data.data.id,new Blob([t.target.result]))})).then(o.countAttachment)},i.readAsArrayBuffer(n)}();0===t.length&&this.$emit("uploaded-attachments",this.transaction_journal_id)}}};const K=(0,s.Z)(W,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.attachments"))+"\n ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("input",{ref:"att",staticClass:"form-control",attrs:{multiple:"",name:"attachments[]",type:"file"},on:{change:e.selectedFile}})])]):e._e()}),[],!1,null,"48c53d7e",null).exports;var H=a(7070),Q=a(5352),J=a(2727),Y=a(8380),X=(a(5802),a(5243)),ee=a.n(X);delete ee().Icon.Default.prototype._getIconUrl,ee().Icon.Default.mergeOptions({iconRetinaUrl:a(9895),iconUrl:a(2330),shadowUrl:a(4645)});const te={name:"TransactionLocation",props:{index:{},value:{type:Object,required:!1},errors:{},customFields:{}},components:{LMap:Q.Z,LTileLayer:J.Z,LMarker:Y.Z},created:function(){var e=this;null!==this.value&&void 0!==this.value?null!==this.value.zoom_level&&null!==this.value.latitude&&null!==this.value.longitude&&(this.zoom=this.value.zoom_level,this.center=[parseFloat(this.value.latitude),parseFloat(this.value.longitude)],this.hasMarker=!0):axios.get("./api/v1/configuration/firefly.default_location").then((function(t){e.zoom=parseInt(t.data.data.value.zoom_level),e.center=[parseFloat(t.data.data.value.latitude),parseFloat(t.data.data.value.longitude)]}))},data:function(){return{availableFields:this.customFields,url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",zoom:3,center:[0,0],bounds:null,map:null,hasMarker:!1,marker:[0,0]}},methods:{prepMap:function(){this.map=this.$refs.myMap.mapObject,this.map.on("contextmenu",this.setObjectLocation),this.map.on("zoomend",this.saveZoomLevel)},setObjectLocation:function(e){this.marker=[e.latlng.lat,e.latlng.lng],this.hasMarker=!0,this.emitEvent()},saveZoomLevel:function(){this.emitEvent()},clearLocation:function(){this.hasMarker=!1,this.emitEvent()},emitEvent:function(){this.$emit("set-marker-location",{index:this.index,zoomLevel:this.zoom,lat:this.marker[0],lng:this.marker[1],hasMarker:this.hasMarker})},zoomUpdated:function(e){this.zoom=e},centerUpdated:function(e){this.center=e},boundsUpdated:function(e){this.bounds=e}},computed:{showField:function(){return"location"in this.availableFields&&this.availableFields.location}},watch:{customFields:function(e){this.availableFields=e}}};const ae=(0,s.Z)(te,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.location"))+"\n ")]),e._v(" "),a("div",{staticStyle:{width:"100%",height:"300px"}},[a("l-map",{ref:"myMap",staticStyle:{width:"100%",height:"300px"},attrs:{center:e.center,zoom:e.zoom},on:{ready:function(t){return e.prepMap()},"update:zoom":e.zoomUpdated,"update:center":e.centerUpdated,"update:bounds":e.boundsUpdated}},[a("l-tile-layer",{attrs:{url:e.url}}),e._v(" "),a("l-marker",{attrs:{"lat-lng":e.marker,visible:e.hasMarker}})],1),e._v(" "),a("span",[a("button",{staticClass:"btn btn-default btn-xs",on:{click:e.clearLocation}},[e._v(e._s(e.$t("firefly.clear_location")))])])],1),e._v(" "),a("p",[e._v(" ")])]):e._e()}),[],!1,null,"3bafa3c9",null).exports,ne={name:"SplitForm",props:{transaction:{type:Object,required:!0},count:{type:Number,required:!0},customFields:{type:Object,required:!1},index:{type:Number,required:!0},date:{type:String,required:!0},transactionType:{type:String,required:!0},sourceAllowedTypes:{type:Array,required:!1,default:function(){return[]}},destinationAllowedTypes:{type:Array,required:!1,default:function(){return[]}},allowSwitch:{type:Boolean,required:!1,default:!1}},created:function(){console.log("SplitForm("+this.index+")")},methods:{removeTransaction:function(){this.$emit("remove-transaction",{index:this.index})}},computed:{splitDate:function(){return this.date},sourceAccount:function(){return{id:this.transaction.source_account_id,name:this.transaction.source_account_name,type:this.transaction.source_account_type}},destinationAccount:function(){return{id:this.transaction.destination_account_id,name:this.transaction.destination_account_name,type:this.transaction.destination_account_type}},hasMetaFields:function(){var e=["internal_reference","notes","attachments","external_uri","location","links"];for(var t in this.customFields)if(this.customFields.hasOwnProperty(t)&&e.includes(t)&&!0===this.customFields[t])return!0;return!1}},components:{TransactionLocation:ae,SplitPills:H.Z,TransactionAttachments:K,TransactionNotes:V,TransactionExternalUrl:M,TransactionInternalReference:O,TransactionPiggyBank:$,TransactionTags:F,TransactionLinks:G,TransactionBill:z,TransactionCategory:D,TransactionCustomDates:A,TransactionForeignCurrency:x,TransactionForeignAmount:k,TransactionAmount:b,SwitchAccount:h,TransactionAccount:g,TransactionBudget:p,TransactionDescription:r,TransactionDate:u}};const ie=(0,s.Z)(ne,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:"tab-pane"+(0===e.index?" active":""),attrs:{id:"split_"+e.index}},[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[e._v("\n "+e._s(e.$t("firefly.basic_journal_information"))+"\n "),e.count>1?a("span",[e._v("("+e._s(e.index+1)+" / "+e._s(e.count)+") ")]):e._e()]),e._v(" "),e.count>1?a("div",{staticClass:"card-tools"},[a("button",{staticClass:"btn btn-danger btn-xs",attrs:{type:"button"},on:{click:e.removeTransaction}},[a("i",{staticClass:"fas fa-trash-alt"})])]):e._e()]),e._v(" "),a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("TransactionDescription",e._g({attrs:{errors:e.transaction.errors.description,index:e.index},model:{value:e.transaction.description,callback:function(t){e.$set(e.transaction,"description",t)},expression:"transaction.description"}},e.$listeners))],1)]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12"},[a("TransactionAccount",e._g({attrs:{"destination-allowed-types":e.destinationAllowedTypes,errors:e.transaction.errors.source,index:e.index,"source-allowed-types":e.sourceAllowedTypes,"transaction-type":e.transactionType,direction:"source"},model:{value:e.sourceAccount,callback:function(t){e.sourceAccount=t},expression:"sourceAccount"}},e.$listeners))],1),e._v(" "),a("div",{staticClass:"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block"},[0===e.index&&e.allowSwitch?a("SwitchAccount",e._g({attrs:{index:e.index,"transaction-type":e.transactionType}},e.$listeners)):e._e()],1),e._v(" "),a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12"},[a("TransactionAccount",e._g({attrs:{"destination-allowed-types":e.destinationAllowedTypes,errors:e.transaction.errors.destination,index:e.index,"transaction-type":e.transactionType,"source-allowed-types":e.sourceAllowedTypes,direction:"destination"},model:{value:e.destinationAccount,callback:function(t){e.destinationAccount=t},expression:"destinationAccount"}},e.$listeners))],1)]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12"},[a("TransactionAmount",e._g({attrs:{amount:e.transaction.amount,"destination-currency-symbol":this.transaction.destination_account_currency_symbol,errors:e.transaction.errors.amount,index:e.index,"source-currency-symbol":this.transaction.source_account_currency_symbol,"transaction-type":this.transactionType}},e.$listeners))],1),e._v(" "),a("div",{staticClass:"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block"},[a("TransactionForeignCurrency",e._g({attrs:{"destination-currency-id":this.transaction.destination_account_currency_id,index:e.index,"selected-currency-id":this.transaction.foreign_currency_id,"source-currency-id":this.transaction.source_account_currency_id,"transaction-type":this.transactionType},model:{value:e.transaction.foreign_currency_id,callback:function(t){e.$set(e.transaction,"foreign_currency_id",t)},expression:"transaction.foreign_currency_id"}},e.$listeners))],1),e._v(" "),a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12"},[a("TransactionForeignAmount",e._g({attrs:{"destination-currency-id":this.transaction.destination_account_currency_id,errors:e.transaction.errors.foreign_amount,index:e.index,"selected-currency-id":this.transaction.foreign_currency_id,"source-currency-id":this.transaction.source_account_currency_id,"transaction-type":this.transactionType},model:{value:e.transaction.foreign_amount,callback:function(t){e.$set(e.transaction,"foreign_amount",t)},expression:"transaction.foreign_amount"}},e.$listeners))],1)]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12"},[a("TransactionDate",e._g({attrs:{date:e.splitDate,errors:e.transaction.errors.date,index:e.index}},e.$listeners))],1),e._v(" "),a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12 offset-xl-2 offset-lg-2"},[a("TransactionCustomDates",e._g({attrs:{"book-date":e.transaction.book_date,"custom-fields":e.customFields,"due-date":e.transaction.due_date,errors:e.transaction.errors.custom_dates,index:e.index,"interest-date":e.transaction.interest_date,"invoice-date":e.transaction.invoice_date,"payment-date":e.transaction.payment_date,"process-date":e.transaction.process_date},on:{"update:customFields":function(t){e.customFields=t},"update:custom-fields":function(t){e.customFields=t}}},e.$listeners))],1)])])])])]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[e._v("\n "+e._s(e.$t("firefly.transaction_journal_meta"))+"\n "),e.count>1?a("span",[e._v("("+e._s(e.index+1)+" / "+e._s(e.count)+") ")]):e._e()])]),e._v(" "),a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},["Transfer"!==e.transactionType&&"Deposit"!==e.transactionType?a("TransactionBudget",e._g({attrs:{errors:e.transaction.errors.budget,index:e.index},model:{value:e.transaction.budget_id,callback:function(t){e.$set(e.transaction,"budget_id",t)},expression:"transaction.budget_id"}},e.$listeners)):e._e(),e._v(" "),a("TransactionCategory",e._g({attrs:{errors:e.transaction.errors.category,index:e.index},model:{value:e.transaction.category,callback:function(t){e.$set(e.transaction,"category",t)},expression:"transaction.category"}},e.$listeners))],1),e._v(" "),a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},["Transfer"!==e.transactionType&&"Deposit"!==e.transactionType?a("TransactionBill",e._g({attrs:{errors:e.transaction.errors.bill,index:e.index},model:{value:e.transaction.bill_id,callback:function(t){e.$set(e.transaction,"bill_id",t)},expression:"transaction.bill_id"}},e.$listeners)):e._e(),e._v(" "),a("TransactionTags",e._g({attrs:{errors:e.transaction.errors.tags,index:e.index},model:{value:e.transaction.tags,callback:function(t){e.$set(e.transaction,"tags",t)},expression:"transaction.tags"}},e.$listeners)),e._v(" "),"Withdrawal"!==e.transactionType&&"Deposit"!==e.transactionType?a("TransactionPiggyBank",e._g({attrs:{errors:e.transaction.errors.piggy_bank,index:e.index},model:{value:e.transaction.piggy_bank_id,callback:function(t){e.$set(e.transaction,"piggy_bank_id",t)},expression:"transaction.piggy_bank_id"}},e.$listeners)):e._e()],1)])])])])]),e._v(" "),e.hasMetaFields?a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[e._v("\n "+e._s(e.$t("firefly.transaction_journal_extra"))+"\n "),e.count>1?a("span",[e._v("("+e._s(e.index+1)+" / "+e._s(e.count)+") ")]):e._e()])]),e._v(" "),a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("TransactionInternalReference",e._g({attrs:{"custom-fields":e.customFields,errors:e.transaction.errors.internal_reference,index:e.index},on:{"update:customFields":function(t){e.customFields=t},"update:custom-fields":function(t){e.customFields=t}},model:{value:e.transaction.internal_reference,callback:function(t){e.$set(e.transaction,"internal_reference",t)},expression:"transaction.internal_reference"}},e.$listeners)),e._v(" "),a("TransactionExternalUrl",e._g({attrs:{"custom-fields":e.customFields,errors:e.transaction.errors.external_url,index:e.index},on:{"update:customFields":function(t){e.customFields=t},"update:custom-fields":function(t){e.customFields=t}},model:{value:e.transaction.external_url,callback:function(t){e.$set(e.transaction,"external_url",t)},expression:"transaction.external_url"}},e.$listeners)),e._v(" "),a("TransactionNotes",e._g({attrs:{"custom-fields":e.customFields,errors:e.transaction.errors.notes,index:e.index},on:{"update:customFields":function(t){e.customFields=t},"update:custom-fields":function(t){e.customFields=t}},model:{value:e.transaction.notes,callback:function(t){e.$set(e.transaction,"notes",t)},expression:"transaction.notes"}},e.$listeners))],1),e._v(" "),a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("TransactionAttachments",e._g({ref:"attachments",attrs:{"custom-fields":e.customFields,index:e.index,transaction_journal_id:e.transaction.transaction_journal_id,"upload-trigger":e.transaction.uploadTrigger,"clear-trigger":e.transaction.clearTrigger},on:{"update:customFields":function(t){e.customFields=t},"update:custom-fields":function(t){e.customFields=t}},model:{value:e.transaction.attachments,callback:function(t){e.$set(e.transaction,"attachments",t)},expression:"transaction.attachments"}},e.$listeners)),e._v(" "),a("TransactionLocation",e._g({attrs:{"custom-fields":e.customFields,errors:e.transaction.errors.location,index:e.index},on:{"update:customFields":function(t){e.customFields=t},"update:custom-fields":function(t){e.customFields=t}},model:{value:e.transaction.location,callback:function(t){e.$set(e.transaction,"location",t)},expression:"transaction.location"}},e.$listeners)),e._v(" "),a("TransactionLinks",e._g({attrs:{"custom-fields":e.customFields,index:e.index},on:{"update:customFields":function(t){e.customFields=t},"update:custom-fields":function(t){e.customFields=t}},model:{value:e.transaction.links,callback:function(t){e.$set(e.transaction,"links",t)},expression:"transaction.links"}},e.$listeners))],1)])])])])]):e._e()])}),[],!1,null,null,null).exports},7070:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});const n={name:"SplitPills",props:{transactions:{type:Array,required:!0,default:function(){return[]}},count:{type:Number,required:!0}}};const i=(0,a(1900).Z)(n,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.transactions.length>1?a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("ul",{staticClass:"nav nav-pills ml-auto p-2",attrs:{id:"transactionTabs"}},e._l(this.transactions,(function(t,n){return a("li",{staticClass:"nav-item"},[a("a",{class:"nav-link"+(0===n?" active":""),attrs:{href:"#split_"+n,"data-toggle":"pill"}},[""!==t.description?a("span",[e._v(e._s(t.description))]):e._e(),e._v(" "),""===t.description?a("span",[e._v("Split "+e._s(n+1))]):e._e()])])})),0)])]):e._e()}),[],!1,null,null,null).exports},5524:(e,t,a)=>{"use strict";a.d(t,{Z:()=>s});var n=a(1668),i=a(6486);const o={props:["value","errors"],name:"TransactionGroupTitle",components:{VueTypeaheadBootstrap:n.Z},data:function(){return{descriptions:[],initialSet:[],title:this.value,emitEvent:!0}},created:function(){var e=this;axios.get(this.getACURL("")).then((function(t){e.descriptions=t.data,e.initialSet=t.data}))},watch:{value:function(e){this.title=e},title:function(e){this.$emit("set-group-title",e)}},methods:{clearDescription:function(){this.title=""},getACURL:function(e){return document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/transactions?query="+e},lookupDescription:(0,i.debounce)((function(){var e=this;axios.get(this.getACURL(this.title)).then((function(t){e.descriptions=t.data}))}),300)}};const s=(0,a(1900).Z)(o,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.split_transaction_title"))+"\n ")]),e._v(" "),a("vue-typeahead-bootstrap",{attrs:{data:e.descriptions,inputClass:e.errors.length>0?"is-invalid":"",minMatchingChars:3,placeholder:e.$t("firefly.split_transaction_title"),serializer:function(e){return e.description},showOnFocus:!0,inputName:"group_title"},on:{input:e.lookupDescription},model:{value:e.title,callback:function(t){e.title=t},expression:"title"}},[a("template",{slot:"append"},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"},on:{click:e.clearDescription}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()],1)}),[],!1,null,"273271bf",null).exports},4936:(e,t,a)=>{var n=a(6665);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,a(5346).Z)("bf9ab7ac",n,!0,{})},7154:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Прехвърляне","Withdrawal":"Теглене","Deposit":"Депозит","date_and_time":"Date and time","no_currency":"(без валута)","date":"Дата","time":"Time","no_budget":"(без бюджет)","destination_account":"Приходна сметка","source_account":"Разходна сметка","single_split":"Раздел","create_new_transaction":"Create a new transaction","balance":"Салдо","transaction_journal_extra":"Extra information","transaction_journal_meta":"Мета информация","basic_journal_information":"Basic transaction information","bills_to_pay":"Сметки за плащане","left_to_spend":"Останали за харчене","attachments":"Прикачени файлове","net_worth":"Нетна стойност","bill":"Сметка","no_bill":"(няма сметка)","tags":"Етикети","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(без касичка)","paid":"Платени","notes":"Бележки","yourAccounts":"Вашите сметки","go_to_asset_accounts":"Вижте активите си","delete_account":"Изтриване на профил","transaction_table_description":"Таблица съдържаща вашите транзакции","account":"Сметка","description":"Описание","amount":"Сума","budget":"Бюджет","category":"Категория","opposing_account":"Противоположна сметка","budgets":"Бюджети","categories":"Категории","go_to_budgets":"Вижте бюджетите си","income":"Приходи","go_to_deposits":"Отиди в депозити","go_to_categories":"Виж категориите си","expense_accounts":"Сметки за разходи","go_to_expenses":"Отиди в Разходи","go_to_bills":"Виж сметките си","bills":"Сметки","last_thirty_days":"Последните трийсет дни","last_seven_days":"Последните седем дни","go_to_piggies":"Виж касичките си","saved":"Записан","piggy_banks":"Касички","piggy_bank":"Касичка","amounts":"Суми","left":"Останали","spent":"Похарчени","Default asset account":"Сметка за активи по подразбиране","search_results":"Резултати от търсенето","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Сметка за активи по подразбиране","account_role_savingAsset":"Спестовна сметка","account_role_sharedAsset":"Сметка за споделени активи","clear_location":"Изчисти местоположението","account_role_ccAsset":"Кредитна карта","account_role_cashWalletAsset":"Паричен портфейл","daily_budgets":"Дневни бюджети","weekly_budgets":"Седмични бюджети","monthly_budgets":"Месечни бюджети","quarterly_budgets":"Тримесечни бюджети","create_new_expense":"Създай нова сметка за разходи","create_new_revenue":"Създай нова сметка за приходи","create_new_liabilities":"Create new liability","half_year_budgets":"Шестмесечни бюджети","yearly_budgets":"Годишни бюджети","split_transaction_title":"Описание на разделена транзакция","errors_submission":"Имаше нещо нередно с вашите данни. Моля, проверете грешките.","flash_error":"Грешка!","store_transaction":"Store transaction","flash_success":"Успех!","create_another":"След съхраняването се върнете тук, за да създадете нова.","update_transaction":"Обнови транзакцията","after_update_create_another":"След обновяването се върнете тук, за да продължите с редакцията.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Търсене","create_new_asset":"Създай нова сметка за активи","asset_accounts":"Сметки за активи","reset_after":"Изчистване на формуляра след изпращане","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID}(\\"{title}\\")</a> беше записана.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Местоположение","other_budgets":"Времево персонализирани бюджети","journal_links":"Връзки на транзакция","go_to_withdrawals":"Вижте тегленията си","revenue_accounts":"Сметки за приходи","add_another_split":"Добавяне на друг раздел","actions":"Действия","earned":"Спечелени","empty":"(празно)","edit":"Промени","never":"Никога","account_type_Loan":"Заем","account_type_Mortgage":"Ипотека","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Дълг","delete":"Изтрий","store_new_asset_account":"Запамети нова сметка за активи","store_new_expense_account":"Запамети нова сметка за разходи","store_new_liabilities_account":"Запамети ново задължение","store_new_revenue_account":"Запамети нова сметка за приходи","mandatoryFields":"Задължителни полета","optionalFields":"Незадължителни полета","reconcile_this_account":"Съгласувай тази сметка","interest_calc_weekly":"Per week","interest_calc_monthly":"На месец","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Годишно","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(нищо)"},"list":{"piggy_bank":"Касичка","percentage":"%","amount":"Сума","lastActivity":"Последна активност","name":"Име","role":"Привилегии","iban":"IBAN","interest":"Лихва","interest_period":"лихвен период","liability_type":"Вид на задължението","liability_direction":"(list.liability_direction)","currentBalance":"Текущ баланс","next_expected_match":"Следващo очакванo съвпадение"},"config":{"html_language":"bg","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Сума във валута","interest_date":"Падеж на лихва","name":"Име","amount":"Сума","iban":"IBAN","BIC":"BIC","notes":"Бележки","location":"Местоположение","attachments":"Прикачени файлове","active":"Активен","include_net_worth":"Включи в общото богатство","account_number":"Номер на сметка","virtual_balance":"Виртуален баланс","opening_balance":"Начално салдо","opening_balance_date":"Дата на началното салдо","date":"Дата","interest":"Лихва","interest_period":"Лихвен период","currency_id":"Валута","liability_type":"Liability type","account_role":"Роля на сметката","liability_direction":"Liability in/out","book_date":"Дата на осчетоводяване","permDeleteWarning":"Изтриването на неща от Firefly III е постоянно и не може да бъде възстановено.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Дата на обработка","due_date":"Дата на падеж","payment_date":"Дата на плащане","invoice_date":"Дата на фактура"}}')},6407:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Převod","Withdrawal":"Výběr","Deposit":"Vklad","date_and_time":"Datum a čas","no_currency":"(žádná měna)","date":"Datum","time":"Čas","no_budget":"(žádný rozpočet)","destination_account":"Cílový účet","source_account":"Zdrojový účet","single_split":"Rozdělit","create_new_transaction":"Vytvořit novou transakci","balance":"Zůstatek","transaction_journal_extra":"Více informací","transaction_journal_meta":"Meta informace","basic_journal_information":"Basic transaction information","bills_to_pay":"Faktury k zaplacení","left_to_spend":"Zbývá k utracení","attachments":"Přílohy","net_worth":"Čisté jmění","bill":"Účet","no_bill":"(no bill)","tags":"Štítky","internal_reference":"Interní odkaz","external_url":"Externí URL adresa","no_piggy_bank":"(žádná pokladnička)","paid":"Zaplaceno","notes":"Poznámky","yourAccounts":"Vaše účty","go_to_asset_accounts":"Zobrazit účty s aktivy","delete_account":"Smazat účet","transaction_table_description":"A table containing your transactions","account":"Účet","description":"Popis","amount":"Částka","budget":"Rozpočet","category":"Kategorie","opposing_account":"Protiúčet","budgets":"Rozpočty","categories":"Kategorie","go_to_budgets":"Přejít k rozpočtům","income":"Odměna/příjem","go_to_deposits":"Přejít na vklady","go_to_categories":"Přejít ke kategoriím","expense_accounts":"Výdajové účty","go_to_expenses":"Přejít na výdaje","go_to_bills":"Přejít k účtům","bills":"Účty","last_thirty_days":"Uplynulých 30 dní","last_seven_days":"Uplynulých 7 dnů","go_to_piggies":"Přejít k pokladničkám","saved":"Uloženo","piggy_banks":"Pokladničky","piggy_bank":"Pokladnička","amounts":"Amounts","left":"Zbývá","spent":"Utraceno","Default asset account":"Výchozí účet s aktivy","search_results":"Výsledky hledání","include":"Include?","transaction":"Transakce","account_role_defaultAsset":"Výchozí účet aktiv","account_role_savingAsset":"Spořicí účet","account_role_sharedAsset":"Sdílený účet aktiv","clear_location":"Vymazat umístění","account_role_ccAsset":"Kreditní karta","account_role_cashWalletAsset":"Peněženka","daily_budgets":"Denní rozpočty","weekly_budgets":"Týdenní rozpočty","monthly_budgets":"Měsíční rozpočty","quarterly_budgets":"Čtvrtletní rozpočty","create_new_expense":"Vytvořit výdajový účet","create_new_revenue":"Vytvořit nový příjmový účet","create_new_liabilities":"Create new liability","half_year_budgets":"Pololetní rozpočty","yearly_budgets":"Roční rozpočty","split_transaction_title":"Popis rozúčtování","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Chyba!","store_transaction":"Store transaction","flash_success":"Úspěšně dokončeno!","create_another":"After storing, return here to create another one.","update_transaction":"Aktualizovat transakci","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hledat","create_new_asset":"Vytvořit nový účet aktiv","asset_accounts":"Účty aktiv","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Vlastní období","reset_to_current":"Obnovit aktuální období","select_period":"Vyberte období","location":"Umístění","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Přejít na výběry","revenue_accounts":"Příjmové účty","add_another_split":"Přidat další rozúčtování","actions":"Akce","earned":"Vyděláno","empty":"(prázdné)","edit":"Upravit","never":"Nikdy","account_type_Loan":"Půjčka","account_type_Mortgage":"Hypotéka","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Dluh","delete":"Odstranit","store_new_asset_account":"Uložit nový účet aktiv","store_new_expense_account":"Uložit nový výdajový účet","store_new_liabilities_account":"Uložit nový závazek","store_new_revenue_account":"Uložit nový příjmový účet","mandatoryFields":"Povinné kolonky","optionalFields":"Volitelné kolonky","reconcile_this_account":"Vyúčtovat tento účet","interest_calc_weekly":"Per week","interest_calc_monthly":"Za měsíc","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Za rok","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(žádné)"},"list":{"piggy_bank":"Pokladnička","percentage":"%","amount":"Částka","lastActivity":"Poslední aktivita","name":"Jméno","role":"Role","iban":"IBAN","interest":"Úrok","interest_period":"úrokové období","liability_type":"Typ závazku","liability_direction":"(list.liability_direction)","currentBalance":"Aktuální zůstatek","next_expected_match":"Další očekávaná shoda"},"config":{"html_language":"cs","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Částka v cizí měně","interest_date":"Úrokové datum","name":"Název","amount":"Částka","iban":"IBAN","BIC":"BIC","notes":"Poznámky","location":"Údaje o poloze","attachments":"Přílohy","active":"Aktivní","include_net_worth":"Zahrnout do čistého jmění","account_number":"Číslo účtu","virtual_balance":"Virtuální zůstatek","opening_balance":"Počáteční zůstatek","opening_balance_date":"Datum počátečního zůstatku","date":"Datum","interest":"Úrok","interest_period":"Úrokové období","currency_id":"Měna","liability_type":"Liability type","account_role":"Role účtu","liability_direction":"Liability in/out","book_date":"Datum rezervace","permDeleteWarning":"Odstranění věcí z Firefly III je trvalé a nelze vrátit zpět.","account_areYouSure_js":"Jste si jisti, že chcete odstranit účet s názvem \\"{name}\\"?","also_delete_piggyBanks_js":"Žádné pokladničky|Jediná pokladnička připojená k tomuto účtu bude také odstraněna. Všech {count} pokladniček, které jsou připojeny k tomuto účtu, bude také odstraněno.","also_delete_transactions_js":"Žádné transakce|Jediná transakce připojená k tomuto účtu bude také smazána.|Všech {count} transakcí připojených k tomuto účtu bude také odstraněno.","process_date":"Datum zpracování","due_date":"Datum splatnosti","payment_date":"Datum zaplacení","invoice_date":"Datum vystavení"}}')},4726:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Umbuchung","Withdrawal":"Ausgabe","Deposit":"Einnahme","date_and_time":"Datum und Uhrzeit","no_currency":"(ohne Währung)","date":"Datum","time":"Uhrzeit","no_budget":"(kein Budget)","destination_account":"Zielkonto","source_account":"Quellkonto","single_split":"Teil","create_new_transaction":"Neue Buchung erstellen","balance":"Kontostand","transaction_journal_extra":"Zusätzliche Informationen","transaction_journal_meta":"Metainformationen","basic_journal_information":"Allgemeine Buchungsinformationen","bills_to_pay":"Unbezahlte Rechnungen","left_to_spend":"Verbleibend zum Ausgeben","attachments":"Anhänge","net_worth":"Eigenkapital","bill":"Rechnung","no_bill":"(keine Belege)","tags":"Schlagwörter","internal_reference":"Interner Verweis","external_url":"Externe URL","no_piggy_bank":"(kein Sparschwein)","paid":"Bezahlt","notes":"Notizen","yourAccounts":"Deine Konten","go_to_asset_accounts":"Bestandskonten anzeigen","delete_account":"Konto löschen","transaction_table_description":"Eine Tabelle mit Ihren Buchungen","account":"Konto","description":"Beschreibung","amount":"Betrag","budget":"Budget","category":"Kategorie","opposing_account":"Gegenkonto","budgets":"Budgets","categories":"Kategorien","go_to_budgets":"Budgets anzeigen","income":"Einnahmen / Einkommen","go_to_deposits":"Zu Einlagen wechseln","go_to_categories":"Kategorien anzeigen","expense_accounts":"Ausgabekonten","go_to_expenses":"Zu Ausgaben wechseln","go_to_bills":"Rechnungen anzeigen","bills":"Rechnungen","last_thirty_days":"Letzte 30 Tage","last_seven_days":"Letzte sieben Tage","go_to_piggies":"Sparschweine anzeigen","saved":"Gespeichert","piggy_banks":"Sparschweine","piggy_bank":"Sparschwein","amounts":"Beträge","left":"Übrig","spent":"Ausgegeben","Default asset account":"Standard-Bestandskonto","search_results":"Suchergebnisse","include":"Inbegriffen?","transaction":"Überweisung","account_role_defaultAsset":"Standard-Bestandskonto","account_role_savingAsset":"Sparkonto","account_role_sharedAsset":"Gemeinsames Bestandskonto","clear_location":"Ort leeren","account_role_ccAsset":"Kreditkarte","account_role_cashWalletAsset":"Geldbörse","daily_budgets":"Tagesbudgets","weekly_budgets":"Wochenbudgets","monthly_budgets":"Monatsbudgets","quarterly_budgets":"Quartalsbudgets","create_new_expense":"Neues Ausgabenkonto erstellen","create_new_revenue":"Neues Einnahmenkonto erstellen","create_new_liabilities":"Neue Verbindlichkeit anlegen","half_year_budgets":"Halbjahresbudgets","yearly_budgets":"Jahresbudgets","split_transaction_title":"Beschreibung der Splittbuchung","errors_submission":"Ihre Übermittlung ist fehlgeschlagen. Bitte überprüfen Sie die Fehler.","flash_error":"Fehler!","store_transaction":"Buchung speichern","flash_success":"Geschafft!","create_another":"Nach dem Speichern hierher zurückkehren, um ein weiteres zu erstellen.","update_transaction":"Buchung aktualisieren","after_update_create_another":"Nach dem Aktualisieren hierher zurückkehren, um weiter zu bearbeiten.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde nicht verändert.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde aktualisiert.","spent_x_of_y":"{amount} von {total} ausgegeben","search":"Suche","create_new_asset":"Neues Bestandskonto erstellen","asset_accounts":"Bestandskonten","reset_after":"Formular nach der Übermittlung zurücksetzen","bill_paid_on":"Bezahlt am {date}","first_split_decides":"Die erste Aufteilung bestimmt den Wert dieses Feldes","first_split_overrules_source":"Die erste Aufteilung könnte das Quellkonto überschreiben","first_split_overrules_destination":"Die erste Aufteilung könnte das Zielkonto überschreiben","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Buchung #{ID} (\\"{title}\\")</a> wurde gespeichert.","custom_period":"Benutzerdefinierter Zeitraum","reset_to_current":"Auf aktuellen Zeitraum zurücksetzen","select_period":"Zeitraum auswählen","location":"Standort","other_budgets":"Zeitlich befristete Budgets","journal_links":"Buchungsverknüpfungen","go_to_withdrawals":"Ausgaben anzeigen","revenue_accounts":"Einnahmekonten","add_another_split":"Eine weitere Aufteilung hinzufügen","actions":"Aktionen","earned":"Eingenommen","empty":"(leer)","edit":"Bearbeiten","never":"Nie","account_type_Loan":"Darlehen","account_type_Mortgage":"Hypothek","stored_new_account_js":"Neues Konto \\"<a href=\\"accounts/show/{ID}\\">„{name}”</a>\\" gespeichert!","account_type_Debt":"Schuld","delete":"Löschen","store_new_asset_account":"Neues Bestandskonto speichern","store_new_expense_account":"Neues Ausgabenkonto speichern","store_new_liabilities_account":"Neue Verbindlichkeit speichern","store_new_revenue_account":"Neues Einnahmenkonto speichern","mandatoryFields":"Pflichtfelder","optionalFields":"Optionale Felder","reconcile_this_account":"Dieses Konto abgleichen","interest_calc_weekly":"Pro Woche","interest_calc_monthly":"Monatlich","interest_calc_quarterly":"Vierteljährlich","interest_calc_half-year":"Halbjährlich","interest_calc_yearly":"Jährlich","liability_direction_credit":"Mir wird dies geschuldet","liability_direction_debit":"Ich schulde dies jemandem","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Keine Buchungen|Speichern Sie diese Buchung, indem Sie sie auf ein anderes Konto verschieben. |Speichern Sie diese Buchungen, indem Sie sie auf ein anderes Konto verschieben.","none_in_select_list":"(Keine)"},"list":{"piggy_bank":"Sparschwein","percentage":"%","amount":"Betrag","lastActivity":"Letzte Aktivität","name":"Name","role":"Rolle","iban":"IBAN","interest":"Zinsen","interest_period":"Verzinsungszeitraum","liability_type":"Verbindlichkeitsart","liability_direction":"(list.liability_direction)","currentBalance":"Aktueller Kontostand","next_expected_match":"Nächste erwartete Übereinstimmung"},"config":{"html_language":"de","week_in_year_fns":"\'Woche\' ww/yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'QQQ, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Ausländischer Betrag","interest_date":"Zinstermin","name":"Name","amount":"Betrag","iban":"IBAN","BIC":"BIC","notes":"Notizen","location":"Herkunft","attachments":"Anhänge","active":"Aktiv","include_net_worth":"Im Eigenkapital enthalten","account_number":"Kontonummer","virtual_balance":"Virtueller Kontostand","opening_balance":"Eröffnungsbilanz","opening_balance_date":"Eröffnungsbilanzdatum","date":"Datum","interest":"Zinsen","interest_period":"Verzinsungszeitraum","currency_id":"Währung","liability_type":"Art der Verbindlichkeit","account_role":"Kontenfunktion","liability_direction":"Verbindlichkeit Ein/Aus","book_date":"Buchungsdatum","permDeleteWarning":"Das Löschen von Dingen in Firefly III ist dauerhaft und kann nicht rückgängig gemacht werden.","account_areYouSure_js":"Möchten Sie das Konto „{name}” wirklich löschen?","also_delete_piggyBanks_js":"Keine Sparschweine|Das einzige Sparschwein, welches mit diesem Konto verbunden ist, wird ebenfalls gelöscht.|Alle {count} Sparschweine, welche mit diesem Konto verbunden sind, werden ebenfalls gelöscht.","also_delete_transactions_js":"Keine Buchungen|Die einzige Buchung, die mit diesem Konto verbunden ist, wird ebenfalls gelöscht.|Alle {count} Buchungen, die mit diesem Konto verbunden sind, werden ebenfalls gelöscht.","process_date":"Bearbeitungsdatum","due_date":"Fälligkeitstermin","payment_date":"Zahlungsdatum","invoice_date":"Rechnungsdatum"}}')},3636:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Μεταφορά","Withdrawal":"Ανάληψη","Deposit":"Κατάθεση","date_and_time":"Ημερομηνία και ώρα","no_currency":"(χωρίς νόμισμα)","date":"Ημερομηνία","time":"Ώρα","no_budget":"(χωρίς προϋπολογισμό)","destination_account":"Λογαριασμός προορισμού","source_account":"Λογαριασμός προέλευσης","single_split":"Διαχωρισμός","create_new_transaction":"Δημιουργία μιας νέας συναλλαγής","balance":"Ισοζύγιο","transaction_journal_extra":"Περισσότερες πληροφορίες","transaction_journal_meta":"Πληροφορίες μεταδεδομένων","basic_journal_information":"Βασικές πληροφορίες συναλλαγής","bills_to_pay":"Πάγια έξοδα προς πληρωμή","left_to_spend":"Διαθέσιμα προϋπολογισμών","attachments":"Συνημμένα","net_worth":"Καθαρή αξία","bill":"Πάγιο έξοδο","no_bill":"(χωρίς πάγιο έξοδο)","tags":"Ετικέτες","internal_reference":"Εσωτερική αναφορά","external_url":"Εξωτερικό URL","no_piggy_bank":"(χωρίς κουμπαρά)","paid":"Πληρωμένο","notes":"Σημειώσεις","yourAccounts":"Οι λογαριασμοί σας","go_to_asset_accounts":"Δείτε τους λογαριασμούς κεφαλαίου σας","delete_account":"Διαγραφή λογαριασμού","transaction_table_description":"Ένας πίνακας με τις συναλλαγές σας","account":"Λογαριασμός","description":"Περιγραφή","amount":"Ποσό","budget":"Προϋπολογισμός","category":"Κατηγορία","opposing_account":"Έναντι λογαριασμός","budgets":"Προϋπολογισμοί","categories":"Κατηγορίες","go_to_budgets":"Πηγαίνετε στους προϋπολογισμούς σας","income":"Έσοδα","go_to_deposits":"Πηγαίνετε στις καταθέσεις","go_to_categories":"Πηγαίνετε στις κατηγορίες σας","expense_accounts":"Δαπάνες","go_to_expenses":"Πηγαίνετε στις δαπάνες","go_to_bills":"Πηγαίνετε στα πάγια έξοδα","bills":"Πάγια έξοδα","last_thirty_days":"Τελευταίες τριάντα ημέρες","last_seven_days":"Τελευταίες επτά ημέρες","go_to_piggies":"Πηγαίνετε στους κουμπαράδες σας","saved":"Αποθηκεύτηκε","piggy_banks":"Κουμπαράδες","piggy_bank":"Κουμπαράς","amounts":"Ποσά","left":"Απομένουν","spent":"Δαπανήθηκαν","Default asset account":"Βασικός λογαριασμός κεφαλαίου","search_results":"Αποτελέσματα αναζήτησης","include":"Include?","transaction":"Συναλλαγή","account_role_defaultAsset":"Βασικός λογαριασμός κεφαλαίου","account_role_savingAsset":"Λογαριασμός αποταμίευσης","account_role_sharedAsset":"Κοινός λογαριασμός κεφαλαίου","clear_location":"Εκκαθάριση τοποθεσίας","account_role_ccAsset":"Πιστωτική κάρτα","account_role_cashWalletAsset":"Πορτοφόλι μετρητών","daily_budgets":"Ημερήσιοι προϋπολογισμοί","weekly_budgets":"Εβδομαδιαίοι προϋπολογισμοί","monthly_budgets":"Μηνιαίοι προϋπολογισμοί","quarterly_budgets":"Τριμηνιαίοι προϋπολογισμοί","create_new_expense":"Δημιουργία νέου λογαριασμού δαπανών","create_new_revenue":"Δημιουργία νέου λογαριασμού εσόδων","create_new_liabilities":"Create new liability","half_year_budgets":"Εξαμηνιαίοι προϋπολογισμοί","yearly_budgets":"Ετήσιοι προϋπολογισμοί","split_transaction_title":"Περιγραφή της συναλλαγής με διαχωρισμό","errors_submission":"Υπήρξε κάποιο λάθος με την υποβολή σας. Παρακαλώ ελέγξτε τα σφάλματα.","flash_error":"Σφάλμα!","store_transaction":"Αποθήκευση συναλλαγής","flash_success":"Επιτυχία!","create_another":"Μετά την αποθήκευση, επιστρέψτε εδώ για να δημιουργήσετε ακόμη ένα.","update_transaction":"Ενημέρωση συναλλαγής","after_update_create_another":"Μετά την ενημέρωση, επιστρέψτε εδώ για να συνεχίσετε την επεξεργασία.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID}</a> (\\"{title}\\") παρέμεινε χωρίς καμία αλλαγή.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID}</a> (\\"{title}\\") έχει ενημερωθεί.","spent_x_of_y":"Spent {amount} of {total}","search":"Αναζήτηση","create_new_asset":"Δημιουργία νέου λογαριασμού κεφαλαίου","asset_accounts":"Κεφάλαια","reset_after":"Επαναφορά φόρμας μετά την υποβολή","bill_paid_on":"Πληρώθηκε στις {date}","first_split_decides":"Ο πρώτος διαχωρισμός καθορίζει την τιμή αυτού του πεδίου","first_split_overrules_source":"Ο πρώτος διαχωρισμός ενδέχεται να παρακάμψει τον λογαριασμό προέλευσης","first_split_overrules_destination":"Ο πρώτος διαχωρισμός ενδέχεται να παρακάμψει τον λογαριασμό προορισμού","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID} (\\"{title}\\")</a> έχει αποθηκευτεί.","custom_period":"Προσαρμοσμένη περίοδος","reset_to_current":"Επαναφορά στην τρέχουσα περίοδο","select_period":"Επιλέξτε περίοδο","location":"Τοποθεσία","other_budgets":"Προϋπολογισμοί με χρονική προσαρμογή","journal_links":"Συνδέσεις συναλλαγών","go_to_withdrawals":"Πηγαίνετε στις αναλήψεις σας","revenue_accounts":"Έσοδα","add_another_split":"Προσθήκη ενός ακόμα διαχωρισμού","actions":"Ενέργειες","earned":"Κερδήθηκαν","empty":"(κενό)","edit":"Επεξεργασία","never":"Ποτέ","account_type_Loan":"Δάνειο","account_type_Mortgage":"Υποθήκη","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Χρέος","delete":"Διαγραφή","store_new_asset_account":"Αποθήκευση νέου λογαριασμού κεφαλαίου","store_new_expense_account":"Αποθήκευση νέου λογαριασμού δαπανών","store_new_liabilities_account":"Αποθήκευση νέας υποχρέωσης","store_new_revenue_account":"Αποθήκευση νέου λογαριασμού εσόδων","mandatoryFields":"Υποχρεωτικά πεδία","optionalFields":"Προαιρετικά πεδία","reconcile_this_account":"Τακτοποίηση αυτού του λογαριασμού","interest_calc_weekly":"Per week","interest_calc_monthly":"Ανά μήνα","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Ανά έτος","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(τίποτα)"},"list":{"piggy_bank":"Κουμπαράς","percentage":"pct.","amount":"Ποσό","lastActivity":"Τελευταία δραστηριότητα","name":"Όνομα","role":"Ρόλος","iban":"IBAN","interest":"Τόκος","interest_period":"τοκιζόμενη περίοδος","liability_type":"Τύπος υποχρέωσης","liability_direction":"(list.liability_direction)","currentBalance":"Τρέχον υπόλοιπο","next_expected_match":"Επόμενη αναμενόμενη αντιστοίχιση"},"config":{"html_language":"el","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Ποσό σε ξένο νόμισμα","interest_date":"Ημερομηνία τοκισμού","name":"Όνομα","amount":"Ποσό","iban":"IBAN","BIC":"BIC","notes":"Σημειώσεις","location":"Τοποθεσία","attachments":"Συνημμένα","active":"Ενεργό","include_net_worth":"Εντός καθαρής αξίας","account_number":"Αριθμός λογαριασμού","virtual_balance":"Εικονικό υπόλοιπο","opening_balance":"Υπόλοιπο έναρξης","opening_balance_date":"Ημερομηνία υπολοίπου έναρξης","date":"Ημερομηνία","interest":"Τόκος","interest_period":"Τοκιζόμενη περίοδος","currency_id":"Νόμισμα","liability_type":"Liability type","account_role":"Ρόλος λογαριασμού","liability_direction":"Liability in/out","book_date":"Ημερομηνία εγγραφής","permDeleteWarning":"Η διαγραφή στοιχείων από το Firefly III είναι μόνιμη και δεν μπορεί να αναιρεθεί.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Ημερομηνία επεξεργασίας","due_date":"Ημερομηνία προθεσμίας","payment_date":"Ημερομηνία πληρωμής","invoice_date":"Ημερομηνία τιμολόγησης"}}')},6318:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Withdrawal","Deposit":"Deposit","date_and_time":"Date and time","no_currency":"(no currency)","date":"Date","time":"Time","no_budget":"(no budget)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Balance","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta information","basic_journal_information":"Basic transaction information","bills_to_pay":"Bills to pay","left_to_spend":"Left to spend","attachments":"Attachments","net_worth":"Net worth","bill":"Bill","no_bill":"(no bill)","tags":"Tags","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Paid","notes":"Notes","yourAccounts":"Your accounts","go_to_asset_accounts":"View your asset accounts","delete_account":"Delete account","transaction_table_description":"A table containing your transactions","account":"Account","description":"Description","amount":"Amount","budget":"Budget","category":"Category","opposing_account":"Opposing account","budgets":"Budgets","categories":"Categories","go_to_budgets":"Go to your budgets","income":"Revenue / income","go_to_deposits":"Go to deposits","go_to_categories":"Go to your categories","expense_accounts":"Expense accounts","go_to_expenses":"Go to expenses","go_to_bills":"Go to your bills","bills":"Bills","last_thirty_days":"Last thirty days","last_seven_days":"Last seven days","go_to_piggies":"Go to your piggy banks","saved":"Saved","piggy_banks":"Piggy banks","piggy_bank":"Piggy bank","amounts":"Amounts","left":"Left","spent":"Spent","Default asset account":"Default asset account","search_results":"Search results","include":"Include?","transaction":"Transaction","account_role_defaultAsset":"Default asset account","account_role_savingAsset":"Savings account","account_role_sharedAsset":"Shared asset account","clear_location":"Clear location","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash wallet","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Create new expense account","create_new_revenue":"Create new revenue account","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Error!","store_transaction":"Store transaction","flash_success":"Success!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Search","create_new_asset":"Create new asset account","asset_accounts":"Asset accounts","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Location","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Revenue accounts","add_another_split":"Add another split","actions":"Actions","earned":"Earned","empty":"(empty)","edit":"Edit","never":"Never","account_type_Loan":"Loan","account_type_Mortgage":"Mortgage","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Debt","delete":"Delete","store_new_asset_account":"Store new asset account","store_new_expense_account":"Store new expense account","store_new_liabilities_account":"Store new liability","store_new_revenue_account":"Store new revenue account","mandatoryFields":"Mandatory fields","optionalFields":"Optional fields","reconcile_this_account":"Reconcile this account","interest_calc_weekly":"Per week","interest_calc_monthly":"Per month","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Per year","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(none)"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","lastActivity":"Last activity","name":"Name","role":"Role","iban":"IBAN","interest":"Interest","interest_period":"interest period","liability_type":"Type of liability","liability_direction":"(list.liability_direction)","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en-gb","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Foreign amount","interest_date":"Interest date","name":"Name","amount":"Amount","iban":"IBAN","BIC":"BIC","notes":"Notes","location":"Location","attachments":"Attachments","active":"Active","include_net_worth":"Include in net worth","account_number":"Account number","virtual_balance":"Virtual balance","opening_balance":"Opening balance","opening_balance_date":"Opening balance date","date":"Date","interest":"Interest","interest_period":"Interest period","currency_id":"Currency","liability_type":"Liability type","account_role":"Account role","liability_direction":"Liability in/out","book_date":"Book date","permDeleteWarning":"Deleting stuff from Firefly III is permanent and cannot be undone.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},3340:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Withdrawal","Deposit":"Deposit","date_and_time":"Date and time","no_currency":"(no currency)","date":"Date","time":"Time","no_budget":"(no budget)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Balance","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta information","basic_journal_information":"Basic transaction information","bills_to_pay":"Bills to pay","left_to_spend":"Left to spend","attachments":"Attachments","net_worth":"Net worth","bill":"Bill","no_bill":"(no bill)","tags":"Tags","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Paid","notes":"Notes","yourAccounts":"Your accounts","go_to_asset_accounts":"View your asset accounts","delete_account":"Delete account","transaction_table_description":"A table containing your transactions","account":"Account","description":"Description","amount":"Amount","budget":"Budget","category":"Category","opposing_account":"Opposing account","budgets":"Budgets","categories":"Categories","go_to_budgets":"Go to your budgets","income":"Revenue / income","go_to_deposits":"Go to deposits","go_to_categories":"Go to your categories","expense_accounts":"Expense accounts","go_to_expenses":"Go to expenses","go_to_bills":"Go to your bills","bills":"Bills","last_thirty_days":"Last thirty days","last_seven_days":"Last seven days","go_to_piggies":"Go to your piggy banks","saved":"Saved","piggy_banks":"Piggy banks","piggy_bank":"Piggy bank","amounts":"Amounts","left":"Left","spent":"Spent","Default asset account":"Default asset account","search_results":"Search results","include":"Include?","transaction":"Transaction","account_role_defaultAsset":"Default asset account","account_role_savingAsset":"Savings account","account_role_sharedAsset":"Shared asset account","clear_location":"Clear location","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash wallet","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Create new expense account","create_new_revenue":"Create new revenue account","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Error!","store_transaction":"Store transaction","flash_success":"Success!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Search","create_new_asset":"Create new asset account","asset_accounts":"Asset accounts","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Location","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Revenue accounts","add_another_split":"Add another split","actions":"Actions","earned":"Earned","empty":"(empty)","edit":"Edit","never":"Never","account_type_Loan":"Loan","account_type_Mortgage":"Mortgage","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Debt","delete":"Delete","store_new_asset_account":"Store new asset account","store_new_expense_account":"Store new expense account","store_new_liabilities_account":"Store new liability","store_new_revenue_account":"Store new revenue account","mandatoryFields":"Mandatory fields","optionalFields":"Optional fields","reconcile_this_account":"Reconcile this account","interest_calc_weekly":"Per week","interest_calc_monthly":"Per month","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Per year","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(none)"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","lastActivity":"Last activity","name":"Name","role":"Role","iban":"IBAN","interest":"Interest","interest_period":"interest period","liability_type":"Type of liability","liability_direction":"(list.liability_direction)","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Foreign amount","interest_date":"Interest date","name":"Name","amount":"Amount","iban":"IBAN","BIC":"BIC","notes":"Notes","location":"Location","attachments":"Attachments","active":"Active","include_net_worth":"Include in net worth","account_number":"Account number","virtual_balance":"Virtual balance","opening_balance":"Opening balance","opening_balance_date":"Opening balance date","date":"Date","interest":"Interest","interest_period":"Interest period","currency_id":"Currency","liability_type":"Liability type","account_role":"Account role","liability_direction":"Liability in/out","book_date":"Book date","permDeleteWarning":"Deleting stuff from Firefly III is permanent and cannot be undone.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},5394:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Transferencia","Withdrawal":"Retiro","Deposit":"Depósito","date_and_time":"Fecha y hora","no_currency":"(sin moneda)","date":"Fecha","time":"Hora","no_budget":"(sin presupuesto)","destination_account":"Cuenta destino","source_account":"Cuenta origen","single_split":"División","create_new_transaction":"Crear una nueva transacción","balance":"Balance","transaction_journal_extra":"Información adicional","transaction_journal_meta":"Información Meta","basic_journal_information":"Información básica de transacción","bills_to_pay":"Facturas por pagar","left_to_spend":"Disponible para gastar","attachments":"Archivos adjuntos","net_worth":"Valor Neto","bill":"Factura","no_bill":"(sin factura)","tags":"Etiquetas","internal_reference":"Referencia interna","external_url":"URL externa","no_piggy_bank":"(sin hucha)","paid":"Pagado","notes":"Notas","yourAccounts":"Tus cuentas","go_to_asset_accounts":"Ver tus cuentas de activos","delete_account":"Eliminar cuenta","transaction_table_description":"Una tabla que contiene sus transacciones","account":"Cuenta","description":"Descripción","amount":"Cantidad","budget":"Presupuesto","category":"Categoria","opposing_account":"Cuenta opuesta","budgets":"Presupuestos","categories":"Categorías","go_to_budgets":"Ir a tus presupuestos","income":"Ingresos / salarios","go_to_deposits":"Ir a depósitos","go_to_categories":"Ir a tus categorías","expense_accounts":"Cuentas de gastos","go_to_expenses":"Ir a gastos","go_to_bills":"Ir a tus cuentas","bills":"Facturas","last_thirty_days":"Últimos treinta días","last_seven_days":"Últimos siete días","go_to_piggies":"Ir a tu hucha","saved":"Guardado","piggy_banks":"Huchas","piggy_bank":"Hucha","amounts":"Importes","left":"Disponible","spent":"Gastado","Default asset account":"Cuenta de ingresos por defecto","search_results":"Buscar resultados","include":"¿Incluir?","transaction":"Transaccion","account_role_defaultAsset":"Cuentas de ingresos por defecto","account_role_savingAsset":"Cuentas de ahorros","account_role_sharedAsset":"Cuenta de ingresos compartida","clear_location":"Eliminar ubicación","account_role_ccAsset":"Tarjeta de Crédito","account_role_cashWalletAsset":"Billetera de efectivo","daily_budgets":"Presupuestos diarios","weekly_budgets":"Presupuestos semanales","monthly_budgets":"Presupuestos mensuales","quarterly_budgets":"Presupuestos trimestrales","create_new_expense":"Crear nueva cuenta de gastos","create_new_revenue":"Crear nueva cuenta de ingresos","create_new_liabilities":"Crear nuevo pasivo","half_year_budgets":"Presupuestos semestrales","yearly_budgets":"Presupuestos anuales","split_transaction_title":"Descripción de la transacción dividida","errors_submission":"Hubo un problema con su envío. Por favor, compruebe los errores.","flash_error":"¡Error!","store_transaction":"Guardar transacción","flash_success":"¡Operación correcta!","create_another":"Después de guardar, vuelve aquí para crear otro.","update_transaction":"Actualizar transacción","after_update_create_another":"Después de actualizar, vuelve aquí para continuar editando.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID}</a> (\\"{title}\\") no recibió ningún cambio.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID}</a> (\\"{title}\\") ha sido actualizada.","spent_x_of_y":"{amount} gastado de {total}","search":"Buscar","create_new_asset":"Crear nueva cuenta de activos","asset_accounts":"Cuenta de activos","reset_after":"Restablecer formulario después del envío","bill_paid_on":"Pagado el {date}","first_split_decides":"La primera división determina el valor de este campo","first_split_overrules_source":"La primera división puede anular la cuenta de origen","first_split_overrules_destination":"La primera división puede anular la cuenta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID} (\\"{title}\\")</a> ha sido almacenada.","custom_period":"Período personalizado","reset_to_current":"Restablecer al período actual","select_period":"Seleccione un período","location":"Ubicación","other_budgets":"Presupuestos de tiempo personalizado","journal_links":"Enlaces de transacciones","go_to_withdrawals":"Ir a tus retiradas","revenue_accounts":"Cuentas de ingresos","add_another_split":"Añadir otra división","actions":"Acciones","earned":"Ganado","empty":"(vacío)","edit":"Editar","never":"Nunca","account_type_Loan":"Préstamo","account_type_Mortgage":"Hipoteca","stored_new_account_js":"Nueva cuenta \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" guardada!","account_type_Debt":"Deuda","delete":"Eliminar","store_new_asset_account":"Crear cuenta de activos","store_new_expense_account":"Crear cuenta de gastos","store_new_liabilities_account":"Crear nuevo pasivo","store_new_revenue_account":"Crear cuenta de ingresos","mandatoryFields":"Campos obligatorios","optionalFields":"Campos opcionales","reconcile_this_account":"Reconciliar esta cuenta","interest_calc_weekly":"Por semana","interest_calc_monthly":"Por mes","interest_calc_quarterly":"Por trimestre","interest_calc_half-year":"Por semestre","interest_calc_yearly":"Por año","liability_direction_credit":"Se me debe esta deuda","liability_direction_debit":"Le debo esta deuda a otra persona","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Ninguna transacción|Guardar esta transacción moviéndola a otra cuenta. |Guardar estas transacciones moviéndolas a otra cuenta.","none_in_select_list":"(ninguno)"},"list":{"piggy_bank":"Alcancilla","percentage":"pct.","amount":"Monto","lastActivity":"Actividad más reciente","name":"Nombre","role":"Rol","iban":"IBAN","interest":"Interés","interest_period":"período de interés","liability_type":"Tipo de pasivo","liability_direction":"(list.liability_direction)","currentBalance":"Balance actual","next_expected_match":"Próxima coincidencia esperada"},"config":{"html_language":"es","week_in_year_fns":"\'Semana\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Trimestre\' Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Cantidad extranjera","interest_date":"Fecha de interés","name":"Nombre","amount":"Importe","iban":"IBAN","BIC":"BIC","notes":"Notas","location":"Ubicación","attachments":"Adjuntos","active":"Activo","include_net_worth":"Incluir en valor neto","account_number":"Número de cuenta","virtual_balance":"Saldo virtual","opening_balance":"Saldo inicial","opening_balance_date":"Fecha del saldo inicial","date":"Fecha","interest":"Interés","interest_period":"Período de interés","currency_id":"Divisa","liability_type":"Tipo de pasivo","account_role":"Rol de cuenta","liability_direction":"Pasivo entrada/salida","book_date":"Fecha de registro","permDeleteWarning":"Eliminar cosas de Firefly III es permanente y no se puede deshacer.","account_areYouSure_js":"¿Está seguro que desea eliminar la cuenta llamada \\"{name}\\"?","also_delete_piggyBanks_js":"Ninguna alcancía|La única alcancía conectada a esta cuenta también será borrada. También se eliminarán todas {count} alcancías conectados a esta cuenta.","also_delete_transactions_js":"Ninguna transacción|La única transacción conectada a esta cuenta se eliminará también.|Todas las {count} transacciones conectadas a esta cuenta también se eliminarán.","process_date":"Fecha de procesamiento","due_date":"Fecha de vencimiento","payment_date":"Fecha de pago","invoice_date":"Fecha de la factura"}}')},7868:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Siirto","Withdrawal":"Nosto","Deposit":"Talletus","date_and_time":"Date and time","no_currency":"(ei valuuttaa)","date":"Päivämäärä","time":"Time","no_budget":"(ei budjettia)","destination_account":"Kohdetili","source_account":"Lähdetili","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metatiedot","basic_journal_information":"Basic transaction information","bills_to_pay":"Laskuja maksettavana","left_to_spend":"Käytettävissä","attachments":"Liitteet","net_worth":"Varallisuus","bill":"Lasku","no_bill":"(no bill)","tags":"Tägit","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(ei säästöpossu)","paid":"Maksettu","notes":"Muistiinpanot","yourAccounts":"Omat tilisi","go_to_asset_accounts":"Tarkastele omaisuustilejäsi","delete_account":"Poista käyttäjätili","transaction_table_description":"A table containing your transactions","account":"Tili","description":"Kuvaus","amount":"Summa","budget":"Budjetti","category":"Kategoria","opposing_account":"Vastatili","budgets":"Budjetit","categories":"Kategoriat","go_to_budgets":"Avaa omat budjetit","income":"Tuotto / ansio","go_to_deposits":"Go to deposits","go_to_categories":"Avaa omat kategoriat","expense_accounts":"Kulutustilit","go_to_expenses":"Go to expenses","go_to_bills":"Avaa omat laskut","bills":"Laskut","last_thirty_days":"Viimeiset 30 päivää","last_seven_days":"Viimeiset 7 päivää","go_to_piggies":"Tarkastele säästöpossujasi","saved":"Saved","piggy_banks":"Säästöpossut","piggy_bank":"Säästöpossu","amounts":"Amounts","left":"Jäljellä","spent":"Käytetty","Default asset account":"Oletusomaisuustili","search_results":"Haun tulokset","include":"Include?","transaction":"Tapahtuma","account_role_defaultAsset":"Oletuskäyttötili","account_role_savingAsset":"Säästötili","account_role_sharedAsset":"Jaettu käyttötili","clear_location":"Tyhjennä sijainti","account_role_ccAsset":"Luottokortti","account_role_cashWalletAsset":"Käteinen","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Luo uusi maksutili","create_new_revenue":"Luo uusi tuottotili","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Jaetun tapahtuman kuvaus","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Virhe!","store_transaction":"Store transaction","flash_success":"Valmista tuli!","create_another":"Tallennuksen jälkeen, palaa takaisin luomaan uusi tapahtuma.","update_transaction":"Päivitä tapahtuma","after_update_create_another":"Päivityksen jälkeen, palaa takaisin jatkamaan muokkausta.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hae","create_new_asset":"Luo uusi omaisuustili","asset_accounts":"Käyttötilit","reset_after":"Tyhjennä lomake lähetyksen jälkeen","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Sijainti","other_budgets":"Custom timed budgets","journal_links":"Tapahtuman linkit","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Tuottotilit","add_another_split":"Lisää tapahtumaan uusi osa","actions":"Toiminnot","earned":"Ansaittu","empty":"(tyhjä)","edit":"Muokkaa","never":"Ei koskaan","account_type_Loan":"Laina","account_type_Mortgage":"Kiinnelaina","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Velka","delete":"Poista","store_new_asset_account":"Tallenna uusi omaisuustili","store_new_expense_account":"Tallenna uusi kulutustili","store_new_liabilities_account":"Tallenna uusi vastuu","store_new_revenue_account":"Tallenna uusi tuottotili","mandatoryFields":"Pakolliset kentät","optionalFields":"Valinnaiset kentät","reconcile_this_account":"Täsmäytä tämä tili","interest_calc_weekly":"Per week","interest_calc_monthly":"Kuukaudessa","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Vuodessa","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(ei mitään)"},"list":{"piggy_bank":"Säästöpossu","percentage":"pros.","amount":"Summa","lastActivity":"Viimeisin tapahtuma","name":"Nimi","role":"Rooli","iban":"IBAN","interest":"Korko","interest_period":"korkojakso","liability_type":"Vastuutyyppi","liability_direction":"(list.liability_direction)","currentBalance":"Tämänhetkinen saldo","next_expected_match":"Seuraava lasku odotettavissa"},"config":{"html_language":"fi","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Ulkomaan summa","interest_date":"Korkopäivä","name":"Nimi","amount":"Summa","iban":"IBAN","BIC":"BIC","notes":"Muistiinpanot","location":"Sijainti","attachments":"Liitteet","active":"Aktiivinen","include_net_worth":"Sisällytä varallisuuteen","account_number":"Tilinumero","virtual_balance":"Virtuaalinen saldo","opening_balance":"Alkusaldo","opening_balance_date":"Alkusaldon päivämäärä","date":"Päivämäärä","interest":"Korko","interest_period":"Korkojakso","currency_id":"Valuutta","liability_type":"Liability type","account_role":"Tilin tyyppi","liability_direction":"Liability in/out","book_date":"Kirjauspäivä","permDeleteWarning":"Asioiden poistaminen Firefly III:sta on lopullista eikä poistoa pysty perumaan.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Käsittelypäivä","due_date":"Eräpäivä","payment_date":"Maksupäivä","invoice_date":"Laskun päivämäärä"}}')},2551:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Transfert","Withdrawal":"Dépense","Deposit":"Dépôt","date_and_time":"Date et heure","no_currency":"(pas de devise)","date":"Date","time":"Heure","no_budget":"(pas de budget)","destination_account":"Compte de destination","source_account":"Compte source","single_split":"Ventilation","create_new_transaction":"Créer une nouvelle opération","balance":"Solde","transaction_journal_extra":"Informations supplémentaires","transaction_journal_meta":"Méta informations","basic_journal_information":"Informations de base sur l\'opération","bills_to_pay":"Factures à payer","left_to_spend":"Reste à dépenser","attachments":"Pièces jointes","net_worth":"Avoir net","bill":"Facture","no_bill":"(aucune facture)","tags":"Tags","internal_reference":"Référence interne","external_url":"URL externe","no_piggy_bank":"(aucune tirelire)","paid":"Payé","notes":"Notes","yourAccounts":"Vos comptes","go_to_asset_accounts":"Afficher vos comptes d\'actifs","delete_account":"Supprimer le compte","transaction_table_description":"Une table contenant vos opérations","account":"Compte","description":"Description","amount":"Montant","budget":"Budget","category":"Catégorie","opposing_account":"Compte opposé","budgets":"Budgets","categories":"Catégories","go_to_budgets":"Gérer vos budgets","income":"Recette / revenu","go_to_deposits":"Aller aux dépôts","go_to_categories":"Gérer vos catégories","expense_accounts":"Comptes de dépenses","go_to_expenses":"Aller aux dépenses","go_to_bills":"Gérer vos factures","bills":"Factures","last_thirty_days":"Trente derniers jours","last_seven_days":"7 Derniers Jours","go_to_piggies":"Gérer vos tirelires","saved":"Sauvegardé","piggy_banks":"Tirelires","piggy_bank":"Tirelire","amounts":"Montants","left":"Reste","spent":"Dépensé","Default asset account":"Compte d’actif par défaut","search_results":"Résultats de la recherche","include":"Inclure ?","transaction":"Opération","account_role_defaultAsset":"Compte d\'actif par défaut","account_role_savingAsset":"Compte d’épargne","account_role_sharedAsset":"Compte d\'actif partagé","clear_location":"Effacer la localisation","account_role_ccAsset":"Carte de crédit","account_role_cashWalletAsset":"Porte-monnaie","daily_budgets":"Budgets quotidiens","weekly_budgets":"Budgets hebdomadaires","monthly_budgets":"Budgets mensuels","quarterly_budgets":"Budgets trimestriels","create_new_expense":"Créer nouveau compte de dépenses","create_new_revenue":"Créer nouveau compte de recettes","create_new_liabilities":"Créer un nouveau passif","half_year_budgets":"Budgets semestriels","yearly_budgets":"Budgets annuels","split_transaction_title":"Description de l\'opération ventilée","errors_submission":"Certaines informations ne sont pas correctes dans votre formulaire. Veuillez vérifier les erreurs.","flash_error":"Erreur !","store_transaction":"Enregistrer l\'opération","flash_success":"Super !","create_another":"Après enregistrement, revenir ici pour en créer un nouveau.","update_transaction":"Mettre à jour l\'opération","after_update_create_another":"Après la mise à jour, revenir ici pour continuer l\'édition.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID}</a> (\\"{title}\\") n\'a pas été modifiée.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID}</a> (\\"{title}\\") a été mise à jour.","spent_x_of_y":"Dépensé {amount} sur {total}","search":"Rechercher","create_new_asset":"Créer un nouveau compte d’actif","asset_accounts":"Comptes d’actif","reset_after":"Réinitialiser le formulaire après soumission","bill_paid_on":"Payé le {date}","first_split_decides":"La première ventilation détermine la valeur de ce champ","first_split_overrules_source":"La première ventilation peut remplacer le compte source","first_split_overrules_destination":"La première ventilation peut remplacer le compte de destination","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID} (\\"{title}\\")</a> a été enregistrée.","custom_period":"Période personnalisée","reset_to_current":"Réinitialiser à la période en cours","select_period":"Sélectionnez une période","location":"Emplacement","other_budgets":"Budgets à période personnalisée","journal_links":"Liens d\'opération","go_to_withdrawals":"Accéder à vos retraits","revenue_accounts":"Comptes de recettes","add_another_split":"Ajouter une autre fraction","actions":"Actions","earned":"Gagné","empty":"(vide)","edit":"Modifier","never":"Jamais","account_type_Loan":"Prêt","account_type_Mortgage":"Prêt hypothécaire","stored_new_account_js":"Nouveau compte \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" enregistré !","account_type_Debt":"Dette","delete":"Supprimer","store_new_asset_account":"Créer un nouveau compte d’actif","store_new_expense_account":"Créer un nouveau compte de dépenses","store_new_liabilities_account":"Enregistrer un nouveau passif","store_new_revenue_account":"Créer un compte de recettes","mandatoryFields":"Champs obligatoires","optionalFields":"Champs optionnels","reconcile_this_account":"Rapprocher ce compte","interest_calc_weekly":"Par semaine","interest_calc_monthly":"Par mois","interest_calc_quarterly":"Par trimestre","interest_calc_half-year":"Par semestre","interest_calc_yearly":"Par an","liability_direction_credit":"On me doit cette dette","liability_direction_debit":"Je dois cette dette à quelqu\'un d\'autre","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Aucune opération|Conserver cette opération en la déplaçant vers un autre compte. |Conserver ces opérations en les déplaçant vers un autre compte.","none_in_select_list":"(aucun)"},"list":{"piggy_bank":"Tirelire","percentage":"pct.","amount":"Montant","lastActivity":"Activité récente","name":"Nom","role":"Rôle","iban":"Numéro IBAN","interest":"Intérêt","interest_period":"période d’intérêt","liability_type":"Type de passif","liability_direction":"(list.liability_direction)","currentBalance":"Solde courant","next_expected_match":"Prochaine association attendue"},"config":{"html_language":"fr","week_in_year_fns":"\'Semaine\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Montant en devise étrangère","interest_date":"Date de valeur (intérêts)","name":"Nom","amount":"Montant","iban":"Numéro IBAN","BIC":"Code BIC","notes":"Notes","location":"Emplacement","attachments":"Documents joints","active":"Actif","include_net_worth":"Inclure dans l\'avoir net","account_number":"Numéro de compte","virtual_balance":"Solde virtuel","opening_balance":"Solde initial","opening_balance_date":"Date du solde initial","date":"Date","interest":"Intérêt","interest_period":"Période d’intérêt","currency_id":"Devise","liability_type":"Type de passif","account_role":"Rôle du compte","liability_direction":"Sens du passif","book_date":"Date de réservation","permDeleteWarning":"Supprimer quelque chose dans Firefly est permanent et ne peut pas être annulé.","account_areYouSure_js":"Êtes-vous sûr de vouloir supprimer le compte nommé \\"{name}\\" ?","also_delete_piggyBanks_js":"Aucune tirelire|La seule tirelire liée à ce compte sera aussi supprimée.|Les {count} tirelires liées à ce compte seront aussi supprimées.","also_delete_transactions_js":"Aucune opération|La seule opération liée à ce compte sera aussi supprimée.|Les {count} opérations liées à ce compte seront aussi supprimées.","process_date":"Date de traitement","due_date":"Échéance","payment_date":"Date de paiement","invoice_date":"Date de facturation"}}')},995:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Átvezetés","Withdrawal":"Költség","Deposit":"Bevétel","date_and_time":"Date and time","no_currency":"(nincs pénznem)","date":"Dátum","time":"Time","no_budget":"(nincs költségkeret)","destination_account":"Célszámla","source_account":"Forrás számla","single_split":"Felosztás","create_new_transaction":"Create a new transaction","balance":"Egyenleg","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta-információ","basic_journal_information":"Basic transaction information","bills_to_pay":"Fizetendő számlák","left_to_spend":"Elkölthető","attachments":"Mellékletek","net_worth":"Nettó érték","bill":"Számla","no_bill":"(no bill)","tags":"Címkék","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(nincs malacpersely)","paid":"Kifizetve","notes":"Megjegyzések","yourAccounts":"Bankszámlák","go_to_asset_accounts":"Eszközszámlák megtekintése","delete_account":"Fiók törlése","transaction_table_description":"Tranzakciókat tartalmazó táblázat","account":"Bankszámla","description":"Leírás","amount":"Összeg","budget":"Költségkeret","category":"Kategória","opposing_account":"Ellenoldali számla","budgets":"Költségkeretek","categories":"Kategóriák","go_to_budgets":"Ugrás a költségkeretekhez","income":"Jövedelem / bevétel","go_to_deposits":"Ugrás a bevételekre","go_to_categories":"Ugrás a kategóriákhoz","expense_accounts":"Költségszámlák","go_to_expenses":"Ugrás a kiadásokra","go_to_bills":"Ugrás a számlákhoz","bills":"Számlák","last_thirty_days":"Elmúlt harminc nap","last_seven_days":"Utolsó hét nap","go_to_piggies":"Ugrás a malacperselyekhez","saved":"Mentve","piggy_banks":"Malacperselyek","piggy_bank":"Malacpersely","amounts":"Mennyiségek","left":"Maradvány","spent":"Elköltött","Default asset account":"Alapértelmezett eszközszámla","search_results":"Keresési eredmények","include":"Include?","transaction":"Tranzakció","account_role_defaultAsset":"Alapértelmezett eszközszámla","account_role_savingAsset":"Megtakarítási számla","account_role_sharedAsset":"Megosztott eszközszámla","clear_location":"Hely törlése","account_role_ccAsset":"Hitelkártya","account_role_cashWalletAsset":"Készpénz","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Új költségszámla létrehozása","create_new_revenue":"Új jövedelemszámla létrehozása","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Felosztott tranzakció leírása","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Hiba!","store_transaction":"Store transaction","flash_success":"Siker!","create_another":"A tárolás után térjen vissza ide új létrehozásához.","update_transaction":"Tranzakció frissítése","after_update_create_another":"A frissítés után térjen vissza ide a szerkesztés folytatásához.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Keresés","create_new_asset":"Új eszközszámla létrehozása","asset_accounts":"Eszközszámlák","reset_after":"Űrlap törlése a beküldés után","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> mentve.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Hely","other_budgets":"Custom timed budgets","journal_links":"Tranzakció összekapcsolások","go_to_withdrawals":"Ugrás a költségekhez","revenue_accounts":"Jövedelemszámlák","add_another_split":"Másik felosztás hozzáadása","actions":"Műveletek","earned":"Megkeresett","empty":"(üres)","edit":"Szerkesztés","never":"Soha","account_type_Loan":"Hitel","account_type_Mortgage":"Jelzálog","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Adósság","delete":"Törlés","store_new_asset_account":"Új eszközszámla tárolása","store_new_expense_account":"Új költségszámla tárolása","store_new_liabilities_account":"Új kötelezettség eltárolása","store_new_revenue_account":"Új jövedelemszámla létrehozása","mandatoryFields":"Kötelező mezők","optionalFields":"Nem kötelező mezők","reconcile_this_account":"Számla egyeztetése","interest_calc_weekly":"Per week","interest_calc_monthly":"Havonta","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Évente","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(nincs)"},"list":{"piggy_bank":"Malacpersely","percentage":"%","amount":"Összeg","lastActivity":"Utolsó aktivitás","name":"Név","role":"Szerepkör","iban":"IBAN","interest":"Kamat","interest_period":"kamatperiódus","liability_type":"A kötelezettség típusa","liability_direction":"(list.liability_direction)","currentBalance":"Aktuális egyenleg","next_expected_match":"Következő várható egyezés"},"config":{"html_language":"hu","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Külföldi összeg","interest_date":"Kamatfizetési időpont","name":"Név","amount":"Összeg","iban":"IBAN","BIC":"BIC","notes":"Megjegyzések","location":"Hely","attachments":"Mellékletek","active":"Aktív","include_net_worth":"Befoglalva a nettó értékbe","account_number":"Számlaszám","virtual_balance":"Virtuális egyenleg","opening_balance":"Nyitó egyenleg","opening_balance_date":"Nyitó egyenleg dátuma","date":"Dátum","interest":"Kamat","interest_period":"Kamatperiódus","currency_id":"Pénznem","liability_type":"Liability type","account_role":"Bankszámla szerepköre","liability_direction":"Liability in/out","book_date":"Könyvelés dátuma","permDeleteWarning":"A Firefly III-ból történő törlés végleges és nem vonható vissza.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Feldolgozás dátuma","due_date":"Lejárati időpont","payment_date":"Fizetés dátuma","invoice_date":"Számla dátuma"}}')},9112:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Trasferimento","Withdrawal":"Prelievo","Deposit":"Entrata","date_and_time":"Data e ora","no_currency":"(nessuna valuta)","date":"Data","time":"Ora","no_budget":"(nessun budget)","destination_account":"Conto destinazione","source_account":"Conto di origine","single_split":"Divisione","create_new_transaction":"Crea una nuova transazione","balance":"Saldo","transaction_journal_extra":"Informazioni aggiuntive","transaction_journal_meta":"Meta informazioni","basic_journal_information":"Informazioni di base sulla transazione","bills_to_pay":"Bollette da pagare","left_to_spend":"Altro da spendere","attachments":"Allegati","net_worth":"Patrimonio","bill":"Bolletta","no_bill":"(nessuna bolletta)","tags":"Etichette","internal_reference":"Riferimento interno","external_url":"URL esterno","no_piggy_bank":"(nessun salvadanaio)","paid":"Pagati","notes":"Note","yourAccounts":"I tuoi conti","go_to_asset_accounts":"Visualizza i tuoi conti attività","delete_account":"Elimina account","transaction_table_description":"Una tabella contenente le tue transazioni","account":"Conto","description":"Descrizione","amount":"Importo","budget":"Budget","category":"Categoria","opposing_account":"Conto beneficiario","budgets":"Budget","categories":"Categorie","go_to_budgets":"Vai ai tuoi budget","income":"Redditi / entrate","go_to_deposits":"Vai ai depositi","go_to_categories":"Vai alle tue categorie","expense_accounts":"Conti uscite","go_to_expenses":"Vai alle spese","go_to_bills":"Vai alle tue bollette","bills":"Bollette","last_thirty_days":"Ultimi trenta giorni","last_seven_days":"Ultimi sette giorni","go_to_piggies":"Vai ai tuoi salvadanai","saved":"Salvata","piggy_banks":"Salvadanai","piggy_bank":"Salvadanaio","amounts":"Importi","left":"Resto","spent":"Speso","Default asset account":"Conto attività predefinito","search_results":"Risultati ricerca","include":"Includere?","transaction":"Transazione","account_role_defaultAsset":"Conto attività predefinito","account_role_savingAsset":"Conto risparmio","account_role_sharedAsset":"Conto attività condiviso","clear_location":"Rimuovi dalla posizione","account_role_ccAsset":"Carta di credito","account_role_cashWalletAsset":"Portafoglio","daily_budgets":"Budget giornalieri","weekly_budgets":"Budget settimanali","monthly_budgets":"Budget mensili","quarterly_budgets":"Bilanci trimestrali","create_new_expense":"Crea un nuovo conto di spesa","create_new_revenue":"Crea un nuovo conto entrate","create_new_liabilities":"Crea nuova passività","half_year_budgets":"Bilanci semestrali","yearly_budgets":"Budget annuali","split_transaction_title":"Descrizione della transazione suddivisa","errors_submission":"Errore durante l\'invio. Controlla gli errori segnalati qui sotto.","flash_error":"Errore!","store_transaction":"Salva transazione","flash_success":"Successo!","create_another":"Dopo il salvataggio, torna qui per crearne un\'altra.","update_transaction":"Aggiorna transazione","after_update_create_another":"Dopo l\'aggiornamento, torna qui per continuare la modifica.","transaction_updated_no_changes":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID}</a> (\\"{title}\\") non ha avuto cambiamenti.","transaction_updated_link":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID}</a> (\\"{title}\\") è stata aggiornata.","spent_x_of_y":"Spesi {amount} di {total}","search":"Cerca","create_new_asset":"Crea un nuovo conto attività","asset_accounts":"Conti attività","reset_after":"Resetta il modulo dopo l\'invio","bill_paid_on":"Pagata il {date}","first_split_decides":"La prima suddivisione determina il valore di questo campo","first_split_overrules_source":"La prima suddivisione potrebbe sovrascrivere l\'account di origine","first_split_overrules_destination":"La prima suddivisione potrebbe sovrascrivere l\'account di destinazione","transaction_stored_link":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID} (\\"{title}\\")</a> è stata salvata.","custom_period":"Periodo personalizzato","reset_to_current":"Ripristina il periodo corrente","select_period":"Seleziona il periodo","location":"Posizione","other_budgets":"Budget a periodi personalizzati","journal_links":"Collegamenti della transazione","go_to_withdrawals":"Vai ai tuoi prelievi","revenue_accounts":"Conti entrate","add_another_split":"Aggiungi un\'altra divisione","actions":"Azioni","earned":"Guadagnato","empty":"(vuoto)","edit":"Modifica","never":"Mai","account_type_Loan":"Prestito","account_type_Mortgage":"Mutuo","stored_new_account_js":"Nuovo conto \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" salvato!","account_type_Debt":"Debito","delete":"Elimina","store_new_asset_account":"Salva nuovo conto attività","store_new_expense_account":"Salva il nuovo conto uscite","store_new_liabilities_account":"Memorizza nuova passività","store_new_revenue_account":"Salva il nuovo conto entrate","mandatoryFields":"Campi obbligatori","optionalFields":"Campi opzionali","reconcile_this_account":"Riconcilia questo conto","interest_calc_weekly":"Settimanale","interest_calc_monthly":"Al mese","interest_calc_quarterly":"Trimestrale","interest_calc_half-year":"Semestrale","interest_calc_yearly":"All\'anno","liability_direction_credit":"Questo debito mi è dovuto","liability_direction_debit":"Devo questo debito a qualcun altro","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Nessuna transazione|Salva questa transazione spostandola in un altro conto.|Salva queste transazioni spostandole in un altro conto.","none_in_select_list":"(nessuna)"},"list":{"piggy_bank":"Salvadanaio","percentage":"perc.","amount":"Importo","lastActivity":"Ultima attività","name":"Nome","role":"Ruolo","iban":"IBAN","interest":"Interesse","interest_period":"periodo di interesse","liability_type":"Tipo di passività","liability_direction":"(list.liability_direction)","currentBalance":"Saldo corrente","next_expected_match":"Prossimo abbinamento previsto"},"config":{"html_language":"it","week_in_year_fns":"\'Settimana\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Importo estero","interest_date":"Data di valuta","name":"Nome","amount":"Importo","iban":"IBAN","BIC":"BIC","notes":"Note","location":"Posizione","attachments":"Allegati","active":"Attivo","include_net_worth":"Includi nel patrimonio","account_number":"Numero conto","virtual_balance":"Saldo virtuale","opening_balance":"Saldo di apertura","opening_balance_date":"Data saldo di apertura","date":"Data","interest":"Interesse","interest_period":"Periodo di interesse","currency_id":"Valuta","liability_type":"Tipo passività","account_role":"Ruolo del conto","liability_direction":"Passività in entrata/uscita","book_date":"Data contabile","permDeleteWarning":"L\'eliminazione dei dati da Firefly III è definitiva e non può essere annullata.","account_areYouSure_js":"Sei sicuro di voler eliminare il conto \\"{name}\\"?","also_delete_piggyBanks_js":"Nessun salvadanaio|Anche l\'unico salvadanaio collegato a questo conto verrà eliminato.|Anche tutti i {count} salvadanai collegati a questo conto verranno eliminati.","also_delete_transactions_js":"Nessuna transazioni|Anche l\'unica transazione collegata al conto verrà eliminata.|Anche tutte le {count} transazioni collegati a questo conto verranno eliminate.","process_date":"Data elaborazione","due_date":"Data scadenza","payment_date":"Data pagamento","invoice_date":"Data fatturazione"}}')},9085:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Overføring","Withdrawal":"Uttak","Deposit":"Innskudd","date_and_time":"Date and time","no_currency":"(ingen valuta)","date":"Dato","time":"Time","no_budget":"(ingen budsjett)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metainformasjon","basic_journal_information":"Basic transaction information","bills_to_pay":"Regninger å betale","left_to_spend":"Igjen å bruke","attachments":"Vedlegg","net_worth":"Formue","bill":"Regning","no_bill":"(no bill)","tags":"Tagger","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Betalt","notes":"Notater","yourAccounts":"Dine kontoer","go_to_asset_accounts":"Se aktivakontoene dine","delete_account":"Slett konto","transaction_table_description":"A table containing your transactions","account":"Konto","description":"Beskrivelse","amount":"Beløp","budget":"Busjett","category":"Kategori","opposing_account":"Opposing account","budgets":"Budsjetter","categories":"Kategorier","go_to_budgets":"Gå til budsjettene dine","income":"Inntekt","go_to_deposits":"Go to deposits","go_to_categories":"Gå til kategoriene dine","expense_accounts":"Utgiftskontoer","go_to_expenses":"Go to expenses","go_to_bills":"Gå til regningene dine","bills":"Regninger","last_thirty_days":"Tredve siste dager","last_seven_days":"Syv siste dager","go_to_piggies":"Gå til sparegrisene dine","saved":"Saved","piggy_banks":"Sparegriser","piggy_bank":"Sparegris","amounts":"Amounts","left":"Gjenværende","spent":"Brukt","Default asset account":"Standard aktivakonto","search_results":"Søkeresultater","include":"Include?","transaction":"Transaksjon","account_role_defaultAsset":"Standard aktivakonto","account_role_savingAsset":"Sparekonto","account_role_sharedAsset":"Delt aktivakonto","clear_location":"Tøm lokasjon","account_role_ccAsset":"Kredittkort","account_role_cashWalletAsset":"Kontant lommebok","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Opprett ny utgiftskonto","create_new_revenue":"Opprett ny inntektskonto","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Feil!","store_transaction":"Store transaction","flash_success":"Suksess!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Søk","create_new_asset":"Opprett ny aktivakonto","asset_accounts":"Aktivakontoer","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Sted","other_budgets":"Custom timed budgets","journal_links":"Transaksjonskoblinger","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Inntektskontoer","add_another_split":"Legg til en oppdeling til","actions":"Handlinger","earned":"Opptjent","empty":"(empty)","edit":"Rediger","never":"Aldri","account_type_Loan":"Lån","account_type_Mortgage":"Boliglån","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Gjeld","delete":"Slett","store_new_asset_account":"Lagre ny brukskonto","store_new_expense_account":"Lagre ny utgiftskonto","store_new_liabilities_account":"Lagre ny gjeld","store_new_revenue_account":"Lagre ny inntektskonto","mandatoryFields":"Obligatoriske felter","optionalFields":"Valgfrie felter","reconcile_this_account":"Avstem denne kontoen","interest_calc_weekly":"Per week","interest_calc_monthly":"Per måned","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Per år","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(ingen)"},"list":{"piggy_bank":"Sparegris","percentage":"pct.","amount":"Beløp","lastActivity":"Siste aktivitet","name":"Navn","role":"Rolle","iban":"IBAN","interest":"Renter","interest_period":"renteperiode","liability_type":"Type gjeld","liability_direction":"(list.liability_direction)","currentBalance":"Nåværende saldo","next_expected_match":"Neste forventede treff"},"config":{"html_language":"nb","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Utenlandske beløp","interest_date":"Rentedato","name":"Navn","amount":"Beløp","iban":"IBAN","BIC":"BIC","notes":"Notater","location":"Location","attachments":"Vedlegg","active":"Aktiv","include_net_worth":"Inkluder i formue","account_number":"Account number","virtual_balance":"Virtual balance","opening_balance":"Opening balance","opening_balance_date":"Opening balance date","date":"Dato","interest":"Rente","interest_period":"Renteperiode","currency_id":"Valuta","liability_type":"Liability type","account_role":"Account role","liability_direction":"Liability in/out","book_date":"Bokføringsdato","permDeleteWarning":"Sletting av data fra Firefly III er permanent, og kan ikke angres.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Prosesseringsdato","due_date":"Forfallsdato","payment_date":"Betalingsdato","invoice_date":"Fakturadato"}}')},4671:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Overschrijving","Withdrawal":"Uitgave","Deposit":"Inkomsten","date_and_time":"Datum en tijd","no_currency":"(geen valuta)","date":"Datum","time":"Tijd","no_budget":"(geen budget)","destination_account":"Doelrekening","source_account":"Bronrekening","single_split":"Split","create_new_transaction":"Maak een nieuwe transactie","balance":"Saldo","transaction_journal_extra":"Extra informatie","transaction_journal_meta":"Metainformatie","basic_journal_information":"Standaard transactieinformatie","bills_to_pay":"Openstaande contracten","left_to_spend":"Over om uit te geven","attachments":"Bijlagen","net_worth":"Kapitaal","bill":"Contract","no_bill":"(geen contract)","tags":"Tags","internal_reference":"Interne referentie","external_url":"Externe URL","no_piggy_bank":"(geen spaarpotje)","paid":"Betaald","notes":"Notities","yourAccounts":"Je betaalrekeningen","go_to_asset_accounts":"Bekijk je betaalrekeningen","delete_account":"Verwijder je account","transaction_table_description":"Een tabel met je transacties","account":"Rekening","description":"Omschrijving","amount":"Bedrag","budget":"Budget","category":"Categorie","opposing_account":"Tegenrekening","budgets":"Budgetten","categories":"Categorieën","go_to_budgets":"Ga naar je budgetten","income":"Inkomsten","go_to_deposits":"Ga naar je inkomsten","go_to_categories":"Ga naar je categorieën","expense_accounts":"Crediteuren","go_to_expenses":"Ga naar je uitgaven","go_to_bills":"Ga naar je contracten","bills":"Contracten","last_thirty_days":"Laatste dertig dagen","last_seven_days":"Laatste zeven dagen","go_to_piggies":"Ga naar je spaarpotjes","saved":"Opgeslagen","piggy_banks":"Spaarpotjes","piggy_bank":"Spaarpotje","amounts":"Bedragen","left":"Over","spent":"Uitgegeven","Default asset account":"Standaard betaalrekening","search_results":"Zoekresultaten","include":"Opnemen?","transaction":"Transactie","account_role_defaultAsset":"Standaard betaalrekening","account_role_savingAsset":"Spaarrekening","account_role_sharedAsset":"Gedeelde betaalrekening","clear_location":"Wis locatie","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash","daily_budgets":"Dagelijkse budgetten","weekly_budgets":"Wekelijkse budgetten","monthly_budgets":"Maandelijkse budgetten","quarterly_budgets":"Driemaandelijkse budgetten","create_new_expense":"Nieuwe crediteur","create_new_revenue":"Nieuwe debiteur","create_new_liabilities":"Maak nieuwe passiva","half_year_budgets":"Halfjaarlijkse budgetten","yearly_budgets":"Jaarlijkse budgetten","split_transaction_title":"Beschrijving van de gesplitste transactie","errors_submission":"Er ging iets mis. Check de errors.","flash_error":"Fout!","store_transaction":"Transactie opslaan","flash_success":"Gelukt!","create_another":"Terug naar deze pagina voor een nieuwe transactie.","update_transaction":"Update transactie","after_update_create_another":"Na het opslaan terug om door te gaan met wijzigen.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID}</a> (\\"{title}\\") is niet gewijzigd.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID}</a> (\\"{title}\\") is geüpdatet.","spent_x_of_y":"{amount} van {total} uitgegeven","search":"Zoeken","create_new_asset":"Nieuwe betaalrekening","asset_accounts":"Betaalrekeningen","reset_after":"Reset formulier na opslaan","bill_paid_on":"Betaald op {date}","first_split_decides":"De eerste split bepaalt wat hier staat","first_split_overrules_source":"De eerste split kan de bronrekening overschrijven","first_split_overrules_destination":"De eerste split kan de doelrekening overschrijven","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID} (\\"{title}\\")</a> is opgeslagen.","custom_period":"Aangepaste periode","reset_to_current":"Reset naar huidige periode","select_period":"Selecteer een periode","location":"Plaats","other_budgets":"Aangepaste budgetten","journal_links":"Transactiekoppelingen","go_to_withdrawals":"Ga naar je uitgaven","revenue_accounts":"Debiteuren","add_another_split":"Voeg een split toe","actions":"Acties","earned":"Verdiend","empty":"(leeg)","edit":"Wijzig","never":"Nooit","account_type_Loan":"Lening","account_type_Mortgage":"Hypotheek","stored_new_account_js":"Nieuwe account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" opgeslagen!","account_type_Debt":"Schuld","delete":"Verwijder","store_new_asset_account":"Sla nieuwe betaalrekening op","store_new_expense_account":"Sla nieuwe crediteur op","store_new_liabilities_account":"Nieuwe passiva opslaan","store_new_revenue_account":"Sla nieuwe debiteur op","mandatoryFields":"Verplichte velden","optionalFields":"Optionele velden","reconcile_this_account":"Stem deze rekening af","interest_calc_weekly":"Per week","interest_calc_monthly":"Per maand","interest_calc_quarterly":"Per kwartaal","interest_calc_half-year":"Per half jaar","interest_calc_yearly":"Per jaar","liability_direction_credit":"Ik krijg dit bedrag terug","liability_direction_debit":"Ik moet dit bedrag terugbetalen","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Geen transacties|Bewaar deze transactie door ze aan een andere rekening te koppelen.|Bewaar deze transacties door ze aan een andere rekening te koppelen.","none_in_select_list":"(geen)"},"list":{"piggy_bank":"Spaarpotje","percentage":"pct","amount":"Bedrag","lastActivity":"Laatste activiteit","name":"Naam","role":"Rol","iban":"IBAN","interest":"Rente","interest_period":"renteperiode","liability_type":"Type passiva","liability_direction":"(list.liability_direction)","currentBalance":"Huidig saldo","next_expected_match":"Volgende verwachte match"},"config":{"html_language":"nl","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Bedrag in vreemde valuta","interest_date":"Rentedatum","name":"Naam","amount":"Bedrag","iban":"IBAN","BIC":"BIC","notes":"Notities","location":"Locatie","attachments":"Bijlagen","active":"Actief","include_net_worth":"Meetellen in kapitaal","account_number":"Rekeningnummer","virtual_balance":"Virtueel saldo","opening_balance":"Startsaldo","opening_balance_date":"Startsaldodatum","date":"Datum","interest":"Rente","interest_period":"Renteperiode","currency_id":"Valuta","liability_type":"Passivasoort","account_role":"Rol van rekening","liability_direction":"Passiva in- of uitgaand","book_date":"Boekdatum","permDeleteWarning":"Dingen verwijderen uit Firefly III is permanent en kan niet ongedaan gemaakt worden.","account_areYouSure_js":"Weet je zeker dat je de rekening met naam \\"{name}\\" wilt verwijderen?","also_delete_piggyBanks_js":"Geen spaarpotjes|Ook het spaarpotje verbonden aan deze rekening wordt verwijderd.|Ook alle {count} spaarpotjes verbonden aan deze rekening worden verwijderd.","also_delete_transactions_js":"Geen transacties|Ook de enige transactie verbonden aan deze rekening wordt verwijderd.|Ook alle {count} transacties verbonden aan deze rekening worden verwijderd.","process_date":"Verwerkingsdatum","due_date":"Vervaldatum","payment_date":"Betalingsdatum","invoice_date":"Factuurdatum"}}')},6238:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Wypłata","Deposit":"Wpłata","date_and_time":"Data i czas","no_currency":"(brak waluty)","date":"Data","time":"Czas","no_budget":"(brak budżetu)","destination_account":"Konto docelowe","source_account":"Konto źródłowe","single_split":"Podział","create_new_transaction":"Stwórz nową transakcję","balance":"Saldo","transaction_journal_extra":"Dodatkowe informacje","transaction_journal_meta":"Meta informacje","basic_journal_information":"Podstawowe informacje o transakcji","bills_to_pay":"Rachunki do zapłacenia","left_to_spend":"Pozostało do wydania","attachments":"Załączniki","net_worth":"Wartość netto","bill":"Rachunek","no_bill":"(brak rachunku)","tags":"Tagi","internal_reference":"Wewnętrzny nr referencyjny","external_url":"Zewnętrzny adres URL","no_piggy_bank":"(brak skarbonki)","paid":"Zapłacone","notes":"Notatki","yourAccounts":"Twoje konta","go_to_asset_accounts":"Zobacz swoje konta aktywów","delete_account":"Usuń konto","transaction_table_description":"Tabela zawierająca Twoje transakcje","account":"Konto","description":"Opis","amount":"Kwota","budget":"Budżet","category":"Kategoria","opposing_account":"Konto przeciwstawne","budgets":"Budżety","categories":"Kategorie","go_to_budgets":"Przejdź do swoich budżetów","income":"Przychody / dochody","go_to_deposits":"Przejdź do wpłat","go_to_categories":"Przejdź do swoich kategorii","expense_accounts":"Konta wydatków","go_to_expenses":"Przejdź do wydatków","go_to_bills":"Przejdź do swoich rachunków","bills":"Rachunki","last_thirty_days":"Ostanie 30 dni","last_seven_days":"Ostatnie 7 dni","go_to_piggies":"Przejdź do swoich skarbonek","saved":"Zapisano","piggy_banks":"Skarbonki","piggy_bank":"Skarbonka","amounts":"Kwoty","left":"Pozostało","spent":"Wydano","Default asset account":"Domyślne konto aktywów","search_results":"Wyniki wyszukiwania","include":"Include?","transaction":"Transakcja","account_role_defaultAsset":"Domyślne konto aktywów","account_role_savingAsset":"Konto oszczędnościowe","account_role_sharedAsset":"Współdzielone konto aktywów","clear_location":"Wyczyść lokalizację","account_role_ccAsset":"Karta kredytowa","account_role_cashWalletAsset":"Portfel gotówkowy","daily_budgets":"Budżety dzienne","weekly_budgets":"Budżety tygodniowe","monthly_budgets":"Budżety miesięczne","quarterly_budgets":"Budżety kwartalne","create_new_expense":"Utwórz nowe konto wydatków","create_new_revenue":"Utwórz nowe konto przychodów","create_new_liabilities":"Utwórz nowe zobowiązanie","half_year_budgets":"Budżety półroczne","yearly_budgets":"Budżety roczne","split_transaction_title":"Opis podzielonej transakcji","errors_submission":"Coś poszło nie tak w czasie zapisu. Proszę sprawdź błędy.","flash_error":"Błąd!","store_transaction":"Zapisz transakcję","flash_success":"Sukces!","create_another":"Po zapisaniu wróć tutaj, aby utworzyć kolejny.","update_transaction":"Zaktualizuj transakcję","after_update_create_another":"Po aktualizacji wróć tutaj, aby kontynuować edycję.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID}</a> (\\"{title}\\") nie została zmieniona.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID}</a> (\\"{title}\\") została zaktualizowana.","spent_x_of_y":"Wydano {amount} z {total}","search":"Szukaj","create_new_asset":"Utwórz nowe konto aktywów","asset_accounts":"Konta aktywów","reset_after":"Wyczyść formularz po zapisaniu","bill_paid_on":"Zapłacone {date}","first_split_decides":"Pierwszy podział określa wartość tego pola","first_split_overrules_source":"Pierwszy podział może nadpisać konto źródłowe","first_split_overrules_destination":"Pierwszy podział może nadpisać konto docelowe","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID} (\\"{title}\\")</a> została zapisana.","custom_period":"Okres niestandardowy","reset_to_current":"Przywróć do bieżącego okresu","select_period":"Wybierz okres","location":"Lokalizacja","other_budgets":"Budżety niestandardowe","journal_links":"Powiązane transakcje","go_to_withdrawals":"Przejdź do swoich wydatków","revenue_accounts":"Konta przychodów","add_another_split":"Dodaj kolejny podział","actions":"Akcje","earned":"Zarobiono","empty":"(pusty)","edit":"Modyfikuj","never":"Nigdy","account_type_Loan":"Pożyczka","account_type_Mortgage":"Hipoteka","stored_new_account_js":"Nowe konto \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" zapisane!","account_type_Debt":"Dług","delete":"Usuń","store_new_asset_account":"Zapisz nowe konto aktywów","store_new_expense_account":"Zapisz nowe konto wydatków","store_new_liabilities_account":"Zapisz nowe zobowiązanie","store_new_revenue_account":"Zapisz nowe konto przychodów","mandatoryFields":"Pola wymagane","optionalFields":"Pola opcjonalne","reconcile_this_account":"Uzgodnij to konto","interest_calc_weekly":"Tygodniowo","interest_calc_monthly":"Co miesiąc","interest_calc_quarterly":"Kwartalnie","interest_calc_half-year":"Co pół roku","interest_calc_yearly":"Co rok","liability_direction_credit":"Zadłużenie wobec mnie","liability_direction_debit":"Zadłużenie wobec kogoś innego","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Brak transakcji|Zapisz tę transakcję, przenosząc ją na inne konto.|Zapisz te transakcje przenosząc je na inne konto.","none_in_select_list":"(żadne)"},"list":{"piggy_bank":"Skarbonka","percentage":"%","amount":"Kwota","lastActivity":"Ostatnia aktywność","name":"Nazwa","role":"Rola","iban":"IBAN","interest":"Odsetki","interest_period":"okres odsetkowy","liability_type":"Rodzaj zobowiązania","liability_direction":"(list.liability_direction)","currentBalance":"Bieżące saldo","next_expected_match":"Następne oczekiwane dopasowanie"},"config":{"html_language":"pl","week_in_year_fns":"w \'tydzień\' yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"Q \'kwartał\' yyyy","half_year_fns":"\'{half} połowa\' yyyy"},"form":{"foreign_amount":"Kwota zagraniczna","interest_date":"Data odsetek","name":"Nazwa","amount":"Kwota","iban":"IBAN","BIC":"BIC","notes":"Notatki","location":"Lokalizacja","attachments":"Załączniki","active":"Aktywny","include_net_worth":"Uwzględnij w wartości netto","account_number":"Numer konta","virtual_balance":"Wirtualne saldo","opening_balance":"Saldo początkowe","opening_balance_date":"Data salda otwarcia","date":"Data","interest":"Odsetki","interest_period":"Okres odsetkowy","currency_id":"Waluta","liability_type":"Rodzaj zobowiązania","account_role":"Rola konta","liability_direction":"Liability in/out","book_date":"Data księgowania","permDeleteWarning":"Usuwanie rzeczy z Firefly III jest trwałe i nie można tego cofnąć.","account_areYouSure_js":"Czy na pewno chcesz usunąć konto o nazwie \\"{name}\\"?","also_delete_piggyBanks_js":"Brak skarbonek|Jedyna skarbonka połączona z tym kontem również zostanie usunięta.|Wszystkie {count} skarbonki połączone z tym kontem zostaną również usunięte.","also_delete_transactions_js":"Brak transakcji|Jedyna transakcja połączona z tym kontem również zostanie usunięta.|Wszystkie {count} transakcje połączone z tym kontem również zostaną usunięte.","process_date":"Data przetworzenia","due_date":"Termin realizacji","payment_date":"Data płatności","invoice_date":"Data faktury"}}')},6586:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Transferência","Withdrawal":"Retirada","Deposit":"Depósito","date_and_time":"Data e hora","no_currency":"(sem moeda)","date":"Data","time":"Horário","no_budget":"(sem orçamento)","destination_account":"Conta destino","source_account":"Conta origem","single_split":"Divisão","create_new_transaction":"Criar nova transação","balance":"Saldo","transaction_journal_extra":"Informação extra","transaction_journal_meta":"Meta-informação","basic_journal_information":"Informações básicas de transação","bills_to_pay":"Contas a pagar","left_to_spend":"Restante para gastar","attachments":"Anexos","net_worth":"Valor Líquido","bill":"Fatura","no_bill":"(sem conta)","tags":"Tags","internal_reference":"Referência interna","external_url":"URL externa","no_piggy_bank":"(nenhum cofrinho)","paid":"Pago","notes":"Notas","yourAccounts":"Suas contas","go_to_asset_accounts":"Veja suas contas ativas","delete_account":"Apagar conta","transaction_table_description":"Uma tabela contendo suas transações","account":"Conta","description":"Descrição","amount":"Valor","budget":"Orçamento","category":"Categoria","opposing_account":"Conta oposta","budgets":"Orçamentos","categories":"Categorias","go_to_budgets":"Vá para seus orçamentos","income":"Receita / Renda","go_to_deposits":"Ir para as entradas","go_to_categories":"Vá para suas categorias","expense_accounts":"Contas de despesas","go_to_expenses":"Ir para despesas","go_to_bills":"Vá para suas contas","bills":"Faturas","last_thirty_days":"Últimos 30 dias","last_seven_days":"Últimos sete dias","go_to_piggies":"Vá para sua poupança","saved":"Salvo","piggy_banks":"Cofrinhos","piggy_bank":"Cofrinho","amounts":"Quantias","left":"Restante","spent":"Gasto","Default asset account":"Conta padrão","search_results":"Resultados da pesquisa","include":"Incluir?","transaction":"Transação","account_role_defaultAsset":"Conta padrão","account_role_savingAsset":"Conta poupança","account_role_sharedAsset":"Contas de ativos compartilhadas","clear_location":"Limpar localização","account_role_ccAsset":"Cartão de crédito","account_role_cashWalletAsset":"Carteira de dinheiro","daily_budgets":"Orçamentos diários","weekly_budgets":"Orçamentos semanais","monthly_budgets":"Orçamentos mensais","quarterly_budgets":"Orçamentos trimestrais","create_new_expense":"Criar nova conta de despesa","create_new_revenue":"Criar nova conta de receita","create_new_liabilities":"Criar novo passivo","half_year_budgets":"Orçamentos semestrais","yearly_budgets":"Orçamentos anuais","split_transaction_title":"Descrição da transação dividida","errors_submission":"Há algo de errado com o seu envio. Por favor, verifique os erros abaixo.","flash_error":"Erro!","store_transaction":"Salvar transação","flash_success":"Sucesso!","create_another":"Depois de armazenar, retorne aqui para criar outro.","update_transaction":"Atualizar transação","after_update_create_another":"Depois de atualizar, retorne aqui para continuar editando.","transaction_updated_no_changes":"A <a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") não recebeu nenhuma alteração.","transaction_updated_link":"A <a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") foi atualizada.","spent_x_of_y":"Gasto {amount} de {total}","search":"Pesquisa","create_new_asset":"Criar nova conta de ativo","asset_accounts":"Contas de ativo","reset_after":"Resetar o formulário após o envio","bill_paid_on":"Pago em {date}","first_split_decides":"A primeira divisão determina o valor deste campo","first_split_overrules_source":"A primeira divisão pode anular a conta de origem","first_split_overrules_destination":"A primeira divisão pode anular a conta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID} (\\"{title}\\")</a> foi salva.","custom_period":"Período personalizado","reset_to_current":"Redefinir para o período atual","select_period":"Selecione um período","location":"Localização","other_budgets":"Orçamentos de períodos personalizados","journal_links":"Transações ligadas","go_to_withdrawals":"Vá para seus saques","revenue_accounts":"Contas de receitas","add_another_split":"Adicionar outra divisão","actions":"Ações","earned":"Ganho","empty":"(vazio)","edit":"Editar","never":"Nunca","account_type_Loan":"Empréstimo","account_type_Mortgage":"Hipoteca","stored_new_account_js":"Nova conta \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" armazenada!","account_type_Debt":"Dívida","delete":"Apagar","store_new_asset_account":"Armazenar nova conta de ativo","store_new_expense_account":"Armazenar nova conta de despesa","store_new_liabilities_account":"Guardar novo passivo","store_new_revenue_account":"Armazenar nova conta de receita","mandatoryFields":"Campos obrigatórios","optionalFields":"Campos opcionais","reconcile_this_account":"Concilie esta conta","interest_calc_weekly":"Por semana","interest_calc_monthly":"Por mês","interest_calc_quarterly":"Por trimestre","interest_calc_half-year":"Por semestre","interest_calc_yearly":"Por ano","liability_direction_credit":"Devo este débito","liability_direction_debit":"Devo este débito a outra pessoa","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Nenhuma transação.|Salve esta transação movendo-a para outra conta.|Salve essas transações movendo-as para outra conta.","none_in_select_list":"(nenhum)"},"list":{"piggy_bank":"Cofrinho","percentage":"pct.","amount":"Total","lastActivity":"Última atividade","name":"Nome","role":"Papel","iban":"IBAN","interest":"Juros","interest_period":"período de juros","liability_type":"Tipo de passivo","liability_direction":"(list.liability_direction)","currentBalance":"Saldo atual","next_expected_match":"Próximo correspondente esperado"},"config":{"html_language":"pt-br","week_in_year_fns":"\'Semana\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'T\'Q, yyyy","half_year_fns":"\'S{half}\', yyyy"},"form":{"foreign_amount":"Montante em moeda estrangeira","interest_date":"Data de interesse","name":"Nome","amount":"Valor","iban":"IBAN","BIC":"BIC","notes":"Notas","location":"Localização","attachments":"Anexos","active":"Ativar","include_net_worth":"Incluir no patrimonio liquido","account_number":"Número de conta","virtual_balance":"Saldo virtual","opening_balance":"Saldo inicial","opening_balance_date":"Data do saldo inicial","date":"Data","interest":"Juros","interest_period":"Período de juros","currency_id":"Moeda","liability_type":"Tipo de passivo","account_role":"Função de conta","liability_direction":"Passivo entrada/saída","book_date":"Data reserva","permDeleteWarning":"Exclusão de dados do Firefly III são permanentes e não podem ser desfeitos.","account_areYouSure_js":"Tem certeza que deseja excluir a conta \\"{name}\\"?","also_delete_piggyBanks_js":"Sem cofrinhos|O único cofrinho conectado a esta conta também será excluído.|Todos os {count} cofrinhos conectados a esta conta também serão excluídos.","also_delete_transactions_js":"Sem transações|A única transação conectada a esta conta também será excluída.|Todas as {count} transações conectadas a essa conta também serão excluídas.","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da Fatura"}}')},8664:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Transferência","Withdrawal":"Levantamento","Deposit":"Depósito","date_and_time":"Data e hora","no_currency":"(sem moeda)","date":"Data","time":"Hora","no_budget":"(sem orçamento)","destination_account":"Conta de destino","source_account":"Conta de origem","single_split":"Dividir","create_new_transaction":"Criar uma nova transação","balance":"Saldo","transaction_journal_extra":"Informações extra","transaction_journal_meta":"Meta informação","basic_journal_information":"Informações básicas de transação","bills_to_pay":"Faturas a pagar","left_to_spend":"Restante para gastar","attachments":"Anexos","net_worth":"Patrimonio liquido","bill":"Fatura","no_bill":"(sem fatura)","tags":"Etiquetas","internal_reference":"Referência interna","external_url":"URL Externo","no_piggy_bank":"(nenhum mealheiro)","paid":"Pago","notes":"Notas","yourAccounts":"As suas contas","go_to_asset_accounts":"Ver as contas de activos","delete_account":"Apagar conta de utilizador","transaction_table_description":"Uma tabela com as suas transacções","account":"Conta","description":"Descricao","amount":"Montante","budget":"Orcamento","category":"Categoria","opposing_account":"Conta oposta","budgets":"Orçamentos","categories":"Categorias","go_to_budgets":"Ir para os seus orçamentos","income":"Receita / renda","go_to_deposits":"Ir para depósitos","go_to_categories":"Ir para categorias","expense_accounts":"Conta de despesas","go_to_expenses":"Ir para despesas","go_to_bills":"Ir para as faturas","bills":"Faturas","last_thirty_days":"Últimos trinta dias","last_seven_days":"Últimos sete dias","go_to_piggies":"Ir para mealheiros","saved":"Guardado","piggy_banks":"Mealheiros","piggy_bank":"Mealheiro","amounts":"Montantes","left":"Em falta","spent":"Gasto","Default asset account":"Conta de activos padrão","search_results":"Resultados da pesquisa","include":"Incluir?","transaction":"Transacção","account_role_defaultAsset":"Conta de activos padrão","account_role_savingAsset":"Conta poupança","account_role_sharedAsset":"Conta de activos partilhados","clear_location":"Limpar localização","account_role_ccAsset":"Cartão de credito","account_role_cashWalletAsset":"Carteira de dinheiro","daily_budgets":"Orçamento diário","weekly_budgets":"Orçamento semanal","monthly_budgets":"Orçamento mensal","quarterly_budgets":"Orçamento trimestral","create_new_expense":"Criar nova conta de despesas","create_new_revenue":"Criar nova conta de receitas","create_new_liabilities":"Criar novo passivo","half_year_budgets":"Orçamento semestral","yearly_budgets":"Orçamento anual","split_transaction_title":"Descrição da transacção dividida","errors_submission":"Aconteceu algo errado com a sua submissão. Por favor, verifique os erros.","flash_error":"Erro!","store_transaction":"Guardar transação","flash_success":"Sucesso!","create_another":"Depois de guardar, voltar aqui para criar outra.","update_transaction":"Actualizar transacção","after_update_create_another":"Após a atualização, regresse aqui para continuar a editar.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") não recebeu nenhuma alteração.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") foi atualizada.","spent_x_of_y":"Gasto {amount} de {total}","search":"Procurar","create_new_asset":"Criar nova conta de activos","asset_accounts":"Conta de activos","reset_after":"Repor o formulário após o envio","bill_paid_on":"Pago a {date}","first_split_decides":"A primeira divisão determina o valor deste campo","first_split_overrules_source":"A primeira divisão pode anular a conta de origem","first_split_overrules_destination":"A primeira divisão pode anular a conta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID} (\\"{title}\\")</a> foi guardada.","custom_period":"Período personalizado","reset_to_current":"Reiniciar o período personalizado","select_period":"Selecionar um período","location":"Localização","other_budgets":"Orçamentos de tempo personalizado","journal_links":"Ligações de transacção","go_to_withdrawals":"Ir para os seus levantamentos","revenue_accounts":"Conta de receitas","add_another_split":"Adicionar outra divisão","actions":"Ações","earned":"Ganho","empty":"(vazio)","edit":"Alterar","never":"Nunca","account_type_Loan":"Emprestimo","account_type_Mortgage":"Hipoteca","stored_new_account_js":"Nova conta \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" armazenada!","account_type_Debt":"Debito","delete":"Apagar","store_new_asset_account":"Guardar nova conta de activos","store_new_expense_account":"Guardar nova conta de despesas","store_new_liabilities_account":"Guardar novo passivo","store_new_revenue_account":"Guardar nova conta de receitas","mandatoryFields":"Campos obrigatorios","optionalFields":"Campos opcionais","reconcile_this_account":"Reconciliar esta conta","interest_calc_weekly":"Por semana","interest_calc_monthly":"Mensal","interest_calc_quarterly":"Por trimestre","interest_calc_half-year":"Por meio ano","interest_calc_yearly":"Anual","liability_direction_credit":"Esta dívida é-me devida","liability_direction_debit":"Devo esta dívida a outra pessoa","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Nenhuma transação| Guarde esta transação movendo-a para outra conta| Guarde estas transações movendo-as para outra conta.","none_in_select_list":"(nenhum)"},"list":{"piggy_bank":"Mealheiro","percentage":"%.","amount":"Montante","lastActivity":"Ultima actividade","name":"Nome","role":"Regra","iban":"IBAN","interest":"Juro","interest_period":"periodo de juros","liability_type":"Tipo de responsabilidade","liability_direction":"(list.liability_direction)","currentBalance":"Saldo actual","next_expected_match":"Proxima correspondencia esperada"},"config":{"html_language":"pt","week_in_year_fns":"\'Semana\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Trimestre\' Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Montante estrangeiro","interest_date":"Data de juros","name":"Nome","amount":"Montante","iban":"IBAN","BIC":"BIC","notes":"Notas","location":"Localização","attachments":"Anexos","active":"Activo","include_net_worth":"Incluir no patrimonio liquido","account_number":"Número de conta","virtual_balance":"Saldo virtual","opening_balance":"Saldo inicial","opening_balance_date":"Data do saldo inicial","date":"Data","interest":"Juro","interest_period":"Periodo de juros","currency_id":"Divisa","liability_type":"Tipo de responsabilidade","account_role":"Tipo de conta","liability_direction":"Responsabilidade entrada/saída","book_date":"Data de registo","permDeleteWarning":"Apagar as tuas coisas do Firefly III e permanente e nao pode ser desfeito.","account_areYouSure_js":"Tem a certeza que deseja eliminar a conta denominada por \\"{name}?","also_delete_piggyBanks_js":"Nenhum mealheiro|O único mealheiro ligado a esta conta será também eliminado.|Todos os {count} mealheiros ligados a esta conta serão também eliminados.","also_delete_transactions_js":"Nenhuma transação| A única transação ligada a esta conta será também excluída.|Todas as {count} transações ligadas a esta conta serão também excluídas.","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da factura"}}')},1102:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Retragere","Deposit":"Depozit","date_and_time":"Data și ora","no_currency":"(nici o monedă)","date":"Dată","time":"Timp","no_budget":"(nici un buget)","destination_account":"Contul de destinație","source_account":"Contul sursă","single_split":"Împarte","create_new_transaction":"Creați o tranzacție nouă","balance":"Balantă","transaction_journal_extra":"Informații suplimentare","transaction_journal_meta":"Informații meta","basic_journal_information":"Informații de bază despre tranzacție","bills_to_pay":"Facturile de plată","left_to_spend":"Ramas de cheltuit","attachments":"Atașamente","net_worth":"Valoarea netă","bill":"Factură","no_bill":"(fără factură)","tags":"Etichete","internal_reference":"Referință internă","external_url":"URL extern","no_piggy_bank":"(nicio pușculiță)","paid":"Plătit","notes":"Notițe","yourAccounts":"Conturile dvs.","go_to_asset_accounts":"Vizualizați conturile de active","delete_account":"Șterge account","transaction_table_description":"Un tabel care conține tranzacțiile tale","account":"Cont","description":"Descriere","amount":"Sumă","budget":"Buget","category":"Categorie","opposing_account":"Cont opus","budgets":"Buget","categories":"Categorii","go_to_budgets":"Mergi la bugete","income":"Venituri","go_to_deposits":"Du-te la depozite","go_to_categories":"Mergi la categorii","expense_accounts":"Conturi de cheltuieli","go_to_expenses":"Mergi la cheltuieli","go_to_bills":"Mergi la facturi","bills":"Facturi","last_thirty_days":"Ultimele 30 de zile","last_seven_days":"Ultimele 7 zile","go_to_piggies":"Mergi la pușculiță","saved":"Salvat","piggy_banks":"Pușculiță","piggy_bank":"Pușculiță","amounts":"Sume","left":"Rămas","spent":"Cheltuit","Default asset account":"Cont de active implicit","search_results":"Rezultatele căutarii","include":"Include?","transaction":"Tranzacţie","account_role_defaultAsset":"Contul implicit activ","account_role_savingAsset":"Cont de economii","account_role_sharedAsset":"Contul de active partajat","clear_location":"Ștergeți locația","account_role_ccAsset":"Card de credit","account_role_cashWalletAsset":"Cash - Numerar","daily_budgets":"Bugete zilnice","weekly_budgets":"Bugete săptămânale","monthly_budgets":"Bugete lunare","quarterly_budgets":"Bugete trimestriale","create_new_expense":"Creați un nou cont de cheltuieli","create_new_revenue":"Creați un nou cont de venituri","create_new_liabilities":"Creare provizion nou","half_year_budgets":"Bugete semestriale","yearly_budgets":"Bugete anuale","split_transaction_title":"Descrierea tranzacției divizate","errors_submission":"A fost ceva în neregulă cu depunerea ta. Te rugăm să verifici erorile.","flash_error":"Eroare!","store_transaction":"Tranzacție magazin","flash_success":"Succes!","create_another":"După stocare, reveniți aici pentru a crea alta.","update_transaction":"Actualizați tranzacția","after_update_create_another":"După actualizare, reveniți aici pentru a continua editarea.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Tranzacția #{ID}</a> (\\"{title}\\") nu a primit nicio modificare.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Tranzacția #{ID}</a> (\\"{title}\\") a fost actualizată.","spent_x_of_y":"Cheltuit {amount} din {total}","search":"Caută","create_new_asset":"Creați un nou cont de active","asset_accounts":"Conturile de active","reset_after":"Resetați formularul după trimitere","bill_paid_on":"Plătit pe {date}","first_split_decides":"Prima împărțire determină valoarea acestui câmp","first_split_overrules_source":"Prima împărțire poate suprascrie contul sursă","first_split_overrules_destination":"Prima împărțire poate suprascrie contul de destinație","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Tranzacția #{ID} (\\"{title}\\")</a> a fost stocată.","custom_period":"Perioadă personalizată","reset_to_current":"Resetare la perioada curentă","select_period":"Selectați o perioadă","location":"Locație","other_budgets":"Bugete personalizate temporale","journal_links":"Link-uri de tranzacții","go_to_withdrawals":"Mergi la retragerile tale","revenue_accounts":"Conturi de venituri","add_another_split":"Adăugați o divizare","actions":"Acțiuni","earned":"Câștigat","empty":"(gol)","edit":"Editează","never":"Niciodată","account_type_Loan":"Împrumut","account_type_Mortgage":"Credit ipotecar","stored_new_account_js":"Cont nou \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stocat!","account_type_Debt":"Datorie","delete":"Șterge","store_new_asset_account":"Salvați un nou cont de active","store_new_expense_account":"Salvați un nou cont de cheltuieli","store_new_liabilities_account":"Salvați provizion nou","store_new_revenue_account":"Salvați un nou cont de venituri","mandatoryFields":"Câmpuri obligatorii","optionalFields":"Câmpuri opționale","reconcile_this_account":"Reconciliați acest cont","interest_calc_weekly":"Pe săptămână","interest_calc_monthly":"Pe lună","interest_calc_quarterly":"Pe trimestru","interest_calc_half-year":"Pe jumătate de an","interest_calc_yearly":"Pe an","liability_direction_credit":"Sunt datorat acestei datorii","liability_direction_debit":"Datorăm această datorie altcuiva","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Fără tranzacții* Salvați această tranzacție mutând-o în alt cont. | Salvați aceste tranzacții mutându-le într-un alt cont.","none_in_select_list":"(nici unul)"},"list":{"piggy_bank":"Pușculiță","percentage":"procent %","amount":"Sumă","lastActivity":"Ultima activitate","name":"Nume","role":"Rol","iban":"IBAN","interest":"Interes","interest_period":"perioadă de interes","liability_type":"Tip de provizion","liability_direction":"(list.liability_direction)","currentBalance":"Sold curent","next_expected_match":"Următoarea potrivire așteptată"},"config":{"html_language":"ro","week_in_year_fns":"\'Săptămână\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyy"},"form":{"foreign_amount":"Sumă străină","interest_date":"Data de interes","name":"Nume","amount":"Sumă","iban":"IBAN","BIC":"BIC","notes":"Notițe","location":"Locație","attachments":"Fișiere atașate","active":"Activ","include_net_worth":"Includeți în valoare netă","account_number":"Număr de cont","virtual_balance":"Soldul virtual","opening_balance":"Soldul de deschidere","opening_balance_date":"Data soldului de deschidere","date":"Dată","interest":"Interes","interest_period":"Perioadă de interes","currency_id":"Monedă","liability_type":"Tipul de provizion","account_role":"Rolul contului","liability_direction":"Răspundere în/afară","book_date":"Rezervă dată","permDeleteWarning":"Ștergerea este permanentă și nu poate fi anulată.","account_areYouSure_js":"Sunteţi sigur că doriţi să ştergeţi contul numit \\"{name}\\"?","also_delete_piggyBanks_js":"Nici o pușculiță | Singura pușculiță conectată la acest cont va fi de asemenea ștearsă. Toate cele {count} pușculițe conectate la acest cont vor fi șterse, de asemenea.","also_delete_transactions_js":"Nicio tranzacție | Singura tranzacție conectată la acest cont va fi de asemenea ștearsă. | Toate cele {count} tranzacții conectate la acest cont vor fi șterse, de asemenea.","process_date":"Data procesării","due_date":"Data scadentă","payment_date":"Data de plată","invoice_date":"Data facturii"}}')},753:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Перевод","Withdrawal":"Расход","Deposit":"Доход","date_and_time":"Дата и время","no_currency":"(нет валюты)","date":"Дата","time":"Время","no_budget":"(вне бюджета)","destination_account":"Счёт назначения","source_account":"Счёт-источник","single_split":"Разделённая транзакция","create_new_transaction":"Создать новую транзакцию","balance":"Бaлaнc","transaction_journal_extra":"Дополнительные сведения","transaction_journal_meta":"Дополнительная информация","basic_journal_information":"Основная информация о транзакции","bills_to_pay":"Счета к оплате","left_to_spend":"Осталось потратить","attachments":"Вложения","net_worth":"Мои сбережения","bill":"Счёт к оплате","no_bill":"(нет счёта на оплату)","tags":"Метки","internal_reference":"Внутренняя ссылка","external_url":"Внешний URL-адрес","no_piggy_bank":"(нет копилки)","paid":"Оплачено","notes":"Заметки","yourAccounts":"Ваши счета","go_to_asset_accounts":"Просмотр ваших основных счетов","delete_account":"Удалить профиль","transaction_table_description":"Таблица, содержащая ваши транзакции","account":"Счёт","description":"Описание","amount":"Сумма","budget":"Бюджет","category":"Категория","opposing_account":"Противодействующий счёт","budgets":"Бюджет","categories":"Категории","go_to_budgets":"Перейти к вашим бюджетам","income":"Мои доходы","go_to_deposits":"Перейти ко вкладам","go_to_categories":"Перейти к вашим категориям","expense_accounts":"Счета расходов","go_to_expenses":"Перейти к расходам","go_to_bills":"Перейти к вашим счетам на оплату","bills":"Счета к оплате","last_thirty_days":"Последние 30 дней","last_seven_days":"Последние 7 дней","go_to_piggies":"Перейти к вашим копилкам","saved":"Сохранено","piggy_banks":"Копилки","piggy_bank":"Копилка","amounts":"Сумма","left":"Осталось","spent":"Расход","Default asset account":"Счёт по умолчанию","search_results":"Результаты поиска","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Счёт по умолчанию","account_role_savingAsset":"Сберегательный счет","account_role_sharedAsset":"Общий основной счёт","clear_location":"Очистить местоположение","account_role_ccAsset":"Кредитная карта","account_role_cashWalletAsset":"Наличные","daily_budgets":"Бюджеты на день","weekly_budgets":"Бюджеты на неделю","monthly_budgets":"Бюджеты на месяц","quarterly_budgets":"Бюджеты на квартал","create_new_expense":"Создать новый счёт расхода","create_new_revenue":"Создать новый счёт дохода","create_new_liabilities":"Create new liability","half_year_budgets":"Бюджеты на полгода","yearly_budgets":"Годовые бюджеты","split_transaction_title":"Описание разделённой транзакции","errors_submission":"При отправке что-то пошло не так. Пожалуйста, проверьте ошибки ниже.","flash_error":"Ошибка!","store_transaction":"Сохранить транзакцию","flash_success":"Успешно!","create_another":"После сохранения вернуться сюда и создать ещё одну аналогичную запись.","update_transaction":"Обновить транзакцию","after_update_create_another":"После обновления вернитесь сюда, чтобы продолжить редактирование.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Поиск","create_new_asset":"Создать новый активный счёт","asset_accounts":"Основные счета","reset_after":"Сбросить форму после отправки","bill_paid_on":"Оплачено {date}","first_split_decides":"В данном поле используется значение из первой части разделенной транзакции","first_split_overrules_source":"Значение из первой части транзакции может изменить счет источника","first_split_overrules_destination":"Значение из первой части транзакции может изменить счет назначения","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID} (\\"{title}\\")</a> сохранена.","custom_period":"Пользовательский период","reset_to_current":"Сброс к текущему периоду","select_period":"Выберите период","location":"Размещение","other_budgets":"Бюджеты на произвольный отрезок времени","journal_links":"Связи транзакции","go_to_withdrawals":"Перейти к вашим расходам","revenue_accounts":"Счета доходов","add_another_split":"Добавить еще одну часть","actions":"Действия","earned":"Заработано","empty":"(пусто)","edit":"Изменить","never":"Никогда","account_type_Loan":"Заём","account_type_Mortgage":"Ипотека","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Дебит","delete":"Удалить","store_new_asset_account":"Сохранить новый основной счёт","store_new_expense_account":"Сохранить новый счёт расхода","store_new_liabilities_account":"Сохранить новое обязательство","store_new_revenue_account":"Сохранить новый счёт дохода","mandatoryFields":"Обязательные поля","optionalFields":"Дополнительные поля","reconcile_this_account":"Произвести сверку данного счёта","interest_calc_weekly":"Per week","interest_calc_monthly":"В месяц","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"В год","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(нет)"},"list":{"piggy_bank":"Копилка","percentage":"процентов","amount":"Сумма","lastActivity":"Последняя активность","name":"Имя","role":"Роль","iban":"IBAN","interest":"Процентная ставка","interest_period":"период начисления процентов","liability_type":"Тип ответственности","liability_direction":"(list.liability_direction)","currentBalance":"Текущий баланс","next_expected_match":"Следующий ожидаемый результат"},"config":{"html_language":"ru","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Сумма в иностранной валюте","interest_date":"Дата начисления процентов","name":"Название","amount":"Сумма","iban":"IBAN","BIC":"BIC","notes":"Заметки","location":"Местоположение","attachments":"Вложения","active":"Активный","include_net_worth":"Включать в \\"Мои сбережения\\"","account_number":"Номер счёта","virtual_balance":"Виртуальный баланс","opening_balance":"Начальный баланс","opening_balance_date":"Дата начального баланса","date":"Дата","interest":"Процентная ставка","interest_period":"Период начисления процентов","currency_id":"Валюта","liability_type":"Liability type","account_role":"Тип счета","liability_direction":"Liability in/out","book_date":"Дата бронирования","permDeleteWarning":"Удаление информации из Firefly III является постоянным и не может быть отменено.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Дата обработки","due_date":"Срок оплаты","payment_date":"Дата платежа","invoice_date":"Дата выставления счёта"}}')},7049:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Prevod","Withdrawal":"Výber","Deposit":"Vklad","date_and_time":"Dátum a čas","no_currency":"(žiadna mena)","date":"Dátum","time":"Čas","no_budget":"(žiadny rozpočet)","destination_account":"Cieľový účet","source_account":"Zdrojový účet","single_split":"Rozúčtovať","create_new_transaction":"Vytvoriť novú transakciu","balance":"Zostatok","transaction_journal_extra":"Ďalšie informácie","transaction_journal_meta":"Meta informácie","basic_journal_information":"Základné Informácie o transakcii","bills_to_pay":"Účty na úhradu","left_to_spend":"Zostáva k útrate","attachments":"Prílohy","net_worth":"Čisté imanie","bill":"Účet","no_bill":"(žiadny účet)","tags":"Štítky","internal_reference":"Interná referencia","external_url":"Externá URL","no_piggy_bank":"(žiadna pokladnička)","paid":"Uhradené","notes":"Poznámky","yourAccounts":"Vaše účty","go_to_asset_accounts":"Zobraziť účty aktív","delete_account":"Odstrániť účet","transaction_table_description":"Tabuľka obsahujúca vaše transakcie","account":"Účet","description":"Popis","amount":"Suma","budget":"Rozpočet","category":"Kategória","opposing_account":"Cieľový účet","budgets":"Rozpočty","categories":"Kategórie","go_to_budgets":"Zobraziť rozpočty","income":"Zisky / príjmy","go_to_deposits":"Zobraziť vklady","go_to_categories":"Zobraziť kategórie","expense_accounts":"Výdavkové účty","go_to_expenses":"Zobraziť výdavky","go_to_bills":"Zobraziť účty","bills":"Účty","last_thirty_days":"Uplynulých 30 dní","last_seven_days":"Uplynulých 7 dní","go_to_piggies":"Zobraziť pokladničky","saved":"Uložené","piggy_banks":"Pokladničky","piggy_bank":"Pokladnička","amounts":"Suma","left":"Zostáva","spent":"Utratené","Default asset account":"Prednastavený účet aktív","search_results":"Výsledky vyhľadávania","include":"Zahrnúť?","transaction":"Transakcia","account_role_defaultAsset":"Predvolený účet aktív","account_role_savingAsset":"Šetriaci účet","account_role_sharedAsset":"Zdieľaný účet aktív","clear_location":"Odstrániť pozíciu","account_role_ccAsset":"Kreditná karta","account_role_cashWalletAsset":"Peňaženka","daily_budgets":"Denné rozpočty","weekly_budgets":"Týždenné rozpočty","monthly_budgets":"Mesačné rozpočty","quarterly_budgets":"Štvrťročné rozpočty","create_new_expense":"Vytvoriť výdavkoý účet","create_new_revenue":"Vytvoriť nový príjmový účet","create_new_liabilities":"Vytvoriť nový záväzok","half_year_budgets":"Polročné rozpočty","yearly_budgets":"Ročné rozpočty","split_transaction_title":"Popis rozúčtovania","errors_submission":"Pri odosielaní sa niečo nepodarilo. Skontrolujte prosím chyby.","flash_error":"Chyba!","store_transaction":"Uložiť transakciu","flash_success":"Hotovo!","create_another":"Po uložení sa vrátiť späť sem a vytvoriť ďalší.","update_transaction":"Upraviť transakciu","after_update_create_another":"Po aktualizácii sa vrátiť späť a pokračovať v úpravách.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transakcia #{ID}</a> (\\"{title}\\") sa nezmenila.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transakcia #{ID}</a> (\\"{title}\\") bola upravená.","spent_x_of_y":"Utratené {amount} z {total}","search":"Hľadať","create_new_asset":"Vytvoriť nový účet aktív","asset_accounts":"Účty aktív","reset_after":"Po odoslaní vynulovať formulár","bill_paid_on":"Uhradené {date}","first_split_decides":"Hodnotu tohto atribútu určuje prvé rozdelenie","first_split_overrules_source":"Prvé rozdelenie môže pozmeniť zdrojový účet","first_split_overrules_destination":"Prvé rozdelenie môže pozmeniť cieľový účet","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transakcia #{ID} (\\"{title}\\")</a> bola uložená.","custom_period":"Vlastné obdobie","reset_to_current":"Obnoviť na aktuálne obdobie","select_period":"Vyberte obdobie","location":"Poloha","other_budgets":"Špecifické časované rozpočty","journal_links":"Prepojenia transakcie","go_to_withdrawals":"Zobraziť výbery","revenue_accounts":"Výnosové účty","add_another_split":"Pridať ďalšie rozúčtovanie","actions":"Akcie","earned":"Zarobené","empty":"(prázdne)","edit":"Upraviť","never":"Nikdy","account_type_Loan":"Pôžička","account_type_Mortgage":"Hypotéka","stored_new_account_js":"Nový účet \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" vytvorený!","account_type_Debt":"Dlh","delete":"Odstrániť","store_new_asset_account":"Uložiť nový účet aktív","store_new_expense_account":"Uložiť nový výdavkový účet","store_new_liabilities_account":"Uložiť nový záväzok","store_new_revenue_account":"Uložiť nový príjmový účet","mandatoryFields":"Povinné údaje","optionalFields":"Voliteľné údaje","reconcile_this_account":"Vyúčtovat tento účet","interest_calc_weekly":"Za týždeň","interest_calc_monthly":"Za mesiac","interest_calc_quarterly":"Za štvrťrok","interest_calc_half-year":"Za polrok","interest_calc_yearly":"Za rok","liability_direction_credit":"Túto sumu mi dlžia","liability_direction_debit":"Tento dlh mám voči niekomu inému","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Žiadne transakcie|Zachovať túto transakciu presunom pod iný účet.|Zachovať tieto transakcie presunom pod iný účet.","none_in_select_list":"(žiadne)"},"list":{"piggy_bank":"Pokladnička","percentage":"perc.","amount":"Suma","lastActivity":"Posledná aktivita","name":"Meno/Názov","role":"Rola","iban":"IBAN","interest":"Úrok","interest_period":"úrokové obdobie","liability_type":"Typ záväzku","liability_direction":"(list.liability_direction)","currentBalance":"Aktuálny zostatok","next_expected_match":"Ďalšia očakávaná zhoda"},"config":{"html_language":"sk","week_in_year_fns":"\'Týždeň\' tt, rrrr","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, rrrr","half_year_fns":"\'H{half}\', rrrr"},"form":{"foreign_amount":"Suma v cudzej mene","interest_date":"Úrokový dátum","name":"Názov","amount":"Suma","iban":"IBAN","BIC":"BIC","notes":"Poznámky","location":"Údaje o polohe","attachments":"Prílohy","active":"Aktívne","include_net_worth":"Zahrnúť do čistého majetku","account_number":"Číslo účtu","virtual_balance":"Virtuálnu zostatok","opening_balance":"Počiatočný zostatok","opening_balance_date":"Dátum počiatočného zostatku","date":"Dátum","interest":"Úrok","interest_period":"Úrokové obdobie","currency_id":"Mena","liability_type":"Typ záväzku","account_role":"Rola účtu","liability_direction":"Záväzky príjem/výdaj","book_date":"Dátum rezervácie","permDeleteWarning":"Odstránenie údajov z Firefly III je trvalé a nie je možné ich vrátiť späť.","account_areYouSure_js":"Skutočne chcete odstrániť účet s názvom \\"{name}\\"?","also_delete_piggyBanks_js":"Žiadne prasiatko|Odstráni sa tiež jediné prasiatko prepojené s týmto účtom.|Odstráni sa tiež {count} prasiatok prepojených s týmto účtom.","also_delete_transactions_js":"Žiadne transakcie|Odstráni sa aj jediná transakcia spojená s týmto účtom.|Odstráni sa tiež {count} transakcií spojených s týmto účtom.","process_date":"Dátum spracovania","due_date":"Dátum splatnosti","payment_date":"Dátum úhrady","invoice_date":"Dátum vystavenia"}}')},7921:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Överföring","Withdrawal":"Uttag","Deposit":"Insättning","date_and_time":"Datum och tid","no_currency":"(ingen valuta)","date":"Datum","time":"Tid","no_budget":"(ingen budget)","destination_account":"Till konto","source_account":"Källkonto","single_split":"Dela","create_new_transaction":"Skapa en ny transaktion","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metadata","basic_journal_information":"Grundläggande transaktionsinformation","bills_to_pay":"Notor att betala","left_to_spend":"Återstår att spendera","attachments":"Bilagor","net_worth":"Nettoförmögenhet","bill":"Nota","no_bill":"(ingen räkning)","tags":"Etiketter","internal_reference":"Intern referens","external_url":"Extern URL","no_piggy_bank":"(ingen spargris)","paid":"Betald","notes":"Noteringar","yourAccounts":"Dina konton","go_to_asset_accounts":"Visa dina tillgångskonton","delete_account":"Ta bort konto","transaction_table_description":"En tabell som innehåller dina transaktioner","account":"Konto","description":"Beskrivning","amount":"Belopp","budget":"Budget","category":"Kategori","opposing_account":"Motsatt konto","budgets":"Budgetar","categories":"Kategorier","go_to_budgets":"Gå till dina budgetar","income":"Intäkter / inkomster","go_to_deposits":"Gå till insättningar","go_to_categories":"Gå till dina kategorier","expense_accounts":"Kostnadskonto","go_to_expenses":"Gå till utgifter","go_to_bills":"Gå till dina notor","bills":"Notor","last_thirty_days":"Senaste 30 dagarna","last_seven_days":"Senaste 7 dagarna","go_to_piggies":"Gå till dina sparbössor","saved":"Sparad","piggy_banks":"Spargrisar","piggy_bank":"Spargris","amounts":"Belopp","left":"Återstår","spent":"Spenderat","Default asset account":"Förvalt tillgångskonto","search_results":"Sökresultat","include":"Inkludera?","transaction":"Transaktion","account_role_defaultAsset":"Förvalt tillgångskonto","account_role_savingAsset":"Sparkonto","account_role_sharedAsset":"Delat tillgångskonto","clear_location":"Rena plats","account_role_ccAsset":"Kreditkort","account_role_cashWalletAsset":"Plånbok","daily_budgets":"Dagliga budgetar","weekly_budgets":"Veckovis budgetar","monthly_budgets":"Månatliga budgetar","quarterly_budgets":"Kvartalsbudgetar","create_new_expense":"Skapa ett nytt utgiftskonto","create_new_revenue":"Skapa ett nytt intäktskonto","create_new_liabilities":"Skapa ny skuld","half_year_budgets":"Halvårsbudgetar","yearly_budgets":"Årliga budgetar","split_transaction_title":"Beskrivning av delad transaktion","errors_submission":"Något fel uppstod med inskickningen. Vänligen kontrollera felen nedan.","flash_error":"Fel!","store_transaction":"Lagra transaktion","flash_success":"Slutförd!","create_another":"Efter sparat, återkom hit för att skapa ytterligare en.","update_transaction":"Uppdatera transaktion","after_update_create_another":"Efter uppdaterat, återkom hit för att fortsätta redigera.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID}</a> (\\"{title}\\") fick inga ändringar.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID}</a> (\\"{title}\\") uppdaterades.","spent_x_of_y":"Spenderade {amount} av {total}","search":"Sök","create_new_asset":"Skapa ett nytt tillgångskonto","asset_accounts":"Tillgångskonton","reset_after":"Återställ formulär efter inskickat","bill_paid_on":"Betalad den {date}","first_split_decides":"Första delningen bestämmer värdet på detta fält","first_split_overrules_source":"Den första delningen kan åsidosätta källkontot","first_split_overrules_destination":"Den första delningen kan åsidosätta målkontot","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID} (\\"{title}\\")</a> sparades.","custom_period":"Anpassad period","reset_to_current":"Återställ till nuvarande period","select_period":"Välj en period","location":"Plats","other_budgets":"Anpassade tidsinställda budgetar","journal_links":"Transaktionslänkar","go_to_withdrawals":"Gå till dina uttag","revenue_accounts":"Intäktskonton","add_another_split":"Lägga till en annan delning","actions":"Åtgärder","earned":"Tjänat","empty":"(tom)","edit":"Redigera","never":"Aldrig","account_type_Loan":"Lån","account_type_Mortgage":"Bolån","stored_new_account_js":"Nytt konto \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" lagrat!","account_type_Debt":"Skuld","delete":"Ta bort","store_new_asset_account":"Lagra nytt tillgångskonto","store_new_expense_account":"Spara nytt utgiftskonto","store_new_liabilities_account":"Spara en ny skuld","store_new_revenue_account":"Spara nytt intäktskonto","mandatoryFields":"Obligatoriska fält","optionalFields":"Valfria fält","reconcile_this_account":"Stäm av detta konto","interest_calc_weekly":"Per vecka","interest_calc_monthly":"Per månad","interest_calc_quarterly":"Per kvartal","interest_calc_half-year":"Per halvår","interest_calc_yearly":"Per år","liability_direction_credit":"Jag är skyldig denna skuld","liability_direction_debit":"Jag är skyldig någon annan denna skuld","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Inga transaktioner|Spara denna transaktion genom att flytta den till ett annat konto.|Spara dessa transaktioner genom att flytta dem till ett annat konto.","none_in_select_list":"(Ingen)"},"list":{"piggy_bank":"Spargris","percentage":"procent","amount":"Belopp","lastActivity":"Senaste aktivitet","name":"Namn","role":"Roll","iban":"IBAN","interest":"Ränta","interest_period":"ränteperiod","liability_type":"Typ av ansvar","liability_direction":"(list.liability_direction)","currentBalance":"Nuvarande saldo","next_expected_match":"Nästa förväntade träff"},"config":{"html_language":"sv","week_in_year_fns":"\'Vecka\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'kvartal\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Utländskt belopp","interest_date":"Räntedatum","name":"Namn","amount":"Belopp","iban":"IBAN","BIC":"BIC","notes":"Anteckningar","location":"Plats","attachments":"Bilagor","active":"Aktiv","include_net_worth":"Inkludera i nettovärde","account_number":"Kontonummer","virtual_balance":"Virtuell balans","opening_balance":"Ingående balans","opening_balance_date":"Ingående balans datum","date":"Datum","interest":"Ränta","interest_period":"Ränteperiod","currency_id":"Valuta","liability_type":"Typ av ansvar","account_role":"Konto roll","liability_direction":"Ansvar in/ut","book_date":"Bokföringsdatum","permDeleteWarning":"Att ta bort saker från Firefly III är permanent och kan inte ångras.","account_areYouSure_js":"Är du säker du vill ta bort kontot \\"{name}\\"?","also_delete_piggyBanks_js":"Inga spargrisar|Den enda spargrisen som är ansluten till detta konto kommer också att tas bort.|Alla {count} spargrisar anslutna till detta konto kommer också att tas bort.","also_delete_transactions_js":"Inga transaktioner|Den enda transaktionen som är ansluten till detta konto kommer också att tas bort.|Alla {count} transaktioner som är kopplade till detta konto kommer också att tas bort.","process_date":"Behandlingsdatum","due_date":"Förfallodatum","payment_date":"Betalningsdatum","invoice_date":"Fakturadatum"}}')},1497:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Chuyển khoản","Withdrawal":"Rút tiền","Deposit":"Tiền gửi","date_and_time":"Date and time","no_currency":"(không có tiền tệ)","date":"Ngày","time":"Time","no_budget":"(không có ngân sách)","destination_account":"Tài khoản đích","source_account":"Nguồn tài khoản","single_split":"Chia ra","create_new_transaction":"Tạo giao dịch mới","balance":"Tiền còn lại","transaction_journal_extra":"Extra information","transaction_journal_meta":"Thông tin tổng hợp","basic_journal_information":"Basic transaction information","bills_to_pay":"Hóa đơn phải trả","left_to_spend":"Còn lại để chi tiêu","attachments":"Tệp đính kèm","net_worth":"Tài sản thực","bill":"Hóa đơn","no_bill":"(no bill)","tags":"Nhãn","internal_reference":"Tài liệu tham khảo nội bộ","external_url":"URL bên ngoài","no_piggy_bank":"(chưa có heo đất)","paid":"Đã thanh toán","notes":"Ghi chú","yourAccounts":"Tài khoản của bạn","go_to_asset_accounts":"Xem tài khoản của bạn","delete_account":"Xóa tài khoản","transaction_table_description":"A table containing your transactions","account":"Tài khoản","description":"Sự miêu tả","amount":"Số tiền","budget":"Ngân sách","category":"Danh mục","opposing_account":"Opposing account","budgets":"Ngân sách","categories":"Danh mục","go_to_budgets":"Chuyển đến ngân sách của bạn","income":"Thu nhập doanh thu","go_to_deposits":"Go to deposits","go_to_categories":"Đi đến danh mục của bạn","expense_accounts":"Tài khoản chi phí","go_to_expenses":"Go to expenses","go_to_bills":"Đi đến hóa đơn của bạn","bills":"Hóa đơn","last_thirty_days":"Ba mươi ngày gần đây","last_seven_days":"Bảy ngày gần đây","go_to_piggies":"Tới heo đất của bạn","saved":"Đã lưu","piggy_banks":"Heo đất","piggy_bank":"Heo đất","amounts":"Amounts","left":"Còn lại","spent":"Đã chi","Default asset account":"Mặc định tài khoản","search_results":"Kết quả tìm kiếm","include":"Include?","transaction":"Giao dịch","account_role_defaultAsset":"tài khoản mặc định","account_role_savingAsset":"Tài khoản tiết kiệm","account_role_sharedAsset":"tài khoản dùng chung","clear_location":"Xóa vị trí","account_role_ccAsset":"Thẻ tín dụng","account_role_cashWalletAsset":"Ví tiền mặt","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Tạo tài khoản chi phí mới","create_new_revenue":"Tạo tài khoản doanh thu mới","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Mô tả giao dịch tách","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Lỗi!","store_transaction":"Store transaction","flash_success":"Thành công!","create_another":"Sau khi lưu trữ, quay trở lại đây để tạo một cái khác.","update_transaction":"Cập nhật giao dịch","after_update_create_another":"Sau khi cập nhật, quay lại đây để tiếp tục chỉnh sửa.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Tìm kiếm","create_new_asset":"Tạo tài khoản mới","asset_accounts":"tài khoản","reset_after":"Đặt lại mẫu sau khi gửi","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Giao dịch #{ID} (\\"{title}\\")</a> đã được lưu trữ.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Vị trí","other_budgets":"Custom timed budgets","journal_links":"Liên kết giao dịch","go_to_withdrawals":"Chuyển đến mục rút tiền của bạn","revenue_accounts":"Tài khoản doanh thu","add_another_split":"Thêm một phân chia khác","actions":"Hành động","earned":"Kiếm được","empty":"(trống)","edit":"Sửa","never":"Không bao giờ","account_type_Loan":"Tiền vay","account_type_Mortgage":"Thế chấp","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Món nợ","delete":"Xóa","store_new_asset_account":"Lưu trữ tài khoản mới","store_new_expense_account":"Lưu trữ tài khoản chi phí mới","store_new_liabilities_account":"Lưu trữ nợ mới","store_new_revenue_account":"Lưu trữ tài khoản doanh thu mới","mandatoryFields":"Các trường bắt buộc","optionalFields":"Các trường tùy chọn","reconcile_this_account":"Điều chỉnh tài khoản này","interest_calc_weekly":"Per week","interest_calc_monthly":"Mỗi tháng","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Mỗi năm","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(Trống)"},"list":{"piggy_bank":"Ống heo con","percentage":"phần trăm.","amount":"Số tiền","lastActivity":"Hoạt động cuối cùng","name":"Tên","role":"Quy tắc","iban":"IBAN","interest":"Lãi","interest_period":"Chu kỳ lãi","liability_type":"Loại trách nhiệm pháp lý","liability_direction":"(list.liability_direction)","currentBalance":"Số dư hiện tại","next_expected_match":"Trận đấu dự kiến tiếp theo"},"config":{"html_language":"vi","week_in_year_fns":"\'Tuần\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Ngoại tệ","interest_date":"Ngày lãi","name":"Tên","amount":"Số tiền","iban":"IBAN","BIC":"BIC","notes":"Ghi chú","location":"Vị trí","attachments":"Tài liệu đính kèm","active":"Hành động","include_net_worth":"Bao gồm trong giá trị ròng","account_number":"Số tài khoản","virtual_balance":"Cân bằng ảo","opening_balance":"Số dư đầu kỳ","opening_balance_date":"Ngày mở số dư","date":"Ngày","interest":"Lãi","interest_period":"Chu kỳ lãi","currency_id":"Tiền tệ","liability_type":"Liability type","account_role":"Vai trò tài khoản","liability_direction":"Liability in/out","book_date":"Ngày đặt sách","permDeleteWarning":"Xóa nội dung khỏi Firefly III là vĩnh viễn và không thể hoàn tác.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Ngày xử lý","due_date":"Ngày đáo hạn","payment_date":"Ngày thanh toán","invoice_date":"Ngày hóa đơn"}}')},4556:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"转账","Withdrawal":"提款","Deposit":"收入","date_and_time":"日期和时间","no_currency":"(没有货币)","date":"日期","time":"时间","no_budget":"(无预算)","destination_account":"目标账户","source_account":"来源账户","single_split":"拆分","create_new_transaction":"创建新交易","balance":"余额","transaction_journal_extra":"额外信息","transaction_journal_meta":"元信息","basic_journal_information":"基础交易信息","bills_to_pay":"待付账单","left_to_spend":"剩余支出","attachments":"附件","net_worth":"净资产","bill":"账单","no_bill":"(无账单)","tags":"标签","internal_reference":"内部引用","external_url":"外部链接","no_piggy_bank":"(无存钱罐)","paid":"已付款","notes":"备注","yourAccounts":"您的账户","go_to_asset_accounts":"查看您的资产账户","delete_account":"删除账户","transaction_table_description":"包含您交易的表格","account":"账户","description":"描述","amount":"金额","budget":"预算","category":"分类","opposing_account":"对方账户","budgets":"预算","categories":"分类","go_to_budgets":"前往您的预算","income":"收入","go_to_deposits":"前往收入","go_to_categories":"前往您的分类","expense_accounts":"支出账户","go_to_expenses":"前往支出","go_to_bills":"前往账单","bills":"账单","last_thirty_days":"最近 30 天","last_seven_days":"最近 7 天","go_to_piggies":"前往您的存钱罐","saved":"已保存","piggy_banks":"存钱罐","piggy_bank":"存钱罐","amounts":"金额","left":"剩余","spent":"支出","Default asset account":"默认资产账户","search_results":"搜索结果","include":"Include?","transaction":"交易","account_role_defaultAsset":"默认资产账户","account_role_savingAsset":"储蓄账户","account_role_sharedAsset":"共用资产账户","clear_location":"清除位置","account_role_ccAsset":"信用卡","account_role_cashWalletAsset":"现金钱包","daily_budgets":"每日预算","weekly_budgets":"每周预算","monthly_budgets":"每月预算","quarterly_budgets":"每季度预算","create_new_expense":"创建新支出账户","create_new_revenue":"创建新收入账户","create_new_liabilities":"Create new liability","half_year_budgets":"每半年预算","yearly_budgets":"每年预算","split_transaction_title":"拆分交易的描述","errors_submission":"您提交的内容有误,请检查错误信息。","flash_error":"错误!","store_transaction":"保存交易","flash_success":"成功!","create_another":"保存后,返回此页面以创建新记录","update_transaction":"更新交易","after_update_create_another":"更新后,返回此页面继续编辑。","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"搜索","create_new_asset":"创建新资产账户","asset_accounts":"资产账户","reset_after":"提交后重置表单","bill_paid_on":"支付于 {date}","first_split_decides":"首笔拆分决定此字段的值","first_split_overrules_source":"首笔拆分可能覆盖来源账户","first_split_overrules_destination":"首笔拆分可能覆盖目标账户","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">交易 #{ID} (“{title}”)</a> 已保存。","custom_period":"自定义周期","reset_to_current":"重置为当前周期","select_period":"选择周期","location":"位置","other_budgets":"自定义区间预算","journal_links":"交易关联","go_to_withdrawals":"前往支出","revenue_accounts":"收入账户","add_another_split":"增加另一笔拆分","actions":"操作","earned":"收入","empty":"(空)","edit":"编辑","never":"永不","account_type_Loan":"贷款","account_type_Mortgage":"抵押","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"欠款","delete":"删除","store_new_asset_account":"保存新资产账户","store_new_expense_account":"保存新支出账户","store_new_liabilities_account":"保存新债务账户","store_new_revenue_account":"保存新收入账户","mandatoryFields":"必填字段","optionalFields":"选填字段","reconcile_this_account":"对账此账户","interest_calc_weekly":"每周","interest_calc_monthly":"每月","interest_calc_quarterly":"每季度","interest_calc_half-year":"每半年","interest_calc_yearly":"每年","liability_direction_credit":"我欠了这笔债务","liability_direction_debit":"我欠别人这笔钱","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(空)"},"list":{"piggy_bank":"存钱罐","percentage":"%","amount":"金额","lastActivity":"上次活动","name":"名称","role":"角色","iban":"国际银行账户号码(IBAN)","interest":"利息","interest_period":"利息期","liability_type":"债务类型","liability_direction":"(list.liability_direction)","currentBalance":"目前余额","next_expected_match":"预期下次支付"},"config":{"html_language":"zh-cn","week_in_year_fns":"\'周\' w,yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"外币金额","interest_date":"利息日期","name":"名称","amount":"金额","iban":"国际银行账户号码 IBAN","BIC":"银行识别代码 BIC","notes":"备注","location":"位置","attachments":"附件","active":"启用","include_net_worth":"包含于净资产","account_number":"账户号码","virtual_balance":"虚拟账户余额","opening_balance":"初始余额","opening_balance_date":"开户日期","date":"日期","interest":"利息","interest_period":"利息期","currency_id":"货币","liability_type":"债务类型","account_role":"账户角色","liability_direction":"Liability in/out","book_date":"登记日期","permDeleteWarning":"从 Firefly III 删除内容是永久且无法恢复的。","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"处理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"发票日期"}}')},1715:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"轉帳","Withdrawal":"提款","Deposit":"存款","date_and_time":"Date and time","no_currency":"(沒有貨幣)","date":"日期","time":"Time","no_budget":"(無預算)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"餘額","transaction_journal_extra":"Extra information","transaction_journal_meta":"後設資訊","basic_journal_information":"Basic transaction information","bills_to_pay":"待付帳單","left_to_spend":"剩餘可花費","attachments":"附加檔案","net_worth":"淨值","bill":"帳單","no_bill":"(no bill)","tags":"標籤","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"已付款","notes":"備註","yourAccounts":"您的帳戶","go_to_asset_accounts":"檢視您的資產帳戶","delete_account":"移除帳號","transaction_table_description":"A table containing your transactions","account":"帳戶","description":"描述","amount":"金額","budget":"預算","category":"分類","opposing_account":"Opposing account","budgets":"預算","categories":"分類","go_to_budgets":"前往您的預算","income":"收入 / 所得","go_to_deposits":"Go to deposits","go_to_categories":"前往您的分類","expense_accounts":"支出帳戶","go_to_expenses":"Go to expenses","go_to_bills":"前往您的帳單","bills":"帳單","last_thirty_days":"最近30天","last_seven_days":"最近7天","go_to_piggies":"前往您的小豬撲滿","saved":"Saved","piggy_banks":"小豬撲滿","piggy_bank":"小豬撲滿","amounts":"Amounts","left":"剩餘","spent":"支出","Default asset account":"預設資產帳戶","search_results":"搜尋結果","include":"Include?","transaction":"交易","account_role_defaultAsset":"預設資產帳戶","account_role_savingAsset":"儲蓄帳戶","account_role_sharedAsset":"共用資產帳戶","clear_location":"清除位置","account_role_ccAsset":"信用卡","account_role_cashWalletAsset":"現金錢包","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"建立新支出帳戶","create_new_revenue":"建立新收入帳戶","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"拆分交易的描述","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"錯誤!","store_transaction":"Store transaction","flash_success":"成功!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"搜尋","create_new_asset":"建立新資產帳戶","asset_accounts":"資產帳戶","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"位置","other_budgets":"Custom timed budgets","journal_links":"交易連結","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"收入帳戶","add_another_split":"增加拆分","actions":"操作","earned":"已賺得","empty":"(empty)","edit":"編輯","never":"未有資料","account_type_Loan":"貸款","account_type_Mortgage":"抵押","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"負債","delete":"刪除","store_new_asset_account":"儲存新資產帳戶","store_new_expense_account":"儲存新支出帳戶","store_new_liabilities_account":"儲存新債務","store_new_revenue_account":"儲存新收入帳戶","mandatoryFields":"必要欄位","optionalFields":"選填欄位","reconcile_this_account":"對帳此帳戶","interest_calc_weekly":"Per week","interest_calc_monthly":"每月","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"每年","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(空)"},"list":{"piggy_bank":"小豬撲滿","percentage":"pct.","amount":"金額","lastActivity":"上次活動","name":"名稱","role":"角色","iban":"國際銀行帳戶號碼 (IBAN)","interest":"利率","interest_period":"利率期","liability_type":"負債類型","liability_direction":"(list.liability_direction)","currentBalance":"目前餘額","next_expected_match":"下一個預期的配對"},"config":{"html_language":"zh-tw","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"外幣金額","interest_date":"利率日期","name":"名稱","amount":"金額","iban":"國際銀行帳戶號碼 (IBAN)","BIC":"BIC","notes":"備註","location":"Location","attachments":"附加檔案","active":"啟用","include_net_worth":"包括淨值","account_number":"帳戶號碼","virtual_balance":"虛擬餘額","opening_balance":"初始餘額","opening_balance_date":"初始餘額日期","date":"日期","interest":"利率","interest_period":"利率期","currency_id":"貨幣","liability_type":"Liability type","account_role":"帳戶角色","liability_direction":"Liability in/out","book_date":"登記日期","permDeleteWarning":"自 Firefly III 刪除項目是永久且不可撤銷的。","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"處理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"發票日期"}}')}},e=>{"use strict";e.O(0,[228],(()=>{return t=1588,e(e.s=t);var t}));e.O()}]);+(self.webpackChunk=self.webpackChunk||[]).push([[847],{232:(e,t,a)=>{"use strict";a.r(t);var n=a(7760),i=a.n(n),o=a(7152),s=a(4605);window.$=window.jQuery=a(9755),window.axios=a(9669),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var r=document.head.querySelector('meta[name="csrf-token"]');r?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=r.content:console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token");var c=document.head.querySelector('meta[name="locale"]');localStorage.locale=c?c.content:"en_US",a(6891),a(3734),a(7632),a(5432),window.vuei18n=o.Z,window.uiv=s,i().use(vuei18n),i().use(s),window.Vue=i()},9899:(e,t,a)=>{"use strict";a.d(t,{Z:()=>x});var n=a(7760),i=a.n(n),o=a(629),s=a(4478),r=a(3465);const c={namespaced:!0,state:function(){return{transactionType:"any",groupTitle:"",transactions:[],customDateFields:{interest_date:!1,book_date:!1,process_date:!1,due_date:!1,payment_date:!1,invoice_date:!1},defaultTransaction:(0,s.f$)(),defaultErrors:(0,s.kQ)()}},getters:{transactions:function(e){return e.transactions},defaultErrors:function(e){return e.defaultErrors},groupTitle:function(e){return e.groupTitle},transactionType:function(e){return e.transactionType},accountToTransaction:function(e){return e.accountToTransaction},defaultTransaction:function(e){return e.defaultTransaction},sourceAllowedTypes:function(e){return e.sourceAllowedTypes},destinationAllowedTypes:function(e){return e.destinationAllowedTypes},allowedOpposingTypes:function(e){return e.allowedOpposingTypes},customDateFields:function(e){return e.customDateFields}},actions:{},mutations:{addTransaction:function(e){var t=r(e.defaultTransaction);t.errors=r(e.defaultErrors),e.transactions.push(t)},resetErrors:function(e,t){e.transactions[t.index].errors=r(e.defaultErrors)},resetTransactions:function(e){e.transactions=[]},setGroupTitle:function(e,t){e.groupTitle=t.groupTitle},setCustomDateFields:function(e,t){e.customDateFields=t},deleteTransaction:function(e,t){e.transactions.splice(t.index,1),e.transactions.length},setTransactionType:function(e,t){e.transactionType=t},setAllowedOpposingTypes:function(e,t){e.allowedOpposingTypes=t},setAccountToTransaction:function(e,t){e.accountToTransaction=t},updateField:function(e,t){e.transactions[t.index][t.field]=t.value},setTransactionError:function(e,t){e.transactions[t.index].errors[t.field]=t.errors},setDestinationAllowedTypes:function(e,t){e.destinationAllowedTypes=t},setSourceAllowedTypes:function(e,t){e.sourceAllowedTypes=t}}};const l={namespaced:!0,state:function(){return{}},getters:{},actions:{},mutations:{}};var _=a(9119),u=a(3894),d=a(584),p=a(7090),y=a(4431),g=a(8358),m=a(4135),h=a(3703);const f={namespaced:!0,state:function(){return{viewRange:"default",start:null,end:null,defaultStart:null,defaultEnd:null}},getters:{start:function(e){return e.start},end:function(e){return e.end},defaultStart:function(e){return e.defaultStart},defaultEnd:function(e){return e.defaultEnd},viewRange:function(e){return e.viewRange}},actions:{initialiseStore:function(e){e.dispatch("restoreViewRange"),axios.get("./api/v1/preferences/viewRange").then((function(t){var a=t.data.data.attributes.data,n=e.getters.viewRange;e.commit("setViewRange",a),a!==n&&e.dispatch("setDatesFromViewRange"),a===n&&e.dispatch("restoreViewRangeDates")})).catch((function(){e.commit("setViewRange","1M"),e.dispatch("setDatesFromViewRange")}))},restoreViewRangeDates:function(e){localStorage.viewRangeStart&&e.commit("setStart",new Date(localStorage.viewRangeStart)),localStorage.viewRangeEnd&&e.commit("setEnd",new Date(localStorage.viewRangeEnd)),localStorage.viewRangeDefaultStart&&e.commit("setDefaultStart",new Date(localStorage.viewRangeDefaultStart)),localStorage.viewRangeDefaultEnd&&e.commit("setDefaultEnd",new Date(localStorage.viewRangeDefaultEnd))},restoreViewRange:function(e){var t=localStorage.getItem("viewRange");null!==t&&e.commit("setViewRange",t)},setDatesFromViewRange:function(e){var t,a,n=e.getters.viewRange,i=new Date;switch(n){case"1D":t=(0,_.Z)(i),a=(0,u.Z)(i);break;case"1W":t=(0,_.Z)((0,d.Z)(i,{weekStartsOn:1})),a=(0,u.Z)((0,p.Z)(i,{weekStartsOn:1}));break;case"1M":t=(0,_.Z)((0,h.Z)(i)),a=(0,u.Z)((0,m.Z)(i));break;case"3M":t=(0,_.Z)((0,y.Z)(i)),a=(0,u.Z)((0,g.Z)(i));break;case"6M":i.getMonth()<=5&&((t=new Date(i)).setMonth(0),t.setDate(1),t=(0,_.Z)(t),(a=new Date(i)).setMonth(5),a.setDate(30),a=(0,u.Z)(t)),i.getMonth()>5&&((t=new Date(i)).setMonth(6),t.setDate(1),t=(0,_.Z)(t),(a=new Date(i)).setMonth(11),a.setDate(31),a=(0,u.Z)(t));break;case"1Y":(t=new Date(i)).setMonth(0),t.setDate(1),t=(0,_.Z)(t),(a=new Date(i)).setMonth(11),a.setDate(31),a=(0,u.Z)(a)}e.commit("setStart",t),e.commit("setEnd",a),e.commit("setDefaultStart",t),e.commit("setDefaultEnd",a)}},mutations:{setStart:function(e,t){e.start=t,window.localStorage.setItem("viewRangeStart",t)},setEnd:function(e,t){e.end=t,window.localStorage.setItem("viewRangeEnd",t)},setDefaultStart:function(e,t){e.defaultStart=t,window.localStorage.setItem("viewRangeDefaultStart",t)},setDefaultEnd:function(e,t){e.defaultEnd=t,window.localStorage.setItem("viewRangeDefaultEnd",t)},setViewRange:function(e,t){e.viewRange=t,window.localStorage.setItem("viewRange",t)}}};var b=function(){return{listPageSize:33,timezone:""}},v={initialiseStore:function(e){localStorage.listPageSize&&(b.listPageSize=localStorage.listPageSize,e.commit("setListPageSize",{length:localStorage.listPageSize})),localStorage.listPageSize||axios.get("./api/v1/preferences/listPageSize").then((function(t){e.commit("setListPageSize",{length:parseInt(t.data.data.attributes.data)})})),localStorage.timezone&&(b.timezone=localStorage.timezone,e.commit("setTimezone",{timezone:localStorage.timezone})),localStorage.timezone||axios.get("./api/v1/configuration/app.timezone").then((function(t){e.commit("setTimezone",{timezone:t.data.data.value})}))}};const k={namespaced:!0,state:b,getters:{listPageSize:function(e){return e.listPageSize},timezone:function(e){return e.timezone}},actions:v,mutations:{setListPageSize:function(e,t){var a=parseInt(t.length);0!==a&&(e.listPageSize=a,localStorage.listPageSize=a)},setTimezone:function(e,t){""!==t.timezone&&(e.timezone=t.timezone,localStorage.timezone=t.timezone)}}};const w={namespaced:!0,state:function(){return{orderMode:!1,activeFilter:1}},getters:{orderMode:function(e){return e.orderMode},activeFilter:function(e){return e.activeFilter}},actions:{},mutations:{setOrderMode:function(e,t){e.orderMode=t},setActiveFilter:function(e,t){e.activeFilter=t}}};i().use(o.ZP);const x=new o.ZP.Store({namespaced:!0,modules:{root:k,transactions:{namespaced:!0,modules:{create:c,edit:l}},accounts:{namespaced:!0,modules:{index:w}},dashboard:{namespaced:!0,modules:{index:f}}},strict:false,plugins:[],state:{currencyPreference:{},locale:"en-US",listPageSize:50},mutations:{setCurrencyPreference:function(e,t){e.currencyPreference=t.payload},initialiseStore:function(e){if(localStorage.locale)e.locale=localStorage.locale;else{var t=document.head.querySelector('meta[name="locale"]');t&&(e.locale=t.content,localStorage.locale=t.content)}}},getters:{currencyCode:function(e){return e.currencyPreference.code},currencyPreference:function(e){return e.currencyPreference},currencyId:function(e){return e.currencyPreference.id},locale:function(e){return e.locale}},actions:{updateCurrencyPreference:function(e){localStorage.currencyPreference?e.commit("setCurrencyPreference",{payload:JSON.parse(localStorage.currencyPreference)}):axios.get("./api/v1/currencies/default").then((function(t){var a={id:parseInt(t.data.data.id),name:t.data.data.attributes.name,symbol:t.data.data.attributes.symbol,code:t.data.data.attributes.code,decimal_places:parseInt(t.data.data.attributes.decimal_places)};localStorage.currencyPreference=JSON.stringify(a),e.commit("setCurrencyPreference",{payload:a})})).catch((function(t){console.error(t),e.commit("setCurrencyPreference",{payload:{id:1,name:"Euro",symbol:"€",code:"EUR",decimal_places:2}})}))}}})},157:(e,t,a)=>{e.exports=new vuei18n({locale:document.documentElement.lang,fallbackLocale:"en",messages:{bg:a(7154),cs:a(6407),de:a(4726),en:a(3340),"en-us":a(3340),"en-gb":a(6318),es:a(5394),el:a(3636),fr:a(2551),hu:a(995),it:a(9112),nl:a(4671),nb:a(9085),pl:a(6238),fi:a(7868),"pt-br":a(6586),"pt-pt":a(8664),ro:a(1102),ru:a(753),"zh-tw":a(1715),"zh-cn":a(4556),sk:a(7049),sv:a(7921),vi:a(1497)}})},2086:(e,t,a)=>{"use strict";var n=a(9899),i=a(629),o=a(3324),s=a(7070),r=a(8151),c=a(5524),l=a(4478);function _(e){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function d(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?u(Object(a),!0).forEach((function(t){p(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):u(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function p(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var y=a(3465);const g={name:"Edit",created:function(){var e=window.location.pathname.split("/");this.groupId=parseInt(e[e.length-1]),this.transactions=[],this.getTransactionGroup(),this.getAllowedOpposingTypes(),this.getCustomFields()},data:function(){return{successMessage:{type:String,default:""},errorMessage:{type:String,default:""},warningMessage:{type:String,default:""},transactions:{type:Array,default:function(){return[]}},originalTransactions:{type:Array,default:function(){return[]}},groupTitle:{type:String,default:""},originalGroupTitle:{type:String,default:""},transactionType:{type:String,default:"any"},groupId:{type:Number,default:0},groupTitleErrors:{type:Array,default:function(){return[]}},customFields:{type:Object,default:function(){return{}}},returnedGroupId:{type:Number,default:0},returnedGroupTitle:{type:String,default:""},date:{type:String,default:""},originalDate:{type:String,default:""},submittedTransaction:{type:Boolean,default:!1},submittedAttachments:{type:Number,default:-1},inError:{type:Boolean,default:!1},submittedAttCount:{type:Object,default:function(){return{}}},allowedOpposingTypes:{type:Object,default:function(){return{}}},destinationAllowedTypes:{type:Array,default:function(){return[]}},sourceAllowedTypes:{type:Array,default:function(){return[]}},enableSubmit:!0,stayHere:!1}},components:{Alert:o.Z,SplitPills:s.Z,SplitForm:r.Z,TransactionGroupTitle:c.Z},watch:{submittedAttachments:function(){this.finaliseSubmission()}},methods:d(d({},(0,i.OI)("transactions/create",["updateField"])),{},{getTransactionGroup:function(){var e=this;axios.get("./api/v1/transactions/"+this.groupId).then((function(t){e.parseTransactionGroup(t.data)})).catch((function(e){}))},parseTransactionGroup:function(e){var t=e.data.attributes,a=t.transactions.reverse();for(var n in this.groupTitle=t.group_title,this.originalGroupTitle=t.group_title,this.transactions=[],this.originalTransactions=[],this.returnedGroupTitle=null===this.originalGroupTitle?e.data.attributes.transactions[0].description:this.originalGroupTitle,a)if(a.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294){console.log("Parsing transaction nr "+n);var i=this.parseTransaction(parseInt(n),a[n]);this.transactions.push(i),this.originalTransactions.push(y(i)),this.parseLinks(parseInt(i.transaction_journal_id),parseInt(n))}},parseTransaction:function(e,t){var a;0===e&&(this.transactionType=t.type.charAt(0).toUpperCase()+t.type.slice(1),this.sourceAllowedTypes=[t.source_type],this.destinationAllowedTypes=[t.destination_type],this.date=t.date.substring(0,16),this.originalDate=t.date.substring(0,16));var n=(0,l.f$)();return n.description=t.description,n.transaction_journal_id=parseInt(t.transaction_journal_id),n.source_account_id=t.source_id,n.source_account_name=t.source_name,n.source_account_type=t.source_type,n.destination_account_id=t.destination_id,n.destination_account_name=t.destination_name,n.destination_account_type=t.destination_type,n.amount=t.amount,n.currency_id=t.currency_id,n.foreign_amount=t.foreign_amount,n.foreign_currency_id=t.foreign_currency_id,n.category=t.category_name,n.budget_id=t.budget_id,n.bill_id=null!==(a=t.bill_id)&&void 0!==a?a:0,n.tags=t.tags,n.interest_date=t.interest_date?t.interest_date.substr(0,10):"",n.book_date=t.book_date?t.book_date.substr(0,10):"",n.process_date=t.process_date?t.process_date.substr(0,10):"",n.due_date=t.due_date?t.due_date.substr(0,10):"",n.payment_date=t.payment_date?t.payment_date.substr(0,10):"",n.invoice_date=t.invoice_date?t.invoice_date.substr(0,10):"",n.internal_reference=t.internal_reference,n.external_url=t.external_uri,n.external_id=t.external_id,n.notes=t.notes,n.location={zoom_level:t.zoom_level,longitude:t.longitude,latitude:t.latitude},n.zoom_level=t.zoom_level,n.longitude=t.longitude,n.latitude=t.latitude,n.errors=(0,l.kQ)(),n},parseLinks:function(e,t){var a=this;axios.get("./api/v1/transaction-journals/"+e+"/links").then((function(n){var i=n.data.data;for(var o in i)i.hasOwnProperty(o)&&/^0$|^[1-9]\d*$/.test(o)&&o<=4294967294&&a.parseLink(i[o],e,t)}))},parseLink:function(e,t,a){var n=this,i=[],o=parseInt(e.attributes.inward_id),s="inward";o===t&&(o=parseInt(e.attributes.outward_id),s="outward"),i.push(new Promise((function(n){n({link:e,journalId:t,opposingId:o,index:a,direction:s})}))),i.push(axios.get("./api/v1/transaction-journals/"+o)),i.push(axios.get("./api/v1/transaction_links/"+e.attributes.link_type_id)),Promise.all(i).then((function(t){var a=t[1].data.data.attributes.transactions,i=t[0].opposingId,o={};for(var s in a)a.hasOwnProperty(s)&&/^0$|^[1-9]\d*$/.test(s)&&s<=4294967294&&a[s].transaction_journal_id===i&&(o=a[s]);var r=t[0].index,c=t[0].direction,l=t[2].data.data.id,_={id:e.id,link_type_id:l+"-"+c,transaction_group_id:t[1].data.data.id,transaction_journal_id:o.transaction_journal_id,description:o.description,type:o.type,currency_code:o.currency_code,amount:o.amount};n.transactions[r].links.push(_),n.originalTransactions[r].links.push(_)}))},getAllowedOpposingTypes:function(){var e=this;axios.get("./api/v1/configuration/firefly.allowed_opposing_types").then((function(t){e.allowedOpposingTypes=t.data.data.value}))},getCustomFields:function(){var e=this;axios.get("./api/v1/preferences/transaction_journal_optional_fields").then((function(t){e.customFields=t.data.data.attributes.data}))},uploadedAttachment:function(e){this.submittedAttachments=0;var t="str"+e;this.submittedAttCount[t]=1,Object.keys(this.submittedAttCount).length===this.transactions.length&&(this.submittedAttachments=1)},storeLocation:function(e){this.transactions[e.index].zoom_level=e.zoomLevel,this.transactions[e.index].longitude=e.lng,this.transactions[e.index].latitude=e.lat},storeAccountValue:function(e){var t=e.direction,a=e.index;this.transactions[a][t+"_account_id"]=e.id,this.transactions[a][t+"_account_type"]=e.type,this.transactions[a][t+"_account_name"]=e.name},storeDate:function(e){this.date=e.date},storeField:function(e){var t=e.field;"category"===t&&(t="category_name"),this.transactions[e.index][t]=e.value},removeTransaction:function(e){var t=0;for(var a in this.transactions)this.transactions.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294&&(console.log("Now at index: "+a),t===e.index&&(console.log("Delete!"),this.transactions.splice(t,1)),t++);$("#transactionTabs li:first-child a").tab("show")},storeGroupTitle:function(e){this.groupTitle=e},selectedAttachments:function(e){for(var t in this.transactions)this.transactions.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294&&parseInt(this.transactions[t].transaction_journal_id)===parseInt(e.id)&&(this.transactions[t].selectedAttachments=!0)},addTransaction:function(e){e.preventDefault();var t=(0,l.f$)();t.errors=(0,l.kQ)(),this.transactions.push(t)},submitTransaction:function(e){e.preventDefault(),this.enableSubmit=!1;var t={transactions:[]},a=!1,n=!1,i=!1;this.groupTitle!==this.originalGroupTitle&&(t.group_title=this.groupTitle,a=!0);var o=this.transactions.length;for(var s in o>1&&void 0===t.group_title&&(null===this.originalGroupTitle||""===this.originalGroupTitle)&&(t.group_title=this.transactions[0].description,a=!0),this.transactions)if(this.transactions.hasOwnProperty(s)&&/^0$|^[1-9]\d*$/.test(s)&&s<=4294967294){var r=this.transactions[s],c=this.originalTransactions.hasOwnProperty(s)?this.originalTransactions[s]:{},l={},u=["description","source_account_id","source_account_name","destination_account_id","destination_account_name","amount","foreign_amount","foreign_currency_id","category_name","budget_id","bill_id","interest_date","book_date","due_date","payment_date","invoice_date","external_url","internal_reference","external_id","notes","zoom_level","longitude","latitude"];for(var d in s>0&&(l.type=this.transactionType.toLowerCase(),"deposit"!==this.transactionType.toLowerCase()&&"transfer"!==this.transactionType.toLowerCase()||(r.destination_account_name=this.originalTransactions[0].destination_account_name,r.destination_account_id=this.originalTransactions[0].destination_account_id),"withdrawal"!==this.transactionType.toLowerCase()&&"transfer"!==this.transactionType.toLowerCase()||(r.source_account_name=this.originalTransactions[0].source_account_name,r.source_account_id=this.originalTransactions[0].source_account_id)),u)if(u.hasOwnProperty(d)&&/^0$|^[1-9]\d*$/.test(d)&&d<=4294967294){var p=u[d],g=p;if(null===r[p]&&void 0===c[p])continue;if(r[p]!==c[p]){if("foreign_amount"===g&&""===r[p])continue;if("foreign_currency_id"===g&&0===r[p])continue;"source_account_id"===g&&(g="source_id"),"source_account_name"===g&&(g="source_name"),"destination_account_id"===g&&(g="destination_id"),"destination_account_name"===g&&(g="destination_name"),l[g]=r[p],a=!0}}if(JSON.stringify(r.tags)!==JSON.stringify(c.tags)){if(l.tags=[],0!==r.tags.length)for(var m in r.tags)if(r.tags.hasOwnProperty(m)&&/^0$|^[1-9]\d*$/.test(m)&&m<=4294967294){var h=r.tags[m];"object"===_(h)&&null!==h&&l.tags.push(h.text),"string"==typeof h&&l.tags.push(h)}a=!0}if(this.compareLinks(r.links)!==this.compareLinks(c.links)&&(n=!0),void 0!==r.selectedAttachments&&!0===r.selectedAttachments&&(i=!0),!0===a&&(l.date=this.date),this.date!==this.originalDate&&(a=!0,l.date=this.date),0===Object.keys(l).length&&o>1)l.transaction_journal_id=c.transaction_journal_id,t.transactions.push(y(l)),a=!0;else if(0!==Object.keys(l).length){var f;l.transaction_journal_id=null!==(f=c.transaction_journal_id)&&void 0!==f?f:0,t.transactions.push(y(l)),a=!0}}this.submitUpdate(t,a,n,i)},submitData:function(e,t){if(!e)return new Promise((function(e){e({})}));var a="./api/v1/transactions/"+this.groupId;return axios.put(a,t)},handleSubmissionResponse:function(e){this.submittedTransaction=!0;var t=[];if(void 0!==e.data){var a;this.returnedGroupId=null!==(a=parseInt(e.data.data.id))&&void 0!==a?a:null,this.returnedGroupTitle=null===e.data.data.attributes.group_title?e.data.data.attributes.transactions[0].description:e.data.data.attributes.group_title;var n=e.data.data.attributes.transactions;for(var i in n)n.hasOwnProperty(i)&&/^0$|^[1-9]\d*$/.test(i)&&i<=4294967294&&t.push(parseInt(n[i].transaction_journal_id))}else for(var o in this.transactions)this.transactions.hasOwnProperty(o)&&/^0$|^[1-9]\d*$/.test(o)&&o<=4294967294&&t.push(this.transactions[o].transaction_journal_id);return t=t.reverse(),new Promise((function(e){e({journals:t})}))},submitLinks:function(e){var t=this;return e?this.deleteAllOriginalLinks().then((function(){return t.submitNewLinks()})):new Promise((function(e){e({})}))},submitAttachments:function(e,t){if(console.log("submitAttachments"),!e)return console.log("no need!"),this.submittedAttachments=1,new Promise((function(e){e({})}));var a=!1;for(var n in this.transactions)if(this.transactions.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294){var i=this.transactions[n],o=i.transaction_journal_id;void 0!==t&&(o=t.journals[n]);var s=i.selectedAttachments;this.transactions[n].transaction_journal_id=o,this.transactions[n].uploadTrigger=!0,s&&(a=!0)}!0===a&&(this.submittedAttachments=0)},finaliseSubmission:function(){if(0!==this.submittedAttachments){var e;if(!0===this.stayHere&&!1===this.inError&&(this.errorMessage="",this.warningMessage="",this.successMessage=this.$t("firefly.transaction_updated_link",{ID:this.groupId,title:this.returnedGroupTitle})),!1===this.stayHere&&!1===this.inError)window.location.href=(null!==(e=window.previousURL)&&void 0!==e?e:"/")+"?transaction_group_id="+this.groupId+"&message=updated";for(var t in this.enableSubmit=!0,this.submittedAttachments=-1,this.inError=!1,this.transactions)this.transactions.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294&&this.transactions.hasOwnProperty(t)&&(this.transactions[t].clearTrigger=!0)}},submitUpdate:function(e,t,a,n){var i=this;this.inError=!1,this.submitData(t,e).then(this.handleSubmissionResponse).then((function(e){return Promise.all([i.submitLinks(a,e),i.submitAttachments(n,e)])})).then(this.finaliseSubmission).catch(this.handleSubmissionError)},compareLinks:function(e){var t=[];for(var a in e)e.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294&&t.push({amount:e[a].amount,currency_code:e[a].currency_code,description:e[a].description,link_type_id:e[a].link_type_id,transaction_group_id:e[a].transaction_group_id,type:e[a].type});return JSON.stringify(t)},parseErrors:function(e){for(var t in this.transactions)this.transactions.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294&&this.resetErrors({index:t});var a,n,i;for(var o in this.successMessage="",this.errorMessage=this.$t("firefly.errors_submission"),void 0===e.errors&&(this.successMessage="",this.errorMessage=e.message),e.errors)if(e.errors.hasOwnProperty(o)){if("group_title"===o){this.groupTitleErrors=e.errors[o];continue}if("group_title"!==o)switch(n=parseInt(o.split(".")[1]),i=o.split(".")[2]){case"amount":case"description":case"date":case"tags":a={index:n,field:i,errors:e.errors[o]},this.setTransactionError(a);break;case"budget_id":a={index:n,field:"budget",errors:e.errors[o]},this.setTransactionError(a);break;case"bill_id":a={index:n,field:"bill",errors:e.errors[o]},this.setTransactionError(a);break;case"piggy_bank_id":a={index:n,field:"piggy_bank",errors:e.errors[o]},this.setTransactionError(a);break;case"category_name":a={index:n,field:"category",errors:e.errors[o]},this.setTransactionError(a);break;case"source_name":case"source_id":a={index:n,field:"source",errors:e.errors[o]},this.setTransactionError(a);break;case"destination_name":case"destination_id":a={index:n,field:"destination",errors:e.errors[o]},this.setTransactionError(a);break;case"foreign_amount":case"foreign_currency":a={index:n,field:"foreign_amount",errors:e.errors[o]},this.setTransactionError(a)}this.transactions[n]}},setTransactionError:function(e){this.transactions[e.index].errors[e.field]=e.errors},resetErrors:function(e){this.transactions[e.index].errors=y((0,l.kQ)())},deleteOriginalLinks:function(e){var t=[];for(var a in e.links)if(e.links.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n="/api/v1/transaction_links/"+e.links[a].id;t.push(axios.delete(n))}return Promise.all(t)},deleteAllOriginalLinks:function(){var e=[];for(var t in this.transactions)if(this.transactions.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=this.transactions[t],n=this.originalTransactions.hasOwnProperty(t)?this.originalTransactions[t]:{},i=this.compareLinks(a.links),o=this.compareLinks(n.links);i!==o?"[]"!==o&&e.push(this.deleteOriginalLinks(n)):e.push(new Promise((function(e){e({})})))}return Promise.all(e)},submitNewLinks:function(){var e=[];for(var t in this.transactions)if(this.transactions.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=this.transactions[t];for(var n in a.links)if(a.links.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294){var i=a.links[n],o={inward_id:a.transaction_journal_id,outward_id:a.transaction_journal_id,link_type_id:"something"},s=i.link_type_id.split("-");o.link_type_id=s[0],"inward"===s[1]&&(o.inward_id=i.transaction_journal_id),"outward"===s[1]&&(o.outward_id=i.transaction_journal_id),e.push(axios.post("./api/v1/transaction_links",o))}}return Promise.all(e)},submitTransactionLinksX:function(){},finalizeSubmitX:function(){if(this.submittedTransaction&&this.submittedAttachments&&this.submittedLinks){var e,t;if(!0===this.stayHere&&!1===this.inError&&0===this.returnedGroupId&&(this.errorMessage="",this.successMessage="",this.warningMessage=this.$t("firefly.transaction_updated_no_changes",{ID:this.returnedGroupId,title:this.returnedGroupTitle})),!1===this.stayHere&&!1===this.inError&&0===this.returnedGroupId)window.location.href=(null!==(e=window.previousURL)&&void 0!==e?e:"/")+"?transaction_group_id="+this.groupId+"&message=no_change";if(!0===this.stayHere&&!1===this.inError&&0!==this.returnedGroupId&&(this.errorMessage="",this.warningMessage="",this.successMessage=this.$t("firefly.transaction_updated_link",{ID:this.returnedGroupId,title:this.returnedGroupTitle})),!1===this.stayHere&&!1===this.inError&&0!==this.returnedGroupId)window.location.href=(null!==(t=window.previousURL)&&void 0!==t?t:"/")+"?transaction_group_id="+this.groupId+"&message=updated";for(var a in this.enableSubmit=!0,this.submittedTransaction=!1,this.submittedLinks=!1,this.submittedAttachments=!1,this.inError=!1,this.transactions)this.transactions.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294&&this.transactions.hasOwnProperty(a)}}})};const m=(0,a(1900).Z)(g,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("Alert",{attrs:{message:e.errorMessage,type:"danger"}}),e._v(" "),a("Alert",{attrs:{message:e.successMessage,type:"success"}}),e._v(" "),a("Alert",{attrs:{message:e.warningMessage,type:"warning"}}),e._v(" "),a("form",{attrs:{autocomplete:"off"},on:{submit:e.submitTransaction}},[a("SplitPills",{attrs:{transactions:e.transactions,count:e.transactions.length}}),e._v(" "),a("div",{staticClass:"tab-content"},e._l(this.transactions,(function(t,n){return a("SplitForm",{key:t.transaction_journal_id,attrs:{index:n,key:t.transaction_journal_id,transaction:t,date:e.date,count:e.transactions.length,"transaction-type":e.transactionType,"source-allowed-types":e.sourceAllowedTypes,"allowed-opposing-types":e.allowedOpposingTypes,"custom-fields":e.customFields,"destination-allowed-types":e.destinationAllowedTypes,"allow-switch":!1},on:{"uploaded-attachments":function(t){return e.uploadedAttachment(t)},"set-marker-location":function(t){return e.storeLocation(t)},"set-account":function(t){return e.storeAccountValue(t)},"set-date":function(t){return e.storeDate(t)},"set-field":function(t){return e.storeField(t)},"remove-transaction":function(t){return e.removeTransaction(t)},"selected-attachments":function(t){return e.selectedAttachments(t)}}})})),1),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},[e.transactions.length>1?a("div",{staticClass:"card"},[a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("TransactionGroupTitle",{attrs:{errors:this.groupTitleErrors},on:{"set-group-title":function(t){return e.storeGroupTitle(t)}},model:{value:this.groupTitle,callback:function(t){e.$set(this,"groupTitle",t)},expression:"this.groupTitle"}})],1)])])]):e._e()]),e._v(" "),a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n \n ")]),e._v(" "),a("button",{staticClass:"btn btn-outline-primary btn-block",attrs:{type:"button"},on:{click:e.addTransaction}},[a("i",{staticClass:"far fa-clone"}),e._v("\n "+e._s(e.$t("firefly.add_another_split"))+"\n ")])]),e._v(" "),a("div",{staticClass:"col"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n \n ")]),e._v(" "),a("button",{staticClass:"btn btn-info btn-block",attrs:{disabled:!e.enableSubmit},on:{click:e.submitTransaction}},[e.enableSubmit?a("span",[a("i",{staticClass:"far fa-save"}),e._v(" "+e._s(e.$t("firefly.update_transaction")))]):e._e(),e._v(" "),e.enableSubmit?e._e():a("span",[a("i",{staticClass:"fas fa-spinner fa-spin"})])])])]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[e._v("\n \n ")]),e._v(" "),a("div",{staticClass:"col"},[a("div",{staticClass:"form-check"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.stayHere,expression:"stayHere"}],staticClass:"form-check-input",attrs:{id:"stayHere",type:"checkbox"},domProps:{checked:Array.isArray(e.stayHere)?e._i(e.stayHere,null)>-1:e.stayHere},on:{change:function(t){var a=e.stayHere,n=t.target,i=!!n.checked;if(Array.isArray(a)){var o=e._i(a,null);n.checked?o<0&&(e.stayHere=a.concat([null])):o>-1&&(e.stayHere=a.slice(0,o).concat(a.slice(o+1)))}else e.stayHere=i}}}),e._v(" "),a("label",{staticClass:"form-check-label",attrs:{for:"stayHere"}},[a("span",{staticClass:"small"},[e._v(e._s(e.$t("firefly.after_update_create_another")))])])])])])])])])])],1)],1)}),[],!1,null,"23b5bf31",null).exports;var h=a(7760),f=a.n(h);a(232),f().config.productionTip=!1;var b=a(157),v={};new(f())({i18n:b,store:n.Z,render:function(e){return e(m,{props:v})},beforeCreate:function(){this.$store.commit("initialiseStore"),this.$store.dispatch("updateCurrencyPreference")}}).$mount("#transactions_edit")},4478:(e,t,a)=>{"use strict";function n(){return{description:[],amount:[],source:[],destination:[],currency:[],foreign_currency:[],foreign_amount:[],date:[],custom_dates:[],budget:[],category:[],bill:[],tags:[],piggy_bank:[],internal_reference:[],external_url:[],notes:[],location:[]}}function i(){return{description:"",transaction_journal_id:0,source_account_id:null,source_account_name:null,source_account_type:null,source_account_currency_id:null,source_account_currency_code:null,source_account_currency_symbol:null,destination_account_id:null,destination_account_name:null,destination_account_type:null,destination_account_currency_id:null,destination_account_currency_code:null,destination_account_currency_symbol:null,attachments:!1,selectedAttachments:!1,uploadTrigger:!1,clearTrigger:!1,source_account:{id:0,name:"",name_with_balance:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2},destination_account:{id:0,name:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2},amount:"",currency_id:0,foreign_amount:"",foreign_currency_id:0,category:null,budget_id:0,bill_id:0,piggy_bank_id:0,tags:[],interest_date:null,book_date:null,process_date:null,due_date:null,payment_date:null,invoice_date:null,internal_reference:null,external_url:null,external_id:null,notes:null,links:[],zoom_level:null,longitude:null,latitude:null,errors:{}}}a.d(t,{kQ:()=>n,f$:()=>i})},6665:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>r});var n=a(4015),i=a.n(n),o=a(3645),s=a.n(o)()(i());s.push([e.id,".vue-tags-input{max-width:100%!important;display:block}.ti-input,.vue-tags-input{width:100%;border-radius:.25rem}.ti-input{max-width:100%}.ti-new-tag-input{font-size:1rem}","",{version:3,sources:["webpack://./src/components/transactions/TransactionTags.vue"],names:[],mappings:"AA2HA,gBAEA,wBAAA,CACA,aAEA,CAEA,0BANA,UAAA,CAGA,oBAOA,CAJA,UAEA,cAEA,CAEA,kBACA,cACA",sourcesContent:['\x3c!--\n - TransactionTags.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n --\x3e\n\n<template>\n <div class="form-group">\n <div class="text-xs d-none d-lg-block d-xl-block">\n {{ $t(\'firefly.tags\') }}\n </div>\n <div class="input-group">\n <vue-tags-input\n v-model="currentTag"\n :add-only-from-autocomplete="false"\n :autocomplete-items="autocompleteItems"\n :tags="tags"\n :title="$t(\'firefly.tags\')"\n v-bind:placeholder="$t(\'firefly.tags\')"\n @tags-changed="newTags => this.tags = newTags"\n />\n </div>\n <span v-if="errors.length > 0">\n <span v-for="error in errors" class="text-danger small">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nimport VueTagsInput from "@johmun/vue-tags-input";\nimport axios from "axios";\n\nexport default {\n name: "TransactionTags",\n components: {\n VueTagsInput\n },\n props: [\'value\', \'index\', \'errors\'],\n data() {\n return {\n autocompleteItems: [],\n debounce: null,\n tags: [],\n currentTag: \'\',\n updateTags: true, // the idea is that this is always true, except when the tags-function sets the value.\n tagList: this.value,\n emitEvent: true\n };\n },\n created() {\n let tags = [];\n for (let i in this.value) {\n if (this.value.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n tags.push({text: this.value[i]});\n }\n }\n this.updateTags = false;\n this.tags = tags;\n },\n watch: {\n \'currentTag\': \'initItems\',\n value: function (value) {\n this.emitEvent = false;\n this.tagList = value;\n },\n tagList: function (value) {\n // console.log(\'watch tagList\');\n if (true === this.emitEvent) {\n this.$emit(\'set-field\', {field: \'tags\', index: this.index, value: value});\n }\n this.emitEvent = true;\n this.updateTags = false;\n this.tags = value;\n },\n tags: function (value) {\n if (this.updateTags) {\n let shortList = [];\n for (let key in value) {\n if (value.hasOwnProperty(key)) {\n shortList.push({text: value[key].text});\n }\n }\n this.tagList = shortList;\n }\n this.updateTags = true;\n }\n },\n methods: {\n initItems() {\n if (this.currentTag.length < 2) {\n return;\n }\n const url = document.getElementsByTagName(\'base\')[0].href + `api/v1/autocomplete/tags?query=${this.currentTag}`;\n\n clearTimeout(this.debounce);\n this.debounce = setTimeout(() => {\n axios.get(url).then(response => {\n this.autocompleteItems = response.data.map(item => {\n return {text: item.tag};\n });\n }).catch(() => console.warn(\'Oh. Something went wrong loading tags.\'));\n }, 300);\n },\n },\n\n\n}\n<\/script>\n<style>\n.vue-tags-input {\n width: 100%;\n max-width: 100% !important;\n display: block;\n border-radius: 0.25rem;\n}\n\n.ti-input {\n border-radius: 0.25rem;\n max-width: 100%;\n width: 100%;\n}\n\n.ti-new-tag-input {\n font-size: 1rem;\n}\n</style>\n'],sourceRoot:""}]);const r=s},3324:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});const n={name:"Alert",props:["message","type"]};const i=(0,a(1900).Z)(n,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.message.length>0?a("div",{class:"alert alert-"+e.type+" alert-dismissible"},[a("button",{staticClass:"close",attrs:{"aria-hidden":"true","data-dismiss":"alert",type:"button"}},[e._v("×")]),e._v(" "),a("h5",["danger"===e.type?a("i",{staticClass:"icon fas fa-ban"}):e._e(),e._v(" "),"success"===e.type?a("i",{staticClass:"icon fas fa-thumbs-up"}):e._e(),e._v(" "),"danger"===e.type?a("span",[e._v(e._s(e.$t("firefly.flash_error")))]):e._e(),e._v(" "),"success"===e.type?a("span",[e._v(e._s(e.$t("firefly.flash_success")))]):e._e()]),e._v(" "),a("span",{domProps:{innerHTML:e._s(e.message)}})]):e._e()}),[],!1,null,null,null).exports},8151:(e,t,a)=>{"use strict";a.d(t,{Z:()=>ie});var n=a(1668),i=a(6486);const o={props:["index","value","errors"],components:{VueTypeaheadBootstrap:n.Z},name:"TransactionDescription",data:function(){return{descriptions:[],initialSet:[],description:this.value}},created:function(){var e=this;axios.get(this.getACURL("")).then((function(t){e.descriptions=t.data,e.initialSet=t.data}))},methods:{clearDescription:function(){this.description=""},getACURL:function(e){return document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/transactions?query="+e},lookupDescription:(0,i.debounce)((function(){var e=this;axios.get(this.getACURL(this.value)).then((function(t){e.descriptions=t.data}))}),300)},watch:{value:function(e){this.description=e},description:function(e){this.$emit("set-field",{field:"description",index:this.index,value:e})}}};var s=a(1900);const r=(0,s.Z)(o,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("vue-typeahead-bootstrap",{attrs:{data:e.descriptions,inputClass:e.errors.length>0?"is-invalid":"",minMatchingChars:3,placeholder:e.$t("firefly.description"),serializer:function(e){return e.description},showOnFocus:!0,autofocus:"",inputName:"description[]"},on:{input:e.lookupDescription},model:{value:e.description,callback:function(t){e.description=t},expression:"description"}},[a("template",{slot:"append"},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"},on:{click:e.clearDescription}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()],1)}),[],!1,null,null,null).exports;function c(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function l(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const _={props:["index","errors","date"],name:"TransactionDate",created:function(){this.localTimeZone=Intl.DateTimeFormat().resolvedOptions().timeZone,this.systemTimeZone=this.timezone;var e=this.date.split("T");this.dateStr=e[0],this.timeStr=e[1]},data:function(){return{localDate:this.date,localTimeZone:"",systemTimeZone:"",timeStr:"",dateStr:""}},watch:{dateStr:function(e){this.$emit("set-date",{date:e+"T"+this.timeStr})},timeStr:function(e){this.$emit("set-date",{date:this.dateStr+"T"+e})}},methods:{},computed:function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?c(Object(a),!0).forEach((function(t){l(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):c(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}({},(0,a(629).Se)("root",["timezone"]))};const u=(0,s.Z)(_,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return 0===e.index?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.date_and_time"))+"\n ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.dateStr,expression:"dateStr"}],ref:"date",class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:e.dateStr,title:e.$t("firefly.date"),autocomplete:"off",name:"date[]",type:"date"},domProps:{value:e.dateStr},on:{input:function(t){t.target.composing||(e.dateStr=t.target.value)}}}),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.timeStr,expression:"timeStr"}],ref:"time",class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:e.timeStr,title:e.$t("firefly.time"),autocomplete:"off",name:"time[]",type:"time"},domProps:{value:e.timeStr},on:{input:function(t){t.target.composing||(e.timeStr=t.target.value)}}})]),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e(),e._v(" "),a("span",{staticClass:"text-muted small"},[e._v(e._s(e.localTimeZone)+":"+e._s(e.systemTimeZone))])]):e._e()}),[],!1,null,null,null).exports;const d={props:["index","value","errors"],name:"TransactionBudget",data:function(){return{budgetList:[],budget:this.value,emitEvent:!0}},created:function(){this.collectData()},methods:{collectData:function(){this.budgetList.push({id:0,name:this.$t("firefly.no_budget")}),this.getBudgets()},getBudgets:function(){var e=this;axios.get("./api/v1/budgets").then((function(t){e.parseBudgets(t.data)}))},parseBudgets:function(e){for(var t in e.data)if(e.data.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=e.data[t];if(!a.attributes.active)continue;this.budgetList.push({id:parseInt(a.id),name:a.attributes.name})}}},watch:{value:function(e){this.emitEvent=!1,this.budget=e},budget:function(e){this.$emit("set-field",{field:"budget_id",index:this.index,value:e})}}};const p=(0,s.Z)(d,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.budget"))+"\n ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:e.budget,expression:"budget"}],ref:"budget",class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{title:e.$t("firefly.budget"),autocomplete:"off",name:"budget_id[]"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.budget=t.target.multiple?a:a[0]}}},e._l(this.budgetList,(function(t){return a("option",{attrs:{label:t.name},domProps:{value:t.id}},[e._v(e._s(t.name))])})),0)]),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()])}),[],!1,null,null,null).exports;const y={name:"TransactionAccount",components:{VueTypeaheadBootstrap:n.Z},props:{index:{type:Number},direction:{type:String},value:{type:Object,default:function(){return{}}},errors:{type:Array,default:function(){return[]}},sourceAllowedTypes:{type:Array,default:function(){return[]}},destinationAllowedTypes:{type:Array,default:function(){return[]}},transactionType:{type:String,default:"any"}},data:function(){return{query:"",accounts:[],accountTypes:[],initialSet:[],selectedAccount:{},accountName:"",selectedAccountTrigger:!1}},created:function(){var e;this.accountName=null!==(e=this.value.name)&&void 0!==e?e:"",this.selectedAccountTrigger=!0},methods:{getACURL:function(e,t){return"./api/v1/autocomplete/accounts?types="+e.join(",")+"&query="+t},userSelectedAccount:function(e){this.selectedAccountTrigger=!0,this.selectedAccount=e},systemReturnedAccount:function(e){this.selectedAccountTrigger=!1,this.selectedAccount=e},clearAccount:function(){this.accounts=this.initialSet,this.accountName=""},lookupAccount:(0,i.debounce)((function(){var e=this;0===this.accountTypes.length&&(this.accountTypes="source"===this.direction?this.sourceAllowedTypes:this.destinationAllowedTypes),axios.get(this.getACURL(this.accountTypes,this.accountName)).then((function(t){e.accounts=t.data}))}),300),createInitialSet:function(){var e=this,t=this.sourceAllowedTypes;"destination"===this.direction&&(t=this.destinationAllowedTypes),axios.get(this.getACURL(t,"")).then((function(t){e.accounts=t.data,e.initialSet=t.data}))}},watch:{sourceAllowedTypes:function(e){this.createInitialSet()},destinationAllowedTypes:function(e){this.createInitialSet()},selectedAccount:function(e){!0===this.selectedAccountTrigger&&(this.$emit("set-account",{index:this.index,direction:this.direction,id:e.id,type:e.type,name:e.name,currency_id:e.currency_id,currency_code:e.currency_code,currency_symbol:e.currency_symbol}),this.accountName=e.name),this.selectedAccountTrigger,!1===this.selectedAccountTrigger&&this.accountName!==e.name&&null!==e.name&&(this.selectedAccountTrigger=!0,this.accountName=e.name)},accountName:function(e){this.selectedAccountTrigger,!1===this.selectedAccountTrigger&&this.$emit("set-account",{index:this.index,direction:this.direction,id:null,type:null,name:e,currency_id:null,currency_code:null,currency_symbol:null}),this.selectedAccountTrigger=!1},value:function(e){this.systemReturnedAccount(e)}},computed:{accountKey:{get:function(){return"source"===this.direction?"source_account":"destination_account"}},visible:{get:function(){return 0===this.index||("source"===this.direction?"any"===this.transactionType||"Deposit"===this.transactionType||void 0===this.transactionType:"destination"===this.direction&&("any"===this.transactionType||"Withdrawal"===this.transactionType||void 0===this.transactionType))}}}};const g=(0,s.Z)(y,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[e.visible?a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[0===this.index?a("span",[e._v(e._s(e.$t("firefly."+this.direction+"_account")))]):e._e(),e._v(" "),this.index>0?a("span",{staticClass:"text-warning"},[e._v(e._s(e.$t("firefly.first_split_overrules_"+this.direction)))]):e._e()]):e._e(),e._v(" "),e.visible?e._e():a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n \n ")]),e._v(" "),e.visible?a("vue-typeahead-bootstrap",{attrs:{data:e.accounts,inputClass:e.errors.length>0?"is-invalid":"",inputName:e.direction+"[]",minMatchingChars:3,placeholder:e.$t("firefly."+e.direction+"_account"),serializer:function(e){return e.name_with_balance},showOnFocus:!0,"aria-autocomplete":"none",autocomplete:"off"},on:{hit:e.userSelectedAccount,input:e.lookupAccount},scopedSlots:e._u([{key:"suggestion",fn:function(t){var n=t.data,i=t.htmlText;return[a("div",{staticClass:"d-flex",attrs:{title:n.type}},[a("span",{domProps:{innerHTML:e._s(i)}}),a("br")])]}}],null,!1,1423807661),model:{value:e.accountName,callback:function(t){e.accountName=t},expression:"accountName"}},[e._v(" "),a("template",{slot:"append"},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"},on:{click:e.clearAccount}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2):e._e(),e._v(" "),e.visible?e._e():a("div",{staticClass:"form-control-static"},[a("span",{staticClass:"small text-muted"},[a("em",[e._v(e._s(e.$t("firefly.first_split_decides")))])])]),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()],1)}),[],!1,null,null,null).exports;const m={name:"SwitchAccount",props:["index","transactionType"],methods:{}};const h=(0,s.Z)(m,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},["any"!==this.transactionType?a("span",{staticClass:"text-muted"},[e._v("\n "+e._s(e.$t("firefly."+this.transactionType))+"\n ")]):e._e(),e._v(" "),"any"===this.transactionType?a("span",{staticClass:"text-muted"},[e._v(" ")]):e._e()])])}),[],!1,null,"66a3afa9",null).exports;const f={name:"TransactionAmount",props:{index:{type:Number,default:0,required:!0},errors:{},amount:{},transactionType:{},sourceCurrencySymbol:{},destinationCurrencySymbol:{},fractionDigits:{default:2,required:!1}},created:function(){""!==this.amount&&(this.emitEvent=!1,this.transactionAmount=this.formatNumber(this.amount))},methods:{formatNumber:function(e){return parseFloat(e).toFixed(this.fractionDigits)}},data:function(){return{transactionAmount:this.amount,currencySymbol:null,srcCurrencySymbol:this.sourceCurrencySymbol,dstCurrencySymbol:this.destinationCurrencySymbol,emitEvent:!0}},watch:{transactionAmount:function(e){!0===this.emitEvent&&this.$emit("set-field",{field:"amount",index:this.index,value:e}),this.emitEvent=!0},amount:function(e){this.transactionAmount=e},sourceCurrencySymbol:function(e){this.srcCurrencySymbol=e},destinationCurrencySymbol:function(e){this.dstCurrencySymbol=e},transactionType:function(e){switch(e){case"Transfer":case"Withdrawal":this.currencySymbol=this.srcCurrencySymbol;break;case"Deposit":this.currencySymbol=this.dstCurrencySymbol}}}};const b=(0,s.Z)(f,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs"},[e._v(e._s(e.$t("firefly.amount")))]),e._v(" "),a("div",{staticClass:"input-group"},[e.currencySymbol?a("div",{staticClass:"input-group-prepend"},[a("div",{staticClass:"input-group-text"},[e._v(e._s(e.currencySymbol))])]):e._e(),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.transactionAmount,expression:"transactionAmount"}],class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:e.$t("firefly.amount"),title:e.$t("firefly.amount"),autocomplete:"off",name:"amount[]",type:"number",step:"any"},domProps:{value:e.transactionAmount},on:{input:function(t){t.target.composing||(e.transactionAmount=t.target.value)}}})]),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()])}),[],!1,null,"571f2c0a",null).exports;const v={name:"TransactionForeignAmount",props:{index:{},errors:{},value:{},transactionType:{},sourceCurrencyId:{},destinationCurrencyId:{},fractionDigits:{type:Number,default:2}},data:function(){return{amount:this.value,emitEvent:!0}},created:function(){""!==this.amount&&(this.emitEvent=!1,this.amount=this.formatNumber(this.amount))},methods:{formatNumber:function(e){return parseFloat(e).toFixed(this.fractionDigits)}},watch:{amount:function(e){!0===this.emitEvent&&this.$emit("set-field",{field:"foreign_amount",index:this.index,value:e}),this.emitEvent=!0},value:function(e){this.amount=e}},computed:{isVisible:{get:function(){return!("Transfer"===this.transactionType&&this.sourceCurrencyId===this.destinationCurrencyId)}}}};const k=(0,s.Z)(v,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.isVisible?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs"},[e._v(e._s(e.$t("form.foreign_amount")))]),e._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.amount,expression:"amount"}],class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:e.$t("form.foreign_amount"),title:e.$t("form.foreign_amount"),autocomplete:"off",name:"foreign_amount[]",type:"number"},domProps:{value:e.amount},on:{input:function(t){t.target.composing||(e.amount=t.target.value)}}})]),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()]):e._e()}),[],!1,null,"d13f8bea",null).exports;const w={name:"TransactionForeignCurrency",props:["index","transactionType","sourceCurrencyId","destinationCurrencyId","selectedCurrencyId","value"],data:function(){return{selectedCurrency:this.value,allCurrencies:[],selectableCurrencies:[],dstCurrencyId:this.destinationCurrencyId,srcCurrencyId:this.sourceCurrencyId,lockedCurrency:0,emitEvent:!0}},watch:{value:function(e){this.selectedCurrency=e},sourceCurrencyId:function(e){this.srcCurrencyId=e},destinationCurrencyId:function(e){this.dstCurrencyId=e},selectedCurrency:function(e){this.$emit("set-field",{field:"foreign_currency_id",index:this.index,value:e})},transactionType:function(e){this.lockedCurrency=0,"Transfer"===e&&(this.lockedCurrency=this.dstCurrencyId,this.selectedCurrency=this.dstCurrencyId),this.filterCurrencies()}},created:function(){this.getAllCurrencies()},methods:{getAllCurrencies:function(){var e=this;axios.get("./api/v1/autocomplete/currencies").then((function(t){e.allCurrencies=t.data,e.filterCurrencies()}))},filterCurrencies:function(){if(0===this.lockedCurrency){for(var e in this.selectableCurrencies=[{id:0,name:this.$t("firefly.no_currency")}],this.allCurrencies)if(this.allCurrencies.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var t=this.allCurrencies[e];this.selectableCurrencies.push(t)}}else for(var a in this.allCurrencies)if(this.allCurrencies.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=this.allCurrencies[a];n.id===this.lockedCurrency&&(this.selectableCurrencies=[n],this.selectedCurrency=n.id)}}},computed:{isVisible:function(){return!("Transfer"===this.transactionType&&this.srcCurrencyId===this.dstCurrencyId)}}};const x=(0,s.Z)(w,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.isVisible?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs"},[e._v(" ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedCurrency,expression:"selectedCurrency"}],staticClass:"form-control",attrs:{name:"foreign_currency_id[]"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.selectedCurrency=t.target.multiple?a:a[0]}}},e._l(e.selectableCurrencies,(function(t){return a("option",{attrs:{label:t.name},domProps:{value:t.id}},[e._v(e._s(t.name))])})),0)])]):e._e()}),[],!1,null,"3ee4efa5",null).exports;const T={name:"TransactionCustomDates",props:["index","errors","customFields","interestDate","bookDate","processDate","dueDate","paymentDate","invoiceDate"],data:function(){return{dateFields:["interest_date","book_date","process_date","due_date","payment_date","invoice_date"],availableFields:this.customFields,dates:{interest_date:this.interestDate,book_date:this.bookDate,process_date:this.processDate,due_date:this.dueDate,payment_date:this.paymentDate,invoice_date:this.invoiceDate}}},watch:{customFields:function(e){this.availableFields=e},interestDate:function(e){this.dates.interest_date=e},bookDate:function(e){this.dates.book_date=e},processDate:function(e){this.dates.process_date=e},dueDate:function(e){this.dates.due_date=e},paymentDate:function(e){this.dates.payment_date=e},invoiceDate:function(e){this.dates.invoice_date=e}},methods:{isDateField:function(e){return this.dateFields.includes(e)},getFieldValue:function(e){var t;return null!==(t=this.dates[e])&&void 0!==t?t:""},setFieldValue:function(e,t){this.$emit("set-field",{field:t,index:this.index,value:e.target.value})}}};const A=(0,s.Z)(T,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",e._l(e.availableFields,(function(t,n){return a("div",{staticClass:"form-group"},[t&&e.isDateField(n)?a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("form."+n))+"\n ")]):e._e(),e._v(" "),t&&e.isDateField(n)?a("div",{staticClass:"input-group"},[a("input",{ref:n,refInFor:!0,staticClass:"form-control",attrs:{name:n+"[]",placeholder:e.$t("form."+n),title:e.$t("form."+n),autocomplete:"off",type:"date"},domProps:{value:e.getFieldValue(n)},on:{change:function(t){return e.setFieldValue(t,n)}}})]):e._e()])})),0)}),[],!1,null,null,null).exports;const C={props:["value","index","errors"],components:{VueTypeaheadBootstrap:n.Z},name:"TransactionCategory",data:function(){return{categories:[],initialSet:[],category:this.value}},created:function(){var e=this;axios.get(this.getACURL("")).then((function(t){e.categories=t.data,e.initialSet=t.data}))},methods:{clearCategory:function(){this.category=""},getACURL:function(e){return document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/categories?query="+e},lookupCategory:(0,i.debounce)((function(){var e=this;axios.get(this.getACURL(this.category)).then((function(t){e.categories=t.data}))}),300)},watch:{value:function(e){this.category=null!=e?e:""},category:function(e){this.$emit("set-field",{field:"category",index:this.index,value:e})}},computed:{selectedCategory:{get:function(){return this.categories[this.index].name},set:function(e){this.category=e.name}}}};const D=(0,s.Z)(C,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.category"))+"\n ")]),e._v(" "),a("vue-typeahead-bootstrap",{attrs:{data:e.categories,inputClass:e.errors.length>0?"is-invalid":"",minMatchingChars:3,placeholder:e.$t("firefly.category"),serializer:function(e){return e.name},showOnFocus:!0,inputName:"category[]"},on:{hit:function(t){e.selectedCategory=t},input:e.lookupCategory},model:{value:e.category,callback:function(t){e.category=t},expression:"category"}},[a("template",{slot:"append"},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"},on:{click:e.clearCategory}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()],1)}),[],!1,null,null,null).exports;const I={props:["value","index","errors"],name:"TransactionBill",data:function(){return{billList:[],bill:this.value,emitEvent:!0}},created:function(){this.collectData()},methods:{collectData:function(){this.billList.push({id:0,name:this.$t("firefly.no_bill")}),this.getBills()},getBills:function(){var e=this;axios.get("./api/v1/bills").then((function(t){e.parseBills(t.data)}))},parseBills:function(e){for(var t in e.data)if(e.data.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=e.data[t];this.billList.push({id:parseInt(a.id),name:a.attributes.name})}}},watch:{value:function(e){this.emitEvent=!1,this.bill=e},bill:function(e){!0===this.emitEvent&&this.$emit("set-field",{field:"bill_id",index:this.index,value:e}),this.emitEvent=!0}}};const z=(0,s.Z)(I,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.bill"))+"\n ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:e.bill,expression:"bill"}],ref:"bill",class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{title:e.$t("firefly.bill"),autocomplete:"off",name:"bill_id[]"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.bill=t.target.multiple?a:a[0]}}},e._l(this.billList,(function(t){return a("option",{attrs:{label:t.name},domProps:{value:t.id}},[e._v(e._s(t.name))])})),0)]),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()])}),[],!1,null,null,null).exports;var S=a(1310),j=a.n(S),P=a(9669),B=a.n(P);const N={name:"TransactionTags",components:{VueTagsInput:j()},props:["value","index","errors"],data:function(){return{autocompleteItems:[],debounce:null,tags:[],currentTag:"",updateTags:!0,tagList:this.value,emitEvent:!0}},created:function(){var e=[];for(var t in this.value)this.value.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294&&e.push({text:this.value[t]});this.updateTags=!1,this.tags=e},watch:{currentTag:"initItems",value:function(e){this.emitEvent=!1,this.tagList=e},tagList:function(e){!0===this.emitEvent&&this.$emit("set-field",{field:"tags",index:this.index,value:e}),this.emitEvent=!0,this.updateTags=!1,this.tags=e},tags:function(e){if(this.updateTags){var t=[];for(var a in e)e.hasOwnProperty(a)&&t.push({text:e[a].text});this.tagList=t}this.updateTags=!0}},methods:{initItems:function(){var e=this;if(!(this.currentTag.length<2)){var t=document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/tags?query=".concat(this.currentTag);clearTimeout(this.debounce),this.debounce=setTimeout((function(){B().get(t).then((function(t){e.autocompleteItems=t.data.map((function(e){return{text:e.tag}}))})).catch((function(){return console.warn("Oh. Something went wrong loading tags.")}))}),300)}}}};a(4936);const F=(0,s.Z)(N,(function(){var e=this,t=this,a=t.$createElement,n=t._self._c||a;return n("div",{staticClass:"form-group"},[n("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.tags"))+"\n ")]),t._v(" "),n("div",{staticClass:"input-group"},[n("vue-tags-input",{attrs:{"add-only-from-autocomplete":!1,"autocomplete-items":t.autocompleteItems,tags:t.tags,title:t.$t("firefly.tags"),placeholder:t.$t("firefly.tags")},on:{"tags-changed":function(t){return e.tags=t}},model:{value:t.currentTag,callback:function(e){t.currentTag=e},expression:"currentTag"}})],1),t._v(" "),t.errors.length>0?n("span",t._l(t.errors,(function(e){return n("span",{staticClass:"text-danger small"},[t._v(t._s(e)),n("br")])})),0):t._e()])}),[],!1,null,null,null).exports;const L={props:["index","value","errors"],name:"TransactionPiggyBank",data:function(){return{piggyList:[],piggy_bank_id:this.value,emitEvent:!0}},created:function(){this.collectData()},methods:{collectData:function(){this.piggyList.push({id:0,name_with_balance:this.$t("firefly.no_piggy_bank")}),this.getPiggies()},getPiggies:function(){var e=this;axios.get("./api/v1/autocomplete/piggy-banks-with-balance").then((function(t){e.parsePiggies(t.data)}))},parsePiggies:function(e){for(var t in e)if(e.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=e[t];this.piggyList.push({id:parseInt(a.id),name_with_balance:a.name_with_balance})}}},watch:{value:function(e){this.emitEvent=!1,this.piggy_bank_id=e},piggy_bank_id:function(e){!0===this.emitEvent&&this.$emit("set-field",{field:"piggy_bank_id",index:this.index,value:e}),this.emitEvent=!0}}};const $=(0,s.Z)(L,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.piggy_bank"))+"\n ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:e.piggy_bank_id,expression:"piggy_bank_id"}],ref:"piggy_bank_id",class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{title:e.$t("firefly.piggy_bank"),autocomplete:"off",name:"piggy_bank_id[]"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.piggy_bank_id=t.target.multiple?a:a[0]}}},e._l(this.piggyList,(function(t){return a("option",{attrs:{label:t.name_with_balance},domProps:{value:t.id}},[e._v(e._s(t.name_with_balance))])})),0)]),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()])}),[],!1,null,null,null).exports;const E={props:["index","value","errors","customFields"],name:"TransactionInternalReference",data:function(){return{reference:this.value,availableFields:this.customFields,emitEvent:!0}},computed:{showField:function(){return"internal_reference"in this.availableFields&&this.availableFields.internal_reference}},methods:{},watch:{customFields:function(e){this.availableFields=e},value:function(e){this.emitEvent=!1,this.reference=e},reference:function(e){this.$emit("set-field",{field:"internal_reference",index:this.index,value:e})}}};const O=(0,s.Z)(E,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.internal_reference"))+"\n ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.reference,expression:"reference"}],class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:e.$t("firefly.internal_reference"),name:"internal_reference[]",type:"text"},domProps:{value:e.reference},on:{input:function(t){t.target.composing||(e.reference=t.target.value)}}}),e._v(" "),e._m(0)])]):e._e()}),[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"input-group-append"},[t("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"}},[t("i",{staticClass:"far fa-trash-alt"})])])}],!1,null,null,null).exports;const R={props:["index","value","errors","customFields"],name:"TransactionExternalUrl",data:function(){return{url:this.value,availableFields:this.customFields}},computed:{showField:function(){return"external_uri"in this.availableFields&&this.availableFields.external_uri}},methods:{},watch:{customFields:function(e){this.availableFields=e},value:function(e){this.url=e},url:function(e){this.$emit("set-field",{field:"external_url",index:this.index,value:e})}}};const M=(0,s.Z)(R,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.external_url"))+"\n ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.url,expression:"url"}],class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:e.$t("firefly.external_url"),name:"external_url[]",type:"url"},domProps:{value:e.url},on:{input:function(t){t.target.composing||(e.url=t.target.value)}}}),e._v(" "),e._m(0)])]):e._e()}),[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"input-group-append"},[t("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"}},[t("i",{staticClass:"far fa-trash-alt"})])])}],!1,null,"7f6746e6",null).exports;const q={props:["index","value","errors","customFields"],name:"TransactionNotes",data:function(){return{notes:this.value,availableFields:this.customFields,emitEvent:!0}},computed:{showField:function(){return"notes"in this.availableFields&&this.availableFields.notes}},watch:{value:function(e){this.emitEvent=!1,this.notes=e},customFields:function(e){this.availableFields=e},notes:function(e){!0===this.emitEvent&&this.$emit("set-field",{field:"notes",index:this.index,value:e}),this.emitEvent=!0}}};const V=(0,s.Z)(q,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.notes"))+"\n ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.notes,expression:"notes"}],class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:e.$t("firefly.notes")},domProps:{value:e.notes},on:{input:function(t){t.target.composing||(e.notes=t.target.value)}}})])]):e._e()}),[],!1,null,"10b3ae7a",null).exports;var U=a(3465);const Z={props:["index","value","errors","customFields"],name:"TransactionLinks",data:function(){return{searchResults:[],include:[],locale:"en-US",linkTypes:[],query:"",searching:!1,links:this.value,availableFields:this.customFields,emitEvent:!0}},created:function(){var e;this.locale=null!==(e=localStorage.locale)&&void 0!==e?e:"en-US",this.emitEvent=!1,this.links=U(this.value),this.getLinkTypes()},computed:{showField:function(){return"links"in this.availableFields&&this.availableFields.links}},watch:{value:function(e){null!==e&&(this.emitEvent=!1,this.links=U(e))},links:function(e){!0===this.emitEvent&&this.$emit("set-field",{index:this.index,field:"links",value:U(e)}),this.emitEvent=!0},customFields:function(e){this.availableFields=e}},methods:{removeLink:function(e){this.links.splice(e,1)},getTextForLinkType:function(e){var t=e.split("-");for(var a in this.linkTypes)if(this.linkTypes.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=this.linkTypes[a];if(t[0]===n.id&&t[1]===n.direction)return n.type}return"text for #"+e},selectTransaction:function(e){for(var t in this.searchResults)if(this.searchResults.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=this.searchResults[t];a.selected&&this.addToSelected(a),a.selected||this.removeFromSelected(a)}},selectLinkType:function(e){for(var t in this.searchResults)if(this.searchResults.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=this.searchResults[t];this.updateSelected(a.transaction_journal_id,a.link_type_id)}},updateSelected:function(e,t){for(var a in this.links)if(this.links.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=this.links[a];parseInt(n.transaction_journal_id)===e&&(this.links[a].link_type_id=t)}},addToSelected:function(e){void 0===this.links.find((function(t){return t.transaction_journal_id===e.transaction_journal_id}))&&this.links.push(e)},removeFromSelected:function(e){for(var t in this.links){if(this.links.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294)this.links[t].transaction_journal_id===e.transaction_journal_id&&this.links.splice(parseInt(t),1)}},getLinkTypes:function(){var e=this;axios.get("./api/v1/link_types").then((function(t){e.parseLinkTypes(t.data)}))},resetModal:function(){this.search()},parseLinkTypes:function(e){for(var t in e.data)if(e.data.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=e.data[t],n={id:a.id,type:a.attributes.inward,direction:"inward"},i={id:a.id,type:a.attributes.outward,direction:"outward"};n.type===i.type&&(n.type=n.type+" (←)",i.type=i.type+" (→)"),this.linkTypes.push(n),this.linkTypes.push(i)}},search:function(){var e=this;if(""!==this.query){this.searching=!0,this.searchResults=[];var t="./api/v1/search/transactions?limit=10&query="+this.query;axios.get(t).then((function(t){e.parseSearch(t.data)}))}else this.searchResults=[]},parseSearch:function(e){for(var t in e.data)if(e.data.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294)for(var a in e.data[t].attributes.transactions)if(e.data[t].attributes.transactions.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=e.data[t].attributes.transactions[a];n.transaction_group_id=parseInt(e.data[t].id),n.selected=this.isJournalSelected(n.transaction_journal_id),n.link_type_id=this.getJournalLinkType(n.transaction_journal_id),n.link_type_text="",this.searchResults.push(n)}this.searching=!1},getJournalLinkType:function(e){for(var t in this.links)if(this.links.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=this.links[t];if(a.transaction_journal_id===e)return a.link_type_id}return"1-inward"},isJournalSelected:function(e){for(var t in this.links){if(this.links.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294)if(this.links[t].transaction_journal_id===e)return!0}return!1}}};const G=(0,s.Z)(Z,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.showField?a("div",[a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.journal_links"))+"\n ")]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[0===e.links.length?a("p",[a("button",{staticClass:"btn btn-default btn-xs",attrs:{type:"button","data-target":"#linkModal","data-toggle":"modal"},on:{click:e.resetModal}},[a("i",{staticClass:"fas fa-plus"}),e._v(" Add transaction link")])]):e._e(),e._v(" "),e.links.length>0?a("ul",{staticClass:"list-group"},e._l(e.links,(function(t,n){return a("li",{key:n,staticClass:"list-group-item"},[a("em",[e._v(e._s(e.getTextForLinkType(t.link_type_id)))]),e._v(" "),a("a",{attrs:{href:"./transaction/show/"+t.transaction_group_id}},[e._v(e._s(t.description))]),e._v(" "),"withdrawal"===t.type?a("span",[e._v("\n ("),a("span",{staticClass:"text-danger"},[e._v(e._s(Intl.NumberFormat(e.locale,{style:"currency",currency:t.currency_code}).format(-1*parseFloat(t.amount))))]),e._v(")\n ")]):e._e(),e._v(" "),"deposit"===t.type?a("span",[e._v("\n ("),a("span",{staticClass:"text-success"},[e._v(e._s(Intl.NumberFormat(e.locale,{style:"currency",currency:t.currency_code}).format(parseFloat(t.amount))))]),e._v(")\n ")]):e._e(),e._v(" "),"transfer"===t.type?a("span",[e._v("\n ("),a("span",{staticClass:"text-info"},[e._v(e._s(Intl.NumberFormat(e.locale,{style:"currency",currency:t.currency_code}).format(parseFloat(t.amount))))]),e._v(")\n ")]):e._e(),e._v(" "),a("div",{staticClass:"btn-group btn-group-xs float-right"},[a("button",{staticClass:"btn btn-xs btn-danger",attrs:{type:"button",tabindex:"-1"},on:{click:function(t){return e.removeLink(n)}}},[a("i",{staticClass:"far fa-trash-alt"})])])])})),0):e._e(),e._v(" "),e.links.length>0?a("div",{staticClass:"form-text"},[a("button",{staticClass:"btn btn-default",attrs:{type:"button","data-target":"#linkModal","data-toggle":"modal"},on:{click:e.resetModal}},[a("i",{staticClass:"fas fa-plus"})])]):e._e()])])]),e._v(" "),a("div",{ref:"linkModal",staticClass:"modal",attrs:{id:"linkModal",tabindex:"-1"}},[a("div",{staticClass:"modal-dialog modal-lg"},[a("div",{staticClass:"modal-content"},[e._m(0),e._v(" "),a("div",{staticClass:"modal-body"},[a("div",{staticClass:"container-fluid"},[e._m(1),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("form",{attrs:{autocomplete:"off"},on:{submit:function(t){return t.preventDefault(),e.search(t)}}},[a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.query,expression:"query"}],staticClass:"form-control",attrs:{id:"query",autocomplete:"off",maxlength:"255",name:"search",placeholder:"Search query",type:"text"},domProps:{value:e.query},on:{input:function(t){t.target.composing||(e.query=t.target.value)}}}),e._v(" "),e._m(2)])])])]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[e.searching?a("span",[a("i",{staticClass:"fas fa-spinner fa-spin"})]):e._e(),e._v(" "),e.searchResults.length>0?a("h4",[e._v(e._s(e.$t("firefly.search_results")))]):e._e(),e._v(" "),e.searchResults.length>0?a("table",{staticClass:"table table-sm"},[a("caption",{staticStyle:{display:"none"}},[e._v(e._s(e.$t("firefly.search_results")))]),e._v(" "),a("thead",[a("tr",[a("th",{staticStyle:{width:"33%"},attrs:{scope:"col",colspan:"2"}},[e._v(e._s(e.$t("firefly.include")))]),e._v(" "),a("th",{attrs:{scope:"col"}},[e._v(e._s(e.$t("firefly.transaction")))])])]),e._v(" "),a("tbody",e._l(e.searchResults,(function(t){return a("tr",[a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"result.selected"}],staticClass:"form-control",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.selected)?e._i(t.selected,null)>-1:t.selected},on:{change:[function(a){var n=t.selected,i=a.target,o=!!i.checked;if(Array.isArray(n)){var s=e._i(n,null);i.checked?s<0&&e.$set(t,"selected",n.concat([null])):s>-1&&e.$set(t,"selected",n.slice(0,s).concat(n.slice(s+1)))}else e.$set(t,"selected",o)},function(t){return e.selectTransaction(t)}]}})]),e._v(" "),a("td",[a("select",{directives:[{name:"model",rawName:"v-model",value:t.link_type_id,expression:"result.link_type_id"}],staticClass:"form-control",on:{change:[function(a){var n=Array.prototype.filter.call(a.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(t,"link_type_id",a.target.multiple?n:n[0])},function(t){return e.selectLinkType(t)}]}},e._l(e.linkTypes,(function(t){return a("option",{attrs:{label:t.type},domProps:{value:t.id+"-"+t.direction}},[e._v(e._s(t.type)+"\n ")])})),0)]),e._v(" "),a("td",[a("a",{attrs:{href:"./transactions/show/"+t.transaction_group_id}},[e._v(e._s(t.description))]),e._v(" "),"withdrawal"===t.type?a("span",[e._v("\n ("),a("span",{staticClass:"text-danger"},[e._v(e._s(Intl.NumberFormat(e.locale,{style:"currency",currency:t.currency_code}).format(-1*parseFloat(t.amount))))]),e._v(")\n ")]):e._e(),e._v(" "),"deposit"===t.type?a("span",[e._v("\n ("),a("span",{staticClass:"text-success"},[e._v(e._s(Intl.NumberFormat(e.locale,{style:"currency",currency:t.currency_code}).format(parseFloat(t.amount))))]),e._v(")\n ")]):e._e(),e._v(" "),"transfer"===t.type?a("span",[e._v("\n ("),a("span",{staticClass:"text-info"},[e._v(e._s(Intl.NumberFormat(e.locale,{style:"currency",currency:t.currency_code}).format(parseFloat(t.amount))))]),e._v(")\n ")]):e._e(),e._v(" "),a("br"),e._v(" "),a("em",[a("a",{attrs:{href:"./accounts/show/"+t.source_id}},[e._v(e._s(t.source_name))]),e._v("\n →\n "),a("a",{attrs:{href:"./accounts/show/"+t.destination_id}},[e._v(e._s(t.destination_name))])])])])})),0)]):e._e()])])])]),e._v(" "),e._m(3)])])])]):e._e()}),[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"modal-header"},[a("h5",{staticClass:"modal-title"},[e._v("Transaction thing dialog.")]),e._v(" "),a("button",{staticClass:"close",attrs:{"aria-label":"Close","data-dismiss":"modal",type:"button"}},[a("span",{attrs:{"aria-hidden":"true"}},[e._v("×")])])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("p",[e._v("\n Use this form to search for transactions you wish to link to this one. When in doubt, use "),a("code",[e._v("id:*")]),e._v(" where the ID is the number from\n the URL.\n ")])])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-default",attrs:{type:"submit"}},[a("i",{staticClass:"fas fa-search"}),e._v(" Search")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"modal-footer"},[a("button",{staticClass:"btn btn-secondary",attrs:{"data-dismiss":"modal",type:"button"}},[e._v("Close")])])}],!1,null,null,null).exports;const W={name:"TransactionAttachments",props:["transaction_journal_id","customFields","index","uploadTrigger","clearTrigger"],data:function(){return{availableFields:this.customFields,uploads:0,created:0,uploaded:0}},watch:{customFields:function(e){this.availableFields=e},uploadTrigger:function(){this.doUpload()},clearTrigger:function(){this.$refs.att.value=null},transaction_journal_id:function(e){}},computed:{showField:function(){return"attachments"in this.availableFields&&this.availableFields.attachments}},methods:{selectedFile:function(){this.$emit("selected-attachments",{index:this.index,id:this.transaction_journal_id})},createAttachment:function(e){var t={filename:e,attachable_type:"TransactionJournal",attachable_id:this.transaction_journal_id};return axios.post("./api/v1/attachments",t)},uploadAttachment:function(e,t){this.created++;var a="./api/v1/attachments/"+e+"/upload";return axios.post(a,t)},countAttachment:function(){this.uploaded++,this.uploaded>=this.uploads&&this.$emit("uploaded-attachments",this.transaction_journal_id)},doUpload:function(){var e=this,t=this.$refs.att.files;for(var a in this.uploads=t.length,t)t.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294&&function(){var n=t[a],i=new FileReader,o=e;i.onloadend=function(t){t.target.readyState===FileReader.DONE&&e.createAttachment(n.name).then((function(e){return o.uploadAttachment(e.data.data.id,new Blob([t.target.result]))})).then(o.countAttachment)},i.readAsArrayBuffer(n)}();0===t.length&&this.$emit("uploaded-attachments",this.transaction_journal_id)}}};const K=(0,s.Z)(W,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.attachments"))+"\n ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("input",{ref:"att",staticClass:"form-control",attrs:{multiple:"",name:"attachments[]",type:"file"},on:{change:e.selectedFile}})])]):e._e()}),[],!1,null,"48c53d7e",null).exports;var H=a(7070),Q=a(5352),J=a(2727),Y=a(8380),X=(a(5802),a(5243)),ee=a.n(X);delete ee().Icon.Default.prototype._getIconUrl,ee().Icon.Default.mergeOptions({iconRetinaUrl:a(9895),iconUrl:a(2330),shadowUrl:a(4645)});const te={name:"TransactionLocation",props:{index:{},value:{type:Object,required:!1},errors:{},customFields:{}},components:{LMap:Q.Z,LTileLayer:J.Z,LMarker:Y.Z},created:function(){var e=this;null!==this.value&&void 0!==this.value?null!==this.value.zoom_level&&null!==this.value.latitude&&null!==this.value.longitude&&(this.zoom=this.value.zoom_level,this.center=[parseFloat(this.value.latitude),parseFloat(this.value.longitude)],this.hasMarker=!0):axios.get("./api/v1/configuration/firefly.default_location").then((function(t){e.zoom=parseInt(t.data.data.value.zoom_level),e.center=[parseFloat(t.data.data.value.latitude),parseFloat(t.data.data.value.longitude)]}))},data:function(){return{availableFields:this.customFields,url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",zoom:3,center:[0,0],bounds:null,map:null,hasMarker:!1,marker:[0,0]}},methods:{prepMap:function(){this.map=this.$refs.myMap.mapObject,this.map.on("contextmenu",this.setObjectLocation),this.map.on("zoomend",this.saveZoomLevel)},setObjectLocation:function(e){this.marker=[e.latlng.lat,e.latlng.lng],this.hasMarker=!0,this.emitEvent()},saveZoomLevel:function(){this.emitEvent()},clearLocation:function(){this.hasMarker=!1,this.emitEvent()},emitEvent:function(){this.$emit("set-marker-location",{index:this.index,zoomLevel:this.zoom,lat:this.marker[0],lng:this.marker[1],hasMarker:this.hasMarker})},zoomUpdated:function(e){this.zoom=e},centerUpdated:function(e){this.center=e},boundsUpdated:function(e){this.bounds=e}},computed:{showField:function(){return"location"in this.availableFields&&this.availableFields.location}},watch:{customFields:function(e){this.availableFields=e}}};const ae=(0,s.Z)(te,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.location"))+"\n ")]),e._v(" "),a("div",{staticStyle:{width:"100%",height:"300px"}},[a("l-map",{ref:"myMap",staticStyle:{width:"100%",height:"300px"},attrs:{center:e.center,zoom:e.zoom},on:{ready:function(t){return e.prepMap()},"update:zoom":e.zoomUpdated,"update:center":e.centerUpdated,"update:bounds":e.boundsUpdated}},[a("l-tile-layer",{attrs:{url:e.url}}),e._v(" "),a("l-marker",{attrs:{"lat-lng":e.marker,visible:e.hasMarker}})],1),e._v(" "),a("span",[a("button",{staticClass:"btn btn-default btn-xs",on:{click:e.clearLocation}},[e._v(e._s(e.$t("firefly.clear_location")))])])],1),e._v(" "),a("p",[e._v(" ")])]):e._e()}),[],!1,null,"3bafa3c9",null).exports,ne={name:"SplitForm",props:{transaction:{type:Object,required:!0},count:{type:Number,required:!0},customFields:{type:Object,required:!1},index:{type:Number,required:!0},date:{type:String,required:!0},transactionType:{type:String,required:!0},sourceAllowedTypes:{type:Array,required:!1,default:function(){return[]}},destinationAllowedTypes:{type:Array,required:!1,default:function(){return[]}},allowSwitch:{type:Boolean,required:!1,default:!1}},created:function(){console.log("SplitForm("+this.index+")")},methods:{removeTransaction:function(){this.$emit("remove-transaction",{index:this.index})}},computed:{splitDate:function(){return this.date},sourceAccount:function(){return{id:this.transaction.source_account_id,name:this.transaction.source_account_name,type:this.transaction.source_account_type}},destinationAccount:function(){return{id:this.transaction.destination_account_id,name:this.transaction.destination_account_name,type:this.transaction.destination_account_type}},hasMetaFields:function(){var e=["internal_reference","notes","attachments","external_uri","location","links"];for(var t in this.customFields)if(this.customFields.hasOwnProperty(t)&&e.includes(t)&&!0===this.customFields[t])return!0;return!1}},components:{TransactionLocation:ae,SplitPills:H.Z,TransactionAttachments:K,TransactionNotes:V,TransactionExternalUrl:M,TransactionInternalReference:O,TransactionPiggyBank:$,TransactionTags:F,TransactionLinks:G,TransactionBill:z,TransactionCategory:D,TransactionCustomDates:A,TransactionForeignCurrency:x,TransactionForeignAmount:k,TransactionAmount:b,SwitchAccount:h,TransactionAccount:g,TransactionBudget:p,TransactionDescription:r,TransactionDate:u}};const ie=(0,s.Z)(ne,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:"tab-pane"+(0===e.index?" active":""),attrs:{id:"split_"+e.index}},[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[e._v("\n "+e._s(e.$t("firefly.basic_journal_information"))+"\n "),e.count>1?a("span",[e._v("("+e._s(e.index+1)+" / "+e._s(e.count)+") ")]):e._e()]),e._v(" "),e.count>1?a("div",{staticClass:"card-tools"},[a("button",{staticClass:"btn btn-danger btn-xs",attrs:{type:"button"},on:{click:e.removeTransaction}},[a("i",{staticClass:"fas fa-trash-alt"})])]):e._e()]),e._v(" "),a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("TransactionDescription",e._g({attrs:{errors:e.transaction.errors.description,index:e.index},model:{value:e.transaction.description,callback:function(t){e.$set(e.transaction,"description",t)},expression:"transaction.description"}},e.$listeners))],1)]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12"},[a("TransactionAccount",e._g({attrs:{"destination-allowed-types":e.destinationAllowedTypes,errors:e.transaction.errors.source,index:e.index,"source-allowed-types":e.sourceAllowedTypes,"transaction-type":e.transactionType,direction:"source"},model:{value:e.sourceAccount,callback:function(t){e.sourceAccount=t},expression:"sourceAccount"}},e.$listeners))],1),e._v(" "),a("div",{staticClass:"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block"},[0===e.index&&e.allowSwitch?a("SwitchAccount",e._g({attrs:{index:e.index,"transaction-type":e.transactionType}},e.$listeners)):e._e()],1),e._v(" "),a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12"},[a("TransactionAccount",e._g({attrs:{"destination-allowed-types":e.destinationAllowedTypes,errors:e.transaction.errors.destination,index:e.index,"transaction-type":e.transactionType,"source-allowed-types":e.sourceAllowedTypes,direction:"destination"},model:{value:e.destinationAccount,callback:function(t){e.destinationAccount=t},expression:"destinationAccount"}},e.$listeners))],1)]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12"},[a("TransactionAmount",e._g({attrs:{amount:e.transaction.amount,"destination-currency-symbol":this.transaction.destination_account_currency_symbol,errors:e.transaction.errors.amount,index:e.index,"source-currency-symbol":this.transaction.source_account_currency_symbol,"transaction-type":this.transactionType}},e.$listeners))],1),e._v(" "),a("div",{staticClass:"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block"},[a("TransactionForeignCurrency",e._g({attrs:{"destination-currency-id":this.transaction.destination_account_currency_id,index:e.index,"selected-currency-id":this.transaction.foreign_currency_id,"source-currency-id":this.transaction.source_account_currency_id,"transaction-type":this.transactionType},model:{value:e.transaction.foreign_currency_id,callback:function(t){e.$set(e.transaction,"foreign_currency_id",t)},expression:"transaction.foreign_currency_id"}},e.$listeners))],1),e._v(" "),a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12"},[a("TransactionForeignAmount",e._g({attrs:{"destination-currency-id":this.transaction.destination_account_currency_id,errors:e.transaction.errors.foreign_amount,index:e.index,"selected-currency-id":this.transaction.foreign_currency_id,"source-currency-id":this.transaction.source_account_currency_id,"transaction-type":this.transactionType},model:{value:e.transaction.foreign_amount,callback:function(t){e.$set(e.transaction,"foreign_amount",t)},expression:"transaction.foreign_amount"}},e.$listeners))],1)]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12"},[a("TransactionDate",e._g({attrs:{date:e.splitDate,errors:e.transaction.errors.date,index:e.index}},e.$listeners))],1),e._v(" "),a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12 offset-xl-2 offset-lg-2"},[a("TransactionCustomDates",e._g({attrs:{"book-date":e.transaction.book_date,"custom-fields":e.customFields,"due-date":e.transaction.due_date,errors:e.transaction.errors.custom_dates,index:e.index,"interest-date":e.transaction.interest_date,"invoice-date":e.transaction.invoice_date,"payment-date":e.transaction.payment_date,"process-date":e.transaction.process_date},on:{"update:customFields":function(t){e.customFields=t},"update:custom-fields":function(t){e.customFields=t}}},e.$listeners))],1)])])])])]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[e._v("\n "+e._s(e.$t("firefly.transaction_journal_meta"))+"\n "),e.count>1?a("span",[e._v("("+e._s(e.index+1)+" / "+e._s(e.count)+") ")]):e._e()])]),e._v(" "),a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},["Transfer"!==e.transactionType&&"Deposit"!==e.transactionType?a("TransactionBudget",e._g({attrs:{errors:e.transaction.errors.budget,index:e.index},model:{value:e.transaction.budget_id,callback:function(t){e.$set(e.transaction,"budget_id",t)},expression:"transaction.budget_id"}},e.$listeners)):e._e(),e._v(" "),a("TransactionCategory",e._g({attrs:{errors:e.transaction.errors.category,index:e.index},model:{value:e.transaction.category,callback:function(t){e.$set(e.transaction,"category",t)},expression:"transaction.category"}},e.$listeners))],1),e._v(" "),a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},["Transfer"!==e.transactionType&&"Deposit"!==e.transactionType?a("TransactionBill",e._g({attrs:{errors:e.transaction.errors.bill,index:e.index},model:{value:e.transaction.bill_id,callback:function(t){e.$set(e.transaction,"bill_id",t)},expression:"transaction.bill_id"}},e.$listeners)):e._e(),e._v(" "),a("TransactionTags",e._g({attrs:{errors:e.transaction.errors.tags,index:e.index},model:{value:e.transaction.tags,callback:function(t){e.$set(e.transaction,"tags",t)},expression:"transaction.tags"}},e.$listeners)),e._v(" "),"Withdrawal"!==e.transactionType&&"Deposit"!==e.transactionType?a("TransactionPiggyBank",e._g({attrs:{errors:e.transaction.errors.piggy_bank,index:e.index},model:{value:e.transaction.piggy_bank_id,callback:function(t){e.$set(e.transaction,"piggy_bank_id",t)},expression:"transaction.piggy_bank_id"}},e.$listeners)):e._e()],1)])])])])]),e._v(" "),e.hasMetaFields?a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[e._v("\n "+e._s(e.$t("firefly.transaction_journal_extra"))+"\n "),e.count>1?a("span",[e._v("("+e._s(e.index+1)+" / "+e._s(e.count)+") ")]):e._e()])]),e._v(" "),a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("TransactionInternalReference",e._g({attrs:{"custom-fields":e.customFields,errors:e.transaction.errors.internal_reference,index:e.index},on:{"update:customFields":function(t){e.customFields=t},"update:custom-fields":function(t){e.customFields=t}},model:{value:e.transaction.internal_reference,callback:function(t){e.$set(e.transaction,"internal_reference",t)},expression:"transaction.internal_reference"}},e.$listeners)),e._v(" "),a("TransactionExternalUrl",e._g({attrs:{"custom-fields":e.customFields,errors:e.transaction.errors.external_url,index:e.index},on:{"update:customFields":function(t){e.customFields=t},"update:custom-fields":function(t){e.customFields=t}},model:{value:e.transaction.external_url,callback:function(t){e.$set(e.transaction,"external_url",t)},expression:"transaction.external_url"}},e.$listeners)),e._v(" "),a("TransactionNotes",e._g({attrs:{"custom-fields":e.customFields,errors:e.transaction.errors.notes,index:e.index},on:{"update:customFields":function(t){e.customFields=t},"update:custom-fields":function(t){e.customFields=t}},model:{value:e.transaction.notes,callback:function(t){e.$set(e.transaction,"notes",t)},expression:"transaction.notes"}},e.$listeners))],1),e._v(" "),a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("TransactionAttachments",e._g({ref:"attachments",attrs:{"custom-fields":e.customFields,index:e.index,transaction_journal_id:e.transaction.transaction_journal_id,"upload-trigger":e.transaction.uploadTrigger,"clear-trigger":e.transaction.clearTrigger},on:{"update:customFields":function(t){e.customFields=t},"update:custom-fields":function(t){e.customFields=t}},model:{value:e.transaction.attachments,callback:function(t){e.$set(e.transaction,"attachments",t)},expression:"transaction.attachments"}},e.$listeners)),e._v(" "),a("TransactionLocation",e._g({attrs:{"custom-fields":e.customFields,errors:e.transaction.errors.location,index:e.index},on:{"update:customFields":function(t){e.customFields=t},"update:custom-fields":function(t){e.customFields=t}},model:{value:e.transaction.location,callback:function(t){e.$set(e.transaction,"location",t)},expression:"transaction.location"}},e.$listeners)),e._v(" "),a("TransactionLinks",e._g({attrs:{"custom-fields":e.customFields,index:e.index},on:{"update:customFields":function(t){e.customFields=t},"update:custom-fields":function(t){e.customFields=t}},model:{value:e.transaction.links,callback:function(t){e.$set(e.transaction,"links",t)},expression:"transaction.links"}},e.$listeners))],1)])])])])]):e._e()])}),[],!1,null,null,null).exports},7070:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});const n={name:"SplitPills",props:{transactions:{type:Array,required:!0,default:function(){return[]}},count:{type:Number,required:!0}}};const i=(0,a(1900).Z)(n,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.transactions.length>1?a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("ul",{staticClass:"nav nav-pills ml-auto p-2",attrs:{id:"transactionTabs"}},e._l(this.transactions,(function(t,n){return a("li",{staticClass:"nav-item"},[a("a",{class:"nav-link"+(0===n?" active":""),attrs:{href:"#split_"+n,"data-toggle":"pill"}},[""!==t.description?a("span",[e._v(e._s(t.description))]):e._e(),e._v(" "),""===t.description?a("span",[e._v("Split "+e._s(n+1))]):e._e()])])})),0)])]):e._e()}),[],!1,null,null,null).exports},5524:(e,t,a)=>{"use strict";a.d(t,{Z:()=>s});var n=a(1668),i=a(6486);const o={props:["value","errors"],name:"TransactionGroupTitle",components:{VueTypeaheadBootstrap:n.Z},data:function(){return{descriptions:[],initialSet:[],title:this.value,emitEvent:!0}},created:function(){var e=this;axios.get(this.getACURL("")).then((function(t){e.descriptions=t.data,e.initialSet=t.data}))},watch:{value:function(e){this.title=e},title:function(e){this.$emit("set-group-title",e)}},methods:{clearDescription:function(){this.title=""},getACURL:function(e){return document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/transactions?query="+e},lookupDescription:(0,i.debounce)((function(){var e=this;axios.get(this.getACURL(this.title)).then((function(t){e.descriptions=t.data}))}),300)}};const s=(0,a(1900).Z)(o,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.split_transaction_title"))+"\n ")]),e._v(" "),a("vue-typeahead-bootstrap",{attrs:{data:e.descriptions,inputClass:e.errors.length>0?"is-invalid":"",minMatchingChars:3,placeholder:e.$t("firefly.split_transaction_title"),serializer:function(e){return e.description},showOnFocus:!0,inputName:"group_title"},on:{input:e.lookupDescription},model:{value:e.title,callback:function(t){e.title=t},expression:"title"}},[a("template",{slot:"append"},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"},on:{click:e.clearDescription}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()],1)}),[],!1,null,"273271bf",null).exports},4936:(e,t,a)=>{var n=a(6665);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,a(5346).Z)("bf9ab7ac",n,!0,{})},7154:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Прехвърляне","Withdrawal":"Теглене","Deposit":"Депозит","date_and_time":"Date and time","no_currency":"(без валута)","date":"Дата","time":"Time","no_budget":"(без бюджет)","destination_account":"Приходна сметка","source_account":"Разходна сметка","single_split":"Раздел","create_new_transaction":"Create a new transaction","balance":"Салдо","transaction_journal_extra":"Extra information","transaction_journal_meta":"Мета информация","basic_journal_information":"Basic transaction information","bills_to_pay":"Сметки за плащане","left_to_spend":"Останали за харчене","attachments":"Прикачени файлове","net_worth":"Нетна стойност","bill":"Сметка","no_bill":"(няма сметка)","tags":"Етикети","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(без касичка)","paid":"Платени","notes":"Бележки","yourAccounts":"Вашите сметки","go_to_asset_accounts":"Вижте активите си","delete_account":"Изтриване на профил","transaction_table_description":"Таблица съдържаща вашите транзакции","account":"Сметка","description":"Описание","amount":"Сума","budget":"Бюджет","category":"Категория","opposing_account":"Противоположна сметка","budgets":"Бюджети","categories":"Категории","go_to_budgets":"Вижте бюджетите си","income":"Приходи","go_to_deposits":"Отиди в депозити","go_to_categories":"Виж категориите си","expense_accounts":"Сметки за разходи","go_to_expenses":"Отиди в Разходи","go_to_bills":"Виж сметките си","bills":"Сметки","last_thirty_days":"Последните трийсет дни","last_seven_days":"Последните седем дни","go_to_piggies":"Виж касичките си","saved":"Записан","piggy_banks":"Касички","piggy_bank":"Касичка","amounts":"Суми","left":"Останали","spent":"Похарчени","Default asset account":"Сметка за активи по подразбиране","search_results":"Резултати от търсенето","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Сметка за активи по подразбиране","account_role_savingAsset":"Спестовна сметка","account_role_sharedAsset":"Сметка за споделени активи","clear_location":"Изчисти местоположението","account_role_ccAsset":"Кредитна карта","account_role_cashWalletAsset":"Паричен портфейл","daily_budgets":"Дневни бюджети","weekly_budgets":"Седмични бюджети","monthly_budgets":"Месечни бюджети","quarterly_budgets":"Тримесечни бюджети","create_new_expense":"Създай нова сметка за разходи","create_new_revenue":"Създай нова сметка за приходи","create_new_liabilities":"Create new liability","half_year_budgets":"Шестмесечни бюджети","yearly_budgets":"Годишни бюджети","split_transaction_title":"Описание на разделена транзакция","errors_submission":"Имаше нещо нередно с вашите данни. Моля, проверете грешките.","flash_error":"Грешка!","store_transaction":"Store transaction","flash_success":"Успех!","create_another":"След съхраняването се върнете тук, за да създадете нова.","update_transaction":"Обнови транзакцията","after_update_create_another":"След обновяването се върнете тук, за да продължите с редакцията.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Търсене","create_new_asset":"Създай нова сметка за активи","asset_accounts":"Сметки за активи","reset_after":"Изчистване на формуляра след изпращане","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID}(\\"{title}\\")</a> беше записана.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Местоположение","other_budgets":"Времево персонализирани бюджети","journal_links":"Връзки на транзакция","go_to_withdrawals":"Вижте тегленията си","revenue_accounts":"Сметки за приходи","add_another_split":"Добавяне на друг раздел","actions":"Действия","earned":"Спечелени","empty":"(празно)","edit":"Промени","never":"Никога","account_type_Loan":"Заем","account_type_Mortgage":"Ипотека","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Дълг","delete":"Изтрий","store_new_asset_account":"Запамети нова сметка за активи","store_new_expense_account":"Запамети нова сметка за разходи","store_new_liabilities_account":"Запамети ново задължение","store_new_revenue_account":"Запамети нова сметка за приходи","mandatoryFields":"Задължителни полета","optionalFields":"Незадължителни полета","reconcile_this_account":"Съгласувай тази сметка","interest_calc_weekly":"Per week","interest_calc_monthly":"На месец","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Годишно","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(нищо)"},"list":{"piggy_bank":"Касичка","percentage":"%","amount":"Сума","lastActivity":"Последна активност","name":"Име","role":"Привилегии","iban":"IBAN","interest":"Лихва","interest_period":"лихвен период","liability_type":"Вид на задължението","liability_direction":"(list.liability_direction)","currentBalance":"Текущ баланс","next_expected_match":"Следващo очакванo съвпадение"},"config":{"html_language":"bg","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Сума във валута","interest_date":"Падеж на лихва","name":"Име","amount":"Сума","iban":"IBAN","BIC":"BIC","notes":"Бележки","location":"Местоположение","attachments":"Прикачени файлове","active":"Активен","include_net_worth":"Включи в общото богатство","account_number":"Номер на сметка","virtual_balance":"Виртуален баланс","opening_balance":"Начално салдо","opening_balance_date":"Дата на началното салдо","date":"Дата","interest":"Лихва","interest_period":"Лихвен период","currency_id":"Валута","liability_type":"Liability type","account_role":"Роля на сметката","liability_direction":"Liability in/out","book_date":"Дата на осчетоводяване","permDeleteWarning":"Изтриването на неща от Firefly III е постоянно и не може да бъде възстановено.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Дата на обработка","due_date":"Дата на падеж","payment_date":"Дата на плащане","invoice_date":"Дата на фактура"}}')},6407:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Převod","Withdrawal":"Výběr","Deposit":"Vklad","date_and_time":"Datum a čas","no_currency":"(žádná měna)","date":"Datum","time":"Čas","no_budget":"(žádný rozpočet)","destination_account":"Cílový účet","source_account":"Zdrojový účet","single_split":"Rozdělit","create_new_transaction":"Vytvořit novou transakci","balance":"Zůstatek","transaction_journal_extra":"Více informací","transaction_journal_meta":"Meta informace","basic_journal_information":"Basic transaction information","bills_to_pay":"Faktury k zaplacení","left_to_spend":"Zbývá k utracení","attachments":"Přílohy","net_worth":"Čisté jmění","bill":"Účet","no_bill":"(no bill)","tags":"Štítky","internal_reference":"Interní odkaz","external_url":"Externí URL adresa","no_piggy_bank":"(žádná pokladnička)","paid":"Zaplaceno","notes":"Poznámky","yourAccounts":"Vaše účty","go_to_asset_accounts":"Zobrazit účty s aktivy","delete_account":"Smazat účet","transaction_table_description":"A table containing your transactions","account":"Účet","description":"Popis","amount":"Částka","budget":"Rozpočet","category":"Kategorie","opposing_account":"Protiúčet","budgets":"Rozpočty","categories":"Kategorie","go_to_budgets":"Přejít k rozpočtům","income":"Odměna/příjem","go_to_deposits":"Přejít na vklady","go_to_categories":"Přejít ke kategoriím","expense_accounts":"Výdajové účty","go_to_expenses":"Přejít na výdaje","go_to_bills":"Přejít k účtům","bills":"Účty","last_thirty_days":"Uplynulých 30 dní","last_seven_days":"Uplynulých 7 dnů","go_to_piggies":"Přejít k pokladničkám","saved":"Uloženo","piggy_banks":"Pokladničky","piggy_bank":"Pokladnička","amounts":"Amounts","left":"Zbývá","spent":"Utraceno","Default asset account":"Výchozí účet s aktivy","search_results":"Výsledky hledání","include":"Include?","transaction":"Transakce","account_role_defaultAsset":"Výchozí účet aktiv","account_role_savingAsset":"Spořicí účet","account_role_sharedAsset":"Sdílený účet aktiv","clear_location":"Vymazat umístění","account_role_ccAsset":"Kreditní karta","account_role_cashWalletAsset":"Peněženka","daily_budgets":"Denní rozpočty","weekly_budgets":"Týdenní rozpočty","monthly_budgets":"Měsíční rozpočty","quarterly_budgets":"Čtvrtletní rozpočty","create_new_expense":"Vytvořit výdajový účet","create_new_revenue":"Vytvořit nový příjmový účet","create_new_liabilities":"Create new liability","half_year_budgets":"Pololetní rozpočty","yearly_budgets":"Roční rozpočty","split_transaction_title":"Popis rozúčtování","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Chyba!","store_transaction":"Store transaction","flash_success":"Úspěšně dokončeno!","create_another":"After storing, return here to create another one.","update_transaction":"Aktualizovat transakci","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hledat","create_new_asset":"Vytvořit nový účet aktiv","asset_accounts":"Účty aktiv","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Vlastní období","reset_to_current":"Obnovit aktuální období","select_period":"Vyberte období","location":"Umístění","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Přejít na výběry","revenue_accounts":"Příjmové účty","add_another_split":"Přidat další rozúčtování","actions":"Akce","earned":"Vyděláno","empty":"(prázdné)","edit":"Upravit","never":"Nikdy","account_type_Loan":"Půjčka","account_type_Mortgage":"Hypotéka","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Dluh","delete":"Odstranit","store_new_asset_account":"Uložit nový účet aktiv","store_new_expense_account":"Uložit nový výdajový účet","store_new_liabilities_account":"Uložit nový závazek","store_new_revenue_account":"Uložit nový příjmový účet","mandatoryFields":"Povinné kolonky","optionalFields":"Volitelné kolonky","reconcile_this_account":"Vyúčtovat tento účet","interest_calc_weekly":"Per week","interest_calc_monthly":"Za měsíc","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Za rok","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(žádné)"},"list":{"piggy_bank":"Pokladnička","percentage":"%","amount":"Částka","lastActivity":"Poslední aktivita","name":"Jméno","role":"Role","iban":"IBAN","interest":"Úrok","interest_period":"úrokové období","liability_type":"Typ závazku","liability_direction":"(list.liability_direction)","currentBalance":"Aktuální zůstatek","next_expected_match":"Další očekávaná shoda"},"config":{"html_language":"cs","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Částka v cizí měně","interest_date":"Úrokové datum","name":"Název","amount":"Částka","iban":"IBAN","BIC":"BIC","notes":"Poznámky","location":"Údaje o poloze","attachments":"Přílohy","active":"Aktivní","include_net_worth":"Zahrnout do čistého jmění","account_number":"Číslo účtu","virtual_balance":"Virtuální zůstatek","opening_balance":"Počáteční zůstatek","opening_balance_date":"Datum počátečního zůstatku","date":"Datum","interest":"Úrok","interest_period":"Úrokové období","currency_id":"Měna","liability_type":"Liability type","account_role":"Role účtu","liability_direction":"Liability in/out","book_date":"Datum rezervace","permDeleteWarning":"Odstranění věcí z Firefly III je trvalé a nelze vrátit zpět.","account_areYouSure_js":"Jste si jisti, že chcete odstranit účet s názvem \\"{name}\\"?","also_delete_piggyBanks_js":"Žádné pokladničky|Jediná pokladnička připojená k tomuto účtu bude také odstraněna. Všech {count} pokladniček, které jsou připojeny k tomuto účtu, bude také odstraněno.","also_delete_transactions_js":"Žádné transakce|Jediná transakce připojená k tomuto účtu bude také smazána.|Všech {count} transakcí připojených k tomuto účtu bude také odstraněno.","process_date":"Datum zpracování","due_date":"Datum splatnosti","payment_date":"Datum zaplacení","invoice_date":"Datum vystavení"}}')},4726:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Umbuchung","Withdrawal":"Ausgabe","Deposit":"Einnahme","date_and_time":"Datum und Uhrzeit","no_currency":"(ohne Währung)","date":"Datum","time":"Uhrzeit","no_budget":"(kein Budget)","destination_account":"Zielkonto","source_account":"Quellkonto","single_split":"Teil","create_new_transaction":"Neue Buchung erstellen","balance":"Kontostand","transaction_journal_extra":"Zusätzliche Informationen","transaction_journal_meta":"Metainformationen","basic_journal_information":"Allgemeine Buchungsinformationen","bills_to_pay":"Unbezahlte Rechnungen","left_to_spend":"Verbleibend zum Ausgeben","attachments":"Anhänge","net_worth":"Eigenkapital","bill":"Rechnung","no_bill":"(keine Belege)","tags":"Schlagwörter","internal_reference":"Interner Verweis","external_url":"Externe URL","no_piggy_bank":"(kein Sparschwein)","paid":"Bezahlt","notes":"Notizen","yourAccounts":"Deine Konten","go_to_asset_accounts":"Bestandskonten anzeigen","delete_account":"Konto löschen","transaction_table_description":"Eine Tabelle mit Ihren Buchungen","account":"Konto","description":"Beschreibung","amount":"Betrag","budget":"Budget","category":"Kategorie","opposing_account":"Gegenkonto","budgets":"Budgets","categories":"Kategorien","go_to_budgets":"Budgets anzeigen","income":"Einnahmen / Einkommen","go_to_deposits":"Zu Einlagen wechseln","go_to_categories":"Kategorien anzeigen","expense_accounts":"Ausgabekonten","go_to_expenses":"Zu Ausgaben wechseln","go_to_bills":"Rechnungen anzeigen","bills":"Rechnungen","last_thirty_days":"Letzte 30 Tage","last_seven_days":"Letzte sieben Tage","go_to_piggies":"Sparschweine anzeigen","saved":"Gespeichert","piggy_banks":"Sparschweine","piggy_bank":"Sparschwein","amounts":"Beträge","left":"Übrig","spent":"Ausgegeben","Default asset account":"Standard-Bestandskonto","search_results":"Suchergebnisse","include":"Inbegriffen?","transaction":"Überweisung","account_role_defaultAsset":"Standard-Bestandskonto","account_role_savingAsset":"Sparkonto","account_role_sharedAsset":"Gemeinsames Bestandskonto","clear_location":"Ort leeren","account_role_ccAsset":"Kreditkarte","account_role_cashWalletAsset":"Geldbörse","daily_budgets":"Tagesbudgets","weekly_budgets":"Wochenbudgets","monthly_budgets":"Monatsbudgets","quarterly_budgets":"Quartalsbudgets","create_new_expense":"Neues Ausgabenkonto erstellen","create_new_revenue":"Neues Einnahmenkonto erstellen","create_new_liabilities":"Neue Verbindlichkeit anlegen","half_year_budgets":"Halbjahresbudgets","yearly_budgets":"Jahresbudgets","split_transaction_title":"Beschreibung der Splittbuchung","errors_submission":"Ihre Übermittlung ist fehlgeschlagen. Bitte überprüfen Sie die Fehler.","flash_error":"Fehler!","store_transaction":"Buchung speichern","flash_success":"Geschafft!","create_another":"Nach dem Speichern hierher zurückkehren, um ein weiteres zu erstellen.","update_transaction":"Buchung aktualisieren","after_update_create_another":"Nach dem Aktualisieren hierher zurückkehren, um weiter zu bearbeiten.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde nicht verändert.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde aktualisiert.","spent_x_of_y":"{amount} von {total} ausgegeben","search":"Suche","create_new_asset":"Neues Bestandskonto erstellen","asset_accounts":"Bestandskonten","reset_after":"Formular nach der Übermittlung zurücksetzen","bill_paid_on":"Bezahlt am {date}","first_split_decides":"Die erste Aufteilung bestimmt den Wert dieses Feldes","first_split_overrules_source":"Die erste Aufteilung könnte das Quellkonto überschreiben","first_split_overrules_destination":"Die erste Aufteilung könnte das Zielkonto überschreiben","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Buchung #{ID} (\\"{title}\\")</a> wurde gespeichert.","custom_period":"Benutzerdefinierter Zeitraum","reset_to_current":"Auf aktuellen Zeitraum zurücksetzen","select_period":"Zeitraum auswählen","location":"Standort","other_budgets":"Zeitlich befristete Budgets","journal_links":"Buchungsverknüpfungen","go_to_withdrawals":"Ausgaben anzeigen","revenue_accounts":"Einnahmekonten","add_another_split":"Eine weitere Aufteilung hinzufügen","actions":"Aktionen","earned":"Eingenommen","empty":"(leer)","edit":"Bearbeiten","never":"Nie","account_type_Loan":"Darlehen","account_type_Mortgage":"Hypothek","stored_new_account_js":"Neues Konto \\"<a href=\\"accounts/show/{ID}\\">„{name}”</a>\\" gespeichert!","account_type_Debt":"Schuld","delete":"Löschen","store_new_asset_account":"Neues Bestandskonto speichern","store_new_expense_account":"Neues Ausgabenkonto speichern","store_new_liabilities_account":"Neue Verbindlichkeit speichern","store_new_revenue_account":"Neues Einnahmenkonto speichern","mandatoryFields":"Pflichtfelder","optionalFields":"Optionale Felder","reconcile_this_account":"Dieses Konto abgleichen","interest_calc_weekly":"Pro Woche","interest_calc_monthly":"Monatlich","interest_calc_quarterly":"Vierteljährlich","interest_calc_half-year":"Halbjährlich","interest_calc_yearly":"Jährlich","liability_direction_credit":"Mir wird dies geschuldet","liability_direction_debit":"Ich schulde dies jemandem","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Keine Buchungen|Speichern Sie diese Buchung, indem Sie sie auf ein anderes Konto verschieben. |Speichern Sie diese Buchungen, indem Sie sie auf ein anderes Konto verschieben.","none_in_select_list":"(Keine)"},"list":{"piggy_bank":"Sparschwein","percentage":"%","amount":"Betrag","lastActivity":"Letzte Aktivität","name":"Name","role":"Rolle","iban":"IBAN","interest":"Zinsen","interest_period":"Verzinsungszeitraum","liability_type":"Verbindlichkeitsart","liability_direction":"(list.liability_direction)","currentBalance":"Aktueller Kontostand","next_expected_match":"Nächste erwartete Übereinstimmung"},"config":{"html_language":"de","week_in_year_fns":"\'Woche\' ww/yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'QQQ, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Ausländischer Betrag","interest_date":"Zinstermin","name":"Name","amount":"Betrag","iban":"IBAN","BIC":"BIC","notes":"Notizen","location":"Herkunft","attachments":"Anhänge","active":"Aktiv","include_net_worth":"Im Eigenkapital enthalten","account_number":"Kontonummer","virtual_balance":"Virtueller Kontostand","opening_balance":"Eröffnungsbilanz","opening_balance_date":"Eröffnungsbilanzdatum","date":"Datum","interest":"Zinsen","interest_period":"Verzinsungszeitraum","currency_id":"Währung","liability_type":"Art der Verbindlichkeit","account_role":"Kontenfunktion","liability_direction":"Verbindlichkeit Ein/Aus","book_date":"Buchungsdatum","permDeleteWarning":"Das Löschen von Dingen in Firefly III ist dauerhaft und kann nicht rückgängig gemacht werden.","account_areYouSure_js":"Möchten Sie das Konto „{name}” wirklich löschen?","also_delete_piggyBanks_js":"Keine Sparschweine|Das einzige Sparschwein, welches mit diesem Konto verbunden ist, wird ebenfalls gelöscht.|Alle {count} Sparschweine, welche mit diesem Konto verbunden sind, werden ebenfalls gelöscht.","also_delete_transactions_js":"Keine Buchungen|Die einzige Buchung, die mit diesem Konto verbunden ist, wird ebenfalls gelöscht.|Alle {count} Buchungen, die mit diesem Konto verbunden sind, werden ebenfalls gelöscht.","process_date":"Bearbeitungsdatum","due_date":"Fälligkeitstermin","payment_date":"Zahlungsdatum","invoice_date":"Rechnungsdatum"}}')},3636:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Μεταφορά","Withdrawal":"Ανάληψη","Deposit":"Κατάθεση","date_and_time":"Ημερομηνία και ώρα","no_currency":"(χωρίς νόμισμα)","date":"Ημερομηνία","time":"Ώρα","no_budget":"(χωρίς προϋπολογισμό)","destination_account":"Λογαριασμός προορισμού","source_account":"Λογαριασμός προέλευσης","single_split":"Διαχωρισμός","create_new_transaction":"Δημιουργία μιας νέας συναλλαγής","balance":"Ισοζύγιο","transaction_journal_extra":"Περισσότερες πληροφορίες","transaction_journal_meta":"Πληροφορίες μεταδεδομένων","basic_journal_information":"Βασικές πληροφορίες συναλλαγής","bills_to_pay":"Πάγια έξοδα προς πληρωμή","left_to_spend":"Διαθέσιμα προϋπολογισμών","attachments":"Συνημμένα","net_worth":"Καθαρή αξία","bill":"Πάγιο έξοδο","no_bill":"(χωρίς πάγιο έξοδο)","tags":"Ετικέτες","internal_reference":"Εσωτερική αναφορά","external_url":"Εξωτερικό URL","no_piggy_bank":"(χωρίς κουμπαρά)","paid":"Πληρωμένο","notes":"Σημειώσεις","yourAccounts":"Οι λογαριασμοί σας","go_to_asset_accounts":"Δείτε τους λογαριασμούς κεφαλαίου σας","delete_account":"Διαγραφή λογαριασμού","transaction_table_description":"Ένας πίνακας με τις συναλλαγές σας","account":"Λογαριασμός","description":"Περιγραφή","amount":"Ποσό","budget":"Προϋπολογισμός","category":"Κατηγορία","opposing_account":"Έναντι λογαριασμός","budgets":"Προϋπολογισμοί","categories":"Κατηγορίες","go_to_budgets":"Πηγαίνετε στους προϋπολογισμούς σας","income":"Έσοδα","go_to_deposits":"Πηγαίνετε στις καταθέσεις","go_to_categories":"Πηγαίνετε στις κατηγορίες σας","expense_accounts":"Δαπάνες","go_to_expenses":"Πηγαίνετε στις δαπάνες","go_to_bills":"Πηγαίνετε στα πάγια έξοδα","bills":"Πάγια έξοδα","last_thirty_days":"Τελευταίες τριάντα ημέρες","last_seven_days":"Τελευταίες επτά ημέρες","go_to_piggies":"Πηγαίνετε στους κουμπαράδες σας","saved":"Αποθηκεύτηκε","piggy_banks":"Κουμπαράδες","piggy_bank":"Κουμπαράς","amounts":"Ποσά","left":"Απομένουν","spent":"Δαπανήθηκαν","Default asset account":"Βασικός λογαριασμός κεφαλαίου","search_results":"Αποτελέσματα αναζήτησης","include":"Include?","transaction":"Συναλλαγή","account_role_defaultAsset":"Βασικός λογαριασμός κεφαλαίου","account_role_savingAsset":"Λογαριασμός αποταμίευσης","account_role_sharedAsset":"Κοινός λογαριασμός κεφαλαίου","clear_location":"Εκκαθάριση τοποθεσίας","account_role_ccAsset":"Πιστωτική κάρτα","account_role_cashWalletAsset":"Πορτοφόλι μετρητών","daily_budgets":"Ημερήσιοι προϋπολογισμοί","weekly_budgets":"Εβδομαδιαίοι προϋπολογισμοί","monthly_budgets":"Μηνιαίοι προϋπολογισμοί","quarterly_budgets":"Τριμηνιαίοι προϋπολογισμοί","create_new_expense":"Δημιουργία νέου λογαριασμού δαπανών","create_new_revenue":"Δημιουργία νέου λογαριασμού εσόδων","create_new_liabilities":"Create new liability","half_year_budgets":"Εξαμηνιαίοι προϋπολογισμοί","yearly_budgets":"Ετήσιοι προϋπολογισμοί","split_transaction_title":"Περιγραφή της συναλλαγής με διαχωρισμό","errors_submission":"Υπήρξε κάποιο λάθος με την υποβολή σας. Παρακαλώ ελέγξτε τα σφάλματα.","flash_error":"Σφάλμα!","store_transaction":"Αποθήκευση συναλλαγής","flash_success":"Επιτυχία!","create_another":"Μετά την αποθήκευση, επιστρέψτε εδώ για να δημιουργήσετε ακόμη ένα.","update_transaction":"Ενημέρωση συναλλαγής","after_update_create_another":"Μετά την ενημέρωση, επιστρέψτε εδώ για να συνεχίσετε την επεξεργασία.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID}</a> (\\"{title}\\") παρέμεινε χωρίς καμία αλλαγή.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID}</a> (\\"{title}\\") έχει ενημερωθεί.","spent_x_of_y":"Spent {amount} of {total}","search":"Αναζήτηση","create_new_asset":"Δημιουργία νέου λογαριασμού κεφαλαίου","asset_accounts":"Κεφάλαια","reset_after":"Επαναφορά φόρμας μετά την υποβολή","bill_paid_on":"Πληρώθηκε στις {date}","first_split_decides":"Ο πρώτος διαχωρισμός καθορίζει την τιμή αυτού του πεδίου","first_split_overrules_source":"Ο πρώτος διαχωρισμός ενδέχεται να παρακάμψει τον λογαριασμό προέλευσης","first_split_overrules_destination":"Ο πρώτος διαχωρισμός ενδέχεται να παρακάμψει τον λογαριασμό προορισμού","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID} (\\"{title}\\")</a> έχει αποθηκευτεί.","custom_period":"Προσαρμοσμένη περίοδος","reset_to_current":"Επαναφορά στην τρέχουσα περίοδο","select_period":"Επιλέξτε περίοδο","location":"Τοποθεσία","other_budgets":"Προϋπολογισμοί με χρονική προσαρμογή","journal_links":"Συνδέσεις συναλλαγών","go_to_withdrawals":"Πηγαίνετε στις αναλήψεις σας","revenue_accounts":"Έσοδα","add_another_split":"Προσθήκη ενός ακόμα διαχωρισμού","actions":"Ενέργειες","earned":"Κερδήθηκαν","empty":"(κενό)","edit":"Επεξεργασία","never":"Ποτέ","account_type_Loan":"Δάνειο","account_type_Mortgage":"Υποθήκη","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Χρέος","delete":"Διαγραφή","store_new_asset_account":"Αποθήκευση νέου λογαριασμού κεφαλαίου","store_new_expense_account":"Αποθήκευση νέου λογαριασμού δαπανών","store_new_liabilities_account":"Αποθήκευση νέας υποχρέωσης","store_new_revenue_account":"Αποθήκευση νέου λογαριασμού εσόδων","mandatoryFields":"Υποχρεωτικά πεδία","optionalFields":"Προαιρετικά πεδία","reconcile_this_account":"Τακτοποίηση αυτού του λογαριασμού","interest_calc_weekly":"Per week","interest_calc_monthly":"Ανά μήνα","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Ανά έτος","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(τίποτα)"},"list":{"piggy_bank":"Κουμπαράς","percentage":"pct.","amount":"Ποσό","lastActivity":"Τελευταία δραστηριότητα","name":"Όνομα","role":"Ρόλος","iban":"IBAN","interest":"Τόκος","interest_period":"τοκιζόμενη περίοδος","liability_type":"Τύπος υποχρέωσης","liability_direction":"(list.liability_direction)","currentBalance":"Τρέχον υπόλοιπο","next_expected_match":"Επόμενη αναμενόμενη αντιστοίχιση"},"config":{"html_language":"el","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Ποσό σε ξένο νόμισμα","interest_date":"Ημερομηνία τοκισμού","name":"Όνομα","amount":"Ποσό","iban":"IBAN","BIC":"BIC","notes":"Σημειώσεις","location":"Τοποθεσία","attachments":"Συνημμένα","active":"Ενεργό","include_net_worth":"Εντός καθαρής αξίας","account_number":"Αριθμός λογαριασμού","virtual_balance":"Εικονικό υπόλοιπο","opening_balance":"Υπόλοιπο έναρξης","opening_balance_date":"Ημερομηνία υπολοίπου έναρξης","date":"Ημερομηνία","interest":"Τόκος","interest_period":"Τοκιζόμενη περίοδος","currency_id":"Νόμισμα","liability_type":"Liability type","account_role":"Ρόλος λογαριασμού","liability_direction":"Liability in/out","book_date":"Ημερομηνία εγγραφής","permDeleteWarning":"Η διαγραφή στοιχείων από το Firefly III είναι μόνιμη και δεν μπορεί να αναιρεθεί.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Ημερομηνία επεξεργασίας","due_date":"Ημερομηνία προθεσμίας","payment_date":"Ημερομηνία πληρωμής","invoice_date":"Ημερομηνία τιμολόγησης"}}')},6318:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Withdrawal","Deposit":"Deposit","date_and_time":"Date and time","no_currency":"(no currency)","date":"Date","time":"Time","no_budget":"(no budget)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Balance","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta information","basic_journal_information":"Basic transaction information","bills_to_pay":"Bills to pay","left_to_spend":"Left to spend","attachments":"Attachments","net_worth":"Net worth","bill":"Bill","no_bill":"(no bill)","tags":"Tags","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Paid","notes":"Notes","yourAccounts":"Your accounts","go_to_asset_accounts":"View your asset accounts","delete_account":"Delete account","transaction_table_description":"A table containing your transactions","account":"Account","description":"Description","amount":"Amount","budget":"Budget","category":"Category","opposing_account":"Opposing account","budgets":"Budgets","categories":"Categories","go_to_budgets":"Go to your budgets","income":"Revenue / income","go_to_deposits":"Go to deposits","go_to_categories":"Go to your categories","expense_accounts":"Expense accounts","go_to_expenses":"Go to expenses","go_to_bills":"Go to your bills","bills":"Bills","last_thirty_days":"Last thirty days","last_seven_days":"Last seven days","go_to_piggies":"Go to your piggy banks","saved":"Saved","piggy_banks":"Piggy banks","piggy_bank":"Piggy bank","amounts":"Amounts","left":"Left","spent":"Spent","Default asset account":"Default asset account","search_results":"Search results","include":"Include?","transaction":"Transaction","account_role_defaultAsset":"Default asset account","account_role_savingAsset":"Savings account","account_role_sharedAsset":"Shared asset account","clear_location":"Clear location","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash wallet","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Create new expense account","create_new_revenue":"Create new revenue account","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Error!","store_transaction":"Store transaction","flash_success":"Success!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Search","create_new_asset":"Create new asset account","asset_accounts":"Asset accounts","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Location","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Revenue accounts","add_another_split":"Add another split","actions":"Actions","earned":"Earned","empty":"(empty)","edit":"Edit","never":"Never","account_type_Loan":"Loan","account_type_Mortgage":"Mortgage","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Debt","delete":"Delete","store_new_asset_account":"Store new asset account","store_new_expense_account":"Store new expense account","store_new_liabilities_account":"Store new liability","store_new_revenue_account":"Store new revenue account","mandatoryFields":"Mandatory fields","optionalFields":"Optional fields","reconcile_this_account":"Reconcile this account","interest_calc_weekly":"Per week","interest_calc_monthly":"Per month","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Per year","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(none)"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","lastActivity":"Last activity","name":"Name","role":"Role","iban":"IBAN","interest":"Interest","interest_period":"interest period","liability_type":"Type of liability","liability_direction":"(list.liability_direction)","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en-gb","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Foreign amount","interest_date":"Interest date","name":"Name","amount":"Amount","iban":"IBAN","BIC":"BIC","notes":"Notes","location":"Location","attachments":"Attachments","active":"Active","include_net_worth":"Include in net worth","account_number":"Account number","virtual_balance":"Virtual balance","opening_balance":"Opening balance","opening_balance_date":"Opening balance date","date":"Date","interest":"Interest","interest_period":"Interest period","currency_id":"Currency","liability_type":"Liability type","account_role":"Account role","liability_direction":"Liability in/out","book_date":"Book date","permDeleteWarning":"Deleting stuff from Firefly III is permanent and cannot be undone.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},3340:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Withdrawal","Deposit":"Deposit","date_and_time":"Date and time","no_currency":"(no currency)","date":"Date","time":"Time","no_budget":"(no budget)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Balance","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta information","basic_journal_information":"Basic transaction information","bills_to_pay":"Bills to pay","left_to_spend":"Left to spend","attachments":"Attachments","net_worth":"Net worth","bill":"Bill","no_bill":"(no bill)","tags":"Tags","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Paid","notes":"Notes","yourAccounts":"Your accounts","go_to_asset_accounts":"View your asset accounts","delete_account":"Delete account","transaction_table_description":"A table containing your transactions","account":"Account","description":"Description","amount":"Amount","budget":"Budget","category":"Category","opposing_account":"Opposing account","budgets":"Budgets","categories":"Categories","go_to_budgets":"Go to your budgets","income":"Revenue / income","go_to_deposits":"Go to deposits","go_to_categories":"Go to your categories","expense_accounts":"Expense accounts","go_to_expenses":"Go to expenses","go_to_bills":"Go to your bills","bills":"Bills","last_thirty_days":"Last thirty days","last_seven_days":"Last seven days","go_to_piggies":"Go to your piggy banks","saved":"Saved","piggy_banks":"Piggy banks","piggy_bank":"Piggy bank","amounts":"Amounts","left":"Left","spent":"Spent","Default asset account":"Default asset account","search_results":"Search results","include":"Include?","transaction":"Transaction","account_role_defaultAsset":"Default asset account","account_role_savingAsset":"Savings account","account_role_sharedAsset":"Shared asset account","clear_location":"Clear location","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash wallet","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Create new expense account","create_new_revenue":"Create new revenue account","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Error!","store_transaction":"Store transaction","flash_success":"Success!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Search","create_new_asset":"Create new asset account","asset_accounts":"Asset accounts","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Location","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Revenue accounts","add_another_split":"Add another split","actions":"Actions","earned":"Earned","empty":"(empty)","edit":"Edit","never":"Never","account_type_Loan":"Loan","account_type_Mortgage":"Mortgage","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Debt","delete":"Delete","store_new_asset_account":"Store new asset account","store_new_expense_account":"Store new expense account","store_new_liabilities_account":"Store new liability","store_new_revenue_account":"Store new revenue account","mandatoryFields":"Mandatory fields","optionalFields":"Optional fields","reconcile_this_account":"Reconcile this account","interest_calc_weekly":"Per week","interest_calc_monthly":"Per month","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Per year","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(none)"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","lastActivity":"Last activity","name":"Name","role":"Role","iban":"IBAN","interest":"Interest","interest_period":"interest period","liability_type":"Type of liability","liability_direction":"(list.liability_direction)","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Foreign amount","interest_date":"Interest date","name":"Name","amount":"Amount","iban":"IBAN","BIC":"BIC","notes":"Notes","location":"Location","attachments":"Attachments","active":"Active","include_net_worth":"Include in net worth","account_number":"Account number","virtual_balance":"Virtual balance","opening_balance":"Opening balance","opening_balance_date":"Opening balance date","date":"Date","interest":"Interest","interest_period":"Interest period","currency_id":"Currency","liability_type":"Liability type","account_role":"Account role","liability_direction":"Liability in/out","book_date":"Book date","permDeleteWarning":"Deleting stuff from Firefly III is permanent and cannot be undone.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},5394:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Transferencia","Withdrawal":"Retiro","Deposit":"Depósito","date_and_time":"Fecha y hora","no_currency":"(sin moneda)","date":"Fecha","time":"Hora","no_budget":"(sin presupuesto)","destination_account":"Cuenta destino","source_account":"Cuenta origen","single_split":"División","create_new_transaction":"Crear una nueva transacción","balance":"Balance","transaction_journal_extra":"Información adicional","transaction_journal_meta":"Información Meta","basic_journal_information":"Información básica de transacción","bills_to_pay":"Facturas por pagar","left_to_spend":"Disponible para gastar","attachments":"Archivos adjuntos","net_worth":"Valor Neto","bill":"Factura","no_bill":"(sin factura)","tags":"Etiquetas","internal_reference":"Referencia interna","external_url":"URL externa","no_piggy_bank":"(sin hucha)","paid":"Pagado","notes":"Notas","yourAccounts":"Tus cuentas","go_to_asset_accounts":"Ver tus cuentas de activos","delete_account":"Eliminar cuenta","transaction_table_description":"Una tabla que contiene sus transacciones","account":"Cuenta","description":"Descripción","amount":"Cantidad","budget":"Presupuesto","category":"Categoria","opposing_account":"Cuenta opuesta","budgets":"Presupuestos","categories":"Categorías","go_to_budgets":"Ir a tus presupuestos","income":"Ingresos / salarios","go_to_deposits":"Ir a depósitos","go_to_categories":"Ir a tus categorías","expense_accounts":"Cuentas de gastos","go_to_expenses":"Ir a gastos","go_to_bills":"Ir a tus cuentas","bills":"Facturas","last_thirty_days":"Últimos treinta días","last_seven_days":"Últimos siete días","go_to_piggies":"Ir a tu hucha","saved":"Guardado","piggy_banks":"Huchas","piggy_bank":"Hucha","amounts":"Importes","left":"Disponible","spent":"Gastado","Default asset account":"Cuenta de ingresos por defecto","search_results":"Buscar resultados","include":"¿Incluir?","transaction":"Transaccion","account_role_defaultAsset":"Cuentas de ingresos por defecto","account_role_savingAsset":"Cuentas de ahorros","account_role_sharedAsset":"Cuenta de ingresos compartida","clear_location":"Eliminar ubicación","account_role_ccAsset":"Tarjeta de Crédito","account_role_cashWalletAsset":"Billetera de efectivo","daily_budgets":"Presupuestos diarios","weekly_budgets":"Presupuestos semanales","monthly_budgets":"Presupuestos mensuales","quarterly_budgets":"Presupuestos trimestrales","create_new_expense":"Crear nueva cuenta de gastos","create_new_revenue":"Crear nueva cuenta de ingresos","create_new_liabilities":"Crear nuevo pasivo","half_year_budgets":"Presupuestos semestrales","yearly_budgets":"Presupuestos anuales","split_transaction_title":"Descripción de la transacción dividida","errors_submission":"Hubo un problema con su envío. Por favor, compruebe los errores.","flash_error":"¡Error!","store_transaction":"Guardar transacción","flash_success":"¡Operación correcta!","create_another":"Después de guardar, vuelve aquí para crear otro.","update_transaction":"Actualizar transacción","after_update_create_another":"Después de actualizar, vuelve aquí para continuar editando.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID}</a> (\\"{title}\\") no recibió ningún cambio.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID}</a> (\\"{title}\\") ha sido actualizada.","spent_x_of_y":"{amount} gastado de {total}","search":"Buscar","create_new_asset":"Crear nueva cuenta de activos","asset_accounts":"Cuenta de activos","reset_after":"Restablecer formulario después del envío","bill_paid_on":"Pagado el {date}","first_split_decides":"La primera división determina el valor de este campo","first_split_overrules_source":"La primera división puede anular la cuenta de origen","first_split_overrules_destination":"La primera división puede anular la cuenta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID} (\\"{title}\\")</a> ha sido almacenada.","custom_period":"Período personalizado","reset_to_current":"Restablecer al período actual","select_period":"Seleccione un período","location":"Ubicación","other_budgets":"Presupuestos de tiempo personalizado","journal_links":"Enlaces de transacciones","go_to_withdrawals":"Ir a tus retiradas","revenue_accounts":"Cuentas de ingresos","add_another_split":"Añadir otra división","actions":"Acciones","earned":"Ganado","empty":"(vacío)","edit":"Editar","never":"Nunca","account_type_Loan":"Préstamo","account_type_Mortgage":"Hipoteca","stored_new_account_js":"Nueva cuenta \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" guardada!","account_type_Debt":"Deuda","delete":"Eliminar","store_new_asset_account":"Crear cuenta de activos","store_new_expense_account":"Crear cuenta de gastos","store_new_liabilities_account":"Crear nuevo pasivo","store_new_revenue_account":"Crear cuenta de ingresos","mandatoryFields":"Campos obligatorios","optionalFields":"Campos opcionales","reconcile_this_account":"Reconciliar esta cuenta","interest_calc_weekly":"Por semana","interest_calc_monthly":"Por mes","interest_calc_quarterly":"Por trimestre","interest_calc_half-year":"Por semestre","interest_calc_yearly":"Por año","liability_direction_credit":"Se me debe esta deuda","liability_direction_debit":"Le debo esta deuda a otra persona","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Ninguna transacción|Guardar esta transacción moviéndola a otra cuenta. |Guardar estas transacciones moviéndolas a otra cuenta.","none_in_select_list":"(ninguno)"},"list":{"piggy_bank":"Alcancilla","percentage":"pct.","amount":"Monto","lastActivity":"Actividad más reciente","name":"Nombre","role":"Rol","iban":"IBAN","interest":"Interés","interest_period":"período de interés","liability_type":"Tipo de pasivo","liability_direction":"(list.liability_direction)","currentBalance":"Balance actual","next_expected_match":"Próxima coincidencia esperada"},"config":{"html_language":"es","week_in_year_fns":"\'Semana\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Trimestre\' Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Cantidad extranjera","interest_date":"Fecha de interés","name":"Nombre","amount":"Importe","iban":"IBAN","BIC":"BIC","notes":"Notas","location":"Ubicación","attachments":"Adjuntos","active":"Activo","include_net_worth":"Incluir en valor neto","account_number":"Número de cuenta","virtual_balance":"Saldo virtual","opening_balance":"Saldo inicial","opening_balance_date":"Fecha del saldo inicial","date":"Fecha","interest":"Interés","interest_period":"Período de interés","currency_id":"Divisa","liability_type":"Tipo de pasivo","account_role":"Rol de cuenta","liability_direction":"Pasivo entrada/salida","book_date":"Fecha de registro","permDeleteWarning":"Eliminar cosas de Firefly III es permanente y no se puede deshacer.","account_areYouSure_js":"¿Está seguro que desea eliminar la cuenta llamada \\"{name}\\"?","also_delete_piggyBanks_js":"Ninguna alcancía|La única alcancía conectada a esta cuenta también será borrada. También se eliminarán todas {count} alcancías conectados a esta cuenta.","also_delete_transactions_js":"Ninguna transacción|La única transacción conectada a esta cuenta se eliminará también.|Todas las {count} transacciones conectadas a esta cuenta también se eliminarán.","process_date":"Fecha de procesamiento","due_date":"Fecha de vencimiento","payment_date":"Fecha de pago","invoice_date":"Fecha de la factura"}}')},7868:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Siirto","Withdrawal":"Nosto","Deposit":"Talletus","date_and_time":"Date and time","no_currency":"(ei valuuttaa)","date":"Päivämäärä","time":"Time","no_budget":"(ei budjettia)","destination_account":"Kohdetili","source_account":"Lähdetili","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metatiedot","basic_journal_information":"Basic transaction information","bills_to_pay":"Laskuja maksettavana","left_to_spend":"Käytettävissä","attachments":"Liitteet","net_worth":"Varallisuus","bill":"Lasku","no_bill":"(no bill)","tags":"Tägit","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(ei säästöpossu)","paid":"Maksettu","notes":"Muistiinpanot","yourAccounts":"Omat tilisi","go_to_asset_accounts":"Tarkastele omaisuustilejäsi","delete_account":"Poista käyttäjätili","transaction_table_description":"A table containing your transactions","account":"Tili","description":"Kuvaus","amount":"Summa","budget":"Budjetti","category":"Kategoria","opposing_account":"Vastatili","budgets":"Budjetit","categories":"Kategoriat","go_to_budgets":"Avaa omat budjetit","income":"Tuotto / ansio","go_to_deposits":"Go to deposits","go_to_categories":"Avaa omat kategoriat","expense_accounts":"Kulutustilit","go_to_expenses":"Go to expenses","go_to_bills":"Avaa omat laskut","bills":"Laskut","last_thirty_days":"Viimeiset 30 päivää","last_seven_days":"Viimeiset 7 päivää","go_to_piggies":"Tarkastele säästöpossujasi","saved":"Saved","piggy_banks":"Säästöpossut","piggy_bank":"Säästöpossu","amounts":"Amounts","left":"Jäljellä","spent":"Käytetty","Default asset account":"Oletusomaisuustili","search_results":"Haun tulokset","include":"Include?","transaction":"Tapahtuma","account_role_defaultAsset":"Oletuskäyttötili","account_role_savingAsset":"Säästötili","account_role_sharedAsset":"Jaettu käyttötili","clear_location":"Tyhjennä sijainti","account_role_ccAsset":"Luottokortti","account_role_cashWalletAsset":"Käteinen","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Luo uusi maksutili","create_new_revenue":"Luo uusi tuottotili","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Jaetun tapahtuman kuvaus","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Virhe!","store_transaction":"Store transaction","flash_success":"Valmista tuli!","create_another":"Tallennuksen jälkeen, palaa takaisin luomaan uusi tapahtuma.","update_transaction":"Päivitä tapahtuma","after_update_create_another":"Päivityksen jälkeen, palaa takaisin jatkamaan muokkausta.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hae","create_new_asset":"Luo uusi omaisuustili","asset_accounts":"Käyttötilit","reset_after":"Tyhjennä lomake lähetyksen jälkeen","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Sijainti","other_budgets":"Custom timed budgets","journal_links":"Tapahtuman linkit","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Tuottotilit","add_another_split":"Lisää tapahtumaan uusi osa","actions":"Toiminnot","earned":"Ansaittu","empty":"(tyhjä)","edit":"Muokkaa","never":"Ei koskaan","account_type_Loan":"Laina","account_type_Mortgage":"Kiinnelaina","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Velka","delete":"Poista","store_new_asset_account":"Tallenna uusi omaisuustili","store_new_expense_account":"Tallenna uusi kulutustili","store_new_liabilities_account":"Tallenna uusi vastuu","store_new_revenue_account":"Tallenna uusi tuottotili","mandatoryFields":"Pakolliset kentät","optionalFields":"Valinnaiset kentät","reconcile_this_account":"Täsmäytä tämä tili","interest_calc_weekly":"Per week","interest_calc_monthly":"Kuukaudessa","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Vuodessa","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(ei mitään)"},"list":{"piggy_bank":"Säästöpossu","percentage":"pros.","amount":"Summa","lastActivity":"Viimeisin tapahtuma","name":"Nimi","role":"Rooli","iban":"IBAN","interest":"Korko","interest_period":"korkojakso","liability_type":"Vastuutyyppi","liability_direction":"(list.liability_direction)","currentBalance":"Tämänhetkinen saldo","next_expected_match":"Seuraava lasku odotettavissa"},"config":{"html_language":"fi","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Ulkomaan summa","interest_date":"Korkopäivä","name":"Nimi","amount":"Summa","iban":"IBAN","BIC":"BIC","notes":"Muistiinpanot","location":"Sijainti","attachments":"Liitteet","active":"Aktiivinen","include_net_worth":"Sisällytä varallisuuteen","account_number":"Tilinumero","virtual_balance":"Virtuaalinen saldo","opening_balance":"Alkusaldo","opening_balance_date":"Alkusaldon päivämäärä","date":"Päivämäärä","interest":"Korko","interest_period":"Korkojakso","currency_id":"Valuutta","liability_type":"Liability type","account_role":"Tilin tyyppi","liability_direction":"Liability in/out","book_date":"Kirjauspäivä","permDeleteWarning":"Asioiden poistaminen Firefly III:sta on lopullista eikä poistoa pysty perumaan.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Käsittelypäivä","due_date":"Eräpäivä","payment_date":"Maksupäivä","invoice_date":"Laskun päivämäärä"}}')},2551:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Transfert","Withdrawal":"Dépense","Deposit":"Dépôt","date_and_time":"Date et heure","no_currency":"(pas de devise)","date":"Date","time":"Heure","no_budget":"(pas de budget)","destination_account":"Compte de destination","source_account":"Compte source","single_split":"Ventilation","create_new_transaction":"Créer une nouvelle opération","balance":"Solde","transaction_journal_extra":"Informations supplémentaires","transaction_journal_meta":"Méta informations","basic_journal_information":"Informations de base sur l\'opération","bills_to_pay":"Factures à payer","left_to_spend":"Reste à dépenser","attachments":"Pièces jointes","net_worth":"Avoir net","bill":"Facture","no_bill":"(aucune facture)","tags":"Tags","internal_reference":"Référence interne","external_url":"URL externe","no_piggy_bank":"(aucune tirelire)","paid":"Payé","notes":"Notes","yourAccounts":"Vos comptes","go_to_asset_accounts":"Afficher vos comptes d\'actifs","delete_account":"Supprimer le compte","transaction_table_description":"Une table contenant vos opérations","account":"Compte","description":"Description","amount":"Montant","budget":"Budget","category":"Catégorie","opposing_account":"Compte opposé","budgets":"Budgets","categories":"Catégories","go_to_budgets":"Gérer vos budgets","income":"Recette / revenu","go_to_deposits":"Aller aux dépôts","go_to_categories":"Gérer vos catégories","expense_accounts":"Comptes de dépenses","go_to_expenses":"Aller aux dépenses","go_to_bills":"Gérer vos factures","bills":"Factures","last_thirty_days":"Trente derniers jours","last_seven_days":"7 Derniers Jours","go_to_piggies":"Gérer vos tirelires","saved":"Sauvegardé","piggy_banks":"Tirelires","piggy_bank":"Tirelire","amounts":"Montants","left":"Reste","spent":"Dépensé","Default asset account":"Compte d’actif par défaut","search_results":"Résultats de la recherche","include":"Inclure ?","transaction":"Opération","account_role_defaultAsset":"Compte d\'actif par défaut","account_role_savingAsset":"Compte d’épargne","account_role_sharedAsset":"Compte d\'actif partagé","clear_location":"Effacer la localisation","account_role_ccAsset":"Carte de crédit","account_role_cashWalletAsset":"Porte-monnaie","daily_budgets":"Budgets quotidiens","weekly_budgets":"Budgets hebdomadaires","monthly_budgets":"Budgets mensuels","quarterly_budgets":"Budgets trimestriels","create_new_expense":"Créer nouveau compte de dépenses","create_new_revenue":"Créer nouveau compte de recettes","create_new_liabilities":"Créer un nouveau passif","half_year_budgets":"Budgets semestriels","yearly_budgets":"Budgets annuels","split_transaction_title":"Description de l\'opération ventilée","errors_submission":"Certaines informations ne sont pas correctes dans votre formulaire. Veuillez vérifier les erreurs.","flash_error":"Erreur !","store_transaction":"Enregistrer l\'opération","flash_success":"Super !","create_another":"Après enregistrement, revenir ici pour en créer un nouveau.","update_transaction":"Mettre à jour l\'opération","after_update_create_another":"Après la mise à jour, revenir ici pour continuer l\'édition.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID}</a> (\\"{title}\\") n\'a pas été modifiée.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID}</a> (\\"{title}\\") a été mise à jour.","spent_x_of_y":"Dépensé {amount} sur {total}","search":"Rechercher","create_new_asset":"Créer un nouveau compte d’actif","asset_accounts":"Comptes d’actif","reset_after":"Réinitialiser le formulaire après soumission","bill_paid_on":"Payé le {date}","first_split_decides":"La première ventilation détermine la valeur de ce champ","first_split_overrules_source":"La première ventilation peut remplacer le compte source","first_split_overrules_destination":"La première ventilation peut remplacer le compte de destination","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID} (\\"{title}\\")</a> a été enregistrée.","custom_period":"Période personnalisée","reset_to_current":"Réinitialiser à la période en cours","select_period":"Sélectionnez une période","location":"Emplacement","other_budgets":"Budgets à période personnalisée","journal_links":"Liens d\'opération","go_to_withdrawals":"Accéder à vos retraits","revenue_accounts":"Comptes de recettes","add_another_split":"Ajouter une autre fraction","actions":"Actions","earned":"Gagné","empty":"(vide)","edit":"Modifier","never":"Jamais","account_type_Loan":"Prêt","account_type_Mortgage":"Prêt hypothécaire","stored_new_account_js":"Nouveau compte \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" enregistré !","account_type_Debt":"Dette","delete":"Supprimer","store_new_asset_account":"Créer un nouveau compte d’actif","store_new_expense_account":"Créer un nouveau compte de dépenses","store_new_liabilities_account":"Enregistrer un nouveau passif","store_new_revenue_account":"Créer un compte de recettes","mandatoryFields":"Champs obligatoires","optionalFields":"Champs optionnels","reconcile_this_account":"Rapprocher ce compte","interest_calc_weekly":"Par semaine","interest_calc_monthly":"Par mois","interest_calc_quarterly":"Par trimestre","interest_calc_half-year":"Par semestre","interest_calc_yearly":"Par an","liability_direction_credit":"On me doit cette dette","liability_direction_debit":"Je dois cette dette à quelqu\'un d\'autre","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Aucune opération|Conserver cette opération en la déplaçant vers un autre compte. |Conserver ces opérations en les déplaçant vers un autre compte.","none_in_select_list":"(aucun)"},"list":{"piggy_bank":"Tirelire","percentage":"pct.","amount":"Montant","lastActivity":"Activité récente","name":"Nom","role":"Rôle","iban":"Numéro IBAN","interest":"Intérêt","interest_period":"période d’intérêt","liability_type":"Type de passif","liability_direction":"(list.liability_direction)","currentBalance":"Solde courant","next_expected_match":"Prochaine association attendue"},"config":{"html_language":"fr","week_in_year_fns":"\'Semaine\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Montant en devise étrangère","interest_date":"Date de valeur (intérêts)","name":"Nom","amount":"Montant","iban":"Numéro IBAN","BIC":"Code BIC","notes":"Notes","location":"Emplacement","attachments":"Documents joints","active":"Actif","include_net_worth":"Inclure dans l\'avoir net","account_number":"Numéro de compte","virtual_balance":"Solde virtuel","opening_balance":"Solde initial","opening_balance_date":"Date du solde initial","date":"Date","interest":"Intérêt","interest_period":"Période d’intérêt","currency_id":"Devise","liability_type":"Type de passif","account_role":"Rôle du compte","liability_direction":"Sens du passif","book_date":"Date de réservation","permDeleteWarning":"Supprimer quelque chose dans Firefly est permanent et ne peut pas être annulé.","account_areYouSure_js":"Êtes-vous sûr de vouloir supprimer le compte nommé \\"{name}\\" ?","also_delete_piggyBanks_js":"Aucune tirelire|La seule tirelire liée à ce compte sera aussi supprimée.|Les {count} tirelires liées à ce compte seront aussi supprimées.","also_delete_transactions_js":"Aucune opération|La seule opération liée à ce compte sera aussi supprimée.|Les {count} opérations liées à ce compte seront aussi supprimées.","process_date":"Date de traitement","due_date":"Échéance","payment_date":"Date de paiement","invoice_date":"Date de facturation"}}')},995:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Átvezetés","Withdrawal":"Költség","Deposit":"Bevétel","date_and_time":"Date and time","no_currency":"(nincs pénznem)","date":"Dátum","time":"Time","no_budget":"(nincs költségkeret)","destination_account":"Célszámla","source_account":"Forrás számla","single_split":"Felosztás","create_new_transaction":"Create a new transaction","balance":"Egyenleg","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta-információ","basic_journal_information":"Basic transaction information","bills_to_pay":"Fizetendő számlák","left_to_spend":"Elkölthető","attachments":"Mellékletek","net_worth":"Nettó érték","bill":"Számla","no_bill":"(no bill)","tags":"Címkék","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(nincs malacpersely)","paid":"Kifizetve","notes":"Megjegyzések","yourAccounts":"Bankszámlák","go_to_asset_accounts":"Eszközszámlák megtekintése","delete_account":"Fiók törlése","transaction_table_description":"Tranzakciókat tartalmazó táblázat","account":"Bankszámla","description":"Leírás","amount":"Összeg","budget":"Költségkeret","category":"Kategória","opposing_account":"Ellenoldali számla","budgets":"Költségkeretek","categories":"Kategóriák","go_to_budgets":"Ugrás a költségkeretekhez","income":"Jövedelem / bevétel","go_to_deposits":"Ugrás a bevételekre","go_to_categories":"Ugrás a kategóriákhoz","expense_accounts":"Költségszámlák","go_to_expenses":"Ugrás a kiadásokra","go_to_bills":"Ugrás a számlákhoz","bills":"Számlák","last_thirty_days":"Elmúlt harminc nap","last_seven_days":"Utolsó hét nap","go_to_piggies":"Ugrás a malacperselyekhez","saved":"Mentve","piggy_banks":"Malacperselyek","piggy_bank":"Malacpersely","amounts":"Mennyiségek","left":"Maradvány","spent":"Elköltött","Default asset account":"Alapértelmezett eszközszámla","search_results":"Keresési eredmények","include":"Include?","transaction":"Tranzakció","account_role_defaultAsset":"Alapértelmezett eszközszámla","account_role_savingAsset":"Megtakarítási számla","account_role_sharedAsset":"Megosztott eszközszámla","clear_location":"Hely törlése","account_role_ccAsset":"Hitelkártya","account_role_cashWalletAsset":"Készpénz","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Új költségszámla létrehozása","create_new_revenue":"Új jövedelemszámla létrehozása","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Felosztott tranzakció leírása","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Hiba!","store_transaction":"Store transaction","flash_success":"Siker!","create_another":"A tárolás után térjen vissza ide új létrehozásához.","update_transaction":"Tranzakció frissítése","after_update_create_another":"A frissítés után térjen vissza ide a szerkesztés folytatásához.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Keresés","create_new_asset":"Új eszközszámla létrehozása","asset_accounts":"Eszközszámlák","reset_after":"Űrlap törlése a beküldés után","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> mentve.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Hely","other_budgets":"Custom timed budgets","journal_links":"Tranzakció összekapcsolások","go_to_withdrawals":"Ugrás a költségekhez","revenue_accounts":"Jövedelemszámlák","add_another_split":"Másik felosztás hozzáadása","actions":"Műveletek","earned":"Megkeresett","empty":"(üres)","edit":"Szerkesztés","never":"Soha","account_type_Loan":"Hitel","account_type_Mortgage":"Jelzálog","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Adósság","delete":"Törlés","store_new_asset_account":"Új eszközszámla tárolása","store_new_expense_account":"Új költségszámla tárolása","store_new_liabilities_account":"Új kötelezettség eltárolása","store_new_revenue_account":"Új jövedelemszámla létrehozása","mandatoryFields":"Kötelező mezők","optionalFields":"Nem kötelező mezők","reconcile_this_account":"Számla egyeztetése","interest_calc_weekly":"Per week","interest_calc_monthly":"Havonta","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Évente","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(nincs)"},"list":{"piggy_bank":"Malacpersely","percentage":"%","amount":"Összeg","lastActivity":"Utolsó aktivitás","name":"Név","role":"Szerepkör","iban":"IBAN","interest":"Kamat","interest_period":"kamatperiódus","liability_type":"A kötelezettség típusa","liability_direction":"(list.liability_direction)","currentBalance":"Aktuális egyenleg","next_expected_match":"Következő várható egyezés"},"config":{"html_language":"hu","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Külföldi összeg","interest_date":"Kamatfizetési időpont","name":"Név","amount":"Összeg","iban":"IBAN","BIC":"BIC","notes":"Megjegyzések","location":"Hely","attachments":"Mellékletek","active":"Aktív","include_net_worth":"Befoglalva a nettó értékbe","account_number":"Számlaszám","virtual_balance":"Virtuális egyenleg","opening_balance":"Nyitó egyenleg","opening_balance_date":"Nyitó egyenleg dátuma","date":"Dátum","interest":"Kamat","interest_period":"Kamatperiódus","currency_id":"Pénznem","liability_type":"Liability type","account_role":"Bankszámla szerepköre","liability_direction":"Liability in/out","book_date":"Könyvelés dátuma","permDeleteWarning":"A Firefly III-ból történő törlés végleges és nem vonható vissza.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Feldolgozás dátuma","due_date":"Lejárati időpont","payment_date":"Fizetés dátuma","invoice_date":"Számla dátuma"}}')},9112:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Trasferimento","Withdrawal":"Prelievo","Deposit":"Entrata","date_and_time":"Data e ora","no_currency":"(nessuna valuta)","date":"Data","time":"Ora","no_budget":"(nessun budget)","destination_account":"Conto destinazione","source_account":"Conto di origine","single_split":"Divisione","create_new_transaction":"Crea una nuova transazione","balance":"Saldo","transaction_journal_extra":"Informazioni aggiuntive","transaction_journal_meta":"Meta informazioni","basic_journal_information":"Informazioni di base sulla transazione","bills_to_pay":"Bollette da pagare","left_to_spend":"Altro da spendere","attachments":"Allegati","net_worth":"Patrimonio","bill":"Bolletta","no_bill":"(nessuna bolletta)","tags":"Etichette","internal_reference":"Riferimento interno","external_url":"URL esterno","no_piggy_bank":"(nessun salvadanaio)","paid":"Pagati","notes":"Note","yourAccounts":"I tuoi conti","go_to_asset_accounts":"Visualizza i tuoi conti attività","delete_account":"Elimina account","transaction_table_description":"Una tabella contenente le tue transazioni","account":"Conto","description":"Descrizione","amount":"Importo","budget":"Budget","category":"Categoria","opposing_account":"Conto beneficiario","budgets":"Budget","categories":"Categorie","go_to_budgets":"Vai ai tuoi budget","income":"Redditi / entrate","go_to_deposits":"Vai ai depositi","go_to_categories":"Vai alle tue categorie","expense_accounts":"Conti uscite","go_to_expenses":"Vai alle spese","go_to_bills":"Vai alle tue bollette","bills":"Bollette","last_thirty_days":"Ultimi trenta giorni","last_seven_days":"Ultimi sette giorni","go_to_piggies":"Vai ai tuoi salvadanai","saved":"Salvata","piggy_banks":"Salvadanai","piggy_bank":"Salvadanaio","amounts":"Importi","left":"Resto","spent":"Speso","Default asset account":"Conto attività predefinito","search_results":"Risultati ricerca","include":"Includere?","transaction":"Transazione","account_role_defaultAsset":"Conto attività predefinito","account_role_savingAsset":"Conto risparmio","account_role_sharedAsset":"Conto attività condiviso","clear_location":"Rimuovi dalla posizione","account_role_ccAsset":"Carta di credito","account_role_cashWalletAsset":"Portafoglio","daily_budgets":"Budget giornalieri","weekly_budgets":"Budget settimanali","monthly_budgets":"Budget mensili","quarterly_budgets":"Bilanci trimestrali","create_new_expense":"Crea un nuovo conto di spesa","create_new_revenue":"Crea un nuovo conto entrate","create_new_liabilities":"Crea nuova passività","half_year_budgets":"Bilanci semestrali","yearly_budgets":"Budget annuali","split_transaction_title":"Descrizione della transazione suddivisa","errors_submission":"Errore durante l\'invio. Controlla gli errori segnalati qui sotto.","flash_error":"Errore!","store_transaction":"Salva transazione","flash_success":"Successo!","create_another":"Dopo il salvataggio, torna qui per crearne un\'altra.","update_transaction":"Aggiorna transazione","after_update_create_another":"Dopo l\'aggiornamento, torna qui per continuare la modifica.","transaction_updated_no_changes":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID}</a> (\\"{title}\\") non ha avuto cambiamenti.","transaction_updated_link":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID}</a> (\\"{title}\\") è stata aggiornata.","spent_x_of_y":"Spesi {amount} di {total}","search":"Cerca","create_new_asset":"Crea un nuovo conto attività","asset_accounts":"Conti attività","reset_after":"Resetta il modulo dopo l\'invio","bill_paid_on":"Pagata il {date}","first_split_decides":"La prima suddivisione determina il valore di questo campo","first_split_overrules_source":"La prima suddivisione potrebbe sovrascrivere l\'account di origine","first_split_overrules_destination":"La prima suddivisione potrebbe sovrascrivere l\'account di destinazione","transaction_stored_link":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID} (\\"{title}\\")</a> è stata salvata.","custom_period":"Periodo personalizzato","reset_to_current":"Ripristina il periodo corrente","select_period":"Seleziona il periodo","location":"Posizione","other_budgets":"Budget a periodi personalizzati","journal_links":"Collegamenti della transazione","go_to_withdrawals":"Vai ai tuoi prelievi","revenue_accounts":"Conti entrate","add_another_split":"Aggiungi un\'altra divisione","actions":"Azioni","earned":"Guadagnato","empty":"(vuoto)","edit":"Modifica","never":"Mai","account_type_Loan":"Prestito","account_type_Mortgage":"Mutuo","stored_new_account_js":"Nuovo conto \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" salvato!","account_type_Debt":"Debito","delete":"Elimina","store_new_asset_account":"Salva nuovo conto attività","store_new_expense_account":"Salva il nuovo conto uscite","store_new_liabilities_account":"Memorizza nuova passività","store_new_revenue_account":"Salva il nuovo conto entrate","mandatoryFields":"Campi obbligatori","optionalFields":"Campi opzionali","reconcile_this_account":"Riconcilia questo conto","interest_calc_weekly":"Settimanale","interest_calc_monthly":"Al mese","interest_calc_quarterly":"Trimestrale","interest_calc_half-year":"Semestrale","interest_calc_yearly":"All\'anno","liability_direction_credit":"Questo debito mi è dovuto","liability_direction_debit":"Devo questo debito a qualcun altro","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Nessuna transazione|Salva questa transazione spostandola in un altro conto.|Salva queste transazioni spostandole in un altro conto.","none_in_select_list":"(nessuna)"},"list":{"piggy_bank":"Salvadanaio","percentage":"perc.","amount":"Importo","lastActivity":"Ultima attività","name":"Nome","role":"Ruolo","iban":"IBAN","interest":"Interesse","interest_period":"periodo di interesse","liability_type":"Tipo di passività","liability_direction":"(list.liability_direction)","currentBalance":"Saldo corrente","next_expected_match":"Prossimo abbinamento previsto"},"config":{"html_language":"it","week_in_year_fns":"\'Settimana\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Importo estero","interest_date":"Data di valuta","name":"Nome","amount":"Importo","iban":"IBAN","BIC":"BIC","notes":"Note","location":"Posizione","attachments":"Allegati","active":"Attivo","include_net_worth":"Includi nel patrimonio","account_number":"Numero conto","virtual_balance":"Saldo virtuale","opening_balance":"Saldo di apertura","opening_balance_date":"Data saldo di apertura","date":"Data","interest":"Interesse","interest_period":"Periodo di interesse","currency_id":"Valuta","liability_type":"Tipo passività","account_role":"Ruolo del conto","liability_direction":"Passività in entrata/uscita","book_date":"Data contabile","permDeleteWarning":"L\'eliminazione dei dati da Firefly III è definitiva e non può essere annullata.","account_areYouSure_js":"Sei sicuro di voler eliminare il conto \\"{name}\\"?","also_delete_piggyBanks_js":"Nessun salvadanaio|Anche l\'unico salvadanaio collegato a questo conto verrà eliminato.|Anche tutti i {count} salvadanai collegati a questo conto verranno eliminati.","also_delete_transactions_js":"Nessuna transazioni|Anche l\'unica transazione collegata al conto verrà eliminata.|Anche tutte le {count} transazioni collegati a questo conto verranno eliminate.","process_date":"Data elaborazione","due_date":"Data scadenza","payment_date":"Data pagamento","invoice_date":"Data fatturazione"}}')},9085:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Overføring","Withdrawal":"Uttak","Deposit":"Innskudd","date_and_time":"Date and time","no_currency":"(ingen valuta)","date":"Dato","time":"Time","no_budget":"(ingen budsjett)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metainformasjon","basic_journal_information":"Basic transaction information","bills_to_pay":"Regninger å betale","left_to_spend":"Igjen å bruke","attachments":"Vedlegg","net_worth":"Formue","bill":"Regning","no_bill":"(no bill)","tags":"Tagger","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Betalt","notes":"Notater","yourAccounts":"Dine kontoer","go_to_asset_accounts":"Se aktivakontoene dine","delete_account":"Slett konto","transaction_table_description":"A table containing your transactions","account":"Konto","description":"Beskrivelse","amount":"Beløp","budget":"Busjett","category":"Kategori","opposing_account":"Opposing account","budgets":"Budsjetter","categories":"Kategorier","go_to_budgets":"Gå til budsjettene dine","income":"Inntekt","go_to_deposits":"Go to deposits","go_to_categories":"Gå til kategoriene dine","expense_accounts":"Utgiftskontoer","go_to_expenses":"Go to expenses","go_to_bills":"Gå til regningene dine","bills":"Regninger","last_thirty_days":"Tredve siste dager","last_seven_days":"Syv siste dager","go_to_piggies":"Gå til sparegrisene dine","saved":"Saved","piggy_banks":"Sparegriser","piggy_bank":"Sparegris","amounts":"Amounts","left":"Gjenværende","spent":"Brukt","Default asset account":"Standard aktivakonto","search_results":"Søkeresultater","include":"Include?","transaction":"Transaksjon","account_role_defaultAsset":"Standard aktivakonto","account_role_savingAsset":"Sparekonto","account_role_sharedAsset":"Delt aktivakonto","clear_location":"Tøm lokasjon","account_role_ccAsset":"Kredittkort","account_role_cashWalletAsset":"Kontant lommebok","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Opprett ny utgiftskonto","create_new_revenue":"Opprett ny inntektskonto","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Feil!","store_transaction":"Store transaction","flash_success":"Suksess!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Søk","create_new_asset":"Opprett ny aktivakonto","asset_accounts":"Aktivakontoer","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Sted","other_budgets":"Custom timed budgets","journal_links":"Transaksjonskoblinger","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Inntektskontoer","add_another_split":"Legg til en oppdeling til","actions":"Handlinger","earned":"Opptjent","empty":"(empty)","edit":"Rediger","never":"Aldri","account_type_Loan":"Lån","account_type_Mortgage":"Boliglån","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Gjeld","delete":"Slett","store_new_asset_account":"Lagre ny brukskonto","store_new_expense_account":"Lagre ny utgiftskonto","store_new_liabilities_account":"Lagre ny gjeld","store_new_revenue_account":"Lagre ny inntektskonto","mandatoryFields":"Obligatoriske felter","optionalFields":"Valgfrie felter","reconcile_this_account":"Avstem denne kontoen","interest_calc_weekly":"Per week","interest_calc_monthly":"Per måned","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Per år","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(ingen)"},"list":{"piggy_bank":"Sparegris","percentage":"pct.","amount":"Beløp","lastActivity":"Siste aktivitet","name":"Navn","role":"Rolle","iban":"IBAN","interest":"Renter","interest_period":"renteperiode","liability_type":"Type gjeld","liability_direction":"(list.liability_direction)","currentBalance":"Nåværende saldo","next_expected_match":"Neste forventede treff"},"config":{"html_language":"nb","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Utenlandske beløp","interest_date":"Rentedato","name":"Navn","amount":"Beløp","iban":"IBAN","BIC":"BIC","notes":"Notater","location":"Location","attachments":"Vedlegg","active":"Aktiv","include_net_worth":"Inkluder i formue","account_number":"Account number","virtual_balance":"Virtual balance","opening_balance":"Opening balance","opening_balance_date":"Opening balance date","date":"Dato","interest":"Rente","interest_period":"Renteperiode","currency_id":"Valuta","liability_type":"Liability type","account_role":"Account role","liability_direction":"Liability in/out","book_date":"Bokføringsdato","permDeleteWarning":"Sletting av data fra Firefly III er permanent, og kan ikke angres.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Prosesseringsdato","due_date":"Forfallsdato","payment_date":"Betalingsdato","invoice_date":"Fakturadato"}}')},4671:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Overschrijving","Withdrawal":"Uitgave","Deposit":"Inkomsten","date_and_time":"Datum en tijd","no_currency":"(geen valuta)","date":"Datum","time":"Tijd","no_budget":"(geen budget)","destination_account":"Doelrekening","source_account":"Bronrekening","single_split":"Split","create_new_transaction":"Maak een nieuwe transactie","balance":"Saldo","transaction_journal_extra":"Extra informatie","transaction_journal_meta":"Metainformatie","basic_journal_information":"Standaard transactieinformatie","bills_to_pay":"Openstaande contracten","left_to_spend":"Over om uit te geven","attachments":"Bijlagen","net_worth":"Kapitaal","bill":"Contract","no_bill":"(geen contract)","tags":"Tags","internal_reference":"Interne referentie","external_url":"Externe URL","no_piggy_bank":"(geen spaarpotje)","paid":"Betaald","notes":"Notities","yourAccounts":"Je betaalrekeningen","go_to_asset_accounts":"Bekijk je betaalrekeningen","delete_account":"Verwijder je account","transaction_table_description":"Een tabel met je transacties","account":"Rekening","description":"Omschrijving","amount":"Bedrag","budget":"Budget","category":"Categorie","opposing_account":"Tegenrekening","budgets":"Budgetten","categories":"Categorieën","go_to_budgets":"Ga naar je budgetten","income":"Inkomsten","go_to_deposits":"Ga naar je inkomsten","go_to_categories":"Ga naar je categorieën","expense_accounts":"Crediteuren","go_to_expenses":"Ga naar je uitgaven","go_to_bills":"Ga naar je contracten","bills":"Contracten","last_thirty_days":"Laatste dertig dagen","last_seven_days":"Laatste zeven dagen","go_to_piggies":"Ga naar je spaarpotjes","saved":"Opgeslagen","piggy_banks":"Spaarpotjes","piggy_bank":"Spaarpotje","amounts":"Bedragen","left":"Over","spent":"Uitgegeven","Default asset account":"Standaard betaalrekening","search_results":"Zoekresultaten","include":"Opnemen?","transaction":"Transactie","account_role_defaultAsset":"Standaard betaalrekening","account_role_savingAsset":"Spaarrekening","account_role_sharedAsset":"Gedeelde betaalrekening","clear_location":"Wis locatie","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash","daily_budgets":"Dagelijkse budgetten","weekly_budgets":"Wekelijkse budgetten","monthly_budgets":"Maandelijkse budgetten","quarterly_budgets":"Driemaandelijkse budgetten","create_new_expense":"Nieuwe crediteur","create_new_revenue":"Nieuwe debiteur","create_new_liabilities":"Maak nieuwe passiva","half_year_budgets":"Halfjaarlijkse budgetten","yearly_budgets":"Jaarlijkse budgetten","split_transaction_title":"Beschrijving van de gesplitste transactie","errors_submission":"Er ging iets mis. Check de errors.","flash_error":"Fout!","store_transaction":"Transactie opslaan","flash_success":"Gelukt!","create_another":"Terug naar deze pagina voor een nieuwe transactie.","update_transaction":"Update transactie","after_update_create_another":"Na het opslaan terug om door te gaan met wijzigen.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID}</a> (\\"{title}\\") is niet gewijzigd.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID}</a> (\\"{title}\\") is geüpdatet.","spent_x_of_y":"{amount} van {total} uitgegeven","search":"Zoeken","create_new_asset":"Nieuwe betaalrekening","asset_accounts":"Betaalrekeningen","reset_after":"Reset formulier na opslaan","bill_paid_on":"Betaald op {date}","first_split_decides":"De eerste split bepaalt wat hier staat","first_split_overrules_source":"De eerste split kan de bronrekening overschrijven","first_split_overrules_destination":"De eerste split kan de doelrekening overschrijven","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID} (\\"{title}\\")</a> is opgeslagen.","custom_period":"Aangepaste periode","reset_to_current":"Reset naar huidige periode","select_period":"Selecteer een periode","location":"Plaats","other_budgets":"Aangepaste budgetten","journal_links":"Transactiekoppelingen","go_to_withdrawals":"Ga naar je uitgaven","revenue_accounts":"Debiteuren","add_another_split":"Voeg een split toe","actions":"Acties","earned":"Verdiend","empty":"(leeg)","edit":"Wijzig","never":"Nooit","account_type_Loan":"Lening","account_type_Mortgage":"Hypotheek","stored_new_account_js":"Nieuwe account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" opgeslagen!","account_type_Debt":"Schuld","delete":"Verwijder","store_new_asset_account":"Sla nieuwe betaalrekening op","store_new_expense_account":"Sla nieuwe crediteur op","store_new_liabilities_account":"Nieuwe passiva opslaan","store_new_revenue_account":"Sla nieuwe debiteur op","mandatoryFields":"Verplichte velden","optionalFields":"Optionele velden","reconcile_this_account":"Stem deze rekening af","interest_calc_weekly":"Per week","interest_calc_monthly":"Per maand","interest_calc_quarterly":"Per kwartaal","interest_calc_half-year":"Per half jaar","interest_calc_yearly":"Per jaar","liability_direction_credit":"Ik krijg dit bedrag terug","liability_direction_debit":"Ik moet dit bedrag terugbetalen","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Geen transacties|Bewaar deze transactie door ze aan een andere rekening te koppelen.|Bewaar deze transacties door ze aan een andere rekening te koppelen.","none_in_select_list":"(geen)"},"list":{"piggy_bank":"Spaarpotje","percentage":"pct","amount":"Bedrag","lastActivity":"Laatste activiteit","name":"Naam","role":"Rol","iban":"IBAN","interest":"Rente","interest_period":"renteperiode","liability_type":"Type passiva","liability_direction":"(list.liability_direction)","currentBalance":"Huidig saldo","next_expected_match":"Volgende verwachte match"},"config":{"html_language":"nl","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Bedrag in vreemde valuta","interest_date":"Rentedatum","name":"Naam","amount":"Bedrag","iban":"IBAN","BIC":"BIC","notes":"Notities","location":"Locatie","attachments":"Bijlagen","active":"Actief","include_net_worth":"Meetellen in kapitaal","account_number":"Rekeningnummer","virtual_balance":"Virtueel saldo","opening_balance":"Startsaldo","opening_balance_date":"Startsaldodatum","date":"Datum","interest":"Rente","interest_period":"Renteperiode","currency_id":"Valuta","liability_type":"Passivasoort","account_role":"Rol van rekening","liability_direction":"Passiva in- of uitgaand","book_date":"Boekdatum","permDeleteWarning":"Dingen verwijderen uit Firefly III is permanent en kan niet ongedaan gemaakt worden.","account_areYouSure_js":"Weet je zeker dat je de rekening met naam \\"{name}\\" wilt verwijderen?","also_delete_piggyBanks_js":"Geen spaarpotjes|Ook het spaarpotje verbonden aan deze rekening wordt verwijderd.|Ook alle {count} spaarpotjes verbonden aan deze rekening worden verwijderd.","also_delete_transactions_js":"Geen transacties|Ook de enige transactie verbonden aan deze rekening wordt verwijderd.|Ook alle {count} transacties verbonden aan deze rekening worden verwijderd.","process_date":"Verwerkingsdatum","due_date":"Vervaldatum","payment_date":"Betalingsdatum","invoice_date":"Factuurdatum"}}')},6238:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Wypłata","Deposit":"Wpłata","date_and_time":"Data i czas","no_currency":"(brak waluty)","date":"Data","time":"Czas","no_budget":"(brak budżetu)","destination_account":"Konto docelowe","source_account":"Konto źródłowe","single_split":"Podział","create_new_transaction":"Stwórz nową transakcję","balance":"Saldo","transaction_journal_extra":"Dodatkowe informacje","transaction_journal_meta":"Meta informacje","basic_journal_information":"Podstawowe informacje o transakcji","bills_to_pay":"Rachunki do zapłacenia","left_to_spend":"Pozostało do wydania","attachments":"Załączniki","net_worth":"Wartość netto","bill":"Rachunek","no_bill":"(brak rachunku)","tags":"Tagi","internal_reference":"Wewnętrzny nr referencyjny","external_url":"Zewnętrzny adres URL","no_piggy_bank":"(brak skarbonki)","paid":"Zapłacone","notes":"Notatki","yourAccounts":"Twoje konta","go_to_asset_accounts":"Zobacz swoje konta aktywów","delete_account":"Usuń konto","transaction_table_description":"Tabela zawierająca Twoje transakcje","account":"Konto","description":"Opis","amount":"Kwota","budget":"Budżet","category":"Kategoria","opposing_account":"Konto przeciwstawne","budgets":"Budżety","categories":"Kategorie","go_to_budgets":"Przejdź do swoich budżetów","income":"Przychody / dochody","go_to_deposits":"Przejdź do wpłat","go_to_categories":"Przejdź do swoich kategorii","expense_accounts":"Konta wydatków","go_to_expenses":"Przejdź do wydatków","go_to_bills":"Przejdź do swoich rachunków","bills":"Rachunki","last_thirty_days":"Ostanie 30 dni","last_seven_days":"Ostatnie 7 dni","go_to_piggies":"Przejdź do swoich skarbonek","saved":"Zapisano","piggy_banks":"Skarbonki","piggy_bank":"Skarbonka","amounts":"Kwoty","left":"Pozostało","spent":"Wydano","Default asset account":"Domyślne konto aktywów","search_results":"Wyniki wyszukiwania","include":"Include?","transaction":"Transakcja","account_role_defaultAsset":"Domyślne konto aktywów","account_role_savingAsset":"Konto oszczędnościowe","account_role_sharedAsset":"Współdzielone konto aktywów","clear_location":"Wyczyść lokalizację","account_role_ccAsset":"Karta kredytowa","account_role_cashWalletAsset":"Portfel gotówkowy","daily_budgets":"Budżety dzienne","weekly_budgets":"Budżety tygodniowe","monthly_budgets":"Budżety miesięczne","quarterly_budgets":"Budżety kwartalne","create_new_expense":"Utwórz nowe konto wydatków","create_new_revenue":"Utwórz nowe konto przychodów","create_new_liabilities":"Utwórz nowe zobowiązanie","half_year_budgets":"Budżety półroczne","yearly_budgets":"Budżety roczne","split_transaction_title":"Opis podzielonej transakcji","errors_submission":"Coś poszło nie tak w czasie zapisu. Proszę sprawdź błędy.","flash_error":"Błąd!","store_transaction":"Zapisz transakcję","flash_success":"Sukces!","create_another":"Po zapisaniu wróć tutaj, aby utworzyć kolejny.","update_transaction":"Zaktualizuj transakcję","after_update_create_another":"Po aktualizacji wróć tutaj, aby kontynuować edycję.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID}</a> (\\"{title}\\") nie została zmieniona.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID}</a> (\\"{title}\\") została zaktualizowana.","spent_x_of_y":"Wydano {amount} z {total}","search":"Szukaj","create_new_asset":"Utwórz nowe konto aktywów","asset_accounts":"Konta aktywów","reset_after":"Wyczyść formularz po zapisaniu","bill_paid_on":"Zapłacone {date}","first_split_decides":"Pierwszy podział określa wartość tego pola","first_split_overrules_source":"Pierwszy podział może nadpisać konto źródłowe","first_split_overrules_destination":"Pierwszy podział może nadpisać konto docelowe","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID} (\\"{title}\\")</a> została zapisana.","custom_period":"Okres niestandardowy","reset_to_current":"Przywróć do bieżącego okresu","select_period":"Wybierz okres","location":"Lokalizacja","other_budgets":"Budżety niestandardowe","journal_links":"Powiązane transakcje","go_to_withdrawals":"Przejdź do swoich wydatków","revenue_accounts":"Konta przychodów","add_another_split":"Dodaj kolejny podział","actions":"Akcje","earned":"Zarobiono","empty":"(pusty)","edit":"Modyfikuj","never":"Nigdy","account_type_Loan":"Pożyczka","account_type_Mortgage":"Hipoteka","stored_new_account_js":"Nowe konto \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" zapisane!","account_type_Debt":"Dług","delete":"Usuń","store_new_asset_account":"Zapisz nowe konto aktywów","store_new_expense_account":"Zapisz nowe konto wydatków","store_new_liabilities_account":"Zapisz nowe zobowiązanie","store_new_revenue_account":"Zapisz nowe konto przychodów","mandatoryFields":"Pola wymagane","optionalFields":"Pola opcjonalne","reconcile_this_account":"Uzgodnij to konto","interest_calc_weekly":"Tygodniowo","interest_calc_monthly":"Co miesiąc","interest_calc_quarterly":"Kwartalnie","interest_calc_half-year":"Co pół roku","interest_calc_yearly":"Co rok","liability_direction_credit":"Zadłużenie wobec mnie","liability_direction_debit":"Zadłużenie wobec kogoś innego","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Brak transakcji|Zapisz tę transakcję, przenosząc ją na inne konto.|Zapisz te transakcje przenosząc je na inne konto.","none_in_select_list":"(żadne)"},"list":{"piggy_bank":"Skarbonka","percentage":"%","amount":"Kwota","lastActivity":"Ostatnia aktywność","name":"Nazwa","role":"Rola","iban":"IBAN","interest":"Odsetki","interest_period":"okres odsetkowy","liability_type":"Rodzaj zobowiązania","liability_direction":"(list.liability_direction)","currentBalance":"Bieżące saldo","next_expected_match":"Następne oczekiwane dopasowanie"},"config":{"html_language":"pl","week_in_year_fns":"w \'tydzień\' yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"Q \'kwartał\' yyyy","half_year_fns":"\'{half} połowa\' yyyy"},"form":{"foreign_amount":"Kwota zagraniczna","interest_date":"Data odsetek","name":"Nazwa","amount":"Kwota","iban":"IBAN","BIC":"BIC","notes":"Notatki","location":"Lokalizacja","attachments":"Załączniki","active":"Aktywny","include_net_worth":"Uwzględnij w wartości netto","account_number":"Numer konta","virtual_balance":"Wirtualne saldo","opening_balance":"Saldo początkowe","opening_balance_date":"Data salda otwarcia","date":"Data","interest":"Odsetki","interest_period":"Okres odsetkowy","currency_id":"Waluta","liability_type":"Rodzaj zobowiązania","account_role":"Rola konta","liability_direction":"Liability in/out","book_date":"Data księgowania","permDeleteWarning":"Usuwanie rzeczy z Firefly III jest trwałe i nie można tego cofnąć.","account_areYouSure_js":"Czy na pewno chcesz usunąć konto o nazwie \\"{name}\\"?","also_delete_piggyBanks_js":"Brak skarbonek|Jedyna skarbonka połączona z tym kontem również zostanie usunięta.|Wszystkie {count} skarbonki połączone z tym kontem zostaną również usunięte.","also_delete_transactions_js":"Brak transakcji|Jedyna transakcja połączona z tym kontem również zostanie usunięta.|Wszystkie {count} transakcje połączone z tym kontem również zostaną usunięte.","process_date":"Data przetworzenia","due_date":"Termin realizacji","payment_date":"Data płatności","invoice_date":"Data faktury"}}')},6586:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Transferência","Withdrawal":"Retirada","Deposit":"Depósito","date_and_time":"Data e hora","no_currency":"(sem moeda)","date":"Data","time":"Horário","no_budget":"(sem orçamento)","destination_account":"Conta destino","source_account":"Conta origem","single_split":"Divisão","create_new_transaction":"Criar nova transação","balance":"Saldo","transaction_journal_extra":"Informação extra","transaction_journal_meta":"Meta-informação","basic_journal_information":"Informações básicas de transação","bills_to_pay":"Contas a pagar","left_to_spend":"Restante para gastar","attachments":"Anexos","net_worth":"Valor Líquido","bill":"Fatura","no_bill":"(sem conta)","tags":"Tags","internal_reference":"Referência interna","external_url":"URL externa","no_piggy_bank":"(nenhum cofrinho)","paid":"Pago","notes":"Notas","yourAccounts":"Suas contas","go_to_asset_accounts":"Veja suas contas ativas","delete_account":"Apagar conta","transaction_table_description":"Uma tabela contendo suas transações","account":"Conta","description":"Descrição","amount":"Valor","budget":"Orçamento","category":"Categoria","opposing_account":"Conta oposta","budgets":"Orçamentos","categories":"Categorias","go_to_budgets":"Vá para seus orçamentos","income":"Receita / Renda","go_to_deposits":"Ir para as entradas","go_to_categories":"Vá para suas categorias","expense_accounts":"Contas de despesas","go_to_expenses":"Ir para despesas","go_to_bills":"Vá para suas contas","bills":"Faturas","last_thirty_days":"Últimos 30 dias","last_seven_days":"Últimos sete dias","go_to_piggies":"Vá para sua poupança","saved":"Salvo","piggy_banks":"Cofrinhos","piggy_bank":"Cofrinho","amounts":"Quantias","left":"Restante","spent":"Gasto","Default asset account":"Conta padrão","search_results":"Resultados da pesquisa","include":"Incluir?","transaction":"Transação","account_role_defaultAsset":"Conta padrão","account_role_savingAsset":"Conta poupança","account_role_sharedAsset":"Contas de ativos compartilhadas","clear_location":"Limpar localização","account_role_ccAsset":"Cartão de crédito","account_role_cashWalletAsset":"Carteira de dinheiro","daily_budgets":"Orçamentos diários","weekly_budgets":"Orçamentos semanais","monthly_budgets":"Orçamentos mensais","quarterly_budgets":"Orçamentos trimestrais","create_new_expense":"Criar nova conta de despesa","create_new_revenue":"Criar nova conta de receita","create_new_liabilities":"Criar novo passivo","half_year_budgets":"Orçamentos semestrais","yearly_budgets":"Orçamentos anuais","split_transaction_title":"Descrição da transação dividida","errors_submission":"Há algo de errado com o seu envio. Por favor, verifique os erros abaixo.","flash_error":"Erro!","store_transaction":"Salvar transação","flash_success":"Sucesso!","create_another":"Depois de armazenar, retorne aqui para criar outro.","update_transaction":"Atualizar transação","after_update_create_another":"Depois de atualizar, retorne aqui para continuar editando.","transaction_updated_no_changes":"A <a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") não recebeu nenhuma alteração.","transaction_updated_link":"A <a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") foi atualizada.","spent_x_of_y":"Gasto {amount} de {total}","search":"Pesquisa","create_new_asset":"Criar nova conta de ativo","asset_accounts":"Contas de ativo","reset_after":"Resetar o formulário após o envio","bill_paid_on":"Pago em {date}","first_split_decides":"A primeira divisão determina o valor deste campo","first_split_overrules_source":"A primeira divisão pode anular a conta de origem","first_split_overrules_destination":"A primeira divisão pode anular a conta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID} (\\"{title}\\")</a> foi salva.","custom_period":"Período personalizado","reset_to_current":"Redefinir para o período atual","select_period":"Selecione um período","location":"Localização","other_budgets":"Orçamentos de períodos personalizados","journal_links":"Transações ligadas","go_to_withdrawals":"Vá para seus saques","revenue_accounts":"Contas de receitas","add_another_split":"Adicionar outra divisão","actions":"Ações","earned":"Ganho","empty":"(vazio)","edit":"Editar","never":"Nunca","account_type_Loan":"Empréstimo","account_type_Mortgage":"Hipoteca","stored_new_account_js":"Nova conta \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" armazenada!","account_type_Debt":"Dívida","delete":"Apagar","store_new_asset_account":"Armazenar nova conta de ativo","store_new_expense_account":"Armazenar nova conta de despesa","store_new_liabilities_account":"Guardar novo passivo","store_new_revenue_account":"Armazenar nova conta de receita","mandatoryFields":"Campos obrigatórios","optionalFields":"Campos opcionais","reconcile_this_account":"Concilie esta conta","interest_calc_weekly":"Por semana","interest_calc_monthly":"Por mês","interest_calc_quarterly":"Por trimestre","interest_calc_half-year":"Por semestre","interest_calc_yearly":"Por ano","liability_direction_credit":"Devo este débito","liability_direction_debit":"Devo este débito a outra pessoa","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Nenhuma transação.|Salve esta transação movendo-a para outra conta.|Salve essas transações movendo-as para outra conta.","none_in_select_list":"(nenhum)"},"list":{"piggy_bank":"Cofrinho","percentage":"pct.","amount":"Total","lastActivity":"Última atividade","name":"Nome","role":"Papel","iban":"IBAN","interest":"Juros","interest_period":"período de juros","liability_type":"Tipo de passivo","liability_direction":"(list.liability_direction)","currentBalance":"Saldo atual","next_expected_match":"Próximo correspondente esperado"},"config":{"html_language":"pt-br","week_in_year_fns":"\'Semana\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'T\'Q, yyyy","half_year_fns":"\'S{half}\', yyyy"},"form":{"foreign_amount":"Montante em moeda estrangeira","interest_date":"Data de interesse","name":"Nome","amount":"Valor","iban":"IBAN","BIC":"BIC","notes":"Notas","location":"Localização","attachments":"Anexos","active":"Ativar","include_net_worth":"Incluir no patrimonio liquido","account_number":"Número de conta","virtual_balance":"Saldo virtual","opening_balance":"Saldo inicial","opening_balance_date":"Data do saldo inicial","date":"Data","interest":"Juros","interest_period":"Período de juros","currency_id":"Moeda","liability_type":"Tipo de passivo","account_role":"Função de conta","liability_direction":"Passivo entrada/saída","book_date":"Data reserva","permDeleteWarning":"Exclusão de dados do Firefly III são permanentes e não podem ser desfeitos.","account_areYouSure_js":"Tem certeza que deseja excluir a conta \\"{name}\\"?","also_delete_piggyBanks_js":"Sem cofrinhos|O único cofrinho conectado a esta conta também será excluído.|Todos os {count} cofrinhos conectados a esta conta também serão excluídos.","also_delete_transactions_js":"Sem transações|A única transação conectada a esta conta também será excluída.|Todas as {count} transações conectadas a essa conta também serão excluídas.","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da Fatura"}}')},8664:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Transferência","Withdrawal":"Levantamento","Deposit":"Depósito","date_and_time":"Data e hora","no_currency":"(sem moeda)","date":"Data","time":"Hora","no_budget":"(sem orçamento)","destination_account":"Conta de destino","source_account":"Conta de origem","single_split":"Dividir","create_new_transaction":"Criar uma nova transação","balance":"Saldo","transaction_journal_extra":"Informações extra","transaction_journal_meta":"Meta informação","basic_journal_information":"Informações básicas de transação","bills_to_pay":"Faturas a pagar","left_to_spend":"Restante para gastar","attachments":"Anexos","net_worth":"Patrimonio liquido","bill":"Fatura","no_bill":"(sem fatura)","tags":"Etiquetas","internal_reference":"Referência interna","external_url":"URL Externo","no_piggy_bank":"(nenhum mealheiro)","paid":"Pago","notes":"Notas","yourAccounts":"As suas contas","go_to_asset_accounts":"Ver as contas de activos","delete_account":"Apagar conta de utilizador","transaction_table_description":"Uma tabela com as suas transacções","account":"Conta","description":"Descricao","amount":"Montante","budget":"Orcamento","category":"Categoria","opposing_account":"Conta oposta","budgets":"Orçamentos","categories":"Categorias","go_to_budgets":"Ir para os seus orçamentos","income":"Receita / renda","go_to_deposits":"Ir para depósitos","go_to_categories":"Ir para categorias","expense_accounts":"Conta de despesas","go_to_expenses":"Ir para despesas","go_to_bills":"Ir para as faturas","bills":"Faturas","last_thirty_days":"Últimos trinta dias","last_seven_days":"Últimos sete dias","go_to_piggies":"Ir para mealheiros","saved":"Guardado","piggy_banks":"Mealheiros","piggy_bank":"Mealheiro","amounts":"Montantes","left":"Em falta","spent":"Gasto","Default asset account":"Conta de activos padrão","search_results":"Resultados da pesquisa","include":"Incluir?","transaction":"Transacção","account_role_defaultAsset":"Conta de activos padrão","account_role_savingAsset":"Conta poupança","account_role_sharedAsset":"Conta de activos partilhados","clear_location":"Limpar localização","account_role_ccAsset":"Cartão de credito","account_role_cashWalletAsset":"Carteira de dinheiro","daily_budgets":"Orçamento diário","weekly_budgets":"Orçamento semanal","monthly_budgets":"Orçamento mensal","quarterly_budgets":"Orçamento trimestral","create_new_expense":"Criar nova conta de despesas","create_new_revenue":"Criar nova conta de receitas","create_new_liabilities":"Criar novo passivo","half_year_budgets":"Orçamento semestral","yearly_budgets":"Orçamento anual","split_transaction_title":"Descrição da transacção dividida","errors_submission":"Aconteceu algo errado com a sua submissão. Por favor, verifique os erros.","flash_error":"Erro!","store_transaction":"Guardar transação","flash_success":"Sucesso!","create_another":"Depois de guardar, voltar aqui para criar outra.","update_transaction":"Actualizar transacção","after_update_create_another":"Após a atualização, regresse aqui para continuar a editar.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") não recebeu nenhuma alteração.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") foi atualizada.","spent_x_of_y":"Gasto {amount} de {total}","search":"Procurar","create_new_asset":"Criar nova conta de activos","asset_accounts":"Conta de activos","reset_after":"Repor o formulário após o envio","bill_paid_on":"Pago a {date}","first_split_decides":"A primeira divisão determina o valor deste campo","first_split_overrules_source":"A primeira divisão pode anular a conta de origem","first_split_overrules_destination":"A primeira divisão pode anular a conta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID} (\\"{title}\\")</a> foi guardada.","custom_period":"Período personalizado","reset_to_current":"Reiniciar o período personalizado","select_period":"Selecionar um período","location":"Localização","other_budgets":"Orçamentos de tempo personalizado","journal_links":"Ligações de transacção","go_to_withdrawals":"Ir para os seus levantamentos","revenue_accounts":"Conta de receitas","add_another_split":"Adicionar outra divisão","actions":"Ações","earned":"Ganho","empty":"(vazio)","edit":"Alterar","never":"Nunca","account_type_Loan":"Emprestimo","account_type_Mortgage":"Hipoteca","stored_new_account_js":"Nova conta \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" armazenada!","account_type_Debt":"Debito","delete":"Apagar","store_new_asset_account":"Guardar nova conta de activos","store_new_expense_account":"Guardar nova conta de despesas","store_new_liabilities_account":"Guardar novo passivo","store_new_revenue_account":"Guardar nova conta de receitas","mandatoryFields":"Campos obrigatorios","optionalFields":"Campos opcionais","reconcile_this_account":"Reconciliar esta conta","interest_calc_weekly":"Por semana","interest_calc_monthly":"Mensal","interest_calc_quarterly":"Por trimestre","interest_calc_half-year":"Por meio ano","interest_calc_yearly":"Anual","liability_direction_credit":"Esta dívida é-me devida","liability_direction_debit":"Devo esta dívida a outra pessoa","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Nenhuma transação| Guarde esta transação movendo-a para outra conta| Guarde estas transações movendo-as para outra conta.","none_in_select_list":"(nenhum)"},"list":{"piggy_bank":"Mealheiro","percentage":"%.","amount":"Montante","lastActivity":"Ultima actividade","name":"Nome","role":"Regra","iban":"IBAN","interest":"Juro","interest_period":"periodo de juros","liability_type":"Tipo de responsabilidade","liability_direction":"(list.liability_direction)","currentBalance":"Saldo actual","next_expected_match":"Proxima correspondencia esperada"},"config":{"html_language":"pt","week_in_year_fns":"\'Semana\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Trimestre\' Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Montante estrangeiro","interest_date":"Data de juros","name":"Nome","amount":"Montante","iban":"IBAN","BIC":"BIC","notes":"Notas","location":"Localização","attachments":"Anexos","active":"Activo","include_net_worth":"Incluir no patrimonio liquido","account_number":"Número de conta","virtual_balance":"Saldo virtual","opening_balance":"Saldo inicial","opening_balance_date":"Data do saldo inicial","date":"Data","interest":"Juro","interest_period":"Periodo de juros","currency_id":"Divisa","liability_type":"Tipo de responsabilidade","account_role":"Tipo de conta","liability_direction":"Responsabilidade entrada/saída","book_date":"Data de registo","permDeleteWarning":"Apagar as tuas coisas do Firefly III e permanente e nao pode ser desfeito.","account_areYouSure_js":"Tem a certeza que deseja eliminar a conta denominada por \\"{name}?","also_delete_piggyBanks_js":"Nenhum mealheiro|O único mealheiro ligado a esta conta será também eliminado.|Todos os {count} mealheiros ligados a esta conta serão também eliminados.","also_delete_transactions_js":"Nenhuma transação| A única transação ligada a esta conta será também excluída.|Todas as {count} transações ligadas a esta conta serão também excluídas.","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da factura"}}')},1102:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Retragere","Deposit":"Depozit","date_and_time":"Data și ora","no_currency":"(nici o monedă)","date":"Dată","time":"Timp","no_budget":"(nici un buget)","destination_account":"Contul de destinație","source_account":"Contul sursă","single_split":"Împarte","create_new_transaction":"Creați o tranzacție nouă","balance":"Balantă","transaction_journal_extra":"Informații suplimentare","transaction_journal_meta":"Informații meta","basic_journal_information":"Informații de bază despre tranzacție","bills_to_pay":"Facturile de plată","left_to_spend":"Ramas de cheltuit","attachments":"Atașamente","net_worth":"Valoarea netă","bill":"Factură","no_bill":"(fără factură)","tags":"Etichete","internal_reference":"Referință internă","external_url":"URL extern","no_piggy_bank":"(nicio pușculiță)","paid":"Plătit","notes":"Notițe","yourAccounts":"Conturile dvs.","go_to_asset_accounts":"Vizualizați conturile de active","delete_account":"Șterge account","transaction_table_description":"Un tabel care conține tranzacțiile tale","account":"Cont","description":"Descriere","amount":"Sumă","budget":"Buget","category":"Categorie","opposing_account":"Cont opus","budgets":"Buget","categories":"Categorii","go_to_budgets":"Mergi la bugete","income":"Venituri","go_to_deposits":"Du-te la depozite","go_to_categories":"Mergi la categorii","expense_accounts":"Conturi de cheltuieli","go_to_expenses":"Mergi la cheltuieli","go_to_bills":"Mergi la facturi","bills":"Facturi","last_thirty_days":"Ultimele 30 de zile","last_seven_days":"Ultimele 7 zile","go_to_piggies":"Mergi la pușculiță","saved":"Salvat","piggy_banks":"Pușculiță","piggy_bank":"Pușculiță","amounts":"Sume","left":"Rămas","spent":"Cheltuit","Default asset account":"Cont de active implicit","search_results":"Rezultatele căutarii","include":"Include?","transaction":"Tranzacţie","account_role_defaultAsset":"Contul implicit activ","account_role_savingAsset":"Cont de economii","account_role_sharedAsset":"Contul de active partajat","clear_location":"Ștergeți locația","account_role_ccAsset":"Card de credit","account_role_cashWalletAsset":"Cash - Numerar","daily_budgets":"Bugete zilnice","weekly_budgets":"Bugete săptămânale","monthly_budgets":"Bugete lunare","quarterly_budgets":"Bugete trimestriale","create_new_expense":"Creați un nou cont de cheltuieli","create_new_revenue":"Creați un nou cont de venituri","create_new_liabilities":"Creare provizion nou","half_year_budgets":"Bugete semestriale","yearly_budgets":"Bugete anuale","split_transaction_title":"Descrierea tranzacției divizate","errors_submission":"A fost ceva în neregulă cu depunerea ta. Te rugăm să verifici erorile.","flash_error":"Eroare!","store_transaction":"Tranzacție magazin","flash_success":"Succes!","create_another":"După stocare, reveniți aici pentru a crea alta.","update_transaction":"Actualizați tranzacția","after_update_create_another":"După actualizare, reveniți aici pentru a continua editarea.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Tranzacția #{ID}</a> (\\"{title}\\") nu a primit nicio modificare.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Tranzacția #{ID}</a> (\\"{title}\\") a fost actualizată.","spent_x_of_y":"Cheltuit {amount} din {total}","search":"Caută","create_new_asset":"Creați un nou cont de active","asset_accounts":"Conturile de active","reset_after":"Resetați formularul după trimitere","bill_paid_on":"Plătit pe {date}","first_split_decides":"Prima împărțire determină valoarea acestui câmp","first_split_overrules_source":"Prima împărțire poate suprascrie contul sursă","first_split_overrules_destination":"Prima împărțire poate suprascrie contul de destinație","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Tranzacția #{ID} (\\"{title}\\")</a> a fost stocată.","custom_period":"Perioadă personalizată","reset_to_current":"Resetare la perioada curentă","select_period":"Selectați o perioadă","location":"Locație","other_budgets":"Bugete personalizate temporale","journal_links":"Link-uri de tranzacții","go_to_withdrawals":"Mergi la retragerile tale","revenue_accounts":"Conturi de venituri","add_another_split":"Adăugați o divizare","actions":"Acțiuni","earned":"Câștigat","empty":"(gol)","edit":"Editează","never":"Niciodată","account_type_Loan":"Împrumut","account_type_Mortgage":"Credit ipotecar","stored_new_account_js":"Cont nou \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stocat!","account_type_Debt":"Datorie","delete":"Șterge","store_new_asset_account":"Salvați un nou cont de active","store_new_expense_account":"Salvați un nou cont de cheltuieli","store_new_liabilities_account":"Salvați provizion nou","store_new_revenue_account":"Salvați un nou cont de venituri","mandatoryFields":"Câmpuri obligatorii","optionalFields":"Câmpuri opționale","reconcile_this_account":"Reconciliați acest cont","interest_calc_weekly":"Pe săptămână","interest_calc_monthly":"Pe lună","interest_calc_quarterly":"Pe trimestru","interest_calc_half-year":"Pe jumătate de an","interest_calc_yearly":"Pe an","liability_direction_credit":"Sunt datorat acestei datorii","liability_direction_debit":"Datorăm această datorie altcuiva","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Fără tranzacții* Salvați această tranzacție mutând-o în alt cont. | Salvați aceste tranzacții mutându-le într-un alt cont.","none_in_select_list":"(nici unul)"},"list":{"piggy_bank":"Pușculiță","percentage":"procent %","amount":"Sumă","lastActivity":"Ultima activitate","name":"Nume","role":"Rol","iban":"IBAN","interest":"Interes","interest_period":"perioadă de interes","liability_type":"Tip de provizion","liability_direction":"(list.liability_direction)","currentBalance":"Sold curent","next_expected_match":"Următoarea potrivire așteptată"},"config":{"html_language":"ro","week_in_year_fns":"\'Săptămână\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyy"},"form":{"foreign_amount":"Sumă străină","interest_date":"Data de interes","name":"Nume","amount":"Sumă","iban":"IBAN","BIC":"BIC","notes":"Notițe","location":"Locație","attachments":"Fișiere atașate","active":"Activ","include_net_worth":"Includeți în valoare netă","account_number":"Număr de cont","virtual_balance":"Soldul virtual","opening_balance":"Soldul de deschidere","opening_balance_date":"Data soldului de deschidere","date":"Dată","interest":"Interes","interest_period":"Perioadă de interes","currency_id":"Monedă","liability_type":"Tipul de provizion","account_role":"Rolul contului","liability_direction":"Răspundere în/afară","book_date":"Rezervă dată","permDeleteWarning":"Ștergerea este permanentă și nu poate fi anulată.","account_areYouSure_js":"Sunteţi sigur că doriţi să ştergeţi contul numit \\"{name}\\"?","also_delete_piggyBanks_js":"Nici o pușculiță | Singura pușculiță conectată la acest cont va fi de asemenea ștearsă. Toate cele {count} pușculițe conectate la acest cont vor fi șterse, de asemenea.","also_delete_transactions_js":"Nicio tranzacție | Singura tranzacție conectată la acest cont va fi de asemenea ștearsă. | Toate cele {count} tranzacții conectate la acest cont vor fi șterse, de asemenea.","process_date":"Data procesării","due_date":"Data scadentă","payment_date":"Data de plată","invoice_date":"Data facturii"}}')},753:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Перевод","Withdrawal":"Расход","Deposit":"Доход","date_and_time":"Дата и время","no_currency":"(нет валюты)","date":"Дата","time":"Время","no_budget":"(вне бюджета)","destination_account":"Счёт назначения","source_account":"Счёт-источник","single_split":"Разделённая транзакция","create_new_transaction":"Создать новую транзакцию","balance":"Бaлaнc","transaction_journal_extra":"Дополнительные сведения","transaction_journal_meta":"Дополнительная информация","basic_journal_information":"Основная информация о транзакции","bills_to_pay":"Счета к оплате","left_to_spend":"Осталось потратить","attachments":"Вложения","net_worth":"Мои сбережения","bill":"Счёт к оплате","no_bill":"(нет счёта на оплату)","tags":"Метки","internal_reference":"Внутренняя ссылка","external_url":"Внешний URL-адрес","no_piggy_bank":"(нет копилки)","paid":"Оплачено","notes":"Заметки","yourAccounts":"Ваши счета","go_to_asset_accounts":"Просмотр ваших основных счетов","delete_account":"Удалить профиль","transaction_table_description":"Таблица, содержащая ваши транзакции","account":"Счёт","description":"Описание","amount":"Сумма","budget":"Бюджет","category":"Категория","opposing_account":"Противодействующий счёт","budgets":"Бюджет","categories":"Категории","go_to_budgets":"Перейти к вашим бюджетам","income":"Мои доходы","go_to_deposits":"Перейти ко вкладам","go_to_categories":"Перейти к вашим категориям","expense_accounts":"Счета расходов","go_to_expenses":"Перейти к расходам","go_to_bills":"Перейти к вашим счетам на оплату","bills":"Счета к оплате","last_thirty_days":"Последние 30 дней","last_seven_days":"Последние 7 дней","go_to_piggies":"Перейти к вашим копилкам","saved":"Сохранено","piggy_banks":"Копилки","piggy_bank":"Копилка","amounts":"Сумма","left":"Осталось","spent":"Расход","Default asset account":"Счёт по умолчанию","search_results":"Результаты поиска","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Счёт по умолчанию","account_role_savingAsset":"Сберегательный счет","account_role_sharedAsset":"Общий основной счёт","clear_location":"Очистить местоположение","account_role_ccAsset":"Кредитная карта","account_role_cashWalletAsset":"Наличные","daily_budgets":"Бюджеты на день","weekly_budgets":"Бюджеты на неделю","monthly_budgets":"Бюджеты на месяц","quarterly_budgets":"Бюджеты на квартал","create_new_expense":"Создать новый счёт расхода","create_new_revenue":"Создать новый счёт дохода","create_new_liabilities":"Create new liability","half_year_budgets":"Бюджеты на полгода","yearly_budgets":"Годовые бюджеты","split_transaction_title":"Описание разделённой транзакции","errors_submission":"При отправке что-то пошло не так. Пожалуйста, проверьте ошибки ниже.","flash_error":"Ошибка!","store_transaction":"Сохранить транзакцию","flash_success":"Успешно!","create_another":"После сохранения вернуться сюда и создать ещё одну аналогичную запись.","update_transaction":"Обновить транзакцию","after_update_create_another":"После обновления вернитесь сюда, чтобы продолжить редактирование.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Поиск","create_new_asset":"Создать новый активный счёт","asset_accounts":"Основные счета","reset_after":"Сбросить форму после отправки","bill_paid_on":"Оплачено {date}","first_split_decides":"В данном поле используется значение из первой части разделенной транзакции","first_split_overrules_source":"Значение из первой части транзакции может изменить счет источника","first_split_overrules_destination":"Значение из первой части транзакции может изменить счет назначения","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID} (\\"{title}\\")</a> сохранена.","custom_period":"Пользовательский период","reset_to_current":"Сброс к текущему периоду","select_period":"Выберите период","location":"Размещение","other_budgets":"Бюджеты на произвольный отрезок времени","journal_links":"Связи транзакции","go_to_withdrawals":"Перейти к вашим расходам","revenue_accounts":"Счета доходов","add_another_split":"Добавить еще одну часть","actions":"Действия","earned":"Заработано","empty":"(пусто)","edit":"Изменить","never":"Никогда","account_type_Loan":"Заём","account_type_Mortgage":"Ипотека","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Дебит","delete":"Удалить","store_new_asset_account":"Сохранить новый основной счёт","store_new_expense_account":"Сохранить новый счёт расхода","store_new_liabilities_account":"Сохранить новое обязательство","store_new_revenue_account":"Сохранить новый счёт дохода","mandatoryFields":"Обязательные поля","optionalFields":"Дополнительные поля","reconcile_this_account":"Произвести сверку данного счёта","interest_calc_weekly":"Per week","interest_calc_monthly":"В месяц","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"В год","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(нет)"},"list":{"piggy_bank":"Копилка","percentage":"процентов","amount":"Сумма","lastActivity":"Последняя активность","name":"Имя","role":"Роль","iban":"IBAN","interest":"Процентная ставка","interest_period":"период начисления процентов","liability_type":"Тип ответственности","liability_direction":"(list.liability_direction)","currentBalance":"Текущий баланс","next_expected_match":"Следующий ожидаемый результат"},"config":{"html_language":"ru","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Сумма в иностранной валюте","interest_date":"Дата начисления процентов","name":"Название","amount":"Сумма","iban":"IBAN","BIC":"BIC","notes":"Заметки","location":"Местоположение","attachments":"Вложения","active":"Активный","include_net_worth":"Включать в \\"Мои сбережения\\"","account_number":"Номер счёта","virtual_balance":"Виртуальный баланс","opening_balance":"Начальный баланс","opening_balance_date":"Дата начального баланса","date":"Дата","interest":"Процентная ставка","interest_period":"Период начисления процентов","currency_id":"Валюта","liability_type":"Liability type","account_role":"Тип счета","liability_direction":"Liability in/out","book_date":"Дата бронирования","permDeleteWarning":"Удаление информации из Firefly III является постоянным и не может быть отменено.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Дата обработки","due_date":"Срок оплаты","payment_date":"Дата платежа","invoice_date":"Дата выставления счёта"}}')},7049:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Prevod","Withdrawal":"Výber","Deposit":"Vklad","date_and_time":"Dátum a čas","no_currency":"(žiadna mena)","date":"Dátum","time":"Čas","no_budget":"(žiadny rozpočet)","destination_account":"Cieľový účet","source_account":"Zdrojový účet","single_split":"Rozúčtovať","create_new_transaction":"Vytvoriť novú transakciu","balance":"Zostatok","transaction_journal_extra":"Ďalšie informácie","transaction_journal_meta":"Meta informácie","basic_journal_information":"Základné Informácie o transakcii","bills_to_pay":"Účty na úhradu","left_to_spend":"Zostáva k útrate","attachments":"Prílohy","net_worth":"Čisté imanie","bill":"Účet","no_bill":"(žiadny účet)","tags":"Štítky","internal_reference":"Interná referencia","external_url":"Externá URL","no_piggy_bank":"(žiadna pokladnička)","paid":"Uhradené","notes":"Poznámky","yourAccounts":"Vaše účty","go_to_asset_accounts":"Zobraziť účty aktív","delete_account":"Odstrániť účet","transaction_table_description":"Tabuľka obsahujúca vaše transakcie","account":"Účet","description":"Popis","amount":"Suma","budget":"Rozpočet","category":"Kategória","opposing_account":"Cieľový účet","budgets":"Rozpočty","categories":"Kategórie","go_to_budgets":"Zobraziť rozpočty","income":"Zisky / príjmy","go_to_deposits":"Zobraziť vklady","go_to_categories":"Zobraziť kategórie","expense_accounts":"Výdavkové účty","go_to_expenses":"Zobraziť výdavky","go_to_bills":"Zobraziť účty","bills":"Účty","last_thirty_days":"Uplynulých 30 dní","last_seven_days":"Uplynulých 7 dní","go_to_piggies":"Zobraziť pokladničky","saved":"Uložené","piggy_banks":"Pokladničky","piggy_bank":"Pokladnička","amounts":"Suma","left":"Zostáva","spent":"Utratené","Default asset account":"Prednastavený účet aktív","search_results":"Výsledky vyhľadávania","include":"Zahrnúť?","transaction":"Transakcia","account_role_defaultAsset":"Predvolený účet aktív","account_role_savingAsset":"Šetriaci účet","account_role_sharedAsset":"Zdieľaný účet aktív","clear_location":"Odstrániť pozíciu","account_role_ccAsset":"Kreditná karta","account_role_cashWalletAsset":"Peňaženka","daily_budgets":"Denné rozpočty","weekly_budgets":"Týždenné rozpočty","monthly_budgets":"Mesačné rozpočty","quarterly_budgets":"Štvrťročné rozpočty","create_new_expense":"Vytvoriť výdavkoý účet","create_new_revenue":"Vytvoriť nový príjmový účet","create_new_liabilities":"Vytvoriť nový záväzok","half_year_budgets":"Polročné rozpočty","yearly_budgets":"Ročné rozpočty","split_transaction_title":"Popis rozúčtovania","errors_submission":"Pri odosielaní sa niečo nepodarilo. Skontrolujte prosím chyby.","flash_error":"Chyba!","store_transaction":"Uložiť transakciu","flash_success":"Hotovo!","create_another":"Po uložení sa vrátiť späť sem a vytvoriť ďalší.","update_transaction":"Upraviť transakciu","after_update_create_another":"Po aktualizácii sa vrátiť späť a pokračovať v úpravách.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transakcia #{ID}</a> (\\"{title}\\") sa nezmenila.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transakcia #{ID}</a> (\\"{title}\\") bola upravená.","spent_x_of_y":"Utratené {amount} z {total}","search":"Hľadať","create_new_asset":"Vytvoriť nový účet aktív","asset_accounts":"Účty aktív","reset_after":"Po odoslaní vynulovať formulár","bill_paid_on":"Uhradené {date}","first_split_decides":"Hodnotu tohto atribútu určuje prvé rozdelenie","first_split_overrules_source":"Prvé rozdelenie môže pozmeniť zdrojový účet","first_split_overrules_destination":"Prvé rozdelenie môže pozmeniť cieľový účet","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transakcia #{ID} (\\"{title}\\")</a> bola uložená.","custom_period":"Vlastné obdobie","reset_to_current":"Obnoviť na aktuálne obdobie","select_period":"Vyberte obdobie","location":"Poloha","other_budgets":"Špecifické časované rozpočty","journal_links":"Prepojenia transakcie","go_to_withdrawals":"Zobraziť výbery","revenue_accounts":"Výnosové účty","add_another_split":"Pridať ďalšie rozúčtovanie","actions":"Akcie","earned":"Zarobené","empty":"(prázdne)","edit":"Upraviť","never":"Nikdy","account_type_Loan":"Pôžička","account_type_Mortgage":"Hypotéka","stored_new_account_js":"Nový účet \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" vytvorený!","account_type_Debt":"Dlh","delete":"Odstrániť","store_new_asset_account":"Uložiť nový účet aktív","store_new_expense_account":"Uložiť nový výdavkový účet","store_new_liabilities_account":"Uložiť nový záväzok","store_new_revenue_account":"Uložiť nový príjmový účet","mandatoryFields":"Povinné údaje","optionalFields":"Voliteľné údaje","reconcile_this_account":"Vyúčtovat tento účet","interest_calc_weekly":"Za týždeň","interest_calc_monthly":"Za mesiac","interest_calc_quarterly":"Za štvrťrok","interest_calc_half-year":"Za polrok","interest_calc_yearly":"Za rok","liability_direction_credit":"Túto sumu mi dlžia","liability_direction_debit":"Tento dlh mám voči niekomu inému","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Žiadne transakcie|Zachovať túto transakciu presunom pod iný účet.|Zachovať tieto transakcie presunom pod iný účet.","none_in_select_list":"(žiadne)"},"list":{"piggy_bank":"Pokladnička","percentage":"perc.","amount":"Suma","lastActivity":"Posledná aktivita","name":"Meno/Názov","role":"Rola","iban":"IBAN","interest":"Úrok","interest_period":"úrokové obdobie","liability_type":"Typ záväzku","liability_direction":"(list.liability_direction)","currentBalance":"Aktuálny zostatok","next_expected_match":"Ďalšia očakávaná zhoda"},"config":{"html_language":"sk","week_in_year_fns":"\'Týždeň\' tt, rrrr","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, rrrr","half_year_fns":"\'H{half}\', rrrr"},"form":{"foreign_amount":"Suma v cudzej mene","interest_date":"Úrokový dátum","name":"Názov","amount":"Suma","iban":"IBAN","BIC":"BIC","notes":"Poznámky","location":"Údaje o polohe","attachments":"Prílohy","active":"Aktívne","include_net_worth":"Zahrnúť do čistého majetku","account_number":"Číslo účtu","virtual_balance":"Virtuálnu zostatok","opening_balance":"Počiatočný zostatok","opening_balance_date":"Dátum počiatočného zostatku","date":"Dátum","interest":"Úrok","interest_period":"Úrokové obdobie","currency_id":"Mena","liability_type":"Typ záväzku","account_role":"Rola účtu","liability_direction":"Záväzky príjem/výdaj","book_date":"Dátum rezervácie","permDeleteWarning":"Odstránenie údajov z Firefly III je trvalé a nie je možné ich vrátiť späť.","account_areYouSure_js":"Skutočne chcete odstrániť účet s názvom \\"{name}\\"?","also_delete_piggyBanks_js":"Žiadne prasiatko|Odstráni sa tiež jediné prasiatko prepojené s týmto účtom.|Odstráni sa tiež {count} prasiatok prepojených s týmto účtom.","also_delete_transactions_js":"Žiadne transakcie|Odstráni sa aj jediná transakcia spojená s týmto účtom.|Odstráni sa tiež {count} transakcií spojených s týmto účtom.","process_date":"Dátum spracovania","due_date":"Dátum splatnosti","payment_date":"Dátum úhrady","invoice_date":"Dátum vystavenia"}}')},7921:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Överföring","Withdrawal":"Uttag","Deposit":"Insättning","date_and_time":"Datum och tid","no_currency":"(ingen valuta)","date":"Datum","time":"Tid","no_budget":"(ingen budget)","destination_account":"Till konto","source_account":"Källkonto","single_split":"Dela","create_new_transaction":"Skapa en ny transaktion","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metadata","basic_journal_information":"Grundläggande transaktionsinformation","bills_to_pay":"Notor att betala","left_to_spend":"Återstår att spendera","attachments":"Bilagor","net_worth":"Nettoförmögenhet","bill":"Nota","no_bill":"(ingen räkning)","tags":"Etiketter","internal_reference":"Intern referens","external_url":"Extern URL","no_piggy_bank":"(ingen spargris)","paid":"Betald","notes":"Noteringar","yourAccounts":"Dina konton","go_to_asset_accounts":"Visa dina tillgångskonton","delete_account":"Ta bort konto","transaction_table_description":"En tabell som innehåller dina transaktioner","account":"Konto","description":"Beskrivning","amount":"Belopp","budget":"Budget","category":"Kategori","opposing_account":"Motsatt konto","budgets":"Budgetar","categories":"Kategorier","go_to_budgets":"Gå till dina budgetar","income":"Intäkter / inkomster","go_to_deposits":"Gå till insättningar","go_to_categories":"Gå till dina kategorier","expense_accounts":"Kostnadskonto","go_to_expenses":"Gå till utgifter","go_to_bills":"Gå till dina notor","bills":"Notor","last_thirty_days":"Senaste 30 dagarna","last_seven_days":"Senaste 7 dagarna","go_to_piggies":"Gå till dina sparbössor","saved":"Sparad","piggy_banks":"Spargrisar","piggy_bank":"Spargris","amounts":"Belopp","left":"Återstår","spent":"Spenderat","Default asset account":"Förvalt tillgångskonto","search_results":"Sökresultat","include":"Inkludera?","transaction":"Transaktion","account_role_defaultAsset":"Förvalt tillgångskonto","account_role_savingAsset":"Sparkonto","account_role_sharedAsset":"Delat tillgångskonto","clear_location":"Rena plats","account_role_ccAsset":"Kreditkort","account_role_cashWalletAsset":"Plånbok","daily_budgets":"Dagliga budgetar","weekly_budgets":"Veckovis budgetar","monthly_budgets":"Månatliga budgetar","quarterly_budgets":"Kvartalsbudgetar","create_new_expense":"Skapa ett nytt utgiftskonto","create_new_revenue":"Skapa ett nytt intäktskonto","create_new_liabilities":"Skapa ny skuld","half_year_budgets":"Halvårsbudgetar","yearly_budgets":"Årliga budgetar","split_transaction_title":"Beskrivning av delad transaktion","errors_submission":"Något fel uppstod med inskickningen. Vänligen kontrollera felen nedan.","flash_error":"Fel!","store_transaction":"Lagra transaktion","flash_success":"Slutförd!","create_another":"Efter sparat, återkom hit för att skapa ytterligare en.","update_transaction":"Uppdatera transaktion","after_update_create_another":"Efter uppdaterat, återkom hit för att fortsätta redigera.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID}</a> (\\"{title}\\") fick inga ändringar.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID}</a> (\\"{title}\\") uppdaterades.","spent_x_of_y":"Spenderade {amount} av {total}","search":"Sök","create_new_asset":"Skapa ett nytt tillgångskonto","asset_accounts":"Tillgångskonton","reset_after":"Återställ formulär efter inskickat","bill_paid_on":"Betalad den {date}","first_split_decides":"Första delningen bestämmer värdet på detta fält","first_split_overrules_source":"Den första delningen kan åsidosätta källkontot","first_split_overrules_destination":"Den första delningen kan åsidosätta målkontot","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID} (\\"{title}\\")</a> sparades.","custom_period":"Anpassad period","reset_to_current":"Återställ till nuvarande period","select_period":"Välj en period","location":"Plats","other_budgets":"Anpassade tidsinställda budgetar","journal_links":"Transaktionslänkar","go_to_withdrawals":"Gå till dina uttag","revenue_accounts":"Intäktskonton","add_another_split":"Lägga till en annan delning","actions":"Åtgärder","earned":"Tjänat","empty":"(tom)","edit":"Redigera","never":"Aldrig","account_type_Loan":"Lån","account_type_Mortgage":"Bolån","stored_new_account_js":"Nytt konto \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" lagrat!","account_type_Debt":"Skuld","delete":"Ta bort","store_new_asset_account":"Lagra nytt tillgångskonto","store_new_expense_account":"Spara nytt utgiftskonto","store_new_liabilities_account":"Spara en ny skuld","store_new_revenue_account":"Spara nytt intäktskonto","mandatoryFields":"Obligatoriska fält","optionalFields":"Valfria fält","reconcile_this_account":"Stäm av detta konto","interest_calc_weekly":"Per vecka","interest_calc_monthly":"Per månad","interest_calc_quarterly":"Per kvartal","interest_calc_half-year":"Per halvår","interest_calc_yearly":"Per år","liability_direction_credit":"Jag är skyldig denna skuld","liability_direction_debit":"Jag är skyldig någon annan denna skuld","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"Inga transaktioner|Spara denna transaktion genom att flytta den till ett annat konto.|Spara dessa transaktioner genom att flytta dem till ett annat konto.","none_in_select_list":"(Ingen)"},"list":{"piggy_bank":"Spargris","percentage":"procent","amount":"Belopp","lastActivity":"Senaste aktivitet","name":"Namn","role":"Roll","iban":"IBAN","interest":"Ränta","interest_period":"ränteperiod","liability_type":"Typ av ansvar","liability_direction":"(list.liability_direction)","currentBalance":"Nuvarande saldo","next_expected_match":"Nästa förväntade träff"},"config":{"html_language":"sv","week_in_year_fns":"\'Vecka\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'kvartal\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Utländskt belopp","interest_date":"Räntedatum","name":"Namn","amount":"Belopp","iban":"IBAN","BIC":"BIC","notes":"Anteckningar","location":"Plats","attachments":"Bilagor","active":"Aktiv","include_net_worth":"Inkludera i nettovärde","account_number":"Kontonummer","virtual_balance":"Virtuell balans","opening_balance":"Ingående balans","opening_balance_date":"Ingående balans datum","date":"Datum","interest":"Ränta","interest_period":"Ränteperiod","currency_id":"Valuta","liability_type":"Typ av ansvar","account_role":"Konto roll","liability_direction":"Ansvar in/ut","book_date":"Bokföringsdatum","permDeleteWarning":"Att ta bort saker från Firefly III är permanent och kan inte ångras.","account_areYouSure_js":"Är du säker du vill ta bort kontot \\"{name}\\"?","also_delete_piggyBanks_js":"Inga spargrisar|Den enda spargrisen som är ansluten till detta konto kommer också att tas bort.|Alla {count} spargrisar anslutna till detta konto kommer också att tas bort.","also_delete_transactions_js":"Inga transaktioner|Den enda transaktionen som är ansluten till detta konto kommer också att tas bort.|Alla {count} transaktioner som är kopplade till detta konto kommer också att tas bort.","process_date":"Behandlingsdatum","due_date":"Förfallodatum","payment_date":"Betalningsdatum","invoice_date":"Fakturadatum"}}')},1497:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Chuyển khoản","Withdrawal":"Rút tiền","Deposit":"Tiền gửi","date_and_time":"Date and time","no_currency":"(không có tiền tệ)","date":"Ngày","time":"Time","no_budget":"(không có ngân sách)","destination_account":"Tài khoản đích","source_account":"Nguồn tài khoản","single_split":"Chia ra","create_new_transaction":"Tạo giao dịch mới","balance":"Tiền còn lại","transaction_journal_extra":"Extra information","transaction_journal_meta":"Thông tin tổng hợp","basic_journal_information":"Basic transaction information","bills_to_pay":"Hóa đơn phải trả","left_to_spend":"Còn lại để chi tiêu","attachments":"Tệp đính kèm","net_worth":"Tài sản thực","bill":"Hóa đơn","no_bill":"(no bill)","tags":"Nhãn","internal_reference":"Tài liệu tham khảo nội bộ","external_url":"URL bên ngoài","no_piggy_bank":"(chưa có heo đất)","paid":"Đã thanh toán","notes":"Ghi chú","yourAccounts":"Tài khoản của bạn","go_to_asset_accounts":"Xem tài khoản của bạn","delete_account":"Xóa tài khoản","transaction_table_description":"A table containing your transactions","account":"Tài khoản","description":"Sự miêu tả","amount":"Số tiền","budget":"Ngân sách","category":"Danh mục","opposing_account":"Opposing account","budgets":"Ngân sách","categories":"Danh mục","go_to_budgets":"Chuyển đến ngân sách của bạn","income":"Thu nhập doanh thu","go_to_deposits":"Go to deposits","go_to_categories":"Đi đến danh mục của bạn","expense_accounts":"Tài khoản chi phí","go_to_expenses":"Go to expenses","go_to_bills":"Đi đến hóa đơn của bạn","bills":"Hóa đơn","last_thirty_days":"Ba mươi ngày gần đây","last_seven_days":"Bảy ngày gần đây","go_to_piggies":"Tới heo đất của bạn","saved":"Đã lưu","piggy_banks":"Heo đất","piggy_bank":"Heo đất","amounts":"Amounts","left":"Còn lại","spent":"Đã chi","Default asset account":"Mặc định tài khoản","search_results":"Kết quả tìm kiếm","include":"Include?","transaction":"Giao dịch","account_role_defaultAsset":"tài khoản mặc định","account_role_savingAsset":"Tài khoản tiết kiệm","account_role_sharedAsset":"tài khoản dùng chung","clear_location":"Xóa vị trí","account_role_ccAsset":"Thẻ tín dụng","account_role_cashWalletAsset":"Ví tiền mặt","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Tạo tài khoản chi phí mới","create_new_revenue":"Tạo tài khoản doanh thu mới","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Mô tả giao dịch tách","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Lỗi!","store_transaction":"Store transaction","flash_success":"Thành công!","create_another":"Sau khi lưu trữ, quay trở lại đây để tạo một cái khác.","update_transaction":"Cập nhật giao dịch","after_update_create_another":"Sau khi cập nhật, quay lại đây để tiếp tục chỉnh sửa.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Tìm kiếm","create_new_asset":"Tạo tài khoản mới","asset_accounts":"tài khoản","reset_after":"Đặt lại mẫu sau khi gửi","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Giao dịch #{ID} (\\"{title}\\")</a> đã được lưu trữ.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Vị trí","other_budgets":"Custom timed budgets","journal_links":"Liên kết giao dịch","go_to_withdrawals":"Chuyển đến mục rút tiền của bạn","revenue_accounts":"Tài khoản doanh thu","add_another_split":"Thêm một phân chia khác","actions":"Hành động","earned":"Kiếm được","empty":"(trống)","edit":"Sửa","never":"Không bao giờ","account_type_Loan":"Tiền vay","account_type_Mortgage":"Thế chấp","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Món nợ","delete":"Xóa","store_new_asset_account":"Lưu trữ tài khoản mới","store_new_expense_account":"Lưu trữ tài khoản chi phí mới","store_new_liabilities_account":"Lưu trữ nợ mới","store_new_revenue_account":"Lưu trữ tài khoản doanh thu mới","mandatoryFields":"Các trường bắt buộc","optionalFields":"Các trường tùy chọn","reconcile_this_account":"Điều chỉnh tài khoản này","interest_calc_weekly":"Per week","interest_calc_monthly":"Mỗi tháng","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Mỗi năm","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(Trống)"},"list":{"piggy_bank":"Ống heo con","percentage":"phần trăm.","amount":"Số tiền","lastActivity":"Hoạt động cuối cùng","name":"Tên","role":"Quy tắc","iban":"IBAN","interest":"Lãi","interest_period":"Chu kỳ lãi","liability_type":"Loại trách nhiệm pháp lý","liability_direction":"(list.liability_direction)","currentBalance":"Số dư hiện tại","next_expected_match":"Trận đấu dự kiến tiếp theo"},"config":{"html_language":"vi","week_in_year_fns":"\'Tuần\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"Ngoại tệ","interest_date":"Ngày lãi","name":"Tên","amount":"Số tiền","iban":"IBAN","BIC":"BIC","notes":"Ghi chú","location":"Vị trí","attachments":"Tài liệu đính kèm","active":"Hành động","include_net_worth":"Bao gồm trong giá trị ròng","account_number":"Số tài khoản","virtual_balance":"Cân bằng ảo","opening_balance":"Số dư đầu kỳ","opening_balance_date":"Ngày mở số dư","date":"Ngày","interest":"Lãi","interest_period":"Chu kỳ lãi","currency_id":"Tiền tệ","liability_type":"Liability type","account_role":"Vai trò tài khoản","liability_direction":"Liability in/out","book_date":"Ngày đặt sách","permDeleteWarning":"Xóa nội dung khỏi Firefly III là vĩnh viễn và không thể hoàn tác.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Ngày xử lý","due_date":"Ngày đáo hạn","payment_date":"Ngày thanh toán","invoice_date":"Ngày hóa đơn"}}')},4556:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"转账","Withdrawal":"提款","Deposit":"收入","date_and_time":"日期和时间","no_currency":"(没有货币)","date":"日期","time":"时间","no_budget":"(无预算)","destination_account":"目标账户","source_account":"来源账户","single_split":"拆分","create_new_transaction":"创建新交易","balance":"余额","transaction_journal_extra":"额外信息","transaction_journal_meta":"元信息","basic_journal_information":"基础交易信息","bills_to_pay":"待付账单","left_to_spend":"剩余支出","attachments":"附件","net_worth":"净资产","bill":"账单","no_bill":"(无账单)","tags":"标签","internal_reference":"内部引用","external_url":"外部链接","no_piggy_bank":"(无存钱罐)","paid":"已付款","notes":"备注","yourAccounts":"您的账户","go_to_asset_accounts":"查看您的资产账户","delete_account":"删除账户","transaction_table_description":"包含您交易的表格","account":"账户","description":"描述","amount":"金额","budget":"预算","category":"分类","opposing_account":"对方账户","budgets":"预算","categories":"分类","go_to_budgets":"前往您的预算","income":"收入","go_to_deposits":"前往收入","go_to_categories":"前往您的分类","expense_accounts":"支出账户","go_to_expenses":"前往支出","go_to_bills":"前往账单","bills":"账单","last_thirty_days":"最近 30 天","last_seven_days":"最近 7 天","go_to_piggies":"前往您的存钱罐","saved":"已保存","piggy_banks":"存钱罐","piggy_bank":"存钱罐","amounts":"金额","left":"剩余","spent":"支出","Default asset account":"默认资产账户","search_results":"搜索结果","include":"Include?","transaction":"交易","account_role_defaultAsset":"默认资产账户","account_role_savingAsset":"储蓄账户","account_role_sharedAsset":"共用资产账户","clear_location":"清除位置","account_role_ccAsset":"信用卡","account_role_cashWalletAsset":"现金钱包","daily_budgets":"每日预算","weekly_budgets":"每周预算","monthly_budgets":"每月预算","quarterly_budgets":"每季度预算","create_new_expense":"创建新支出账户","create_new_revenue":"创建新收入账户","create_new_liabilities":"Create new liability","half_year_budgets":"每半年预算","yearly_budgets":"每年预算","split_transaction_title":"拆分交易的描述","errors_submission":"您提交的内容有误,请检查错误信息。","flash_error":"错误!","store_transaction":"保存交易","flash_success":"成功!","create_another":"保存后,返回此页面以创建新记录","update_transaction":"更新交易","after_update_create_another":"更新后,返回此页面继续编辑。","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"搜索","create_new_asset":"创建新资产账户","asset_accounts":"资产账户","reset_after":"提交后重置表单","bill_paid_on":"支付于 {date}","first_split_decides":"首笔拆分决定此字段的值","first_split_overrules_source":"首笔拆分可能覆盖来源账户","first_split_overrules_destination":"首笔拆分可能覆盖目标账户","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">交易 #{ID} (“{title}”)</a> 已保存。","custom_period":"自定义周期","reset_to_current":"重置为当前周期","select_period":"选择周期","location":"位置","other_budgets":"自定义区间预算","journal_links":"交易关联","go_to_withdrawals":"前往支出","revenue_accounts":"收入账户","add_another_split":"增加另一笔拆分","actions":"操作","earned":"收入","empty":"(空)","edit":"编辑","never":"永不","account_type_Loan":"贷款","account_type_Mortgage":"抵押","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"欠款","delete":"删除","store_new_asset_account":"保存新资产账户","store_new_expense_account":"保存新支出账户","store_new_liabilities_account":"保存新债务账户","store_new_revenue_account":"保存新收入账户","mandatoryFields":"必填字段","optionalFields":"选填字段","reconcile_this_account":"对账此账户","interest_calc_weekly":"每周","interest_calc_monthly":"每月","interest_calc_quarterly":"每季度","interest_calc_half-year":"每半年","interest_calc_yearly":"每年","liability_direction_credit":"我欠了这笔债务","liability_direction_debit":"我欠别人这笔钱","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(空)"},"list":{"piggy_bank":"存钱罐","percentage":"%","amount":"金额","lastActivity":"上次活动","name":"名称","role":"角色","iban":"国际银行账户号码(IBAN)","interest":"利息","interest_period":"利息期","liability_type":"债务类型","liability_direction":"(list.liability_direction)","currentBalance":"目前余额","next_expected_match":"预期下次支付"},"config":{"html_language":"zh-cn","week_in_year_fns":"\'周\' w,yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"外币金额","interest_date":"利息日期","name":"名称","amount":"金额","iban":"国际银行账户号码 IBAN","BIC":"银行识别代码 BIC","notes":"备注","location":"位置","attachments":"附件","active":"启用","include_net_worth":"包含于净资产","account_number":"账户号码","virtual_balance":"虚拟账户余额","opening_balance":"初始余额","opening_balance_date":"开户日期","date":"日期","interest":"利息","interest_period":"利息期","currency_id":"货币","liability_type":"债务类型","account_role":"账户角色","liability_direction":"Liability in/out","book_date":"登记日期","permDeleteWarning":"从 Firefly III 删除内容是永久且无法恢复的。","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"处理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"发票日期"}}')},1715:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"轉帳","Withdrawal":"提款","Deposit":"存款","date_and_time":"Date and time","no_currency":"(沒有貨幣)","date":"日期","time":"Time","no_budget":"(無預算)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"餘額","transaction_journal_extra":"Extra information","transaction_journal_meta":"後設資訊","basic_journal_information":"Basic transaction information","bills_to_pay":"待付帳單","left_to_spend":"剩餘可花費","attachments":"附加檔案","net_worth":"淨值","bill":"帳單","no_bill":"(no bill)","tags":"標籤","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"已付款","notes":"備註","yourAccounts":"您的帳戶","go_to_asset_accounts":"檢視您的資產帳戶","delete_account":"移除帳號","transaction_table_description":"A table containing your transactions","account":"帳戶","description":"描述","amount":"金額","budget":"預算","category":"分類","opposing_account":"Opposing account","budgets":"預算","categories":"分類","go_to_budgets":"前往您的預算","income":"收入 / 所得","go_to_deposits":"Go to deposits","go_to_categories":"前往您的分類","expense_accounts":"支出帳戶","go_to_expenses":"Go to expenses","go_to_bills":"前往您的帳單","bills":"帳單","last_thirty_days":"最近30天","last_seven_days":"最近7天","go_to_piggies":"前往您的小豬撲滿","saved":"Saved","piggy_banks":"小豬撲滿","piggy_bank":"小豬撲滿","amounts":"Amounts","left":"剩餘","spent":"支出","Default asset account":"預設資產帳戶","search_results":"搜尋結果","include":"Include?","transaction":"交易","account_role_defaultAsset":"預設資產帳戶","account_role_savingAsset":"儲蓄帳戶","account_role_sharedAsset":"共用資產帳戶","clear_location":"清除位置","account_role_ccAsset":"信用卡","account_role_cashWalletAsset":"現金錢包","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"建立新支出帳戶","create_new_revenue":"建立新收入帳戶","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"拆分交易的描述","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"錯誤!","store_transaction":"Store transaction","flash_success":"成功!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"搜尋","create_new_asset":"建立新資產帳戶","asset_accounts":"資產帳戶","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"位置","other_budgets":"Custom timed budgets","journal_links":"交易連結","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"收入帳戶","add_another_split":"增加拆分","actions":"操作","earned":"已賺得","empty":"(empty)","edit":"編輯","never":"未有資料","account_type_Loan":"貸款","account_type_Mortgage":"抵押","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"負債","delete":"刪除","store_new_asset_account":"儲存新資產帳戶","store_new_expense_account":"儲存新支出帳戶","store_new_liabilities_account":"儲存新債務","store_new_revenue_account":"儲存新收入帳戶","mandatoryFields":"必要欄位","optionalFields":"選填欄位","reconcile_this_account":"對帳此帳戶","interest_calc_weekly":"Per week","interest_calc_monthly":"每月","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"每年","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","liability_direction_credit_short":"(firefly.liability_direction_credit_short)","liability_direction_debit_short":"(firefly.liability_direction_debit_short)","account_type_debt":"(firefly.account_type_debt)","account_type_loan":"(firefly.account_type_loan)","left_in_debt":"(firefly.left_in_debt)","account_type_mortgage":"(firefly.account_type_mortgage)","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(空)"},"list":{"piggy_bank":"小豬撲滿","percentage":"pct.","amount":"金額","lastActivity":"上次活動","name":"名稱","role":"角色","iban":"國際銀行帳戶號碼 (IBAN)","interest":"利率","interest_period":"利率期","liability_type":"負債類型","liability_direction":"(list.liability_direction)","currentBalance":"目前餘額","next_expected_match":"下一個預期的配對"},"config":{"html_language":"zh-tw","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"(config.month_and_day_fns)","quarter_fns":"\'Q\'Q, yyyy","half_year_fns":"\'H{half}\', yyyy"},"form":{"foreign_amount":"外幣金額","interest_date":"利率日期","name":"名稱","amount":"金額","iban":"國際銀行帳戶號碼 (IBAN)","BIC":"BIC","notes":"備註","location":"Location","attachments":"附加檔案","active":"啟用","include_net_worth":"包括淨值","account_number":"帳戶號碼","virtual_balance":"虛擬餘額","opening_balance":"初始餘額","opening_balance_date":"初始餘額日期","date":"日期","interest":"利率","interest_period":"利率期","currency_id":"貨幣","liability_type":"Liability type","account_role":"帳戶角色","liability_direction":"Liability in/out","book_date":"登記日期","permDeleteWarning":"自 Firefly III 刪除項目是永久且不可撤銷的。","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"處理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"發票日期"}}')}},e=>{"use strict";e.O(0,[228],(()=>{return t=2086,e(e.s=t);var t}));e.O()}]);//# sourceMappingURL=edit.js.map\ No newline at end of filediff --git a/public/v2/js/transactions/edit.js.map b/public/v2/js/transactions/edit.js.mapindex f30a7db7f7..d8067df8f0 100755--- a/public/v2/js/transactions/edit.js.map+++ b/public/v2/js/transactions/edit.js.map@@ -1 +1 @@-{"version":3,"sources":["webpack:///./src/bootstrap.js","webpack:///./src/components/store/modules/transactions/create.js","webpack:///./src/components/store/modules/transactions/edit.js","webpack:///./src/components/store/modules/dashboard/index.js","webpack:///./src/components/store/modules/root.js","webpack:///./src/components/store/modules/accounts/index.js","webpack:///./src/components/store/index.js","webpack:///./src/i18n.js","webpack:///src/components/transactions/Edit.vue","webpack:///./src/components/transactions/Edit.vue?2e9d","webpack:///./src/components/transactions/Edit.vue","webpack:///./src/components/transactions/Edit.vue?9ccc","webpack:///./src/pages/transactions/edit.js","webpack:///./src/shared/transactions.js","webpack:///./src/components/transactions/TransactionTags.vue?1d59","webpack:///src/components/partials/Alert.vue","webpack:///./src/components/partials/Alert.vue?8ba7","webpack:///./src/components/partials/Alert.vue","webpack:///./src/components/partials/Alert.vue?bc9d","webpack:///./src/components/transactions/SplitForm.vue?8e35","webpack:///src/components/transactions/TransactionDescription.vue","webpack:///./src/components/transactions/TransactionDescription.vue?51f7","webpack:///./src/components/transactions/TransactionDescription.vue","webpack:///./src/components/transactions/TransactionDescription.vue?5176","webpack:///src/components/transactions/TransactionDate.vue","webpack:///./src/components/transactions/TransactionDate.vue?3867","webpack:///./src/components/transactions/TransactionDate.vue","webpack:///./src/components/transactions/TransactionDate.vue?1d82","webpack:///src/components/transactions/TransactionBudget.vue","webpack:///./src/components/transactions/TransactionBudget.vue?00ee","webpack:///./src/components/transactions/TransactionBudget.vue","webpack:///./src/components/transactions/TransactionBudget.vue?9242","webpack:///src/components/transactions/TransactionAccount.vue","webpack:///./src/components/transactions/TransactionAccount.vue?5275","webpack:///./src/components/transactions/TransactionAccount.vue","webpack:///./src/components/transactions/TransactionAccount.vue?1d53","webpack:///src/components/transactions/SwitchAccount.vue","webpack:///./src/components/transactions/SwitchAccount.vue?2eca","webpack:///./src/components/transactions/SwitchAccount.vue","webpack:///./src/components/transactions/SwitchAccount.vue?f18f","webpack:///src/components/transactions/TransactionAmount.vue","webpack:///./src/components/transactions/TransactionAmount.vue?69ff","webpack:///./src/components/transactions/TransactionAmount.vue","webpack:///./src/components/transactions/TransactionAmount.vue?09e1","webpack:///src/components/transactions/TransactionForeignAmount.vue","webpack:///./src/components/transactions/TransactionForeignAmount.vue?ff11","webpack:///./src/components/transactions/TransactionForeignAmount.vue","webpack:///./src/components/transactions/TransactionForeignAmount.vue?1a78","webpack:///src/components/transactions/TransactionForeignCurrency.vue","webpack:///./src/components/transactions/TransactionForeignCurrency.vue?f6a0","webpack:///./src/components/transactions/TransactionForeignCurrency.vue","webpack:///./src/components/transactions/TransactionForeignCurrency.vue?b802","webpack:///src/components/transactions/TransactionCustomDates.vue","webpack:///./src/components/transactions/TransactionCustomDates.vue?c6d3","webpack:///./src/components/transactions/TransactionCustomDates.vue","webpack:///./src/components/transactions/TransactionCustomDates.vue?bc65","webpack:///src/components/transactions/TransactionCategory.vue","webpack:///./src/components/transactions/TransactionCategory.vue?b515","webpack:///./src/components/transactions/TransactionCategory.vue","webpack:///./src/components/transactions/TransactionCategory.vue?6a9d","webpack:///src/components/transactions/TransactionBill.vue","webpack:///./src/components/transactions/TransactionBill.vue?9147","webpack:///./src/components/transactions/TransactionBill.vue","webpack:///./src/components/transactions/TransactionBill.vue?2668","webpack:///./src/components/transactions/TransactionTags.vue?9eb2","webpack:///src/components/transactions/TransactionTags.vue","webpack:///./src/components/transactions/TransactionTags.vue?c786","webpack:///./src/components/transactions/TransactionTags.vue","webpack:///src/components/transactions/TransactionPiggyBank.vue","webpack:///./src/components/transactions/TransactionPiggyBank.vue?e9e1","webpack:///./src/components/transactions/TransactionPiggyBank.vue","webpack:///./src/components/transactions/TransactionPiggyBank.vue?0f96","webpack:///src/components/transactions/TransactionInternalReference.vue","webpack:///./src/components/transactions/TransactionInternalReference.vue?2fd1","webpack:///./src/components/transactions/TransactionInternalReference.vue","webpack:///./src/components/transactions/TransactionInternalReference.vue?0cb6","webpack:///src/components/transactions/TransactionExternalUrl.vue","webpack:///./src/components/transactions/TransactionExternalUrl.vue?28f8","webpack:///./src/components/transactions/TransactionExternalUrl.vue","webpack:///./src/components/transactions/TransactionExternalUrl.vue?3b2c","webpack:///src/components/transactions/TransactionNotes.vue","webpack:///./src/components/transactions/TransactionNotes.vue?3804","webpack:///./src/components/transactions/TransactionNotes.vue","webpack:///./src/components/transactions/TransactionNotes.vue?592a","webpack:///./src/components/transactions/TransactionLinks.vue?52d6","webpack:///src/components/transactions/TransactionLinks.vue","webpack:///./src/components/transactions/TransactionLinks.vue?d196","webpack:///./src/components/transactions/TransactionLinks.vue","webpack:///src/components/transactions/TransactionAttachments.vue","webpack:///./src/components/transactions/TransactionAttachments.vue?3db4","webpack:///./src/components/transactions/TransactionAttachments.vue","webpack:///./src/components/transactions/TransactionAttachments.vue?785e","webpack:///src/components/transactions/TransactionLocation.vue","webpack:///./src/components/transactions/TransactionLocation.vue?9e0a","webpack:///./src/components/transactions/TransactionLocation.vue","webpack:///./src/components/transactions/TransactionLocation.vue?113d","webpack:///./src/components/transactions/SplitForm.vue?99bd","webpack:///src/components/transactions/SplitForm.vue","webpack:///./src/components/transactions/SplitForm.vue","webpack:///src/components/transactions/SplitPills.vue","webpack:///./src/components/transactions/SplitPills.vue?cba2","webpack:///./src/components/transactions/SplitPills.vue","webpack:///./src/components/transactions/SplitPills.vue?21df","webpack:///./src/components/transactions/TransactionGroupTitle.vue?140c","webpack:///src/components/transactions/TransactionGroupTitle.vue","webpack:///./src/components/transactions/TransactionGroupTitle.vue?5049","webpack:///./src/components/transactions/TransactionGroupTitle.vue","webpack:///./src/components/transactions/TransactionTags.vue?cec9"],"names":["window","$","jQuery","require","axios","defaults","headers","common","token","document","head","querySelector","content","console","error","localeToken","localStorage","locale","vuei18n","VueI18n","uiv","Vue","lodashClonedeep","namespaced","state","transactionType","groupTitle","transactions","customDateFields","interest_date","book_date","process_date","due_date","payment_date","invoice_date","defaultTransaction","getDefaultTransaction","defaultErrors","getDefaultErrors","getters","accountToTransaction","sourceAllowedTypes","destinationAllowedTypes","allowedOpposingTypes","actions","mutations","addTransaction","newTransaction","errors","push","resetErrors","payload","index","resetTransactions","setGroupTitle","setCustomDateFields","deleteTransaction","splice","length","setTransactionType","setAllowedOpposingTypes","setAccountToTransaction","updateField","field","value","setTransactionError","setDestinationAllowedTypes","setSourceAllowedTypes","viewRange","start","end","defaultStart","defaultEnd","initialiseStore","context","dispatch","get","then","response","data","attributes","oldViewRange","commit","restoreViewRangeDates","viewRangeStart","Date","viewRangeEnd","viewRangeDefaultStart","viewRangeDefaultEnd","restoreViewRange","getItem","setDatesFromViewRange","today","startOfDay","endOfDay","startOfWeek","weekStartsOn","endOfWeek","startOfMonth","endOfMonth","startOfQuarter","endOfQuarter","getMonth","setMonth","setDate","setStart","setItem","setEnd","setDefaultStart","setDefaultEnd","setViewRange","range","listPageSize","timezone","parseInt","setListPageSize","number","setTimezone","orderMode","activeFilter","setOrderMode","setActiveFilter","Vuex","modules","root","root_store","create","transactions_create","edit","transactions_edit","accounts","accounts_index","dashboard","dashboard_index","strict","process","plugins","currencyPreference","setCurrencyPreference","currencyCode","code","currencyId","id","updateCurrencyPreference","JSON","parse","currencyResponse","name","symbol","decimal_places","stringify","err","module","exports","documentElement","lang","fallbackLocale","messages","created","this","groupId","parts","getTransactionGroup","getAllowedOpposingTypes","getCustomFields","successMessage","errorMessage","warningMessage","type","Array","default","originalTransactions","originalGroupTitle","groupTitleErrors","customFields","Object","returnedGroupId","returnedGroupTitle","date","originalDate","submittedTransaction","submittedAttachments","inError","submittedAttCount","enableSubmit","stayHere","components","Alert","SplitPills","SplitForm","TransactionGroupTitle","watch","finaliseSubmission","methods","parseTransactionGroup","group_title","description","hasOwnProperty","i","test","log","result","parseLinks","transaction_journal_id","parseTransaction","array","charAt","toUpperCase","slice","source_type","destination_type","substring","source_account_id","source_id","source_account_name","source_name","source_account_type","destination_account_id","destination_id","destination_account_name","destination_name","destination_account_type","amount","currency_id","foreign_amount","foreign_currency_id","category","category_name","budget_id","bill_id","tags","substr","internal_reference","external_url","external_uri","external_id","notes","location","zoom_level","longitude","latitude","journalId","parseLink","opposingId","link","outward_id","linkDirection","promises","Promise","resolve","link_type_id","all","journals","journal","linkTypeId","direction","transaction_group_id","responses","currency_code","uploadedAttachment","key","storeLocation","zoomLevel","lng","lat","storeAccountValue","storeDate","storeField","removeTransaction","tab","storeGroupTitle","selectedAttachments","event","preventDefault","submitTransaction","submission","shouldSubmit","newTransactionCount","diff","toLowerCase","currentTransaction","basicFields","ii","fieldName","originalTransaction","submissionFieldName","currentTag","text","shouldLinks","shouldUpload","keys","submitUpdate","submitData","put","url","handleSubmissionResponse","reverse","submitLinks","deleteAllOriginalLinks","submitAttachments","uploadTrigger","hasAttachments","anyAttachments","$t","href","clearTrigger","compareLinks","compare","parseErrors","message","transactionIndex","split","deleteOriginalLinks","transaction","links","newLinks","originalLinks","submitNewLinks","inward_id","linkObject","currentLink","post","submitTransactionLinksX","finalizeSubmitX","submittedLinks","_vm","_h","$createElement","_c","_self","attrs","_v","on","staticClass","_l","$event","model","callback","$$v","$set","expression","_e","_s","directives","rawName","domProps","isArray","_i","$$a","$$el","target","$$c","checked","$$i","concat","i18n","props","store","render","createElement","Edit","beforeCreate","$store","$mount","source","destination","currency","foreign_currency","custom_dates","budget","bill","piggy_bank","source_account_currency_id","source_account_currency_code","source_account_currency_symbol","destination_account_currency_id","destination_account_currency_code","destination_account_currency_symbol","attachments","source_account","name_with_balance","currency_name","currency_decimal_places","destination_account","piggy_bank_id","___CSS_LOADER_EXPORT___","class","descriptions","initialSet","getACURL","clearDescription","getElementsByTagName","query","lookupDescription","debounce","$emit","item","slot","localTimeZone","Intl","DateTimeFormat","resolvedOptions","timeZone","systemTimeZone","dateStr","timeStr","localDate","computed","ref","composing","budgetList","emitEvent","collectData","getBudgets","parseBudgets","$$selectedVal","prototype","filter","call","options","o","selected","map","_value","multiple","Number","String","accountTypes","selectedAccount","accountName","selectedAccountTrigger","types","join","userSelectedAccount","systemReturnedAccount","clearAccount","lookupAccount","createInitialSet","accountKey","visible","scopedSlots","_u","fn","htmlText","required","sourceCurrencySymbol","destinationCurrencySymbol","fractionDigits","transactionAmount","formatNumber","parseFloat","str","toFixed","currencySymbol","srcCurrencySymbol","dstCurrencySymbol","sourceCurrencyId","destinationCurrencyId","isVisible","selectedCurrency","allCurrencies","selectableCurrencies","dstCurrencyId","srcCurrencyId","lockedCurrency","filterCurrencies","getAllCurrencies","current","dateFields","availableFields","dates","interestDate","bookDate","processDate","dueDate","paymentDate","invoiceDate","isDateField","includes","getFieldValue","setFieldValue","enabled","refInFor","categories","clearCategory","lookupCategory","selectedCategory","set","billList","getBills","parseBills","VueTagsInput","autocompleteItems","updateTags","tagList","shortList","initItems","clearTimeout","setTimeout","this$1","newTags","piggyList","getPiggies","parsePiggies","piggy","reference","showField","_m","searchResults","include","linkTypes","searching","getLinkTypes","removeLink","getTextForLinkType","selectTransaction","addToSelected","removeFromSelected","selectLinkType","updateSelected","resetModal","search","parseLinkTypes","inward","outward","linkTypeInward","linkTypeOutward","parseSearch","isJournalSelected","getJournalLinkType","link_type_text","NumberFormat","style","format","staticStyle","linkType","uploads","uploaded","doUpload","$refs","att","selectedFile","createAttachment","filename","attachable_type","attachable_id","uploadAttachment","uploadUri","countAttachment","files","LMap","LTileLayer","LMarker","zoom","center","hasMarker","bounds","marker","prepMap","myMap","mapObject","setObjectLocation","saveZoomLevel","latlng","clearLocation","zoomUpdated","centerUpdated","boundsUpdated","count","allowSwitch","Boolean","splitDate","sourceAccount","destinationAccount","hasMetaFields","requiredFields","TransactionLocation","TransactionAttachments","TransactionNotes","TransactionExternalUrl","TransactionInternalReference","TransactionPiggyBank","TransactionTags","TransactionLinks","TransactionBill","TransactionCategory","TransactionCustomDates","TransactionForeignCurrency","TransactionForeignAmount","TransactionAmount","SwitchAccount","TransactionAccount","TransactionBudget","TransactionDescription","TransactionDate","_g","$listeners","title","__esModule","locals","add"],"mappings":"oIA0BAA,OAAOC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AUA,EAAQ8J,SACnB,iBAAZ9J,IAAsBA,EAAU,CAAC,CAAC4I,EAAOV,GAAIlI,EAAS,MAC7DA,EAAQ2kB,SAAQ/b,EAAOC,QAAU7I,EAAQ2kB,SAG/BC,EADH,WACO,WAAY5kB,GAAS,EAAM,K","file":"/public/js/transactions/edit.js","sourcesContent":["/*\n * bootstrap.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// // imports\nimport Vue from 'vue';\nimport VueI18n from 'vue-i18n'\nimport * as uiv from 'uiv';\n\n// export jquery for others scripts to use\nwindow.$ = window.jQuery = require('jquery');\n\n// axios\nwindow.axios = require('axios');\nwindow.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';\n\n// CSRF\nlet token = document.head.querySelector('meta[name=\"csrf-token\"]');\n\nif (token) {\n window.axios.defaults.headers.common['X-CSRF-TOKEN'] = token.content;\n} else {\n console.error('CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token');\n}\n\n// locale\nlet localeToken = document.head.querySelector('meta[name=\"locale\"]');\n\nif (localeToken) {\n localStorage.locale = localeToken.content;\n} else {\n localStorage.locale = 'en_US';\n}\n\n// admin stuff\nrequire('jquery-ui');\nrequire('bootstrap'); // bootstrap CSS?\n\nrequire('admin-lte/dist/js/adminlte');\nrequire('overlayscrollbars');\n\n\n// vue\nwindow.vuei18n = VueI18n;\nwindow.uiv = uiv;\nVue.use(vuei18n);\nVue.use(uiv);\nwindow.Vue = Vue;","/*\n * create.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nconst lodashClonedeep = require('lodash.clonedeep');\n\nimport {getDefaultTransaction, getDefaultErrors} from '../../../../shared/transactions';\n\n// initial state\nconst state = () => ({\n transactionType: 'any',\n groupTitle: '',\n transactions: [],\n customDateFields: {\n interest_date: false,\n book_date: false,\n process_date: false,\n due_date: false,\n payment_date: false,\n invoice_date: false,\n },\n defaultTransaction: getDefaultTransaction(),\n defaultErrors: getDefaultErrors()\n }\n)\n\n\n// getters\nconst getters = {\n transactions: state => {\n return state.transactions;\n },\n defaultErrors: state => {\n return state.defaultErrors;\n },\n groupTitle: state => {\n return state.groupTitle;\n },\n transactionType: state => {\n return state.transactionType;\n },\n accountToTransaction: state => {\n // TODO better architecture here, does not need the store.\n // possible API point!!\n return state.accountToTransaction;\n },\n defaultTransaction: state => {\n return state.defaultTransaction;\n },\n sourceAllowedTypes: state => {\n return state.sourceAllowedTypes;\n },\n destinationAllowedTypes: state => {\n return state.destinationAllowedTypes;\n },\n allowedOpposingTypes: state => {\n return state.allowedOpposingTypes;\n },\n customDateFields: state => {\n return state.customDateFields;\n }\n // // `getters` is localized to this module's getters\n // // you can use rootGetters via 4th argument of getters\n // someGetter (state, getters, rootState, rootGetters) {\n // getters.someOtherGetter // -> 'foo/someOtherGetter'\n // rootGetters.someOtherGetter // -> 'someOtherGetter'\n // rootGetters['bar/someOtherGetter'] // -> 'bar/someOtherGetter'\n // },\n\n}\n\n// actions\nconst actions = {}\n\n// mutations\nconst mutations = {\n addTransaction(state) {\n let newTransaction = lodashClonedeep(state.defaultTransaction);\n newTransaction.errors = lodashClonedeep(state.defaultErrors);\n state.transactions.push(newTransaction);\n },\n resetErrors(state, payload) {\n //console.log('resetErrors for index ' + payload.index);\n state.transactions[payload.index].errors = lodashClonedeep(state.defaultErrors);\n },\n resetTransactions(state) {\n state.transactions = [];\n },\n setGroupTitle(state, payload) {\n state.groupTitle = payload.groupTitle;\n },\n setCustomDateFields(state, payload) {\n state.customDateFields = payload;\n },\n deleteTransaction(state, payload) {\n state.transactions.splice(payload.index, 1);\n // console.log('Deleted transaction ' + payload.index);\n // console.log(state.transactions);\n if (0 === state.transactions.length) {\n // console.log('array is empty!');\n }\n },\n setTransactionType(state, transactionType) {\n state.transactionType = transactionType;\n },\n setAllowedOpposingTypes(state, allowedOpposingTypes) {\n state.allowedOpposingTypes = allowedOpposingTypes;\n },\n setAccountToTransaction(state, payload) {\n state.accountToTransaction = payload;\n },\n updateField(state, payload) {\n state.transactions[payload.index][payload.field] = payload.value;\n },\n setTransactionError(state, payload) {\n //console.log('Will set transactions[' + payload.index + '][errors][' + payload.field + '] to ');\n //console.log(payload.errors);\n state.transactions[payload.index].errors[payload.field] = payload.errors;\n },\n setDestinationAllowedTypes(state, payload) {\n // console.log('Destination allowed types was changed!');\n state.destinationAllowedTypes = payload;\n },\n setSourceAllowedTypes(state, payload) {\n state.sourceAllowedTypes = payload;\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * edit.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => ({});\n\n\n// getters\nconst getters = {};\n\n// actions\nconst actions = {};\n\n// mutations\nconst mutations = {};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nimport startOfDay from \"date-fns/startOfDay\";\nimport endOfDay from 'date-fns/endOfDay'\nimport startOfWeek from 'date-fns/startOfWeek'\nimport endOfWeek from 'date-fns/endOfWeek'\nimport startOfQuarter from 'date-fns/startOfQuarter';\nimport endOfQuarter from 'date-fns/endOfQuarter';\nimport endOfMonth from \"date-fns/endOfMonth\";\nimport startOfMonth from 'date-fns/startOfMonth';\n\nconst state = () => (\n {\n viewRange: 'default',\n start: null,\n end: null,\n defaultStart: null,\n defaultEnd: null,\n }\n)\n\n\n// getters\nconst getters = {\n start: state => {\n return state.start;\n },\n end: state => {\n return state.end;\n },\n defaultStart: state => {\n return state.defaultStart;\n },\n defaultEnd: state => {\n return state.defaultEnd;\n },\n viewRange: state => {\n return state.viewRange;\n }\n}\n\n// actions\nconst actions = {\n initialiseStore(context) {\n // console.log('initialiseStore');\n\n // restore from local storage:\n context.dispatch('restoreViewRange');\n\n axios.get('./api/v1/preferences/viewRange')\n .then(response => {\n let viewRange = response.data.data.attributes.data;\n let oldViewRange = context.getters.viewRange;\n context.commit('setViewRange', viewRange);\n if (viewRange !== oldViewRange) {\n // console.log('View range changed from \"' + oldViewRange + '\" to \"' + viewRange + '\"');\n context.dispatch('setDatesFromViewRange');\n }\n if (viewRange === oldViewRange) {\n // console.log('Restore view range dates');\n context.dispatch('restoreViewRangeDates');\n }\n }\n ).catch(() => {\n context.commit('setViewRange', '1M');\n context.dispatch('setDatesFromViewRange');\n });\n\n },\n restoreViewRangeDates: function (context) {\n // check local storage first?\n if (localStorage.viewRangeStart) {\n // console.log('view range start set from local storage.');\n context.commit('setStart', new Date(localStorage.viewRangeStart));\n }\n if (localStorage.viewRangeEnd) {\n // console.log('view range end set from local storage.');\n context.commit('setEnd', new Date(localStorage.viewRangeEnd));\n }\n // also set default:\n if (localStorage.viewRangeDefaultStart) {\n // console.log('view range default start set from local storage.');\n // console.log(localStorage.viewRangeDefaultStart);\n context.commit('setDefaultStart', new Date(localStorage.viewRangeDefaultStart));\n }\n if (localStorage.viewRangeDefaultEnd) {\n // console.log('view range default end set from local storage.');\n // console.log(localStorage.viewRangeDefaultEnd);\n context.commit('setDefaultEnd', new Date(localStorage.viewRangeDefaultEnd));\n }\n },\n restoreViewRange: function (context) {\n // console.log('restoreViewRange');\n let viewRange = localStorage.getItem('viewRange');\n if (null !== viewRange) {\n // console.log('restored restoreViewRange ' + viewRange );\n context.commit('setViewRange', viewRange);\n }\n },\n setDatesFromViewRange(context) {\n let start;\n let end;\n let viewRange = context.getters.viewRange;\n let today = new Date;\n // console.log('Will recreate view range on ' + viewRange);\n switch (viewRange) {\n case '1D':\n // today:\n start = startOfDay(today);\n end = endOfDay(today);\n break;\n case '1W':\n // this week:\n start = startOfDay(startOfWeek(today, {weekStartsOn: 1}));\n end = endOfDay(endOfWeek(today, {weekStartsOn: 1}));\n break;\n case '1M':\n // this month:\n start = startOfDay(startOfMonth(today));\n end = endOfDay(endOfMonth(today));\n break;\n case '3M':\n // this quarter\n start = startOfDay(startOfQuarter(today));\n end = endOfDay(endOfQuarter(today));\n break;\n case '6M':\n // this half-year\n if (today.getMonth() <= 5) {\n start = new Date(today);\n start.setMonth(0);\n start.setDate(1);\n start = startOfDay(start);\n end = new Date(today);\n end.setMonth(5);\n end.setDate(30);\n end = endOfDay(start);\n }\n if (today.getMonth() > 5) {\n start = new Date(today);\n start.setMonth(6);\n start.setDate(1);\n start = startOfDay(start);\n end = new Date(today);\n end.setMonth(11);\n end.setDate(31);\n end = endOfDay(start);\n }\n break;\n case '1Y':\n // this year\n start = new Date(today);\n start.setMonth(0);\n start.setDate(1);\n start = startOfDay(start);\n\n end = new Date(today);\n end.setMonth(11);\n end.setDate(31);\n end = endOfDay(end);\n break;\n }\n // console.log('Range is ' + viewRange);\n // console.log('Start is ' + start);\n // console.log('End is ' + end);\n context.commit('setStart', start);\n context.commit('setEnd', end);\n context.commit('setDefaultStart', start);\n context.commit('setDefaultEnd', end);\n }\n}\n\n// mutations\nconst mutations = {\n setStart(state, value) {\n state.start = value;\n window.localStorage.setItem('viewRangeStart', value);\n },\n setEnd(state, value) {\n state.end = value;\n window.localStorage.setItem('viewRangeEnd', value);\n },\n setDefaultStart(state, value) {\n state.defaultStart = value;\n window.localStorage.setItem('viewRangeDefaultStart', value);\n },\n setDefaultEnd(state, value) {\n state.defaultEnd = value;\n window.localStorage.setItem('viewRangeDefaultEnd', value);\n },\n setViewRange(state, range) {\n state.viewRange = range;\n window.localStorage.setItem('viewRange', range);\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * root.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => (\n {\n listPageSize: 33,\n timezone: ''\n }\n)\n\n\n// getters\nconst getters = {\n listPageSize: state => {\n return state.listPageSize;\n },\n timezone: state => {\n // console.log('Wil return ' + state.listPageSize);\n return state.timezone;\n },\n}\n\n// actions\nconst actions = {\n initialiseStore(context) {\n if (localStorage.listPageSize) {\n state.listPageSize = localStorage.listPageSize;\n context.commit('setListPageSize', {length: localStorage.listPageSize});\n }\n if (!localStorage.listPageSize) {\n axios.get('./api/v1/preferences/listPageSize')\n .then(response => {\n // console.log('from API: listPageSize is ' + parseInt(response.data.data.attributes.data));\n context.commit('setListPageSize', {length: parseInt(response.data.data.attributes.data)});\n }\n );\n }\n if (localStorage.timezone) {\n state.timezone = localStorage.timezone;\n context.commit('setTimezone', {timezone: localStorage.timezone});\n }\n if (!localStorage.timezone) {\n axios.get('./api/v1/configuration/app.timezone')\n .then(response => {\n context.commit('setTimezone', {timezone: response.data.data.value});\n }\n );\n }\n }\n}\n\n// mutations\nconst mutations = {\n setListPageSize(state, payload) {\n // console.log('Got a payload in setListPageSize');\n // console.log(payload);\n let number = parseInt(payload.length);\n if (0 !== number) {\n state.listPageSize = number;\n localStorage.listPageSize = number;\n\n }\n },\n setTimezone(state, payload) {\n\n if ('' !== payload.timezone) {\n state.timezone = payload.timezone;\n localStorage.timezone = payload.timezone;\n }\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => (\n {\n orderMode: false,\n activeFilter: 1\n }\n)\n\n\n// getters\nconst getters = {\n orderMode: state => {\n return state.orderMode;\n },\n activeFilter: state => {\n return state.activeFilter;\n }\n}\n\n// actions\nconst actions = {}\n\n// mutations\nconst mutations = {\n setOrderMode(state, payload) {\n state.orderMode = payload;\n },\n setActiveFilter(state, payload) {\n state.activeFilter = payload;\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nimport Vue from 'vue'\nimport Vuex, {createLogger} from 'vuex'\nimport transactions_create from './modules/transactions/create';\nimport transactions_edit from './modules/transactions/edit';\nimport dashboard_index from './modules/dashboard/index';\nimport root_store from './modules/root';\nimport accounts_index from './modules/accounts/index';\n\nVue.use(Vuex)\nconst debug = process.env.NODE_ENV !== 'production'\n\nexport default new Vuex.Store(\n {\n namespaced: true,\n modules: {\n root: root_store,\n transactions: {\n namespaced: true,\n modules: {\n create: transactions_create,\n edit: transactions_edit\n }\n },\n accounts: {\n namespaced: true,\n modules: {\n index: accounts_index\n },\n },\n dashboard: {\n namespaced: true,\n modules: {\n index: dashboard_index\n }\n }\n },\n strict: debug,\n plugins: debug ? [createLogger()] : [],\n state: {\n currencyPreference: {},\n locale: 'en-US',\n listPageSize: 50\n },\n mutations: {\n setCurrencyPreference(state, payload) {\n state.currencyPreference = payload.payload;\n },\n initialiseStore(state) {\n // if locale in local storage:\n if (localStorage.locale) {\n state.locale = localStorage.locale;\n return;\n }\n\n // set locale from HTML:\n let localeToken = document.head.querySelector('meta[name=\"locale\"]');\n if (localeToken) {\n state.locale = localeToken.content;\n localStorage.locale = localeToken.content;\n }\n }\n },\n getters: {\n currencyCode: state => {\n return state.currencyPreference.code;\n },\n currencyPreference: state => {\n return state.currencyPreference;\n },\n currencyId: state => {\n return state.currencyPreference.id;\n },\n locale: state => {\n return state.locale;\n }\n },\n actions: {\n\n updateCurrencyPreference(context) {\n if (localStorage.currencyPreference) {\n context.commit('setCurrencyPreference', {payload: JSON.parse(localStorage.currencyPreference)});\n return;\n }\n axios.get('./api/v1/currencies/default')\n .then(response => {\n let currencyResponse = {\n id: parseInt(response.data.data.id),\n name: response.data.data.attributes.name,\n symbol: response.data.data.attributes.symbol,\n code: response.data.data.attributes.code,\n decimal_places: parseInt(response.data.data.attributes.decimal_places),\n };\n localStorage.currencyPreference = JSON.stringify(currencyResponse);\n //console.log('getCurrencyPreference from server')\n //console.log(JSON.stringify(currencyResponse));\n context.commit('setCurrencyPreference', {payload: currencyResponse});\n }).catch(err => {\n // console.log('Got error response.');\n console.error(err);\n context.commit('setCurrencyPreference', {\n payload: {\n id: 1,\n name: 'Euro',\n symbol: '€',\n code: 'EUR',\n decimal_places: 2\n }\n });\n });\n\n }\n }\n }\n);","/*\n * i18n.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// Create VueI18n instance with options\nmodule.exports = new vuei18n({\n locale: document.documentElement.lang, // set locale\n fallbackLocale: 'en',\n messages: {\n 'bg': require('./locales/bg.json'),\n 'cs': require('./locales/cs.json'),\n 'de': require('./locales/de.json'),\n 'en': require('./locales/en.json'),\n 'en-us': require('./locales/en.json'),\n 'en-gb': require('./locales/en-gb.json'),\n 'es': require('./locales/es.json'),\n 'el': require('./locales/el.json'),\n 'fr': require('./locales/fr.json'),\n 'hu': require('./locales/hu.json'),\n //'id': require('./locales/id.json'),\n 'it': require('./locales/it.json'),\n 'nl': require('./locales/nl.json'),\n 'nb': require('./locales/nb.json'),\n 'pl': require('./locales/pl.json'),\n 'fi': require('./locales/fi.json'),\n 'pt-br': require('./locales/pt-br.json'),\n 'pt-pt': require('./locales/pt.json'),\n 'ro': require('./locales/ro.json'),\n 'ru': require('./locales/ru.json'),\n //'zh': require('./locales/zh.json'),\n 'zh-tw': require('./locales/zh-tw.json'),\n 'zh-cn': require('./locales/zh-cn.json'),\n 'sk': require('./locales/sk.json'),\n 'sv': require('./locales/sv.json'),\n 'vi': require('./locales/vi.json'),\n }\n});\n","<!--\n - Edit.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div>\n <Alert :message=\"errorMessage\" type=\"danger\"/>\n <Alert :message=\"successMessage\" type=\"success\"/>\n <Alert :message=\"warningMessage\" type=\"warning\"/>\n\n <form @submit=\"submitTransaction\" autocomplete=\"off\">\n <SplitPills\n :transactions=\"transactions\"\n :count=\"transactions.length\"\n\n />\n\n <div class=\"tab-content\">\n <SplitForm\n v-for=\"(transaction, index) in this.transactions\"\n :index=\"index\"\n v-bind:key=\"transaction.transaction_journal_id\"\n :key=\"transaction.transaction_journal_id\"\n :transaction=\"transaction\"\n :date=\"date\"\n :count=\"transactions.length\"\n :transaction-type=\"transactionType\"\n :source-allowed-types=\"sourceAllowedTypes\"\n :allowed-opposing-types=\"allowedOpposingTypes\"\n :custom-fields=\"customFields\"\n :destination-allowed-types=\"destinationAllowedTypes\"\n :allow-switch=\"false\"\n v-on:uploaded-attachments=\"uploadedAttachment($event)\"\n v-on:set-marker-location=\"storeLocation($event)\"\n v-on:set-account=\"storeAccountValue($event)\"\n v-on:set-date=\"storeDate($event)\"\n v-on:set-field=\"storeField($event)\"\n v-on:remove-transaction=\"removeTransaction($event)\"\n v-on:selected-attachments=\"selectedAttachments($event)\"\n />\n </div>\n\n <!-- bottom buttons etc -->\n <div class=\"row\">\n <!-- group title -->\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <div v-if=\"transactions.length > 1\" class=\"card\">\n <div class=\"card-body\">\n <div class=\"row\">\n <div class=\"col\">\n <TransactionGroupTitle v-model=\"this.groupTitle\" :errors=\"this.groupTitleErrors\" v-on:set-group-title=\"storeGroupTitle($event)\"/>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <!-- buttons -->\n <div class=\"card\">\n <div class=\"card-body\">\n <div class=\"row\">\n <div class=\"col\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n \n </div>\n <button type=\"button\" class=\"btn btn-outline-primary btn-block\" @click=\"addTransaction\"><i class=\"far fa-clone\"></i>\n {{ $t('firefly.add_another_split') }}\n </button>\n </div>\n <div class=\"col\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n \n </div>\n <button :disabled=\"!enableSubmit\" class=\"btn btn-info btn-block\" @click=\"submitTransaction\">\n <span v-if=\"enableSubmit\"><i class=\"far fa-save\"></i> {{ $t('firefly.update_transaction') }}</span>\n <span v-if=\"!enableSubmit\"><i class=\"fas fa-spinner fa-spin\"></i></span>\n </button>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col\">\n \n </div>\n <div class=\"col\">\n <div class=\"form-check\">\n <input id=\"stayHere\" v-model=\"stayHere\" class=\"form-check-input\" type=\"checkbox\">\n <label class=\"form-check-label\" for=\"stayHere\">\n <span class=\"small\">{{ $t('firefly.after_update_create_another') }}</span>\n </label>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </form>\n </div>\n</template>\n\n<script>\nimport {mapMutations} from \"vuex\";\nimport Alert from '../partials/Alert';\nimport SplitPills from \"./SplitPills\";\nimport SplitForm from \"./SplitForm\";\nimport TransactionGroupTitle from \"./TransactionGroupTitle\";\nimport {getDefaultErrors, getDefaultTransaction} from '../../shared/transactions';\n\nconst lodashClonedeep = require('lodash.clonedeep');\n\nexport default {\n name: \"Edit\",\n created() {\n // console.log('Created');\n let parts = window.location.pathname.split('/');\n this.groupId = parseInt(parts[parts.length - 1]);\n this.transactions = [];\n this.getTransactionGroup();\n this.getAllowedOpposingTypes();\n this.getCustomFields();\n },\n data() {\n return {\n successMessage: {type: String, default: ''},\n errorMessage: {type: String, default: ''},\n warningMessage: {type: String, default: ''},\n\n // transaction props\n transactions: {\n type: Array,\n default: function () {\n return [];\n }\n },\n originalTransactions: {\n type: Array,\n default: function () {\n return [];\n }\n },\n groupTitle: {type: String, default: ''},\n originalGroupTitle: {type: String, default: ''},\n transactionType: {type: String, default: 'any'},\n groupId: {type: Number, default: 0},\n\n // errors in the group title:\n groupTitleErrors: {\n type: Array,\n default: function () {\n return [];\n }\n },\n\n // which custom fields to show\n customFields: {\n type: Object,\n default: function () {\n return {};\n }\n },\n\n // group ID + title once submitted:\n returnedGroupId: {type: Number, default: 0},\n returnedGroupTitle: {type: String, default: ''},\n\n // date and time of the transaction,\n date: {type: String, default: ''},\n originalDate: {type: String, default: ''},\n\n // things the process is done working on (3 phases):\n submittedTransaction: {type: Boolean, default: false},\n // submittedLinks: false,\n submittedAttachments: {type: Number, default: -1}, // -1 = no attachments, 0 = uploading, 1 = uploaded\n inError: {type: Boolean, default: false},\n\n // number of uploaded attachments\n // its an object because we count per transaction journal (which can have multiple attachments)\n // and array doesn't work right.\n submittedAttCount: {\n type: Object,\n default: function () {\n return {};\n }\n },\n\n // meta data for accounts\n allowedOpposingTypes: {\n type: Object,\n default: function () {\n return {};\n }\n },\n destinationAllowedTypes: {\n type: Array,\n default: function () {\n return [];\n }\n },\n sourceAllowedTypes: {\n type: Array,\n default: function () {\n return [];\n }\n },\n\n // states for the form (makes sense right)\n enableSubmit: true,\n stayHere: false,\n\n }\n },\n components: {\n Alert,\n SplitPills,\n SplitForm,\n TransactionGroupTitle\n },\n\n watch: {\n submittedAttachments: function () {\n this.finaliseSubmission();\n }\n },\n\n methods: {\n ...mapMutations('transactions/create', ['updateField',]),\n /**\n * Grab transaction group from URL and submit GET.\n */\n getTransactionGroup: function () {\n // console.log('getTransactionGroup');\n axios.get('./api/v1/transactions/' + this.groupId)\n .then(response => {\n this.parseTransactionGroup(response.data);\n }\n ).catch(error => {\n //console.log('I failed :(');\n //console.log(error);\n });\n },\n /**\n * Parse transaction group. Title is easy, transactions have their own method.\n * @param response\n */\n parseTransactionGroup: function (response) {\n // console.log('Will now parse');\n // console.log(response);\n let attributes = response.data.attributes;\n let transactions = attributes.transactions.reverse();\n this.groupTitle = attributes.group_title;\n this.originalGroupTitle = attributes.group_title;\n\n this.transactions = [];\n this.originalTransactions = [];\n\n\n //this.returnedGroupId = parseInt(response.data.id);\n this.returnedGroupTitle = null === this.originalGroupTitle ? response.data.attributes.transactions[0].description : this.originalGroupTitle;\n\n for (let i in transactions) {\n if (transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n console.log('Parsing transaction nr ' + i);\n let result = this.parseTransaction(parseInt(i), transactions[i]);\n this.transactions.push(result);\n this.originalTransactions.push(lodashClonedeep(result));\n // pick up the links of this transaction:\n this.parseLinks(parseInt(result.transaction_journal_id), parseInt(i));\n }\n }\n },\n /**\n * Parse a single transaction.\n *\n * @param index\n * @param array\n */\n parseTransaction: function (index, array) {\n //console.log('index: ' + index);\n if (0 === index) {\n this.transactionType = array.type.charAt(0).toUpperCase() + array.type.slice(1);\n\n // TODO here you may need to catch stuff like loan/debt/mortgage\n this.sourceAllowedTypes = [array.source_type];\n this.destinationAllowedTypes = [array.destination_type];\n this.date = array.date.substring(0, 16);\n this.originalDate = array.date.substring(0, 16);\n }\n let result = getDefaultTransaction();\n // parsing here:\n result.description = array.description;\n result.transaction_journal_id = parseInt(array.transaction_journal_id);\n // accounts:\n result.source_account_id = array.source_id;\n result.source_account_name = array.source_name;\n result.source_account_type = array.source_type;\n\n result.destination_account_id = array.destination_id;\n result.destination_account_name = array.destination_name;\n result.destination_account_type = array.destination_type;\n\n // amount:\n result.amount = array.amount;\n result.currency_id = array.currency_id;\n result.foreign_amount = array.foreign_amount;\n result.foreign_currency_id = array.foreign_currency_id;\n\n // meta data\n result.category = array.category_name;\n result.budget_id = array.budget_id;\n result.bill_id = array.bill_id ?? 0;\n\n result.tags = array.tags;\n\n // optional date fields (6x):\n result.interest_date = array.interest_date ? array.interest_date.substr(0, 10) : '';\n result.book_date = array.book_date ? array.book_date.substr(0, 10) : '';\n result.process_date = array.process_date ? array.process_date.substr(0, 10) : '';\n result.due_date = array.due_date ? array.due_date.substr(0, 10) : '';\n result.payment_date = array.payment_date ? array.payment_date.substr(0, 10) : '';\n result.invoice_date = array.invoice_date ? array.invoice_date.substr(0, 10) : '';\n\n // optional other fields:\n result.internal_reference = array.internal_reference;\n result.external_url = array.external_uri;\n result.external_id = array.external_id;\n result.notes = array.notes;\n // location:\n result.location = {\n zoom_level: array.zoom_level,\n longitude: array.longitude,\n latitude: array.latitude,\n };\n result.zoom_level = array.zoom_level;\n result.longitude = array.longitude;\n result.latitude = array.latitude;\n // error handling\n result.errors = getDefaultErrors();\n return result;\n },\n /**\n * Get the links of this transaction group from the API.\n */\n parseLinks: function (journalId, index) {\n axios.get('./api/v1/transaction-journals/' + journalId + '/links')\n .then(response => {\n let links = response.data.data;\n for (let i in links) {\n if (links.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n this.parseLink(links[i], journalId, index);\n }\n }\n });\n },\n\n /**\n * Process individual link from the API.\n */\n parseLink: function (link, journalId, index) {\n let promises = [];\n let opposingId = parseInt(link.attributes.inward_id);\n let linkDirection = 'inward';\n if (opposingId === journalId) {\n opposingId = parseInt(link.attributes.outward_id);\n linkDirection = 'outward';\n }\n // add meta data to promise context.\n promises.push(new Promise((resolve) => {\n resolve(\n {\n link: link,\n journalId: journalId,\n opposingId: opposingId,\n index: index,\n direction: linkDirection\n }\n );\n }));\n\n // get stuff from the API:\n promises.push(axios.get('./api/v1/transaction-journals/' + opposingId));\n promises.push(axios.get('./api/v1/transaction_links/' + link.attributes.link_type_id));\n\n Promise.all(promises).then(responses => {\n let journals = responses[1].data.data.attributes.transactions;\n let opposingId = responses[0].opposingId;\n let journal = {};\n // loop over journals to get the correct one:\n for (let i in journals) {\n if (journals.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n if (journals[i].transaction_journal_id === opposingId) {\n journal = journals[i];\n }\n }\n }\n let index = responses[0].index;\n let direction = responses[0].direction;\n let linkTypeId = responses[2].data.data.id;\n let object = {\n id: link.id,\n link_type_id: linkTypeId + '-' + direction,\n transaction_group_id: responses[1].data.data.id,\n transaction_journal_id: journal.transaction_journal_id,\n description: journal.description,\n type: journal.type,\n currency_code: journal.currency_code,\n amount: journal.amount\n };\n this.transactions[index].links.push(object);\n this.originalTransactions[index].links.push(object);\n });\n },\n /**\n * Get API value.\n */\n getAllowedOpposingTypes: function () {\n axios.get('./api/v1/configuration/firefly.allowed_opposing_types')\n .then(response => {\n this.allowedOpposingTypes = response.data.data.value;\n });\n },\n /**\n * Get API value.\n */\n getCustomFields: function () {\n axios.get('./api/v1/preferences/transaction_journal_optional_fields').then(response => {\n this.customFields = response.data.data.attributes.data;\n });\n },\n uploadedAttachment: function (payload) {\n //console.log('event: uploadedAttachment');\n //console.log(payload);\n this.submittedAttachments = 0;\n // console.log('Triggered uploadedAttachment(' + journalId + ')');\n let key = 'str' + payload;\n this.submittedAttCount[key] = 1;\n let count = Object.keys(this.submittedAttCount).length;\n //console.log('Count is now ' + count);\n //console.log('Length is ' + this.transactions.length);\n if (count === this.transactions.length) {\n //console.log('Got them all!');\n // mark the attachments as stored:\n this.submittedAttachments = 1;\n }\n },\n storeLocation: function (payload) {\n this.transactions[payload.index].zoom_level = payload.zoomLevel;\n this.transactions[payload.index].longitude = payload.lng;\n this.transactions[payload.index].latitude = payload.lat;\n },\n storeAccountValue: function (payload) {\n let direction = payload.direction;\n let index = payload.index;\n this.transactions[index][direction + '_account_id'] = payload.id;\n this.transactions[index][direction + '_account_type'] = payload.type;\n this.transactions[index][direction + '_account_name'] = payload.name;\n },\n storeDate: function (payload) {\n this.date = payload.date;\n },\n storeField: function (payload) {\n let field = payload.field;\n if ('category' === field) {\n field = 'category_name';\n }\n this.transactions[payload.index][field] = payload.value;\n\n },\n removeTransaction: function (payload) {\n // console.log('removeTransaction()');\n // console.log('length : ' + this.transactions.length);\n // console.log('Remove index: ' + payload.index);\n\n let index = 0;\n for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n console.log('Now at index: ' + i);\n if (index === payload.index) {\n console.log('Delete!');\n this.transactions.splice(index, 1);\n //console.log(delete this.transactions[i]);\n }\n index++;\n }\n }\n $('#transactionTabs li:first-child a').tab('show');\n\n // this.transactions.splice(payload.index, 1);\n // console.log('length: ' + this.transactions.length);\n\n // this.originalTransactions.splice(payload.index, 1);\n // this kills the original transactions.\n //this.originalTransactions = [];\n },\n storeGroupTitle: function (payload) {\n this.groupTitle = payload;\n },\n selectedAttachments: function (payload) {\n //console.log('Now in selectedAttachments()');\n for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n // console.log('Payload is');\n // console.log(payload);\n if (parseInt(this.transactions[i].transaction_journal_id) === parseInt(payload.id)) {\n // console.log('selectedAttachments ' + payload);\n this.transactions[i].selectedAttachments = true;\n }\n }\n }\n },\n addTransaction: function (event) {\n event.preventDefault();\n let newTransaction = getDefaultTransaction();\n newTransaction.errors = getDefaultErrors();\n this.transactions.push(newTransaction);\n },\n submitTransaction: function (event) {\n event.preventDefault();\n this.enableSubmit = false;\n let submission = {transactions: []};\n\n // parse data to see if we should submit anything at all:\n let shouldSubmit = false;\n let shouldLinks = false;\n let shouldUpload = false;\n\n // if the group title has changed, should submit:\n if (this.groupTitle !== this.originalGroupTitle) {\n submission.group_title = this.groupTitle;\n shouldSubmit = true;\n }\n\n // if something with the group title:\n let newTransactionCount = this.transactions.length;\n if (newTransactionCount > 1 && typeof submission.group_title === 'undefined' && (null === this.originalGroupTitle || '' === this.originalGroupTitle)) {\n submission.group_title = this.transactions[0].description;\n shouldSubmit = true;\n }\n\n // loop each transaction (edited by the user):\n for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n\n // original transaction present:\n let currentTransaction = this.transactions[i];\n let originalTransaction = this.originalTransactions.hasOwnProperty(i) ? this.originalTransactions[i] : {};\n // the difference:\n let diff = {};\n\n // compare basic fields:\n let basicFields = ['description', 'source_account_id', 'source_account_name', 'destination_account_id', 'destination_account_name', 'amount', 'foreign_amount', 'foreign_currency_id', 'category_name', 'budget_id', 'bill_id', 'interest_date', 'book_date', 'due_date', 'payment_date', 'invoice_date', 'external_url', 'internal_reference', 'external_id', 'notes', 'zoom_level', 'longitude', 'latitude'];\n\n // source and destination are overruled in some cases:\n if (i > 0) {\n diff.type = this.transactionType.toLowerCase();\n if ('deposit' === this.transactionType.toLowerCase() || 'transfer' === this.transactionType.toLowerCase()) {\n // set destination to be whatever is in transaction zero:\n currentTransaction.destination_account_name = this.originalTransactions[0].destination_account_name;\n currentTransaction.destination_account_id = this.originalTransactions[0].destination_account_id;\n }\n\n if ('withdrawal' === this.transactionType.toLowerCase() || 'transfer' === this.transactionType.toLowerCase()) {\n // set source to be whatever is in transaction zero:\n currentTransaction.source_account_name = this.originalTransactions[0].source_account_name;\n currentTransaction.source_account_id = this.originalTransactions[0].source_account_id;\n }\n }\n\n // loop the basic fields and verify\n for (let ii in basicFields) {\n if (basicFields.hasOwnProperty(ii) && /^0$|^[1-9]\\d*$/.test(ii) && ii <= 4294967294) {\n let fieldName = basicFields[ii];\n let submissionFieldName = fieldName;\n\n // if the original is undefined and the new one is null, just skip it.\n if (currentTransaction[fieldName] === null && 'undefined' === typeof originalTransaction[fieldName]) {\n continue;\n }\n\n if (currentTransaction[fieldName] !== originalTransaction[fieldName]) {\n // some fields are ignored:\n if ('foreign_amount' === submissionFieldName && '' === currentTransaction[fieldName]) {\n continue;\n }\n if ('foreign_currency_id' === submissionFieldName && 0 === currentTransaction[fieldName]) {\n continue;\n }\n\n // some field names may need to be different. little basic but it works:\n if ('source_account_id' === submissionFieldName) {\n submissionFieldName = 'source_id';\n }\n if ('source_account_name' === submissionFieldName) {\n submissionFieldName = 'source_name';\n }\n if ('destination_account_id' === submissionFieldName) {\n submissionFieldName = 'destination_id';\n }\n if ('destination_account_name' === submissionFieldName) {\n submissionFieldName = 'destination_name';\n }\n\n // otherwise save them and remember them for submission:\n diff[submissionFieldName] = currentTransaction[fieldName];\n shouldSubmit = true;\n }\n }\n }\n\n // tags different?\n if (JSON.stringify(currentTransaction.tags) !== JSON.stringify(originalTransaction.tags)) {\n diff.tags = [];\n if (0 !== currentTransaction.tags.length) {\n for (let ii in currentTransaction.tags) {\n if (currentTransaction.tags.hasOwnProperty(ii) && /^0$|^[1-9]\\d*$/.test(ii) && ii <= 4294967294) {\n let currentTag = currentTransaction.tags[ii];\n if (typeof currentTag === 'object' && null !== currentTag) {\n diff.tags.push(currentTag.text);\n }\n if (typeof currentTag === 'string') {\n diff.tags.push(currentTag);\n }\n }\n }\n }\n shouldSubmit = true;\n }\n\n // compare links:\n let newLinks = this.compareLinks(currentTransaction.links);\n let originalLinks = this.compareLinks(originalTransaction.links);\n if (newLinks !== originalLinks) {\n shouldLinks = true;\n }\n if (typeof currentTransaction.selectedAttachments !== 'undefined' && true === currentTransaction.selectedAttachments) {\n shouldUpload = true;\n }\n\n if (this.date !== this.originalDate) {\n shouldSubmit = true;\n diff.date = this.date;\n }\n\n if (Object.keys(diff).length === 0 && newTransactionCount > 1) {\n // Will submit just the ID!\n diff.transaction_journal_id = originalTransaction.transaction_journal_id;\n submission.transactions.push(lodashClonedeep(diff));\n shouldSubmit = true;\n } else if (Object.keys(diff).length !== 0) {\n // will submit all:\n diff.transaction_journal_id = originalTransaction.transaction_journal_id ?? 0;\n submission.transactions.push(lodashClonedeep(diff));\n shouldSubmit = true;\n }\n }\n }\n this.submitUpdate(submission, shouldSubmit, shouldLinks, shouldUpload);\n },\n\n submitData: function (shouldSubmit, submission) {\n //console.log('submitData');\n if (!shouldSubmit) {\n //console.log('No need!');\n return new Promise((resolve) => {\n resolve({});\n });\n }\n const url = './api/v1/transactions/' + this.groupId;\n return axios.put(url, submission);\n\n },\n handleSubmissionResponse: function (response) {\n //console.log('handleSubmissionResponse()');\n // report the transaction is submitted.\n this.submittedTransaction = true;\n let journals = [];\n\n // meanwhile, store the ID and the title in some easy to access variables.\n if (typeof response.data !== 'undefined') {\n this.returnedGroupId = parseInt(response.data.data.id) ?? null;\n this.returnedGroupTitle = null === response.data.data.attributes.group_title ? response.data.data.attributes.transactions[0].description : response.data.data.attributes.group_title;\n\n let result = response.data.data.attributes.transactions\n for (let i in result) {\n if (result.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n journals.push(parseInt(result[i].transaction_journal_id));\n }\n }\n } else {\n for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n journals.push(this.transactions[i].transaction_journal_id);\n }\n }\n }\n journals = journals.reverse();\n return new Promise((resolve) => {\n resolve(\n {\n journals: journals,\n }\n );\n });\n },\n submitLinks: function (shouldSubmit) {\n //console.log('submitLinks()');\n if (!shouldSubmit) {\n //console.log('no need!');\n return new Promise((resolve) => {\n resolve({});\n });\n }\n return this.deleteAllOriginalLinks().then(() => this.submitNewLinks());\n },\n submitAttachments: function (shouldSubmit, response) {\n console.log('submitAttachments');\n if (!shouldSubmit) {\n console.log('no need!');\n this.submittedAttachments = 1;\n return new Promise((resolve) => {\n resolve({});\n });\n }\n //console.log('Do upload thing!');\n //console.log(response);\n let anyAttachments = false;\n for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let transaction = this.transactions[i];\n let journalId = transaction.transaction_journal_id;\n //console.log(journalId);\n if (typeof response !== 'undefined') {\n journalId = response.journals[i]\n }\n\n let hasAttachments = transaction.selectedAttachments;\n this.transactions[i].transaction_journal_id = journalId;\n this.transactions[i].uploadTrigger = true;\n //console.log('Decided that ' + journalId);\n //console.log('upload index ' + i);\n //console.log(hasAttachments);\n if (hasAttachments) {\n anyAttachments = true;\n }\n }\n }\n if (true === anyAttachments) {\n this.submittedAttachments = 0;\n }\n },\n finaliseSubmission: function () {\n // console.log('finaliseSubmission (' + this.submittedAttachments + ')');\n if (0 === this.submittedAttachments) {\n return;\n }\n // console.log('continue (' + this.submittedAttachments + ')');\n // console.log(this.stayHere);\n // console.log(this.inError);\n if (true === this.stayHere && false === this.inError) {\n //console.log('no error + no changes + no redirect');\n // show message:\n this.errorMessage = '';\n this.warningMessage = '';\n this.successMessage = this.$t('firefly.transaction_updated_link', {ID: this.groupId, title: this.returnedGroupTitle});\n\n }\n // no error + changes + redirect\n if (false === this.stayHere && false === this.inError) {\n //console.log('no error + changes + redirect');\n window.location.href = (window.previousURL ?? '/') + '?transaction_group_id=' + this.groupId + '&message=updated';\n }\n\n this.enableSubmit = true;\n this.submittedAttachments = -1;\n this.inError = false;\n\n for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n if (this.transactions.hasOwnProperty(i)) {\n this.transactions[i].clearTrigger = true;\n }\n }\n }\n },\n submitUpdate: function (submission, shouldSubmit, shouldLinks, shouldUpload) {\n //console.log('submitUpdate()');\n this.inError = false;\n\n this.submitData(shouldSubmit, submission)\n .then(this.handleSubmissionResponse) // error or OK\n .then(response => {\n return Promise.all([\n this.submitLinks(shouldLinks, response),\n this.submitAttachments(shouldUpload, response)]);\n }\n )\n .then(this.finaliseSubmission)\n .catch(this.handleSubmissionError);\n\n\n // if (shouldLinks) {\n // promises.push(this.submitTransactionLinks())\n // }\n // if (!shouldLinks) {\n // promises.push(new Promise((resolve) => {\n // resolve({});\n // }));\n // }\n // if (shouldUpload) {\n // console.log('Attachments = Respond to promise from shouldSubmit/!shouldSubmit');\n // promises.push(submissionPromise.then(result => this.uploadAttachments(result)));\n // }\n // if (!shouldUpload) {\n // promises.push(new Promise((resolve) => {\n // resolve({});\n // }));\n // }\n\n // all promises fulfilled:\n // console.log('All promises done, process results?');\n // Promise.all(promises).then(function (responses) {\n // console.log('I believe all ' + promises.length + ' promises fulfilled!');\n // }).catch(function (errors) {\n // console.log('Somebody errored?');\n // });\n\n //\n //\n //\n // if (shouldSubmit) {\n // console.log('shouldSubmit');\n // // do submission:\n // // console.log(JSON.stringify(submission));\n // // console.log(submission);\n // axios.put(url, submission)\n // .then(response => {\n // // console.log('Response is OK!');\n // // report the transaction is submitted.\n // this.submittedTransaction = true;\n //\n // // submit links and attachments (can only be done when the transaction is created)\n // if (shouldLinks) {\n // console.log('Submit links using return from server:');\n // this.submitTransactionLinks();\n // }\n // if (shouldUpload) {\n // // console.log('Need to upload.');\n // this.submitAttachments(response.data.data.attributes.transactions);\n // }\n // // meanwhile, store the ID and the title in some easy to access variables.\n // this.returnedGroupId = parseInt(response.data.data.id);\n // this.returnedGroupTitle = null === response.data.data.attributes.group_title ? response.data.data.attributes.transactions[0].description : response.data.data.attributes.group_title;\n // }\n // )\n // .catch(error => {\n // console.log('error :(');\n // console.log(error.response.data);\n // // oh noes Firefly III has something to bitch about.\n // this.enableSubmit = true;\n // // report the transaction is submitted.\n // this.submittedTransaction = true;\n // // // also report attachments and links are submitted:\n // this.submittedAttachments = true;\n // this.submittedLinks = true;\n // //\n // // but report an error because error:\n // this.inError = true;\n // this.parseErrors(error.response.data);\n // }\n // );\n // }\n // if (!shouldSubmit && shouldLinks) {\n // // update links\n // console.log('Submit links using whatever is here:');\n // this.submitTransactionLinks();\n // }\n // if (!shouldSubmit && shouldUpload) {\n // // upload\n // // console.log('Need to upload.');\n // this.submitAttachments(this.transactions);\n // }\n },\n compareLinks: function (array) {\n let compare = [];\n for (let i in array) {\n if (array.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n compare.push(\n {\n amount: array[i].amount,\n currency_code: array[i].currency_code,\n description: array[i].description,\n link_type_id: array[i].link_type_id,\n transaction_group_id: array[i].transaction_group_id,\n type: array[i].type,\n }\n );\n }\n }\n return JSON.stringify(compare);\n },\n // uploadAttachments: function (result) {\n // //console.log('TODO, upload attachments.');\n // if (0 === Object.keys(result).length) {\n //\n // for (let i in this.transactions) {\n // if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n //\n // //console.log('updateField(' + i + ', transaction_journal_id, ' + result[i].transaction_journal_id + ')');\n // this.updateField({index: i, field: 'transaction_journal_id', value: result[i].transaction_journal_id});\n // }\n // }\n // //console.log('Transactions not changed, use original objects.');\n // } else {\n // //console.log('Transactions changed!');\n // }\n // this.submittedAttachments = 0;\n // },\n\n parseErrors: function (errors) {\n for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n this.resetErrors({index: i});\n }\n }\n this.successMessage = '';\n this.errorMessage = this.$t('firefly.errors_submission');\n if (typeof errors.errors === 'undefined') {\n this.successMessage = '';\n this.errorMessage = errors.message;\n }\n\n let payload;\n let transactionIndex;\n let fieldName;\n\n // fairly basic way of exploding the error array.\n for (const key in errors.errors) {\n // console.log('Error index: \"' + key + '\"');\n if (errors.errors.hasOwnProperty(key)) {\n if (key === 'group_title') {\n this.groupTitleErrors = errors.errors[key];\n continue;\n }\n if (key !== 'group_title') {\n // lol dumbest way to explode \"transactions.0.something\" ever.\n transactionIndex = parseInt(key.split('.')[1]);\n\n fieldName = key.split('.')[2];\n\n // set error in this object thing.\n // console.log('The errors in key \"' + key + '\" are');\n // console.log(errors.errors[key]);\n switch (fieldName) {\n case 'amount':\n case 'description':\n case 'date':\n case 'tags':\n payload = {index: transactionIndex, field: fieldName, errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'budget_id':\n payload = {index: transactionIndex, field: 'budget', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'bill_id':\n payload = {index: transactionIndex, field: 'bill', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'piggy_bank_id':\n payload = {index: transactionIndex, field: 'piggy_bank', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'category_name':\n payload = {index: transactionIndex, field: 'category', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'source_name':\n case 'source_id':\n payload = {index: transactionIndex, field: 'source', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'destination_name':\n case 'destination_id':\n payload = {index: transactionIndex, field: 'destination', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'foreign_amount':\n case 'foreign_currency':\n payload = {index: transactionIndex, field: 'foreign_amount', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n }\n }\n // unique some things\n if (typeof this.transactions[transactionIndex] !== 'undefined') {\n //this.transactions[transactionIndex].errors.source = Array.from(new Set(this.transactions[transactionIndex].errors.source));\n //this.transactions[transactionIndex].errors.destination = Array.from(new Set(this.transactions[transactionIndex].errors.destination));\n }\n\n }\n }\n },\n setTransactionError: function (payload) {\n this.transactions[payload.index].errors[payload.field] = payload.errors;\n },\n resetErrors(payload) {\n this.transactions[payload.index].errors = lodashClonedeep(getDefaultErrors());\n },\n\n deleteOriginalLinks: function (transaction) {\n let promises = [];\n for (let i in transaction.links) {\n if (transaction.links.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = transaction.links[i];\n let url = '/api/v1/transaction_links/' + current.id;\n promises.push(axios.delete(url));\n }\n }\n return Promise.all(promises);\n },\n\n deleteAllOriginalLinks: function () {\n //console.log('deleteAllOriginalLinks()');\n // loop to delete old transaction links.\n let promises = [];\n for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n // original transaction present?\n let currentTransaction = this.transactions[i];\n let originalTransaction = this.originalTransactions.hasOwnProperty(i) ? this.originalTransactions[i] : {};\n let newLinks = this.compareLinks(currentTransaction.links);\n let originalLinks = this.compareLinks(originalTransaction.links);\n if (newLinks !== originalLinks) {\n if ('[]' !== originalLinks) {\n promises.push(this.deleteOriginalLinks(originalTransaction));\n }\n } else {\n promises.push(new Promise((resolve) => {\n resolve({});\n }));\n }\n }\n }\n return Promise.all(promises);\n },\n submitNewLinks: function () {\n //console.log('submitNewLinks()');\n let promises = [];\n for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let currentTransaction = this.transactions[i];\n for (let ii in currentTransaction.links) {\n if (currentTransaction.links.hasOwnProperty(ii) && /^0$|^[1-9]\\d*$/.test(ii) && ii <= 4294967294) {\n let currentLink = currentTransaction.links[ii];\n let linkObject = {\n inward_id: currentTransaction.transaction_journal_id,\n outward_id: currentTransaction.transaction_journal_id,\n link_type_id: 'something'\n };\n\n let parts = currentLink.link_type_id.split('-');\n linkObject.link_type_id = parts[0];\n if ('inward' === parts[1]) {\n linkObject.inward_id = currentLink.transaction_journal_id;\n }\n if ('outward' === parts[1]) {\n linkObject.outward_id = currentLink.transaction_journal_id;\n }\n promises.push(axios.post('./api/v1/transaction_links', linkObject));\n }\n }\n }\n }\n return Promise.all(promises);\n },\n /**\n * Submit transaction links.\n */\n submitTransactionLinksX: function () {\n //return this.deleteAllOriginalLinks().then(() => this.submitNewLinks());\n },\n finalizeSubmitX: function () {\n // console.log('now in finalizeSubmit()');\n // console.log('submittedTransaction : ' + this.submittedTransaction);\n // console.log('submittedLinks : ' + this.submittedLinks);\n // console.log('submittedAttachments : ' + this.submittedAttachments);\n\n if (this.submittedTransaction && this.submittedAttachments && this.submittedLinks) {\n // console.log('all true');\n // console.log('inError = ' + this.inError);\n // console.log('stayHere = ' + this.stayHere);\n // console.log('returnedGroupId = ' + this.returnedGroupId);\n\n // no error + no changes + no redirect\n if (true === this.stayHere && false === this.inError && 0 === this.returnedGroupId) {\n // console.log('no error + no changes + no redirect');\n // show message:\n this.errorMessage = '';\n this.successMessage = '';\n // maybe nothing changed in post\n this.warningMessage = this.$t('firefly.transaction_updated_no_changes', {ID: this.returnedGroupId, title: this.returnedGroupTitle});\n }\n\n // no error + no changes + redirect\n if (false === this.stayHere && false === this.inError && 0 === this.returnedGroupId) {\n // console.log('no error + no changes + redirect');\n window.location.href = (window.previousURL ?? '/') + '?transaction_group_id=' + this.groupId + '&message=no_change';\n }\n // no error + changes + no redirect\n if (true === this.stayHere && false === this.inError && 0 !== this.returnedGroupId) {\n // console.log('no error + changes + redirect');\n // show message:\n this.errorMessage = '';\n this.warningMessage = '';\n // maybe nothing changed in post\n this.successMessage = this.$t('firefly.transaction_updated_link', {ID: this.returnedGroupId, title: this.returnedGroupTitle});\n }\n\n // no error + changes + redirect\n if (false === this.stayHere && false === this.inError && 0 !== this.returnedGroupId) {\n // console.log('no error + changes + redirect');\n window.location.href = (window.previousURL ?? '/') + '?transaction_group_id=' + this.groupId + '&message=updated';\n }\n // console.log('end of the line');\n // enable flags:\n this.enableSubmit = true;\n this.submittedTransaction = false;\n this.submittedLinks = false;\n this.submittedAttachments = false;\n this.inError = false;\n\n // reset attachments (always do this)\n for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n if (this.transactions.hasOwnProperty(i)) {\n // TODO\n }\n }\n }\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Edit.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Edit.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Edit.vue?vue&type=template&id=5216bb87&scoped=true&\"\nimport script from \"./Edit.vue?vue&type=script&lang=js&\"\nexport * from \"./Edit.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 \"5216bb87\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('Alert',{attrs:{\"message\":_vm.errorMessage,\"type\":\"danger\"}}),_vm._v(\" \"),_c('Alert',{attrs:{\"message\":_vm.successMessage,\"type\":\"success\"}}),_vm._v(\" \"),_c('Alert',{attrs:{\"message\":_vm.warningMessage,\"type\":\"warning\"}}),_vm._v(\" \"),_c('form',{attrs:{\"autocomplete\":\"off\"},on:{\"submit\":_vm.submitTransaction}},[_c('SplitPills',{attrs:{\"transactions\":_vm.transactions,\"count\":_vm.transactions.length}}),_vm._v(\" \"),_c('div',{staticClass:\"tab-content\"},_vm._l((this.transactions),function(transaction,index){return _c('SplitForm',{key:transaction.transaction_journal_id,attrs:{\"index\":index,\"key\":transaction.transaction_journal_id,\"transaction\":transaction,\"date\":_vm.date,\"count\":_vm.transactions.length,\"transaction-type\":_vm.transactionType,\"source-allowed-types\":_vm.sourceAllowedTypes,\"allowed-opposing-types\":_vm.allowedOpposingTypes,\"custom-fields\":_vm.customFields,\"destination-allowed-types\":_vm.destinationAllowedTypes,\"allow-switch\":false},on:{\"uploaded-attachments\":function($event){return _vm.uploadedAttachment($event)},\"set-marker-location\":function($event){return _vm.storeLocation($event)},\"set-account\":function($event){return _vm.storeAccountValue($event)},\"set-date\":function($event){return _vm.storeDate($event)},\"set-field\":function($event){return _vm.storeField($event)},\"remove-transaction\":function($event){return _vm.removeTransaction($event)},\"selected-attachments\":function($event){return _vm.selectedAttachments($event)}}})}),1),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[(_vm.transactions.length > 1)?_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('TransactionGroupTitle',{attrs:{\"errors\":this.groupTitleErrors},on:{\"set-group-title\":function($event){return _vm.storeGroupTitle($event)}},model:{value:(this.groupTitle),callback:function ($$v) {_vm.$set(this, \"groupTitle\", $$v)},expression:\"this.groupTitle\"}})],1)])])]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \\n \")]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-outline-primary btn-block\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.addTransaction}},[_c('i',{staticClass:\"far fa-clone\"}),_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.add_another_split'))+\"\\n \")])]),_vm._v(\" \"),_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \\n \")]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-info btn-block\",attrs:{\"disabled\":!_vm.enableSubmit},on:{\"click\":_vm.submitTransaction}},[(_vm.enableSubmit)?_c('span',[_c('i',{staticClass:\"far fa-save\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.update_transaction')))]):_vm._e(),_vm._v(\" \"),(!_vm.enableSubmit)?_c('span',[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e()])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_vm._v(\"\\n \\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"form-check\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.stayHere),expression:\"stayHere\"}],staticClass:\"form-check-input\",attrs:{\"id\":\"stayHere\",\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.stayHere)?_vm._i(_vm.stayHere,null)>-1:(_vm.stayHere)},on:{\"change\":function($event){var $$a=_vm.stayHere,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.stayHere=$$a.concat([$$v]))}else{$$i>-1&&(_vm.stayHere=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.stayHere=$$c}}}}),_vm._v(\" \"),_c('label',{staticClass:\"form-check-label\",attrs:{\"for\":\"stayHere\"}},[_c('span',{staticClass:\"small\"},[_vm._v(_vm._s(_vm.$t('firefly.after_update_create_another')))])])])])])])])])])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/*\n * edit.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nimport store from \"../../components/store\";\nimport Edit from \"../../components/transactions/Edit\";\nimport Vue from \"vue\";\n\nrequire('../../bootstrap');\n\nVue.config.productionTip = false;\n// i18n\nlet i18n = require('../../i18n');\n\nlet props = {};\nnew Vue({\n i18n,\n store,\n render(createElement) {\n return createElement(Edit, {props: props});\n },\n beforeCreate() {\n this.$store.commit('initialiseStore');\n this.$store.dispatch('updateCurrencyPreference');\n },\n }).$mount('#transactions_edit');\n","/*\n * transactions.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nexport function getDefaultErrors() {\n return {\n description: [],\n amount: [],\n source: [],\n destination: [],\n currency: [],\n foreign_currency: [],\n foreign_amount: [],\n date: [],\n custom_dates: [],\n budget: [],\n category: [],\n bill: [],\n tags: [],\n piggy_bank: [],\n internal_reference: [],\n external_url: [],\n notes: [],\n location: []\n };\n}\n\nexport function getDefaultTransaction() {\n return {\n // basic\n description: '',\n transaction_journal_id: 0,\n // accounts:\n source_account_id: null,\n source_account_name: null,\n source_account_type: null,\n\n source_account_currency_id: null,\n source_account_currency_code: null,\n source_account_currency_symbol: null,\n\n destination_account_id: null,\n destination_account_name: null,\n destination_account_type: null,\n\n destination_account_currency_id: null,\n destination_account_currency_code: null,\n destination_account_currency_symbol: null,\n attachments: false,\n selectedAttachments: false,\n uploadTrigger: false,\n clearTrigger: false,\n\n source_account: {\n id: 0,\n name: \"\",\n name_with_balance: \"\",\n type: \"\",\n currency_id: 0,\n currency_name: '',\n currency_code: '',\n currency_decimal_places: 2\n },\n destination_account: {\n id: 0,\n name: \"\",\n type: \"\",\n currency_id: 0,\n currency_name: '',\n currency_code: '',\n currency_decimal_places: 2\n },\n\n // amount:\n amount: '',\n currency_id: 0,\n foreign_amount: '',\n foreign_currency_id: 0,\n\n // meta data\n category: null,\n budget_id: 0,\n bill_id: 0,\n piggy_bank_id: 0,\n tags: [],\n\n // optional date fields (6x):\n interest_date: null,\n book_date: null,\n process_date: null,\n due_date: null,\n payment_date: null,\n invoice_date: null,\n\n // optional other fields:\n internal_reference: null,\n external_url: null,\n external_id: null,\n notes: null,\n\n // transaction links:\n links: [],\n // location:\n zoom_level: null,\n longitude: null,\n latitude: null,\n\n // error handling\n errors: {},\n }\n}\n\nexport function toW3CString(date) {\n // https://gist.github.com/tristanlins/6585391\n let year = date.getFullYear();\n let month = date.getMonth();\n month++;\n if (month < 10) {\n month = '0' + month;\n }\n let day = date.getDate();\n if (day < 10) {\n day = '0' + day;\n }\n let hours = date.getHours();\n if (hours < 10) {\n hours = '0' + hours;\n }\n let minutes = date.getMinutes();\n if (minutes < 10) {\n minutes = '0' + minutes;\n }\n let seconds = date.getSeconds();\n if (seconds < 10) {\n seconds = '0' + seconds;\n }\n let offset = -date.getTimezoneOffset();\n let offsetHours = Math.abs(Math.floor(offset / 60));\n let offsetMinutes = Math.abs(offset) - offsetHours * 60;\n if (offsetHours < 10) {\n offsetHours = '0' + offsetHours;\n }\n if (offsetMinutes < 10) {\n offsetMinutes = '0' + offsetMinutes;\n }\n let offsetSign = '+';\n if (offset < 0) {\n offsetSign = '-';\n }\n return year + '-' + month + '-' + day +\n 'T' + hours + ':' + minutes + ':' + seconds +\n offsetSign + offsetHours + ':' + offsetMinutes;\n}","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/cssWithMappingToString.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".vue-tags-input{max-width:100%!important;display:block}.ti-input,.vue-tags-input{width:100%;border-radius:.25rem}.ti-input{max-width:100%}.ti-new-tag-input{font-size:1rem}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/transactions/TransactionTags.vue\"],\"names\":[],\"mappings\":\"AA2HA,gBAEA,wBAAA,CACA,aAEA,CAEA,0BANA,UAAA,CAGA,oBAOA,CAJA,UAEA,cAEA,CAEA,kBACA,cACA\",\"sourcesContent\":[\"<!--\\n - TransactionTags.vue\\n - Copyright (c) 2021 [email protected]\\n -\\n - This file is part of Firefly III (https://github.com/firefly-iii).\\n -\\n - This program is free software: you can redistribute it and/or modify\\n - it under the terms of the GNU Affero General Public License as\\n - published by the Free Software Foundation, either version 3 of the\\n - License, or (at your option) any later version.\\n -\\n - This program is distributed in the hope that it will be useful,\\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\\n - GNU Affero General Public License for more details.\\n -\\n - You should have received a copy of the GNU Affero General Public License\\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\\n -->\\n\\n<template>\\n <div class=\\\"form-group\\\">\\n <div class=\\\"text-xs d-none d-lg-block d-xl-block\\\">\\n {{ $t('firefly.tags') }}\\n </div>\\n <div class=\\\"input-group\\\">\\n <vue-tags-input\\n v-model=\\\"currentTag\\\"\\n :add-only-from-autocomplete=\\\"false\\\"\\n :autocomplete-items=\\\"autocompleteItems\\\"\\n :tags=\\\"tags\\\"\\n :title=\\\"$t('firefly.tags')\\\"\\n v-bind:placeholder=\\\"$t('firefly.tags')\\\"\\n @tags-changed=\\\"newTags => this.tags = newTags\\\"\\n />\\n </div>\\n <span v-if=\\\"errors.length > 0\\\">\\n <span v-for=\\\"error in errors\\\" class=\\\"text-danger small\\\">{{ error }}<br/></span>\\n </span>\\n </div>\\n</template>\\n\\n<script>\\nimport VueTagsInput from \\\"@johmun/vue-tags-input\\\";\\nimport axios from \\\"axios\\\";\\n\\nexport default {\\n name: \\\"TransactionTags\\\",\\n components: {\\n VueTagsInput\\n },\\n props: ['value', 'index', 'errors'],\\n data() {\\n return {\\n autocompleteItems: [],\\n debounce: null,\\n tags: [],\\n currentTag: '',\\n updateTags: true, // the idea is that this is always true, except when the tags-function sets the value.\\n tagList: this.value,\\n emitEvent: true\\n };\\n },\\n created() {\\n let tags = [];\\n for (let i in this.value) {\\n if (this.value.hasOwnProperty(i) && /^0$|^[1-9]\\\\d*$/.test(i) && i <= 4294967294) {\\n tags.push({text: this.value[i]});\\n }\\n }\\n this.updateTags = false;\\n this.tags = tags;\\n },\\n watch: {\\n 'currentTag': 'initItems',\\n value: function (value) {\\n this.emitEvent = false;\\n this.tagList = value;\\n },\\n tagList: function (value) {\\n // console.log('watch tagList');\\n if (true === this.emitEvent) {\\n this.$emit('set-field', {field: 'tags', index: this.index, value: value});\\n }\\n this.emitEvent = true;\\n this.updateTags = false;\\n this.tags = value;\\n },\\n tags: function (value) {\\n if (this.updateTags) {\\n let shortList = [];\\n for (let key in value) {\\n if (value.hasOwnProperty(key)) {\\n shortList.push({text: value[key].text});\\n }\\n }\\n this.tagList = shortList;\\n }\\n this.updateTags = true;\\n }\\n },\\n methods: {\\n initItems() {\\n if (this.currentTag.length < 2) {\\n return;\\n }\\n const url = document.getElementsByTagName('base')[0].href + `api/v1/autocomplete/tags?query=${this.currentTag}`;\\n\\n clearTimeout(this.debounce);\\n this.debounce = setTimeout(() => {\\n axios.get(url).then(response => {\\n this.autocompleteItems = response.data.map(item => {\\n return {text: item.tag};\\n });\\n }).catch(() => console.warn('Oh. Something went wrong loading tags.'));\\n }, 300);\\n },\\n },\\n\\n\\n}\\n</script>\\n<style>\\n.vue-tags-input {\\n width: 100%;\\n max-width: 100% !important;\\n display: block;\\n border-radius: 0.25rem;\\n}\\n\\n.ti-input {\\n border-radius: 0.25rem;\\n max-width: 100%;\\n width: 100%;\\n}\\n\\n.ti-new-tag-input {\\n font-size: 1rem;\\n}\\n</style>\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","<!--\n - Alert.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n<template>\n <div v-if=\"message.length > 0\" :class=\"'alert alert-' + type + ' alert-dismissible'\">\n <button aria-hidden=\"true\" class=\"close\" data-dismiss=\"alert\" type=\"button\">×</button>\n <h5>\n <i v-if=\"'danger' === type\" class=\"icon fas fa-ban\"></i>\n <i v-if=\"'success' === type\" class=\"icon fas fa-thumbs-up\"></i>\n <span v-if=\"'danger' === type\">{{ $t(\"firefly.flash_error\") }}</span>\n <span v-if=\"'success' === type\">{{ $t(\"firefly.flash_success\") }}</span>\n </h5>\n <span v-html=\"message\"></span>\n </div>\n</template>\n<script>\nexport default {\n name: \"Alert\",\n props: ['message', 'type']\n}\n</script>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Alert.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Alert.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Alert.vue?vue&type=template&id=df266c68&\"\nimport script from \"./Alert.vue?vue&type=script&lang=js&\"\nexport * from \"./Alert.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.message.length > 0)?_c('div',{class:'alert alert-' + _vm.type + ' alert-dismissible'},[_c('button',{staticClass:\"close\",attrs:{\"aria-hidden\":\"true\",\"data-dismiss\":\"alert\",\"type\":\"button\"}},[_vm._v(\"×\")]),_vm._v(\" \"),_c('h5',[('danger' === _vm.type)?_c('i',{staticClass:\"icon fas fa-ban\"}):_vm._e(),_vm._v(\" \"),('success' === _vm.type)?_c('i',{staticClass:\"icon fas fa-thumbs-up\"}):_vm._e(),_vm._v(\" \"),('danger' === _vm.type)?_c('span',[_vm._v(_vm._s(_vm.$t(\"firefly.flash_error\")))]):_vm._e(),_vm._v(\" \"),('success' === _vm.type)?_c('span',[_vm._v(_vm._s(_vm.$t(\"firefly.flash_success\")))]):_vm._e()]),_vm._v(\" \"),_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.message)}})]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:'tab-pane' + (0 === _vm.index ? ' active' : ''),attrs:{\"id\":'split_' + _vm.index}},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.basic_journal_information'))+\"\\n \"),(_vm.count > 1)?_c('span',[_vm._v(\"(\"+_vm._s(_vm.index + 1)+\" / \"+_vm._s(_vm.count)+\") \")]):_vm._e()]),_vm._v(\" \"),(_vm.count>1)?_c('div',{staticClass:\"card-tools\"},[_c('button',{staticClass:\"btn btn-danger btn-xs\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.removeTransaction}},[_c('i',{staticClass:\"fas fa-trash-alt\"})])]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('TransactionDescription',_vm._g({attrs:{\"errors\":_vm.transaction.errors.description,\"index\":_vm.index},model:{value:(_vm.transaction.description),callback:function ($$v) {_vm.$set(_vm.transaction, \"description\", $$v)},expression:\"transaction.description\"}},_vm.$listeners))],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12\"},[_c('TransactionAccount',_vm._g({attrs:{\"destination-allowed-types\":_vm.destinationAllowedTypes,\"errors\":_vm.transaction.errors.source,\"index\":_vm.index,\"source-allowed-types\":_vm.sourceAllowedTypes,\"transaction-type\":_vm.transactionType,\"direction\":\"source\"},model:{value:(_vm.sourceAccount),callback:function ($$v) {_vm.sourceAccount=$$v},expression:\"sourceAccount\"}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block\"},[(0 === _vm.index && _vm.allowSwitch)?_c('SwitchAccount',_vm._g({attrs:{\"index\":_vm.index,\"transaction-type\":_vm.transactionType}},_vm.$listeners)):_vm._e()],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionAccount',_vm._g({attrs:{\"destination-allowed-types\":_vm.destinationAllowedTypes,\"errors\":_vm.transaction.errors.destination,\"index\":_vm.index,\"transaction-type\":_vm.transactionType,\"source-allowed-types\":_vm.sourceAllowedTypes,\"direction\":\"destination\"},model:{value:(_vm.destinationAccount),callback:function ($$v) {_vm.destinationAccount=$$v},expression:\"destinationAccount\"}},_vm.$listeners))],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12\"},[_c('TransactionAmount',_vm._g({attrs:{\"amount\":_vm.transaction.amount,\"destination-currency-symbol\":this.transaction.destination_account_currency_symbol,\"errors\":_vm.transaction.errors.amount,\"index\":_vm.index,\"source-currency-symbol\":this.transaction.source_account_currency_symbol,\"transaction-type\":this.transactionType}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block\"},[_c('TransactionForeignCurrency',_vm._g({attrs:{\"destination-currency-id\":this.transaction.destination_account_currency_id,\"index\":_vm.index,\"selected-currency-id\":this.transaction.foreign_currency_id,\"source-currency-id\":this.transaction.source_account_currency_id,\"transaction-type\":this.transactionType},model:{value:(_vm.transaction.foreign_currency_id),callback:function ($$v) {_vm.$set(_vm.transaction, \"foreign_currency_id\", $$v)},expression:\"transaction.foreign_currency_id\"}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionForeignAmount',_vm._g({attrs:{\"destination-currency-id\":this.transaction.destination_account_currency_id,\"errors\":_vm.transaction.errors.foreign_amount,\"index\":_vm.index,\"selected-currency-id\":this.transaction.foreign_currency_id,\"source-currency-id\":this.transaction.source_account_currency_id,\"transaction-type\":this.transactionType},model:{value:(_vm.transaction.foreign_amount),callback:function ($$v) {_vm.$set(_vm.transaction, \"foreign_amount\", $$v)},expression:\"transaction.foreign_amount\"}},_vm.$listeners))],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionDate',_vm._g({attrs:{\"date\":_vm.splitDate,\"errors\":_vm.transaction.errors.date,\"index\":_vm.index}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12 offset-xl-2 offset-lg-2\"},[_c('TransactionCustomDates',_vm._g({attrs:{\"book-date\":_vm.transaction.book_date,\"custom-fields\":_vm.customFields,\"due-date\":_vm.transaction.due_date,\"errors\":_vm.transaction.errors.custom_dates,\"index\":_vm.index,\"interest-date\":_vm.transaction.interest_date,\"invoice-date\":_vm.transaction.invoice_date,\"payment-date\":_vm.transaction.payment_date,\"process-date\":_vm.transaction.process_date},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}}},_vm.$listeners))],1)])])])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.transaction_journal_meta'))+\"\\n \"),(_vm.count > 1)?_c('span',[_vm._v(\"(\"+_vm._s(_vm.index + 1)+\" / \"+_vm._s(_vm.count)+\") \")]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[(!('Transfer' === _vm.transactionType || 'Deposit' === _vm.transactionType))?_c('TransactionBudget',_vm._g({attrs:{\"errors\":_vm.transaction.errors.budget,\"index\":_vm.index},model:{value:(_vm.transaction.budget_id),callback:function ($$v) {_vm.$set(_vm.transaction, \"budget_id\", $$v)},expression:\"transaction.budget_id\"}},_vm.$listeners)):_vm._e(),_vm._v(\" \"),_c('TransactionCategory',_vm._g({attrs:{\"errors\":_vm.transaction.errors.category,\"index\":_vm.index},model:{value:(_vm.transaction.category),callback:function ($$v) {_vm.$set(_vm.transaction, \"category\", $$v)},expression:\"transaction.category\"}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[(!('Transfer' === _vm.transactionType || 'Deposit' === _vm.transactionType))?_c('TransactionBill',_vm._g({attrs:{\"errors\":_vm.transaction.errors.bill,\"index\":_vm.index},model:{value:(_vm.transaction.bill_id),callback:function ($$v) {_vm.$set(_vm.transaction, \"bill_id\", $$v)},expression:\"transaction.bill_id\"}},_vm.$listeners)):_vm._e(),_vm._v(\" \"),_c('TransactionTags',_vm._g({attrs:{\"errors\":_vm.transaction.errors.tags,\"index\":_vm.index},model:{value:(_vm.transaction.tags),callback:function ($$v) {_vm.$set(_vm.transaction, \"tags\", $$v)},expression:\"transaction.tags\"}},_vm.$listeners)),_vm._v(\" \"),(!('Withdrawal' === _vm.transactionType || 'Deposit' === _vm.transactionType))?_c('TransactionPiggyBank',_vm._g({attrs:{\"errors\":_vm.transaction.errors.piggy_bank,\"index\":_vm.index},model:{value:(_vm.transaction.piggy_bank_id),callback:function ($$v) {_vm.$set(_vm.transaction, \"piggy_bank_id\", $$v)},expression:\"transaction.piggy_bank_id\"}},_vm.$listeners)):_vm._e()],1)])])])])]),_vm._v(\" \"),(_vm.hasMetaFields)?_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.transaction_journal_extra'))+\"\\n \"),(_vm.count > 1)?_c('span',[_vm._v(\"(\"+_vm._s(_vm.index + 1)+\" / \"+_vm._s(_vm.count)+\") \")]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionInternalReference',_vm._g({attrs:{\"custom-fields\":_vm.customFields,\"errors\":_vm.transaction.errors.internal_reference,\"index\":_vm.index},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.internal_reference),callback:function ($$v) {_vm.$set(_vm.transaction, \"internal_reference\", $$v)},expression:\"transaction.internal_reference\"}},_vm.$listeners)),_vm._v(\" \"),_c('TransactionExternalUrl',_vm._g({attrs:{\"custom-fields\":_vm.customFields,\"errors\":_vm.transaction.errors.external_url,\"index\":_vm.index},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.external_url),callback:function ($$v) {_vm.$set(_vm.transaction, \"external_url\", $$v)},expression:\"transaction.external_url\"}},_vm.$listeners)),_vm._v(\" \"),_c('TransactionNotes',_vm._g({attrs:{\"custom-fields\":_vm.customFields,\"errors\":_vm.transaction.errors.notes,\"index\":_vm.index},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.notes),callback:function ($$v) {_vm.$set(_vm.transaction, \"notes\", $$v)},expression:\"transaction.notes\"}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionAttachments',_vm._g({ref:\"attachments\",attrs:{\"custom-fields\":_vm.customFields,\"index\":_vm.index,\"transaction_journal_id\":_vm.transaction.transaction_journal_id,\"upload-trigger\":_vm.transaction.uploadTrigger,\"clear-trigger\":_vm.transaction.clearTrigger},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.attachments),callback:function ($$v) {_vm.$set(_vm.transaction, \"attachments\", $$v)},expression:\"transaction.attachments\"}},_vm.$listeners)),_vm._v(\" \"),_c('TransactionLocation',_vm._g({attrs:{\"custom-fields\":_vm.customFields,\"errors\":_vm.transaction.errors.location,\"index\":_vm.index},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.location),callback:function ($$v) {_vm.$set(_vm.transaction, \"location\", $$v)},expression:\"transaction.location\"}},_vm.$listeners)),_vm._v(\" \"),_c('TransactionLinks',_vm._g({attrs:{\"custom-fields\":_vm.customFields,\"index\":_vm.index},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.links),callback:function ($$v) {_vm.$set(_vm.transaction, \"links\", $$v)},expression:\"transaction.links\"}},_vm.$listeners))],1)])])])])]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionDescription.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <vue-typeahead-bootstrap\n v-model=\"description\"\n :data=\"descriptions\"\n :inputClass=\"errors.length > 0 ? 'is-invalid' : ''\"\n :minMatchingChars=\"3\"\n :placeholder=\"$t('firefly.description')\"\n :serializer=\"item => item.description\"\n :showOnFocus=true\n autofocus\n inputName=\"description[]\"\n @input=\"lookupDescription\"\n >\n <template slot=\"append\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\" v-on:click=\"clearDescription\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </template>\n </vue-typeahead-bootstrap>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nimport VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';\nimport {debounce} from \"lodash\";\n\nexport default {\n props: ['index', 'value', 'errors'],\n components: {VueTypeaheadBootstrap},\n name: \"TransactionDescription\",\n data() {\n return {\n descriptions: [],\n initialSet: [],\n description: this.value,\n }\n },\n created() {\n axios.get(this.getACURL(''))\n .then(response => {\n this.descriptions = response.data;\n this.initialSet = response.data;\n });\n },\n\n methods: {\n clearDescription: function () {\n this.description = '';\n },\n getACURL: function (query) {\n // update autocomplete URL:\n return document.getElementsByTagName('base')[0].href + 'api/v1/autocomplete/transactions?query=' + query;\n },\n lookupDescription: debounce(function () {\n // update autocomplete URL:\n axios.get(this.getACURL(this.value))\n .then(response => {\n this.descriptions = response.data;\n })\n }, 300)\n },\n watch: {\n value: function (value) {\n this.description = value;\n },\n description: function (value) {\n this.$emit('set-field', {field: 'description', index: this.index, value: value});\n }\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionDescription.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionDescription.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionDescription.vue?vue&type=template&id=05752163&\"\nimport script from \"./TransactionDescription.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionDescription.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('vue-typeahead-bootstrap',{attrs:{\"data\":_vm.descriptions,\"inputClass\":_vm.errors.length > 0 ? 'is-invalid' : '',\"minMatchingChars\":3,\"placeholder\":_vm.$t('firefly.description'),\"serializer\":function (item) { return item.description; },\"showOnFocus\":true,\"autofocus\":\"\",\"inputName\":\"description[]\"},on:{\"input\":_vm.lookupDescription},model:{value:(_vm.description),callback:function ($$v) {_vm.description=$$v},expression:\"description\"}},[_c('template',{slot:\"append\"},[_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"},on:{\"click\":_vm.clearDescription}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])],2),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionDate.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\" v-if=\"0===index\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.date_and_time') }}\n </div>\n <div class=\"input-group\">\n <input\n ref=\"date\"\n v-model=\"dateStr\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"dateStr\"\n :title=\"$t('firefly.date')\"\n autocomplete=\"off\"\n name=\"date[]\"\n type=\"date\"\n >\n <input\n ref=\"time\"\n v-model=\"timeStr\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"timeStr\"\n :title=\"$t('firefly.time')\"\n autocomplete=\"off\"\n name=\"time[]\"\n type=\"time\"\n >\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n <span class=\"text-muted small\">{{ localTimeZone }}:{{ systemTimeZone }}</span>\n </div>\n</template>\n\n<script>\n\nimport {mapGetters} from \"vuex\";\n\nexport default {\n props: ['index', 'errors', 'date'],\n name: \"TransactionDate\",\n created() {\n this.localTimeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;\n this.systemTimeZone = this.timezone;\n // console.log('TransactionDate: ' + this.date);\n // split date and time:\n let parts = this.date.split('T');\n this.dateStr = parts[0];\n this.timeStr = parts[1];\n\n },\n data() {\n return {\n localDate: this.date,\n localTimeZone: '',\n systemTimeZone: '',\n timeStr: '',\n dateStr: '',\n }\n },\n watch: {\n dateStr: function (value) {\n this.$emit('set-date', {date: value + 'T' + this.timeStr});\n },\n timeStr: function (value) {\n this.$emit('set-date', {date: this.dateStr + 'T' + value});\n }\n },\n methods: {},\n computed: {\n ...mapGetters('root', ['timezone']),\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionDate.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionDate.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionDate.vue?vue&type=template&id=67a4f77b&\"\nimport script from \"./TransactionDate.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionDate.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (0===_vm.index)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.date_and_time'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.dateStr),expression:\"dateStr\"}],ref:\"date\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.dateStr,\"title\":_vm.$t('firefly.date'),\"autocomplete\":\"off\",\"name\":\"date[]\",\"type\":\"date\"},domProps:{\"value\":(_vm.dateStr)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.dateStr=$event.target.value}}}),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.timeStr),expression:\"timeStr\"}],ref:\"time\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.timeStr,\"title\":_vm.$t('firefly.time'),\"autocomplete\":\"off\",\"name\":\"time[]\",\"type\":\"time\"},domProps:{\"value\":(_vm.timeStr)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.timeStr=$event.target.value}}})]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e(),_vm._v(\" \"),_c('span',{staticClass:\"text-muted small\"},[_vm._v(_vm._s(_vm.localTimeZone)+\":\"+_vm._s(_vm.systemTimeZone))])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionBudget.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.budget') }}\n </div>\n <div class=\"input-group\">\n <select\n ref=\"budget\"\n v-model=\"budget\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :title=\"$t('firefly.budget')\"\n autocomplete=\"off\"\n name=\"budget_id[]\"\n >\n <option v-for=\"budget in this.budgetList\" :label=\"budget.name\" :value=\"budget.id\">{{ budget.name }}</option>\n </select>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors'],\n name: \"TransactionBudget\",\n data() {\n return {\n budgetList: [],\n budget: this.value,\n emitEvent: true\n }\n },\n created() {\n this.collectData();\n },\n methods: {\n collectData() {\n this.budgetList.push(\n {\n id: 0,\n name: this.$t('firefly.no_budget'),\n }\n );\n this.getBudgets();\n },\n getBudgets() {\n axios.get('./api/v1/budgets')\n .then(response => {\n this.parseBudgets(response.data);\n }\n );\n },\n parseBudgets(data) {\n for (let key in data.data) {\n if (data.data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = data.data[key];\n if(!current.attributes.active) {\n continue;\n }\n this.budgetList.push(\n {\n id: parseInt(current.id),\n name: current.attributes.name\n }\n );\n }\n }\n },\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.budget = value;\n },\n budget: function (value) {\n this.$emit('set-field', {field: 'budget_id', index: this.index, value: value});\n }\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBudget.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBudget.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionBudget.vue?vue&type=template&id=54257463&\"\nimport script from \"./TransactionBudget.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionBudget.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.budget'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.budget),expression:\"budget\"}],ref:\"budget\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"title\":_vm.$t('firefly.budget'),\"autocomplete\":\"off\",\"name\":\"budget_id[]\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.budget=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((this.budgetList),function(budget){return _c('option',{attrs:{\"label\":budget.name},domProps:{\"value\":budget.id}},[_vm._v(_vm._s(budget.name))])}),0)]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionAccount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div v-if=\"visible\" class=\"text-xs d-none d-lg-block d-xl-block\">\n <span v-if=\"0 === this.index\">{{ $t('firefly.' + this.direction + '_account') }}</span>\n <span v-if=\"this.index > 0\" class=\"text-warning\">{{ $t('firefly.first_split_overrules_' + this.direction) }}</span>\n <!--<br><span>{{ selectedAccount }}</span>-->\n </div>\n <div v-if=\"!visible\" class=\"text-xs d-none d-lg-block d-xl-block\">\n \n </div>\n <vue-typeahead-bootstrap\n v-if=\"visible\"\n v-model=\"accountName\"\n :data=\"accounts\"\n :inputClass=\"errors.length > 0 ? 'is-invalid' : ''\"\n :inputName=\"direction + '[]'\"\n :minMatchingChars=\"3\"\n :placeholder=\"$t('firefly.' + direction + '_account')\"\n :serializer=\"item => item.name_with_balance\"\n :showOnFocus=true\n aria-autocomplete=\"none\"\n autocomplete=\"off\"\n @hit=\"userSelectedAccount\"\n @input=\"lookupAccount\"\n >\n\n <template slot=\"suggestion\" slot-scope=\"{ data, htmlText }\">\n <div :title=\"data.type\" class=\"d-flex\">\n <span v-html=\"htmlText\"></span><br>\n </div>\n </template>\n <template slot=\"append\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\" v-on:click=\"clearAccount\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </template>\n </vue-typeahead-bootstrap>\n <div v-if=\"!visible\" class=\"form-control-static\">\n <span class=\"small text-muted\"><em>{{ $t('firefly.first_split_decides') }}</em></span>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nimport VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';\nimport {debounce} from 'lodash';\n\nexport default {\n name: \"TransactionAccount\",\n components: {VueTypeaheadBootstrap},\n props: {\n index: {\n type: Number,\n },\n direction: {\n type: String,\n },\n value: {\n type: Object,\n default: () => ({})\n },\n errors: {\n type: Array,\n default: () => ([])\n },\n sourceAllowedTypes: {\n type: Array,\n default: () => ([])\n },\n destinationAllowedTypes: {\n type: Array,\n default: () => ([])\n },\n transactionType: {\n type: String,\n default: 'any'\n },\n },\n data() {\n return {\n query: '',\n accounts: [],\n accountTypes: [],\n initialSet: [],\n selectedAccount: {},\n accountName: '',\n selectedAccountTrigger: false,\n }\n },\n created() {\n this.accountName = this.value.name ?? '';\n // console.log('TransactionAccount::created() direction=' + this.direction + ', type=' + this.transactionType + ' , name=\"' + this.accountName + '\"');\n this.selectedAccountTrigger = true;\n },\n methods: {\n getACURL: function (types, query) {\n return './api/v1/autocomplete/accounts?types=' + types.join(',') + '&query=' + query;\n },\n userSelectedAccount: function (event) {\n // console.log('userSelectedAccount!');\n // console.log('To prevent invalid propogation, set selectedAccountTrigger = true');\n this.selectedAccountTrigger = true;\n this.selectedAccount = event;\n },\n systemReturnedAccount: function (event) {\n //console.log('systemReturnedAccount!');\n //console.log('To prevent invalid propogation, set selectedAccountTrigger = false');\n this.selectedAccountTrigger = false;\n this.selectedAccount = event;\n },\n clearAccount: function () {\n //// console.log('TransactionAccount::clearAccount()');\n this.accounts = this.initialSet;\n //this.account = {name: '', type: 'no_type', id: null, currency_id: null, currency_code: null, currency_symbol: null};\n this.accountName = '';\n },\n lookupAccount: debounce(function () {\n //// console.log('TransactionAccount::lookupAccount()');\n //// console.log('In lookupAccount()');\n if (0 === this.accountTypes.length) {\n // set the types from the default types for this direction:\n this.accountTypes = 'source' === this.direction ? this.sourceAllowedTypes : this.destinationAllowedTypes;\n }\n // // console.log(this.direction + ': Will search for types:');\n // // console.log(this.accountTypes);\n\n // update autocomplete URL:\n axios.get(this.getACURL(this.accountTypes, this.accountName))\n .then(response => {\n //// console.log('Got a response!');\n this.accounts = response.data;\n //// console.log(response.data);\n })\n }, 300),\n\n createInitialSet: function () {\n //// console.log('TransactionAccount::createInitialSet()');\n let types = this.sourceAllowedTypes;\n if ('destination' === this.direction) {\n types = this.destinationAllowedTypes;\n }\n // // console.log('createInitialSet() direction=' + this.direction + ' resets to these types:');\n // // console.log(types);\n\n axios.get(this.getACURL(types, ''))\n .then(response => {\n this.accounts = response.data;\n this.initialSet = response.data;\n });\n }\n },\n watch: {\n sourceAllowedTypes: function (value) {\n //// console.log('TransactionAccount::sourceAllowedTypes()');\n // // console.log(this.direction + ' account noticed change in sourceAllowedTypes');\n // // console.log(value);\n this.createInitialSet();\n },\n destinationAllowedTypes: function (value) {\n //// console.log('TransactionAccount::destinationAllowedTypes()');\n // // console.log(this.direction + ' account noticed change in destinationAllowedTypes');\n // // console.log(value);\n this.createInitialSet();\n },\n /**\n * Triggered when the user selects an account from the auto-complete.\n *\n * @param value\n */\n selectedAccount: function (value) {\n //console.log('TransactionAccount::watch selectedAccount()');\n // console.log(value);\n if (true === this.selectedAccountTrigger) {\n // console.log('$emit alles!');\n this.$emit('set-account',\n {\n index: this.index,\n direction: this.direction,\n id: value.id,\n type: value.type,\n name: value.name,\n currency_id: value.currency_id,\n currency_code: value.currency_code,\n currency_symbol: value.currency_symbol,\n }\n );\n //console.log('watch::selectedAccount() will now set accountName because selectedAccountTrigger = true');\n this.accountName = value.name;\n }\n if (false === this.selectedAccountTrigger) {\n //console.log('watch::selectedAccount() will NOT set accountName because selectedAccountTrigger = false');\n }\n if (false === this.selectedAccountTrigger && this.accountName !== value.name && null !== value.name) {\n //console.log('watch::selectedAccount() will set accountName. selectedAccountTrigger = false but name is different (\"' + this.accountName + '\" > \"' + value.name + '\")');\n this.selectedAccountTrigger = true;\n this.accountName = value.name;\n }\n\n },\n accountName: function (value) {\n // console.log('now at watch accountName(\"' + value + '\")');\n // console.log(this.selectedAccountTrigger);\n if (true === this.selectedAccountTrigger) {\n // console.log('Do nothing because selectedAccountTrigger = true');\n }\n if (false === this.selectedAccountTrigger) {\n // console.log('$emit name from watch::accountName() because selectedAccountTrigger = false');\n this.$emit('set-account',\n {\n index: this.index,\n direction: this.direction,\n id: null,\n type: null,\n name: value,\n currency_id: null,\n currency_code: null,\n currency_symbol: null,\n }\n );\n // this.account = {name: value, type: null, id: null, currency_id: null, currency_code: null, currency_symbol: null};\n }\n // console.log('set selectedAccountTrigger to be FALSE');\n this.selectedAccountTrigger = false;\n },\n value: function (value) {\n //console.log('TransactionAccount(' + this.index + ')::watch value(' + JSON.stringify(value) + ')');\n this.systemReturnedAccount(value);\n\n // // console.log('Index ' + this.index + ' nwAct: ', value);\n // // console.log(this.direction + ' account overruled by external forces.');\n // // console.log(value);\n //this.account = value;\n //this.selectedAccountTrigger = true;\n // this.accountName = value.name ?? '';\n // if(null !== value.id) {\n // return;\n // }\n // this.selectedAccountTrigger = true;\n //\n // // console.log('Set selectedAccountTrigger = true');\n // this.selectedAccount = value;\n }\n },\n computed: {\n accountKey: {\n get() {\n return 'source' === this.direction ? 'source_account' : 'destination_account';\n }\n },\n visible: {\n get() {\n // index 0 is always visible:\n if (0 === this.index) {\n return true;\n }\n // // console.log('Direction of account ' + this.index + ' is ' + this.direction + '(' + this.transactionType + ')');\n // // console.log(this.transactionType);\n if ('source' === this.direction) {\n return 'any' === this.transactionType || 'Deposit' === this.transactionType || typeof this.transactionType === 'undefined';\n }\n if ('destination' === this.direction) {\n return 'any' === this.transactionType || 'Withdrawal' === this.transactionType || typeof this.transactionType === 'undefined';\n }\n return false;\n }\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAccount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAccount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionAccount.vue?vue&type=template&id=4fd82812&\"\nimport script from \"./TransactionAccount.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionAccount.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[(_vm.visible)?_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[(0 === this.index)?_c('span',[_vm._v(_vm._s(_vm.$t('firefly.' + this.direction + '_account')))]):_vm._e(),_vm._v(\" \"),(this.index > 0)?_c('span',{staticClass:\"text-warning\"},[_vm._v(_vm._s(_vm.$t('firefly.first_split_overrules_' + this.direction)))]):_vm._e()]):_vm._e(),_vm._v(\" \"),(!_vm.visible)?_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \\n \")]):_vm._e(),_vm._v(\" \"),(_vm.visible)?_c('vue-typeahead-bootstrap',{attrs:{\"data\":_vm.accounts,\"inputClass\":_vm.errors.length > 0 ? 'is-invalid' : '',\"inputName\":_vm.direction + '[]',\"minMatchingChars\":3,\"placeholder\":_vm.$t('firefly.' + _vm.direction + '_account'),\"serializer\":function (item) { return item.name_with_balance; },\"showOnFocus\":true,\"aria-autocomplete\":\"none\",\"autocomplete\":\"off\"},on:{\"hit\":_vm.userSelectedAccount,\"input\":_vm.lookupAccount},scopedSlots:_vm._u([{key:\"suggestion\",fn:function(ref){\nvar data = ref.data;\nvar htmlText = ref.htmlText;\nreturn [_c('div',{staticClass:\"d-flex\",attrs:{\"title\":data.type}},[_c('span',{domProps:{\"innerHTML\":_vm._s(htmlText)}}),_c('br')])]}}],null,false,1423807661),model:{value:(_vm.accountName),callback:function ($$v) {_vm.accountName=$$v},expression:\"accountName\"}},[_vm._v(\" \"),_c('template',{slot:\"append\"},[_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"},on:{\"click\":_vm.clearAccount}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])],2):_vm._e(),_vm._v(\" \"),(!_vm.visible)?_c('div',{staticClass:\"form-control-static\"},[_c('span',{staticClass:\"small text-muted\"},[_c('em',[_vm._v(_vm._s(_vm.$t('firefly.first_split_decides')))])])]):_vm._e(),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - SwitchAccount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n <span v-if=\"'any' !== this.transactionType\" class=\"text-muted\">\n {{ $t('firefly.' + this.transactionType) }}\n </span>\n <span v-if=\"'any' === this.transactionType\" class=\"text-muted\"> </span>\n </div>\n <!--\n <div class=\"btn-group d-flex\">\n <button class=\"btn btn-light\" @click=\"switchAccounts\">↔</button>\n </div>\n -->\n </div>\n</template>\n\n<script>\nexport default {\n name: \"SwitchAccount\",\n props: ['index', 'transactionType'],\n methods: {\n // switchAccounts() {\n // this.$emit('switch-accounts', this.index);\n // }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SwitchAccount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SwitchAccount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SwitchAccount.vue?vue&type=template&id=66a3afa9&scoped=true&\"\nimport script from \"./SwitchAccount.vue?vue&type=script&lang=js&\"\nexport * from \"./SwitchAccount.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 \"66a3afa9\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[('any' !== this.transactionType)?_c('span',{staticClass:\"text-muted\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.' + this.transactionType))+\"\\n \")]):_vm._e(),_vm._v(\" \"),('any' === this.transactionType)?_c('span',{staticClass:\"text-muted\"},[_vm._v(\" \")]):_vm._e()])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionAmount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs\">{{ $t('firefly.amount') }}</div>\n <div class=\"input-group\">\n <div v-if=\"currencySymbol\" class=\"input-group-prepend\">\n <div class=\"input-group-text\">{{ currencySymbol }}</div>\n </div>\n <input\n v-model=\"transactionAmount\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.amount')\"\n :title=\"$t('firefly.amount')\"\n autocomplete=\"off\"\n name=\"amount[]\"\n type=\"number\"\n step=\"any\"\n >\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nexport default {\n name: \"TransactionAmount\",\n props: {\n index: {\n type: Number,\n default: 0,\n required: true\n },\n errors: {},\n amount: {},\n transactionType: {},\n sourceCurrencySymbol: {},\n destinationCurrencySymbol: {},\n fractionDigits: {\n default: 2,\n required: false\n },\n },\n created() {\n if ('' !== this.amount) {\n this.emitEvent = false;\n this.transactionAmount = this.formatNumber(this.amount);\n }\n },\n methods: {\n formatNumber(str) {\n return parseFloat(str).toFixed(this.fractionDigits);\n }\n },\n data() {\n return {\n transactionAmount: this.amount,\n currencySymbol: null,\n srcCurrencySymbol: this.sourceCurrencySymbol,\n dstCurrencySymbol: this.destinationCurrencySymbol,\n emitEvent: true\n }\n },\n watch: {\n transactionAmount: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'amount', index: this.index, value: value});\n }\n this.emitEvent = true;\n },\n amount: function (value) {\n this.transactionAmount = value;\n },\n sourceCurrencySymbol: function (value) {\n this.srcCurrencySymbol = value;\n },\n destinationCurrencySymbol: function (value) {\n this.dstCurrencySymbol = value;\n },\n transactionType: function (value) {\n switch (value) {\n case 'Transfer':\n case 'Withdrawal':\n this.currencySymbol = this.srcCurrencySymbol;\n break;\n case 'Deposit':\n this.currencySymbol = this.dstCurrencySymbol;\n }\n },\n },\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAmount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAmount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionAmount.vue?vue&type=template&id=571f2c0a&scoped=true&\"\nimport script from \"./TransactionAmount.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionAmount.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 \"571f2c0a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs\"},[_vm._v(_vm._s(_vm.$t('firefly.amount')))]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[(_vm.currencySymbol)?_c('div',{staticClass:\"input-group-prepend\"},[_c('div',{staticClass:\"input-group-text\"},[_vm._v(_vm._s(_vm.currencySymbol))])]):_vm._e(),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.transactionAmount),expression:\"transactionAmount\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.amount'),\"title\":_vm.$t('firefly.amount'),\"autocomplete\":\"off\",\"name\":\"amount[]\",\"type\":\"number\",\"step\":\"any\"},domProps:{\"value\":(_vm.transactionAmount)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.transactionAmount=$event.target.value}}})]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionForeignAmount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <!-- FOREIGN AMOUNT -->\n <div v-if=\"isVisible\" class=\"form-group\">\n <div class=\"text-xs\">{{ $t('form.foreign_amount') }}</div>\n <div class=\"input-group\">\n <input\n v-model=\"amount\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('form.foreign_amount')\"\n :title=\"$t('form.foreign_amount')\"\n autocomplete=\"off\"\n name=\"foreign_amount[]\"\n type=\"number\"\n >\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"TransactionForeignAmount\",\n props: {\n index: {},\n errors: {},\n value: {},\n transactionType: {},\n sourceCurrencyId: {},\n destinationCurrencyId: {},\n fractionDigits: {\n type: Number,\n default: 2\n }\n },\n data() {\n return {\n amount: this.value,\n emitEvent: true\n }\n },\n created() {\n if ('' !== this.amount) {\n this.emitEvent = false;\n this.amount = this.formatNumber(this.amount);\n }\n },\n methods: {\n formatNumber(str) {\n return parseFloat(str).toFixed(this.fractionDigits);\n }\n },\n watch: {\n amount: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'foreign_amount', index: this.index, value: value});\n }\n this.emitEvent = true;\n },\n value: function (value) {\n this.amount = value;\n\n\n }\n },\n computed: {\n isVisible: {\n get() {\n return !('Transfer' === this.transactionType && this.sourceCurrencyId === this.destinationCurrencyId);\n }\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignAmount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignAmount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionForeignAmount.vue?vue&type=template&id=d13f8bea&scoped=true&\"\nimport script from \"./TransactionForeignAmount.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionForeignAmount.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 \"d13f8bea\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isVisible)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs\"},[_vm._v(_vm._s(_vm.$t('form.foreign_amount')))]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.amount),expression:\"amount\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('form.foreign_amount'),\"title\":_vm.$t('form.foreign_amount'),\"autocomplete\":\"off\",\"name\":\"foreign_amount[]\",\"type\":\"number\"},domProps:{\"value\":(_vm.amount)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.amount=$event.target.value}}})]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionForeignCurrency.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <!-- FOREIGN Currency -->\n <div v-if=\"isVisible\" class=\"form-group\">\n <div class=\"text-xs\"> </div>\n <div class=\"input-group\">\n <select v-model=\"selectedCurrency\" class=\"form-control\" name=\"foreign_currency_id[]\">\n <option v-for=\"currency in selectableCurrencies\" :label=\"currency.name\" :value=\"currency.id\">{{ currency.name }}</option>\n </select>\n </div>\n </div>\n</template>\n<script>\n\nexport default {\n name: \"TransactionForeignCurrency\",\n props: [\n 'index',\n 'transactionType',\n 'sourceCurrencyId',\n 'destinationCurrencyId',\n 'selectedCurrencyId',\n 'value'\n ],\n data() {\n return {\n selectedCurrency: this.value,\n allCurrencies: [],\n selectableCurrencies: [],\n dstCurrencyId: this.destinationCurrencyId,\n srcCurrencyId: this.sourceCurrencyId,\n lockedCurrency: 0,\n emitEvent: true\n }\n },\n watch: {\n value: function (value) {\n this.selectedCurrency = value;\n },\n sourceCurrencyId: function (value) {\n this.srcCurrencyId = value;\n },\n destinationCurrencyId: function (value) {\n this.dstCurrencyId = value;\n },\n selectedCurrency: function (value) {\n this.$emit('set-field', {field: 'foreign_currency_id', index: this.index, value: value});\n },\n transactionType: function (value) {\n this.lockedCurrency = 0;\n if ('Transfer' === value) {\n this.lockedCurrency = this.dstCurrencyId;\n this.selectedCurrency = this.dstCurrencyId;\n }\n this.filterCurrencies();\n },\n },\n created: function () {\n this.getAllCurrencies();\n },\n methods: {\n getAllCurrencies: function () {\n axios.get('./api/v1/autocomplete/currencies')\n .then(response => {\n this.allCurrencies = response.data;\n this.filterCurrencies();\n }\n );\n\n },\n filterCurrencies() {\n // if a currency is locked only that currency can (and must) be selected:\n if (0 !== this.lockedCurrency) {\n for (let key in this.allCurrencies) {\n if (this.allCurrencies.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = this.allCurrencies[key];\n if (current.id === this.lockedCurrency) {\n this.selectableCurrencies = [current];\n this.selectedCurrency = current.id;\n }\n }\n }\n return;\n }\n\n this.selectableCurrencies = [\n {\n \"id\": 0,\n \"name\": this.$t('firefly.no_currency')\n }\n ];\n for (let key in this.allCurrencies) {\n if (this.allCurrencies.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = this.allCurrencies[key];\n this.selectableCurrencies.push(current);\n }\n }\n }\n },\n computed: {\n isVisible: function () {\n return !('Transfer' === this.transactionType && this.srcCurrencyId === this.dstCurrencyId);\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignCurrency.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignCurrency.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionForeignCurrency.vue?vue&type=template&id=3ee4efa5&scoped=true&\"\nimport script from \"./TransactionForeignCurrency.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionForeignCurrency.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 \"3ee4efa5\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isVisible)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs\"},[_vm._v(\" \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedCurrency),expression:\"selectedCurrency\"}],staticClass:\"form-control\",attrs:{\"name\":\"foreign_currency_id[]\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selectedCurrency=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((_vm.selectableCurrencies),function(currency){return _c('option',{attrs:{\"label\":currency.name},domProps:{\"value\":currency.id}},[_vm._v(_vm._s(currency.name))])}),0)])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionCustomDates.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div>\n <div v-for=\"(enabled, name) in availableFields\" class=\"form-group\">\n <div v-if=\"enabled && isDateField(name)\" class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('form.' + name) }}\n </div>\n <div v-if=\"enabled && isDateField(name)\" class=\"input-group\">\n <input\n :ref=\"name\"\n :name=\"name + '[]'\"\n :placeholder=\"$t('form.' + name)\"\n :title=\"$t('form.' + name)\"\n :value=\"getFieldValue(name)\"\n autocomplete=\"off\"\n class=\"form-control\"\n type=\"date\"\n @change=\"setFieldValue($event, name)\"\n >\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"TransactionCustomDates\",\n props: [\n 'index',\n 'errors',\n 'customFields',\n 'interestDate',\n 'bookDate',\n 'processDate',\n 'dueDate',\n 'paymentDate',\n 'invoiceDate'\n ],\n data() {\n return {\n dateFields: ['interest_date', 'book_date', 'process_date', 'due_date', 'payment_date', 'invoice_date'],\n availableFields: this.customFields,\n dates: {\n interest_date: this.interestDate,\n book_date: this.bookDate,\n process_date: this.processDate,\n due_date: this.dueDate,\n payment_date: this.paymentDate,\n invoice_date: this.invoiceDate,\n }\n ,\n }\n },\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n interestDate: function (value) {\n this.dates.interest_date = value;\n },\n bookDate: function (value) {\n this.dates.book_date = value;\n },\n processDate: function (value) {\n this.dates.process_date = value;\n },\n dueDate: function (value) {\n this.dates.due_date = value;\n },\n paymentDate: function (value) {\n this.dates.payment_date = value;\n },\n invoiceDate: function (value) {\n this.dates.invoice_date = value;\n },\n },\n methods: {\n isDateField: function (name) {\n return this.dateFields.includes(name)\n },\n getFieldValue(field) {\n return this.dates[field] ?? '';\n },\n setFieldValue(event, field) {\n this.$emit('set-field', {field: field, index: this.index, value: event.target.value});\n },\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionCustomDates.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionCustomDates.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionCustomDates.vue?vue&type=template&id=728c6420&\"\nimport script from \"./TransactionCustomDates.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionCustomDates.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',_vm._l((_vm.availableFields),function(enabled,name){return _c('div',{staticClass:\"form-group\"},[(enabled && _vm.isDateField(name))?_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('form.' + name))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(enabled && _vm.isDateField(name))?_c('div',{staticClass:\"input-group\"},[_c('input',{ref:name,refInFor:true,staticClass:\"form-control\",attrs:{\"name\":name + '[]',\"placeholder\":_vm.$t('form.' + name),\"title\":_vm.$t('form.' + name),\"autocomplete\":\"off\",\"type\":\"date\"},domProps:{\"value\":_vm.getFieldValue(name)},on:{\"change\":function($event){return _vm.setFieldValue($event, name)}}})]):_vm._e()])}),0)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionCategory.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.category') }}\n </div>\n\n <vue-typeahead-bootstrap\n v-model=\"category\"\n :data=\"categories\"\n :inputClass=\"errors.length > 0 ? 'is-invalid' : ''\"\n :minMatchingChars=\"3\"\n :placeholder=\"$t('firefly.category')\"\n :serializer=\"item => item.name\"\n :showOnFocus=true\n inputName=\"category[]\"\n @hit=\"selectedCategory = $event\"\n @input=\"lookupCategory\"\n >\n <template slot=\"append\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\" v-on:click=\"clearCategory\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </template>\n </vue-typeahead-bootstrap>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nimport VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';\nimport {debounce} from \"lodash\";\n\nexport default {\n props: ['value', 'index', 'errors'],\n components: {VueTypeaheadBootstrap},\n name: \"TransactionCategory\",\n data() {\n return {\n categories: [],\n initialSet: [],\n category: this.value\n }\n },\n\n created() {\n //console.log('Created category(' + this.index + ') \"' + this.value + '\"');\n // initial list of accounts:\n axios.get(this.getACURL(''))\n .then(response => {\n this.categories = response.data;\n this.initialSet = response.data;\n });\n },\n\n methods: {\n clearCategory: function () {\n this.category = '';\n },\n getACURL: function (query) {\n // update autocomplete URL:\n // console.log('getACURL(\"' + query + '\")');\n return document.getElementsByTagName('base')[0].href + 'api/v1/autocomplete/categories?query=' + query;\n },\n lookupCategory: debounce(function () {\n // update autocomplete URL:\n //console.log('Do a search for \"'+this.category+'\"');\n axios.get(this.getACURL(this.category))\n .then(response => {\n this.categories = response.data;\n })\n }, 300)\n },\n watch: {\n value: function (value) {\n this.category = value ?? '';\n },\n category: function (value) {\n this.$emit('set-field', {field: 'category', index: this.index, value: value});\n }\n },\n computed: {\n selectedCategory: {\n get() {\n return this.categories[this.index].name;\n },\n set(value) {\n this.category = value.name;\n }\n }\n }\n}\n</script>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionCategory.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionCategory.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionCategory.vue?vue&type=template&id=0e850d8b&\"\nimport script from \"./TransactionCategory.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionCategory.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.category'))+\"\\n \")]),_vm._v(\" \"),_c('vue-typeahead-bootstrap',{attrs:{\"data\":_vm.categories,\"inputClass\":_vm.errors.length > 0 ? 'is-invalid' : '',\"minMatchingChars\":3,\"placeholder\":_vm.$t('firefly.category'),\"serializer\":function (item) { return item.name; },\"showOnFocus\":true,\"inputName\":\"category[]\"},on:{\"hit\":function($event){_vm.selectedCategory = $event},\"input\":_vm.lookupCategory},model:{value:(_vm.category),callback:function ($$v) {_vm.category=$$v},expression:\"category\"}},[_c('template',{slot:\"append\"},[_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"},on:{\"click\":_vm.clearCategory}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])],2),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionBill.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.bill') }}\n </div>\n <div class=\"input-group\">\n <select\n ref=\"bill\"\n v-model=\"bill\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :title=\"$t('firefly.bill')\"\n autocomplete=\"off\"\n name=\"bill_id[]\"\n >\n <option v-for=\"bill in this.billList\" :label=\"bill.name\" :value=\"bill.id\">{{ bill.name }}</option>\n\n </select>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['value', 'index', 'errors'],\n name: \"TransactionBill\",\n data() {\n return {\n billList: [],\n bill: this.value,\n emitEvent: true\n }\n },\n created() {\n this.collectData();\n },\n methods: {\n collectData() {\n this.billList.push(\n {\n id: 0,\n name: this.$t('firefly.no_bill'),\n }\n );\n this.getBills();\n },\n getBills() {\n axios.get('./api/v1/bills')\n .then(response => {\n this.parseBills(response.data);\n }\n );\n },\n parseBills(data) {\n for (let key in data.data) {\n if (data.data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = data.data[key];\n this.billList.push(\n {\n id: parseInt(current.id),\n name: current.attributes.name\n }\n );\n }\n }\n },\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.bill = value;\n },\n bill: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'bill_id', index: this.index, value: value});\n }\n this.emitEvent = true;\n }\n },\n}\n</script>\n\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBill.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBill.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionBill.vue?vue&type=template&id=07ad05c8&\"\nimport script from \"./TransactionBill.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionBill.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.bill'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.bill),expression:\"bill\"}],ref:\"bill\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"title\":_vm.$t('firefly.bill'),\"autocomplete\":\"off\",\"name\":\"bill_id[]\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.bill=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((this.billList),function(bill){return _c('option',{attrs:{\"label\":bill.name},domProps:{\"value\":bill.id}},[_vm._v(_vm._s(bill.name))])}),0)]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {\nvar this$1 = this;\nvar _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.tags'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('vue-tags-input',{attrs:{\"add-only-from-autocomplete\":false,\"autocomplete-items\":_vm.autocompleteItems,\"tags\":_vm.tags,\"title\":_vm.$t('firefly.tags'),\"placeholder\":_vm.$t('firefly.tags')},on:{\"tags-changed\":function (newTags) { return this$1.tags = newTags; }},model:{value:(_vm.currentTag),callback:function ($$v) {_vm.currentTag=$$v},expression:\"currentTag\"}})],1),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionTags.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.tags') }}\n </div>\n <div class=\"input-group\">\n <vue-tags-input\n v-model=\"currentTag\"\n :add-only-from-autocomplete=\"false\"\n :autocomplete-items=\"autocompleteItems\"\n :tags=\"tags\"\n :title=\"$t('firefly.tags')\"\n v-bind:placeholder=\"$t('firefly.tags')\"\n @tags-changed=\"newTags => this.tags = newTags\"\n />\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nimport VueTagsInput from \"@johmun/vue-tags-input\";\nimport axios from \"axios\";\n\nexport default {\n name: \"TransactionTags\",\n components: {\n VueTagsInput\n },\n props: ['value', 'index', 'errors'],\n data() {\n return {\n autocompleteItems: [],\n debounce: null,\n tags: [],\n currentTag: '',\n updateTags: true, // the idea is that this is always true, except when the tags-function sets the value.\n tagList: this.value,\n emitEvent: true\n };\n },\n created() {\n let tags = [];\n for (let i in this.value) {\n if (this.value.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n tags.push({text: this.value[i]});\n }\n }\n this.updateTags = false;\n this.tags = tags;\n },\n watch: {\n 'currentTag': 'initItems',\n value: function (value) {\n this.emitEvent = false;\n this.tagList = value;\n },\n tagList: function (value) {\n // console.log('watch tagList');\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'tags', index: this.index, value: value});\n }\n this.emitEvent = true;\n this.updateTags = false;\n this.tags = value;\n },\n tags: function (value) {\n if (this.updateTags) {\n let shortList = [];\n for (let key in value) {\n if (value.hasOwnProperty(key)) {\n shortList.push({text: value[key].text});\n }\n }\n this.tagList = shortList;\n }\n this.updateTags = true;\n }\n },\n methods: {\n initItems() {\n if (this.currentTag.length < 2) {\n return;\n }\n const url = document.getElementsByTagName('base')[0].href + `api/v1/autocomplete/tags?query=${this.currentTag}`;\n\n clearTimeout(this.debounce);\n this.debounce = setTimeout(() => {\n axios.get(url).then(response => {\n this.autocompleteItems = response.data.map(item => {\n return {text: item.tag};\n });\n }).catch(() => console.warn('Oh. Something went wrong loading tags.'));\n }, 300);\n },\n },\n\n\n}\n</script>\n<style>\n.vue-tags-input {\n width: 100%;\n max-width: 100% !important;\n display: block;\n border-radius: 0.25rem;\n}\n\n.ti-input {\n border-radius: 0.25rem;\n max-width: 100%;\n width: 100%;\n}\n\n.ti-new-tag-input {\n font-size: 1rem;\n}\n</style>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionTags.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionTags.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionTags.vue?vue&type=template&id=00136a1f&\"\nimport script from \"./TransactionTags.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionTags.vue?vue&type=script&lang=js&\"\nimport style0 from \"./TransactionTags.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<!--\n - TransactionPiggyBank.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.piggy_bank') }}\n </div>\n <div class=\"input-group\">\n <select\n ref=\"piggy_bank_id\"\n v-model=\"piggy_bank_id\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :title=\"$t('firefly.piggy_bank')\"\n autocomplete=\"off\"\n name=\"piggy_bank_id[]\"\n >\n <option v-for=\"piggy in this.piggyList\" :label=\"piggy.name_with_balance\" :value=\"piggy.id\">{{ piggy.name_with_balance }}</option>\n\n </select>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nexport default {\n props: ['index', 'value', 'errors'],\n name: \"TransactionPiggyBank\",\n data() {\n return {\n piggyList: [],\n piggy_bank_id: this.value,\n emitEvent: true\n }\n },\n created() {\n this.collectData();\n },\n methods: {\n collectData() {\n this.piggyList.push(\n {\n id: 0,\n name_with_balance: this.$t('firefly.no_piggy_bank'),\n }\n );\n this.getPiggies();\n },\n getPiggies() {\n axios.get('./api/v1/autocomplete/piggy-banks-with-balance')\n .then(response => {\n this.parsePiggies(response.data);\n }\n );\n },\n parsePiggies(data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = data[key];\n this.piggyList.push(\n {\n id: parseInt(current.id),\n name_with_balance: current.name_with_balance\n }\n );\n }\n }\n },\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.piggy_bank_id = value;\n },\n piggy_bank_id: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'piggy_bank_id', index: this.index, value: value});\n }\n this.emitEvent = true;\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionPiggyBank.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionPiggyBank.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionPiggyBank.vue?vue&type=template&id=18931396&\"\nimport script from \"./TransactionPiggyBank.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionPiggyBank.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.piggy_bank'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.piggy_bank_id),expression:\"piggy_bank_id\"}],ref:\"piggy_bank_id\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"title\":_vm.$t('firefly.piggy_bank'),\"autocomplete\":\"off\",\"name\":\"piggy_bank_id[]\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.piggy_bank_id=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((this.piggyList),function(piggy){return _c('option',{attrs:{\"label\":piggy.name_with_balance},domProps:{\"value\":piggy.id}},[_vm._v(_vm._s(piggy.name_with_balance))])}),0)]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionInternalReference.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.internal_reference') }}\n </div>\n <div class=\"input-group\">\n <input\n v-model=\"reference\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.internal_reference')\"\n name=\"internal_reference[]\"\n type=\"text\"\n />\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors', 'customFields'],\n name: \"TransactionInternalReference\",\n data() {\n return {\n reference: this.value,\n availableFields: this.customFields,\n emitEvent: true\n }\n },\n computed: {\n showField: function () {\n if ('internal_reference' in this.availableFields) {\n return this.availableFields.internal_reference;\n }\n return false;\n }\n },\n methods: {},\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n value: function (value) {\n this.emitEvent = false;\n this.reference = value;\n },\n reference: function (value) {\n this.$emit('set-field', {field: 'internal_reference', index: this.index, value: value});\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionInternalReference.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionInternalReference.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionInternalReference.vue?vue&type=template&id=7f1b8c1d&\"\nimport script from \"./TransactionInternalReference.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionInternalReference.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.internal_reference'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.reference),expression:\"reference\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.internal_reference'),\"name\":\"internal_reference[]\",\"type\":\"text\"},domProps:{\"value\":(_vm.reference)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.reference=$event.target.value}}}),_vm._v(\" \"),_vm._m(0)])]):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])}]\n\nexport { render, staticRenderFns }","<!--\n - TransactionInternalReference.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.external_url') }}\n </div>\n <div class=\"input-group\">\n <input\n v-model=\"url\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.external_url')\"\n name=\"external_url[]\"\n type=\"url\"\n />\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors', 'customFields'],\n name: \"TransactionExternalUrl\",\n data() {\n return {\n url: this.value,\n availableFields: this.customFields,\n }\n },\n computed: {\n showField: function () {\n if ('external_uri' in this.availableFields) {\n return this.availableFields.external_uri;\n }\n return false;\n }\n },\n methods: {},\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n value: function (value) {\n this.url = value;\n },\n url: function (value) {\n this.$emit('set-field', {field: 'external_url', index: this.index, value: value});\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionExternalUrl.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionExternalUrl.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionExternalUrl.vue?vue&type=template&id=7f6746e6&scoped=true&\"\nimport script from \"./TransactionExternalUrl.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionExternalUrl.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 \"7f6746e6\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.external_url'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.url),expression:\"url\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.external_url'),\"name\":\"external_url[]\",\"type\":\"url\"},domProps:{\"value\":(_vm.url)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.url=$event.target.value}}}),_vm._v(\" \"),_vm._m(0)])]):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])}]\n\nexport { render, staticRenderFns }","<!--\n - TransactionNotes.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.notes') }}\n </div>\n <div class=\"input-group\">\n <textarea\n v-model=\"notes\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.notes')\"\n ></textarea>\n </div>\n </div>\n\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors', 'customFields'],\n name: \"TransactionNotes\",\n data() {\n return {\n notes: this.value,\n availableFields: this.customFields,\n emitEvent: true\n }\n },\n computed: {\n showField: function () {\n if ('notes' in this.availableFields) {\n return this.availableFields.notes;\n }\n return false;\n }\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.notes = value;\n },\n customFields: function (value) {\n this.availableFields = value;\n },\n notes: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'notes', index: this.index, value: value});\n }\n this.emitEvent = true;\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionNotes.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionNotes.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionNotes.vue?vue&type=template&id=10b3ae7a&scoped=true&\"\nimport script from \"./TransactionNotes.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionNotes.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 \"10b3ae7a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.notes'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.notes),expression:\"notes\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.notes')},domProps:{\"value\":(_vm.notes)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.notes=$event.target.value}}})])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',[_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.journal_links'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[(_vm.links.length === 0)?_c('p',[_c('button',{staticClass:\"btn btn-default btn-xs\",attrs:{\"type\":\"button\",\"data-target\":\"#linkModal\",\"data-toggle\":\"modal\"},on:{\"click\":_vm.resetModal}},[_c('i',{staticClass:\"fas fa-plus\"}),_vm._v(\" Add transaction link\")])]):_vm._e(),_vm._v(\" \"),(_vm.links.length > 0)?_c('ul',{staticClass:\"list-group\"},_vm._l((_vm.links),function(transaction,index){return _c('li',{key:index,staticClass:\"list-group-item\"},[_c('em',[_vm._v(_vm._s(_vm.getTextForLinkType(transaction.link_type_id)))]),_vm._v(\" \"),_c('a',{attrs:{\"href\":\"./transaction/show/\" + transaction.transaction_group_id}},[_vm._v(_vm._s(transaction.description))]),_vm._v(\" \"),(transaction.type === 'withdrawal')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-danger\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount) * -1)))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(transaction.type === 'deposit')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-success\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(transaction.type === 'transfer')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-info\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"btn-group btn-group-xs float-right\"},[_c('button',{staticClass:\"btn btn-xs btn-danger\",attrs:{\"type\":\"button\",\"tabindex\":\"-1\"},on:{\"click\":function($event){return _vm.removeLink(index)}}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])}),0):_vm._e(),_vm._v(\" \"),(_vm.links.length > 0)?_c('div',{staticClass:\"form-text\"},[_c('button',{staticClass:\"btn btn-default\",attrs:{\"type\":\"button\",\"data-target\":\"#linkModal\",\"data-toggle\":\"modal\"},on:{\"click\":_vm.resetModal}},[_c('i',{staticClass:\"fas fa-plus\"})])]):_vm._e()])])]),_vm._v(\" \"),_c('div',{ref:\"linkModal\",staticClass:\"modal\",attrs:{\"id\":\"linkModal\",\"tabindex\":\"-1\"}},[_c('div',{staticClass:\"modal-dialog modal-lg\"},[_c('div',{staticClass:\"modal-content\"},[_vm._m(0),_vm._v(\" \"),_c('div',{staticClass:\"modal-body\"},[_c('div',{staticClass:\"container-fluid\"},[_vm._m(1),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('form',{attrs:{\"autocomplete\":\"off\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.search($event)}}},[_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.query),expression:\"query\"}],staticClass:\"form-control\",attrs:{\"id\":\"query\",\"autocomplete\":\"off\",\"maxlength\":\"255\",\"name\":\"search\",\"placeholder\":\"Search query\",\"type\":\"text\"},domProps:{\"value\":(_vm.query)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.query=$event.target.value}}}),_vm._v(\" \"),_vm._m(2)])])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[(_vm.searching)?_c('span',[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e(),_vm._v(\" \"),(_vm.searchResults.length > 0)?_c('h4',[_vm._v(_vm._s(_vm.$t('firefly.search_results')))]):_vm._e(),_vm._v(\" \"),(_vm.searchResults.length > 0)?_c('table',{staticClass:\"table table-sm\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.search_results')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{staticStyle:{\"width\":\"33%\"},attrs:{\"scope\":\"col\",\"colspan\":\"2\"}},[_vm._v(_vm._s(_vm.$t('firefly.include')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.transaction')))])])]),_vm._v(\" \"),_c('tbody',_vm._l((_vm.searchResults),function(result){return _c('tr',[_c('td',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(result.selected),expression:\"result.selected\"}],staticClass:\"form-control\",attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(result.selected)?_vm._i(result.selected,null)>-1:(result.selected)},on:{\"change\":[function($event){var $$a=result.selected,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(result, \"selected\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(result, \"selected\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(result, \"selected\", $$c)}},function($event){return _vm.selectTransaction($event)}]}})]),_vm._v(\" \"),_c('td',[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(result.link_type_id),expression:\"result.link_type_id\"}],staticClass:\"form-control\",on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(result, \"link_type_id\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])},function($event){return _vm.selectLinkType($event)}]}},_vm._l((_vm.linkTypes),function(linkType){return _c('option',{attrs:{\"label\":linkType.type},domProps:{\"value\":linkType.id + '-' + linkType.direction}},[_vm._v(_vm._s(linkType.type)+\"\\n \")])}),0)]),_vm._v(\" \"),_c('td',[_c('a',{attrs:{\"href\":'./transactions/show/' + result.transaction_group_id}},[_vm._v(_vm._s(result.description))]),_vm._v(\" \"),(result.type === 'withdrawal')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-danger\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount) * -1)))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(result.type === 'deposit')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-success\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(result.type === 'transfer')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-info\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),_c('br'),_vm._v(\" \"),_c('em',[_c('a',{attrs:{\"href\":'./accounts/show/' + result.source_id}},[_vm._v(_vm._s(result.source_name))]),_vm._v(\"\\n →\\n \"),_c('a',{attrs:{\"href\":'./accounts/show/' + result.destination_id}},[_vm._v(_vm._s(result.destination_name))])])])])}),0)]):_vm._e()])])])]),_vm._v(\" \"),_vm._m(3)])])])]):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"modal-header\"},[_c('h5',{staticClass:\"modal-title\"},[_vm._v(\"Transaction thing dialog.\")]),_vm._v(\" \"),_c('button',{staticClass:\"close\",attrs:{\"aria-label\":\"Close\",\"data-dismiss\":\"modal\",\"type\":\"button\"}},[_c('span',{attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"×\")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('p',[_vm._v(\"\\n Use this form to search for transactions you wish to link to this one. When in doubt, use \"),_c('code',[_vm._v(\"id:*\")]),_vm._v(\" where the ID is the number from\\n the URL.\\n \")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-default\",attrs:{\"type\":\"submit\"}},[_c('i',{staticClass:\"fas fa-search\"}),_vm._v(\" Search\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"modal-footer\"},[_c('button',{staticClass:\"btn btn-secondary\",attrs:{\"data-dismiss\":\"modal\",\"type\":\"button\"}},[_vm._v(\"Close\")])])}]\n\nexport { render, staticRenderFns }","<!--\n - TransactionLinks.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\">\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.journal_links') }}\n </div>\n <div class=\"row\">\n <div class=\"col\">\n <p v-if=\"links.length === 0\">\n <button type=\"button\" class=\"btn btn-default btn-xs\" data-target=\"#linkModal\" @click=\"resetModal\" data-toggle=\"modal\"><i class=\"fas fa-plus\"></i> Add transaction link</button>\n </p>\n <ul v-if=\"links.length > 0\" class=\"list-group\">\n <li v-for=\"(transaction, index) in links\" class=\"list-group-item\" v-bind:key=\"index\">\n <em>{{ getTextForLinkType(transaction.link_type_id) }}</em>\n <a :href='\"./transaction/show/\" + transaction.transaction_group_id'>{{ transaction.description }}</a>\n\n <span v-if=\"transaction.type === 'withdrawal'\">\n (<span class=\"text-danger\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount) * -1)\n }}</span>)\n </span>\n <span v-if=\"transaction.type === 'deposit'\">\n (<span class=\"text-success\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))\n }}</span>)\n </span>\n <span v-if=\"transaction.type === 'transfer'\">\n (<span class=\"text-info\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))\n }}</span>)\n </span>\n <div class=\"btn-group btn-group-xs float-right\">\n <button type=\"button\" class=\"btn btn-xs btn-danger\" @click=\"removeLink(index)\" tabindex=\"-1\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </li>\n </ul>\n <div v-if=\"links.length > 0\" class=\"form-text\">\n <button type=\"button\" class=\"btn btn-default\" @click=\"resetModal\" data-target=\"#linkModal\" data-toggle=\"modal\"><i class=\"fas fa-plus\"></i></button>\n </div>\n </div>\n </div>\n </div>\n <!-- modal -->\n <div id=\"linkModal\" class=\"modal\" tabindex=\"-1\" ref=\"linkModal\">\n <div class=\"modal-dialog modal-lg\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <h5 class=\"modal-title\">Transaction thing dialog.</h5>\n <button aria-label=\"Close\" class=\"close\" data-dismiss=\"modal\" type=\"button\">\n <span aria-hidden=\"true\">×</span>\n </button>\n </div>\n <div class=\"modal-body\">\n <div class=\"container-fluid\">\n <div class=\"row\">\n <div class=\"col\">\n <p>\n Use this form to search for transactions you wish to link to this one. When in doubt, use <code>id:*</code> where the ID is the number from\n the URL.\n </p>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col\">\n <form v-on:submit.prevent=\"search\" autocomplete=\"off\">\n <div class=\"input-group\">\n <input id=\"query\" v-model=\"query\" autocomplete=\"off\" class=\"form-control\" maxlength=\"255\" name=\"search\"\n placeholder=\"Search query\" type=\"text\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-default\" type=\"submit\"><i class=\"fas fa-search\"></i> Search</button>\n </div>\n </div>\n </form>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col\">\n <span v-if=\"searching\"><i class=\"fas fa-spinner fa-spin\"></i></span>\n <h4 v-if=\"searchResults.length > 0\">{{ $t('firefly.search_results') }}</h4>\n <table v-if=\"searchResults.length > 0\" class=\"table table-sm\">\n <caption style=\"display:none;\">{{ $t('firefly.search_results') }}</caption>\n <thead>\n <tr>\n <th scope=\"col\" colspan=\"2\" style=\"width:33%\">{{ $t('firefly.include') }}</th>\n <th scope=\"col\">{{ $t('firefly.transaction') }}</th>\n </tr>\n </thead>\n <tbody>\n <tr v-for=\"result in searchResults\">\n <td>\n <input v-model=\"result.selected\" class=\"form-control\"\n type=\"checkbox\"\n @change=\"selectTransaction($event)\"\n />\n </td>\n <td>\n <select\n v-model=\"result.link_type_id\"\n class=\"form-control\"\n @change=\"selectLinkType($event)\"\n >\n <option v-for=\"linkType in linkTypes\" :label=\"linkType.type\" :value=\"linkType.id + '-' + linkType.direction\">{{\n linkType.type\n }}\n </option>\n </select>\n </td>\n <td>\n <a :href=\"'./transactions/show/' + result.transaction_group_id\">{{ result.description }}</a>\n <span v-if=\"result.type === 'withdrawal'\">\n (<span class=\"text-danger\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount) * -1)\n }}</span>)\n </span>\n <span v-if=\"result.type === 'deposit'\">\n (<span class=\"text-success\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount))\n }}</span>)\n </span>\n <span v-if=\"result.type === 'transfer'\">\n (<span class=\"text-info\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount))\n }}</span>)\n </span>\n <br/>\n <em>\n <a :href=\"'./accounts/show/' + result.source_id\">{{ result.source_name }}</a>\n →\n <a :href=\"'./accounts/show/' + result.destination_id\">{{ result.destination_name }}</a>\n </em>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n </div>\n <div class=\"modal-footer\">\n <button class=\"btn btn-secondary\" data-dismiss=\"modal\" type=\"button\">Close</button>\n </div>\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nconst lodashClonedeep = require('lodash.clonedeep');\n// TODO error handling\nexport default {\n props: ['index', 'value', 'errors', 'customFields'],\n name: \"TransactionLinks\",\n data() {\n return {\n searchResults: [],\n include: [],\n locale: 'en-US',\n linkTypes: [],\n query: '',\n searching: false,\n links: this.value,\n availableFields: this.customFields,\n emitEvent: true\n }\n },\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n this.emitEvent = false;\n this.links = lodashClonedeep(this.value);\n this.getLinkTypes();\n\n },\n computed: {\n showField: function () {\n if ('links' in this.availableFields) {\n return this.availableFields.links;\n }\n return false;\n }\n },\n watch: {\n value: function (value) {\n if (null !== value) {\n this.emitEvent = false;\n this.links = lodashClonedeep(value);\n }\n },\n links: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {index: this.index, field: 'links', value: lodashClonedeep(value)});\n }\n this.emitEvent = true;\n },\n customFields: function (value) {\n this.availableFields = value;\n }\n },\n methods: {\n removeLink: function (index) {\n this.links.splice(index, 1);\n },\n getTextForLinkType: function (linkTypeId) {\n let parts = linkTypeId.split('-');\n for (let i in this.linkTypes) {\n if (this.linkTypes.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.linkTypes[i];\n if (parts[0] === current.id && parts[1] === current.direction) {\n return current.type;\n }\n }\n }\n return 'text for #' + linkTypeId;\n },\n selectTransaction: function (event) {\n for (let i in this.searchResults) {\n if (this.searchResults.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.searchResults[i];\n if (current.selected) {\n this.addToSelected(current);\n }\n if (!current.selected) {\n // remove from\n this.removeFromSelected(current);\n }\n }\n }\n },\n selectLinkType: function (event) {\n for (let i in this.searchResults) {\n if (this.searchResults.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.searchResults[i];\n this.updateSelected(current.transaction_journal_id, current.link_type_id);\n }\n }\n },\n updateSelected(journalId, linkTypeId) {\n for (let i in this.links) {\n if (this.links.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.links[i];\n if (parseInt(current.transaction_journal_id) === journalId) {\n this.links[i].link_type_id = linkTypeId;\n }\n }\n }\n },\n addToSelected(journal) {\n let result = this.links.find(({transaction_journal_id}) => transaction_journal_id === journal.transaction_journal_id);\n if (typeof result === 'undefined') {\n this.links.push(journal);\n }\n },\n removeFromSelected(journal) {\n for (let i in this.links) {\n if (this.links.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.links[i];\n if (current.transaction_journal_id === journal.transaction_journal_id) {\n this.links.splice(parseInt(i), 1);\n }\n }\n }\n },\n getLinkTypes: function () {\n let url = './api/v1/link_types';\n axios.get(url)\n .then(response => {\n this.parseLinkTypes(response.data);\n }\n );\n },\n resetModal: function() {\n this.search();\n },\n parseLinkTypes: function (data) {\n for (let i in data.data) {\n if (data.data.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = data.data[i];\n let linkTypeInward = {\n id: current.id,\n type: current.attributes.inward,\n direction: 'inward'\n };\n let linkTypeOutward = {\n id: current.id,\n type: current.attributes.outward,\n direction: 'outward'\n };\n if (linkTypeInward.type === linkTypeOutward.type) {\n linkTypeInward.type = linkTypeInward.type + ' (←)';\n linkTypeOutward.type = linkTypeOutward.type + ' (→)';\n }\n this.linkTypes.push(linkTypeInward);\n this.linkTypes.push(linkTypeOutward);\n }\n }\n },\n search: function () {\n if('' === this.query) {\n this.searchResults = [];\n return;\n }\n this.searching = true;\n this.searchResults = [];\n let url = './api/v1/search/transactions?limit=10&query=' + this.query;\n axios.get(url)\n .then(response => {\n this.parseSearch(response.data);\n }\n );\n },\n parseSearch: function (data) {\n for (let i in data.data) {\n if (data.data.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n for (let ii in data.data[i].attributes.transactions) {\n if (data.data[i].attributes.transactions.hasOwnProperty(ii) && /^0$|^[1-9]\\d*$/.test(ii) && ii <= 4294967294) {\n let current = data.data[i].attributes.transactions[ii];\n current.transaction_group_id = parseInt(data.data[i].id);\n current.selected = this.isJournalSelected(current.transaction_journal_id);\n current.link_type_id = this.getJournalLinkType(current.transaction_journal_id);\n current.link_type_text = '';\n this.searchResults.push(current);\n }\n }\n }\n }\n this.searching = false;\n },\n getJournalLinkType: function (journalId) {\n for (let i in this.links) {\n if (this.links.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.links[i];\n if (current.transaction_journal_id === journalId) {\n return current.link_type_id;\n }\n }\n }\n return '1-inward';\n },\n isJournalSelected: function (journalId) {\n for (let i in this.links) {\n if (this.links.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.links[i];\n if (current.transaction_journal_id === journalId) {\n return true;\n }\n }\n }\n return false;\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionLinks.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionLinks.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionLinks.vue?vue&type=template&id=b41e3794&\"\nimport script from \"./TransactionLinks.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionLinks.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 - TransactionAttachments.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.attachments') }}\n </div>\n <div class=\"input-group\">\n <input\n ref=\"att\"\n class=\"form-control\"\n multiple\n @change=\"selectedFile\"\n name=\"attachments[]\"\n type=\"file\"\n />\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"TransactionAttachments\",\n props: ['transaction_journal_id', 'customFields', 'index', 'uploadTrigger', 'clearTrigger'],\n data() {\n return {\n availableFields: this.customFields,\n uploads: 0,\n created: 0,\n uploaded: 0,\n }\n },\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n uploadTrigger: function () {\n //console.log('uploadTrigger(' + this.transaction_journal_id + ',' + this.index + ')');\n this.doUpload();\n },\n clearTrigger: function () {\n //console.log('clearTrigger(' + this.transaction_journal_id + ',' + this.index + ')');\n this.$refs.att.value = null;\n },\n transaction_journal_id: function (value) {\n //console.log('watch transaction_journal_id: ' + value + ' (index ' + this.index + ')');\n }\n },\n computed: {\n showField: function () {\n if ('attachments' in this.availableFields) {\n return this.availableFields.attachments;\n }\n return false;\n }\n },\n methods: {\n selectedFile: function () {\n this.$emit('selected-attachments', {index: this.index, id: this.transaction_journal_id});\n },\n createAttachment: function (name) {\n // console.log('Now in createAttachment()');\n const uri = './api/v1/attachments';\n const data = {\n filename: name,\n attachable_type: 'TransactionJournal',\n attachable_id: this.transaction_journal_id,\n };\n // create new attachment:\n return axios.post(uri, data);\n },\n uploadAttachment: function (attachmentId, data) {\n this.created++;\n // console.log('Now in uploadAttachment()');\n const uploadUri = './api/v1/attachments/' + attachmentId + '/upload';\n return axios.post(uploadUri, data)\n },\n countAttachment: function () {\n this.uploaded++;\n //console.log('Uploaded ' + this.uploaded + ' / ' + this.uploads);\n if (this.uploaded >= this.uploads) {\n //console.log('All files uploaded. Emit event for ' + this.transaction_journal_id + '(' + this.index + ')');\n this.$emit('uploaded-attachments', this.transaction_journal_id);\n }\n },\n doUpload: function () {\n let files = this.$refs.att.files;\n this.uploads = files.length;\n // loop all files and create attachments.\n for (let i in files) {\n if (files.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n // console.log('Now at file ' + (parseInt(i) + 1) + ' / ' + files.length);\n // read file into file reader:\n let current = files[i];\n let fileReader = new FileReader();\n let theParent = this; // dont ask me why i need to do this.\n fileReader.onloadend = evt => {\n if (evt.target.readyState === FileReader.DONE) {\n // console.log('I am done reading file ' + (parseInt(i) + 1));\n this.createAttachment(current.name).then(response => {\n // console.log('Created attachment. Now upload (1)');\n return theParent.uploadAttachment(response.data.data.id, new Blob([evt.target.result]));\n }).then(theParent.countAttachment);\n }\n }\n fileReader.readAsArrayBuffer(current);\n }\n }\n if (0 === files.length) {\n //console.log('No files to upload. Emit event!');\n this.$emit('uploaded-attachments', this.transaction_journal_id);\n }\n // Promise.all(promises).then(response => {\n // console.log('All files uploaded. Emit event!');\n // this.$emit('uploaded-attachments', this.transaction_journal_id);\n // });\n }\n }\n\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAttachments.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAttachments.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionAttachments.vue?vue&type=template&id=48c53d7e&scoped=true&\"\nimport script from \"./TransactionAttachments.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionAttachments.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 \"48c53d7e\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.attachments'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{ref:\"att\",staticClass:\"form-control\",attrs:{\"multiple\":\"\",\"name\":\"attachments[]\",\"type\":\"file\"},on:{\"change\":_vm.selectedFile}})])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionLocation.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.location') }}\n </div>\n <div style=\"width:100%;height:300px;\">\n <l-map\n ref=\"myMap\"\n :center=\"center\"\n :zoom=\"zoom\" style=\"width:100%;height:300px;\"\n @ready=\"prepMap()\"\n @update:zoom=\"zoomUpdated\"\n @update:center=\"centerUpdated\"\n @update:bounds=\"boundsUpdated\"\n >\n <l-tile-layer :url=\"url\"></l-tile-layer>\n <l-marker :lat-lng=\"marker\" :visible=\"hasMarker\"></l-marker>\n </l-map>\n <span>\n <button class=\"btn btn-default btn-xs\" @click=\"clearLocation\">{{ $t('firefly.clear_location') }}</button>\n </span>\n </div>\n <p> </p>\n </div>\n</template>\n\n<script>\n\n// If you need to reference 'L', such as in 'L.icon', then be sure to\n// explicitly import 'leaflet' into your component\n// import L from 'leaflet';\nimport {LMap, LMarker, LTileLayer} from 'vue2-leaflet';\nimport 'leaflet/dist/leaflet.css';\n\nimport L from 'leaflet';\n\ndelete L.Icon.Default.prototype._getIconUrl;\n\nL.Icon.Default.mergeOptions({\n iconRetinaUrl: require('leaflet/dist/images/marker-icon-2x.png'),\n iconUrl: require('leaflet/dist/images/marker-icon.png'),\n shadowUrl: require('leaflet/dist/images/marker-shadow.png')\n });\n\nexport default {\n name: \"TransactionLocation\",\n props: {\n index: {},\n value: {\n type: Object,\n required: false\n },\n errors: {},\n customFields: {},\n },\n components: {\n LMap,\n LTileLayer,\n LMarker,\n },\n created() {\n if (null === this.value || typeof this.value === 'undefined') {\n axios.get('./api/v1/configuration/firefly.default_location').then(response => {\n this.zoom = parseInt(response.data.data.value.zoom_level);\n this.center =\n [\n parseFloat(response.data.data.value.latitude),\n parseFloat(response.data.data.value.longitude),\n ]\n ;\n });\n return;\n }\n if (null !== this.value.zoom_level && null !== this.value.latitude && null !== this.value.longitude) {\n this.zoom = this.value.zoom_level;\n this.center = [\n parseFloat(this.value.latitude),\n parseFloat(this.value.longitude),\n ];\n this.hasMarker = true;\n }\n },\n data() {\n return {\n availableFields: this.customFields,\n url: 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',\n zoom: 3,\n center: [0, 0],\n bounds: null,\n map: null,\n hasMarker: false,\n marker: [0, 0],\n }\n },\n methods: {\n prepMap: function () {\n this.map = this.$refs.myMap.mapObject;\n this.map.on('contextmenu', this.setObjectLocation);\n this.map.on('zoomend', this.saveZoomLevel);\n },\n setObjectLocation: function (event) {\n this.marker = [event.latlng.lat, event.latlng.lng];\n this.hasMarker = true;\n this.emitEvent();\n },\n saveZoomLevel: function () {\n this.emitEvent();\n },\n clearLocation: function () {\n this.hasMarker = false;\n this.emitEvent();\n },\n emitEvent() {\n this.$emit('set-marker-location', {\n index: this.index,\n zoomLevel: this.zoom,\n lat: this.marker[0],\n lng: this.marker[1],\n hasMarker: this.hasMarker\n }\n );\n },\n zoomUpdated(zoom) {\n this.zoom = zoom;\n },\n centerUpdated(center) {\n this.center = center;\n },\n boundsUpdated(bounds) {\n this.bounds = bounds;\n }\n },\n computed: {\n showField: function () {\n if ('location' in this.availableFields) {\n return this.availableFields.location;\n }\n return false;\n }\n },\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionLocation.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionLocation.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionLocation.vue?vue&type=template&id=3bafa3c9&scoped=true&\"\nimport script from \"./TransactionLocation.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionLocation.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 \"3bafa3c9\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.location'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticStyle:{\"width\":\"100%\",\"height\":\"300px\"}},[_c('l-map',{ref:\"myMap\",staticStyle:{\"width\":\"100%\",\"height\":\"300px\"},attrs:{\"center\":_vm.center,\"zoom\":_vm.zoom},on:{\"ready\":function($event){return _vm.prepMap()},\"update:zoom\":_vm.zoomUpdated,\"update:center\":_vm.centerUpdated,\"update:bounds\":_vm.boundsUpdated}},[_c('l-tile-layer',{attrs:{\"url\":_vm.url}}),_vm._v(\" \"),_c('l-marker',{attrs:{\"lat-lng\":_vm.marker,\"visible\":_vm.hasMarker}})],1),_vm._v(\" \"),_c('span',[_c('button',{staticClass:\"btn btn-default btn-xs\",on:{\"click\":_vm.clearLocation}},[_vm._v(_vm._s(_vm.$t('firefly.clear_location')))])])],1),_vm._v(\" \"),_c('p',[_vm._v(\" \")])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitForm.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitForm.vue?vue&type=script&lang=js&\"","<!--\n - SplitForm.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div :id=\"'split_' + index\" :class=\"'tab-pane' + (0 === index ? ' active' : '')\">\n <div class=\"row\">\n <div class=\"col\">\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">\n {{ $t('firefly.basic_journal_information') }}\n <span v-if=\"count > 1\">({{ index + 1 }} / {{ count }}) </span>\n </h3>\n <div v-if=\"count>1\" class=\"card-tools\">\n <button type=\"button\" class=\"btn btn-danger btn-xs\" @click=\"removeTransaction\"><i class=\"fas fa-trash-alt\"></i></button>\n </div>\n </div>\n\n <div class=\"card-body\">\n <!-- start of body -->\n <div class=\"row\">\n <div class=\"col\">\n <TransactionDescription\n v-model=\"transaction.description\"\n v-on=\"$listeners\"\n :errors=\"transaction.errors.description\"\n :index=\"index\"\n ></TransactionDescription>\n </div>\n </div>\n <!-- source and destination -->\n <div class=\"row\">\n <div class=\"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12\">\n <!-- SOURCE -->\n <TransactionAccount\n v-model=\"sourceAccount\"\n v-on=\"$listeners\"\n :destination-allowed-types=\"destinationAllowedTypes\"\n :errors=\"transaction.errors.source\"\n :index=\"index\"\n :source-allowed-types=\"sourceAllowedTypes\"\n :transaction-type=\"transactionType\"\n direction=\"source\"\n />\n </div>\n <!-- switcharoo! -->\n <div class=\"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block\">\n <SwitchAccount\n v-if=\"0 === index && allowSwitch\"\n v-on=\"$listeners\"\n :index=\"index\"\n :transaction-type=\"transactionType\"\n />\n </div>\n\n <!-- destination -->\n <div class=\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\">\n <!-- DESTINATION -->\n <TransactionAccount\n v-model=\"destinationAccount\"\n v-on=\"$listeners\"\n :destination-allowed-types=\"destinationAllowedTypes\"\n :errors=\"transaction.errors.destination\"\n :index=\"index\"\n :transaction-type=\"transactionType\"\n :source-allowed-types=\"sourceAllowedTypes\"\n direction=\"destination\"\n />\n </div>\n </div>\n\n\n <!-- amount -->\n <div class=\"row\">\n <div class=\"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12\">\n <!-- AMOUNT -->\n <TransactionAmount\n v-on=\"$listeners\"\n :amount=\"transaction.amount\"\n :destination-currency-symbol=\"this.transaction.destination_account_currency_symbol\"\n :errors=\"transaction.errors.amount\"\n :index=\"index\"\n :source-currency-symbol=\"this.transaction.source_account_currency_symbol\"\n :transaction-type=\"this.transactionType\"\n />\n </div>\n <div class=\"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block\">\n <TransactionForeignCurrency\n v-model=\"transaction.foreign_currency_id\"\n v-on=\"$listeners\"\n :destination-currency-id=\"this.transaction.destination_account_currency_id\"\n :index=\"index\"\n :selected-currency-id=\"this.transaction.foreign_currency_id\"\n :source-currency-id=\"this.transaction.source_account_currency_id\"\n :transaction-type=\"this.transactionType\"\n />\n </div>\n <div class=\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\">\n <!--\n The reason that TransactionAmount gets the symbols and\n TransactionForeignAmount gets the ID's of the currencies is\n because ultimately TransactionAmount doesn't decide which\n currency id is submitted to Firefly III.\n -->\n <TransactionForeignAmount\n v-model=\"transaction.foreign_amount\"\n v-on=\"$listeners\"\n :destination-currency-id=\"this.transaction.destination_account_currency_id\"\n :errors=\"transaction.errors.foreign_amount\"\n :index=\"index\"\n :selected-currency-id=\"this.transaction.foreign_currency_id\"\n :source-currency-id=\"this.transaction.source_account_currency_id\"\n :transaction-type=\"this.transactionType\"\n />\n </div>\n </div>\n\n <!-- dates -->\n <div class=\"row\">\n <div class=\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\">\n <TransactionDate\n v-on=\"$listeners\"\n :date=\"splitDate\"\n :errors=\"transaction.errors.date\"\n :index=\"index\"\n />\n </div>\n\n <div class=\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12 offset-xl-2 offset-lg-2\">\n <TransactionCustomDates\n v-on=\"$listeners\"\n :book-date=\"transaction.book_date\"\n :custom-fields.sync=\"customFields\"\n :due-date=\"transaction.due_date\"\n :errors=\"transaction.errors.custom_dates\"\n :index=\"index\"\n :interest-date=\"transaction.interest_date\"\n :invoice-date=\"transaction.invoice_date\"\n :payment-date=\"transaction.payment_date\"\n :process-date=\"transaction.process_date\"\n />\n </div>\n </div>\n\n <!-- end of body -->\n </div>\n </div>\n </div>\n </div> <!-- end of basic card -->\n\n <!-- card for meta -->\n <div class=\"row\">\n <div class=\"col\">\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">\n {{ $t('firefly.transaction_journal_meta') }}\n <span v-if=\"count > 1\">({{ index + 1 }} / {{ count }}) </span>\n </h3>\n </div>\n <div class=\"card-body\">\n <!-- start of body -->\n <!-- meta -->\n <div class=\"row\">\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <TransactionBudget\n v-if=\"!('Transfer' === transactionType || 'Deposit' === transactionType)\"\n v-model=\"transaction.budget_id\"\n v-on=\"$listeners\"\n :errors=\"transaction.errors.budget\"\n :index=\"index\"\n />\n <TransactionCategory\n v-model=\"transaction.category\"\n v-on=\"$listeners\"\n :errors=\"transaction.errors.category\"\n :index=\"index\"\n />\n </div>\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <TransactionBill\n v-if=\"!('Transfer' === transactionType || 'Deposit' === transactionType)\"\n v-model=\"transaction.bill_id\"\n v-on=\"$listeners\"\n :errors=\"transaction.errors.bill\"\n :index=\"index\"\n />\n <TransactionTags\n v-model=\"transaction.tags\"\n v-on=\"$listeners\"\n :errors=\"transaction.errors.tags\"\n :index=\"index\"\n />\n <TransactionPiggyBank\n v-if=\"!('Withdrawal' === transactionType || 'Deposit' === transactionType)\"\n v-model=\"transaction.piggy_bank_id\"\n v-on=\"$listeners\"\n :errors=\"transaction.errors.piggy_bank\"\n :index=\"index\"\n />\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <!-- end card for meta -->\n <!-- card for extra -->\n <div v-if=\"hasMetaFields\" class=\"row\">\n <div class=\"col\">\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">\n {{ $t('firefly.transaction_journal_extra') }}\n <span v-if=\"count > 1\">({{ index + 1 }} / {{ count }}) </span>\n </h3>\n </div>\n <div class=\"card-body\">\n <!-- start of body -->\n <div class=\"row\">\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n\n <TransactionInternalReference\n v-model=\"transaction.internal_reference\"\n v-on=\"$listeners\"\n :custom-fields.sync=\"customFields\"\n :errors=\"transaction.errors.internal_reference\"\n :index=\"index\"\n />\n\n <TransactionExternalUrl\n v-model=\"transaction.external_url\"\n v-on=\"$listeners\"\n :custom-fields.sync=\"customFields\"\n :errors=\"transaction.errors.external_url\"\n :index=\"index\"\n />\n <TransactionNotes\n v-model=\"transaction.notes\"\n v-on=\"$listeners\"\n :custom-fields.sync=\"customFields\"\n :errors=\"transaction.errors.notes\"\n :index=\"index\"\n />\n </div>\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n\n <TransactionAttachments\n ref=\"attachments\"\n v-model=\"transaction.attachments\"\n v-on=\"$listeners\"\n :custom-fields.sync=\"customFields\"\n :index=\"index\"\n :transaction_journal_id=\"transaction.transaction_journal_id\"\n :upload-trigger=\"transaction.uploadTrigger\"\n :clear-trigger=\"transaction.clearTrigger\"\n />\n <TransactionLocation\n v-model=\"transaction.location\"\n v-on=\"$listeners\"\n :custom-fields.sync=\"customFields\"\n :errors=\"transaction.errors.location\"\n :index=\"index\"\n />\n\n <TransactionLinks\n v-model=\"transaction.links\"\n v-on=\"$listeners\"\n :custom-fields.sync=\"customFields\"\n :index=\"index\"\n />\n </div>\n\n </div>\n <!-- end of body -->\n </div>\n </div>\n </div>\n </div>\n <!-- end card for extra -->\n <!-- end of card -->\n </div>\n</template>\n\n<script>\n\nimport TransactionDescription from \"./TransactionDescription\";\nimport TransactionDate from \"./TransactionDate\";\nimport TransactionBudget from \"./TransactionBudget\";\nimport TransactionAccount from \"./TransactionAccount\";\nimport SwitchAccount from \"./SwitchAccount\";\nimport TransactionAmount from \"./TransactionAmount\";\nimport TransactionForeignAmount from \"./TransactionForeignAmount\";\nimport TransactionForeignCurrency from \"./TransactionForeignCurrency\";\nimport TransactionCustomDates from \"./TransactionCustomDates\";\nimport TransactionCategory from \"./TransactionCategory\";\nimport TransactionBill from \"./TransactionBill\";\nimport TransactionTags from \"./TransactionTags\";\nimport TransactionPiggyBank from \"./TransactionPiggyBank\";\nimport TransactionInternalReference from \"./TransactionInternalReference\";\nimport TransactionExternalUrl from \"./TransactionExternalUrl\";\nimport TransactionNotes from \"./TransactionNotes\";\nimport TransactionLinks from \"./TransactionLinks\";\nimport TransactionAttachments from \"./TransactionAttachments\";\nimport SplitPills from \"./SplitPills\";\nimport TransactionLocation from \"./TransactionLocation\";\n\nexport default {\n name: \"SplitForm\",\n props: {\n transaction: {\n type: Object,\n required: true\n },\n count: {\n type: Number,\n required: true\n },\n customFields: {\n type: Object,\n required: false\n },\n index: {\n type: Number,\n required: true\n },\n date: {\n type: String,\n required: true\n },\n transactionType: {\n type: String,\n required: true\n },\n sourceAllowedTypes: {\n type: Array,\n required: false,\n default: function () {\n return [];\n }\n }, // allowed source account types.\n destinationAllowedTypes: {\n type: Array,\n required: false,\n default: function () {\n return [];\n }\n },\n // allow switch?\n allowSwitch: {\n type: Boolean,\n required: false,\n default: false\n }\n\n },\n created() {\n console.log('SplitForm(' + this.index + ')');\n },\n methods: {\n removeTransaction: function () {\n // console.log('Will remove transaction ' + this.index);\n this.$emit('remove-transaction', {index: this.index});\n },\n },\n computed: {\n splitDate: function () {\n return this.date;\n },\n sourceAccount: function () {\n //console.log('computed::sourceAccount(' + this.index + ')');\n let value = {\n id: this.transaction.source_account_id,\n name: this.transaction.source_account_name,\n type: this.transaction.source_account_type,\n };\n //console.log(JSON.stringify(value));\n return value;\n },\n destinationAccount: function () {\n //console.log('computed::destinationAccount(' + this.index + ')');\n let value = {\n id: this.transaction.destination_account_id,\n name: this.transaction.destination_account_name,\n type: this.transaction.destination_account_type,\n };\n //console.log(JSON.stringify(value));\n return value;\n },\n hasMetaFields: function () {\n let requiredFields = [\n 'internal_reference',\n 'notes',\n 'attachments',\n 'external_uri',\n 'location',\n 'links',\n ];\n for (let field in this.customFields) {\n if (this.customFields.hasOwnProperty(field)) {\n if (requiredFields.includes(field)) {\n if (true === this.customFields[field]) {\n return true;\n }\n }\n }\n }\n return false;\n }\n },\n components: {\n TransactionLocation,\n SplitPills,\n TransactionAttachments,\n TransactionNotes,\n TransactionExternalUrl,\n TransactionInternalReference,\n TransactionPiggyBank,\n TransactionTags,\n TransactionLinks,\n TransactionBill,\n TransactionCategory,\n TransactionCustomDates,\n TransactionForeignCurrency,\n TransactionForeignAmount,\n TransactionAmount,\n SwitchAccount,\n TransactionAccount,\n TransactionBudget,\n TransactionDescription,\n TransactionDate\n },\n}\n</script>\n","import { render, staticRenderFns } from \"./SplitForm.vue?vue&type=template&id=28578a3c&\"\nimport script from \"./SplitForm.vue?vue&type=script&lang=js&\"\nexport * from \"./SplitForm.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 - SplitPills.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"transactions.length > 1\" class=\"row\">\n <div class=\"col\">\n <!-- tabs -->\n <ul class=\"nav nav-pills ml-auto p-2\" id=\"transactionTabs\">\n <li v-for=\"(transaction, index) in this.transactions\" class=\"nav-item\"><a :class=\"'nav-link' + (0 === index ? ' active' : '')\"\n :href=\"'#split_' + index\"\n data-toggle=\"pill\">\n <span v-if=\"'' !== transaction.description\">{{ transaction.description }}</span>\n <span v-if=\"'' === transaction.description\">Split {{ index + 1 }}</span>\n </a></li>\n </ul>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"SplitPills\",\n props: {\n transactions: {\n type: Array,\n required: true,\n default: function() {\n return [];\n }\n },\n count: {\n type: Number,\n required: true\n },\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitPills.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitPills.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SplitPills.vue?vue&type=template&id=6bee3f8d&\"\nimport script from \"./SplitPills.vue?vue&type=script&lang=js&\"\nexport * from \"./SplitPills.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.transactions.length > 1)?_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('ul',{staticClass:\"nav nav-pills ml-auto p-2\",attrs:{\"id\":\"transactionTabs\"}},_vm._l((this.transactions),function(transaction,index){return _c('li',{staticClass:\"nav-item\"},[_c('a',{class:'nav-link' + (0 === index ? ' active' : ''),attrs:{\"href\":'#split_' + index,\"data-toggle\":\"pill\"}},[('' !== transaction.description)?_c('span',[_vm._v(_vm._s(transaction.description))]):_vm._e(),_vm._v(\" \"),('' === transaction.description)?_c('span',[_vm._v(\"Split \"+_vm._s(index + 1))]):_vm._e()])])}),0)])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.split_transaction_title'))+\"\\n \")]),_vm._v(\" \"),_c('vue-typeahead-bootstrap',{attrs:{\"data\":_vm.descriptions,\"inputClass\":_vm.errors.length > 0 ? 'is-invalid' : '',\"minMatchingChars\":3,\"placeholder\":_vm.$t('firefly.split_transaction_title'),\"serializer\":function (item) { return item.description; },\"showOnFocus\":true,\"inputName\":\"group_title\"},on:{\"input\":_vm.lookupDescription},model:{value:(_vm.title),callback:function ($$v) {_vm.title=$$v},expression:\"title\"}},[_c('template',{slot:\"append\"},[_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"},on:{\"click\":_vm.clearDescription}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])],2),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionGroupTitle.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.split_transaction_title') }}\n </div>\n <vue-typeahead-bootstrap\n v-model=\"title\"\n :data=\"descriptions\"\n :inputClass=\"errors.length > 0 ? 'is-invalid' : ''\"\n :minMatchingChars=\"3\"\n :placeholder=\"$t('firefly.split_transaction_title')\"\n :serializer=\"item => item.description\"\n :showOnFocus=true\n inputName=\"group_title\"\n @input=\"lookupDescription\"\n >\n <template slot=\"append\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\" v-on:click=\"clearDescription\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </template>\n </vue-typeahead-bootstrap>\n\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n\n </div>\n</template>\n\n<script>\nimport VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';\nimport {debounce} from \"lodash\";\n\nexport default {\n props: ['value', 'errors'],\n name: \"TransactionGroupTitle\",\n components: {VueTypeaheadBootstrap},\n data() {\n return {\n descriptions: [],\n initialSet: [],\n title: this.value,\n emitEvent: true\n }\n },\n\n created() {\n axios.get(this.getACURL(''))\n .then(response => {\n this.descriptions = response.data;\n this.initialSet = response.data;\n });\n },\n watch: {\n value: function (value) {\n this.title = value;\n },\n title: function (value) {\n this.$emit('set-group-title', value);\n }\n },\n methods: {\n clearDescription: function () {\n this.title = '';\n },\n getACURL: function (query) {\n // update autocomplete URL:\n return document.getElementsByTagName('base')[0].href + 'api/v1/autocomplete/transactions?query=' + query;\n },\n lookupDescription: debounce(function () {\n // update autocomplete URL:\n axios.get(this.getACURL(this.title))\n .then(response => {\n this.descriptions = response.data;\n })\n }, 300)\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionGroupTitle.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionGroupTitle.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionGroupTitle.vue?vue&type=template&id=273271bf&scoped=true&\"\nimport script from \"./TransactionGroupTitle.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionGroupTitle.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 \"273271bf\",\n null\n \n)\n\nexport default component.exports","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[1]!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[2]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionTags.vue?vue&type=style&index=0&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"bf9ab7ac\", content, true, {});"],"sourceRoot":""}\ No newline at end of file+{"version":3,"sources":["webpack:///./src/bootstrap.js","webpack:///./src/components/store/modules/transactions/create.js","webpack:///./src/components/store/modules/transactions/edit.js","webpack:///./src/components/store/modules/dashboard/index.js","webpack:///./src/components/store/modules/root.js","webpack:///./src/components/store/modules/accounts/index.js","webpack:///./src/components/store/index.js","webpack:///./src/i18n.js","webpack:///src/components/transactions/Edit.vue","webpack:///./src/components/transactions/Edit.vue?2e9d","webpack:///./src/components/transactions/Edit.vue","webpack:///./src/components/transactions/Edit.vue?5401","webpack:///./src/pages/transactions/edit.js","webpack:///./src/shared/transactions.js","webpack:///./src/components/transactions/TransactionTags.vue?1d59","webpack:///src/components/partials/Alert.vue","webpack:///./src/components/partials/Alert.vue?8ba7","webpack:///./src/components/partials/Alert.vue","webpack:///./src/components/partials/Alert.vue?bc9d","webpack:///./src/components/transactions/SplitForm.vue?8e35","webpack:///src/components/transactions/TransactionDescription.vue","webpack:///./src/components/transactions/TransactionDescription.vue?51f7","webpack:///./src/components/transactions/TransactionDescription.vue","webpack:///./src/components/transactions/TransactionDescription.vue?5176","webpack:///src/components/transactions/TransactionDate.vue","webpack:///./src/components/transactions/TransactionDate.vue?3867","webpack:///./src/components/transactions/TransactionDate.vue","webpack:///./src/components/transactions/TransactionDate.vue?1d82","webpack:///src/components/transactions/TransactionBudget.vue","webpack:///./src/components/transactions/TransactionBudget.vue?00ee","webpack:///./src/components/transactions/TransactionBudget.vue","webpack:///./src/components/transactions/TransactionBudget.vue?9242","webpack:///src/components/transactions/TransactionAccount.vue","webpack:///./src/components/transactions/TransactionAccount.vue?5275","webpack:///./src/components/transactions/TransactionAccount.vue","webpack:///./src/components/transactions/TransactionAccount.vue?1d53","webpack:///src/components/transactions/SwitchAccount.vue","webpack:///./src/components/transactions/SwitchAccount.vue?2eca","webpack:///./src/components/transactions/SwitchAccount.vue","webpack:///./src/components/transactions/SwitchAccount.vue?f18f","webpack:///src/components/transactions/TransactionAmount.vue","webpack:///./src/components/transactions/TransactionAmount.vue?69ff","webpack:///./src/components/transactions/TransactionAmount.vue","webpack:///./src/components/transactions/TransactionAmount.vue?09e1","webpack:///src/components/transactions/TransactionForeignAmount.vue","webpack:///./src/components/transactions/TransactionForeignAmount.vue?ff11","webpack:///./src/components/transactions/TransactionForeignAmount.vue","webpack:///./src/components/transactions/TransactionForeignAmount.vue?1a78","webpack:///src/components/transactions/TransactionForeignCurrency.vue","webpack:///./src/components/transactions/TransactionForeignCurrency.vue?f6a0","webpack:///./src/components/transactions/TransactionForeignCurrency.vue","webpack:///./src/components/transactions/TransactionForeignCurrency.vue?b802","webpack:///src/components/transactions/TransactionCustomDates.vue","webpack:///./src/components/transactions/TransactionCustomDates.vue?c6d3","webpack:///./src/components/transactions/TransactionCustomDates.vue","webpack:///./src/components/transactions/TransactionCustomDates.vue?bc65","webpack:///src/components/transactions/TransactionCategory.vue","webpack:///./src/components/transactions/TransactionCategory.vue?b515","webpack:///./src/components/transactions/TransactionCategory.vue","webpack:///./src/components/transactions/TransactionCategory.vue?6a9d","webpack:///src/components/transactions/TransactionBill.vue","webpack:///./src/components/transactions/TransactionBill.vue?9147","webpack:///./src/components/transactions/TransactionBill.vue","webpack:///./src/components/transactions/TransactionBill.vue?2668","webpack:///./src/components/transactions/TransactionTags.vue?9eb2","webpack:///src/components/transactions/TransactionTags.vue","webpack:///./src/components/transactions/TransactionTags.vue?c786","webpack:///./src/components/transactions/TransactionTags.vue","webpack:///src/components/transactions/TransactionPiggyBank.vue","webpack:///./src/components/transactions/TransactionPiggyBank.vue?e9e1","webpack:///./src/components/transactions/TransactionPiggyBank.vue","webpack:///./src/components/transactions/TransactionPiggyBank.vue?0f96","webpack:///src/components/transactions/TransactionInternalReference.vue","webpack:///./src/components/transactions/TransactionInternalReference.vue?2fd1","webpack:///./src/components/transactions/TransactionInternalReference.vue","webpack:///./src/components/transactions/TransactionInternalReference.vue?0cb6","webpack:///src/components/transactions/TransactionExternalUrl.vue","webpack:///./src/components/transactions/TransactionExternalUrl.vue?28f8","webpack:///./src/components/transactions/TransactionExternalUrl.vue","webpack:///./src/components/transactions/TransactionExternalUrl.vue?3b2c","webpack:///src/components/transactions/TransactionNotes.vue","webpack:///./src/components/transactions/TransactionNotes.vue?3804","webpack:///./src/components/transactions/TransactionNotes.vue","webpack:///./src/components/transactions/TransactionNotes.vue?592a","webpack:///./src/components/transactions/TransactionLinks.vue?52d6","webpack:///src/components/transactions/TransactionLinks.vue","webpack:///./src/components/transactions/TransactionLinks.vue?d196","webpack:///./src/components/transactions/TransactionLinks.vue","webpack:///src/components/transactions/TransactionAttachments.vue","webpack:///./src/components/transactions/TransactionAttachments.vue?3db4","webpack:///./src/components/transactions/TransactionAttachments.vue","webpack:///./src/components/transactions/TransactionAttachments.vue?785e","webpack:///src/components/transactions/TransactionLocation.vue","webpack:///./src/components/transactions/TransactionLocation.vue?9e0a","webpack:///./src/components/transactions/TransactionLocation.vue","webpack:///./src/components/transactions/TransactionLocation.vue?113d","webpack:///./src/components/transactions/SplitForm.vue?99bd","webpack:///src/components/transactions/SplitForm.vue","webpack:///./src/components/transactions/SplitForm.vue","webpack:///src/components/transactions/SplitPills.vue","webpack:///./src/components/transactions/SplitPills.vue?cba2","webpack:///./src/components/transactions/SplitPills.vue","webpack:///./src/components/transactions/SplitPills.vue?21df","webpack:///./src/components/transactions/TransactionGroupTitle.vue?140c","webpack:///src/components/transactions/TransactionGroupTitle.vue","webpack:///./src/components/transactions/TransactionGroupTitle.vue?5049","webpack:///./src/components/transactions/TransactionGroupTitle.vue","webpack:///./src/components/transactions/TransactionTags.vue?cec9"],"names":["window","$","jQuery","require","axios","defaults","headers","common","token","document","head","querySelector","content","console","error","localeToken","localStorage","locale","vuei18n","VueI18n","uiv","Vue","lodashClonedeep","namespaced","state","transactionType","groupTitle","transactions","customDateFields","interest_date","book_date","process_date","due_date","payment_date","invoice_date","defaultTransaction","getDefaultTransaction","defaultErrors","getDefaultErrors","getters","accountToTransaction","sourceAllowedTypes","destinationAllowedTypes","allowedOpposingTypes","actions","mutations","addTransaction","newTransaction","errors","push","resetErrors","payload","index","resetTransactions","setGroupTitle","setCustomDateFields","deleteTransaction","splice","length","setTransactionType","setAllowedOpposingTypes","setAccountToTransaction","updateField","field","value","setTransactionError","setDestinationAllowedTypes","setSourceAllowedTypes","viewRange","start","end","defaultStart","defaultEnd","initialiseStore","context","dispatch","get","then","response","data","attributes","oldViewRange","commit","restoreViewRangeDates","viewRangeStart","Date","viewRangeEnd","viewRangeDefaultStart","viewRangeDefaultEnd","restoreViewRange","getItem","setDatesFromViewRange","today","startOfDay","endOfDay","startOfWeek","weekStartsOn","endOfWeek","startOfMonth","endOfMonth","startOfQuarter","endOfQuarter","getMonth","setMonth","setDate","setStart","setItem","setEnd","setDefaultStart","setDefaultEnd","setViewRange","range","listPageSize","timezone","parseInt","setListPageSize","number","setTimezone","orderMode","activeFilter","setOrderMode","setActiveFilter","Vuex","modules","root","root_store","create","transactions_create","edit","transactions_edit","accounts","accounts_index","dashboard","dashboard_index","strict","process","plugins","currencyPreference","setCurrencyPreference","currencyCode","code","currencyId","id","updateCurrencyPreference","JSON","parse","currencyResponse","name","symbol","decimal_places","stringify","err","module","exports","documentElement","lang","fallbackLocale","messages","created","this","groupId","parts","getTransactionGroup","getAllowedOpposingTypes","getCustomFields","successMessage","errorMessage","warningMessage","type","Array","default","originalTransactions","originalGroupTitle","groupTitleErrors","customFields","Object","returnedGroupId","returnedGroupTitle","date","originalDate","submittedTransaction","submittedAttachments","inError","submittedAttCount","enableSubmit","stayHere","components","Alert","SplitPills","SplitForm","TransactionGroupTitle","watch","finaliseSubmission","methods","parseTransactionGroup","group_title","description","hasOwnProperty","i","test","log","result","parseLinks","transaction_journal_id","parseTransaction","array","charAt","toUpperCase","slice","source_type","destination_type","substring","source_account_id","source_id","source_account_name","source_name","source_account_type","destination_account_id","destination_id","destination_account_name","destination_name","destination_account_type","amount","currency_id","foreign_amount","foreign_currency_id","category","category_name","budget_id","bill_id","tags","substr","internal_reference","external_url","external_uri","external_id","notes","location","zoom_level","longitude","latitude","journalId","parseLink","opposingId","link","outward_id","linkDirection","promises","Promise","resolve","link_type_id","all","journals","journal","linkTypeId","direction","transaction_group_id","responses","currency_code","uploadedAttachment","key","storeLocation","zoomLevel","lng","lat","storeAccountValue","storeDate","storeField","removeTransaction","tab","storeGroupTitle","selectedAttachments","event","preventDefault","submitTransaction","submission","shouldSubmit","newTransactionCount","diff","toLowerCase","currentTransaction","basicFields","ii","fieldName","originalTransaction","submissionFieldName","currentTag","text","shouldLinks","shouldUpload","keys","submitUpdate","submitData","put","url","handleSubmissionResponse","reverse","submitLinks","deleteAllOriginalLinks","submitAttachments","uploadTrigger","hasAttachments","anyAttachments","$t","href","clearTrigger","compareLinks","compare","parseErrors","message","transactionIndex","split","deleteOriginalLinks","transaction","links","newLinks","originalLinks","submitNewLinks","inward_id","linkObject","currentLink","post","submitTransactionLinksX","finalizeSubmitX","submittedLinks","_vm","_h","$createElement","_c","_self","attrs","_v","on","staticClass","_l","$event","model","callback","$$v","$set","expression","_e","_s","directives","rawName","domProps","isArray","_i","$$a","$$el","target","$$c","checked","$$i","concat","i18n","props","store","render","createElement","Edit","beforeCreate","$store","$mount","source","destination","currency","foreign_currency","custom_dates","budget","bill","piggy_bank","source_account_currency_id","source_account_currency_code","source_account_currency_symbol","destination_account_currency_id","destination_account_currency_code","destination_account_currency_symbol","attachments","source_account","name_with_balance","currency_name","currency_decimal_places","destination_account","piggy_bank_id","___CSS_LOADER_EXPORT___","class","descriptions","initialSet","getACURL","clearDescription","getElementsByTagName","query","lookupDescription","debounce","$emit","item","slot","localTimeZone","Intl","DateTimeFormat","resolvedOptions","timeZone","systemTimeZone","dateStr","timeStr","localDate","computed","ref","composing","budgetList","emitEvent","collectData","getBudgets","parseBudgets","$$selectedVal","prototype","filter","call","options","o","selected","map","_value","multiple","Number","String","accountTypes","selectedAccount","accountName","selectedAccountTrigger","types","join","userSelectedAccount","systemReturnedAccount","clearAccount","lookupAccount","createInitialSet","accountKey","visible","scopedSlots","_u","fn","htmlText","required","sourceCurrencySymbol","destinationCurrencySymbol","fractionDigits","transactionAmount","formatNumber","parseFloat","str","toFixed","currencySymbol","srcCurrencySymbol","dstCurrencySymbol","sourceCurrencyId","destinationCurrencyId","isVisible","selectedCurrency","allCurrencies","selectableCurrencies","dstCurrencyId","srcCurrencyId","lockedCurrency","filterCurrencies","getAllCurrencies","current","dateFields","availableFields","dates","interestDate","bookDate","processDate","dueDate","paymentDate","invoiceDate","isDateField","includes","getFieldValue","setFieldValue","enabled","refInFor","categories","clearCategory","lookupCategory","selectedCategory","set","billList","getBills","parseBills","VueTagsInput","autocompleteItems","updateTags","tagList","shortList","initItems","clearTimeout","setTimeout","this$1","newTags","piggyList","getPiggies","parsePiggies","piggy","reference","showField","_m","searchResults","include","linkTypes","searching","getLinkTypes","removeLink","getTextForLinkType","selectTransaction","addToSelected","removeFromSelected","selectLinkType","updateSelected","resetModal","search","parseLinkTypes","inward","outward","linkTypeInward","linkTypeOutward","parseSearch","isJournalSelected","getJournalLinkType","link_type_text","NumberFormat","style","format","staticStyle","linkType","uploads","uploaded","doUpload","$refs","att","selectedFile","createAttachment","filename","attachable_type","attachable_id","uploadAttachment","uploadUri","countAttachment","files","LMap","LTileLayer","LMarker","zoom","center","hasMarker","bounds","marker","prepMap","myMap","mapObject","setObjectLocation","saveZoomLevel","latlng","clearLocation","zoomUpdated","centerUpdated","boundsUpdated","count","allowSwitch","Boolean","splitDate","sourceAccount","destinationAccount","hasMetaFields","requiredFields","TransactionLocation","TransactionAttachments","TransactionNotes","TransactionExternalUrl","TransactionInternalReference","TransactionPiggyBank","TransactionTags","TransactionLinks","TransactionBill","TransactionCategory","TransactionCustomDates","TransactionForeignCurrency","TransactionForeignAmount","TransactionAmount","SwitchAccount","TransactionAccount","TransactionBudget","TransactionDescription","TransactionDate","_g","$listeners","title","__esModule","locals","add"],"mappings":"oIA0BAA,OAAOC,EAAID,OAAOE,OAASC,EAAQ,MAGnCH,OAAOI,MAAQD,EAAQ,MACvBH,OAAOI,MAAMC,SAASC,QAAQC,OAAO,oBAAsB,iBAG3D,IAAIC,EAAQC,SAASC,KAAKC,cAAc,2BAEpCH,EACAR,OAAOI,MAAMC,SAASC,QAAQC,OAAO,gBAAkBC,EAAMI,QAE7DC,QAAQC,MAAM,yEAIlB,IAAIC,EAAcN,SAASC,KAAKC,cAAc,uBAG1CK,aAAaC,OADbF,EACsBA,EAAYH,QAEZ,QAI1BT,EAAQ,MACRA,EAAQ,MAERA,EAAQ,MACRA,EAAQ,MAIRH,OAAOkB,QAAUC,IACjBnB,OAAOoB,IAAMA,EACbC,QAAQH,SACRG,QAAQD,GACRpB,OAAOqB,IAAMA,K,uFC3CPC,EAAkBnB,EAAQ,MA4HhC,SACIoB,YAAY,EACZC,MAzHU,iBAAO,CACbC,gBAAiB,MACjBC,WAAY,GACZC,aAAc,GACdC,iBAAkB,CACdC,eAAe,EACfC,WAAW,EACXC,cAAc,EACdC,UAAU,EACVC,cAAc,EACdC,cAAc,GAElBC,oBAAoBC,UACpBC,eAAeC,YA6GnBC,QAvGY,CACZZ,aAAc,SAAAH,GACV,OAAOA,EAAMG,cAEjBU,cAAe,SAAAb,GACX,OAAOA,EAAMa,eAEjBX,WAAY,SAAAF,GACR,OAAOA,EAAME,YAEjBD,gBAAiB,SAAAD,GACb,OAAOA,EAAMC,iBAEjBe,qBAAsB,SAAAhB,GAGlB,OAAOA,EAAMgB,sBAEjBL,mBAAoB,SAAAX,GAChB,OAAOA,EAAMW,oBAEjBM,mBAAoB,SAAAjB,GAChB,OAAOA,EAAMiB,oBAEjBC,wBAAyB,SAAAlB,GACrB,OAAOA,EAAMkB,yBAEjBC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ACK,YAAY,qBAAqB,CAACR,EAAIM,GAAGN,EAAIiB,GAAGxU,IAAQ0T,EAAG,WAAU,GAAGH,EAAIgB,MAAM,KAC/lC,IGUpB,EACA,KACA,WACA,M,wBCXF,IAAIzU,EAAU,EAAQ,MACnBA,EAAQ0kB,aAAY1kB,EAAUA,EAAQ8J,SACnB,iBAAZ9J,IAAsBA,EAAU,CAAC,CAAC4I,EAAOV,GAAIlI,EAAS,MAC7DA,EAAQ2kB,SAAQ/b,EAAOC,QAAU7I,EAAQ2kB,SAG/BC,EADH,WACO,WAAY5kB,GAAS,EAAM,K","file":"/public/js/transactions/edit.js","sourcesContent":["/*\n * bootstrap.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// // imports\nimport Vue from 'vue';\nimport VueI18n from 'vue-i18n'\nimport * as uiv from 'uiv';\n\n// export jquery for others scripts to use\nwindow.$ = window.jQuery = require('jquery');\n\n// axios\nwindow.axios = require('axios');\nwindow.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';\n\n// CSRF\nlet token = document.head.querySelector('meta[name=\"csrf-token\"]');\n\nif (token) {\n window.axios.defaults.headers.common['X-CSRF-TOKEN'] = token.content;\n} else {\n console.error('CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token');\n}\n\n// locale\nlet localeToken = document.head.querySelector('meta[name=\"locale\"]');\n\nif (localeToken) {\n localStorage.locale = localeToken.content;\n} else {\n localStorage.locale = 'en_US';\n}\n\n// admin stuff\nrequire('jquery-ui');\nrequire('bootstrap'); // bootstrap CSS?\n\nrequire('admin-lte/dist/js/adminlte');\nrequire('overlayscrollbars');\n\n\n// vue\nwindow.vuei18n = VueI18n;\nwindow.uiv = uiv;\nVue.use(vuei18n);\nVue.use(uiv);\nwindow.Vue = Vue;","/*\n * create.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nconst lodashClonedeep = require('lodash.clonedeep');\n\nimport {getDefaultTransaction, getDefaultErrors} from '../../../../shared/transactions';\n\n// initial state\nconst state = () => ({\n transactionType: 'any',\n groupTitle: '',\n transactions: [],\n customDateFields: {\n interest_date: false,\n book_date: false,\n process_date: false,\n due_date: false,\n payment_date: false,\n invoice_date: false,\n },\n defaultTransaction: getDefaultTransaction(),\n defaultErrors: getDefaultErrors()\n }\n)\n\n\n// getters\nconst getters = {\n transactions: state => {\n return state.transactions;\n },\n defaultErrors: state => {\n return state.defaultErrors;\n },\n groupTitle: state => {\n return state.groupTitle;\n },\n transactionType: state => {\n return state.transactionType;\n },\n accountToTransaction: state => {\n // TODO better architecture here, does not need the store.\n // possible API point!!\n return state.accountToTransaction;\n },\n defaultTransaction: state => {\n return state.defaultTransaction;\n },\n sourceAllowedTypes: state => {\n return state.sourceAllowedTypes;\n },\n destinationAllowedTypes: state => {\n return state.destinationAllowedTypes;\n },\n allowedOpposingTypes: state => {\n return state.allowedOpposingTypes;\n },\n customDateFields: state => {\n return state.customDateFields;\n }\n // // `getters` is localized to this module's getters\n // // you can use rootGetters via 4th argument of getters\n // someGetter (state, getters, rootState, rootGetters) {\n // getters.someOtherGetter // -> 'foo/someOtherGetter'\n // rootGetters.someOtherGetter // -> 'someOtherGetter'\n // rootGetters['bar/someOtherGetter'] // -> 'bar/someOtherGetter'\n // },\n\n}\n\n// actions\nconst actions = {}\n\n// mutations\nconst mutations = {\n addTransaction(state) {\n let newTransaction = lodashClonedeep(state.defaultTransaction);\n newTransaction.errors = lodashClonedeep(state.defaultErrors);\n state.transactions.push(newTransaction);\n },\n resetErrors(state, payload) {\n //console.log('resetErrors for index ' + payload.index);\n state.transactions[payload.index].errors = lodashClonedeep(state.defaultErrors);\n },\n resetTransactions(state) {\n state.transactions = [];\n },\n setGroupTitle(state, payload) {\n state.groupTitle = payload.groupTitle;\n },\n setCustomDateFields(state, payload) {\n state.customDateFields = payload;\n },\n deleteTransaction(state, payload) {\n state.transactions.splice(payload.index, 1);\n // console.log('Deleted transaction ' + payload.index);\n // console.log(state.transactions);\n if (0 === state.transactions.length) {\n // console.log('array is empty!');\n }\n },\n setTransactionType(state, transactionType) {\n state.transactionType = transactionType;\n },\n setAllowedOpposingTypes(state, allowedOpposingTypes) {\n state.allowedOpposingTypes = allowedOpposingTypes;\n },\n setAccountToTransaction(state, payload) {\n state.accountToTransaction = payload;\n },\n updateField(state, payload) {\n state.transactions[payload.index][payload.field] = payload.value;\n },\n setTransactionError(state, payload) {\n //console.log('Will set transactions[' + payload.index + '][errors][' + payload.field + '] to ');\n //console.log(payload.errors);\n state.transactions[payload.index].errors[payload.field] = payload.errors;\n },\n setDestinationAllowedTypes(state, payload) {\n // console.log('Destination allowed types was changed!');\n state.destinationAllowedTypes = payload;\n },\n setSourceAllowedTypes(state, payload) {\n state.sourceAllowedTypes = payload;\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * edit.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => ({});\n\n\n// getters\nconst getters = {};\n\n// actions\nconst actions = {};\n\n// mutations\nconst mutations = {};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nimport startOfDay from \"date-fns/startOfDay\";\nimport endOfDay from 'date-fns/endOfDay'\nimport startOfWeek from 'date-fns/startOfWeek'\nimport endOfWeek from 'date-fns/endOfWeek'\nimport startOfQuarter from 'date-fns/startOfQuarter';\nimport endOfQuarter from 'date-fns/endOfQuarter';\nimport endOfMonth from \"date-fns/endOfMonth\";\nimport startOfMonth from 'date-fns/startOfMonth';\n\nconst state = () => (\n {\n viewRange: 'default',\n start: null,\n end: null,\n defaultStart: null,\n defaultEnd: null,\n }\n)\n\n\n// getters\nconst getters = {\n start: state => {\n return state.start;\n },\n end: state => {\n return state.end;\n },\n defaultStart: state => {\n return state.defaultStart;\n },\n defaultEnd: state => {\n return state.defaultEnd;\n },\n viewRange: state => {\n return state.viewRange;\n }\n}\n\n// actions\nconst actions = {\n initialiseStore(context) {\n // console.log('initialiseStore');\n\n // restore from local storage:\n context.dispatch('restoreViewRange');\n\n axios.get('./api/v1/preferences/viewRange')\n .then(response => {\n let viewRange = response.data.data.attributes.data;\n let oldViewRange = context.getters.viewRange;\n context.commit('setViewRange', viewRange);\n if (viewRange !== oldViewRange) {\n // console.log('View range changed from \"' + oldViewRange + '\" to \"' + viewRange + '\"');\n context.dispatch('setDatesFromViewRange');\n }\n if (viewRange === oldViewRange) {\n // console.log('Restore view range dates');\n context.dispatch('restoreViewRangeDates');\n }\n }\n ).catch(() => {\n context.commit('setViewRange', '1M');\n context.dispatch('setDatesFromViewRange');\n });\n\n },\n restoreViewRangeDates: function (context) {\n // check local storage first?\n if (localStorage.viewRangeStart) {\n // console.log('view range start set from local storage.');\n context.commit('setStart', new Date(localStorage.viewRangeStart));\n }\n if (localStorage.viewRangeEnd) {\n // console.log('view range end set from local storage.');\n context.commit('setEnd', new Date(localStorage.viewRangeEnd));\n }\n // also set default:\n if (localStorage.viewRangeDefaultStart) {\n // console.log('view range default start set from local storage.');\n // console.log(localStorage.viewRangeDefaultStart);\n context.commit('setDefaultStart', new Date(localStorage.viewRangeDefaultStart));\n }\n if (localStorage.viewRangeDefaultEnd) {\n // console.log('view range default end set from local storage.');\n // console.log(localStorage.viewRangeDefaultEnd);\n context.commit('setDefaultEnd', new Date(localStorage.viewRangeDefaultEnd));\n }\n },\n restoreViewRange: function (context) {\n // console.log('restoreViewRange');\n let viewRange = localStorage.getItem('viewRange');\n if (null !== viewRange) {\n // console.log('restored restoreViewRange ' + viewRange );\n context.commit('setViewRange', viewRange);\n }\n },\n setDatesFromViewRange(context) {\n let start;\n let end;\n let viewRange = context.getters.viewRange;\n let today = new Date;\n // console.log('Will recreate view range on ' + viewRange);\n switch (viewRange) {\n case '1D':\n // today:\n start = startOfDay(today);\n end = endOfDay(today);\n break;\n case '1W':\n // this week:\n start = startOfDay(startOfWeek(today, {weekStartsOn: 1}));\n end = endOfDay(endOfWeek(today, {weekStartsOn: 1}));\n break;\n case '1M':\n // this month:\n start = startOfDay(startOfMonth(today));\n end = endOfDay(endOfMonth(today));\n break;\n case '3M':\n // this quarter\n start = startOfDay(startOfQuarter(today));\n end = endOfDay(endOfQuarter(today));\n break;\n case '6M':\n // this half-year\n if (today.getMonth() <= 5) {\n start = new Date(today);\n start.setMonth(0);\n start.setDate(1);\n start = startOfDay(start);\n end = new Date(today);\n end.setMonth(5);\n end.setDate(30);\n end = endOfDay(start);\n }\n if (today.getMonth() > 5) {\n start = new Date(today);\n start.setMonth(6);\n start.setDate(1);\n start = startOfDay(start);\n end = new Date(today);\n end.setMonth(11);\n end.setDate(31);\n end = endOfDay(start);\n }\n break;\n case '1Y':\n // this year\n start = new Date(today);\n start.setMonth(0);\n start.setDate(1);\n start = startOfDay(start);\n\n end = new Date(today);\n end.setMonth(11);\n end.setDate(31);\n end = endOfDay(end);\n break;\n }\n // console.log('Range is ' + viewRange);\n // console.log('Start is ' + start);\n // console.log('End is ' + end);\n context.commit('setStart', start);\n context.commit('setEnd', end);\n context.commit('setDefaultStart', start);\n context.commit('setDefaultEnd', end);\n }\n}\n\n// mutations\nconst mutations = {\n setStart(state, value) {\n state.start = value;\n window.localStorage.setItem('viewRangeStart', value);\n },\n setEnd(state, value) {\n state.end = value;\n window.localStorage.setItem('viewRangeEnd', value);\n },\n setDefaultStart(state, value) {\n state.defaultStart = value;\n window.localStorage.setItem('viewRangeDefaultStart', value);\n },\n setDefaultEnd(state, value) {\n state.defaultEnd = value;\n window.localStorage.setItem('viewRangeDefaultEnd', value);\n },\n setViewRange(state, range) {\n state.viewRange = range;\n window.localStorage.setItem('viewRange', range);\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * root.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => (\n {\n listPageSize: 33,\n timezone: ''\n }\n)\n\n\n// getters\nconst getters = {\n listPageSize: state => {\n return state.listPageSize;\n },\n timezone: state => {\n // console.log('Wil return ' + state.listPageSize);\n return state.timezone;\n },\n}\n\n// actions\nconst actions = {\n initialiseStore(context) {\n if (localStorage.listPageSize) {\n state.listPageSize = localStorage.listPageSize;\n context.commit('setListPageSize', {length: localStorage.listPageSize});\n }\n if (!localStorage.listPageSize) {\n axios.get('./api/v1/preferences/listPageSize')\n .then(response => {\n // console.log('from API: listPageSize is ' + parseInt(response.data.data.attributes.data));\n context.commit('setListPageSize', {length: parseInt(response.data.data.attributes.data)});\n }\n );\n }\n if (localStorage.timezone) {\n state.timezone = localStorage.timezone;\n context.commit('setTimezone', {timezone: localStorage.timezone});\n }\n if (!localStorage.timezone) {\n axios.get('./api/v1/configuration/app.timezone')\n .then(response => {\n context.commit('setTimezone', {timezone: response.data.data.value});\n }\n );\n }\n }\n}\n\n// mutations\nconst mutations = {\n setListPageSize(state, payload) {\n // console.log('Got a payload in setListPageSize');\n // console.log(payload);\n let number = parseInt(payload.length);\n if (0 !== number) {\n state.listPageSize = number;\n localStorage.listPageSize = number;\n\n }\n },\n setTimezone(state, payload) {\n\n if ('' !== payload.timezone) {\n state.timezone = payload.timezone;\n localStorage.timezone = payload.timezone;\n }\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => (\n {\n orderMode: false,\n activeFilter: 1\n }\n)\n\n\n// getters\nconst getters = {\n orderMode: state => {\n return state.orderMode;\n },\n activeFilter: state => {\n return state.activeFilter;\n }\n}\n\n// actions\nconst actions = {}\n\n// mutations\nconst mutations = {\n setOrderMode(state, payload) {\n state.orderMode = payload;\n },\n setActiveFilter(state, payload) {\n state.activeFilter = payload;\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nimport Vue from 'vue'\nimport Vuex, {createLogger} from 'vuex'\nimport transactions_create from './modules/transactions/create';\nimport transactions_edit from './modules/transactions/edit';\nimport dashboard_index from './modules/dashboard/index';\nimport root_store from './modules/root';\nimport accounts_index from './modules/accounts/index';\n\nVue.use(Vuex)\nconst debug = process.env.NODE_ENV !== 'production'\n\nexport default new Vuex.Store(\n {\n namespaced: true,\n modules: {\n root: root_store,\n transactions: {\n namespaced: true,\n modules: {\n create: transactions_create,\n edit: transactions_edit\n }\n },\n accounts: {\n namespaced: true,\n modules: {\n index: accounts_index\n },\n },\n dashboard: {\n namespaced: true,\n modules: {\n index: dashboard_index\n }\n }\n },\n strict: debug,\n plugins: debug ? [createLogger()] : [],\n state: {\n currencyPreference: {},\n locale: 'en-US',\n listPageSize: 50\n },\n mutations: {\n setCurrencyPreference(state, payload) {\n state.currencyPreference = payload.payload;\n },\n initialiseStore(state) {\n // if locale in local storage:\n if (localStorage.locale) {\n state.locale = localStorage.locale;\n return;\n }\n\n // set locale from HTML:\n let localeToken = document.head.querySelector('meta[name=\"locale\"]');\n if (localeToken) {\n state.locale = localeToken.content;\n localStorage.locale = localeToken.content;\n }\n }\n },\n getters: {\n currencyCode: state => {\n return state.currencyPreference.code;\n },\n currencyPreference: state => {\n return state.currencyPreference;\n },\n currencyId: state => {\n return state.currencyPreference.id;\n },\n locale: state => {\n return state.locale;\n }\n },\n actions: {\n\n updateCurrencyPreference(context) {\n if (localStorage.currencyPreference) {\n context.commit('setCurrencyPreference', {payload: JSON.parse(localStorage.currencyPreference)});\n return;\n }\n axios.get('./api/v1/currencies/default')\n .then(response => {\n let currencyResponse = {\n id: parseInt(response.data.data.id),\n name: response.data.data.attributes.name,\n symbol: response.data.data.attributes.symbol,\n code: response.data.data.attributes.code,\n decimal_places: parseInt(response.data.data.attributes.decimal_places),\n };\n localStorage.currencyPreference = JSON.stringify(currencyResponse);\n //console.log('getCurrencyPreference from server')\n //console.log(JSON.stringify(currencyResponse));\n context.commit('setCurrencyPreference', {payload: currencyResponse});\n }).catch(err => {\n // console.log('Got error response.');\n console.error(err);\n context.commit('setCurrencyPreference', {\n payload: {\n id: 1,\n name: 'Euro',\n symbol: '€',\n code: 'EUR',\n decimal_places: 2\n }\n });\n });\n\n }\n }\n }\n);","/*\n * i18n.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// Create VueI18n instance with options\nmodule.exports = new vuei18n({\n locale: document.documentElement.lang, // set locale\n fallbackLocale: 'en',\n messages: {\n 'bg': require('./locales/bg.json'),\n 'cs': require('./locales/cs.json'),\n 'de': require('./locales/de.json'),\n 'en': require('./locales/en.json'),\n 'en-us': require('./locales/en.json'),\n 'en-gb': require('./locales/en-gb.json'),\n 'es': require('./locales/es.json'),\n 'el': require('./locales/el.json'),\n 'fr': require('./locales/fr.json'),\n 'hu': require('./locales/hu.json'),\n //'id': require('./locales/id.json'),\n 'it': require('./locales/it.json'),\n 'nl': require('./locales/nl.json'),\n 'nb': require('./locales/nb.json'),\n 'pl': require('./locales/pl.json'),\n 'fi': require('./locales/fi.json'),\n 'pt-br': require('./locales/pt-br.json'),\n 'pt-pt': require('./locales/pt.json'),\n 'ro': require('./locales/ro.json'),\n 'ru': require('./locales/ru.json'),\n //'zh': require('./locales/zh.json'),\n 'zh-tw': require('./locales/zh-tw.json'),\n 'zh-cn': require('./locales/zh-cn.json'),\n 'sk': require('./locales/sk.json'),\n 'sv': require('./locales/sv.json'),\n 'vi': require('./locales/vi.json'),\n }\n});\n","<!--\n - Edit.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div>\n <Alert :message=\"errorMessage\" type=\"danger\"/>\n <Alert :message=\"successMessage\" type=\"success\"/>\n <Alert :message=\"warningMessage\" type=\"warning\"/>\n\n <form @submit=\"submitTransaction\" autocomplete=\"off\">\n <SplitPills\n :transactions=\"transactions\"\n :count=\"transactions.length\"\n\n />\n\n <div class=\"tab-content\">\n <SplitForm\n v-for=\"(transaction, index) in this.transactions\"\n :index=\"index\"\n v-bind:key=\"transaction.transaction_journal_id\"\n :key=\"transaction.transaction_journal_id\"\n :transaction=\"transaction\"\n :date=\"date\"\n :count=\"transactions.length\"\n :transaction-type=\"transactionType\"\n :source-allowed-types=\"sourceAllowedTypes\"\n :allowed-opposing-types=\"allowedOpposingTypes\"\n :custom-fields=\"customFields\"\n :destination-allowed-types=\"destinationAllowedTypes\"\n :allow-switch=\"false\"\n v-on:uploaded-attachments=\"uploadedAttachment($event)\"\n v-on:set-marker-location=\"storeLocation($event)\"\n v-on:set-account=\"storeAccountValue($event)\"\n v-on:set-date=\"storeDate($event)\"\n v-on:set-field=\"storeField($event)\"\n v-on:remove-transaction=\"removeTransaction($event)\"\n v-on:selected-attachments=\"selectedAttachments($event)\"\n />\n </div>\n\n <!-- bottom buttons etc -->\n <div class=\"row\">\n <!-- group title -->\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <div v-if=\"transactions.length > 1\" class=\"card\">\n <div class=\"card-body\">\n <div class=\"row\">\n <div class=\"col\">\n <TransactionGroupTitle v-model=\"this.groupTitle\" :errors=\"this.groupTitleErrors\" v-on:set-group-title=\"storeGroupTitle($event)\"/>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <!-- buttons -->\n <div class=\"card\">\n <div class=\"card-body\">\n <div class=\"row\">\n <div class=\"col\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n \n </div>\n <button type=\"button\" class=\"btn btn-outline-primary btn-block\" @click=\"addTransaction\"><i class=\"far fa-clone\"></i>\n {{ $t('firefly.add_another_split') }}\n </button>\n </div>\n <div class=\"col\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n \n </div>\n <button :disabled=\"!enableSubmit\" class=\"btn btn-info btn-block\" @click=\"submitTransaction\">\n <span v-if=\"enableSubmit\"><i class=\"far fa-save\"></i> {{ $t('firefly.update_transaction') }}</span>\n <span v-if=\"!enableSubmit\"><i class=\"fas fa-spinner fa-spin\"></i></span>\n </button>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col\">\n \n </div>\n <div class=\"col\">\n <div class=\"form-check\">\n <input id=\"stayHere\" v-model=\"stayHere\" class=\"form-check-input\" type=\"checkbox\">\n <label class=\"form-check-label\" for=\"stayHere\">\n <span class=\"small\">{{ $t('firefly.after_update_create_another') }}</span>\n </label>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </form>\n </div>\n</template>\n\n<script>\nimport {mapMutations} from \"vuex\";\nimport Alert from '../partials/Alert';\nimport SplitPills from \"./SplitPills\";\nimport SplitForm from \"./SplitForm\";\nimport TransactionGroupTitle from \"./TransactionGroupTitle\";\nimport {getDefaultErrors, getDefaultTransaction} from '../../shared/transactions';\n\nconst lodashClonedeep = require('lodash.clonedeep');\n\nexport default {\n name: \"Edit\",\n created() {\n // console.log('Created');\n let parts = window.location.pathname.split('/');\n this.groupId = parseInt(parts[parts.length - 1]);\n this.transactions = [];\n this.getTransactionGroup();\n this.getAllowedOpposingTypes();\n this.getCustomFields();\n },\n data() {\n return {\n successMessage: {type: String, default: ''},\n errorMessage: {type: String, default: ''},\n warningMessage: {type: String, default: ''},\n\n // transaction props\n transactions: {\n type: Array,\n default: function () {\n return [];\n }\n },\n originalTransactions: {\n type: Array,\n default: function () {\n return [];\n }\n },\n groupTitle: {type: String, default: ''},\n originalGroupTitle: {type: String, default: ''},\n transactionType: {type: String, default: 'any'},\n groupId: {type: Number, default: 0},\n\n // errors in the group title:\n groupTitleErrors: {\n type: Array,\n default: function () {\n return [];\n }\n },\n\n // which custom fields to show\n customFields: {\n type: Object,\n default: function () {\n return {};\n }\n },\n\n // group ID + title once submitted:\n returnedGroupId: {type: Number, default: 0},\n returnedGroupTitle: {type: String, default: ''},\n\n // date and time of the transaction,\n date: {type: String, default: ''},\n originalDate: {type: String, default: ''},\n\n // things the process is done working on (3 phases):\n submittedTransaction: {type: Boolean, default: false},\n // submittedLinks: false,\n submittedAttachments: {type: Number, default: -1}, // -1 = no attachments, 0 = uploading, 1 = uploaded\n inError: {type: Boolean, default: false},\n\n // number of uploaded attachments\n // its an object because we count per transaction journal (which can have multiple attachments)\n // and array doesn't work right.\n submittedAttCount: {\n type: Object,\n default: function () {\n return {};\n }\n },\n\n // meta data for accounts\n allowedOpposingTypes: {\n type: Object,\n default: function () {\n return {};\n }\n },\n destinationAllowedTypes: {\n type: Array,\n default: function () {\n return [];\n }\n },\n sourceAllowedTypes: {\n type: Array,\n default: function () {\n return [];\n }\n },\n\n // states for the form (makes sense right)\n enableSubmit: true,\n stayHere: false,\n\n }\n },\n components: {\n Alert,\n SplitPills,\n SplitForm,\n TransactionGroupTitle\n },\n\n watch: {\n submittedAttachments: function () {\n this.finaliseSubmission();\n }\n },\n\n methods: {\n ...mapMutations('transactions/create', ['updateField',]),\n /**\n * Grab transaction group from URL and submit GET.\n */\n getTransactionGroup: function () {\n // console.log('getTransactionGroup');\n axios.get('./api/v1/transactions/' + this.groupId)\n .then(response => {\n this.parseTransactionGroup(response.data);\n }\n ).catch(error => {\n //console.log('I failed :(');\n //console.log(error);\n });\n },\n /**\n * Parse transaction group. Title is easy, transactions have their own method.\n * @param response\n */\n parseTransactionGroup: function (response) {\n // console.log('Will now parse');\n // console.log(response);\n let attributes = response.data.attributes;\n let transactions = attributes.transactions.reverse();\n this.groupTitle = attributes.group_title;\n this.originalGroupTitle = attributes.group_title;\n\n this.transactions = [];\n this.originalTransactions = [];\n\n\n //this.returnedGroupId = parseInt(response.data.id);\n this.returnedGroupTitle = null === this.originalGroupTitle ? response.data.attributes.transactions[0].description : this.originalGroupTitle;\n\n for (let i in transactions) {\n if (transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n console.log('Parsing transaction nr ' + i);\n let result = this.parseTransaction(parseInt(i), transactions[i]);\n this.transactions.push(result);\n this.originalTransactions.push(lodashClonedeep(result));\n // pick up the links of this transaction:\n this.parseLinks(parseInt(result.transaction_journal_id), parseInt(i));\n }\n }\n },\n /**\n * Parse a single transaction.\n *\n * @param index\n * @param array\n */\n parseTransaction: function (index, array) {\n //console.log('index: ' + index);\n if (0 === index) {\n this.transactionType = array.type.charAt(0).toUpperCase() + array.type.slice(1);\n\n // TODO here you may need to catch stuff like loan/debt/mortgage\n this.sourceAllowedTypes = [array.source_type];\n this.destinationAllowedTypes = [array.destination_type];\n this.date = array.date.substring(0, 16);\n this.originalDate = array.date.substring(0, 16);\n }\n let result = getDefaultTransaction();\n // parsing here:\n result.description = array.description;\n result.transaction_journal_id = parseInt(array.transaction_journal_id);\n // accounts:\n result.source_account_id = array.source_id;\n result.source_account_name = array.source_name;\n result.source_account_type = array.source_type;\n\n result.destination_account_id = array.destination_id;\n result.destination_account_name = array.destination_name;\n result.destination_account_type = array.destination_type;\n\n // amount:\n result.amount = array.amount;\n result.currency_id = array.currency_id;\n result.foreign_amount = array.foreign_amount;\n result.foreign_currency_id = array.foreign_currency_id;\n\n // meta data\n result.category = array.category_name;\n result.budget_id = array.budget_id;\n result.bill_id = array.bill_id ?? 0;\n\n result.tags = array.tags;\n\n // optional date fields (6x):\n result.interest_date = array.interest_date ? array.interest_date.substr(0, 10) : '';\n result.book_date = array.book_date ? array.book_date.substr(0, 10) : '';\n result.process_date = array.process_date ? array.process_date.substr(0, 10) : '';\n result.due_date = array.due_date ? array.due_date.substr(0, 10) : '';\n result.payment_date = array.payment_date ? array.payment_date.substr(0, 10) : '';\n result.invoice_date = array.invoice_date ? array.invoice_date.substr(0, 10) : '';\n\n // optional other fields:\n result.internal_reference = array.internal_reference;\n result.external_url = array.external_uri;\n result.external_id = array.external_id;\n result.notes = array.notes;\n // location:\n result.location = {\n zoom_level: array.zoom_level,\n longitude: array.longitude,\n latitude: array.latitude,\n };\n result.zoom_level = array.zoom_level;\n result.longitude = array.longitude;\n result.latitude = array.latitude;\n // error handling\n result.errors = getDefaultErrors();\n return result;\n },\n /**\n * Get the links of this transaction group from the API.\n */\n parseLinks: function (journalId, index) {\n axios.get('./api/v1/transaction-journals/' + journalId + '/links')\n .then(response => {\n let links = response.data.data;\n for (let i in links) {\n if (links.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n this.parseLink(links[i], journalId, index);\n }\n }\n });\n },\n\n /**\n * Process individual link from the API.\n */\n parseLink: function (link, journalId, index) {\n let promises = [];\n let opposingId = parseInt(link.attributes.inward_id);\n let linkDirection = 'inward';\n if (opposingId === journalId) {\n opposingId = parseInt(link.attributes.outward_id);\n linkDirection = 'outward';\n }\n // add meta data to promise context.\n promises.push(new Promise((resolve) => {\n resolve(\n {\n link: link,\n journalId: journalId,\n opposingId: opposingId,\n index: index,\n direction: linkDirection\n }\n );\n }));\n\n // get stuff from the API:\n promises.push(axios.get('./api/v1/transaction-journals/' + opposingId));\n promises.push(axios.get('./api/v1/transaction_links/' + link.attributes.link_type_id));\n\n Promise.all(promises).then(responses => {\n let journals = responses[1].data.data.attributes.transactions;\n let opposingId = responses[0].opposingId;\n let journal = {};\n // loop over journals to get the correct one:\n for (let i in journals) {\n if (journals.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n if (journals[i].transaction_journal_id === opposingId) {\n journal = journals[i];\n }\n }\n }\n let index = responses[0].index;\n let direction = responses[0].direction;\n let linkTypeId = responses[2].data.data.id;\n let object = {\n id: link.id,\n link_type_id: linkTypeId + '-' + direction,\n transaction_group_id: responses[1].data.data.id,\n transaction_journal_id: journal.transaction_journal_id,\n description: journal.description,\n type: journal.type,\n currency_code: journal.currency_code,\n amount: journal.amount\n };\n this.transactions[index].links.push(object);\n this.originalTransactions[index].links.push(object);\n });\n },\n /**\n * Get API value.\n */\n getAllowedOpposingTypes: function () {\n axios.get('./api/v1/configuration/firefly.allowed_opposing_types')\n .then(response => {\n this.allowedOpposingTypes = response.data.data.value;\n });\n },\n /**\n * Get API value.\n */\n getCustomFields: function () {\n axios.get('./api/v1/preferences/transaction_journal_optional_fields').then(response => {\n this.customFields = response.data.data.attributes.data;\n });\n },\n uploadedAttachment: function (payload) {\n //console.log('event: uploadedAttachment');\n //console.log(payload);\n this.submittedAttachments = 0;\n // console.log('Triggered uploadedAttachment(' + journalId + ')');\n let key = 'str' + payload;\n this.submittedAttCount[key] = 1;\n let count = Object.keys(this.submittedAttCount).length;\n //console.log('Count is now ' + count);\n //console.log('Length is ' + this.transactions.length);\n if (count === this.transactions.length) {\n //console.log('Got them all!');\n // mark the attachments as stored:\n this.submittedAttachments = 1;\n }\n },\n storeLocation: function (payload) {\n this.transactions[payload.index].zoom_level = payload.zoomLevel;\n this.transactions[payload.index].longitude = payload.lng;\n this.transactions[payload.index].latitude = payload.lat;\n },\n storeAccountValue: function (payload) {\n let direction = payload.direction;\n let index = payload.index;\n this.transactions[index][direction + '_account_id'] = payload.id;\n this.transactions[index][direction + '_account_type'] = payload.type;\n this.transactions[index][direction + '_account_name'] = payload.name;\n },\n storeDate: function (payload) {\n this.date = payload.date;\n },\n storeField: function (payload) {\n let field = payload.field;\n if ('category' === field) {\n field = 'category_name';\n }\n this.transactions[payload.index][field] = payload.value;\n\n },\n removeTransaction: function (payload) {\n // console.log('removeTransaction()');\n // console.log('length : ' + this.transactions.length);\n // console.log('Remove index: ' + payload.index);\n\n let index = 0;\n for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n console.log('Now at index: ' + i);\n if (index === payload.index) {\n console.log('Delete!');\n this.transactions.splice(index, 1);\n //console.log(delete this.transactions[i]);\n }\n index++;\n }\n }\n $('#transactionTabs li:first-child a').tab('show');\n\n // this.transactions.splice(payload.index, 1);\n // console.log('length: ' + this.transactions.length);\n\n // this.originalTransactions.splice(payload.index, 1);\n // this kills the original transactions.\n //this.originalTransactions = [];\n },\n storeGroupTitle: function (payload) {\n this.groupTitle = payload;\n },\n selectedAttachments: function (payload) {\n //console.log('Now in selectedAttachments()');\n for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n // console.log('Payload is');\n // console.log(payload);\n if (parseInt(this.transactions[i].transaction_journal_id) === parseInt(payload.id)) {\n // console.log('selectedAttachments ' + payload);\n this.transactions[i].selectedAttachments = true;\n }\n }\n }\n },\n addTransaction: function (event) {\n event.preventDefault();\n let newTransaction = getDefaultTransaction();\n newTransaction.errors = getDefaultErrors();\n this.transactions.push(newTransaction);\n },\n submitTransaction: function (event) {\n event.preventDefault();\n this.enableSubmit = false;\n let submission = {transactions: []};\n\n // parse data to see if we should submit anything at all:\n let shouldSubmit = false;\n let shouldLinks = false;\n let shouldUpload = false;\n\n // if the group title has changed, should submit:\n if (this.groupTitle !== this.originalGroupTitle) {\n submission.group_title = this.groupTitle;\n shouldSubmit = true;\n }\n\n // if something with the group title:\n let newTransactionCount = this.transactions.length;\n if (newTransactionCount > 1 && typeof submission.group_title === 'undefined' && (null === this.originalGroupTitle || '' === this.originalGroupTitle)) {\n submission.group_title = this.transactions[0].description;\n shouldSubmit = true;\n }\n\n // loop each transaction (edited by the user):\n for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n\n // original transaction present:\n let currentTransaction = this.transactions[i];\n let originalTransaction = this.originalTransactions.hasOwnProperty(i) ? this.originalTransactions[i] : {};\n // the difference:\n let diff = {};\n\n // compare basic fields:\n let basicFields = ['description', 'source_account_id', 'source_account_name', 'destination_account_id', 'destination_account_name', 'amount', 'foreign_amount', 'foreign_currency_id', 'category_name', 'budget_id', 'bill_id', 'interest_date', 'book_date', 'due_date', 'payment_date', 'invoice_date', 'external_url', 'internal_reference', 'external_id', 'notes', 'zoom_level', 'longitude', 'latitude'];\n\n // source and destination are overruled in some cases:\n if (i > 0) {\n diff.type = this.transactionType.toLowerCase();\n if ('deposit' === this.transactionType.toLowerCase() || 'transfer' === this.transactionType.toLowerCase()) {\n // set destination to be whatever is in transaction zero:\n currentTransaction.destination_account_name = this.originalTransactions[0].destination_account_name;\n currentTransaction.destination_account_id = this.originalTransactions[0].destination_account_id;\n }\n\n if ('withdrawal' === this.transactionType.toLowerCase() || 'transfer' === this.transactionType.toLowerCase()) {\n // set source to be whatever is in transaction zero:\n currentTransaction.source_account_name = this.originalTransactions[0].source_account_name;\n currentTransaction.source_account_id = this.originalTransactions[0].source_account_id;\n }\n }\n\n // loop the basic fields and verify\n for (let ii in basicFields) {\n if (basicFields.hasOwnProperty(ii) && /^0$|^[1-9]\\d*$/.test(ii) && ii <= 4294967294) {\n let fieldName = basicFields[ii];\n let submissionFieldName = fieldName;\n\n // if the original is undefined and the new one is null, just skip it.\n if (currentTransaction[fieldName] === null && 'undefined' === typeof originalTransaction[fieldName]) {\n continue;\n }\n\n if (currentTransaction[fieldName] !== originalTransaction[fieldName]) {\n // some fields are ignored:\n if ('foreign_amount' === submissionFieldName && '' === currentTransaction[fieldName]) {\n continue;\n }\n if ('foreign_currency_id' === submissionFieldName && 0 === currentTransaction[fieldName]) {\n continue;\n }\n\n // some field names may need to be different. little basic but it works:\n if ('source_account_id' === submissionFieldName) {\n submissionFieldName = 'source_id';\n }\n if ('source_account_name' === submissionFieldName) {\n submissionFieldName = 'source_name';\n }\n if ('destination_account_id' === submissionFieldName) {\n submissionFieldName = 'destination_id';\n }\n if ('destination_account_name' === submissionFieldName) {\n submissionFieldName = 'destination_name';\n }\n\n // otherwise save them and remember them for submission:\n diff[submissionFieldName] = currentTransaction[fieldName];\n shouldSubmit = true;\n }\n }\n }\n\n // tags different?\n if (JSON.stringify(currentTransaction.tags) !== JSON.stringify(originalTransaction.tags)) {\n diff.tags = [];\n if (0 !== currentTransaction.tags.length) {\n for (let ii in currentTransaction.tags) {\n if (currentTransaction.tags.hasOwnProperty(ii) && /^0$|^[1-9]\\d*$/.test(ii) && ii <= 4294967294) {\n let currentTag = currentTransaction.tags[ii];\n if (typeof currentTag === 'object' && null !== currentTag) {\n diff.tags.push(currentTag.text);\n }\n if (typeof currentTag === 'string') {\n diff.tags.push(currentTag);\n }\n }\n }\n }\n shouldSubmit = true;\n }\n\n // compare links:\n let newLinks = this.compareLinks(currentTransaction.links);\n let originalLinks = this.compareLinks(originalTransaction.links);\n if (newLinks !== originalLinks) {\n shouldLinks = true;\n }\n if (typeof currentTransaction.selectedAttachments !== 'undefined' && true === currentTransaction.selectedAttachments) {\n shouldUpload = true;\n }\n if(true === shouldSubmit) {\n // set the date to whatever the date is:\n diff.date = this.date;\n }\n\n if (this.date !== this.originalDate) {\n shouldSubmit = true;\n diff.date = this.date;\n }\n\n if (Object.keys(diff).length === 0 && newTransactionCount > 1) {\n // Will submit just the ID!\n diff.transaction_journal_id = originalTransaction.transaction_journal_id;\n submission.transactions.push(lodashClonedeep(diff));\n shouldSubmit = true;\n } else if (Object.keys(diff).length !== 0) {\n // will submit all:\n diff.transaction_journal_id = originalTransaction.transaction_journal_id ?? 0;\n submission.transactions.push(lodashClonedeep(diff));\n shouldSubmit = true;\n }\n }\n }\n this.submitUpdate(submission, shouldSubmit, shouldLinks, shouldUpload);\n },\n\n submitData: function (shouldSubmit, submission) {\n //console.log('submitData');\n if (!shouldSubmit) {\n //console.log('No need!');\n return new Promise((resolve) => {\n resolve({});\n });\n }\n const url = './api/v1/transactions/' + this.groupId;\n return axios.put(url, submission);\n\n },\n handleSubmissionResponse: function (response) {\n //console.log('handleSubmissionResponse()');\n // report the transaction is submitted.\n this.submittedTransaction = true;\n let journals = [];\n\n // meanwhile, store the ID and the title in some easy to access variables.\n if (typeof response.data !== 'undefined') {\n this.returnedGroupId = parseInt(response.data.data.id) ?? null;\n this.returnedGroupTitle = null === response.data.data.attributes.group_title ? response.data.data.attributes.transactions[0].description : response.data.data.attributes.group_title;\n\n let result = response.data.data.attributes.transactions\n for (let i in result) {\n if (result.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n journals.push(parseInt(result[i].transaction_journal_id));\n }\n }\n } else {\n for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n journals.push(this.transactions[i].transaction_journal_id);\n }\n }\n }\n journals = journals.reverse();\n return new Promise((resolve) => {\n resolve(\n {\n journals: journals,\n }\n );\n });\n },\n submitLinks: function (shouldSubmit) {\n //console.log('submitLinks()');\n if (!shouldSubmit) {\n //console.log('no need!');\n return new Promise((resolve) => {\n resolve({});\n });\n }\n return this.deleteAllOriginalLinks().then(() => this.submitNewLinks());\n },\n submitAttachments: function (shouldSubmit, response) {\n console.log('submitAttachments');\n if (!shouldSubmit) {\n console.log('no need!');\n this.submittedAttachments = 1;\n return new Promise((resolve) => {\n resolve({});\n });\n }\n //console.log('Do upload thing!');\n //console.log(response);\n let anyAttachments = false;\n for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let transaction = this.transactions[i];\n let journalId = transaction.transaction_journal_id;\n //console.log(journalId);\n if (typeof response !== 'undefined') {\n journalId = response.journals[i]\n }\n\n let hasAttachments = transaction.selectedAttachments;\n this.transactions[i].transaction_journal_id = journalId;\n this.transactions[i].uploadTrigger = true;\n //console.log('Decided that ' + journalId);\n //console.log('upload index ' + i);\n //console.log(hasAttachments);\n if (hasAttachments) {\n anyAttachments = true;\n }\n }\n }\n if (true === anyAttachments) {\n this.submittedAttachments = 0;\n }\n },\n finaliseSubmission: function () {\n // console.log('finaliseSubmission (' + this.submittedAttachments + ')');\n if (0 === this.submittedAttachments) {\n return;\n }\n // console.log('continue (' + this.submittedAttachments + ')');\n // console.log(this.stayHere);\n // console.log(this.inError);\n if (true === this.stayHere && false === this.inError) {\n //console.log('no error + no changes + no redirect');\n // show message:\n this.errorMessage = '';\n this.warningMessage = '';\n this.successMessage = this.$t('firefly.transaction_updated_link', {ID: this.groupId, title: this.returnedGroupTitle});\n\n }\n // no error + changes + redirect\n if (false === this.stayHere && false === this.inError) {\n //console.log('no error + changes + redirect');\n window.location.href = (window.previousURL ?? '/') + '?transaction_group_id=' + this.groupId + '&message=updated';\n }\n\n this.enableSubmit = true;\n this.submittedAttachments = -1;\n this.inError = false;\n\n for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n if (this.transactions.hasOwnProperty(i)) {\n this.transactions[i].clearTrigger = true;\n }\n }\n }\n },\n submitUpdate: function (submission, shouldSubmit, shouldLinks, shouldUpload) {\n //console.log('submitUpdate()');\n this.inError = false;\n\n this.submitData(shouldSubmit, submission)\n .then(this.handleSubmissionResponse) // error or OK\n .then(response => {\n return Promise.all([\n this.submitLinks(shouldLinks, response),\n this.submitAttachments(shouldUpload, response)]);\n }\n )\n .then(this.finaliseSubmission)\n .catch(this.handleSubmissionError);\n\n\n // if (shouldLinks) {\n // promises.push(this.submitTransactionLinks())\n // }\n // if (!shouldLinks) {\n // promises.push(new Promise((resolve) => {\n // resolve({});\n // }));\n // }\n // if (shouldUpload) {\n // console.log('Attachments = Respond to promise from shouldSubmit/!shouldSubmit');\n // promises.push(submissionPromise.then(result => this.uploadAttachments(result)));\n // }\n // if (!shouldUpload) {\n // promises.push(new Promise((resolve) => {\n // resolve({});\n // }));\n // }\n\n // all promises fulfilled:\n // console.log('All promises done, process results?');\n // Promise.all(promises).then(function (responses) {\n // console.log('I believe all ' + promises.length + ' promises fulfilled!');\n // }).catch(function (errors) {\n // console.log('Somebody errored?');\n // });\n\n //\n //\n //\n // if (shouldSubmit) {\n // console.log('shouldSubmit');\n // // do submission:\n // // console.log(JSON.stringify(submission));\n // // console.log(submission);\n // axios.put(url, submission)\n // .then(response => {\n // // console.log('Response is OK!');\n // // report the transaction is submitted.\n // this.submittedTransaction = true;\n //\n // // submit links and attachments (can only be done when the transaction is created)\n // if (shouldLinks) {\n // console.log('Submit links using return from server:');\n // this.submitTransactionLinks();\n // }\n // if (shouldUpload) {\n // // console.log('Need to upload.');\n // this.submitAttachments(response.data.data.attributes.transactions);\n // }\n // // meanwhile, store the ID and the title in some easy to access variables.\n // this.returnedGroupId = parseInt(response.data.data.id);\n // this.returnedGroupTitle = null === response.data.data.attributes.group_title ? response.data.data.attributes.transactions[0].description : response.data.data.attributes.group_title;\n // }\n // )\n // .catch(error => {\n // console.log('error :(');\n // console.log(error.response.data);\n // // oh noes Firefly III has something to bitch about.\n // this.enableSubmit = true;\n // // report the transaction is submitted.\n // this.submittedTransaction = true;\n // // // also report attachments and links are submitted:\n // this.submittedAttachments = true;\n // this.submittedLinks = true;\n // //\n // // but report an error because error:\n // this.inError = true;\n // this.parseErrors(error.response.data);\n // }\n // );\n // }\n // if (!shouldSubmit && shouldLinks) {\n // // update links\n // console.log('Submit links using whatever is here:');\n // this.submitTransactionLinks();\n // }\n // if (!shouldSubmit && shouldUpload) {\n // // upload\n // // console.log('Need to upload.');\n // this.submitAttachments(this.transactions);\n // }\n },\n compareLinks: function (array) {\n let compare = [];\n for (let i in array) {\n if (array.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n compare.push(\n {\n amount: array[i].amount,\n currency_code: array[i].currency_code,\n description: array[i].description,\n link_type_id: array[i].link_type_id,\n transaction_group_id: array[i].transaction_group_id,\n type: array[i].type,\n }\n );\n }\n }\n return JSON.stringify(compare);\n },\n // uploadAttachments: function (result) {\n // //console.log('TODO, upload attachments.');\n // if (0 === Object.keys(result).length) {\n //\n // for (let i in this.transactions) {\n // if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n //\n // //console.log('updateField(' + i + ', transaction_journal_id, ' + result[i].transaction_journal_id + ')');\n // this.updateField({index: i, field: 'transaction_journal_id', value: result[i].transaction_journal_id});\n // }\n // }\n // //console.log('Transactions not changed, use original objects.');\n // } else {\n // //console.log('Transactions changed!');\n // }\n // this.submittedAttachments = 0;\n // },\n\n parseErrors: function (errors) {\n for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n this.resetErrors({index: i});\n }\n }\n this.successMessage = '';\n this.errorMessage = this.$t('firefly.errors_submission');\n if (typeof errors.errors === 'undefined') {\n this.successMessage = '';\n this.errorMessage = errors.message;\n }\n\n let payload;\n let transactionIndex;\n let fieldName;\n\n // fairly basic way of exploding the error array.\n for (const key in errors.errors) {\n // console.log('Error index: \"' + key + '\"');\n if (errors.errors.hasOwnProperty(key)) {\n if (key === 'group_title') {\n this.groupTitleErrors = errors.errors[key];\n continue;\n }\n if (key !== 'group_title') {\n // lol dumbest way to explode \"transactions.0.something\" ever.\n transactionIndex = parseInt(key.split('.')[1]);\n\n fieldName = key.split('.')[2];\n\n // set error in this object thing.\n // console.log('The errors in key \"' + key + '\" are');\n // console.log(errors.errors[key]);\n switch (fieldName) {\n case 'amount':\n case 'description':\n case 'date':\n case 'tags':\n payload = {index: transactionIndex, field: fieldName, errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'budget_id':\n payload = {index: transactionIndex, field: 'budget', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'bill_id':\n payload = {index: transactionIndex, field: 'bill', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'piggy_bank_id':\n payload = {index: transactionIndex, field: 'piggy_bank', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'category_name':\n payload = {index: transactionIndex, field: 'category', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'source_name':\n case 'source_id':\n payload = {index: transactionIndex, field: 'source', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'destination_name':\n case 'destination_id':\n payload = {index: transactionIndex, field: 'destination', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'foreign_amount':\n case 'foreign_currency':\n payload = {index: transactionIndex, field: 'foreign_amount', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n }\n }\n // unique some things\n if (typeof this.transactions[transactionIndex] !== 'undefined') {\n //this.transactions[transactionIndex].errors.source = Array.from(new Set(this.transactions[transactionIndex].errors.source));\n //this.transactions[transactionIndex].errors.destination = Array.from(new Set(this.transactions[transactionIndex].errors.destination));\n }\n\n }\n }\n },\n setTransactionError: function (payload) {\n this.transactions[payload.index].errors[payload.field] = payload.errors;\n },\n resetErrors(payload) {\n this.transactions[payload.index].errors = lodashClonedeep(getDefaultErrors());\n },\n\n deleteOriginalLinks: function (transaction) {\n let promises = [];\n for (let i in transaction.links) {\n if (transaction.links.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = transaction.links[i];\n let url = '/api/v1/transaction_links/' + current.id;\n promises.push(axios.delete(url));\n }\n }\n return Promise.all(promises);\n },\n\n deleteAllOriginalLinks: function () {\n //console.log('deleteAllOriginalLinks()');\n // loop to delete old transaction links.\n let promises = [];\n for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n // original transaction present?\n let currentTransaction = this.transactions[i];\n let originalTransaction = this.originalTransactions.hasOwnProperty(i) ? this.originalTransactions[i] : {};\n let newLinks = this.compareLinks(currentTransaction.links);\n let originalLinks = this.compareLinks(originalTransaction.links);\n if (newLinks !== originalLinks) {\n if ('[]' !== originalLinks) {\n promises.push(this.deleteOriginalLinks(originalTransaction));\n }\n } else {\n promises.push(new Promise((resolve) => {\n resolve({});\n }));\n }\n }\n }\n return Promise.all(promises);\n },\n submitNewLinks: function () {\n //console.log('submitNewLinks()');\n let promises = [];\n for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let currentTransaction = this.transactions[i];\n for (let ii in currentTransaction.links) {\n if (currentTransaction.links.hasOwnProperty(ii) && /^0$|^[1-9]\\d*$/.test(ii) && ii <= 4294967294) {\n let currentLink = currentTransaction.links[ii];\n let linkObject = {\n inward_id: currentTransaction.transaction_journal_id,\n outward_id: currentTransaction.transaction_journal_id,\n link_type_id: 'something'\n };\n\n let parts = currentLink.link_type_id.split('-');\n linkObject.link_type_id = parts[0];\n if ('inward' === parts[1]) {\n linkObject.inward_id = currentLink.transaction_journal_id;\n }\n if ('outward' === parts[1]) {\n linkObject.outward_id = currentLink.transaction_journal_id;\n }\n promises.push(axios.post('./api/v1/transaction_links', linkObject));\n }\n }\n }\n }\n return Promise.all(promises);\n },\n /**\n * Submit transaction links.\n */\n submitTransactionLinksX: function () {\n //return this.deleteAllOriginalLinks().then(() => this.submitNewLinks());\n },\n finalizeSubmitX: function () {\n // console.log('now in finalizeSubmit()');\n // console.log('submittedTransaction : ' + this.submittedTransaction);\n // console.log('submittedLinks : ' + this.submittedLinks);\n // console.log('submittedAttachments : ' + this.submittedAttachments);\n\n if (this.submittedTransaction && this.submittedAttachments && this.submittedLinks) {\n // console.log('all true');\n // console.log('inError = ' + this.inError);\n // console.log('stayHere = ' + this.stayHere);\n // console.log('returnedGroupId = ' + this.returnedGroupId);\n\n // no error + no changes + no redirect\n if (true === this.stayHere && false === this.inError && 0 === this.returnedGroupId) {\n // console.log('no error + no changes + no redirect');\n // show message:\n this.errorMessage = '';\n this.successMessage = '';\n // maybe nothing changed in post\n this.warningMessage = this.$t('firefly.transaction_updated_no_changes', {ID: this.returnedGroupId, title: this.returnedGroupTitle});\n }\n\n // no error + no changes + redirect\n if (false === this.stayHere && false === this.inError && 0 === this.returnedGroupId) {\n // console.log('no error + no changes + redirect');\n window.location.href = (window.previousURL ?? '/') + '?transaction_group_id=' + this.groupId + '&message=no_change';\n }\n // no error + changes + no redirect\n if (true === this.stayHere && false === this.inError && 0 !== this.returnedGroupId) {\n // console.log('no error + changes + redirect');\n // show message:\n this.errorMessage = '';\n this.warningMessage = '';\n // maybe nothing changed in post\n this.successMessage = this.$t('firefly.transaction_updated_link', {ID: this.returnedGroupId, title: this.returnedGroupTitle});\n }\n\n // no error + changes + redirect\n if (false === this.stayHere && false === this.inError && 0 !== this.returnedGroupId) {\n // console.log('no error + changes + redirect');\n window.location.href = (window.previousURL ?? '/') + '?transaction_group_id=' + this.groupId + '&message=updated';\n }\n // console.log('end of the line');\n // enable flags:\n this.enableSubmit = true;\n this.submittedTransaction = false;\n this.submittedLinks = false;\n this.submittedAttachments = false;\n this.inError = false;\n\n // reset attachments (always do this)\n for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n if (this.transactions.hasOwnProperty(i)) {\n // TODO\n }\n }\n }\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Edit.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Edit.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Edit.vue?vue&type=template&id=23b5bf31&scoped=true&\"\nimport script from \"./Edit.vue?vue&type=script&lang=js&\"\nexport * from \"./Edit.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 \"23b5bf31\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('Alert',{attrs:{\"message\":_vm.errorMessage,\"type\":\"danger\"}}),_vm._v(\" \"),_c('Alert',{attrs:{\"message\":_vm.successMessage,\"type\":\"success\"}}),_vm._v(\" \"),_c('Alert',{attrs:{\"message\":_vm.warningMessage,\"type\":\"warning\"}}),_vm._v(\" \"),_c('form',{attrs:{\"autocomplete\":\"off\"},on:{\"submit\":_vm.submitTransaction}},[_c('SplitPills',{attrs:{\"transactions\":_vm.transactions,\"count\":_vm.transactions.length}}),_vm._v(\" \"),_c('div',{staticClass:\"tab-content\"},_vm._l((this.transactions),function(transaction,index){return _c('SplitForm',{key:transaction.transaction_journal_id,attrs:{\"index\":index,\"key\":transaction.transaction_journal_id,\"transaction\":transaction,\"date\":_vm.date,\"count\":_vm.transactions.length,\"transaction-type\":_vm.transactionType,\"source-allowed-types\":_vm.sourceAllowedTypes,\"allowed-opposing-types\":_vm.allowedOpposingTypes,\"custom-fields\":_vm.customFields,\"destination-allowed-types\":_vm.destinationAllowedTypes,\"allow-switch\":false},on:{\"uploaded-attachments\":function($event){return _vm.uploadedAttachment($event)},\"set-marker-location\":function($event){return _vm.storeLocation($event)},\"set-account\":function($event){return _vm.storeAccountValue($event)},\"set-date\":function($event){return _vm.storeDate($event)},\"set-field\":function($event){return _vm.storeField($event)},\"remove-transaction\":function($event){return _vm.removeTransaction($event)},\"selected-attachments\":function($event){return _vm.selectedAttachments($event)}}})}),1),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[(_vm.transactions.length > 1)?_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('TransactionGroupTitle',{attrs:{\"errors\":this.groupTitleErrors},on:{\"set-group-title\":function($event){return _vm.storeGroupTitle($event)}},model:{value:(this.groupTitle),callback:function ($$v) {_vm.$set(this, \"groupTitle\", $$v)},expression:\"this.groupTitle\"}})],1)])])]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \\n \")]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-outline-primary btn-block\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.addTransaction}},[_c('i',{staticClass:\"far fa-clone\"}),_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.add_another_split'))+\"\\n \")])]),_vm._v(\" \"),_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \\n \")]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-info btn-block\",attrs:{\"disabled\":!_vm.enableSubmit},on:{\"click\":_vm.submitTransaction}},[(_vm.enableSubmit)?_c('span',[_c('i',{staticClass:\"far fa-save\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.update_transaction')))]):_vm._e(),_vm._v(\" \"),(!_vm.enableSubmit)?_c('span',[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e()])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_vm._v(\"\\n \\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"form-check\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.stayHere),expression:\"stayHere\"}],staticClass:\"form-check-input\",attrs:{\"id\":\"stayHere\",\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.stayHere)?_vm._i(_vm.stayHere,null)>-1:(_vm.stayHere)},on:{\"change\":function($event){var $$a=_vm.stayHere,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.stayHere=$$a.concat([$$v]))}else{$$i>-1&&(_vm.stayHere=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.stayHere=$$c}}}}),_vm._v(\" \"),_c('label',{staticClass:\"form-check-label\",attrs:{\"for\":\"stayHere\"}},[_c('span',{staticClass:\"small\"},[_vm._v(_vm._s(_vm.$t('firefly.after_update_create_another')))])])])])])])])])])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/*\n * edit.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nimport store from \"../../components/store\";\nimport Edit from \"../../components/transactions/Edit\";\nimport Vue from \"vue\";\n\nrequire('../../bootstrap');\n\nVue.config.productionTip = false;\n// i18n\nlet i18n = require('../../i18n');\n\nlet props = {};\nnew Vue({\n i18n,\n store,\n render(createElement) {\n return createElement(Edit, {props: props});\n },\n beforeCreate() {\n this.$store.commit('initialiseStore');\n this.$store.dispatch('updateCurrencyPreference');\n },\n }).$mount('#transactions_edit');\n","/*\n * transactions.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nexport function getDefaultErrors() {\n return {\n description: [],\n amount: [],\n source: [],\n destination: [],\n currency: [],\n foreign_currency: [],\n foreign_amount: [],\n date: [],\n custom_dates: [],\n budget: [],\n category: [],\n bill: [],\n tags: [],\n piggy_bank: [],\n internal_reference: [],\n external_url: [],\n notes: [],\n location: []\n };\n}\n\nexport function getDefaultTransaction() {\n return {\n // basic\n description: '',\n transaction_journal_id: 0,\n // accounts:\n source_account_id: null,\n source_account_name: null,\n source_account_type: null,\n\n source_account_currency_id: null,\n source_account_currency_code: null,\n source_account_currency_symbol: null,\n\n destination_account_id: null,\n destination_account_name: null,\n destination_account_type: null,\n\n destination_account_currency_id: null,\n destination_account_currency_code: null,\n destination_account_currency_symbol: null,\n attachments: false,\n selectedAttachments: false,\n uploadTrigger: false,\n clearTrigger: false,\n\n source_account: {\n id: 0,\n name: \"\",\n name_with_balance: \"\",\n type: \"\",\n currency_id: 0,\n currency_name: '',\n currency_code: '',\n currency_decimal_places: 2\n },\n destination_account: {\n id: 0,\n name: \"\",\n type: \"\",\n currency_id: 0,\n currency_name: '',\n currency_code: '',\n currency_decimal_places: 2\n },\n\n // amount:\n amount: '',\n currency_id: 0,\n foreign_amount: '',\n foreign_currency_id: 0,\n\n // meta data\n category: null,\n budget_id: 0,\n bill_id: 0,\n piggy_bank_id: 0,\n tags: [],\n\n // optional date fields (6x):\n interest_date: null,\n book_date: null,\n process_date: null,\n due_date: null,\n payment_date: null,\n invoice_date: null,\n\n // optional other fields:\n internal_reference: null,\n external_url: null,\n external_id: null,\n notes: null,\n\n // transaction links:\n links: [],\n // location:\n zoom_level: null,\n longitude: null,\n latitude: null,\n\n // error handling\n errors: {},\n }\n}\n\nexport function toW3CString(date) {\n // https://gist.github.com/tristanlins/6585391\n let year = date.getFullYear();\n let month = date.getMonth();\n month++;\n if (month < 10) {\n month = '0' + month;\n }\n let day = date.getDate();\n if (day < 10) {\n day = '0' + day;\n }\n let hours = date.getHours();\n if (hours < 10) {\n hours = '0' + hours;\n }\n let minutes = date.getMinutes();\n if (minutes < 10) {\n minutes = '0' + minutes;\n }\n let seconds = date.getSeconds();\n if (seconds < 10) {\n seconds = '0' + seconds;\n }\n let offset = -date.getTimezoneOffset();\n let offsetHours = Math.abs(Math.floor(offset / 60));\n let offsetMinutes = Math.abs(offset) - offsetHours * 60;\n if (offsetHours < 10) {\n offsetHours = '0' + offsetHours;\n }\n if (offsetMinutes < 10) {\n offsetMinutes = '0' + offsetMinutes;\n }\n let offsetSign = '+';\n if (offset < 0) {\n offsetSign = '-';\n }\n return year + '-' + month + '-' + day +\n 'T' + hours + ':' + minutes + ':' + seconds +\n offsetSign + offsetHours + ':' + offsetMinutes;\n}","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/cssWithMappingToString.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".vue-tags-input{max-width:100%!important;display:block}.ti-input,.vue-tags-input{width:100%;border-radius:.25rem}.ti-input{max-width:100%}.ti-new-tag-input{font-size:1rem}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/transactions/TransactionTags.vue\"],\"names\":[],\"mappings\":\"AA2HA,gBAEA,wBAAA,CACA,aAEA,CAEA,0BANA,UAAA,CAGA,oBAOA,CAJA,UAEA,cAEA,CAEA,kBACA,cACA\",\"sourcesContent\":[\"<!--\\n - TransactionTags.vue\\n - Copyright (c) 2021 [email protected]\\n -\\n - This file is part of Firefly III (https://github.com/firefly-iii).\\n -\\n - This program is free software: you can redistribute it and/or modify\\n - it under the terms of the GNU Affero General Public License as\\n - published by the Free Software Foundation, either version 3 of the\\n - License, or (at your option) any later version.\\n -\\n - This program is distributed in the hope that it will be useful,\\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\\n - GNU Affero General Public License for more details.\\n -\\n - You should have received a copy of the GNU Affero General Public License\\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\\n -->\\n\\n<template>\\n <div class=\\\"form-group\\\">\\n <div class=\\\"text-xs d-none d-lg-block d-xl-block\\\">\\n {{ $t('firefly.tags') }}\\n </div>\\n <div class=\\\"input-group\\\">\\n <vue-tags-input\\n v-model=\\\"currentTag\\\"\\n :add-only-from-autocomplete=\\\"false\\\"\\n :autocomplete-items=\\\"autocompleteItems\\\"\\n :tags=\\\"tags\\\"\\n :title=\\\"$t('firefly.tags')\\\"\\n v-bind:placeholder=\\\"$t('firefly.tags')\\\"\\n @tags-changed=\\\"newTags => this.tags = newTags\\\"\\n />\\n </div>\\n <span v-if=\\\"errors.length > 0\\\">\\n <span v-for=\\\"error in errors\\\" class=\\\"text-danger small\\\">{{ error }}<br/></span>\\n </span>\\n </div>\\n</template>\\n\\n<script>\\nimport VueTagsInput from \\\"@johmun/vue-tags-input\\\";\\nimport axios from \\\"axios\\\";\\n\\nexport default {\\n name: \\\"TransactionTags\\\",\\n components: {\\n VueTagsInput\\n },\\n props: ['value', 'index', 'errors'],\\n data() {\\n return {\\n autocompleteItems: [],\\n debounce: null,\\n tags: [],\\n currentTag: '',\\n updateTags: true, // the idea is that this is always true, except when the tags-function sets the value.\\n tagList: this.value,\\n emitEvent: true\\n };\\n },\\n created() {\\n let tags = [];\\n for (let i in this.value) {\\n if (this.value.hasOwnProperty(i) && /^0$|^[1-9]\\\\d*$/.test(i) && i <= 4294967294) {\\n tags.push({text: this.value[i]});\\n }\\n }\\n this.updateTags = false;\\n this.tags = tags;\\n },\\n watch: {\\n 'currentTag': 'initItems',\\n value: function (value) {\\n this.emitEvent = false;\\n this.tagList = value;\\n },\\n tagList: function (value) {\\n // console.log('watch tagList');\\n if (true === this.emitEvent) {\\n this.$emit('set-field', {field: 'tags', index: this.index, value: value});\\n }\\n this.emitEvent = true;\\n this.updateTags = false;\\n this.tags = value;\\n },\\n tags: function (value) {\\n if (this.updateTags) {\\n let shortList = [];\\n for (let key in value) {\\n if (value.hasOwnProperty(key)) {\\n shortList.push({text: value[key].text});\\n }\\n }\\n this.tagList = shortList;\\n }\\n this.updateTags = true;\\n }\\n },\\n methods: {\\n initItems() {\\n if (this.currentTag.length < 2) {\\n return;\\n }\\n const url = document.getElementsByTagName('base')[0].href + `api/v1/autocomplete/tags?query=${this.currentTag}`;\\n\\n clearTimeout(this.debounce);\\n this.debounce = setTimeout(() => {\\n axios.get(url).then(response => {\\n this.autocompleteItems = response.data.map(item => {\\n return {text: item.tag};\\n });\\n }).catch(() => console.warn('Oh. Something went wrong loading tags.'));\\n }, 300);\\n },\\n },\\n\\n\\n}\\n</script>\\n<style>\\n.vue-tags-input {\\n width: 100%;\\n max-width: 100% !important;\\n display: block;\\n border-radius: 0.25rem;\\n}\\n\\n.ti-input {\\n border-radius: 0.25rem;\\n max-width: 100%;\\n width: 100%;\\n}\\n\\n.ti-new-tag-input {\\n font-size: 1rem;\\n}\\n</style>\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","<!--\n - Alert.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n<template>\n <div v-if=\"message.length > 0\" :class=\"'alert alert-' + type + ' alert-dismissible'\">\n <button aria-hidden=\"true\" class=\"close\" data-dismiss=\"alert\" type=\"button\">×</button>\n <h5>\n <i v-if=\"'danger' === type\" class=\"icon fas fa-ban\"></i>\n <i v-if=\"'success' === type\" class=\"icon fas fa-thumbs-up\"></i>\n <span v-if=\"'danger' === type\">{{ $t(\"firefly.flash_error\") }}</span>\n <span v-if=\"'success' === type\">{{ $t(\"firefly.flash_success\") }}</span>\n </h5>\n <span v-html=\"message\"></span>\n </div>\n</template>\n<script>\nexport default {\n name: \"Alert\",\n props: ['message', 'type']\n}\n</script>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Alert.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Alert.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Alert.vue?vue&type=template&id=df266c68&\"\nimport script from \"./Alert.vue?vue&type=script&lang=js&\"\nexport * from \"./Alert.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.message.length > 0)?_c('div',{class:'alert alert-' + _vm.type + ' alert-dismissible'},[_c('button',{staticClass:\"close\",attrs:{\"aria-hidden\":\"true\",\"data-dismiss\":\"alert\",\"type\":\"button\"}},[_vm._v(\"×\")]),_vm._v(\" \"),_c('h5',[('danger' === _vm.type)?_c('i',{staticClass:\"icon fas fa-ban\"}):_vm._e(),_vm._v(\" \"),('success' === _vm.type)?_c('i',{staticClass:\"icon fas fa-thumbs-up\"}):_vm._e(),_vm._v(\" \"),('danger' === _vm.type)?_c('span',[_vm._v(_vm._s(_vm.$t(\"firefly.flash_error\")))]):_vm._e(),_vm._v(\" \"),('success' === _vm.type)?_c('span',[_vm._v(_vm._s(_vm.$t(\"firefly.flash_success\")))]):_vm._e()]),_vm._v(\" \"),_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.message)}})]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:'tab-pane' + (0 === _vm.index ? ' active' : ''),attrs:{\"id\":'split_' + _vm.index}},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.basic_journal_information'))+\"\\n \"),(_vm.count > 1)?_c('span',[_vm._v(\"(\"+_vm._s(_vm.index + 1)+\" / \"+_vm._s(_vm.count)+\") \")]):_vm._e()]),_vm._v(\" \"),(_vm.count>1)?_c('div',{staticClass:\"card-tools\"},[_c('button',{staticClass:\"btn btn-danger btn-xs\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.removeTransaction}},[_c('i',{staticClass:\"fas fa-trash-alt\"})])]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('TransactionDescription',_vm._g({attrs:{\"errors\":_vm.transaction.errors.description,\"index\":_vm.index},model:{value:(_vm.transaction.description),callback:function ($$v) {_vm.$set(_vm.transaction, \"description\", $$v)},expression:\"transaction.description\"}},_vm.$listeners))],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12\"},[_c('TransactionAccount',_vm._g({attrs:{\"destination-allowed-types\":_vm.destinationAllowedTypes,\"errors\":_vm.transaction.errors.source,\"index\":_vm.index,\"source-allowed-types\":_vm.sourceAllowedTypes,\"transaction-type\":_vm.transactionType,\"direction\":\"source\"},model:{value:(_vm.sourceAccount),callback:function ($$v) {_vm.sourceAccount=$$v},expression:\"sourceAccount\"}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block\"},[(0 === _vm.index && _vm.allowSwitch)?_c('SwitchAccount',_vm._g({attrs:{\"index\":_vm.index,\"transaction-type\":_vm.transactionType}},_vm.$listeners)):_vm._e()],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionAccount',_vm._g({attrs:{\"destination-allowed-types\":_vm.destinationAllowedTypes,\"errors\":_vm.transaction.errors.destination,\"index\":_vm.index,\"transaction-type\":_vm.transactionType,\"source-allowed-types\":_vm.sourceAllowedTypes,\"direction\":\"destination\"},model:{value:(_vm.destinationAccount),callback:function ($$v) {_vm.destinationAccount=$$v},expression:\"destinationAccount\"}},_vm.$listeners))],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12\"},[_c('TransactionAmount',_vm._g({attrs:{\"amount\":_vm.transaction.amount,\"destination-currency-symbol\":this.transaction.destination_account_currency_symbol,\"errors\":_vm.transaction.errors.amount,\"index\":_vm.index,\"source-currency-symbol\":this.transaction.source_account_currency_symbol,\"transaction-type\":this.transactionType}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block\"},[_c('TransactionForeignCurrency',_vm._g({attrs:{\"destination-currency-id\":this.transaction.destination_account_currency_id,\"index\":_vm.index,\"selected-currency-id\":this.transaction.foreign_currency_id,\"source-currency-id\":this.transaction.source_account_currency_id,\"transaction-type\":this.transactionType},model:{value:(_vm.transaction.foreign_currency_id),callback:function ($$v) {_vm.$set(_vm.transaction, \"foreign_currency_id\", $$v)},expression:\"transaction.foreign_currency_id\"}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionForeignAmount',_vm._g({attrs:{\"destination-currency-id\":this.transaction.destination_account_currency_id,\"errors\":_vm.transaction.errors.foreign_amount,\"index\":_vm.index,\"selected-currency-id\":this.transaction.foreign_currency_id,\"source-currency-id\":this.transaction.source_account_currency_id,\"transaction-type\":this.transactionType},model:{value:(_vm.transaction.foreign_amount),callback:function ($$v) {_vm.$set(_vm.transaction, \"foreign_amount\", $$v)},expression:\"transaction.foreign_amount\"}},_vm.$listeners))],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionDate',_vm._g({attrs:{\"date\":_vm.splitDate,\"errors\":_vm.transaction.errors.date,\"index\":_vm.index}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12 offset-xl-2 offset-lg-2\"},[_c('TransactionCustomDates',_vm._g({attrs:{\"book-date\":_vm.transaction.book_date,\"custom-fields\":_vm.customFields,\"due-date\":_vm.transaction.due_date,\"errors\":_vm.transaction.errors.custom_dates,\"index\":_vm.index,\"interest-date\":_vm.transaction.interest_date,\"invoice-date\":_vm.transaction.invoice_date,\"payment-date\":_vm.transaction.payment_date,\"process-date\":_vm.transaction.process_date},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}}},_vm.$listeners))],1)])])])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.transaction_journal_meta'))+\"\\n \"),(_vm.count > 1)?_c('span',[_vm._v(\"(\"+_vm._s(_vm.index + 1)+\" / \"+_vm._s(_vm.count)+\") \")]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[(!('Transfer' === _vm.transactionType || 'Deposit' === _vm.transactionType))?_c('TransactionBudget',_vm._g({attrs:{\"errors\":_vm.transaction.errors.budget,\"index\":_vm.index},model:{value:(_vm.transaction.budget_id),callback:function ($$v) {_vm.$set(_vm.transaction, \"budget_id\", $$v)},expression:\"transaction.budget_id\"}},_vm.$listeners)):_vm._e(),_vm._v(\" \"),_c('TransactionCategory',_vm._g({attrs:{\"errors\":_vm.transaction.errors.category,\"index\":_vm.index},model:{value:(_vm.transaction.category),callback:function ($$v) {_vm.$set(_vm.transaction, \"category\", $$v)},expression:\"transaction.category\"}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[(!('Transfer' === _vm.transactionType || 'Deposit' === _vm.transactionType))?_c('TransactionBill',_vm._g({attrs:{\"errors\":_vm.transaction.errors.bill,\"index\":_vm.index},model:{value:(_vm.transaction.bill_id),callback:function ($$v) {_vm.$set(_vm.transaction, \"bill_id\", $$v)},expression:\"transaction.bill_id\"}},_vm.$listeners)):_vm._e(),_vm._v(\" \"),_c('TransactionTags',_vm._g({attrs:{\"errors\":_vm.transaction.errors.tags,\"index\":_vm.index},model:{value:(_vm.transaction.tags),callback:function ($$v) {_vm.$set(_vm.transaction, \"tags\", $$v)},expression:\"transaction.tags\"}},_vm.$listeners)),_vm._v(\" \"),(!('Withdrawal' === _vm.transactionType || 'Deposit' === _vm.transactionType))?_c('TransactionPiggyBank',_vm._g({attrs:{\"errors\":_vm.transaction.errors.piggy_bank,\"index\":_vm.index},model:{value:(_vm.transaction.piggy_bank_id),callback:function ($$v) {_vm.$set(_vm.transaction, \"piggy_bank_id\", $$v)},expression:\"transaction.piggy_bank_id\"}},_vm.$listeners)):_vm._e()],1)])])])])]),_vm._v(\" \"),(_vm.hasMetaFields)?_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.transaction_journal_extra'))+\"\\n \"),(_vm.count > 1)?_c('span',[_vm._v(\"(\"+_vm._s(_vm.index + 1)+\" / \"+_vm._s(_vm.count)+\") \")]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionInternalReference',_vm._g({attrs:{\"custom-fields\":_vm.customFields,\"errors\":_vm.transaction.errors.internal_reference,\"index\":_vm.index},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.internal_reference),callback:function ($$v) {_vm.$set(_vm.transaction, \"internal_reference\", $$v)},expression:\"transaction.internal_reference\"}},_vm.$listeners)),_vm._v(\" \"),_c('TransactionExternalUrl',_vm._g({attrs:{\"custom-fields\":_vm.customFields,\"errors\":_vm.transaction.errors.external_url,\"index\":_vm.index},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.external_url),callback:function ($$v) {_vm.$set(_vm.transaction, \"external_url\", $$v)},expression:\"transaction.external_url\"}},_vm.$listeners)),_vm._v(\" \"),_c('TransactionNotes',_vm._g({attrs:{\"custom-fields\":_vm.customFields,\"errors\":_vm.transaction.errors.notes,\"index\":_vm.index},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.notes),callback:function ($$v) {_vm.$set(_vm.transaction, \"notes\", $$v)},expression:\"transaction.notes\"}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionAttachments',_vm._g({ref:\"attachments\",attrs:{\"custom-fields\":_vm.customFields,\"index\":_vm.index,\"transaction_journal_id\":_vm.transaction.transaction_journal_id,\"upload-trigger\":_vm.transaction.uploadTrigger,\"clear-trigger\":_vm.transaction.clearTrigger},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.attachments),callback:function ($$v) {_vm.$set(_vm.transaction, \"attachments\", $$v)},expression:\"transaction.attachments\"}},_vm.$listeners)),_vm._v(\" \"),_c('TransactionLocation',_vm._g({attrs:{\"custom-fields\":_vm.customFields,\"errors\":_vm.transaction.errors.location,\"index\":_vm.index},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.location),callback:function ($$v) {_vm.$set(_vm.transaction, \"location\", $$v)},expression:\"transaction.location\"}},_vm.$listeners)),_vm._v(\" \"),_c('TransactionLinks',_vm._g({attrs:{\"custom-fields\":_vm.customFields,\"index\":_vm.index},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.links),callback:function ($$v) {_vm.$set(_vm.transaction, \"links\", $$v)},expression:\"transaction.links\"}},_vm.$listeners))],1)])])])])]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionDescription.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <vue-typeahead-bootstrap\n v-model=\"description\"\n :data=\"descriptions\"\n :inputClass=\"errors.length > 0 ? 'is-invalid' : ''\"\n :minMatchingChars=\"3\"\n :placeholder=\"$t('firefly.description')\"\n :serializer=\"item => item.description\"\n :showOnFocus=true\n autofocus\n inputName=\"description[]\"\n @input=\"lookupDescription\"\n >\n <template slot=\"append\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\" v-on:click=\"clearDescription\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </template>\n </vue-typeahead-bootstrap>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nimport VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';\nimport {debounce} from \"lodash\";\n\nexport default {\n props: ['index', 'value', 'errors'],\n components: {VueTypeaheadBootstrap},\n name: \"TransactionDescription\",\n data() {\n return {\n descriptions: [],\n initialSet: [],\n description: this.value,\n }\n },\n created() {\n axios.get(this.getACURL(''))\n .then(response => {\n this.descriptions = response.data;\n this.initialSet = response.data;\n });\n },\n\n methods: {\n clearDescription: function () {\n this.description = '';\n },\n getACURL: function (query) {\n // update autocomplete URL:\n return document.getElementsByTagName('base')[0].href + 'api/v1/autocomplete/transactions?query=' + query;\n },\n lookupDescription: debounce(function () {\n // update autocomplete URL:\n axios.get(this.getACURL(this.value))\n .then(response => {\n this.descriptions = response.data;\n })\n }, 300)\n },\n watch: {\n value: function (value) {\n this.description = value;\n },\n description: function (value) {\n this.$emit('set-field', {field: 'description', index: this.index, value: value});\n }\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionDescription.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionDescription.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionDescription.vue?vue&type=template&id=05752163&\"\nimport script from \"./TransactionDescription.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionDescription.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('vue-typeahead-bootstrap',{attrs:{\"data\":_vm.descriptions,\"inputClass\":_vm.errors.length > 0 ? 'is-invalid' : '',\"minMatchingChars\":3,\"placeholder\":_vm.$t('firefly.description'),\"serializer\":function (item) { return item.description; },\"showOnFocus\":true,\"autofocus\":\"\",\"inputName\":\"description[]\"},on:{\"input\":_vm.lookupDescription},model:{value:(_vm.description),callback:function ($$v) {_vm.description=$$v},expression:\"description\"}},[_c('template',{slot:\"append\"},[_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"},on:{\"click\":_vm.clearDescription}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])],2),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionDate.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\" v-if=\"0===index\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.date_and_time') }}\n </div>\n <div class=\"input-group\">\n <input\n ref=\"date\"\n v-model=\"dateStr\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"dateStr\"\n :title=\"$t('firefly.date')\"\n autocomplete=\"off\"\n name=\"date[]\"\n type=\"date\"\n >\n <input\n ref=\"time\"\n v-model=\"timeStr\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"timeStr\"\n :title=\"$t('firefly.time')\"\n autocomplete=\"off\"\n name=\"time[]\"\n type=\"time\"\n >\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n <span class=\"text-muted small\">{{ localTimeZone }}:{{ systemTimeZone }}</span>\n </div>\n</template>\n\n<script>\n\nimport {mapGetters} from \"vuex\";\n\nexport default {\n props: ['index', 'errors', 'date'],\n name: \"TransactionDate\",\n created() {\n this.localTimeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;\n this.systemTimeZone = this.timezone;\n // console.log('TransactionDate: ' + this.date);\n // split date and time:\n let parts = this.date.split('T');\n this.dateStr = parts[0];\n this.timeStr = parts[1];\n\n },\n data() {\n return {\n localDate: this.date,\n localTimeZone: '',\n systemTimeZone: '',\n timeStr: '',\n dateStr: '',\n }\n },\n watch: {\n dateStr: function (value) {\n this.$emit('set-date', {date: value + 'T' + this.timeStr});\n },\n timeStr: function (value) {\n this.$emit('set-date', {date: this.dateStr + 'T' + value});\n }\n },\n methods: {},\n computed: {\n ...mapGetters('root', ['timezone']),\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionDate.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionDate.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionDate.vue?vue&type=template&id=67a4f77b&\"\nimport script from \"./TransactionDate.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionDate.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (0===_vm.index)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.date_and_time'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.dateStr),expression:\"dateStr\"}],ref:\"date\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.dateStr,\"title\":_vm.$t('firefly.date'),\"autocomplete\":\"off\",\"name\":\"date[]\",\"type\":\"date\"},domProps:{\"value\":(_vm.dateStr)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.dateStr=$event.target.value}}}),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.timeStr),expression:\"timeStr\"}],ref:\"time\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.timeStr,\"title\":_vm.$t('firefly.time'),\"autocomplete\":\"off\",\"name\":\"time[]\",\"type\":\"time\"},domProps:{\"value\":(_vm.timeStr)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.timeStr=$event.target.value}}})]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e(),_vm._v(\" \"),_c('span',{staticClass:\"text-muted small\"},[_vm._v(_vm._s(_vm.localTimeZone)+\":\"+_vm._s(_vm.systemTimeZone))])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionBudget.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.budget') }}\n </div>\n <div class=\"input-group\">\n <select\n ref=\"budget\"\n v-model=\"budget\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :title=\"$t('firefly.budget')\"\n autocomplete=\"off\"\n name=\"budget_id[]\"\n >\n <option v-for=\"budget in this.budgetList\" :label=\"budget.name\" :value=\"budget.id\">{{ budget.name }}</option>\n </select>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors'],\n name: \"TransactionBudget\",\n data() {\n return {\n budgetList: [],\n budget: this.value,\n emitEvent: true\n }\n },\n created() {\n this.collectData();\n },\n methods: {\n collectData() {\n this.budgetList.push(\n {\n id: 0,\n name: this.$t('firefly.no_budget'),\n }\n );\n this.getBudgets();\n },\n getBudgets() {\n axios.get('./api/v1/budgets')\n .then(response => {\n this.parseBudgets(response.data);\n }\n );\n },\n parseBudgets(data) {\n for (let key in data.data) {\n if (data.data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = data.data[key];\n if(!current.attributes.active) {\n continue;\n }\n this.budgetList.push(\n {\n id: parseInt(current.id),\n name: current.attributes.name\n }\n );\n }\n }\n },\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.budget = value;\n },\n budget: function (value) {\n this.$emit('set-field', {field: 'budget_id', index: this.index, value: value});\n }\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBudget.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBudget.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionBudget.vue?vue&type=template&id=54257463&\"\nimport script from \"./TransactionBudget.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionBudget.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.budget'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.budget),expression:\"budget\"}],ref:\"budget\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"title\":_vm.$t('firefly.budget'),\"autocomplete\":\"off\",\"name\":\"budget_id[]\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.budget=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((this.budgetList),function(budget){return _c('option',{attrs:{\"label\":budget.name},domProps:{\"value\":budget.id}},[_vm._v(_vm._s(budget.name))])}),0)]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionAccount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div v-if=\"visible\" class=\"text-xs d-none d-lg-block d-xl-block\">\n <span v-if=\"0 === this.index\">{{ $t('firefly.' + this.direction + '_account') }}</span>\n <span v-if=\"this.index > 0\" class=\"text-warning\">{{ $t('firefly.first_split_overrules_' + this.direction) }}</span>\n <!--<br><span>{{ selectedAccount }}</span>-->\n </div>\n <div v-if=\"!visible\" class=\"text-xs d-none d-lg-block d-xl-block\">\n \n </div>\n <vue-typeahead-bootstrap\n v-if=\"visible\"\n v-model=\"accountName\"\n :data=\"accounts\"\n :inputClass=\"errors.length > 0 ? 'is-invalid' : ''\"\n :inputName=\"direction + '[]'\"\n :minMatchingChars=\"3\"\n :placeholder=\"$t('firefly.' + direction + '_account')\"\n :serializer=\"item => item.name_with_balance\"\n :showOnFocus=true\n aria-autocomplete=\"none\"\n autocomplete=\"off\"\n @hit=\"userSelectedAccount\"\n @input=\"lookupAccount\"\n >\n\n <template slot=\"suggestion\" slot-scope=\"{ data, htmlText }\">\n <div :title=\"data.type\" class=\"d-flex\">\n <span v-html=\"htmlText\"></span><br>\n </div>\n </template>\n <template slot=\"append\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\" v-on:click=\"clearAccount\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </template>\n </vue-typeahead-bootstrap>\n <div v-if=\"!visible\" class=\"form-control-static\">\n <span class=\"small text-muted\"><em>{{ $t('firefly.first_split_decides') }}</em></span>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nimport VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';\nimport {debounce} from 'lodash';\n\nexport default {\n name: \"TransactionAccount\",\n components: {VueTypeaheadBootstrap},\n props: {\n index: {\n type: Number,\n },\n direction: {\n type: String,\n },\n value: {\n type: Object,\n default: () => ({})\n },\n errors: {\n type: Array,\n default: () => ([])\n },\n sourceAllowedTypes: {\n type: Array,\n default: () => ([])\n },\n destinationAllowedTypes: {\n type: Array,\n default: () => ([])\n },\n transactionType: {\n type: String,\n default: 'any'\n },\n },\n data() {\n return {\n query: '',\n accounts: [],\n accountTypes: [],\n initialSet: [],\n selectedAccount: {},\n accountName: '',\n selectedAccountTrigger: false,\n }\n },\n created() {\n this.accountName = this.value.name ?? '';\n // console.log('TransactionAccount::created() direction=' + this.direction + ', type=' + this.transactionType + ' , name=\"' + this.accountName + '\"');\n this.selectedAccountTrigger = true;\n },\n methods: {\n getACURL: function (types, query) {\n return './api/v1/autocomplete/accounts?types=' + types.join(',') + '&query=' + query;\n },\n userSelectedAccount: function (event) {\n // console.log('userSelectedAccount!');\n // console.log('To prevent invalid propogation, set selectedAccountTrigger = true');\n this.selectedAccountTrigger = true;\n this.selectedAccount = event;\n },\n systemReturnedAccount: function (event) {\n //console.log('systemReturnedAccount!');\n //console.log('To prevent invalid propogation, set selectedAccountTrigger = false');\n this.selectedAccountTrigger = false;\n this.selectedAccount = event;\n },\n clearAccount: function () {\n //// console.log('TransactionAccount::clearAccount()');\n this.accounts = this.initialSet;\n //this.account = {name: '', type: 'no_type', id: null, currency_id: null, currency_code: null, currency_symbol: null};\n this.accountName = '';\n },\n lookupAccount: debounce(function () {\n //// console.log('TransactionAccount::lookupAccount()');\n //// console.log('In lookupAccount()');\n if (0 === this.accountTypes.length) {\n // set the types from the default types for this direction:\n this.accountTypes = 'source' === this.direction ? this.sourceAllowedTypes : this.destinationAllowedTypes;\n }\n // // console.log(this.direction + ': Will search for types:');\n // // console.log(this.accountTypes);\n\n // update autocomplete URL:\n axios.get(this.getACURL(this.accountTypes, this.accountName))\n .then(response => {\n //// console.log('Got a response!');\n this.accounts = response.data;\n //// console.log(response.data);\n })\n }, 300),\n\n createInitialSet: function () {\n //// console.log('TransactionAccount::createInitialSet()');\n let types = this.sourceAllowedTypes;\n if ('destination' === this.direction) {\n types = this.destinationAllowedTypes;\n }\n // // console.log('createInitialSet() direction=' + this.direction + ' resets to these types:');\n // // console.log(types);\n\n axios.get(this.getACURL(types, ''))\n .then(response => {\n this.accounts = response.data;\n this.initialSet = response.data;\n });\n }\n },\n watch: {\n sourceAllowedTypes: function (value) {\n //// console.log('TransactionAccount::sourceAllowedTypes()');\n // // console.log(this.direction + ' account noticed change in sourceAllowedTypes');\n // // console.log(value);\n this.createInitialSet();\n },\n destinationAllowedTypes: function (value) {\n //// console.log('TransactionAccount::destinationAllowedTypes()');\n // // console.log(this.direction + ' account noticed change in destinationAllowedTypes');\n // // console.log(value);\n this.createInitialSet();\n },\n /**\n * Triggered when the user selects an account from the auto-complete.\n *\n * @param value\n */\n selectedAccount: function (value) {\n //console.log('TransactionAccount::watch selectedAccount()');\n // console.log(value);\n if (true === this.selectedAccountTrigger) {\n // console.log('$emit alles!');\n this.$emit('set-account',\n {\n index: this.index,\n direction: this.direction,\n id: value.id,\n type: value.type,\n name: value.name,\n currency_id: value.currency_id,\n currency_code: value.currency_code,\n currency_symbol: value.currency_symbol,\n }\n );\n //console.log('watch::selectedAccount() will now set accountName because selectedAccountTrigger = true');\n this.accountName = value.name;\n }\n if (false === this.selectedAccountTrigger) {\n //console.log('watch::selectedAccount() will NOT set accountName because selectedAccountTrigger = false');\n }\n if (false === this.selectedAccountTrigger && this.accountName !== value.name && null !== value.name) {\n //console.log('watch::selectedAccount() will set accountName. selectedAccountTrigger = false but name is different (\"' + this.accountName + '\" > \"' + value.name + '\")');\n this.selectedAccountTrigger = true;\n this.accountName = value.name;\n }\n\n },\n accountName: function (value) {\n // console.log('now at watch accountName(\"' + value + '\")');\n // console.log(this.selectedAccountTrigger);\n if (true === this.selectedAccountTrigger) {\n // console.log('Do nothing because selectedAccountTrigger = true');\n }\n if (false === this.selectedAccountTrigger) {\n // console.log('$emit name from watch::accountName() because selectedAccountTrigger = false');\n this.$emit('set-account',\n {\n index: this.index,\n direction: this.direction,\n id: null,\n type: null,\n name: value,\n currency_id: null,\n currency_code: null,\n currency_symbol: null,\n }\n );\n // this.account = {name: value, type: null, id: null, currency_id: null, currency_code: null, currency_symbol: null};\n }\n // console.log('set selectedAccountTrigger to be FALSE');\n this.selectedAccountTrigger = false;\n },\n value: function (value) {\n //console.log('TransactionAccount(' + this.index + ')::watch value(' + JSON.stringify(value) + ')');\n this.systemReturnedAccount(value);\n\n // // console.log('Index ' + this.index + ' nwAct: ', value);\n // // console.log(this.direction + ' account overruled by external forces.');\n // // console.log(value);\n //this.account = value;\n //this.selectedAccountTrigger = true;\n // this.accountName = value.name ?? '';\n // if(null !== value.id) {\n // return;\n // }\n // this.selectedAccountTrigger = true;\n //\n // // console.log('Set selectedAccountTrigger = true');\n // this.selectedAccount = value;\n }\n },\n computed: {\n accountKey: {\n get() {\n return 'source' === this.direction ? 'source_account' : 'destination_account';\n }\n },\n visible: {\n get() {\n // index 0 is always visible:\n if (0 === this.index) {\n return true;\n }\n // // console.log('Direction of account ' + this.index + ' is ' + this.direction + '(' + this.transactionType + ')');\n // // console.log(this.transactionType);\n if ('source' === this.direction) {\n return 'any' === this.transactionType || 'Deposit' === this.transactionType || typeof this.transactionType === 'undefined';\n }\n if ('destination' === this.direction) {\n return 'any' === this.transactionType || 'Withdrawal' === this.transactionType || typeof this.transactionType === 'undefined';\n }\n return false;\n }\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAccount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAccount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionAccount.vue?vue&type=template&id=4fd82812&\"\nimport script from \"./TransactionAccount.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionAccount.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[(_vm.visible)?_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[(0 === this.index)?_c('span',[_vm._v(_vm._s(_vm.$t('firefly.' + this.direction + '_account')))]):_vm._e(),_vm._v(\" \"),(this.index > 0)?_c('span',{staticClass:\"text-warning\"},[_vm._v(_vm._s(_vm.$t('firefly.first_split_overrules_' + this.direction)))]):_vm._e()]):_vm._e(),_vm._v(\" \"),(!_vm.visible)?_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \\n \")]):_vm._e(),_vm._v(\" \"),(_vm.visible)?_c('vue-typeahead-bootstrap',{attrs:{\"data\":_vm.accounts,\"inputClass\":_vm.errors.length > 0 ? 'is-invalid' : '',\"inputName\":_vm.direction + '[]',\"minMatchingChars\":3,\"placeholder\":_vm.$t('firefly.' + _vm.direction + '_account'),\"serializer\":function (item) { return item.name_with_balance; },\"showOnFocus\":true,\"aria-autocomplete\":\"none\",\"autocomplete\":\"off\"},on:{\"hit\":_vm.userSelectedAccount,\"input\":_vm.lookupAccount},scopedSlots:_vm._u([{key:\"suggestion\",fn:function(ref){\nvar data = ref.data;\nvar htmlText = ref.htmlText;\nreturn [_c('div',{staticClass:\"d-flex\",attrs:{\"title\":data.type}},[_c('span',{domProps:{\"innerHTML\":_vm._s(htmlText)}}),_c('br')])]}}],null,false,1423807661),model:{value:(_vm.accountName),callback:function ($$v) {_vm.accountName=$$v},expression:\"accountName\"}},[_vm._v(\" \"),_c('template',{slot:\"append\"},[_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"},on:{\"click\":_vm.clearAccount}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])],2):_vm._e(),_vm._v(\" \"),(!_vm.visible)?_c('div',{staticClass:\"form-control-static\"},[_c('span',{staticClass:\"small text-muted\"},[_c('em',[_vm._v(_vm._s(_vm.$t('firefly.first_split_decides')))])])]):_vm._e(),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - SwitchAccount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n <span v-if=\"'any' !== this.transactionType\" class=\"text-muted\">\n {{ $t('firefly.' + this.transactionType) }}\n </span>\n <span v-if=\"'any' === this.transactionType\" class=\"text-muted\"> </span>\n </div>\n <!--\n <div class=\"btn-group d-flex\">\n <button class=\"btn btn-light\" @click=\"switchAccounts\">↔</button>\n </div>\n -->\n </div>\n</template>\n\n<script>\nexport default {\n name: \"SwitchAccount\",\n props: ['index', 'transactionType'],\n methods: {\n // switchAccounts() {\n // this.$emit('switch-accounts', this.index);\n // }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SwitchAccount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SwitchAccount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SwitchAccount.vue?vue&type=template&id=66a3afa9&scoped=true&\"\nimport script from \"./SwitchAccount.vue?vue&type=script&lang=js&\"\nexport * from \"./SwitchAccount.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 \"66a3afa9\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[('any' !== this.transactionType)?_c('span',{staticClass:\"text-muted\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.' + this.transactionType))+\"\\n \")]):_vm._e(),_vm._v(\" \"),('any' === this.transactionType)?_c('span',{staticClass:\"text-muted\"},[_vm._v(\" \")]):_vm._e()])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionAmount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs\">{{ $t('firefly.amount') }}</div>\n <div class=\"input-group\">\n <div v-if=\"currencySymbol\" class=\"input-group-prepend\">\n <div class=\"input-group-text\">{{ currencySymbol }}</div>\n </div>\n <input\n v-model=\"transactionAmount\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.amount')\"\n :title=\"$t('firefly.amount')\"\n autocomplete=\"off\"\n name=\"amount[]\"\n type=\"number\"\n step=\"any\"\n >\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nexport default {\n name: \"TransactionAmount\",\n props: {\n index: {\n type: Number,\n default: 0,\n required: true\n },\n errors: {},\n amount: {},\n transactionType: {},\n sourceCurrencySymbol: {},\n destinationCurrencySymbol: {},\n fractionDigits: {\n default: 2,\n required: false\n },\n },\n created() {\n if ('' !== this.amount) {\n this.emitEvent = false;\n this.transactionAmount = this.formatNumber(this.amount);\n }\n },\n methods: {\n formatNumber(str) {\n return parseFloat(str).toFixed(this.fractionDigits);\n }\n },\n data() {\n return {\n transactionAmount: this.amount,\n currencySymbol: null,\n srcCurrencySymbol: this.sourceCurrencySymbol,\n dstCurrencySymbol: this.destinationCurrencySymbol,\n emitEvent: true\n }\n },\n watch: {\n transactionAmount: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'amount', index: this.index, value: value});\n }\n this.emitEvent = true;\n },\n amount: function (value) {\n this.transactionAmount = value;\n },\n sourceCurrencySymbol: function (value) {\n this.srcCurrencySymbol = value;\n },\n destinationCurrencySymbol: function (value) {\n this.dstCurrencySymbol = value;\n },\n transactionType: function (value) {\n switch (value) {\n case 'Transfer':\n case 'Withdrawal':\n this.currencySymbol = this.srcCurrencySymbol;\n break;\n case 'Deposit':\n this.currencySymbol = this.dstCurrencySymbol;\n }\n },\n },\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAmount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAmount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionAmount.vue?vue&type=template&id=571f2c0a&scoped=true&\"\nimport script from \"./TransactionAmount.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionAmount.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 \"571f2c0a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs\"},[_vm._v(_vm._s(_vm.$t('firefly.amount')))]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[(_vm.currencySymbol)?_c('div',{staticClass:\"input-group-prepend\"},[_c('div',{staticClass:\"input-group-text\"},[_vm._v(_vm._s(_vm.currencySymbol))])]):_vm._e(),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.transactionAmount),expression:\"transactionAmount\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.amount'),\"title\":_vm.$t('firefly.amount'),\"autocomplete\":\"off\",\"name\":\"amount[]\",\"type\":\"number\",\"step\":\"any\"},domProps:{\"value\":(_vm.transactionAmount)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.transactionAmount=$event.target.value}}})]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionForeignAmount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <!-- FOREIGN AMOUNT -->\n <div v-if=\"isVisible\" class=\"form-group\">\n <div class=\"text-xs\">{{ $t('form.foreign_amount') }}</div>\n <div class=\"input-group\">\n <input\n v-model=\"amount\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('form.foreign_amount')\"\n :title=\"$t('form.foreign_amount')\"\n autocomplete=\"off\"\n name=\"foreign_amount[]\"\n type=\"number\"\n >\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"TransactionForeignAmount\",\n props: {\n index: {},\n errors: {},\n value: {},\n transactionType: {},\n sourceCurrencyId: {},\n destinationCurrencyId: {},\n fractionDigits: {\n type: Number,\n default: 2\n }\n },\n data() {\n return {\n amount: this.value,\n emitEvent: true\n }\n },\n created() {\n if ('' !== this.amount) {\n this.emitEvent = false;\n this.amount = this.formatNumber(this.amount);\n }\n },\n methods: {\n formatNumber(str) {\n return parseFloat(str).toFixed(this.fractionDigits);\n }\n },\n watch: {\n amount: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'foreign_amount', index: this.index, value: value});\n }\n this.emitEvent = true;\n },\n value: function (value) {\n this.amount = value;\n\n\n }\n },\n computed: {\n isVisible: {\n get() {\n return !('Transfer' === this.transactionType && this.sourceCurrencyId === this.destinationCurrencyId);\n }\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignAmount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignAmount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionForeignAmount.vue?vue&type=template&id=d13f8bea&scoped=true&\"\nimport script from \"./TransactionForeignAmount.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionForeignAmount.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 \"d13f8bea\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isVisible)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs\"},[_vm._v(_vm._s(_vm.$t('form.foreign_amount')))]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.amount),expression:\"amount\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('form.foreign_amount'),\"title\":_vm.$t('form.foreign_amount'),\"autocomplete\":\"off\",\"name\":\"foreign_amount[]\",\"type\":\"number\"},domProps:{\"value\":(_vm.amount)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.amount=$event.target.value}}})]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionForeignCurrency.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <!-- FOREIGN Currency -->\n <div v-if=\"isVisible\" class=\"form-group\">\n <div class=\"text-xs\"> </div>\n <div class=\"input-group\">\n <select v-model=\"selectedCurrency\" class=\"form-control\" name=\"foreign_currency_id[]\">\n <option v-for=\"currency in selectableCurrencies\" :label=\"currency.name\" :value=\"currency.id\">{{ currency.name }}</option>\n </select>\n </div>\n </div>\n</template>\n<script>\n\nexport default {\n name: \"TransactionForeignCurrency\",\n props: [\n 'index',\n 'transactionType',\n 'sourceCurrencyId',\n 'destinationCurrencyId',\n 'selectedCurrencyId',\n 'value'\n ],\n data() {\n return {\n selectedCurrency: this.value,\n allCurrencies: [],\n selectableCurrencies: [],\n dstCurrencyId: this.destinationCurrencyId,\n srcCurrencyId: this.sourceCurrencyId,\n lockedCurrency: 0,\n emitEvent: true\n }\n },\n watch: {\n value: function (value) {\n this.selectedCurrency = value;\n },\n sourceCurrencyId: function (value) {\n this.srcCurrencyId = value;\n },\n destinationCurrencyId: function (value) {\n this.dstCurrencyId = value;\n },\n selectedCurrency: function (value) {\n this.$emit('set-field', {field: 'foreign_currency_id', index: this.index, value: value});\n },\n transactionType: function (value) {\n this.lockedCurrency = 0;\n if ('Transfer' === value) {\n this.lockedCurrency = this.dstCurrencyId;\n this.selectedCurrency = this.dstCurrencyId;\n }\n this.filterCurrencies();\n },\n },\n created: function () {\n this.getAllCurrencies();\n },\n methods: {\n getAllCurrencies: function () {\n axios.get('./api/v1/autocomplete/currencies')\n .then(response => {\n this.allCurrencies = response.data;\n this.filterCurrencies();\n }\n );\n\n },\n filterCurrencies() {\n // if a currency is locked only that currency can (and must) be selected:\n if (0 !== this.lockedCurrency) {\n for (let key in this.allCurrencies) {\n if (this.allCurrencies.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = this.allCurrencies[key];\n if (current.id === this.lockedCurrency) {\n this.selectableCurrencies = [current];\n this.selectedCurrency = current.id;\n }\n }\n }\n return;\n }\n\n this.selectableCurrencies = [\n {\n \"id\": 0,\n \"name\": this.$t('firefly.no_currency')\n }\n ];\n for (let key in this.allCurrencies) {\n if (this.allCurrencies.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = this.allCurrencies[key];\n this.selectableCurrencies.push(current);\n }\n }\n }\n },\n computed: {\n isVisible: function () {\n return !('Transfer' === this.transactionType && this.srcCurrencyId === this.dstCurrencyId);\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignCurrency.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignCurrency.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionForeignCurrency.vue?vue&type=template&id=3ee4efa5&scoped=true&\"\nimport script from \"./TransactionForeignCurrency.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionForeignCurrency.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 \"3ee4efa5\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isVisible)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs\"},[_vm._v(\" \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedCurrency),expression:\"selectedCurrency\"}],staticClass:\"form-control\",attrs:{\"name\":\"foreign_currency_id[]\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selectedCurrency=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((_vm.selectableCurrencies),function(currency){return _c('option',{attrs:{\"label\":currency.name},domProps:{\"value\":currency.id}},[_vm._v(_vm._s(currency.name))])}),0)])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionCustomDates.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div>\n <div v-for=\"(enabled, name) in availableFields\" class=\"form-group\">\n <div v-if=\"enabled && isDateField(name)\" class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('form.' + name) }}\n </div>\n <div v-if=\"enabled && isDateField(name)\" class=\"input-group\">\n <input\n :ref=\"name\"\n :name=\"name + '[]'\"\n :placeholder=\"$t('form.' + name)\"\n :title=\"$t('form.' + name)\"\n :value=\"getFieldValue(name)\"\n autocomplete=\"off\"\n class=\"form-control\"\n type=\"date\"\n @change=\"setFieldValue($event, name)\"\n >\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"TransactionCustomDates\",\n props: [\n 'index',\n 'errors',\n 'customFields',\n 'interestDate',\n 'bookDate',\n 'processDate',\n 'dueDate',\n 'paymentDate',\n 'invoiceDate'\n ],\n data() {\n return {\n dateFields: ['interest_date', 'book_date', 'process_date', 'due_date', 'payment_date', 'invoice_date'],\n availableFields: this.customFields,\n dates: {\n interest_date: this.interestDate,\n book_date: this.bookDate,\n process_date: this.processDate,\n due_date: this.dueDate,\n payment_date: this.paymentDate,\n invoice_date: this.invoiceDate,\n }\n ,\n }\n },\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n interestDate: function (value) {\n this.dates.interest_date = value;\n },\n bookDate: function (value) {\n this.dates.book_date = value;\n },\n processDate: function (value) {\n this.dates.process_date = value;\n },\n dueDate: function (value) {\n this.dates.due_date = value;\n },\n paymentDate: function (value) {\n this.dates.payment_date = value;\n },\n invoiceDate: function (value) {\n this.dates.invoice_date = value;\n },\n },\n methods: {\n isDateField: function (name) {\n return this.dateFields.includes(name)\n },\n getFieldValue(field) {\n return this.dates[field] ?? '';\n },\n setFieldValue(event, field) {\n this.$emit('set-field', {field: field, index: this.index, value: event.target.value});\n },\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionCustomDates.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionCustomDates.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionCustomDates.vue?vue&type=template&id=728c6420&\"\nimport script from \"./TransactionCustomDates.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionCustomDates.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',_vm._l((_vm.availableFields),function(enabled,name){return _c('div',{staticClass:\"form-group\"},[(enabled && _vm.isDateField(name))?_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('form.' + name))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(enabled && _vm.isDateField(name))?_c('div',{staticClass:\"input-group\"},[_c('input',{ref:name,refInFor:true,staticClass:\"form-control\",attrs:{\"name\":name + '[]',\"placeholder\":_vm.$t('form.' + name),\"title\":_vm.$t('form.' + name),\"autocomplete\":\"off\",\"type\":\"date\"},domProps:{\"value\":_vm.getFieldValue(name)},on:{\"change\":function($event){return _vm.setFieldValue($event, name)}}})]):_vm._e()])}),0)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionCategory.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.category') }}\n </div>\n\n <vue-typeahead-bootstrap\n v-model=\"category\"\n :data=\"categories\"\n :inputClass=\"errors.length > 0 ? 'is-invalid' : ''\"\n :minMatchingChars=\"3\"\n :placeholder=\"$t('firefly.category')\"\n :serializer=\"item => item.name\"\n :showOnFocus=true\n inputName=\"category[]\"\n @hit=\"selectedCategory = $event\"\n @input=\"lookupCategory\"\n >\n <template slot=\"append\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\" v-on:click=\"clearCategory\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </template>\n </vue-typeahead-bootstrap>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nimport VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';\nimport {debounce} from \"lodash\";\n\nexport default {\n props: ['value', 'index', 'errors'],\n components: {VueTypeaheadBootstrap},\n name: \"TransactionCategory\",\n data() {\n return {\n categories: [],\n initialSet: [],\n category: this.value\n }\n },\n\n created() {\n //console.log('Created category(' + this.index + ') \"' + this.value + '\"');\n // initial list of accounts:\n axios.get(this.getACURL(''))\n .then(response => {\n this.categories = response.data;\n this.initialSet = response.data;\n });\n },\n\n methods: {\n clearCategory: function () {\n this.category = '';\n },\n getACURL: function (query) {\n // update autocomplete URL:\n // console.log('getACURL(\"' + query + '\")');\n return document.getElementsByTagName('base')[0].href + 'api/v1/autocomplete/categories?query=' + query;\n },\n lookupCategory: debounce(function () {\n // update autocomplete URL:\n //console.log('Do a search for \"'+this.category+'\"');\n axios.get(this.getACURL(this.category))\n .then(response => {\n this.categories = response.data;\n })\n }, 300)\n },\n watch: {\n value: function (value) {\n this.category = value ?? '';\n },\n category: function (value) {\n this.$emit('set-field', {field: 'category', index: this.index, value: value});\n }\n },\n computed: {\n selectedCategory: {\n get() {\n return this.categories[this.index].name;\n },\n set(value) {\n this.category = value.name;\n }\n }\n }\n}\n</script>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionCategory.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionCategory.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionCategory.vue?vue&type=template&id=0e850d8b&\"\nimport script from \"./TransactionCategory.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionCategory.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.category'))+\"\\n \")]),_vm._v(\" \"),_c('vue-typeahead-bootstrap',{attrs:{\"data\":_vm.categories,\"inputClass\":_vm.errors.length > 0 ? 'is-invalid' : '',\"minMatchingChars\":3,\"placeholder\":_vm.$t('firefly.category'),\"serializer\":function (item) { return item.name; },\"showOnFocus\":true,\"inputName\":\"category[]\"},on:{\"hit\":function($event){_vm.selectedCategory = $event},\"input\":_vm.lookupCategory},model:{value:(_vm.category),callback:function ($$v) {_vm.category=$$v},expression:\"category\"}},[_c('template',{slot:\"append\"},[_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"},on:{\"click\":_vm.clearCategory}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])],2),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionBill.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.bill') }}\n </div>\n <div class=\"input-group\">\n <select\n ref=\"bill\"\n v-model=\"bill\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :title=\"$t('firefly.bill')\"\n autocomplete=\"off\"\n name=\"bill_id[]\"\n >\n <option v-for=\"bill in this.billList\" :label=\"bill.name\" :value=\"bill.id\">{{ bill.name }}</option>\n\n </select>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['value', 'index', 'errors'],\n name: \"TransactionBill\",\n data() {\n return {\n billList: [],\n bill: this.value,\n emitEvent: true\n }\n },\n created() {\n this.collectData();\n },\n methods: {\n collectData() {\n this.billList.push(\n {\n id: 0,\n name: this.$t('firefly.no_bill'),\n }\n );\n this.getBills();\n },\n getBills() {\n axios.get('./api/v1/bills')\n .then(response => {\n this.parseBills(response.data);\n }\n );\n },\n parseBills(data) {\n for (let key in data.data) {\n if (data.data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = data.data[key];\n this.billList.push(\n {\n id: parseInt(current.id),\n name: current.attributes.name\n }\n );\n }\n }\n },\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.bill = value;\n },\n bill: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'bill_id', index: this.index, value: value});\n }\n this.emitEvent = true;\n }\n },\n}\n</script>\n\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBill.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBill.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionBill.vue?vue&type=template&id=07ad05c8&\"\nimport script from \"./TransactionBill.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionBill.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.bill'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.bill),expression:\"bill\"}],ref:\"bill\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"title\":_vm.$t('firefly.bill'),\"autocomplete\":\"off\",\"name\":\"bill_id[]\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.bill=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((this.billList),function(bill){return _c('option',{attrs:{\"label\":bill.name},domProps:{\"value\":bill.id}},[_vm._v(_vm._s(bill.name))])}),0)]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {\nvar this$1 = this;\nvar _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.tags'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('vue-tags-input',{attrs:{\"add-only-from-autocomplete\":false,\"autocomplete-items\":_vm.autocompleteItems,\"tags\":_vm.tags,\"title\":_vm.$t('firefly.tags'),\"placeholder\":_vm.$t('firefly.tags')},on:{\"tags-changed\":function (newTags) { return this$1.tags = newTags; }},model:{value:(_vm.currentTag),callback:function ($$v) {_vm.currentTag=$$v},expression:\"currentTag\"}})],1),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionTags.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.tags') }}\n </div>\n <div class=\"input-group\">\n <vue-tags-input\n v-model=\"currentTag\"\n :add-only-from-autocomplete=\"false\"\n :autocomplete-items=\"autocompleteItems\"\n :tags=\"tags\"\n :title=\"$t('firefly.tags')\"\n v-bind:placeholder=\"$t('firefly.tags')\"\n @tags-changed=\"newTags => this.tags = newTags\"\n />\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nimport VueTagsInput from \"@johmun/vue-tags-input\";\nimport axios from \"axios\";\n\nexport default {\n name: \"TransactionTags\",\n components: {\n VueTagsInput\n },\n props: ['value', 'index', 'errors'],\n data() {\n return {\n autocompleteItems: [],\n debounce: null,\n tags: [],\n currentTag: '',\n updateTags: true, // the idea is that this is always true, except when the tags-function sets the value.\n tagList: this.value,\n emitEvent: true\n };\n },\n created() {\n let tags = [];\n for (let i in this.value) {\n if (this.value.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n tags.push({text: this.value[i]});\n }\n }\n this.updateTags = false;\n this.tags = tags;\n },\n watch: {\n 'currentTag': 'initItems',\n value: function (value) {\n this.emitEvent = false;\n this.tagList = value;\n },\n tagList: function (value) {\n // console.log('watch tagList');\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'tags', index: this.index, value: value});\n }\n this.emitEvent = true;\n this.updateTags = false;\n this.tags = value;\n },\n tags: function (value) {\n if (this.updateTags) {\n let shortList = [];\n for (let key in value) {\n if (value.hasOwnProperty(key)) {\n shortList.push({text: value[key].text});\n }\n }\n this.tagList = shortList;\n }\n this.updateTags = true;\n }\n },\n methods: {\n initItems() {\n if (this.currentTag.length < 2) {\n return;\n }\n const url = document.getElementsByTagName('base')[0].href + `api/v1/autocomplete/tags?query=${this.currentTag}`;\n\n clearTimeout(this.debounce);\n this.debounce = setTimeout(() => {\n axios.get(url).then(response => {\n this.autocompleteItems = response.data.map(item => {\n return {text: item.tag};\n });\n }).catch(() => console.warn('Oh. Something went wrong loading tags.'));\n }, 300);\n },\n },\n\n\n}\n</script>\n<style>\n.vue-tags-input {\n width: 100%;\n max-width: 100% !important;\n display: block;\n border-radius: 0.25rem;\n}\n\n.ti-input {\n border-radius: 0.25rem;\n max-width: 100%;\n width: 100%;\n}\n\n.ti-new-tag-input {\n font-size: 1rem;\n}\n</style>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionTags.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionTags.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionTags.vue?vue&type=template&id=00136a1f&\"\nimport script from \"./TransactionTags.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionTags.vue?vue&type=script&lang=js&\"\nimport style0 from \"./TransactionTags.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<!--\n - TransactionPiggyBank.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.piggy_bank') }}\n </div>\n <div class=\"input-group\">\n <select\n ref=\"piggy_bank_id\"\n v-model=\"piggy_bank_id\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :title=\"$t('firefly.piggy_bank')\"\n autocomplete=\"off\"\n name=\"piggy_bank_id[]\"\n >\n <option v-for=\"piggy in this.piggyList\" :label=\"piggy.name_with_balance\" :value=\"piggy.id\">{{ piggy.name_with_balance }}</option>\n\n </select>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nexport default {\n props: ['index', 'value', 'errors'],\n name: \"TransactionPiggyBank\",\n data() {\n return {\n piggyList: [],\n piggy_bank_id: this.value,\n emitEvent: true\n }\n },\n created() {\n this.collectData();\n },\n methods: {\n collectData() {\n this.piggyList.push(\n {\n id: 0,\n name_with_balance: this.$t('firefly.no_piggy_bank'),\n }\n );\n this.getPiggies();\n },\n getPiggies() {\n axios.get('./api/v1/autocomplete/piggy-banks-with-balance')\n .then(response => {\n this.parsePiggies(response.data);\n }\n );\n },\n parsePiggies(data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = data[key];\n this.piggyList.push(\n {\n id: parseInt(current.id),\n name_with_balance: current.name_with_balance\n }\n );\n }\n }\n },\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.piggy_bank_id = value;\n },\n piggy_bank_id: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'piggy_bank_id', index: this.index, value: value});\n }\n this.emitEvent = true;\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionPiggyBank.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionPiggyBank.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionPiggyBank.vue?vue&type=template&id=18931396&\"\nimport script from \"./TransactionPiggyBank.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionPiggyBank.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.piggy_bank'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.piggy_bank_id),expression:\"piggy_bank_id\"}],ref:\"piggy_bank_id\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"title\":_vm.$t('firefly.piggy_bank'),\"autocomplete\":\"off\",\"name\":\"piggy_bank_id[]\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.piggy_bank_id=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((this.piggyList),function(piggy){return _c('option',{attrs:{\"label\":piggy.name_with_balance},domProps:{\"value\":piggy.id}},[_vm._v(_vm._s(piggy.name_with_balance))])}),0)]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionInternalReference.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.internal_reference') }}\n </div>\n <div class=\"input-group\">\n <input\n v-model=\"reference\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.internal_reference')\"\n name=\"internal_reference[]\"\n type=\"text\"\n />\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors', 'customFields'],\n name: \"TransactionInternalReference\",\n data() {\n return {\n reference: this.value,\n availableFields: this.customFields,\n emitEvent: true\n }\n },\n computed: {\n showField: function () {\n if ('internal_reference' in this.availableFields) {\n return this.availableFields.internal_reference;\n }\n return false;\n }\n },\n methods: {},\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n value: function (value) {\n this.emitEvent = false;\n this.reference = value;\n },\n reference: function (value) {\n this.$emit('set-field', {field: 'internal_reference', index: this.index, value: value});\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionInternalReference.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionInternalReference.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionInternalReference.vue?vue&type=template&id=7f1b8c1d&\"\nimport script from \"./TransactionInternalReference.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionInternalReference.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.internal_reference'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.reference),expression:\"reference\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.internal_reference'),\"name\":\"internal_reference[]\",\"type\":\"text\"},domProps:{\"value\":(_vm.reference)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.reference=$event.target.value}}}),_vm._v(\" \"),_vm._m(0)])]):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])}]\n\nexport { render, staticRenderFns }","<!--\n - TransactionInternalReference.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.external_url') }}\n </div>\n <div class=\"input-group\">\n <input\n v-model=\"url\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.external_url')\"\n name=\"external_url[]\"\n type=\"url\"\n />\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors', 'customFields'],\n name: \"TransactionExternalUrl\",\n data() {\n return {\n url: this.value,\n availableFields: this.customFields,\n }\n },\n computed: {\n showField: function () {\n if ('external_uri' in this.availableFields) {\n return this.availableFields.external_uri;\n }\n return false;\n }\n },\n methods: {},\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n value: function (value) {\n this.url = value;\n },\n url: function (value) {\n this.$emit('set-field', {field: 'external_url', index: this.index, value: value});\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionExternalUrl.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionExternalUrl.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionExternalUrl.vue?vue&type=template&id=7f6746e6&scoped=true&\"\nimport script from \"./TransactionExternalUrl.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionExternalUrl.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 \"7f6746e6\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.external_url'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.url),expression:\"url\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.external_url'),\"name\":\"external_url[]\",\"type\":\"url\"},domProps:{\"value\":(_vm.url)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.url=$event.target.value}}}),_vm._v(\" \"),_vm._m(0)])]):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])}]\n\nexport { render, staticRenderFns }","<!--\n - TransactionNotes.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.notes') }}\n </div>\n <div class=\"input-group\">\n <textarea\n v-model=\"notes\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.notes')\"\n ></textarea>\n </div>\n </div>\n\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors', 'customFields'],\n name: \"TransactionNotes\",\n data() {\n return {\n notes: this.value,\n availableFields: this.customFields,\n emitEvent: true\n }\n },\n computed: {\n showField: function () {\n if ('notes' in this.availableFields) {\n return this.availableFields.notes;\n }\n return false;\n }\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.notes = value;\n },\n customFields: function (value) {\n this.availableFields = value;\n },\n notes: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'notes', index: this.index, value: value});\n }\n this.emitEvent = true;\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionNotes.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionNotes.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionNotes.vue?vue&type=template&id=10b3ae7a&scoped=true&\"\nimport script from \"./TransactionNotes.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionNotes.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 \"10b3ae7a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.notes'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.notes),expression:\"notes\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.notes')},domProps:{\"value\":(_vm.notes)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.notes=$event.target.value}}})])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',[_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.journal_links'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[(_vm.links.length === 0)?_c('p',[_c('button',{staticClass:\"btn btn-default btn-xs\",attrs:{\"type\":\"button\",\"data-target\":\"#linkModal\",\"data-toggle\":\"modal\"},on:{\"click\":_vm.resetModal}},[_c('i',{staticClass:\"fas fa-plus\"}),_vm._v(\" Add transaction link\")])]):_vm._e(),_vm._v(\" \"),(_vm.links.length > 0)?_c('ul',{staticClass:\"list-group\"},_vm._l((_vm.links),function(transaction,index){return _c('li',{key:index,staticClass:\"list-group-item\"},[_c('em',[_vm._v(_vm._s(_vm.getTextForLinkType(transaction.link_type_id)))]),_vm._v(\" \"),_c('a',{attrs:{\"href\":\"./transaction/show/\" + transaction.transaction_group_id}},[_vm._v(_vm._s(transaction.description))]),_vm._v(\" \"),(transaction.type === 'withdrawal')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-danger\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount) * -1)))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(transaction.type === 'deposit')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-success\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(transaction.type === 'transfer')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-info\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"btn-group btn-group-xs float-right\"},[_c('button',{staticClass:\"btn btn-xs btn-danger\",attrs:{\"type\":\"button\",\"tabindex\":\"-1\"},on:{\"click\":function($event){return _vm.removeLink(index)}}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])}),0):_vm._e(),_vm._v(\" \"),(_vm.links.length > 0)?_c('div',{staticClass:\"form-text\"},[_c('button',{staticClass:\"btn btn-default\",attrs:{\"type\":\"button\",\"data-target\":\"#linkModal\",\"data-toggle\":\"modal\"},on:{\"click\":_vm.resetModal}},[_c('i',{staticClass:\"fas fa-plus\"})])]):_vm._e()])])]),_vm._v(\" \"),_c('div',{ref:\"linkModal\",staticClass:\"modal\",attrs:{\"id\":\"linkModal\",\"tabindex\":\"-1\"}},[_c('div',{staticClass:\"modal-dialog modal-lg\"},[_c('div',{staticClass:\"modal-content\"},[_vm._m(0),_vm._v(\" \"),_c('div',{staticClass:\"modal-body\"},[_c('div',{staticClass:\"container-fluid\"},[_vm._m(1),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('form',{attrs:{\"autocomplete\":\"off\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.search($event)}}},[_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.query),expression:\"query\"}],staticClass:\"form-control\",attrs:{\"id\":\"query\",\"autocomplete\":\"off\",\"maxlength\":\"255\",\"name\":\"search\",\"placeholder\":\"Search query\",\"type\":\"text\"},domProps:{\"value\":(_vm.query)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.query=$event.target.value}}}),_vm._v(\" \"),_vm._m(2)])])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[(_vm.searching)?_c('span',[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e(),_vm._v(\" \"),(_vm.searchResults.length > 0)?_c('h4',[_vm._v(_vm._s(_vm.$t('firefly.search_results')))]):_vm._e(),_vm._v(\" \"),(_vm.searchResults.length > 0)?_c('table',{staticClass:\"table table-sm\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.search_results')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{staticStyle:{\"width\":\"33%\"},attrs:{\"scope\":\"col\",\"colspan\":\"2\"}},[_vm._v(_vm._s(_vm.$t('firefly.include')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.transaction')))])])]),_vm._v(\" \"),_c('tbody',_vm._l((_vm.searchResults),function(result){return _c('tr',[_c('td',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(result.selected),expression:\"result.selected\"}],staticClass:\"form-control\",attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(result.selected)?_vm._i(result.selected,null)>-1:(result.selected)},on:{\"change\":[function($event){var $$a=result.selected,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(result, \"selected\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(result, \"selected\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(result, \"selected\", $$c)}},function($event){return _vm.selectTransaction($event)}]}})]),_vm._v(\" \"),_c('td',[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(result.link_type_id),expression:\"result.link_type_id\"}],staticClass:\"form-control\",on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(result, \"link_type_id\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])},function($event){return _vm.selectLinkType($event)}]}},_vm._l((_vm.linkTypes),function(linkType){return _c('option',{attrs:{\"label\":linkType.type},domProps:{\"value\":linkType.id + '-' + linkType.direction}},[_vm._v(_vm._s(linkType.type)+\"\\n \")])}),0)]),_vm._v(\" \"),_c('td',[_c('a',{attrs:{\"href\":'./transactions/show/' + result.transaction_group_id}},[_vm._v(_vm._s(result.description))]),_vm._v(\" \"),(result.type === 'withdrawal')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-danger\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount) * -1)))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(result.type === 'deposit')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-success\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(result.type === 'transfer')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-info\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),_c('br'),_vm._v(\" \"),_c('em',[_c('a',{attrs:{\"href\":'./accounts/show/' + result.source_id}},[_vm._v(_vm._s(result.source_name))]),_vm._v(\"\\n →\\n \"),_c('a',{attrs:{\"href\":'./accounts/show/' + result.destination_id}},[_vm._v(_vm._s(result.destination_name))])])])])}),0)]):_vm._e()])])])]),_vm._v(\" \"),_vm._m(3)])])])]):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"modal-header\"},[_c('h5',{staticClass:\"modal-title\"},[_vm._v(\"Transaction thing dialog.\")]),_vm._v(\" \"),_c('button',{staticClass:\"close\",attrs:{\"aria-label\":\"Close\",\"data-dismiss\":\"modal\",\"type\":\"button\"}},[_c('span',{attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"×\")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('p',[_vm._v(\"\\n Use this form to search for transactions you wish to link to this one. When in doubt, use \"),_c('code',[_vm._v(\"id:*\")]),_vm._v(\" where the ID is the number from\\n the URL.\\n \")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-default\",attrs:{\"type\":\"submit\"}},[_c('i',{staticClass:\"fas fa-search\"}),_vm._v(\" Search\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"modal-footer\"},[_c('button',{staticClass:\"btn btn-secondary\",attrs:{\"data-dismiss\":\"modal\",\"type\":\"button\"}},[_vm._v(\"Close\")])])}]\n\nexport { render, staticRenderFns }","<!--\n - TransactionLinks.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\">\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.journal_links') }}\n </div>\n <div class=\"row\">\n <div class=\"col\">\n <p v-if=\"links.length === 0\">\n <button type=\"button\" class=\"btn btn-default btn-xs\" data-target=\"#linkModal\" @click=\"resetModal\" data-toggle=\"modal\"><i class=\"fas fa-plus\"></i> Add transaction link</button>\n </p>\n <ul v-if=\"links.length > 0\" class=\"list-group\">\n <li v-for=\"(transaction, index) in links\" class=\"list-group-item\" v-bind:key=\"index\">\n <em>{{ getTextForLinkType(transaction.link_type_id) }}</em>\n <a :href='\"./transaction/show/\" + transaction.transaction_group_id'>{{ transaction.description }}</a>\n\n <span v-if=\"transaction.type === 'withdrawal'\">\n (<span class=\"text-danger\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount) * -1)\n }}</span>)\n </span>\n <span v-if=\"transaction.type === 'deposit'\">\n (<span class=\"text-success\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))\n }}</span>)\n </span>\n <span v-if=\"transaction.type === 'transfer'\">\n (<span class=\"text-info\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))\n }}</span>)\n </span>\n <div class=\"btn-group btn-group-xs float-right\">\n <button type=\"button\" class=\"btn btn-xs btn-danger\" @click=\"removeLink(index)\" tabindex=\"-1\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </li>\n </ul>\n <div v-if=\"links.length > 0\" class=\"form-text\">\n <button type=\"button\" class=\"btn btn-default\" @click=\"resetModal\" data-target=\"#linkModal\" data-toggle=\"modal\"><i class=\"fas fa-plus\"></i></button>\n </div>\n </div>\n </div>\n </div>\n <!-- modal -->\n <div id=\"linkModal\" class=\"modal\" tabindex=\"-1\" ref=\"linkModal\">\n <div class=\"modal-dialog modal-lg\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <h5 class=\"modal-title\">Transaction thing dialog.</h5>\n <button aria-label=\"Close\" class=\"close\" data-dismiss=\"modal\" type=\"button\">\n <span aria-hidden=\"true\">×</span>\n </button>\n </div>\n <div class=\"modal-body\">\n <div class=\"container-fluid\">\n <div class=\"row\">\n <div class=\"col\">\n <p>\n Use this form to search for transactions you wish to link to this one. When in doubt, use <code>id:*</code> where the ID is the number from\n the URL.\n </p>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col\">\n <form v-on:submit.prevent=\"search\" autocomplete=\"off\">\n <div class=\"input-group\">\n <input id=\"query\" v-model=\"query\" autocomplete=\"off\" class=\"form-control\" maxlength=\"255\" name=\"search\"\n placeholder=\"Search query\" type=\"text\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-default\" type=\"submit\"><i class=\"fas fa-search\"></i> Search</button>\n </div>\n </div>\n </form>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col\">\n <span v-if=\"searching\"><i class=\"fas fa-spinner fa-spin\"></i></span>\n <h4 v-if=\"searchResults.length > 0\">{{ $t('firefly.search_results') }}</h4>\n <table v-if=\"searchResults.length > 0\" class=\"table table-sm\">\n <caption style=\"display:none;\">{{ $t('firefly.search_results') }}</caption>\n <thead>\n <tr>\n <th scope=\"col\" colspan=\"2\" style=\"width:33%\">{{ $t('firefly.include') }}</th>\n <th scope=\"col\">{{ $t('firefly.transaction') }}</th>\n </tr>\n </thead>\n <tbody>\n <tr v-for=\"result in searchResults\">\n <td>\n <input v-model=\"result.selected\" class=\"form-control\"\n type=\"checkbox\"\n @change=\"selectTransaction($event)\"\n />\n </td>\n <td>\n <select\n v-model=\"result.link_type_id\"\n class=\"form-control\"\n @change=\"selectLinkType($event)\"\n >\n <option v-for=\"linkType in linkTypes\" :label=\"linkType.type\" :value=\"linkType.id + '-' + linkType.direction\">{{\n linkType.type\n }}\n </option>\n </select>\n </td>\n <td>\n <a :href=\"'./transactions/show/' + result.transaction_group_id\">{{ result.description }}</a>\n <span v-if=\"result.type === 'withdrawal'\">\n (<span class=\"text-danger\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount) * -1)\n }}</span>)\n </span>\n <span v-if=\"result.type === 'deposit'\">\n (<span class=\"text-success\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount))\n }}</span>)\n </span>\n <span v-if=\"result.type === 'transfer'\">\n (<span class=\"text-info\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount))\n }}</span>)\n </span>\n <br/>\n <em>\n <a :href=\"'./accounts/show/' + result.source_id\">{{ result.source_name }}</a>\n →\n <a :href=\"'./accounts/show/' + result.destination_id\">{{ result.destination_name }}</a>\n </em>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n </div>\n <div class=\"modal-footer\">\n <button class=\"btn btn-secondary\" data-dismiss=\"modal\" type=\"button\">Close</button>\n </div>\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nconst lodashClonedeep = require('lodash.clonedeep');\n// TODO error handling\nexport default {\n props: ['index', 'value', 'errors', 'customFields'],\n name: \"TransactionLinks\",\n data() {\n return {\n searchResults: [],\n include: [],\n locale: 'en-US',\n linkTypes: [],\n query: '',\n searching: false,\n links: this.value,\n availableFields: this.customFields,\n emitEvent: true\n }\n },\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n this.emitEvent = false;\n this.links = lodashClonedeep(this.value);\n this.getLinkTypes();\n\n },\n computed: {\n showField: function () {\n if ('links' in this.availableFields) {\n return this.availableFields.links;\n }\n return false;\n }\n },\n watch: {\n value: function (value) {\n if (null !== value) {\n this.emitEvent = false;\n this.links = lodashClonedeep(value);\n }\n },\n links: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {index: this.index, field: 'links', value: lodashClonedeep(value)});\n }\n this.emitEvent = true;\n },\n customFields: function (value) {\n this.availableFields = value;\n }\n },\n methods: {\n removeLink: function (index) {\n this.links.splice(index, 1);\n },\n getTextForLinkType: function (linkTypeId) {\n let parts = linkTypeId.split('-');\n for (let i in this.linkTypes) {\n if (this.linkTypes.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.linkTypes[i];\n if (parts[0] === current.id && parts[1] === current.direction) {\n return current.type;\n }\n }\n }\n return 'text for #' + linkTypeId;\n },\n selectTransaction: function (event) {\n for (let i in this.searchResults) {\n if (this.searchResults.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.searchResults[i];\n if (current.selected) {\n this.addToSelected(current);\n }\n if (!current.selected) {\n // remove from\n this.removeFromSelected(current);\n }\n }\n }\n },\n selectLinkType: function (event) {\n for (let i in this.searchResults) {\n if (this.searchResults.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.searchResults[i];\n this.updateSelected(current.transaction_journal_id, current.link_type_id);\n }\n }\n },\n updateSelected(journalId, linkTypeId) {\n for (let i in this.links) {\n if (this.links.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.links[i];\n if (parseInt(current.transaction_journal_id) === journalId) {\n this.links[i].link_type_id = linkTypeId;\n }\n }\n }\n },\n addToSelected(journal) {\n let result = this.links.find(({transaction_journal_id}) => transaction_journal_id === journal.transaction_journal_id);\n if (typeof result === 'undefined') {\n this.links.push(journal);\n }\n },\n removeFromSelected(journal) {\n for (let i in this.links) {\n if (this.links.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.links[i];\n if (current.transaction_journal_id === journal.transaction_journal_id) {\n this.links.splice(parseInt(i), 1);\n }\n }\n }\n },\n getLinkTypes: function () {\n let url = './api/v1/link_types';\n axios.get(url)\n .then(response => {\n this.parseLinkTypes(response.data);\n }\n );\n },\n resetModal: function() {\n this.search();\n },\n parseLinkTypes: function (data) {\n for (let i in data.data) {\n if (data.data.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = data.data[i];\n let linkTypeInward = {\n id: current.id,\n type: current.attributes.inward,\n direction: 'inward'\n };\n let linkTypeOutward = {\n id: current.id,\n type: current.attributes.outward,\n direction: 'outward'\n };\n if (linkTypeInward.type === linkTypeOutward.type) {\n linkTypeInward.type = linkTypeInward.type + ' (←)';\n linkTypeOutward.type = linkTypeOutward.type + ' (→)';\n }\n this.linkTypes.push(linkTypeInward);\n this.linkTypes.push(linkTypeOutward);\n }\n }\n },\n search: function () {\n if('' === this.query) {\n this.searchResults = [];\n return;\n }\n this.searching = true;\n this.searchResults = [];\n let url = './api/v1/search/transactions?limit=10&query=' + this.query;\n axios.get(url)\n .then(response => {\n this.parseSearch(response.data);\n }\n );\n },\n parseSearch: function (data) {\n for (let i in data.data) {\n if (data.data.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n for (let ii in data.data[i].attributes.transactions) {\n if (data.data[i].attributes.transactions.hasOwnProperty(ii) && /^0$|^[1-9]\\d*$/.test(ii) && ii <= 4294967294) {\n let current = data.data[i].attributes.transactions[ii];\n current.transaction_group_id = parseInt(data.data[i].id);\n current.selected = this.isJournalSelected(current.transaction_journal_id);\n current.link_type_id = this.getJournalLinkType(current.transaction_journal_id);\n current.link_type_text = '';\n this.searchResults.push(current);\n }\n }\n }\n }\n this.searching = false;\n },\n getJournalLinkType: function (journalId) {\n for (let i in this.links) {\n if (this.links.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.links[i];\n if (current.transaction_journal_id === journalId) {\n return current.link_type_id;\n }\n }\n }\n return '1-inward';\n },\n isJournalSelected: function (journalId) {\n for (let i in this.links) {\n if (this.links.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.links[i];\n if (current.transaction_journal_id === journalId) {\n return true;\n }\n }\n }\n return false;\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionLinks.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionLinks.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionLinks.vue?vue&type=template&id=b41e3794&\"\nimport script from \"./TransactionLinks.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionLinks.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 - TransactionAttachments.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.attachments') }}\n </div>\n <div class=\"input-group\">\n <input\n ref=\"att\"\n class=\"form-control\"\n multiple\n @change=\"selectedFile\"\n name=\"attachments[]\"\n type=\"file\"\n />\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"TransactionAttachments\",\n props: ['transaction_journal_id', 'customFields', 'index', 'uploadTrigger', 'clearTrigger'],\n data() {\n return {\n availableFields: this.customFields,\n uploads: 0,\n created: 0,\n uploaded: 0,\n }\n },\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n uploadTrigger: function () {\n //console.log('uploadTrigger(' + this.transaction_journal_id + ',' + this.index + ')');\n this.doUpload();\n },\n clearTrigger: function () {\n //console.log('clearTrigger(' + this.transaction_journal_id + ',' + this.index + ')');\n this.$refs.att.value = null;\n },\n transaction_journal_id: function (value) {\n //console.log('watch transaction_journal_id: ' + value + ' (index ' + this.index + ')');\n }\n },\n computed: {\n showField: function () {\n if ('attachments' in this.availableFields) {\n return this.availableFields.attachments;\n }\n return false;\n }\n },\n methods: {\n selectedFile: function () {\n this.$emit('selected-attachments', {index: this.index, id: this.transaction_journal_id});\n },\n createAttachment: function (name) {\n // console.log('Now in createAttachment()');\n const uri = './api/v1/attachments';\n const data = {\n filename: name,\n attachable_type: 'TransactionJournal',\n attachable_id: this.transaction_journal_id,\n };\n // create new attachment:\n return axios.post(uri, data);\n },\n uploadAttachment: function (attachmentId, data) {\n this.created++;\n // console.log('Now in uploadAttachment()');\n const uploadUri = './api/v1/attachments/' + attachmentId + '/upload';\n return axios.post(uploadUri, data)\n },\n countAttachment: function () {\n this.uploaded++;\n //console.log('Uploaded ' + this.uploaded + ' / ' + this.uploads);\n if (this.uploaded >= this.uploads) {\n //console.log('All files uploaded. Emit event for ' + this.transaction_journal_id + '(' + this.index + ')');\n this.$emit('uploaded-attachments', this.transaction_journal_id);\n }\n },\n doUpload: function () {\n let files = this.$refs.att.files;\n this.uploads = files.length;\n // loop all files and create attachments.\n for (let i in files) {\n if (files.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n // console.log('Now at file ' + (parseInt(i) + 1) + ' / ' + files.length);\n // read file into file reader:\n let current = files[i];\n let fileReader = new FileReader();\n let theParent = this; // dont ask me why i need to do this.\n fileReader.onloadend = evt => {\n if (evt.target.readyState === FileReader.DONE) {\n // console.log('I am done reading file ' + (parseInt(i) + 1));\n this.createAttachment(current.name).then(response => {\n // console.log('Created attachment. Now upload (1)');\n return theParent.uploadAttachment(response.data.data.id, new Blob([evt.target.result]));\n }).then(theParent.countAttachment);\n }\n }\n fileReader.readAsArrayBuffer(current);\n }\n }\n if (0 === files.length) {\n //console.log('No files to upload. Emit event!');\n this.$emit('uploaded-attachments', this.transaction_journal_id);\n }\n // Promise.all(promises).then(response => {\n // console.log('All files uploaded. Emit event!');\n // this.$emit('uploaded-attachments', this.transaction_journal_id);\n // });\n }\n }\n\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAttachments.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAttachments.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionAttachments.vue?vue&type=template&id=48c53d7e&scoped=true&\"\nimport script from \"./TransactionAttachments.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionAttachments.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 \"48c53d7e\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.attachments'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{ref:\"att\",staticClass:\"form-control\",attrs:{\"multiple\":\"\",\"name\":\"attachments[]\",\"type\":\"file\"},on:{\"change\":_vm.selectedFile}})])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionLocation.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.location') }}\n </div>\n <div style=\"width:100%;height:300px;\">\n <l-map\n ref=\"myMap\"\n :center=\"center\"\n :zoom=\"zoom\" style=\"width:100%;height:300px;\"\n @ready=\"prepMap()\"\n @update:zoom=\"zoomUpdated\"\n @update:center=\"centerUpdated\"\n @update:bounds=\"boundsUpdated\"\n >\n <l-tile-layer :url=\"url\"></l-tile-layer>\n <l-marker :lat-lng=\"marker\" :visible=\"hasMarker\"></l-marker>\n </l-map>\n <span>\n <button class=\"btn btn-default btn-xs\" @click=\"clearLocation\">{{ $t('firefly.clear_location') }}</button>\n </span>\n </div>\n <p> </p>\n </div>\n</template>\n\n<script>\n\n// If you need to reference 'L', such as in 'L.icon', then be sure to\n// explicitly import 'leaflet' into your component\n// import L from 'leaflet';\nimport {LMap, LMarker, LTileLayer} from 'vue2-leaflet';\nimport 'leaflet/dist/leaflet.css';\n\nimport L from 'leaflet';\n\ndelete L.Icon.Default.prototype._getIconUrl;\n\nL.Icon.Default.mergeOptions({\n iconRetinaUrl: require('leaflet/dist/images/marker-icon-2x.png'),\n iconUrl: require('leaflet/dist/images/marker-icon.png'),\n shadowUrl: require('leaflet/dist/images/marker-shadow.png')\n });\n\nexport default {\n name: \"TransactionLocation\",\n props: {\n index: {},\n value: {\n type: Object,\n required: false\n },\n errors: {},\n customFields: {},\n },\n components: {\n LMap,\n LTileLayer,\n LMarker,\n },\n created() {\n if (null === this.value || typeof this.value === 'undefined') {\n axios.get('./api/v1/configuration/firefly.default_location').then(response => {\n this.zoom = parseInt(response.data.data.value.zoom_level);\n this.center =\n [\n parseFloat(response.data.data.value.latitude),\n parseFloat(response.data.data.value.longitude),\n ]\n ;\n });\n return;\n }\n if (null !== this.value.zoom_level && null !== this.value.latitude && null !== this.value.longitude) {\n this.zoom = this.value.zoom_level;\n this.center = [\n parseFloat(this.value.latitude),\n parseFloat(this.value.longitude),\n ];\n this.hasMarker = true;\n }\n },\n data() {\n return {\n availableFields: this.customFields,\n url: 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',\n zoom: 3,\n center: [0, 0],\n bounds: null,\n map: null,\n hasMarker: false,\n marker: [0, 0],\n }\n },\n methods: {\n prepMap: function () {\n this.map = this.$refs.myMap.mapObject;\n this.map.on('contextmenu', this.setObjectLocation);\n this.map.on('zoomend', this.saveZoomLevel);\n },\n setObjectLocation: function (event) {\n this.marker = [event.latlng.lat, event.latlng.lng];\n this.hasMarker = true;\n this.emitEvent();\n },\n saveZoomLevel: function () {\n this.emitEvent();\n },\n clearLocation: function () {\n this.hasMarker = false;\n this.emitEvent();\n },\n emitEvent() {\n this.$emit('set-marker-location', {\n index: this.index,\n zoomLevel: this.zoom,\n lat: this.marker[0],\n lng: this.marker[1],\n hasMarker: this.hasMarker\n }\n );\n },\n zoomUpdated(zoom) {\n this.zoom = zoom;\n },\n centerUpdated(center) {\n this.center = center;\n },\n boundsUpdated(bounds) {\n this.bounds = bounds;\n }\n },\n computed: {\n showField: function () {\n if ('location' in this.availableFields) {\n return this.availableFields.location;\n }\n return false;\n }\n },\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionLocation.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionLocation.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionLocation.vue?vue&type=template&id=3bafa3c9&scoped=true&\"\nimport script from \"./TransactionLocation.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionLocation.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 \"3bafa3c9\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.location'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticStyle:{\"width\":\"100%\",\"height\":\"300px\"}},[_c('l-map',{ref:\"myMap\",staticStyle:{\"width\":\"100%\",\"height\":\"300px\"},attrs:{\"center\":_vm.center,\"zoom\":_vm.zoom},on:{\"ready\":function($event){return _vm.prepMap()},\"update:zoom\":_vm.zoomUpdated,\"update:center\":_vm.centerUpdated,\"update:bounds\":_vm.boundsUpdated}},[_c('l-tile-layer',{attrs:{\"url\":_vm.url}}),_vm._v(\" \"),_c('l-marker',{attrs:{\"lat-lng\":_vm.marker,\"visible\":_vm.hasMarker}})],1),_vm._v(\" \"),_c('span',[_c('button',{staticClass:\"btn btn-default btn-xs\",on:{\"click\":_vm.clearLocation}},[_vm._v(_vm._s(_vm.$t('firefly.clear_location')))])])],1),_vm._v(\" \"),_c('p',[_vm._v(\" \")])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitForm.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitForm.vue?vue&type=script&lang=js&\"","<!--\n - SplitForm.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div :id=\"'split_' + index\" :class=\"'tab-pane' + (0 === index ? ' active' : '')\">\n <div class=\"row\">\n <div class=\"col\">\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">\n {{ $t('firefly.basic_journal_information') }}\n <span v-if=\"count > 1\">({{ index + 1 }} / {{ count }}) </span>\n </h3>\n <div v-if=\"count>1\" class=\"card-tools\">\n <button type=\"button\" class=\"btn btn-danger btn-xs\" @click=\"removeTransaction\"><i class=\"fas fa-trash-alt\"></i></button>\n </div>\n </div>\n\n <div class=\"card-body\">\n <!-- start of body -->\n <div class=\"row\">\n <div class=\"col\">\n <TransactionDescription\n v-model=\"transaction.description\"\n v-on=\"$listeners\"\n :errors=\"transaction.errors.description\"\n :index=\"index\"\n ></TransactionDescription>\n </div>\n </div>\n <!-- source and destination -->\n <div class=\"row\">\n <div class=\"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12\">\n <!-- SOURCE -->\n <TransactionAccount\n v-model=\"sourceAccount\"\n v-on=\"$listeners\"\n :destination-allowed-types=\"destinationAllowedTypes\"\n :errors=\"transaction.errors.source\"\n :index=\"index\"\n :source-allowed-types=\"sourceAllowedTypes\"\n :transaction-type=\"transactionType\"\n direction=\"source\"\n />\n </div>\n <!-- switcharoo! -->\n <div class=\"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block\">\n <SwitchAccount\n v-if=\"0 === index && allowSwitch\"\n v-on=\"$listeners\"\n :index=\"index\"\n :transaction-type=\"transactionType\"\n />\n </div>\n\n <!-- destination -->\n <div class=\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\">\n <!-- DESTINATION -->\n <TransactionAccount\n v-model=\"destinationAccount\"\n v-on=\"$listeners\"\n :destination-allowed-types=\"destinationAllowedTypes\"\n :errors=\"transaction.errors.destination\"\n :index=\"index\"\n :transaction-type=\"transactionType\"\n :source-allowed-types=\"sourceAllowedTypes\"\n direction=\"destination\"\n />\n </div>\n </div>\n\n\n <!-- amount -->\n <div class=\"row\">\n <div class=\"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12\">\n <!-- AMOUNT -->\n <TransactionAmount\n v-on=\"$listeners\"\n :amount=\"transaction.amount\"\n :destination-currency-symbol=\"this.transaction.destination_account_currency_symbol\"\n :errors=\"transaction.errors.amount\"\n :index=\"index\"\n :source-currency-symbol=\"this.transaction.source_account_currency_symbol\"\n :transaction-type=\"this.transactionType\"\n />\n </div>\n <div class=\"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block\">\n <TransactionForeignCurrency\n v-model=\"transaction.foreign_currency_id\"\n v-on=\"$listeners\"\n :destination-currency-id=\"this.transaction.destination_account_currency_id\"\n :index=\"index\"\n :selected-currency-id=\"this.transaction.foreign_currency_id\"\n :source-currency-id=\"this.transaction.source_account_currency_id\"\n :transaction-type=\"this.transactionType\"\n />\n </div>\n <div class=\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\">\n <!--\n The reason that TransactionAmount gets the symbols and\n TransactionForeignAmount gets the ID's of the currencies is\n because ultimately TransactionAmount doesn't decide which\n currency id is submitted to Firefly III.\n -->\n <TransactionForeignAmount\n v-model=\"transaction.foreign_amount\"\n v-on=\"$listeners\"\n :destination-currency-id=\"this.transaction.destination_account_currency_id\"\n :errors=\"transaction.errors.foreign_amount\"\n :index=\"index\"\n :selected-currency-id=\"this.transaction.foreign_currency_id\"\n :source-currency-id=\"this.transaction.source_account_currency_id\"\n :transaction-type=\"this.transactionType\"\n />\n </div>\n </div>\n\n <!-- dates -->\n <div class=\"row\">\n <div class=\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\">\n <TransactionDate\n v-on=\"$listeners\"\n :date=\"splitDate\"\n :errors=\"transaction.errors.date\"\n :index=\"index\"\n />\n </div>\n\n <div class=\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12 offset-xl-2 offset-lg-2\">\n <TransactionCustomDates\n v-on=\"$listeners\"\n :book-date=\"transaction.book_date\"\n :custom-fields.sync=\"customFields\"\n :due-date=\"transaction.due_date\"\n :errors=\"transaction.errors.custom_dates\"\n :index=\"index\"\n :interest-date=\"transaction.interest_date\"\n :invoice-date=\"transaction.invoice_date\"\n :payment-date=\"transaction.payment_date\"\n :process-date=\"transaction.process_date\"\n />\n </div>\n </div>\n\n <!-- end of body -->\n </div>\n </div>\n </div>\n </div> <!-- end of basic card -->\n\n <!-- card for meta -->\n <div class=\"row\">\n <div class=\"col\">\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">\n {{ $t('firefly.transaction_journal_meta') }}\n <span v-if=\"count > 1\">({{ index + 1 }} / {{ count }}) </span>\n </h3>\n </div>\n <div class=\"card-body\">\n <!-- start of body -->\n <!-- meta -->\n <div class=\"row\">\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <TransactionBudget\n v-if=\"!('Transfer' === transactionType || 'Deposit' === transactionType)\"\n v-model=\"transaction.budget_id\"\n v-on=\"$listeners\"\n :errors=\"transaction.errors.budget\"\n :index=\"index\"\n />\n <TransactionCategory\n v-model=\"transaction.category\"\n v-on=\"$listeners\"\n :errors=\"transaction.errors.category\"\n :index=\"index\"\n />\n </div>\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <TransactionBill\n v-if=\"!('Transfer' === transactionType || 'Deposit' === transactionType)\"\n v-model=\"transaction.bill_id\"\n v-on=\"$listeners\"\n :errors=\"transaction.errors.bill\"\n :index=\"index\"\n />\n <TransactionTags\n v-model=\"transaction.tags\"\n v-on=\"$listeners\"\n :errors=\"transaction.errors.tags\"\n :index=\"index\"\n />\n <TransactionPiggyBank\n v-if=\"!('Withdrawal' === transactionType || 'Deposit' === transactionType)\"\n v-model=\"transaction.piggy_bank_id\"\n v-on=\"$listeners\"\n :errors=\"transaction.errors.piggy_bank\"\n :index=\"index\"\n />\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <!-- end card for meta -->\n <!-- card for extra -->\n <div v-if=\"hasMetaFields\" class=\"row\">\n <div class=\"col\">\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">\n {{ $t('firefly.transaction_journal_extra') }}\n <span v-if=\"count > 1\">({{ index + 1 }} / {{ count }}) </span>\n </h3>\n </div>\n <div class=\"card-body\">\n <!-- start of body -->\n <div class=\"row\">\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n\n <TransactionInternalReference\n v-model=\"transaction.internal_reference\"\n v-on=\"$listeners\"\n :custom-fields.sync=\"customFields\"\n :errors=\"transaction.errors.internal_reference\"\n :index=\"index\"\n />\n\n <TransactionExternalUrl\n v-model=\"transaction.external_url\"\n v-on=\"$listeners\"\n :custom-fields.sync=\"customFields\"\n :errors=\"transaction.errors.external_url\"\n :index=\"index\"\n />\n <TransactionNotes\n v-model=\"transaction.notes\"\n v-on=\"$listeners\"\n :custom-fields.sync=\"customFields\"\n :errors=\"transaction.errors.notes\"\n :index=\"index\"\n />\n </div>\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n\n <TransactionAttachments\n ref=\"attachments\"\n v-model=\"transaction.attachments\"\n v-on=\"$listeners\"\n :custom-fields.sync=\"customFields\"\n :index=\"index\"\n :transaction_journal_id=\"transaction.transaction_journal_id\"\n :upload-trigger=\"transaction.uploadTrigger\"\n :clear-trigger=\"transaction.clearTrigger\"\n />\n <TransactionLocation\n v-model=\"transaction.location\"\n v-on=\"$listeners\"\n :custom-fields.sync=\"customFields\"\n :errors=\"transaction.errors.location\"\n :index=\"index\"\n />\n\n <TransactionLinks\n v-model=\"transaction.links\"\n v-on=\"$listeners\"\n :custom-fields.sync=\"customFields\"\n :index=\"index\"\n />\n </div>\n\n </div>\n <!-- end of body -->\n </div>\n </div>\n </div>\n </div>\n <!-- end card for extra -->\n <!-- end of card -->\n </div>\n</template>\n\n<script>\n\nimport TransactionDescription from \"./TransactionDescription\";\nimport TransactionDate from \"./TransactionDate\";\nimport TransactionBudget from \"./TransactionBudget\";\nimport TransactionAccount from \"./TransactionAccount\";\nimport SwitchAccount from \"./SwitchAccount\";\nimport TransactionAmount from \"./TransactionAmount\";\nimport TransactionForeignAmount from \"./TransactionForeignAmount\";\nimport TransactionForeignCurrency from \"./TransactionForeignCurrency\";\nimport TransactionCustomDates from \"./TransactionCustomDates\";\nimport TransactionCategory from \"./TransactionCategory\";\nimport TransactionBill from \"./TransactionBill\";\nimport TransactionTags from \"./TransactionTags\";\nimport TransactionPiggyBank from \"./TransactionPiggyBank\";\nimport TransactionInternalReference from \"./TransactionInternalReference\";\nimport TransactionExternalUrl from \"./TransactionExternalUrl\";\nimport TransactionNotes from \"./TransactionNotes\";\nimport TransactionLinks from \"./TransactionLinks\";\nimport TransactionAttachments from \"./TransactionAttachments\";\nimport SplitPills from \"./SplitPills\";\nimport TransactionLocation from \"./TransactionLocation\";\n\nexport default {\n name: \"SplitForm\",\n props: {\n transaction: {\n type: Object,\n required: true\n },\n count: {\n type: Number,\n required: true\n },\n customFields: {\n type: Object,\n required: false\n },\n index: {\n type: Number,\n required: true\n },\n date: {\n type: String,\n required: true\n },\n transactionType: {\n type: String,\n required: true\n },\n sourceAllowedTypes: {\n type: Array,\n required: false,\n default: function () {\n return [];\n }\n }, // allowed source account types.\n destinationAllowedTypes: {\n type: Array,\n required: false,\n default: function () {\n return [];\n }\n },\n // allow switch?\n allowSwitch: {\n type: Boolean,\n required: false,\n default: false\n }\n\n },\n created() {\n console.log('SplitForm(' + this.index + ')');\n },\n methods: {\n removeTransaction: function () {\n // console.log('Will remove transaction ' + this.index);\n this.$emit('remove-transaction', {index: this.index});\n },\n },\n computed: {\n splitDate: function () {\n return this.date;\n },\n sourceAccount: function () {\n //console.log('computed::sourceAccount(' + this.index + ')');\n let value = {\n id: this.transaction.source_account_id,\n name: this.transaction.source_account_name,\n type: this.transaction.source_account_type,\n };\n //console.log(JSON.stringify(value));\n return value;\n },\n destinationAccount: function () {\n //console.log('computed::destinationAccount(' + this.index + ')');\n let value = {\n id: this.transaction.destination_account_id,\n name: this.transaction.destination_account_name,\n type: this.transaction.destination_account_type,\n };\n //console.log(JSON.stringify(value));\n return value;\n },\n hasMetaFields: function () {\n let requiredFields = [\n 'internal_reference',\n 'notes',\n 'attachments',\n 'external_uri',\n 'location',\n 'links',\n ];\n for (let field in this.customFields) {\n if (this.customFields.hasOwnProperty(field)) {\n if (requiredFields.includes(field)) {\n if (true === this.customFields[field]) {\n return true;\n }\n }\n }\n }\n return false;\n }\n },\n components: {\n TransactionLocation,\n SplitPills,\n TransactionAttachments,\n TransactionNotes,\n TransactionExternalUrl,\n TransactionInternalReference,\n TransactionPiggyBank,\n TransactionTags,\n TransactionLinks,\n TransactionBill,\n TransactionCategory,\n TransactionCustomDates,\n TransactionForeignCurrency,\n TransactionForeignAmount,\n TransactionAmount,\n SwitchAccount,\n TransactionAccount,\n TransactionBudget,\n TransactionDescription,\n TransactionDate\n },\n}\n</script>\n","import { render, staticRenderFns } from \"./SplitForm.vue?vue&type=template&id=28578a3c&\"\nimport script from \"./SplitForm.vue?vue&type=script&lang=js&\"\nexport * from \"./SplitForm.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 - SplitPills.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"transactions.length > 1\" class=\"row\">\n <div class=\"col\">\n <!-- tabs -->\n <ul class=\"nav nav-pills ml-auto p-2\" id=\"transactionTabs\">\n <li v-for=\"(transaction, index) in this.transactions\" class=\"nav-item\"><a :class=\"'nav-link' + (0 === index ? ' active' : '')\"\n :href=\"'#split_' + index\"\n data-toggle=\"pill\">\n <span v-if=\"'' !== transaction.description\">{{ transaction.description }}</span>\n <span v-if=\"'' === transaction.description\">Split {{ index + 1 }}</span>\n </a></li>\n </ul>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"SplitPills\",\n props: {\n transactions: {\n type: Array,\n required: true,\n default: function() {\n return [];\n }\n },\n count: {\n type: Number,\n required: true\n },\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitPills.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitPills.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SplitPills.vue?vue&type=template&id=6bee3f8d&\"\nimport script from \"./SplitPills.vue?vue&type=script&lang=js&\"\nexport * from \"./SplitPills.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.transactions.length > 1)?_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('ul',{staticClass:\"nav nav-pills ml-auto p-2\",attrs:{\"id\":\"transactionTabs\"}},_vm._l((this.transactions),function(transaction,index){return _c('li',{staticClass:\"nav-item\"},[_c('a',{class:'nav-link' + (0 === index ? ' active' : ''),attrs:{\"href\":'#split_' + index,\"data-toggle\":\"pill\"}},[('' !== transaction.description)?_c('span',[_vm._v(_vm._s(transaction.description))]):_vm._e(),_vm._v(\" \"),('' === transaction.description)?_c('span',[_vm._v(\"Split \"+_vm._s(index + 1))]):_vm._e()])])}),0)])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.split_transaction_title'))+\"\\n \")]),_vm._v(\" \"),_c('vue-typeahead-bootstrap',{attrs:{\"data\":_vm.descriptions,\"inputClass\":_vm.errors.length > 0 ? 'is-invalid' : '',\"minMatchingChars\":3,\"placeholder\":_vm.$t('firefly.split_transaction_title'),\"serializer\":function (item) { return item.description; },\"showOnFocus\":true,\"inputName\":\"group_title\"},on:{\"input\":_vm.lookupDescription},model:{value:(_vm.title),callback:function ($$v) {_vm.title=$$v},expression:\"title\"}},[_c('template',{slot:\"append\"},[_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"},on:{\"click\":_vm.clearDescription}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])],2),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionGroupTitle.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.split_transaction_title') }}\n </div>\n <vue-typeahead-bootstrap\n v-model=\"title\"\n :data=\"descriptions\"\n :inputClass=\"errors.length > 0 ? 'is-invalid' : ''\"\n :minMatchingChars=\"3\"\n :placeholder=\"$t('firefly.split_transaction_title')\"\n :serializer=\"item => item.description\"\n :showOnFocus=true\n inputName=\"group_title\"\n @input=\"lookupDescription\"\n >\n <template slot=\"append\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\" v-on:click=\"clearDescription\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </template>\n </vue-typeahead-bootstrap>\n\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n\n </div>\n</template>\n\n<script>\nimport VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';\nimport {debounce} from \"lodash\";\n\nexport default {\n props: ['value', 'errors'],\n name: \"TransactionGroupTitle\",\n components: {VueTypeaheadBootstrap},\n data() {\n return {\n descriptions: [],\n initialSet: [],\n title: this.value,\n emitEvent: true\n }\n },\n\n created() {\n axios.get(this.getACURL(''))\n .then(response => {\n this.descriptions = response.data;\n this.initialSet = response.data;\n });\n },\n watch: {\n value: function (value) {\n this.title = value;\n },\n title: function (value) {\n this.$emit('set-group-title', value);\n }\n },\n methods: {\n clearDescription: function () {\n this.title = '';\n },\n getACURL: function (query) {\n // update autocomplete URL:\n return document.getElementsByTagName('base')[0].href + 'api/v1/autocomplete/transactions?query=' + query;\n },\n lookupDescription: debounce(function () {\n // update autocomplete URL:\n axios.get(this.getACURL(this.title))\n .then(response => {\n this.descriptions = response.data;\n })\n }, 300)\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionGroupTitle.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionGroupTitle.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionGroupTitle.vue?vue&type=template&id=273271bf&scoped=true&\"\nimport script from \"./TransactionGroupTitle.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionGroupTitle.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 \"273271bf\",\n null\n \n)\n\nexport default component.exports","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[1]!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[2]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionTags.vue?vue&type=style&index=0&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"bf9ab7ac\", content, true, {});"],"sourceRoot":""}\ No newline at end of file