Skip to content

Firefly III: a personal finances manager

Rebuild frontend.

James Cole33253536390d
diff --git a/frontend/src/components/transactions/Index.vue b/frontend/src/components/transactions/Index.vue
index 8d1cd9aa6d..59e7c7620b 100644
--- a/frontend/src/components/transactions/Index.vue
+++ b/frontend/src/components/transactions/Index.vue
@@ -50,7 +50,7 @@
</div>
</div>
<div class="row">
- <div class="col-lg-10 col-md-8 col-sm-12 col-xs-12">
+ <div class="col">
<div class="card">
<div class="card-body p-0">
<b-table id="my-table" small striped hover responsive="md" primary-key="key" :no-local-sorting="false"
@@ -139,13 +139,6 @@
</div>
</div>
</div>
- <div class="col-lg-2 col-md-4">
- <div class="card">
- <div class="card-body">
- Box previous periods
- </div>
- </div>
- </div>
</div>
<div class="row">
<div class="col-lg-8 col-md-6 col-sm-12 col-xs-12">
@@ -160,6 +153,18 @@
<button @click="newCacheKey" class="btn btn-sm float-right btn-info"><span class="fas fa-sync"></span></button>
</div>
</div>
+ <div class="row">
+ <div class="col-xl-2 col-lg-4 col-sm-6 col-xs-12">
+ <div class="card">
+ <div class="card-header">
+ <h3 class="card-title">I am title</h3>
+ </div>
+ <div class="card-body">
+ Box previous periods
+ </div>
+ </div>
+ </div>
+ </div>
</div>
</template>
diff --git a/frontend/yarn.lock b/frontend/yarn.lock
index 7ccd2cd1db..5a6f766d02 100644
--- a/frontend/yarn.lock
+++ b/frontend/yarn.lock
@@ -1910,9 +1910,9 @@ caniuse-api@^3.0.0:
lodash.uniq "^4.5.0"
caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001219, caniuse-lite@^1.0.30001230:
- version "1.0.30001238"
- resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001238.tgz#e6a8b45455c5de601718736d0242feef0ecdda15"
- integrity sha512-bZGam2MxEt7YNsa2VwshqWQMwrYs5tR5WZQRYSuFxsBQunWjBuXhN4cS9nV5FFb1Z9y+DoQcQ0COyQbv6A+CKw==
+ version "1.0.30001239"
+ resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001239.tgz#66e8669985bb2cb84ccb10f68c25ce6dd3e4d2b8"
+ integrity sha512-cyBkXJDMeI4wthy8xJ2FvDU6+0dtcZSJW3voUF8+e9f1bBeuvyZfc3PNbkOETyhbR+dGCPzn9E7MA3iwzusOhQ==
chalk@^2.0.0, chalk@^2.4.2:
version "2.4.2"
@@ -2217,9 +2217,9 @@ [email protected]:
integrity sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==
core-js-compat@^3.14.0:
- version "3.14.0"
- resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.14.0.tgz#b574dabf29184681d5b16357bd33d104df3d29a5"
- integrity sha512-R4NS2eupxtiJU+VwgkF9WTpnSfZW4pogwKHd8bclWU2sp93Pr5S1uYJI84cMOubJRou7bcfL0vmwtLslWN5p3A==
+ version "3.15.0"
+ resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.15.0.tgz#e14a371123db9d1c5b41206d3f420643d238b8fa"
+ integrity sha512-8X6lWsG+s7IfOKzV93a7fRYfWRZobOfjw5V5rrq43Vh/W+V6qYxl7Akalsvgab4PFT/4L/pjQbdBUEM36NXKrw==
dependencies:
browserslist "^4.16.6"
semver "7.0.0"
@@ -2230,9 +2230,9 @@ core-js@^2.4.0:
integrity sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==
core-js@^3.6.5:
- version "3.14.0"
- resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.14.0.tgz#62322b98c71cc2018b027971a69419e2425c2a6c"
- integrity sha512-3s+ed8er9ahK+zJpp9ZtuVcDoFzHNiZsPbNAAE4KXgrRHbjSqqNN6xGSXq6bq7TZIbKj4NLrLb6bJ5i+vSVjHA==
+ version "3.15.0"
+ resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.15.0.tgz#db9554ebce0b6fd90dc9b1f2465c841d2d055044"
+ integrity sha512-GUbtPllXMYRzIgHNZ4dTYTcUemls2cni83Q4Q/TrFONHfhcg9oEGOtaGHfb0cpzec60P96UKPvMkjX1jET8rUw==
core-util-is@~1.0.0:
version "1.0.2"
@@ -6796,9 +6796,9 @@ yaml@^1.10.0, yaml@^1.10.2:
integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==
yargs-parser@^20.2.2:
- version "20.2.7"
- resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.7.tgz#61df85c113edfb5a7a4e36eb8aa60ef423cbc90a"
- integrity sha512-FiNkvbeHzB/syOjIUxFDCnhSfzAL8R5vs40MgLFBorXACCOAEaWu0gRZl14vG8MR9AOJIZbmkjhusqBYZ3HTHw==
+ version "20.2.9"
+ resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee"
+ integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==
yargs@^17.0.1:
version "17.0.1"
diff --git a/public/v2/js/transactions/create.js b/public/v2/js/transactions/create.js
index fd26f5d408..d5a300618e 100755
--- a/public/v2/js/transactions/create.js
+++ b/public/v2/js/transactions/create.js
@@ -1,2 +1,2 @@
-(self.webpackChunk=self.webpackChunk||[]).push([[282],{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 u=a(9119),_=a(3894),d=a(584),p=a(7090),g=a(4431),m=a(8358),y=a(4135),h=a(3703);const b={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){console.log("initialiseStore for dashboard."),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,u.Z)(i),a=(0,_.Z)(i);break;case"1W":t=(0,u.Z)((0,d.Z)(i,{weekStartsOn:1})),a=(0,_.Z)((0,p.Z)(i,{weekStartsOn:1}));break;case"1M":t=(0,u.Z)((0,h.Z)(i)),a=(0,_.Z)((0,y.Z)(i));break;case"3M":t=(0,u.Z)((0,g.Z)(i)),a=(0,_.Z)((0,m.Z)(i));break;case"6M":i.getMonth()<=5&&((t=new Date(i)).setMonth(0),t.setDate(1),t=(0,u.Z)(t),(a=new Date(i)).setMonth(5),a.setDate(30),a=(0,_.Z)(t)),i.getMonth()>5&&((t=new Date(i)).setMonth(6),t.setDate(1),t=(0,u.Z)(t),(a=new Date(i)).setMonth(11),a.setDate(31),a=(0,_.Z)(t));break;case"1Y":(t=new Date(i)).setMonth(0),t.setDate(1),t=(0,u.Z)(t),(a=new Date(i)).setMonth(11),a.setDate(31),a=(0,_.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 f=function(){return{listPageSize:33,timezone:"",cacheKey:{age:0,value:"empty"}}},v={initialiseStore:function(e){if(console.log("Now in initialize store."),localStorage.cacheKey){console.log("Storage has cache key: "),console.log(localStorage.cacheKey);var t=JSON.parse(localStorage.cacheKey);Date.now()-t.age>864e5?(console.log("Key is here but is old."),e.commit("refreshCacheKey")):(console.log("Cache key from local storage: "+t.value),e.commit("setCacheKey",t))}else console.log("No key need new one."),e.commit("refreshCacheKey");localStorage.listPageSize&&(f.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&&(f.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:f,getters:{listPageSize:function(e){return e.listPageSize},timezone:function(e){return e.timezone},cacheKey:function(e){return e.cacheKey.value}},actions:v,mutations:{refreshCacheKey:function(e){var t=Date.now(),a=Array(9).join((Math.random().toString(36)+"00000000000000000").slice(2,18)).slice(0,8),n={age:t,value:a};console.log("Store new key in string JSON"),console.log(JSON.stringify(n)),localStorage.cacheKey=JSON.stringify(n),e.cacheKey={age:t,value:a},console.log("Refresh: cachekey is now "+a)},setCacheKey:function(e,t){console.log("Stored cache key in localstorage."),console.log(t),console.log(JSON.stringify(t)),localStorage.cacheKey=JSON.stringify(t),e.cacheKey=t},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:b}}},strict:false,plugins:[],state:{currencyPreference:{},locale:"en-US",listPageSize:50},mutations:{setCurrencyPreference:function(e,t){e.currencyPreference=t.payload},initialiseStore:function(e){if(console.log("Now in initialiseStore()"),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){console.log("Now in updateCurrencyPreference"),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)}})},2811:(e,t,a)=>{"use strict";var n=a(9899),i=a(8035),o=a(7070),s=a(5935),r=a(1571),c=a(629);function l(e){return(l="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 _(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){d(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 d(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const p={name:"Create",components:{SplitForm:r.Z,Alert:i.Z,SplitPills:o.Z,TransactionGroupTitle:s.Z},created:function(){var e=window.location.pathname.split("/"),t=e[e.length-1],a=new Date;this.date=[a.getFullYear(),("0"+(a.getMonth()+1)).slice(-2),("0"+a.getDate()).slice(-2)].join("-")+"T00:00",this.setTransactionType(t[0].toUpperCase()+t.substring(1)),this.getExpectedSourceTypes(),this.getAccountToTransaction(),this.getCustomFields(),this.addTransaction()},data:function(){return{errorMessage:"",successMessage:"",customFields:{},enableSubmit:!0,createAnother:!1,resetFormAfter:!1,submittedTransaction:!1,submittedLinks:!1,submittedAttachments:-1,inError:!1,submittedAttCount:{},groupTitleErrors:[],returnedGroupId:0,returnedGroupTitle:"",accountToTransaction:{},allowedOpposingTypes:{},sourceAllowedTypes:["Asset account","Loan","Debt","Mortgage","Revenue account"],destinationAllowedTypes:["Asset account","Loan","Debt","Mortgage","Expense account"],date:""}},computed:_(_({},(0,c.Se)("transactions/create",["transactionType","transactions","groupTitle","defaultErrors"])),(0,c.Se)("root",["listPageSize"])),watch:{submittedAttachments:function(){this.finaliseSubmission()}},methods:_(_({},(0,c.OI)("transactions/create",["setGroupTitle","addTransaction","deleteTransaction","setTransactionError","setTransactionType","resetErrors","updateField","resetTransactions"])),{},{addTransactionArray:function(e){e.preventDefault(),this.addTransaction()},removeTransaction:function(e){this.$store.commit("transactions/create/deleteTransaction",e)},submitData:function(e,t){return axios.post(e,t)},handleSubmissionResponse:function(e){this.returnedGroupId=parseInt(e.data.data.id),this.returnedGroupTitle=null===e.data.data.attributes.group_title?e.data.data.attributes.transactions[0].description:e.data.data.attributes.group_title;var t=[],a=e.data.data.attributes.transactions;for(var n in a)a.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&t.push(parseInt(a[n].transaction_journal_id));return Promise.resolve({journals:t})},submitLinks:function(e,t){var a=[];for(var n in e.journals)if(e.journals.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294){var i=e.journals[n],o=t.transactions[n].links;for(var s in o)if(o.hasOwnProperty(s)&&/^0$|^[1-9]\d*$/.test(s)&&s<=4294967294){var r=o[s];0===r.outward_id&&(r.outward_id=i),0===r.inward_id&&(r.inward_id=i),a.push(axios.post("./api/v1/transaction_links",r))}}return 0===a.length?Promise.resolve({response:"from submitLinks"}):Promise.all(a)},submitAttachments:function(e,t){var a=!1;for(var n in e.journals)if(e.journals.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294){var i=e.journals[n];t.transactions[n].attachments&&(this.updateField({index:n,field:"transaction_journal_id",value:i}),a=!0)}return!0===a&&(this.submittedAttachments=0),Promise.resolve({response:"from submitAttachments"})},selectedAttachment:function(e){this.updateField({index:e.index,field:"attachments",value:!0})},finaliseSubmission:function(){if(0!==this.submittedAttachments){if(!1!==this.createAnother){if(!1===this.inError&&(this.errorMessage="",this.successMessage=this.$t("firefly.transaction_stored_link",{ID:this.returnedGroupId,title:this.returnedGroupTitle})),this.enableSubmit=!0,this.submittedTransaction=!1,this.submittedAttachments=-1,!this.resetFormAfter)for(var e in this.transactions)this.transactions.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294&&this.transactions.hasOwnProperty(e)&&(this.updateField({index:e,field:"transaction_journal_id",value:0}),this.updateField({index:e,field:"errors",value:this.defaultErrors}));return this.resetFormAfter&&(this.resetTransactions(),this.addTransaction()),Promise.resolve({response:"from finaliseSubmission"})}var t;window.location.href=(null!==(t=window.previousURL)&&void 0!==t?t:"/")+"?transaction_group_id="+this.returnedGroupId+"&message=created"}},handleSubmissionError:function(e){this.enableSubmit=!0,this.inError=!0,this.parseErrors(e.response.data)},submitTransaction:function(e){var t=this;e.preventDefault(),this.enableSubmit=!1,this.inError=!1,this.successMessage="",this.errorMessage="";var a=this.convertData();this.submitData("./api/v1/transactions",a).then(this.handleSubmissionResponse).then((function(e){return Promise.all([t.submitLinks(e,a),t.submitAttachments(e,a)])})).then(this.finaliseSubmission).catch(this.handleSubmissionError)},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){var t=e.hasMarker?e.zoomLevel:null,a=e.hasMarker?e.lat:null,n=e.hasMarker?e.lng:null;this.updateField({index:e.index,field:"zoom_level",value:t}),this.updateField({index:e.index,field:"latitude",value:a}),this.updateField({index:e.index,field:"longitude",value:n})},storeAccountValue:function(e){this.updateField({index:e.index,field:e.direction+"_account_id",value:e.id}),this.updateField({index:e.index,field:e.direction+"_account_type",value:e.type}),this.updateField({index:e.index,field:e.direction+"_account_name",value:e.name}),this.updateField({index:e.index,field:e.direction+"_account_currency_id",value:e.currency_id}),this.updateField({index:e.index,field:e.direction+"_account_currency_code",value:e.currency_code}),this.updateField({index:e.index,field:e.direction+"_account_currency_symbol",value:e.currency_symbol})},storeField:function(e){this.updateField(e)},storeDate:function(e){this.date=e.date},storeGroupTitle:function(e){this.setGroupTitle({groupTitle:e})},submitTransactionLinks:function(e,t){var a=[],n=t.data.data.attributes.transactions,i=0;for(var o in e.transactions)if(e.transactions.hasOwnProperty(o)&&/^0$|^[1-9]\d*$/.test(o)&&o<=4294967294){var s=e.transactions[o];if(n.hasOwnProperty(o)){var r=n[o];for(var c in s.links)if(s.links.hasOwnProperty(c)&&/^0$|^[1-9]\d*$/.test(c)&&c<=4294967294){var l=s.links[c];i++,0===l.outward_id&&(l.outward_id=r.transaction_journal_id),0===l.inward_id&&(l.inward_id=r.transaction_journal_id),a.push(axios.post("./api/v1/transaction_links",l).then((function(e){})))}}}0!==i?Promise.all(a).then((function(){this.submittedLinks=!0})):this.submittedLinks=!0},parseErrors:function(e){for(var t in this.transactions)this.transactions.hasOwnProperty(t)&&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]}},convertData:function(){var e={transactions:[]};for(var t in this.groupTitle.length>0&&(e.group_title=this.groupTitle),this.transactions)this.transactions.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294&&e.transactions.push(this.convertSplit(t,this.transactions[t]));return e.transactions.length>1&&""!==e.transactions[0].description&&(null===e.group_title||""===e.group_title)&&(e.group_title=e.transactions[0].description),e.transactions.length>1&&(e=this.synchronizeAccounts(e)),e},synchronizeAccounts:function(e){for(var t in e.transactions)e.transactions.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294&&("Transfer"===this.transactionType&&(e.transactions[t].source_name=null,e.transactions[t].destination_name=null,t>0&&(e.transactions[t].source_id=e.transactions[0].source_id,e.transactions[t].destination_id=e.transactions[0].destination_id)),"Deposit"===this.transactionType&&(e.transactions[t].destination_name=null,t>0&&(e.transactions[t].destination_id=e.transactions[0].destination_id)),"Withdrawal"===this.transactionType&&(e.transactions[t].source_name=null,t>0&&(e.transactions[t].source_id=e.transactions[0].source_id)));return e},convertSplit:function(e,t){var a,n,i,o;""===t.destination_account_name&&(t.destination_account_name=null),0===t.destination_account_id&&(t.destination_account_name=null),""===t.source_account_name&&(t.source_account_name=null),0===t.source_account_id&&(t.source_account_id=null);var s={description:t.description,date:this.date,type:this.transactionType.toLowerCase(),source_id:null!==(a=t.source_account_id)&&void 0!==a?a:null,source_name:null!==(n=t.source_account_name)&&void 0!==n?n:null,destination_id:null!==(i=t.destination_account_id)&&void 0!==i?i:null,destination_name:null!==(o=t.destination_account_name)&&void 0!==o?o:null,currency_id:t.currency_id,amount:t.amount,budget_id:t.budget_id,category_name:t.category,interest_date:t.interest_date,book_date:t.book_date,process_date:t.process_date,due_date:t.due_date,payment_date:t.payment_date,invoice_date:t.invoice_date,internal_reference:t.internal_reference,external_url:t.external_url,notes:t.notes,external_id:t.external_id,zoom_level:t.zoom_level,longitude:t.longitude,latitude:t.latitude,tags:[],order:0,reconciled:!1,attachments:t.attachments};if(0!==t.tags.length)for(var r in t.tags)if(t.tags.hasOwnProperty(r)&&/^0$|^[1-9]\d*$/.test(r)&&r<=4294967294){var c=t.tags[r];"object"===l(c)&&null!==c&&s.tags.push(c.text),"string"==typeof c&&s.tags.push(c)}0!==t.piggy_bank_id&&(s.piggy_bank_id=t.piggy_bank_id),0!==t.bill_id&&(s.bill_id=t.bill_id),0!==t.foreign_currency_id&&""!==t.foreign_amount&&(s.foreign_currency_id=t.foreign_currency_id),""!==t.foreign_amount&&(s.foreign_amount=t.foreign_amount),s.currency_id=t.source_account_currency_id,"Deposit"===this.transactionType&&(s.currency_id=t.destination_account_currency_id);var u=[];for(var _ in t.links)if(t.links.hasOwnProperty(_)&&/^0$|^[1-9]\d*$/.test(_)&&_<=4294967294){var d=t.links[_],p=d.link_type_id.split("-"),g="outward"===p[1]?0:parseInt(d.transaction_journal_id),m="inward"===p[1]?0:parseInt(d.transaction_journal_id),y={link_type_id:parseInt(p[0]),inward_id:g,outward_id:m};u.push(y)}return s.links=u,null===s.source_id&&delete s.source_id,null===s.source_name&&delete s.source_name,null===s.destination_id&&delete s.destination_id,null===s.destination_name&&delete s.destination_name,s},getAllowedOpposingTypes:function(){var e=this;axios.get("./api/v1/configuration/firefly.allowed_opposing_types").then((function(t){e.allowedOpposingTypes=t.data.data.value}))},getExpectedSourceTypes:function(){var e=this;axios.get("./api/v1/configuration/firefly.expected_source_types").then((function(t){e.sourceAllowedTypes=t.data.data.value.source[e.transactionType],e.destinationAllowedTypes=t.data.data.value.destination[e.transactionType]}))},getAccountToTransaction:function(){var e=this;axios.get("./api/v1/configuration/firefly.account_to_transaction").then((function(t){e.accountToTransaction=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}))},setDestinationAllowedTypes:function(e){0!==e.length?this.destinationAllowedTypes=e:this.destinationAllowedTypes=this.defaultDestinationAllowedTypes},setSourceAllowedTypes:function(e){0!==e.length?this.sourceAllowedTypes=e:this.sourceAllowedTypes=this.defaultSourceAllowedTypes}})};const g=(0,a(1900).Z)(p,(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("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:n,attrs:{count:e.transactions.length,"custom-fields":e.customFields,date:e.date,"destination-allowed-types":e.destinationAllowedTypes,index:n,"source-allowed-types":e.sourceAllowedTypes,"submitted-transaction":e.submittedTransaction,transaction:t,"transaction-type":e.transactionType},on:{"uploaded-attachments":function(t){return e.uploadedAttachment(t)},"selected-attachments":function(t){return e.selectedAttachment(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)}}})})),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 card-primary"},[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.addTransactionArray}},[a("span",{staticClass:"far fa-clone"}),e._v(" "+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-success btn-block",attrs:{disabled:!e.enableSubmit},on:{click:e.submitTransaction}},[e.enableSubmit?a("span",[a("span",{staticClass:"far fa-save"}),e._v(" "+e._s(e.$t("firefly.store_transaction")))]):e._e(),e._v(" "),e.enableSubmit?e._e():a("span",[a("span",{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.createAnother,expression:"createAnother"}],staticClass:"form-check-input",attrs:{id:"createAnother",type:"checkbox"},domProps:{checked:Array.isArray(e.createAnother)?e._i(e.createAnother,null)>-1:e.createAnother},on:{change:function(t){var a=e.createAnother,n=t.target,i=!!n.checked;if(Array.isArray(a)){var o=e._i(a,null);n.checked?o<0&&(e.createAnother=a.concat([null])):o>-1&&(e.createAnother=a.slice(0,o).concat(a.slice(o+1)))}else e.createAnother=i}}}),e._v(" "),a("label",{staticClass:"form-check-label",attrs:{for:"createAnother"}},[a("span",{staticClass:"small"},[e._v(e._s(e.$t("firefly.create_another")))])])]),e._v(" "),a("div",{staticClass:"form-check"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.resetFormAfter,expression:"resetFormAfter"}],staticClass:"form-check-input",attrs:{id:"resetFormAfter",disabled:!e.createAnother,type:"checkbox"},domProps:{checked:Array.isArray(e.resetFormAfter)?e._i(e.resetFormAfter,null)>-1:e.resetFormAfter},on:{change:function(t){var a=e.resetFormAfter,n=t.target,i=!!n.checked;if(Array.isArray(a)){var o=e._i(a,null);n.checked?o<0&&(e.resetFormAfter=a.concat([null])):o>-1&&(e.resetFormAfter=a.slice(0,o).concat(a.slice(o+1)))}else e.resetFormAfter=i}}}),e._v(" "),a("label",{staticClass:"form-check-label",attrs:{for:"resetFormAfter"}},[a("span",{staticClass:"small"},[e._v(e._s(e.$t("firefly.reset_after")))])])])])])])])])])],1)],1)}),[],!1,null,null,null).exports;var m=a(7760),y=a.n(m);a(232),y().config.productionTip=!1;var h=a(157),b={};new(y())({i18n:h,store:n.Z,render:function(e){return e(g,{props:b})},beforeCreate:function(){this.$store.dispatch("root/initialiseStore"),this.$store.commit("initialiseStore"),this.$store.dispatch("updateCurrencyPreference")}}).$mount("#transactions_create")},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.d(t,{Z:()=>r});var n=a(4015),i=a.n(n),o=a(3645),s=a.n(o)()(i());s.push([e.id,".vue-tags-input{display:block;max-width:100%!important}.ti-input,.vue-tags-input{border-radius:.25rem;width:100%}.ti-input{max-width:100%}.ti-new-tag-input{font-size:1rem}","",{version:3,sources:["webpack://./src/components/transactions/TransactionTags.vue"],names:[],mappings:"AA2HA,gBAGA,aAAA,CADA,wBAGA,CAEA,0BAHA,oBAAA,CAHA,UAUA,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},8035:(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("span",{staticClass:"icon fas fa-ban"}):e._e(),e._v(" "),"success"===e.type?a("span",{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},1571:(e,t,a)=>{"use strict";a.d(t,{Z:()=>ce});var n=a(8986),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("span",{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 u={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 _=(0,s.Z)(u,(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 g={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 m=(0,s.Z)(g,(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("span",{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 y={name:"SwitchAccount",props:["index","transactionType"],methods:{}};const h=(0,s.Z)(y,(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,null,null).exports;const b={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 f=(0,s.Z)(b,(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,null,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,null,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,null,null).exports;const A={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 C=(0,s.Z)(A,(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 T={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)(T,(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("span",{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 S={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)(S,(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 I=a(1310),j=a.n(I),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)}}}};var F=a(3379),M=a.n(F),L=a(6665),E={insert:"head",singleton:!1};M()(L.Z,E);L.Z.locals;const O=(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 R={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)(R,(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 q={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 U=(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.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("span",{staticClass:"far fa-trash-alt"})])])}],!1,null,null,null).exports;const V={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 Z=(0,s.Z)(V,(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("span",{staticClass:"far fa-trash-alt"})])])}],!1,null,null,null).exports;const K={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 W=(0,s.Z)(K,(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,null,null).exports;var G=a(3465);const H={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=G(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=G(e))},links:function(e){!0===this.emitEvent&&this.$emit("set-field",{index:this.index,field:"links",value:G(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 J=(0,s.Z)(H,(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("span",{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("span",{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("span",{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.apply(null,arguments)}}},[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("span",{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("span",{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 Q={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 Y=(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.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,null,null).exports;var X=a(7070),ee=a(5352),te=a(2727),ae=a(8380),ne=(a(1043),a(5243)),ie=a.n(ne);delete ie().Icon.Default.prototype._getIconUrl,ie().Icon.Default.mergeOptions({iconRetinaUrl:a(9895),iconUrl:a(2330),shadowUrl:a(4645)});const oe={name:"TransactionLocation",props:{index:{},value:{type:Object,required:!1},errors:{},customFields:{}},components:{LMap:ee.Z,LTileLayer:te.Z,LMarker:ae.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 se=(0,s.Z)(oe,(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,null,null).exports,re={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(){},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:se,SplitPills:X.Z,TransactionAttachments:Y,TransactionNotes:W,TransactionExternalUrl:Z,TransactionInternalReference:U,TransactionPiggyBank:$,TransactionTags:O,TransactionLinks:J,TransactionBill:z,TransactionCategory:D,TransactionCustomDates:C,TransactionForeignCurrency:x,TransactionForeignAmount:k,TransactionAmount:f,SwitchAccount:h,TransactionAccount:m,TransactionBudget:p,TransactionDescription:r,TransactionDate:_}};const ce=(0,s.Z)(re,(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("span",{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},5935:(e,t,a)=>{"use strict";a.d(t,{Z:()=>s});var n=a(8986),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("span",{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},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":"Дълг","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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":"(нищо)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Касичка","percentage":"%","amount":"Сума","lastActivity":"Последна активност","name":"Име","role":"Привилегии","description":"Описание","date":"Дата","source_account":"Разходна сметка","destination_account":"Приходна сметка","category":"Категория","iban":"IBAN","interest":"Лихва","interest_period":"Interest period","liability_type":"Вид на задължението","liability_direction":"Liability in/out","currentBalance":"Текущ баланс","next_expected_match":"Следващo очакванo съвпадение"},"config":{"html_language":"bg","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"MMMM d, y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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é)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Pokladnička","percentage":"%","amount":"Částka","lastActivity":"Poslední aktivita","name":"Jméno","role":"Role","description":"Popis","date":"Datum","source_account":"Zdrojový účet","destination_account":"Cílový účet","category":"Kategorie","iban":"IBAN","interest":"Úrok","interest_period":"Interest period","liability_type":"Typ závazku","liability_direction":"Liability in/out","currentBalance":"Aktuální zůstatek","next_expected_match":"Další očekávaná shoda"},"config":{"html_language":"cs","week_in_year_fns":"\\"týden\\" w, yyyy","month_and_day_fns":"MMMM d, y","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":"Einnahmen anzeigen","go_to_categories":"Kategorien anzeigen","expense_accounts":"Ausgabekonten","go_to_expenses":"Ausgaben anzeigen","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","liability_direction_null_short":"Unbekannt","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":"Geschuldeter Betrag","liability_direction_debit_short":"Schuldiger Betrag","account_type_debt":"Schulden","account_type_loan":"Darlehen","left_in_debt":"Fälliger Betrag","account_type_mortgage":"Hypothek","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)","transaction_expand_split":"Aufteilung erweitern","transaction_collapse_split":"Aufteilung reduzieren"},"list":{"piggy_bank":"Sparschwein","percentage":"%","amount":"Betrag","lastActivity":"Letzte Aktivität","name":"Name","role":"Rolle","description":"Beschreibung","date":"Datum","source_account":"Quellkonto","destination_account":"Zielkonto","category":"Kategorie","iban":"IBAN","interest":"Zinsen","interest_period":"Zinsperiode","liability_type":"Verbindlichkeitsart","liability_direction":"Verbindlichkeit ein/aus","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":"D. MMMM Y","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":"Χρέος","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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":"(τίποτα)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Κουμπαράς","percentage":"pct.","amount":"Ποσό","lastActivity":"Τελευταία δραστηριότητα","name":"Όνομα","role":"Ρόλος","description":"Περιγραφή","date":"Ημερομηνία","source_account":"Λογαριασμός προέλευσης","destination_account":"Λογαριασμός προορισμού","category":"Κατηγορία","iban":"IBAN","interest":"Τόκος","interest_period":"Interest period","liability_type":"Τύπος υποχρέωσης","liability_direction":"Liability in/out","currentBalance":"Τρέχον υπόλοιπο","next_expected_match":"Επόμενη αναμενόμενη αντιστοίχιση"},"config":{"html_language":"el","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"MMMM d, y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","lastActivity":"Last activity","name":"Name","role":"Role","description":"Description","date":"Date","source_account":"Source account","destination_account":"Destination account","category":"Category","iban":"IBAN","interest":"Interest","interest_period":"Interest period","liability_type":"Type of liability","liability_direction":"Liability in/out","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":"MMMM d, y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","lastActivity":"Last activity","name":"Name","role":"Role","description":"Description","date":"Date","source_account":"Source account","destination_account":"Destination account","category":"Category","iban":"IBAN","interest":"Interest","interest_period":"Interest period","liability_type":"Type of liability","liability_direction":"Liability in/out","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"MMMM d, y","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","liability_direction_null_short":"Desconocido","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":"Tenía esta deuda","liability_direction_debit_short":"Tiene esta deuda","account_type_debt":"Deuda","account_type_loan":"Préstamo","left_in_debt":"Importe debido","account_type_mortgage":"Hipoteca","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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Alcancilla","percentage":"pct.","amount":"Monto","lastActivity":"Actividad más reciente","name":"Nombre","role":"Rol","description":"Descripción","date":"Fecha","source_account":"Cuenta origen","destination_account":"Cuenta destino","category":"Categoría","iban":"IBAN","interest":"Interés","interest_period":"Período de interés","liability_type":"Tipo de pasivo","liability_direction":"Pasivo entrada/salida","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":"d MMMM y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Säästöpossu","percentage":"pros.","amount":"Summa","lastActivity":"Viimeisin tapahtuma","name":"Nimi","role":"Rooli","description":"Kuvaus","date":"Päivämäärä","source_account":"Lähdetili","destination_account":"Kohdetili","category":"Kategoria","iban":"IBAN","interest":"Korko","interest_period":"Interest period","liability_type":"Vastuutyyppi","liability_direction":"Liability in/out","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":"MMMM d, y","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","liability_direction_null_short":"Inconnu","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":"Emprunteur","liability_direction_debit_short":"Prêteur","account_type_debt":"Dette","account_type_loan":"Emprunt","left_in_debt":"Montant dû","account_type_mortgage":"Prêt immobilier","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)","transaction_expand_split":"Développer la ventilation","transaction_collapse_split":"Réduire la ventilation"},"list":{"piggy_bank":"Tirelire","percentage":"pct.","amount":"Montant","lastActivity":"Activité récente","name":"Nom","role":"Rôle","description":"Description","date":"Date","source_account":"Compte source","destination_account":"Compte destinataire","category":"Catégorie","iban":"Numéro IBAN","interest":"Intérêt","interest_period":"Période d’intérêt","liability_type":"Type de passif","liability_direction":"Sens du passif","currentBalance":"Solde courant","next_expected_match":"Prochaine association attendue"},"config":{"html_language":"fr","week_in_year_fns":"\'Semaine\' w, yyyy","month_and_day_fns":"d MMMM y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Malacpersely","percentage":"%","amount":"Összeg","lastActivity":"Utolsó aktivitás","name":"Név","role":"Szerepkör","description":"Leírás","date":"Dátum","source_account":"Forrás bankszámla","destination_account":"Cél bankszámla","category":"Kategória","iban":"IBAN","interest":"Kamat","interest_period":"Interest period","liability_type":"A kötelezettség típusa","liability_direction":"Liability in/out","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":"MMMM d, y","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","liability_direction_null_short":"Sconosciuta","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":"Mi devono questo debito","liability_direction_debit_short":"Devo questo debito","account_type_debt":"Debito","account_type_loan":"Prestito","left_in_debt":"Importo da pagare","account_type_mortgage":"Mutuo","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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Salvadanaio","percentage":"perc.","amount":"Importo","lastActivity":"Ultima attività","name":"Nome","role":"Ruolo","description":"Descrizione","date":"Data","source_account":"Conto di origine","destination_account":"Conto destinazione","category":"Categoria","iban":"IBAN","interest":"Interesse","interest_period":"Periodo interessi","liability_type":"Tipo di passività","liability_direction":"Passività in entrata/uscita","currentBalance":"Saldo corrente","next_expected_match":"Prossimo abbinamento previsto"},"config":{"html_language":"it","week_in_year_fns":"\'Settimana\' w, yyyy","month_and_day_fns":"d MMMM y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Sparegris","percentage":"pct.","amount":"Beløp","lastActivity":"Siste aktivitet","name":"Navn","role":"Rolle","description":"Beskrivelse","date":"Dato","source_account":"Kildekonto","destination_account":"Målkonto","category":"Kategori","iban":"IBAN","interest":"Renter","interest_period":"Interest period","liability_type":"Type gjeld","liability_direction":"Liability in/out","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":"MMMM d, y","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","liability_direction_null_short":"Onbekend","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":"Schuldeiser","liability_direction_debit_short":"Schuldenaar","account_type_debt":"Schuld","account_type_loan":"Lening","left_in_debt":"Verschuldigd bedrag","account_type_mortgage":"Hypotheek","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)","transaction_expand_split":"Split uitklappen","transaction_collapse_split":"Split inklappen"},"list":{"piggy_bank":"Spaarpotje","percentage":"pct","amount":"Bedrag","lastActivity":"Laatste activiteit","name":"Naam","role":"Rol","description":"Omschrijving","date":"Datum","source_account":"Bronrekening","destination_account":"Doelrekening","category":"Categorie","iban":"IBAN","interest":"Rente","interest_period":"Renteperiode","liability_type":"Type passiva","liability_direction":"Passiva in- of uitgaand","currentBalance":"Huidig saldo","next_expected_match":"Volgende verwachte match"},"config":{"html_language":"nl","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"d MMMM y","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","liability_direction_null_short":"Nieznane","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":"Dług wobec Ciebie","liability_direction_debit_short":"Jesteś dłużny","account_type_debt":"Dług","account_type_loan":"Pożyczka","left_in_debt":"Do zapłaty","account_type_mortgage":"Hipoteka","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)","transaction_expand_split":"Rozwiń podział","transaction_collapse_split":"Zwiń podział"},"list":{"piggy_bank":"Skarbonka","percentage":"%","amount":"Kwota","lastActivity":"Ostatnia aktywność","name":"Nazwa","role":"Rola","description":"Opis","date":"Data","source_account":"Konto źródłowe","destination_account":"Konto docelowe","category":"Kategoria","iban":"IBAN","interest":"Odsetki","interest_period":"Okres odsetkowy","liability_type":"Rodzaj zobowiązania","liability_direction":"Zobowiązania przychodzące/wychodzące","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":"d MMMM y","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","liability_direction_null_short":"Desconhecida","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Débito","account_type_loan":"Empréstimo","left_in_debt":"Valor devido","account_type_mortgage":"Hipoteca","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)","transaction_expand_split":"Exibir divisão","transaction_collapse_split":"Esconder divisão"},"list":{"piggy_bank":"Cofrinho","percentage":"pct.","amount":"Total","lastActivity":"Última atividade","name":"Nome","role":"Papel","description":"Descrição","date":"Data","source_account":"Conta de origem","destination_account":"Conta de destino","category":"Categoria","iban":"IBAN","interest":"Juros","interest_period":"Período de juros","liability_type":"Tipo de passivo","liability_direction":"Liability in/out","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":"MMMM d, y","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":"Património 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 ativos","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 ativos 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","liability_direction_null_short":"Desconhecido","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":"Deve-lhe esta dívida","liability_direction_debit_short":"Deve esta dívida","account_type_debt":"Dívida","account_type_loan":"Empréstimo","left_in_debt":"Montante em dívida","account_type_mortgage":"Hipoteca","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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Mealheiro","percentage":"%.","amount":"Montante","lastActivity":"Ultima actividade","name":"Nome","role":"Regra","description":"Descricao","date":"Data","source_account":"Conta de origem","destination_account":"Conta de destino","category":"Categoria","iban":"IBAN","interest":"Juro","interest_period":"Período de juros","liability_type":"Tipo de responsabilidade","liability_direction":"Passivo entrada/fora","currentBalance":"Saldo actual","next_expected_match":"Proxima correspondencia esperada"},"config":{"html_language":"pt","week_in_year_fns":"\'Semana\' w, yyyy","month_and_day_fns":"d MMMM, y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Pușculiță","percentage":"procent %","amount":"Sumă","lastActivity":"Ultima activitate","name":"Nume","role":"Rol","description":"Descriere","date":"Dată","source_account":"Contul sursă","destination_account":"Contul de destinație","category":"Categorii","iban":"IBAN","interest":"Interes","interest_period":"Interest period","liability_type":"Tip de provizion","liability_direction":"Liability in/out","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":"MMMM d, y","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":"Включить?","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":"Создать новый долговой счёт","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":"Дебит","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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":"(нет)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Копилка","percentage":"процентов","amount":"Сумма","lastActivity":"Последняя активность","name":"Имя","role":"Роль","description":"Описание","date":"Дата","source_account":"Исходный счет","destination_account":"Счет назначения","category":"Категория","iban":"IBAN","interest":"Процентная ставка","interest_period":"Interest period","liability_type":"Тип ответственности","liability_direction":"Liability in/out","currentBalance":"Текущий баланс","next_expected_match":"Следующий ожидаемый результат"},"config":{"html_language":"ru","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"MMMM d, y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Pokladnička","percentage":"perc.","amount":"Suma","lastActivity":"Posledná aktivita","name":"Meno/Názov","role":"Rola","description":"Popis","date":"Dátum","source_account":"Zdrojový účet","destination_account":"Cieľový účet","category":"Kategória","iban":"IBAN","interest":"Úrok","interest_period":"Interest period","liability_type":"Typ záväzku","liability_direction":"Liability in/out","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":"MMMM d, y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Spargris","percentage":"procent","amount":"Belopp","lastActivity":"Senaste aktivitet","name":"Namn","role":"Roll","description":"Beskrivning","date":"Datum","source_account":"Källkonto","destination_account":"Destinationskonto","category":"Kategori","iban":"IBAN","interest":"Ränta","interest_period":"Interest period","liability_type":"Typ av ansvar","liability_direction":"Liability in/out","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":"MMMM d, y","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ợ","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"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","description":"Mô tả","date":"Ngày","source_account":"Tài khoản gửi","destination_account":"Tài khoản nhận","category":"Danh mục","iban":"IBAN","interest":"Lãi","interest_period":"Interest period","liability_type":"Loại trách nhiệm pháp lý","liability_direction":"Liability in/out","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":"MMMM d, y","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":"欠款","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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":"(空)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"存钱罐","percentage":"%","amount":"金额","lastActivity":"上次活动","name":"名称","role":"角色","description":"描述","date":"日期","source_account":"来源账户","destination_account":"目标账户","category":"分类","iban":"国际银行账户号码(IBAN)","interest":"利息","interest_period":"Interest period","liability_type":"债务类型","liability_direction":"Liability in/out","currentBalance":"目前余额","next_expected_match":"预期下次支付"},"config":{"html_language":"zh-cn","week_in_year_fns":"\'周\' w,yyyy","month_and_day_fns":"MMMM d, y","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":"負債","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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":"(空)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"小豬撲滿","percentage":"pct.","amount":"金額","lastActivity":"上次活動","name":"名稱","role":"角色","description":"描述","date":"日期","source_account":"來源帳戶","destination_account":"目標帳戶","category":"分類","iban":"國際銀行帳戶號碼 (IBAN)","interest":"利率","interest_period":"Interest period","liability_type":"負債類型","liability_direction":"Liability in/out","currentBalance":"目前餘額","next_expected_match":"下一個預期的配對"},"config":{"html_language":"zh-tw","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"MMMM d, y","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=2811,e(e.s=t);var t}));e.O()}]);
+(self.webpackChunk=self.webpackChunk||[]).push([[282],{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 u=a(9119),_=a(3894),d=a(584),p=a(7090),g=a(4431),m=a(8358),y=a(4135),h=a(3703);const b={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){console.log("initialiseStore for dashboard."),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,u.Z)(i),a=(0,_.Z)(i);break;case"1W":t=(0,u.Z)((0,d.Z)(i,{weekStartsOn:1})),a=(0,_.Z)((0,p.Z)(i,{weekStartsOn:1}));break;case"1M":t=(0,u.Z)((0,h.Z)(i)),a=(0,_.Z)((0,y.Z)(i));break;case"3M":t=(0,u.Z)((0,g.Z)(i)),a=(0,_.Z)((0,m.Z)(i));break;case"6M":i.getMonth()<=5&&((t=new Date(i)).setMonth(0),t.setDate(1),t=(0,u.Z)(t),(a=new Date(i)).setMonth(5),a.setDate(30),a=(0,_.Z)(t)),i.getMonth()>5&&((t=new Date(i)).setMonth(6),t.setDate(1),t=(0,u.Z)(t),(a=new Date(i)).setMonth(11),a.setDate(31),a=(0,_.Z)(t));break;case"1Y":(t=new Date(i)).setMonth(0),t.setDate(1),t=(0,u.Z)(t),(a=new Date(i)).setMonth(11),a.setDate(31),a=(0,_.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 f=function(){return{listPageSize:33,timezone:"",cacheKey:{age:0,value:"empty"}}},v={initialiseStore:function(e){if(console.log("Now in initialize store."),localStorage.cacheKey){console.log("Storage has cache key: "),console.log(localStorage.cacheKey);var t=JSON.parse(localStorage.cacheKey);Date.now()-t.age>864e5?(console.log("Key is here but is old."),e.commit("refreshCacheKey")):(console.log("Cache key from local storage: "+t.value),e.commit("setCacheKey",t))}else console.log("No key need new one."),e.commit("refreshCacheKey");localStorage.listPageSize&&(f.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&&(f.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:f,getters:{listPageSize:function(e){return e.listPageSize},timezone:function(e){return e.timezone},cacheKey:function(e){return e.cacheKey.value}},actions:v,mutations:{refreshCacheKey:function(e){var t=Date.now(),a=Array(9).join((Math.random().toString(36)+"00000000000000000").slice(2,18)).slice(0,8),n={age:t,value:a};console.log("Store new key in string JSON"),console.log(JSON.stringify(n)),localStorage.cacheKey=JSON.stringify(n),e.cacheKey={age:t,value:a},console.log("Refresh: cachekey is now "+a)},setCacheKey:function(e,t){console.log("Stored cache key in localstorage."),console.log(t),console.log(JSON.stringify(t)),localStorage.cacheKey=JSON.stringify(t),e.cacheKey=t},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:b}}},strict:false,plugins:[],state:{currencyPreference:{},locale:"en-US",listPageSize:50},mutations:{setCurrencyPreference:function(e,t){e.currencyPreference=t.payload},initialiseStore:function(e){if(console.log("Now in initialiseStore()"),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){console.log("Now in updateCurrencyPreference"),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)}})},713:(e,t,a)=>{"use strict";var n=a(9899),i=a(8035),o=a(7070),s=a(5935),r=a(8130),c=a(629);function l(e){return(l="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 _(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){d(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 d(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const p={name:"Create",components:{SplitForm:r.Z,Alert:i.Z,SplitPills:o.Z,TransactionGroupTitle:s.Z},created:function(){var e=window.location.pathname.split("/"),t=e[e.length-1],a=new Date;this.date=[a.getFullYear(),("0"+(a.getMonth()+1)).slice(-2),("0"+a.getDate()).slice(-2)].join("-")+"T00:00",this.setTransactionType(t[0].toUpperCase()+t.substring(1)),this.getExpectedSourceTypes(),this.getAccountToTransaction(),this.getCustomFields(),this.addTransaction()},data:function(){return{errorMessage:"",successMessage:"",customFields:{},enableSubmit:!0,createAnother:!1,resetFormAfter:!1,submittedTransaction:!1,submittedLinks:!1,submittedAttachments:-1,inError:!1,submittedAttCount:{},groupTitleErrors:[],returnedGroupId:0,returnedGroupTitle:"",accountToTransaction:{},allowedOpposingTypes:{},sourceAllowedTypes:["Asset account","Loan","Debt","Mortgage","Revenue account"],destinationAllowedTypes:["Asset account","Loan","Debt","Mortgage","Expense account"],date:""}},computed:_(_({},(0,c.Se)("transactions/create",["transactionType","transactions","groupTitle","defaultErrors"])),(0,c.Se)("root",["listPageSize"])),watch:{submittedAttachments:function(){this.finaliseSubmission()}},methods:_(_({},(0,c.OI)("transactions/create",["setGroupTitle","addTransaction","deleteTransaction","setTransactionError","setTransactionType","resetErrors","updateField","resetTransactions"])),{},{addTransactionArray:function(e){e.preventDefault(),this.addTransaction()},removeTransaction:function(e){this.$store.commit("transactions/create/deleteTransaction",e)},submitData:function(e,t){return axios.post(e,t)},handleSubmissionResponse:function(e){this.returnedGroupId=parseInt(e.data.data.id),this.returnedGroupTitle=null===e.data.data.attributes.group_title?e.data.data.attributes.transactions[0].description:e.data.data.attributes.group_title;var t=[],a=e.data.data.attributes.transactions;for(var n in a)a.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&t.push(parseInt(a[n].transaction_journal_id));return Promise.resolve({journals:t})},submitLinks:function(e,t){var a=[];for(var n in e.journals)if(e.journals.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294){var i=e.journals[n],o=t.transactions[n].links;for(var s in o)if(o.hasOwnProperty(s)&&/^0$|^[1-9]\d*$/.test(s)&&s<=4294967294){var r=o[s];0===r.outward_id&&(r.outward_id=i),0===r.inward_id&&(r.inward_id=i),a.push(axios.post("./api/v1/transaction_links",r))}}return 0===a.length?Promise.resolve({response:"from submitLinks"}):Promise.all(a)},submitAttachments:function(e,t){var a=!1;for(var n in e.journals)if(e.journals.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294){var i=e.journals[n];t.transactions[n].attachments&&(this.updateField({index:n,field:"transaction_journal_id",value:i}),a=!0)}return!0===a&&(this.submittedAttachments=0),Promise.resolve({response:"from submitAttachments"})},selectedAttachment:function(e){this.updateField({index:e.index,field:"attachments",value:!0})},finaliseSubmission:function(){if(0!==this.submittedAttachments){if(!1!==this.createAnother){if(!1===this.inError&&(this.errorMessage="",this.successMessage=this.$t("firefly.transaction_stored_link",{ID:this.returnedGroupId,title:this.returnedGroupTitle})),this.enableSubmit=!0,this.submittedTransaction=!1,this.submittedAttachments=-1,!this.resetFormAfter)for(var e in this.transactions)this.transactions.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294&&this.transactions.hasOwnProperty(e)&&(this.updateField({index:e,field:"transaction_journal_id",value:0}),this.updateField({index:e,field:"errors",value:this.defaultErrors}));return this.resetFormAfter&&(this.resetTransactions(),this.addTransaction()),Promise.resolve({response:"from finaliseSubmission"})}var t;window.location.href=(null!==(t=window.previousURL)&&void 0!==t?t:"/")+"?transaction_group_id="+this.returnedGroupId+"&message=created"}},handleSubmissionError:function(e){this.enableSubmit=!0,this.inError=!0,this.parseErrors(e.response.data)},submitTransaction:function(e){var t=this;e.preventDefault(),this.enableSubmit=!1,this.inError=!1,this.successMessage="",this.errorMessage="";var a=this.convertData();this.submitData("./api/v1/transactions",a).then(this.handleSubmissionResponse).then((function(e){return Promise.all([t.submitLinks(e,a),t.submitAttachments(e,a)])})).then(this.finaliseSubmission).catch(this.handleSubmissionError)},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){var t=e.hasMarker?e.zoomLevel:null,a=e.hasMarker?e.lat:null,n=e.hasMarker?e.lng:null;this.updateField({index:e.index,field:"zoom_level",value:t}),this.updateField({index:e.index,field:"latitude",value:a}),this.updateField({index:e.index,field:"longitude",value:n})},storeAccountValue:function(e){this.updateField({index:e.index,field:e.direction+"_account_id",value:e.id}),this.updateField({index:e.index,field:e.direction+"_account_type",value:e.type}),this.updateField({index:e.index,field:e.direction+"_account_name",value:e.name}),this.updateField({index:e.index,field:e.direction+"_account_currency_id",value:e.currency_id}),this.updateField({index:e.index,field:e.direction+"_account_currency_code",value:e.currency_code}),this.updateField({index:e.index,field:e.direction+"_account_currency_symbol",value:e.currency_symbol})},storeField:function(e){this.updateField(e)},storeDate:function(e){this.date=e.date},storeGroupTitle:function(e){this.setGroupTitle({groupTitle:e})},submitTransactionLinks:function(e,t){var a=[],n=t.data.data.attributes.transactions,i=0;for(var o in e.transactions)if(e.transactions.hasOwnProperty(o)&&/^0$|^[1-9]\d*$/.test(o)&&o<=4294967294){var s=e.transactions[o];if(n.hasOwnProperty(o)){var r=n[o];for(var c in s.links)if(s.links.hasOwnProperty(c)&&/^0$|^[1-9]\d*$/.test(c)&&c<=4294967294){var l=s.links[c];i++,0===l.outward_id&&(l.outward_id=r.transaction_journal_id),0===l.inward_id&&(l.inward_id=r.transaction_journal_id),a.push(axios.post("./api/v1/transaction_links",l).then((function(e){})))}}}0!==i?Promise.all(a).then((function(){this.submittedLinks=!0})):this.submittedLinks=!0},parseErrors:function(e){for(var t in this.transactions)this.transactions.hasOwnProperty(t)&&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]}},convertData:function(){var e={transactions:[]};for(var t in this.groupTitle.length>0&&(e.group_title=this.groupTitle),this.transactions)this.transactions.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294&&e.transactions.push(this.convertSplit(t,this.transactions[t]));return e.transactions.length>1&&""!==e.transactions[0].description&&(null===e.group_title||""===e.group_title)&&(e.group_title=e.transactions[0].description),e.transactions.length>1&&(e=this.synchronizeAccounts(e)),e},synchronizeAccounts:function(e){for(var t in e.transactions)e.transactions.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294&&("Transfer"===this.transactionType&&(e.transactions[t].source_name=null,e.transactions[t].destination_name=null,t>0&&(e.transactions[t].source_id=e.transactions[0].source_id,e.transactions[t].destination_id=e.transactions[0].destination_id)),"Deposit"===this.transactionType&&(e.transactions[t].destination_name=null,t>0&&(e.transactions[t].destination_id=e.transactions[0].destination_id)),"Withdrawal"===this.transactionType&&(e.transactions[t].source_name=null,t>0&&(e.transactions[t].source_id=e.transactions[0].source_id)));return e},convertSplit:function(e,t){var a,n,i,o;""===t.destination_account_name&&(t.destination_account_name=null),0===t.destination_account_id&&(t.destination_account_name=null),""===t.source_account_name&&(t.source_account_name=null),0===t.source_account_id&&(t.source_account_id=null);var s={description:t.description,date:this.date,type:this.transactionType.toLowerCase(),source_id:null!==(a=t.source_account_id)&&void 0!==a?a:null,source_name:null!==(n=t.source_account_name)&&void 0!==n?n:null,destination_id:null!==(i=t.destination_account_id)&&void 0!==i?i:null,destination_name:null!==(o=t.destination_account_name)&&void 0!==o?o:null,currency_id:t.currency_id,amount:t.amount,budget_id:t.budget_id,category_name:t.category,interest_date:t.interest_date,book_date:t.book_date,process_date:t.process_date,due_date:t.due_date,payment_date:t.payment_date,invoice_date:t.invoice_date,internal_reference:t.internal_reference,external_url:t.external_url,notes:t.notes,external_id:t.external_id,zoom_level:t.zoom_level,longitude:t.longitude,latitude:t.latitude,tags:[],order:0,reconciled:!1,attachments:t.attachments};if(0!==t.tags.length)for(var r in t.tags)if(t.tags.hasOwnProperty(r)&&/^0$|^[1-9]\d*$/.test(r)&&r<=4294967294){var c=t.tags[r];if("object"===l(c)&&null!==c){s.tags.push(c.text),console.log('Add tag "'+c.text+'" from object.');continue}if("string"==typeof c){s.tags.push(c),console.log('Add tag "'+c+'" from string.');continue}console.log("Is neither.")}console.log("Current split tags is now: "),console.log(s.tags),0!==t.piggy_bank_id&&(s.piggy_bank_id=t.piggy_bank_id),0!==t.bill_id&&(s.bill_id=t.bill_id),0!==t.foreign_currency_id&&""!==t.foreign_amount&&(s.foreign_currency_id=t.foreign_currency_id),""!==t.foreign_amount&&(s.foreign_amount=t.foreign_amount),s.currency_id=t.source_account_currency_id,"Deposit"===this.transactionType&&(s.currency_id=t.destination_account_currency_id);var u=[];for(var _ in t.links)if(t.links.hasOwnProperty(_)&&/^0$|^[1-9]\d*$/.test(_)&&_<=4294967294){var d=t.links[_],p=d.link_type_id.split("-"),g="outward"===p[1]?0:parseInt(d.transaction_journal_id),m="inward"===p[1]?0:parseInt(d.transaction_journal_id),y={link_type_id:parseInt(p[0]),inward_id:g,outward_id:m};u.push(y)}return s.links=u,null===s.source_id&&delete s.source_id,null===s.source_name&&delete s.source_name,null===s.destination_id&&delete s.destination_id,null===s.destination_name&&delete s.destination_name,s},getAllowedOpposingTypes:function(){var e=this;axios.get("./api/v1/configuration/firefly.allowed_opposing_types").then((function(t){e.allowedOpposingTypes=t.data.data.value}))},getExpectedSourceTypes:function(){var e=this;axios.get("./api/v1/configuration/firefly.expected_source_types").then((function(t){e.sourceAllowedTypes=t.data.data.value.source[e.transactionType],e.destinationAllowedTypes=t.data.data.value.destination[e.transactionType]}))},getAccountToTransaction:function(){var e=this;axios.get("./api/v1/configuration/firefly.account_to_transaction").then((function(t){e.accountToTransaction=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}))},setDestinationAllowedTypes:function(e){0!==e.length?this.destinationAllowedTypes=e:this.destinationAllowedTypes=this.defaultDestinationAllowedTypes},setSourceAllowedTypes:function(e){0!==e.length?this.sourceAllowedTypes=e:this.sourceAllowedTypes=this.defaultSourceAllowedTypes}})};const g=(0,a(1900).Z)(p,(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("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:n,attrs:{count:e.transactions.length,"custom-fields":e.customFields,date:e.date,"destination-allowed-types":e.destinationAllowedTypes,index:n,"source-allowed-types":e.sourceAllowedTypes,"submitted-transaction":e.submittedTransaction,transaction:t,"transaction-type":e.transactionType},on:{"uploaded-attachments":function(t){return e.uploadedAttachment(t)},"selected-attachments":function(t){return e.selectedAttachment(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)}}})})),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 card-primary"},[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.addTransactionArray}},[a("span",{staticClass:"far fa-clone"}),e._v(" "+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-success btn-block",attrs:{disabled:!e.enableSubmit},on:{click:e.submitTransaction}},[e.enableSubmit?a("span",[a("span",{staticClass:"far fa-save"}),e._v(" "+e._s(e.$t("firefly.store_transaction")))]):e._e(),e._v(" "),e.enableSubmit?e._e():a("span",[a("span",{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.createAnother,expression:"createAnother"}],staticClass:"form-check-input",attrs:{id:"createAnother",type:"checkbox"},domProps:{checked:Array.isArray(e.createAnother)?e._i(e.createAnother,null)>-1:e.createAnother},on:{change:function(t){var a=e.createAnother,n=t.target,i=!!n.checked;if(Array.isArray(a)){var o=e._i(a,null);n.checked?o<0&&(e.createAnother=a.concat([null])):o>-1&&(e.createAnother=a.slice(0,o).concat(a.slice(o+1)))}else e.createAnother=i}}}),e._v(" "),a("label",{staticClass:"form-check-label",attrs:{for:"createAnother"}},[a("span",{staticClass:"small"},[e._v(e._s(e.$t("firefly.create_another")))])])]),e._v(" "),a("div",{staticClass:"form-check"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.resetFormAfter,expression:"resetFormAfter"}],staticClass:"form-check-input",attrs:{id:"resetFormAfter",disabled:!e.createAnother,type:"checkbox"},domProps:{checked:Array.isArray(e.resetFormAfter)?e._i(e.resetFormAfter,null)>-1:e.resetFormAfter},on:{change:function(t){var a=e.resetFormAfter,n=t.target,i=!!n.checked;if(Array.isArray(a)){var o=e._i(a,null);n.checked?o<0&&(e.resetFormAfter=a.concat([null])):o>-1&&(e.resetFormAfter=a.slice(0,o).concat(a.slice(o+1)))}else e.resetFormAfter=i}}}),e._v(" "),a("label",{staticClass:"form-check-label",attrs:{for:"resetFormAfter"}},[a("span",{staticClass:"small"},[e._v(e._s(e.$t("firefly.reset_after")))])])])])])])])])])],1)],1)}),[],!1,null,null,null).exports;var m=a(7760),y=a.n(m);a(232),y().config.productionTip=!1;var h=a(157),b={};new(y())({i18n:h,store:n.Z,render:function(e){return e(g,{props:b})},beforeCreate:function(){this.$store.dispatch("root/initialiseStore"),this.$store.commit("initialiseStore"),this.$store.dispatch("updateCurrencyPreference")}}).$mount("#transactions_create")},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.d(t,{Z:()=>r});var n=a(4015),i=a.n(n),o=a(3645),s=a.n(o)()(i());s.push([e.id,".vue-tags-input{display:block;max-width:100%!important}.ti-input,.vue-tags-input{border-radius:.25rem;width:100%}.ti-input{max-width:100%}.ti-new-tag-input{font-size:1rem}","",{version:3,sources:["webpack://./src/components/transactions/TransactionTags.vue"],names:[],mappings:"AAsHA,gBAGA,aAAA,CADA,wBAGA,CAEA,0BAHA,oBAAA,CAHA,UAUA,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 };\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.tagList = value;\n },\n tagList: function (value) {\n // console.log(\'watch tagList\');\n this.$emit(\'set-field\', {field: \'tags\', index: this.index, value: value});\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},8035:(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("span",{staticClass:"icon fas fa-ban"}):e._e(),e._v(" "),"success"===e.type?a("span",{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},8130:(e,t,a)=>{"use strict";a.d(t,{Z:()=>ce});var n=a(8986),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("span",{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 u={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 _=(0,s.Z)(u,(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 g={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 m=(0,s.Z)(g,(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("span",{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 y={name:"SwitchAccount",props:["index","transactionType"],methods:{}};const h=(0,s.Z)(y,(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,null,null).exports;const b={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 f=(0,s.Z)(b,(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,null,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,null,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,null,null).exports;const A={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 C=(0,s.Z)(A,(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 T={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)(T,(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("span",{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 S={props:["value","index","errors"],name:"TransactionBill",data:function(){return{billList:[],bill:this.value}},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){this.$emit("set-field",{field:"bill_id",index:this.index,value:e})}}};const z=(0,s.Z)(S,(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 I=a(1310),j=a.n(I),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}},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.tagList=e},tagList:function(e){this.$emit("set-field",{field:"tags",index:this.index,value:e}),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)}}}};var F=a(3379),M=a.n(F),L=a(6665),O={insert:"head",singleton:!1};M()(L.Z,O);L.Z.locals;const E=(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 R={props:["index","value","errors"],name:"TransactionPiggyBank",data:function(){return{piggyList:[],piggy_bank_id:this.value}},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.piggy_bank_id=e},piggy_bank_id:function(e){this.$emit("set-field",{field:"piggy_bank_id",index:this.index,value:e}),this.emitEvent=!0}}};const $=(0,s.Z)(R,(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 q={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 U=(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.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("span",{staticClass:"far fa-trash-alt"})])])}],!1,null,null,null).exports;const V={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 Z=(0,s.Z)(V,(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("span",{staticClass:"far fa-trash-alt"})])])}],!1,null,null,null).exports;const K={props:["index","value","errors","customFields"],name:"TransactionNotes",data:function(){return{notes:this.value,availableFields:this.customFields}},computed:{showField:function(){return"notes"in this.availableFields&&this.availableFields.notes}},watch:{value:function(e){this.notes=e},customFields:function(e){this.availableFields=e},notes:function(e){this.$emit("set-field",{field:"notes",index:this.index,value:e})}}};const W=(0,s.Z)(K,(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,null,null).exports;var G=a(3465);const H={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=G(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=G(e))},links:function(e){!0===this.emitEvent&&this.$emit("set-field",{index:this.index,field:"links",value:G(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 J=(0,s.Z)(H,(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("span",{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("span",{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("span",{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.apply(null,arguments)}}},[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("span",{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("span",{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 Q={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 Y=(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.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,null,null).exports;var X=a(7070),ee=a(5352),te=a(2727),ae=a(8380),ne=(a(1043),a(5243)),ie=a.n(ne);delete ie().Icon.Default.prototype._getIconUrl,ie().Icon.Default.mergeOptions({iconRetinaUrl:a(9895),iconUrl:a(2330),shadowUrl:a(4645)});const oe={name:"TransactionLocation",props:{index:{},value:{type:Object,required:!1},errors:{},customFields:{}},components:{LMap:ee.Z,LTileLayer:te.Z,LMarker:ae.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 se=(0,s.Z)(oe,(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,null,null).exports,re={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(){},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:se,SplitPills:X.Z,TransactionAttachments:Y,TransactionNotes:W,TransactionExternalUrl:Z,TransactionInternalReference:U,TransactionPiggyBank:$,TransactionTags:E,TransactionLinks:J,TransactionBill:z,TransactionCategory:D,TransactionCustomDates:C,TransactionForeignCurrency:x,TransactionForeignAmount:k,TransactionAmount:f,SwitchAccount:h,TransactionAccount:m,TransactionBudget:p,TransactionDescription:r,TransactionDate:_}};const ce=(0,s.Z)(re,(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("span",{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},5935:(e,t,a)=>{"use strict";a.d(t,{Z:()=>s});var n=a(8986),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("span",{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},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":"Дълг","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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":"(нищо)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Касичка","percentage":"%","amount":"Сума","lastActivity":"Последна активност","name":"Име","role":"Привилегии","description":"Описание","date":"Дата","source_account":"Разходна сметка","destination_account":"Приходна сметка","category":"Категория","iban":"IBAN","interest":"Лихва","interest_period":"Interest period","liability_type":"Вид на задължението","liability_direction":"Liability in/out","currentBalance":"Текущ баланс","next_expected_match":"Следващo очакванo съвпадение"},"config":{"html_language":"bg","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"MMMM d, y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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é)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Pokladnička","percentage":"%","amount":"Částka","lastActivity":"Poslední aktivita","name":"Jméno","role":"Role","description":"Popis","date":"Datum","source_account":"Zdrojový účet","destination_account":"Cílový účet","category":"Kategorie","iban":"IBAN","interest":"Úrok","interest_period":"Interest period","liability_type":"Typ závazku","liability_direction":"Liability in/out","currentBalance":"Aktuální zůstatek","next_expected_match":"Další očekávaná shoda"},"config":{"html_language":"cs","week_in_year_fns":"\\"týden\\" w, yyyy","month_and_day_fns":"MMMM d, y","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":"Einnahmen anzeigen","go_to_categories":"Kategorien anzeigen","expense_accounts":"Ausgabekonten","go_to_expenses":"Ausgaben anzeigen","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","liability_direction_null_short":"Unbekannt","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":"Geschuldeter Betrag","liability_direction_debit_short":"Schuldiger Betrag","account_type_debt":"Schulden","account_type_loan":"Darlehen","left_in_debt":"Fälliger Betrag","account_type_mortgage":"Hypothek","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)","transaction_expand_split":"Aufteilung erweitern","transaction_collapse_split":"Aufteilung reduzieren"},"list":{"piggy_bank":"Sparschwein","percentage":"%","amount":"Betrag","lastActivity":"Letzte Aktivität","name":"Name","role":"Rolle","description":"Beschreibung","date":"Datum","source_account":"Quellkonto","destination_account":"Zielkonto","category":"Kategorie","iban":"IBAN","interest":"Zinsen","interest_period":"Zinsperiode","liability_type":"Verbindlichkeitsart","liability_direction":"Verbindlichkeit ein/aus","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":"D. MMMM Y","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":"Χρέος","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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":"(τίποτα)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Κουμπαράς","percentage":"pct.","amount":"Ποσό","lastActivity":"Τελευταία δραστηριότητα","name":"Όνομα","role":"Ρόλος","description":"Περιγραφή","date":"Ημερομηνία","source_account":"Λογαριασμός προέλευσης","destination_account":"Λογαριασμός προορισμού","category":"Κατηγορία","iban":"IBAN","interest":"Τόκος","interest_period":"Interest period","liability_type":"Τύπος υποχρέωσης","liability_direction":"Liability in/out","currentBalance":"Τρέχον υπόλοιπο","next_expected_match":"Επόμενη αναμενόμενη αντιστοίχιση"},"config":{"html_language":"el","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"MMMM d, y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","lastActivity":"Last activity","name":"Name","role":"Role","description":"Description","date":"Date","source_account":"Source account","destination_account":"Destination account","category":"Category","iban":"IBAN","interest":"Interest","interest_period":"Interest period","liability_type":"Type of liability","liability_direction":"Liability in/out","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":"MMMM d, y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","lastActivity":"Last activity","name":"Name","role":"Role","description":"Description","date":"Date","source_account":"Source account","destination_account":"Destination account","category":"Category","iban":"IBAN","interest":"Interest","interest_period":"Interest period","liability_type":"Type of liability","liability_direction":"Liability in/out","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"MMMM d, y","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","liability_direction_null_short":"Desconocido","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":"Tenía esta deuda","liability_direction_debit_short":"Tiene esta deuda","account_type_debt":"Deuda","account_type_loan":"Préstamo","left_in_debt":"Importe debido","account_type_mortgage":"Hipoteca","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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Alcancilla","percentage":"pct.","amount":"Monto","lastActivity":"Actividad más reciente","name":"Nombre","role":"Rol","description":"Descripción","date":"Fecha","source_account":"Cuenta origen","destination_account":"Cuenta destino","category":"Categoría","iban":"IBAN","interest":"Interés","interest_period":"Período de interés","liability_type":"Tipo de pasivo","liability_direction":"Pasivo entrada/salida","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":"d MMMM y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Säästöpossu","percentage":"pros.","amount":"Summa","lastActivity":"Viimeisin tapahtuma","name":"Nimi","role":"Rooli","description":"Kuvaus","date":"Päivämäärä","source_account":"Lähdetili","destination_account":"Kohdetili","category":"Kategoria","iban":"IBAN","interest":"Korko","interest_period":"Interest period","liability_type":"Vastuutyyppi","liability_direction":"Liability in/out","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":"MMMM d, y","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","liability_direction_null_short":"Inconnu","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":"Emprunteur","liability_direction_debit_short":"Prêteur","account_type_debt":"Dette","account_type_loan":"Emprunt","left_in_debt":"Montant dû","account_type_mortgage":"Prêt immobilier","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)","transaction_expand_split":"Développer la ventilation","transaction_collapse_split":"Réduire la ventilation"},"list":{"piggy_bank":"Tirelire","percentage":"pct.","amount":"Montant","lastActivity":"Activité récente","name":"Nom","role":"Rôle","description":"Description","date":"Date","source_account":"Compte source","destination_account":"Compte destinataire","category":"Catégorie","iban":"Numéro IBAN","interest":"Intérêt","interest_period":"Période d’intérêt","liability_type":"Type de passif","liability_direction":"Sens du passif","currentBalance":"Solde courant","next_expected_match":"Prochaine association attendue"},"config":{"html_language":"fr","week_in_year_fns":"\'Semaine\' w, yyyy","month_and_day_fns":"d MMMM y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Malacpersely","percentage":"%","amount":"Összeg","lastActivity":"Utolsó aktivitás","name":"Név","role":"Szerepkör","description":"Leírás","date":"Dátum","source_account":"Forrás bankszámla","destination_account":"Cél bankszámla","category":"Kategória","iban":"IBAN","interest":"Kamat","interest_period":"Interest period","liability_type":"A kötelezettség típusa","liability_direction":"Liability in/out","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":"MMMM d, y","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","liability_direction_null_short":"Sconosciuta","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":"Mi devono questo debito","liability_direction_debit_short":"Devo questo debito","account_type_debt":"Debito","account_type_loan":"Prestito","left_in_debt":"Importo da pagare","account_type_mortgage":"Mutuo","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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Salvadanaio","percentage":"perc.","amount":"Importo","lastActivity":"Ultima attività","name":"Nome","role":"Ruolo","description":"Descrizione","date":"Data","source_account":"Conto di origine","destination_account":"Conto destinazione","category":"Categoria","iban":"IBAN","interest":"Interesse","interest_period":"Periodo interessi","liability_type":"Tipo di passività","liability_direction":"Passività in entrata/uscita","currentBalance":"Saldo corrente","next_expected_match":"Prossimo abbinamento previsto"},"config":{"html_language":"it","week_in_year_fns":"\'Settimana\' w, yyyy","month_and_day_fns":"d MMMM y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Sparegris","percentage":"pct.","amount":"Beløp","lastActivity":"Siste aktivitet","name":"Navn","role":"Rolle","description":"Beskrivelse","date":"Dato","source_account":"Kildekonto","destination_account":"Målkonto","category":"Kategori","iban":"IBAN","interest":"Renter","interest_period":"Interest period","liability_type":"Type gjeld","liability_direction":"Liability in/out","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":"MMMM d, y","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","liability_direction_null_short":"Onbekend","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":"Schuldeiser","liability_direction_debit_short":"Schuldenaar","account_type_debt":"Schuld","account_type_loan":"Lening","left_in_debt":"Verschuldigd bedrag","account_type_mortgage":"Hypotheek","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)","transaction_expand_split":"Split uitklappen","transaction_collapse_split":"Split inklappen"},"list":{"piggy_bank":"Spaarpotje","percentage":"pct","amount":"Bedrag","lastActivity":"Laatste activiteit","name":"Naam","role":"Rol","description":"Omschrijving","date":"Datum","source_account":"Bronrekening","destination_account":"Doelrekening","category":"Categorie","iban":"IBAN","interest":"Rente","interest_period":"Renteperiode","liability_type":"Type passiva","liability_direction":"Passiva in- of uitgaand","currentBalance":"Huidig saldo","next_expected_match":"Volgende verwachte match"},"config":{"html_language":"nl","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"d MMMM y","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","liability_direction_null_short":"Nieznane","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":"Dług wobec Ciebie","liability_direction_debit_short":"Jesteś dłużny","account_type_debt":"Dług","account_type_loan":"Pożyczka","left_in_debt":"Do zapłaty","account_type_mortgage":"Hipoteka","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)","transaction_expand_split":"Rozwiń podział","transaction_collapse_split":"Zwiń podział"},"list":{"piggy_bank":"Skarbonka","percentage":"%","amount":"Kwota","lastActivity":"Ostatnia aktywność","name":"Nazwa","role":"Rola","description":"Opis","date":"Data","source_account":"Konto źródłowe","destination_account":"Konto docelowe","category":"Kategoria","iban":"IBAN","interest":"Odsetki","interest_period":"Okres odsetkowy","liability_type":"Rodzaj zobowiązania","liability_direction":"Zobowiązania przychodzące/wychodzące","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":"d MMMM y","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","liability_direction_null_short":"Desconhecida","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Débito","account_type_loan":"Empréstimo","left_in_debt":"Valor devido","account_type_mortgage":"Hipoteca","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)","transaction_expand_split":"Exibir divisão","transaction_collapse_split":"Esconder divisão"},"list":{"piggy_bank":"Cofrinho","percentage":"pct.","amount":"Total","lastActivity":"Última atividade","name":"Nome","role":"Papel","description":"Descrição","date":"Data","source_account":"Conta de origem","destination_account":"Conta de destino","category":"Categoria","iban":"IBAN","interest":"Juros","interest_period":"Período de juros","liability_type":"Tipo de passivo","liability_direction":"Liability in/out","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":"MMMM d, y","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":"Património 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 ativos","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 ativos 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","liability_direction_null_short":"Desconhecido","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":"Deve-lhe esta dívida","liability_direction_debit_short":"Deve esta dívida","account_type_debt":"Dívida","account_type_loan":"Empréstimo","left_in_debt":"Montante em dívida","account_type_mortgage":"Hipoteca","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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Mealheiro","percentage":"%.","amount":"Montante","lastActivity":"Ultima actividade","name":"Nome","role":"Regra","description":"Descricao","date":"Data","source_account":"Conta de origem","destination_account":"Conta de destino","category":"Categoria","iban":"IBAN","interest":"Juro","interest_period":"Período de juros","liability_type":"Tipo de responsabilidade","liability_direction":"Passivo entrada/fora","currentBalance":"Saldo actual","next_expected_match":"Proxima correspondencia esperada"},"config":{"html_language":"pt","week_in_year_fns":"\'Semana\' w, yyyy","month_and_day_fns":"d MMMM, y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Pușculiță","percentage":"procent %","amount":"Sumă","lastActivity":"Ultima activitate","name":"Nume","role":"Rol","description":"Descriere","date":"Dată","source_account":"Contul sursă","destination_account":"Contul de destinație","category":"Categorii","iban":"IBAN","interest":"Interes","interest_period":"Interest period","liability_type":"Tip de provizion","liability_direction":"Liability in/out","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":"MMMM d, y","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":"Включить?","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":"Создать новый долговой счёт","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":"Дебит","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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":"(нет)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Копилка","percentage":"процентов","amount":"Сумма","lastActivity":"Последняя активность","name":"Имя","role":"Роль","description":"Описание","date":"Дата","source_account":"Исходный счет","destination_account":"Счет назначения","category":"Категория","iban":"IBAN","interest":"Процентная ставка","interest_period":"Interest period","liability_type":"Тип ответственности","liability_direction":"Liability in/out","currentBalance":"Текущий баланс","next_expected_match":"Следующий ожидаемый результат"},"config":{"html_language":"ru","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"MMMM d, y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Pokladnička","percentage":"perc.","amount":"Suma","lastActivity":"Posledná aktivita","name":"Meno/Názov","role":"Rola","description":"Popis","date":"Dátum","source_account":"Zdrojový účet","destination_account":"Cieľový účet","category":"Kategória","iban":"IBAN","interest":"Úrok","interest_period":"Interest period","liability_type":"Typ záväzku","liability_direction":"Liability in/out","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":"MMMM d, y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Spargris","percentage":"procent","amount":"Belopp","lastActivity":"Senaste aktivitet","name":"Namn","role":"Roll","description":"Beskrivning","date":"Datum","source_account":"Källkonto","destination_account":"Destinationskonto","category":"Kategori","iban":"IBAN","interest":"Ränta","interest_period":"Interest period","liability_type":"Typ av ansvar","liability_direction":"Liability in/out","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":"MMMM d, y","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ợ","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"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","description":"Mô tả","date":"Ngày","source_account":"Tài khoản gửi","destination_account":"Tài khoản nhận","category":"Danh mục","iban":"IBAN","interest":"Lãi","interest_period":"Interest period","liability_type":"Loại trách nhiệm pháp lý","liability_direction":"Liability in/out","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":"MMMM d, y","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":"欠款","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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":"(空)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"存钱罐","percentage":"%","amount":"金额","lastActivity":"上次活动","name":"名称","role":"角色","description":"描述","date":"日期","source_account":"来源账户","destination_account":"目标账户","category":"分类","iban":"国际银行账户号码(IBAN)","interest":"利息","interest_period":"Interest period","liability_type":"债务类型","liability_direction":"Liability in/out","currentBalance":"目前余额","next_expected_match":"预期下次支付"},"config":{"html_language":"zh-cn","week_in_year_fns":"\'周\' w,yyyy","month_and_day_fns":"MMMM d, y","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":"負債","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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":"(空)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"小豬撲滿","percentage":"pct.","amount":"金額","lastActivity":"上次活動","name":"名稱","role":"角色","description":"描述","date":"日期","source_account":"來源帳戶","destination_account":"目標帳戶","category":"分類","iban":"國際銀行帳戶號碼 (IBAN)","interest":"利率","interest_period":"Interest period","liability_type":"負債類型","liability_direction":"Liability in/out","currentBalance":"目前餘額","next_expected_match":"下一個預期的配對"},"config":{"html_language":"zh-tw","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"MMMM d, y","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=713,e(e.s=t);var t}));e.O()}]);
//# sourceMappingURL=create.js.map
\ No newline at end of file
diff --git a/public/v2/js/transactions/create.js.map b/public/v2/js/transactions/create.js.map
index d57aad79be..863691e12a 100755
--- a/public/v2/js/transactions/create.js.map
+++ b/public/v2/js/transactions/create.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/Create.vue","webpack:///./src/components/transactions/Create.vue?21f2","webpack:///./src/components/transactions/Create.vue","webpack:///./src/components/transactions/Create.vue?d32b","webpack:///./src/pages/transactions/create.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?a628","webpack:///./src/components/transactions/SplitForm.vue?a019","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?fdcd","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?22f4","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?e933","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?f2f7","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?a82a","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?590c","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?dc0d","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?80e0","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?9993","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?939d","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?f481","webpack:///./src/components/transactions/TransactionLinks.vue?47fb","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?2c97","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?6273","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?67c1","webpack:///src/components/transactions/TransactionGroupTitle.vue","webpack:///./src/components/transactions/TransactionGroupTitle.vue?5049","webpack:///./src/components/transactions/TransactionGroupTitle.vue"],"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","log","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","cacheKey","age","object","JSON","parse","now","parseInt","refreshCacheKey","Array","N","join","Math","random","toString","slice","stringify","setCacheKey","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","currencyResponse","name","symbol","decimal_places","err","module","exports","documentElement","lang","fallbackLocale","messages","components","SplitForm","Alert","SplitPills","TransactionGroupTitle","created","this","date","getFullYear","getDate","type","toUpperCase","substring","getExpectedSourceTypes","getAccountToTransaction","getCustomFields","errorMessage","successMessage","customFields","enableSubmit","createAnother","resetFormAfter","submittedTransaction","submittedLinks","submittedAttachments","inError","submittedAttCount","groupTitleErrors","returnedGroupId","returnedGroupTitle","computed","watch","finaliseSubmission","methods","addTransactionArray","event","preventDefault","removeTransaction","$store","submitData","post","url","handleSubmissionResponse","group_title","description","result","hasOwnProperty","i","test","journals","transaction_journal_id","Promise","resolve","submitLinks","links","ii","currentLink","outward_id","journalId","inward_id","promises","all","submitAttachments","anyAttachments","selectedAttachment","$t","location","href","handleSubmissionError","parseErrors","submitTransaction","uploadedAttachment","key","storeLocation","storeAccountValue","storeField","storeDate","storeGroupTitle","submitTransactionLinks","submitted","total","received","message","transactionIndex","split","fieldName","convertData","convertSplit","synchronizeAccounts","source_name","destination_name","source_id","destination_id","array","destination_account_name","destination_account_id","source_account_name","source_account_id","toLowerCase","currency_id","amount","budget_id","category_name","category","internal_reference","external_url","notes","external_id","zoom_level","longitude","latitude","tags","order","reconciled","attachments","currentSplit","current","text","piggy_bank_id","bill_id","foreign_currency_id","foreign_amount","source_account_currency_id","destination_account_currency_id","link_type_id","linkTypeParts","inwardId","outwardId","newLink","getAllowedOpposingTypes","defaultDestinationAllowedTypes","defaultSourceAllowedTypes","_vm","_h","$createElement","_c","_self","attrs","_v","on","staticClass","_l","transaction","$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","Create","beforeCreate","$mount","source","destination","currency","foreign_currency","custom_dates","budget","bill","piggy_bank","source_account_type","source_account_currency_code","source_account_currency_symbol","destination_account_type","destination_account_currency_code","destination_account_currency_symbol","selectedAttachments","uploadTrigger","clearTrigger","source_account","name_with_balance","currency_name","currency_code","currency_decimal_places","destination_account","___CSS_LOADER_EXPORT___","class","descriptions","initialSet","getACURL","clearDescription","getElementsByTagName","query","lookupDescription","$emit","item","slot","localTimeZone","Intl","DateTimeFormat","resolvedOptions","timeZone","systemTimeZone","dateStr","parts","timeStr","localDate","ref","composing","budgetList","emitEvent","collectData","getBudgets","parseBudgets","$$selectedVal","prototype","filter","call","options","o","selected","map","_value","multiple","Number","direction","String","Object","default","accountTypes","selectedAccount","accountName","selectedAccountTrigger","types","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","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","debounce","currentTag","updateTags","tagList","shortList","initItems","clearTimeout","setTimeout","this$1","newTags","piggyList","getPiggies","parsePiggies","piggy","reference","showField","_m","external_uri","searchResults","include","linkTypes","searching","getLinkTypes","removeLink","getTextForLinkType","linkTypeId","selectTransaction","addToSelected","removeFromSelected","selectLinkType","updateSelected","journal","resetModal","search","parseLinkTypes","inward","outward","linkTypeInward","linkTypeOutward","parseSearch","transaction_group_id","isJournalSelected","getJournalLinkType","link_type_text","NumberFormat","style","format","apply","arguments","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","lat","lng","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"],"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,EAAM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YAAY,cAAc,CAACL,EAAG,MAAM,CAACK,YAAY,wCAAwC,CAACR,EAAIM,GAAG,SAASN,EAAIkB,GAAGlB,EAAInE,GAAG,oCAAoC,UAAUmE,EAAIM,GAAG,KAAKH,EAAG,0BAA0B,CAACE,MAAM,CAAC,KAAOL,EAAIgE,aAAa,WAAahE,EAAIhQ,OAAOU,OAAS,EAAI,aAAe,GAAG,iBAAmB,EAAE,YAAcsP,EAAInE,GAAG,mCAAmC,WAAa,SAAU2I,GAAQ,OAAOA,EAAKhK,aAAe,aAAc,EAAK,UAAY,eAAe+F,GAAG,CAAC,MAAQP,EAAIsE,mBAAmB1D,MAAM,CAAC5P,MAAOgP,EAAS,MAAEa,SAAS,SAAUC,GAAMd,EAAI4R,MAAM9Q,GAAKE,WAAW,UAAU,CAACb,EAAG,WAAW,CAACsE,KAAK,UAAU,CAACtE,EAAG,MAAM,CAACK,YAAY,sBAAsB,CAACL,EAAG,SAAS,CAACK,YAAY,4BAA4BH,MAAM,CAAC,SAAW,KAAK,KAAO,UAAUE,GAAG,CAAC,MAAQP,EAAImE,mBAAmB,CAAChE,EAAG,OAAO,CAACK,YAAY,4BAA4B,GAAGR,EAAIM,GAAG,KAAMN,EAAIhQ,OAAOU,OAAS,EAAGyP,EAAG,OAAOH,EAAIS,GAAIT,EAAU,QAAE,SAASlS,GAAO,OAAOqS,EAAG,OAAO,CAACK,YAAY,qBAAqB,CAACR,EAAIM,GAAGN,EAAIkB,GAAGpT,IAAQqS,EAAG,WAAU,GAAGH,EAAIiB,MAAM,KAClmC,IGUpB,EACA,KACA,KACA,M","file":"/public/js/transactions/create.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// See reference nr. 1\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 for dashboard.');\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 cacheKey: {\n age: 0,\n value: 'empty',\n },\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 cacheKey: state => {\n return state.cacheKey.value;\n },\n}\n\n// actions\nconst actions = {\n initialiseStore(context) {\n // cache key auto refreshes every day\n console.log('Now in initialize store.')\n if (localStorage.cacheKey) {\n console.log('Storage has cache key: ');\n console.log(localStorage.cacheKey);\n let object = JSON.parse(localStorage.cacheKey);\n if (Date.now() - object.age > 86400000) {\n console.log('Key is here but is old.');\n context.commit('refreshCacheKey');\n } else {\n console.log('Cache key from local storage: ' + object.value);\n context.commit('setCacheKey', object);\n }\n } else {\n console.log('No key need new one.');\n context.commit('refreshCacheKey');\n }\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 refreshCacheKey(state) {\n let age = Date.now();\n let N = 8;\n let cacheKey = Array(N+1).join((Math.random().toString(36)+'00000000000000000').slice(2, 18)).slice(0, N);\n let object = {age: age, value: cacheKey};\n console.log('Store new key in string JSON');\n console.log(JSON.stringify(object));\n localStorage.cacheKey = JSON.stringify(object);\n state.cacheKey = {age: age, value: cacheKey};\n console.log('Refresh: cachekey is now ' + cacheKey);\n },\n setCacheKey(state, payload) {\n console.log('Stored cache key in localstorage.');\n console.log(payload);\n console.log(JSON.stringify(payload));\n localStorage.cacheKey = JSON.stringify(payload);\n state.cacheKey = payload;\n },\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 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 console.log('Now in initialiseStore()')\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 console.log('Now in updateCurrencyPreference');\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 - Create.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 <alert :message=\"errorMessage\" type=\"danger\"/>\n <alert :message=\"successMessage\" type=\"success\"/>\n <form @submit=\"submitTransaction\" autocomplete=\"off\">\n <SplitPills :transactions=\"transactions\" :count=\"transactions.length\"/>\n <div class=\"tab-content\">\n <SplitForm\n v-for=\"(transaction, index) in this.transactions\"\n v-bind:key=\"index\"\n :count=\"transactions.length\"\n :custom-fields=\"customFields\"\n :date=\"date\"\n :destination-allowed-types=\"destinationAllowedTypes\"\n :index=\"index\"\n :source-allowed-types=\"sourceAllowedTypes\"\n :submitted-transaction=\"submittedTransaction\"\n :transaction=\"transaction\"\n :transaction-type=\"transactionType\"\n v-on:uploaded-attachments=\"uploadedAttachment($event)\"\n v-on:selected-attachments=\"selectedAttachment($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 />\n </div>\n\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 card-primary\">\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 &nbsp;\n </div>\n <button type=\"button\" class=\"btn btn-outline-primary btn-block\" @click=\"addTransactionArray\"><span class=\"far fa-clone\"></span> {{\n $t('firefly.add_another_split')\n }}\n </button>\n </div>\n <div class=\"col\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n &nbsp;\n </div>\n <button :disabled=\"!enableSubmit\" class=\"btn btn-success btn-block\" @click=\"submitTransaction\">\n <span v-if=\"enableSubmit\"><span class=\"far fa-save\"></span> {{ $t('firefly.store_transaction') }}</span>\n <span v-if=\"!enableSubmit\"><span class=\"fas fa-spinner fa-spin\"></span></span>\n </button>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col\">\n &nbsp;\n </div>\n <div class=\"col\">\n <div class=\"form-check\">\n <input id=\"createAnother\" v-model=\"createAnother\" class=\"form-check-input\" type=\"checkbox\">\n <label class=\"form-check-label\" for=\"createAnother\">\n <span class=\"small\">{{ $t('firefly.create_another') }}</span>\n </label>\n </div>\n <div class=\"form-check\">\n <input id=\"resetFormAfter\" v-model=\"resetFormAfter\" :disabled=\"!createAnother\" class=\"form-check-input\" type=\"checkbox\">\n <label class=\"form-check-label\" for=\"resetFormAfter\">\n <span class=\"small\">{{ $t('firefly.reset_after') }}</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 Alert from '../partials/Alert';\nimport SplitPills from \"./SplitPills\";\nimport TransactionGroupTitle from \"./TransactionGroupTitle\";\nimport SplitForm from \"./SplitForm\";\nimport {mapGetters, mapMutations} from \"vuex\";\n\nexport default {\n name: \"Create\",\n components: {\n SplitForm,\n Alert,\n SplitPills,\n TransactionGroupTitle,\n },\n /**\n * Grab some stuff from the API, add the first transaction.\n */\n created() {\n // set transaction type:\n let pathName = window.location.pathname;\n let parts = pathName.split('/');\n let type = parts[parts.length - 1];\n\n // set a basic date-time string:\n let date = new Date;\n this.date = [date.getFullYear(), ('0' + (date.getMonth() + 1)).slice(-2), ('0' + date.getDate()).slice(-2)].join('-') + 'T00:00';\n\n //console.log('Date is set to \"' + this.date + '\"');\n\n this.setTransactionType(type[0].toUpperCase() + type.substring(1));\n this.getExpectedSourceTypes();\n this.getAccountToTransaction();\n this.getCustomFields();\n this.addTransaction();\n },\n data() {\n return {\n // error or success message\n errorMessage: '',\n successMessage: '',\n\n // custom fields to show, useful for components:\n customFields: {},\n\n // states for the form (makes sense right)\n enableSubmit: true,\n createAnother: false,\n resetFormAfter: false,\n\n // things the process is done working on (3 phases):\n submittedTransaction: false,\n submittedLinks: false,\n submittedAttachments: -1, // -1 (no attachments), 0 = uploading, 1 = uploaded\n\n // transaction was actually submitted?\n inError: 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\n // errors in the group title:\n groupTitleErrors: [],\n\n // group ID + title once submitted:\n returnedGroupId: 0,\n returnedGroupTitle: '',\n\n // meta data for accounts\n accountToTransaction: {},\n allowedOpposingTypes: {},\n sourceAllowedTypes: ['Asset account', 'Loan', 'Debt', 'Mortgage', 'Revenue account'],\n destinationAllowedTypes: ['Asset account', 'Loan', 'Debt', 'Mortgage', 'Expense account'],\n\n // date not in the store because it was buggy\n date: ''\n }\n },\n computed: {\n /**\n * Grabbed from the store.\n */\n ...mapGetters('transactions/create', ['transactionType', 'transactions', 'groupTitle','defaultErrors']),\n ...mapGetters('root', ['listPageSize'])\n },\n watch: {\n submittedAttachments: function () {\n this.finaliseSubmission();\n }\n },\n methods: {\n /**\n * Store related mutators used by this component.\n */\n ...mapMutations('transactions/create',\n [\n 'setGroupTitle',\n 'addTransaction',\n 'deleteTransaction',\n 'setTransactionError',\n 'setTransactionType',\n 'resetErrors',\n 'updateField',\n 'resetTransactions',\n ]\n ),\n addTransactionArray: function (event) {\n event.preventDefault();\n this.addTransaction();\n },\n /**\n * Removes a split from the array.\n */\n removeTransaction: function (payload) {\n // console.log('Triggered to remove transaction ' + payload.index);\n this.$store.commit('transactions/create/deleteTransaction', payload);\n },\n submitData: function (url, data) {\n return axios.post(url, data);\n },\n handleSubmissionResponse: function (response) {\n //console.log('In handleSubmissionResponse()');\n // save some meta data:\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 let journals = [];\n\n // save separate journal ID's (useful ahead in the process):\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\n return Promise.resolve({journals: journals});\n },\n submitLinks: function (response, submission) {\n let promises = [];\n // for\n for (let i in response.journals) {\n if (response.journals.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let journalId = response.journals[i];\n let links = submission.transactions[i].links;\n for (let ii in links) {\n if (links.hasOwnProperty(ii) && /^0$|^[1-9]\\d*$/.test(ii) && ii <= 4294967294) {\n let currentLink = links[ii];\n if (0 === currentLink.outward_id) {\n currentLink.outward_id = journalId;\n }\n if (0 === currentLink.inward_id) {\n currentLink.inward_id = journalId;\n }\n promises.push(axios.post('./api/v1/transaction_links', currentLink));\n }\n }\n }\n }\n if (0 === promises.length) {\n return Promise.resolve({response: 'from submitLinks'});\n }\n return Promise.all(promises);\n },\n submitAttachments: function (response, submission) {\n let anyAttachments = false;\n for (let i in response.journals) {\n if (response.journals.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let journalId = response.journals[i];\n let hasAttachments = submission.transactions[i].attachments;\n // console.log('Decided that ' + journalId);\n // console.log(hasAttachments);\n if (hasAttachments) {\n // console.log('upload!');\n this.updateField({index: i, field: 'transaction_journal_id', value: journalId});\n anyAttachments = true;\n }\n }\n }\n\n if (true === anyAttachments) {\n this.submittedAttachments = 0;\n }\n\n return Promise.resolve({response: 'from submitAttachments'});\n },\n selectedAttachment: function (payload) {\n this.updateField({index: payload.index, field: 'attachments', value: true});\n },\n finaliseSubmission: function () {\n if (0 === this.submittedAttachments) {\n // console.log('submittedAttachments = ' + this.submittedAttachments);\n return;\n }\n //console.log('In finaliseSubmission');\n if (false === this.createAnother) {\n window.location.href = (window.previousURL ?? '/') + '?transaction_group_id=' + this.returnedGroupId + '&message=created';\n return;\n }\n //console.log('Is in error?');\n //console.log(this.inError);\n if (false === this.inError) {\n // show message:\n this.errorMessage = '';\n this.successMessage = this.$t('firefly.transaction_stored_link', {ID: this.returnedGroupId, title: this.returnedGroupTitle});\n }\n\n // enable flags:\n this.enableSubmit = true;\n this.submittedTransaction = false;\n this.submittedAttachments = -1;\n\n // reset attachments + errors\n if (!this.resetFormAfter) {\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.\n // console.log('Reset attachment #' + i);\n this.updateField({index: i, field: 'transaction_journal_id', value: 0});\n this.updateField({index: i, field: 'errors', value: this.defaultErrors})\n }\n }\n }\n }\n // reset the form:\n if (this.resetFormAfter) {\n this.resetTransactions();\n this.addTransaction();\n }\n return Promise.resolve({response: 'from finaliseSubmission'});\n },\n handleSubmissionError: function (error) {\n //console.log('in handleSubmissionError');\n // oh noes Firefly III has something to bitch about.\n this.enableSubmit = true;\n\n // but report an error because error:\n this.inError = true;\n this.parseErrors(error.response.data);\n },\n /**\n * Actually submit the transaction to Firefly III. This is a fairly complex beast of a thing because multiple things\n * need to happen in the right order.\n */\n submitTransaction: function (event) {\n event.preventDefault();\n // console.log('submitTransaction()');\n // disable the submit button:\n this.enableSubmit = false;\n\n // assume nothing breaks\n this.inError = false;\n\n // remove old warnings etc.\n this.successMessage = '';\n this.errorMessage = '';\n\n // convert the data so its ready to be submitted:\n const url = './api/v1/transactions';\n const data = this.convertData();\n\n this.submitData(url, data)\n .then(this.handleSubmissionResponse)\n .then(response => {\n return Promise.all([this.submitLinks(response, data), this.submitAttachments(response, data)]);\n }\n )\n .then(this.finaliseSubmission)\n .catch(this.handleSubmissionError);\n\n },\n /**\n * When a attachment component is done uploading it ends up here. We create an object where we count how many\n * attachment components have reported back they're done uploading. Of course if they have nothing to upload\n * they will be pretty fast in reporting they're done.\n *\n * Once the number of components matches the number of splits we know all attachments have been uploaded.\n */\n uploadedAttachment: function (journalId) {\n this.submittedAttachments = 0;\n // console.log('Triggered uploadedAttachment(' + journalId + ')');\n let key = 'str' + journalId;\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 /**\n * Responds to changed location.\n */\n storeLocation: function (payload) {\n let zoomLevel = payload.hasMarker ? payload.zoomLevel : null;\n let lat = payload.hasMarker ? payload.lat : null;\n let lng = payload.hasMarker ? payload.lng : null;\n this.updateField({index: payload.index, field: 'zoom_level', value: zoomLevel});\n this.updateField({index: payload.index, field: 'latitude', value: lat});\n this.updateField({index: payload.index, field: 'longitude', value: lng});\n },\n /**\n * Responds to changed account.\n */\n storeAccountValue: function (payload) {\n this.updateField({index: payload.index, field: payload.direction + '_account_id', value: payload.id});\n this.updateField({index: payload.index, field: payload.direction + '_account_type', value: payload.type});\n this.updateField({index: payload.index, field: payload.direction + '_account_name', value: payload.name});\n\n this.updateField({index: payload.index, field: payload.direction + '_account_currency_id', value: payload.currency_id});\n this.updateField({index: payload.index, field: payload.direction + '_account_currency_code', value: payload.currency_code});\n this.updateField({index: payload.index, field: payload.direction + '_account_currency_symbol', value: payload.currency_symbol});\n\n //this.calculateTransactionType(payload.index);\n },\n storeField: function (payload) {\n this.updateField(payload);\n },\n storeDate: function (payload) {\n this.date = payload.date;\n },\n storeGroupTitle: function (value) {\n // console.log('set group title: ' + value);\n this.setGroupTitle({groupTitle: value});\n },\n\n /**\n * Submit transaction links.\n */\n submitTransactionLinks(data, response) {\n //console.log('submitTransactionLinks()');\n let promises = [];\n let result = response.data.data.attributes.transactions;\n let total = 0;\n for (let i in data.transactions) {\n if (data.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let submitted = data.transactions[i];\n if (result.hasOwnProperty(i)) {\n // found matching created transaction.\n let received = result[i];\n // grab ID from received, loop \"submitted\" transaction links\n for (let ii in submitted.links) {\n if (submitted.links.hasOwnProperty(ii) && /^0$|^[1-9]\\d*$/.test(ii) && ii <= 4294967294) {\n let currentLink = submitted.links[ii];\n total++;\n if (0 === currentLink.outward_id) {\n currentLink.outward_id = received.transaction_journal_id;\n }\n if (0 === currentLink.inward_id) {\n currentLink.inward_id = received.transaction_journal_id;\n }\n // submit transaction link:\n promises.push(axios.post('./api/v1/transaction_links', currentLink).then(response => {\n// See reference nr. 4\n }));\n }\n }\n }\n }\n }\n if (0 === total) {\n this.submittedLinks = true;\n return;\n }\n Promise.all(promises).then(function () {\n this.submittedLinks = true;\n });\n },\n parseErrors: function (errors) {\n for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i)) {\n this.resetErrors({index: i});\n }\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\n /**\n *\n */\n convertData: function () {\n //console.log('now in convertData');\n let data = {\n 'transactions': []\n };\n //console.log('Group title is: \"' + this.groupTitle + '\"');\n if (this.groupTitle.length > 0) {\n data.group_title = this.groupTitle;\n //console.log('1) data.group_title is now \"'+data.group_title+'\"');\n }\n\n for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n data.transactions.push(this.convertSplit(i, this.transactions[i]));\n }\n }\n if (data.transactions.length > 1 && '' !== data.transactions[0].description && (null === data.group_title || '' === data.group_title)) {\n data.group_title = data.transactions[0].description;\n //console.log('2) data.group_title is now \"'+data.group_title+'\"');\n }\n\n // depending on the transaction type for this thing, we need to\n // make sure other splits match the data we submit.\n if (data.transactions.length > 1) {\n // console.log('This is a split!');\n data = this.synchronizeAccounts(data);\n }\n\n return data;\n },\n synchronizeAccounts: function (data) {\n // console.log('synchronizeAccounts: ' + this.transactionType);\n // make sure all splits have whatever is in split 0.\n // since its a transfer we can drop the name and use ID's only.\n for (let i in data.transactions) {\n if (data.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n // console.log('now at ' + i);\n\n // for transfers, overrule both the source and the destination:\n if ('Transfer' === this.transactionType) {\n data.transactions[i].source_name = null;\n data.transactions[i].destination_name = null;\n if (i > 0) {\n data.transactions[i].source_id = data.transactions[0].source_id;\n data.transactions[i].destination_id = data.transactions[0].destination_id;\n }\n }\n // for deposits, overrule the destination and ignore the rest.\n if ('Deposit' === this.transactionType) {\n data.transactions[i].destination_name = null;\n if (i > 0) {\n data.transactions[i].destination_id = data.transactions[0].destination_id;\n }\n }\n\n // for withdrawals, overrule the source and ignore the rest.\n if ('Withdrawal' === this.transactionType) {\n data.transactions[i].source_name = null;\n if (i > 0) {\n data.transactions[i].source_id = data.transactions[0].source_id;\n }\n }\n }\n }\n return data;\n\n },\n\n /**\n *\n * @param key\n * @param array\n */\n convertSplit: function (key, array) {\n if ('' === array.destination_account_name) {\n array.destination_account_name = null;\n }\n if (0 === array.destination_account_id) {\n array.destination_account_name = null;\n }\n\n if ('' === array.source_account_name) {\n array.source_account_name = null;\n }\n if (0 === array.source_account_id) {\n array.source_account_id = null;\n }\n\n let currentSplit = {\n // basic\n description: array.description,\n date: this.date,\n type: this.transactionType.toLowerCase(),\n\n // account\n source_id: array.source_account_id ?? null,\n source_name: array.source_account_name ?? null,\n destination_id: array.destination_account_id ?? null,\n destination_name: array.destination_account_name ?? null,\n\n // amount:\n currency_id: array.currency_id,\n amount: array.amount,\n\n // meta data\n budget_id: array.budget_id,\n category_name: array.category,\n\n // optional date fields (6x):\n interest_date: array.interest_date,\n book_date: array.book_date,\n process_date: array.process_date,\n due_date: array.due_date,\n payment_date: array.payment_date,\n invoice_date: array.invoice_date,\n\n // other optional fields:\n internal_reference: array.internal_reference,\n external_url: array.external_url,\n notes: array.notes,\n external_id: array.external_id,\n\n // location:\n zoom_level: array.zoom_level,\n longitude: array.longitude,\n latitude: array.latitude,\n tags: [],\n\n // from thing:\n order: 0,\n reconciled: false,\n attachments: array.attachments,\n };\n\n if (0 !== array.tags.length) {\n for (let i in array.tags) {\n if (array.tags.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n // array.tags\n let current = array.tags[i];\n if (typeof current === 'object' && null !== current) {\n currentSplit.tags.push(current.text);\n }\n if (typeof current === 'string') {\n currentSplit.tags.push(current);\n }\n }\n }\n }\n\n // bills and piggy banks\n if (0 !== array.piggy_bank_id) {\n currentSplit.piggy_bank_id = array.piggy_bank_id;\n }\n if (0 !== array.bill_id) {\n currentSplit.bill_id = array.bill_id;\n }\n\n // foreign amount:\n if (0 !== array.foreign_currency_id && '' !== array.foreign_amount) {\n currentSplit.foreign_currency_id = array.foreign_currency_id;\n }\n if ('' !== array.foreign_amount) {\n currentSplit.foreign_amount = array.foreign_amount;\n }\n\n // do transaction type\n // let transactionType;\n // let firstSource;\n // let firstDestination;\n\n // get transaction type from first transaction\n //transactionType = this.transactionType ? this.transactionType.toLowerCase() : 'any';\n //console.log('Transaction type is now ' + transactionType);\n // if the transaction type is invalid, might just be that we can deduce it from\n // the presence of a source or destination account\n //firstSource = this.transactions[0].source_account_type;\n //firstDestination = this.transactions[0].destination_account_type;\n //console.log(this.transactions[0].source_account);\n //console.log(this.transactions[0].destination_account);\n //console.log('Type of first source is ' + firstSource);\n //console.log('Type of first destination is ' + firstDestination);\n\n // default to source:\n currentSplit.currency_id = array.source_account_currency_id;\n // if ('any' === transactionType && ['asset', 'Asset account', 'Loan', 'Debt', 'Mortgage'].includes(firstSource)) {\n // transactionType = 'withdrawal';\n // }\n\n if ('Deposit' === this.transactionType) {\n // transactionType = 'deposit';\n currentSplit.currency_id = array.destination_account_currency_id;\n }\n //currentSplit.type = transactionType;\n //console.log('Final type is ' + transactionType);\n\n let links = [];\n for (let i in array.links) {\n if (array.links.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = array.links[i];\n let linkTypeParts = current.link_type_id.split('-');\n let inwardId = 'outward' === linkTypeParts[1] ? 0 : parseInt(current.transaction_journal_id);\n let outwardId = 'inward' === linkTypeParts[1] ? 0 : parseInt(current.transaction_journal_id);\n let newLink = {\n link_type_id: parseInt(linkTypeParts[0]),\n inward_id: inwardId,\n outward_id: outwardId,\n };\n links.push(newLink);\n }\n }\n currentSplit.links = links;\n if (null === currentSplit.source_id) {\n delete currentSplit.source_id;\n }\n if (null === currentSplit.source_name) {\n delete currentSplit.source_name;\n }\n if (null === currentSplit.destination_id) {\n delete currentSplit.destination_id;\n }\n if (null === currentSplit.destination_name) {\n delete currentSplit.destination_name;\n }\n\n // console.log('Current split is: ');\n // console.log(currentSplit);\n\n // return it.\n return currentSplit;\n },\n /**\n * Get API value.\n */\n getAllowedOpposingTypes: function () {\n axios.get('./api/v1/configuration/firefly.allowed_opposing_types')\n .then(response => {\n // console.log('opposing types things.');\n // console.log(response.data.data.value);\n this.allowedOpposingTypes = response.data.data.value;\n });\n },\n getExpectedSourceTypes: function () {\n axios.get('./api/v1/configuration/firefly.expected_source_types')\n .then(response => {\n //console.log('getExpectedSourceTypes.');\n this.sourceAllowedTypes = response.data.data.value.source[this.transactionType];\n this.destinationAllowedTypes = response.data.data.value.destination[this.transactionType];\n // console.log('Source allowed types for ' + this.transactionType + ' is: ');\n // console.log(this.sourceAllowedTypes);\n\n // console.log('Destination allowed types for ' + this.transactionType + ' is: ');\n // console.log(this.destinationAllowedTypes);\n\n //this.allowedOpposingTypes = response.data.data.value;\n });\n },\n /**\n * Get API value.\n */\n getAccountToTransaction: function () {\n axios.get('./api/v1/configuration/firefly.account_to_transaction')\n .then(response => {\n this.accountToTransaction = response.data.data.value;\n });\n },\n /**\n * This method grabs the users preferred custom transaction fields. It's used when configuring the\n * custom date selects that will be available. It could be something the component does by itself,\n * thereby separating concerns. This is on my list. If it changes to a per-component thing, then\n * it should be done via the create.js Vue store because multiple components are interested in the\n * user's custom transaction fields.\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 setDestinationAllowedTypes: function (value) {\n // console.log('Create::setDestinationAllowedTypes');\n // console.log(value);\n if (0 === value.length) {\n this.destinationAllowedTypes = this.defaultDestinationAllowedTypes;\n //console.log('empty so back to defaults');\n return;\n }\n this.destinationAllowedTypes = value;\n },\n setSourceAllowedTypes(value) {\n // console.log('Create::setSourceAllowedTypes');\n // console.log(value);\n if (0 === value.length) {\n this.sourceAllowedTypes = this.defaultSourceAllowedTypes;\n // console.log('empty so back to defaults');\n return;\n }\n this.sourceAllowedTypes = value;\n }\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!./Create.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!./Create.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Create.vue?vue&type=template&id=b21f1a94&\"\nimport script from \"./Create.vue?vue&type=script&lang=js&\"\nexport * from \"./Create.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('alert',{attrs:{\"message\":_vm.errorMessage,\"type\":\"danger\"}}),_vm._v(\" \"),_c('alert',{attrs:{\"message\":_vm.successMessage,\"type\":\"success\"}}),_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:index,attrs:{\"count\":_vm.transactions.length,\"custom-fields\":_vm.customFields,\"date\":_vm.date,\"destination-allowed-types\":_vm.destinationAllowedTypes,\"index\":index,\"source-allowed-types\":_vm.sourceAllowedTypes,\"submitted-transaction\":_vm.submittedTransaction,\"transaction\":transaction,\"transaction-type\":_vm.transactionType},on:{\"uploaded-attachments\":function($event){return _vm.uploadedAttachment($event)},\"selected-attachments\":function($event){return _vm.selectedAttachment($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)}}})}),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 card-primary\"},[_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.addTransactionArray}},[_c('span',{staticClass:\"far fa-clone\"}),_vm._v(\" \"+_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-success btn-block\",attrs:{\"disabled\":!_vm.enableSubmit},on:{\"click\":_vm.submitTransaction}},[(_vm.enableSubmit)?_c('span',[_c('span',{staticClass:\"far fa-save\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.store_transaction')))]):_vm._e(),_vm._v(\" \"),(!_vm.enableSubmit)?_c('span',[_c('span',{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.createAnother),expression:\"createAnother\"}],staticClass:\"form-check-input\",attrs:{\"id\":\"createAnother\",\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.createAnother)?_vm._i(_vm.createAnother,null)>-1:(_vm.createAnother)},on:{\"change\":function($event){var $$a=_vm.createAnother,$$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.createAnother=$$a.concat([$$v]))}else{$$i>-1&&(_vm.createAnother=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.createAnother=$$c}}}}),_vm._v(\" \"),_c('label',{staticClass:\"form-check-label\",attrs:{\"for\":\"createAnother\"}},[_c('span',{staticClass:\"small\"},[_vm._v(_vm._s(_vm.$t('firefly.create_another')))])])]),_vm._v(\" \"),_c('div',{staticClass:\"form-check\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.resetFormAfter),expression:\"resetFormAfter\"}],staticClass:\"form-check-input\",attrs:{\"id\":\"resetFormAfter\",\"disabled\":!_vm.createAnother,\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.resetFormAfter)?_vm._i(_vm.resetFormAfter,null)>-1:(_vm.resetFormAfter)},on:{\"change\":function($event){var $$a=_vm.resetFormAfter,$$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.resetFormAfter=$$a.concat([$$v]))}else{$$i>-1&&(_vm.resetFormAfter=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.resetFormAfter=$$c}}}}),_vm._v(\" \"),_c('label',{staticClass:\"form-check-label\",attrs:{\"for\":\"resetFormAfter\"}},[_c('span',{staticClass:\"small\"},[_vm._v(_vm._s(_vm.$t('firefly.reset_after')))])])])])])])])])])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/*\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\nimport store from \"../../components/store\";\nimport Create from \"../../components/transactions/Create\";\nimport Vue from \"vue\";\n\nrequire('../../bootstrap');\n\nVue.config.productionTip = false;\n// i18n\nlet i18n = require('../../i18n');\n\n// See reference nr. 3\n// See reference nr. 4\n// See reference nr. 5\n// See reference nr. 6\n// See reference nr. 7\n\nlet props = {};\nnew Vue({\n i18n,\n store,\n render(createElement) {\n return createElement(Create, {props: props});\n },\n beforeCreate() {\n this.$store.dispatch('root/initialiseStore');\n this.$store.commit('initialiseStore');\n this.$store.dispatch('updateCurrencyPreference');\n },\n }).$mount('#transactions_create');\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{display:block;max-width:100%!important}.ti-input,.vue-tags-input{border-radius:.25rem;width:100%}.ti-input{max-width:100%}.ti-new-tag-input{font-size:1rem}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/transactions/TransactionTags.vue\"],\"names\":[],\"mappings\":\"AA2HA,gBAGA,aAAA,CADA,wBAGA,CAEA,0BAHA,oBAAA,CAHA,UAUA,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 <span v-if=\"'danger' === type\" class=\"icon fas fa-ban\"></span>\n <span v-if=\"'success' === type\" class=\"icon fas fa-thumbs-up\"></span>\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=45eef68c&\"\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('span',{staticClass:\"icon fas fa-ban\"}):_vm._e(),_vm._v(\" \"),('success' === _vm.type)?_c('span',{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('span',{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\"><span class=\"far fa-trash-alt\"></span></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=375a57e5&\"\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('span',{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 </div>\n <div v-if=\"!visible\" class=\"text-xs d-none d-lg-block d-xl-block\">\n &nbsp;\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\"><span class=\"far fa-trash-alt\"></span></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=49893d47&\"\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('span',{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\">&nbsp;</span>\n </div>\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","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=7ccf55e2&\"\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 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\"},[('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","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=0b4c09d0&\"\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 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\"},[_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","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=697609b0&\"\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 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.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\">&nbsp;</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","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=c617427c&\"\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 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.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\"><span class=\"far fa-trash-alt\"></span></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=7b821709&\"\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('span',{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 api from \"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../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&\";\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","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\"><span class=\"far fa-trash-alt\"></span></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=94f353c2&\"\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('span',{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\"><span class=\"far fa-trash-alt\"></span></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","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=7a5ee5e8&\"\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 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.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('span',{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","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=04ebe6d2&\"\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 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.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('span',{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('span',{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('span',{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.apply(null, arguments)}}},[_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('span',{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('span',{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\"><span class=\"fas fa-plus\"></span> 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\"><span class=\"far fa-trash-alt\"></span></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\"><span class=\"fas fa-plus\"></span></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\">&times;</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\"><span class=\"fas fa-search\"></span> 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\"><span class=\"fas fa-spinner fa-spin\"></span></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 &rarr;\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// See reference nr. 3\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=7826e6c4&\"\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","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=27863744&\"\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 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.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>&nbsp;</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","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=26d78234&\"\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 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.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\"><span class=\"fas fa-trash-alt\"></span></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 return {\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 return {\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=8d9e74a0&\"\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('span',{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\"><span class=\"far fa-trash-alt\"></span></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","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=4bdb785a&\"\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 null,\n null\n \n)\n\nexport default component.exports"],"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/Create.vue","webpack:///./src/components/transactions/Create.vue?21f2","webpack:///./src/components/transactions/Create.vue","webpack:///./src/components/transactions/Create.vue?cc08","webpack:///./src/pages/transactions/create.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?a628","webpack:///./src/components/transactions/SplitForm.vue?a019","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?fdcd","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?22f4","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?e933","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?f2f7","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?a82a","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?590c","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?dc0d","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?2451","webpack:///./src/components/transactions/TransactionTags.vue?756a","webpack:///src/components/transactions/TransactionTags.vue","webpack:///./src/components/transactions/TransactionTags.vue?c786","webpack:///./src/components/transactions/TransactionTags.vue?80e0","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?e513","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?9993","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?939d","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?f936","webpack:///./src/components/transactions/TransactionLinks.vue?47fb","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?2c97","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?6273","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?67c1","webpack:///src/components/transactions/TransactionGroupTitle.vue","webpack:///./src/components/transactions/TransactionGroupTitle.vue?5049","webpack:///./src/components/transactions/TransactionGroupTitle.vue"],"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","log","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","cacheKey","age","object","JSON","parse","now","parseInt","refreshCacheKey","Array","N","join","Math","random","toString","slice","stringify","setCacheKey","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","currencyResponse","name","symbol","decimal_places","err","module","exports","documentElement","lang","fallbackLocale","messages","components","SplitForm","Alert","SplitPills","TransactionGroupTitle","created","this","date","getFullYear","getDate","type","toUpperCase","substring","getExpectedSourceTypes","getAccountToTransaction","getCustomFields","errorMessage","successMessage","customFields","enableSubmit","createAnother","resetFormAfter","submittedTransaction","submittedLinks","submittedAttachments","inError","submittedAttCount","groupTitleErrors","returnedGroupId","returnedGroupTitle","computed","watch","finaliseSubmission","methods","addTransactionArray","event","preventDefault","removeTransaction","$store","submitData","post","url","handleSubmissionResponse","group_title","description","result","hasOwnProperty","i","test","journals","transaction_journal_id","Promise","resolve","submitLinks","links","ii","currentLink","outward_id","journalId","inward_id","promises","all","submitAttachments","anyAttachments","selectedAttachment","$t","location","href","handleSubmissionError","parseErrors","submitTransaction","uploadedAttachment","key","storeLocation","storeAccountValue","storeField","storeDate","storeGroupTitle","submitTransactionLinks","submitted","total","received","message","transactionIndex","split","fieldName","convertData","convertSplit","synchronizeAccounts","source_name","destination_name","source_id","destination_id","array","destination_account_name","destination_account_id","source_account_name","source_account_id","toLowerCase","currency_id","amount","budget_id","category_name","category","internal_reference","external_url","notes","external_id","zoom_level","longitude","latitude","tags","order","reconciled","attachments","currentSplit","current","text","piggy_bank_id","bill_id","foreign_currency_id","foreign_amount","source_account_currency_id","destination_account_currency_id","link_type_id","linkTypeParts","inwardId","outwardId","newLink","getAllowedOpposingTypes","defaultDestinationAllowedTypes","defaultSourceAllowedTypes","_vm","_h","$createElement","_c","_self","attrs","_v","on","staticClass","_l","transaction","$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","Create","beforeCreate","$mount","source","destination","currency","foreign_currency","custom_dates","budget","bill","piggy_bank","source_account_type","source_account_currency_code","source_account_currency_symbol","destination_account_type","destination_account_currency_code","destination_account_currency_symbol","selectedAttachments","uploadTrigger","clearTrigger","source_account","name_with_balance","currency_name","currency_code","currency_decimal_places","destination_account","___CSS_LOADER_EXPORT___","class","descriptions","initialSet","getACURL","clearDescription","getElementsByTagName","query","lookupDescription","$emit","item","slot","localTimeZone","Intl","DateTimeFormat","resolvedOptions","timeZone","systemTimeZone","dateStr","parts","timeStr","localDate","ref","composing","budgetList","emitEvent","collectData","getBudgets","parseBudgets","$$selectedVal","prototype","filter","call","options","o","selected","map","_value","multiple","Number","direction","String","Object","default","accountTypes","selectedAccount","accountName","selectedAccountTrigger","types","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","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","debounce","currentTag","updateTags","tagList","shortList","initItems","clearTimeout","setTimeout","this$1","newTags","piggyList","getPiggies","parsePiggies","piggy","reference","showField","_m","external_uri","searchResults","include","linkTypes","searching","getLinkTypes","removeLink","getTextForLinkType","linkTypeId","selectTransaction","addToSelected","removeFromSelected","selectLinkType","updateSelected","journal","resetModal","search","parseLinkTypes","inward","outward","linkTypeInward","linkTypeOutward","parseSearch","transaction_group_id","isJournalSelected","getJournalLinkType","link_type_text","NumberFormat","style","format","apply","arguments","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","lat","lng","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"],"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,S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,kBACQ,EAAR,yBAEA,OE9EA,SAXgB,E,QAAA,GACd,GHRW,WAAa,IAAI5R,EAAI9H,KAAS+H,EAAGD,EAAIE,eAAmBC,EAAGH,EAAII,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACK,YAAY,cAAc,CAACL,EAAG,MAAM,CAACK,YAAY,wCAAwC,CAACR,EAAIM,GAAG,SAASN,EAAIkB,GAAGlB,EAAInE,GAAG,oCAAoC,UAAUmE,EAAIM,GAAG,KAAKH,EAAG,0BAA0B,CAACE,MAAM,CAAC,KAAOL,EAAIgE,aAAa,WAAahE,EAAIhQ,OAAOU,OAAS,EAAI,aAAe,GAAG,iBAAmB,EAAE,YAAcsP,EAAInE,GAAG,mCAAmC,WAAa,SAAU2I,GAAQ,OAAOA,EAAKhK,aAAe,aAAc,EAAK,UAAY,eAAe+F,GAAG,CAAC,MAAQP,EAAIsE,mBAAmB1D,MAAM,CAAC5P,MAAOgP,EAAS,MAAEa,SAAS,SAAUC,GAAMd,EAAI4R,MAAM9Q,GAAKE,WAAW,UAAU,CAACb,EAAG,WAAW,CAACsE,KAAK,UAAU,CAACtE,EAAG,MAAM,CAACK,YAAY,sBAAsB,CAACL,EAAG,SAAS,CAACK,YAAY,4BAA4BH,MAAM,CAAC,SAAW,KAAK,KAAO,UAAUE,GAAG,CAAC,MAAQP,EAAImE,mBAAmB,CAAChE,EAAG,OAAO,CAACK,YAAY,4BAA4B,GAAGR,EAAIM,GAAG,KAAMN,EAAIhQ,OAAOU,OAAS,EAAGyP,EAAG,OAAOH,EAAIS,GAAIT,EAAU,QAAE,SAASlS,GAAO,OAAOqS,EAAG,OAAO,CAACK,YAAY,qBAAqB,CAACR,EAAIM,GAAGN,EAAIkB,GAAGpT,IAAQqS,EAAG,WAAU,GAAGH,EAAIiB,MAAM,KAClmC,IGUpB,EACA,KACA,KACA,M","file":"/public/js/transactions/create.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// See reference nr. 1\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 for dashboard.');\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 cacheKey: {\n age: 0,\n value: 'empty',\n },\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 cacheKey: state => {\n return state.cacheKey.value;\n },\n}\n\n// actions\nconst actions = {\n initialiseStore(context) {\n // cache key auto refreshes every day\n console.log('Now in initialize store.')\n if (localStorage.cacheKey) {\n console.log('Storage has cache key: ');\n console.log(localStorage.cacheKey);\n let object = JSON.parse(localStorage.cacheKey);\n if (Date.now() - object.age > 86400000) {\n console.log('Key is here but is old.');\n context.commit('refreshCacheKey');\n } else {\n console.log('Cache key from local storage: ' + object.value);\n context.commit('setCacheKey', object);\n }\n } else {\n console.log('No key need new one.');\n context.commit('refreshCacheKey');\n }\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 refreshCacheKey(state) {\n let age = Date.now();\n let N = 8;\n let cacheKey = Array(N+1).join((Math.random().toString(36)+'00000000000000000').slice(2, 18)).slice(0, N);\n let object = {age: age, value: cacheKey};\n console.log('Store new key in string JSON');\n console.log(JSON.stringify(object));\n localStorage.cacheKey = JSON.stringify(object);\n state.cacheKey = {age: age, value: cacheKey};\n console.log('Refresh: cachekey is now ' + cacheKey);\n },\n setCacheKey(state, payload) {\n console.log('Stored cache key in localstorage.');\n console.log(payload);\n console.log(JSON.stringify(payload));\n localStorage.cacheKey = JSON.stringify(payload);\n state.cacheKey = payload;\n },\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 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 console.log('Now in initialiseStore()')\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 console.log('Now in updateCurrencyPreference');\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 - Create.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 <alert :message=\"errorMessage\" type=\"danger\"/>\n <alert :message=\"successMessage\" type=\"success\"/>\n <form @submit=\"submitTransaction\" autocomplete=\"off\">\n <SplitPills :transactions=\"transactions\" :count=\"transactions.length\"/>\n <div class=\"tab-content\">\n <SplitForm\n v-for=\"(transaction, index) in this.transactions\"\n v-bind:key=\"index\"\n :count=\"transactions.length\"\n :custom-fields=\"customFields\"\n :date=\"date\"\n :destination-allowed-types=\"destinationAllowedTypes\"\n :index=\"index\"\n :source-allowed-types=\"sourceAllowedTypes\"\n :submitted-transaction=\"submittedTransaction\"\n :transaction=\"transaction\"\n :transaction-type=\"transactionType\"\n v-on:uploaded-attachments=\"uploadedAttachment($event)\"\n v-on:selected-attachments=\"selectedAttachment($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 />\n </div>\n\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 card-primary\">\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 &nbsp;\n </div>\n <button type=\"button\" class=\"btn btn-outline-primary btn-block\" @click=\"addTransactionArray\"><span class=\"far fa-clone\"></span> {{\n $t('firefly.add_another_split')\n }}\n </button>\n </div>\n <div class=\"col\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n &nbsp;\n </div>\n <button :disabled=\"!enableSubmit\" class=\"btn btn-success btn-block\" @click=\"submitTransaction\">\n <span v-if=\"enableSubmit\"><span class=\"far fa-save\"></span> {{ $t('firefly.store_transaction') }}</span>\n <span v-if=\"!enableSubmit\"><span class=\"fas fa-spinner fa-spin\"></span></span>\n </button>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col\">\n &nbsp;\n </div>\n <div class=\"col\">\n <div class=\"form-check\">\n <input id=\"createAnother\" v-model=\"createAnother\" class=\"form-check-input\" type=\"checkbox\">\n <label class=\"form-check-label\" for=\"createAnother\">\n <span class=\"small\">{{ $t('firefly.create_another') }}</span>\n </label>\n </div>\n <div class=\"form-check\">\n <input id=\"resetFormAfter\" v-model=\"resetFormAfter\" :disabled=\"!createAnother\" class=\"form-check-input\" type=\"checkbox\">\n <label class=\"form-check-label\" for=\"resetFormAfter\">\n <span class=\"small\">{{ $t('firefly.reset_after') }}</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 Alert from '../partials/Alert';\nimport SplitPills from \"./SplitPills\";\nimport TransactionGroupTitle from \"./TransactionGroupTitle\";\nimport SplitForm from \"./SplitForm\";\nimport {mapGetters, mapMutations} from \"vuex\";\n\nexport default {\n name: \"Create\",\n components: {\n SplitForm,\n Alert,\n SplitPills,\n TransactionGroupTitle,\n },\n /**\n * Grab some stuff from the API, add the first transaction.\n */\n created() {\n // set transaction type:\n let pathName = window.location.pathname;\n let parts = pathName.split('/');\n let type = parts[parts.length - 1];\n\n // set a basic date-time string:\n let date = new Date;\n this.date = [date.getFullYear(), ('0' + (date.getMonth() + 1)).slice(-2), ('0' + date.getDate()).slice(-2)].join('-') + 'T00:00';\n\n //console.log('Date is set to \"' + this.date + '\"');\n\n this.setTransactionType(type[0].toUpperCase() + type.substring(1));\n this.getExpectedSourceTypes();\n this.getAccountToTransaction();\n this.getCustomFields();\n this.addTransaction();\n },\n data() {\n return {\n // error or success message\n errorMessage: '',\n successMessage: '',\n\n // custom fields to show, useful for components:\n customFields: {},\n\n // states for the form (makes sense right)\n enableSubmit: true,\n createAnother: false,\n resetFormAfter: false,\n\n // things the process is done working on (3 phases):\n submittedTransaction: false,\n submittedLinks: false,\n submittedAttachments: -1, // -1 (no attachments), 0 = uploading, 1 = uploaded\n\n // transaction was actually submitted?\n inError: 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\n // errors in the group title:\n groupTitleErrors: [],\n\n // group ID + title once submitted:\n returnedGroupId: 0,\n returnedGroupTitle: '',\n\n // meta data for accounts\n accountToTransaction: {},\n allowedOpposingTypes: {},\n sourceAllowedTypes: ['Asset account', 'Loan', 'Debt', 'Mortgage', 'Revenue account'],\n destinationAllowedTypes: ['Asset account', 'Loan', 'Debt', 'Mortgage', 'Expense account'],\n\n // date not in the store because it was buggy\n date: ''\n }\n },\n computed: {\n /**\n * Grabbed from the store.\n */\n ...mapGetters('transactions/create', ['transactionType', 'transactions', 'groupTitle', 'defaultErrors']),\n ...mapGetters('root', ['listPageSize'])\n },\n watch: {\n submittedAttachments: function () {\n this.finaliseSubmission();\n }\n },\n methods: {\n /**\n * Store related mutators used by this component.\n */\n ...mapMutations('transactions/create',\n [\n 'setGroupTitle',\n 'addTransaction',\n 'deleteTransaction',\n 'setTransactionError',\n 'setTransactionType',\n 'resetErrors',\n 'updateField',\n 'resetTransactions',\n ]\n ),\n addTransactionArray: function (event) {\n event.preventDefault();\n this.addTransaction();\n },\n /**\n * Removes a split from the array.\n */\n removeTransaction: function (payload) {\n // console.log('Triggered to remove transaction ' + payload.index);\n this.$store.commit('transactions/create/deleteTransaction', payload);\n },\n submitData: function (url, data) {\n return axios.post(url, data);\n },\n handleSubmissionResponse: function (response) {\n //console.log('In handleSubmissionResponse()');\n // save some meta data:\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 let journals = [];\n\n // save separate journal ID's (useful ahead in the process):\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\n return Promise.resolve({journals: journals});\n },\n submitLinks: function (response, submission) {\n let promises = [];\n // for\n for (let i in response.journals) {\n if (response.journals.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let journalId = response.journals[i];\n let links = submission.transactions[i].links;\n for (let ii in links) {\n if (links.hasOwnProperty(ii) && /^0$|^[1-9]\\d*$/.test(ii) && ii <= 4294967294) {\n let currentLink = links[ii];\n if (0 === currentLink.outward_id) {\n currentLink.outward_id = journalId;\n }\n if (0 === currentLink.inward_id) {\n currentLink.inward_id = journalId;\n }\n promises.push(axios.post('./api/v1/transaction_links', currentLink));\n }\n }\n }\n }\n if (0 === promises.length) {\n return Promise.resolve({response: 'from submitLinks'});\n }\n return Promise.all(promises);\n },\n submitAttachments: function (response, submission) {\n let anyAttachments = false;\n for (let i in response.journals) {\n if (response.journals.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let journalId = response.journals[i];\n let hasAttachments = submission.transactions[i].attachments;\n // console.log('Decided that ' + journalId);\n // console.log(hasAttachments);\n if (hasAttachments) {\n // console.log('upload!');\n this.updateField({index: i, field: 'transaction_journal_id', value: journalId});\n anyAttachments = true;\n }\n }\n }\n\n if (true === anyAttachments) {\n this.submittedAttachments = 0;\n }\n\n return Promise.resolve({response: 'from submitAttachments'});\n },\n selectedAttachment: function (payload) {\n this.updateField({index: payload.index, field: 'attachments', value: true});\n },\n finaliseSubmission: function () {\n if (0 === this.submittedAttachments) {\n // console.log('submittedAttachments = ' + this.submittedAttachments);\n return;\n }\n //console.log('In finaliseSubmission');\n if (false === this.createAnother) {\n window.location.href = (window.previousURL ?? '/') + '?transaction_group_id=' + this.returnedGroupId + '&message=created';\n return;\n }\n //console.log('Is in error?');\n //console.log(this.inError);\n if (false === this.inError) {\n // show message:\n this.errorMessage = '';\n this.successMessage = this.$t('firefly.transaction_stored_link', {ID: this.returnedGroupId, title: this.returnedGroupTitle});\n }\n\n // enable flags:\n this.enableSubmit = true;\n this.submittedTransaction = false;\n this.submittedAttachments = -1;\n\n // reset attachments + errors\n if (!this.resetFormAfter) {\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.\n // console.log('Reset attachment #' + i);\n this.updateField({index: i, field: 'transaction_journal_id', value: 0});\n this.updateField({index: i, field: 'errors', value: this.defaultErrors})\n }\n }\n }\n }\n // reset the form:\n if (this.resetFormAfter) {\n this.resetTransactions();\n this.addTransaction();\n }\n return Promise.resolve({response: 'from finaliseSubmission'});\n },\n handleSubmissionError: function (error) {\n //console.log('in handleSubmissionError');\n // oh noes Firefly III has something to bitch about.\n this.enableSubmit = true;\n\n // but report an error because error:\n this.inError = true;\n this.parseErrors(error.response.data);\n },\n /**\n * Actually submit the transaction to Firefly III. This is a fairly complex beast of a thing because multiple things\n * need to happen in the right order.\n */\n submitTransaction: function (event) {\n event.preventDefault();\n // console.log('submitTransaction()');\n // disable the submit button:\n this.enableSubmit = false;\n\n // assume nothing breaks\n this.inError = false;\n\n // remove old warnings etc.\n this.successMessage = '';\n this.errorMessage = '';\n\n // convert the data so its ready to be submitted:\n const url = './api/v1/transactions';\n const data = this.convertData();\n\n this.submitData(url, data)\n .then(this.handleSubmissionResponse)\n .then(response => {\n return Promise.all([this.submitLinks(response, data), this.submitAttachments(response, data)]);\n }\n )\n .then(this.finaliseSubmission)\n .catch(this.handleSubmissionError);\n\n },\n /**\n * When a attachment component is done uploading it ends up here. We create an object where we count how many\n * attachment components have reported back they're done uploading. Of course if they have nothing to upload\n * they will be pretty fast in reporting they're done.\n *\n * Once the number of components matches the number of splits we know all attachments have been uploaded.\n */\n uploadedAttachment: function (journalId) {\n this.submittedAttachments = 0;\n // console.log('Triggered uploadedAttachment(' + journalId + ')');\n let key = 'str' + journalId;\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 /**\n * Responds to changed location.\n */\n storeLocation: function (payload) {\n let zoomLevel = payload.hasMarker ? payload.zoomLevel : null;\n let lat = payload.hasMarker ? payload.lat : null;\n let lng = payload.hasMarker ? payload.lng : null;\n this.updateField({index: payload.index, field: 'zoom_level', value: zoomLevel});\n this.updateField({index: payload.index, field: 'latitude', value: lat});\n this.updateField({index: payload.index, field: 'longitude', value: lng});\n },\n /**\n * Responds to changed account.\n */\n storeAccountValue: function (payload) {\n this.updateField({index: payload.index, field: payload.direction + '_account_id', value: payload.id});\n this.updateField({index: payload.index, field: payload.direction + '_account_type', value: payload.type});\n this.updateField({index: payload.index, field: payload.direction + '_account_name', value: payload.name});\n\n this.updateField({index: payload.index, field: payload.direction + '_account_currency_id', value: payload.currency_id});\n this.updateField({index: payload.index, field: payload.direction + '_account_currency_code', value: payload.currency_code});\n this.updateField({index: payload.index, field: payload.direction + '_account_currency_symbol', value: payload.currency_symbol});\n\n //this.calculateTransactionType(payload.index);\n },\n storeField: function (payload) {\n this.updateField(payload);\n },\n storeDate: function (payload) {\n this.date = payload.date;\n },\n storeGroupTitle: function (value) {\n // console.log('set group title: ' + value);\n this.setGroupTitle({groupTitle: value});\n },\n\n /**\n * Submit transaction links.\n */\n submitTransactionLinks(data, response) {\n //console.log('submitTransactionLinks()');\n let promises = [];\n let result = response.data.data.attributes.transactions;\n let total = 0;\n for (let i in data.transactions) {\n if (data.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let submitted = data.transactions[i];\n if (result.hasOwnProperty(i)) {\n // found matching created transaction.\n let received = result[i];\n // grab ID from received, loop \"submitted\" transaction links\n for (let ii in submitted.links) {\n if (submitted.links.hasOwnProperty(ii) && /^0$|^[1-9]\\d*$/.test(ii) && ii <= 4294967294) {\n let currentLink = submitted.links[ii];\n total++;\n if (0 === currentLink.outward_id) {\n currentLink.outward_id = received.transaction_journal_id;\n }\n if (0 === currentLink.inward_id) {\n currentLink.inward_id = received.transaction_journal_id;\n }\n // submit transaction link:\n promises.push(axios.post('./api/v1/transaction_links', currentLink).then(response => {\n// See reference nr. 4\n }));\n }\n }\n }\n }\n }\n if (0 === total) {\n this.submittedLinks = true;\n return;\n }\n Promise.all(promises).then(function () {\n this.submittedLinks = true;\n });\n },\n parseErrors: function (errors) {\n for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i)) {\n this.resetErrors({index: i});\n }\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\n /**\n *\n */\n convertData: function () {\n //console.log('now in convertData');\n let data = {\n 'transactions': []\n };\n //console.log('Group title is: \"' + this.groupTitle + '\"');\n if (this.groupTitle.length > 0) {\n data.group_title = this.groupTitle;\n //console.log('1) data.group_title is now \"'+data.group_title+'\"');\n }\n\n for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n data.transactions.push(this.convertSplit(i, this.transactions[i]));\n }\n }\n if (data.transactions.length > 1 && '' !== data.transactions[0].description && (null === data.group_title || '' === data.group_title)) {\n data.group_title = data.transactions[0].description;\n //console.log('2) data.group_title is now \"'+data.group_title+'\"');\n }\n\n // depending on the transaction type for this thing, we need to\n // make sure other splits match the data we submit.\n if (data.transactions.length > 1) {\n // console.log('This is a split!');\n data = this.synchronizeAccounts(data);\n }\n\n return data;\n },\n synchronizeAccounts: function (data) {\n // console.log('synchronizeAccounts: ' + this.transactionType);\n // make sure all splits have whatever is in split 0.\n // since its a transfer we can drop the name and use ID's only.\n for (let i in data.transactions) {\n if (data.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n // console.log('now at ' + i);\n\n // for transfers, overrule both the source and the destination:\n if ('Transfer' === this.transactionType) {\n data.transactions[i].source_name = null;\n data.transactions[i].destination_name = null;\n if (i > 0) {\n data.transactions[i].source_id = data.transactions[0].source_id;\n data.transactions[i].destination_id = data.transactions[0].destination_id;\n }\n }\n // for deposits, overrule the destination and ignore the rest.\n if ('Deposit' === this.transactionType) {\n data.transactions[i].destination_name = null;\n if (i > 0) {\n data.transactions[i].destination_id = data.transactions[0].destination_id;\n }\n }\n\n // for withdrawals, overrule the source and ignore the rest.\n if ('Withdrawal' === this.transactionType) {\n data.transactions[i].source_name = null;\n if (i > 0) {\n data.transactions[i].source_id = data.transactions[0].source_id;\n }\n }\n }\n }\n return data;\n\n },\n\n /**\n *\n * @param key\n * @param array\n */\n convertSplit: function (key, array) {\n if ('' === array.destination_account_name) {\n array.destination_account_name = null;\n }\n if (0 === array.destination_account_id) {\n array.destination_account_name = null;\n }\n\n if ('' === array.source_account_name) {\n array.source_account_name = null;\n }\n if (0 === array.source_account_id) {\n array.source_account_id = null;\n }\n\n let currentSplit = {\n // basic\n description: array.description,\n date: this.date,\n type: this.transactionType.toLowerCase(),\n\n // account\n source_id: array.source_account_id ?? null,\n source_name: array.source_account_name ?? null,\n destination_id: array.destination_account_id ?? null,\n destination_name: array.destination_account_name ?? null,\n\n // amount:\n currency_id: array.currency_id,\n amount: array.amount,\n\n // meta data\n budget_id: array.budget_id,\n category_name: array.category,\n\n // optional date fields (6x):\n interest_date: array.interest_date,\n book_date: array.book_date,\n process_date: array.process_date,\n due_date: array.due_date,\n payment_date: array.payment_date,\n invoice_date: array.invoice_date,\n\n // other optional fields:\n internal_reference: array.internal_reference,\n external_url: array.external_url,\n notes: array.notes,\n external_id: array.external_id,\n\n // location:\n zoom_level: array.zoom_level,\n longitude: array.longitude,\n latitude: array.latitude,\n tags: [],\n\n // from thing:\n order: 0,\n reconciled: false,\n attachments: array.attachments,\n };\n\n if (0 !== array.tags.length) {\n for (let i in array.tags) {\n if (array.tags.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n // array.tags\n let current = array.tags[i];\n if (typeof current === 'object' && null !== current) {\n currentSplit.tags.push(current.text);\n console.log('Add tag \"' + current.text + '\" from object.');\n continue;\n }\n if (typeof current === 'string') {\n currentSplit.tags.push(current);\n console.log('Add tag \"' + current + '\" from string.');\n continue;\n }\n console.log('Is neither.');\n }\n }\n }\n console.log('Current split tags is now: ');\n console.log(currentSplit.tags);\n\n // bills and piggy banks\n if (0 !== array.piggy_bank_id) {\n currentSplit.piggy_bank_id = array.piggy_bank_id;\n }\n if (0 !== array.bill_id) {\n currentSplit.bill_id = array.bill_id;\n }\n\n // foreign amount:\n if (0 !== array.foreign_currency_id && '' !== array.foreign_amount) {\n currentSplit.foreign_currency_id = array.foreign_currency_id;\n }\n if ('' !== array.foreign_amount) {\n currentSplit.foreign_amount = array.foreign_amount;\n }\n\n // do transaction type\n // let transactionType;\n // let firstSource;\n // let firstDestination;\n\n // get transaction type from first transaction\n //transactionType = this.transactionType ? this.transactionType.toLowerCase() : 'any';\n //console.log('Transaction type is now ' + transactionType);\n // if the transaction type is invalid, might just be that we can deduce it from\n // the presence of a source or destination account\n //firstSource = this.transactions[0].source_account_type;\n //firstDestination = this.transactions[0].destination_account_type;\n //console.log(this.transactions[0].source_account);\n //console.log(this.transactions[0].destination_account);\n //console.log('Type of first source is ' + firstSource);\n //console.log('Type of first destination is ' + firstDestination);\n\n // default to source:\n currentSplit.currency_id = array.source_account_currency_id;\n // if ('any' === transactionType && ['asset', 'Asset account', 'Loan', 'Debt', 'Mortgage'].includes(firstSource)) {\n // transactionType = 'withdrawal';\n // }\n\n if ('Deposit' === this.transactionType) {\n // transactionType = 'deposit';\n currentSplit.currency_id = array.destination_account_currency_id;\n }\n //currentSplit.type = transactionType;\n //console.log('Final type is ' + transactionType);\n\n let links = [];\n for (let i in array.links) {\n if (array.links.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = array.links[i];\n let linkTypeParts = current.link_type_id.split('-');\n let inwardId = 'outward' === linkTypeParts[1] ? 0 : parseInt(current.transaction_journal_id);\n let outwardId = 'inward' === linkTypeParts[1] ? 0 : parseInt(current.transaction_journal_id);\n let newLink = {\n link_type_id: parseInt(linkTypeParts[0]),\n inward_id: inwardId,\n outward_id: outwardId,\n };\n links.push(newLink);\n }\n }\n currentSplit.links = links;\n if (null === currentSplit.source_id) {\n delete currentSplit.source_id;\n }\n if (null === currentSplit.source_name) {\n delete currentSplit.source_name;\n }\n if (null === currentSplit.destination_id) {\n delete currentSplit.destination_id;\n }\n if (null === currentSplit.destination_name) {\n delete currentSplit.destination_name;\n }\n\n // console.log('Current split is: ');\n // console.log(currentSplit);\n\n // return it.\n return currentSplit;\n },\n /**\n * Get API value.\n */\n getAllowedOpposingTypes: function () {\n axios.get('./api/v1/configuration/firefly.allowed_opposing_types')\n .then(response => {\n // console.log('opposing types things.');\n // console.log(response.data.data.value);\n this.allowedOpposingTypes = response.data.data.value;\n });\n },\n getExpectedSourceTypes: function () {\n axios.get('./api/v1/configuration/firefly.expected_source_types')\n .then(response => {\n //console.log('getExpectedSourceTypes.');\n this.sourceAllowedTypes = response.data.data.value.source[this.transactionType];\n this.destinationAllowedTypes = response.data.data.value.destination[this.transactionType];\n // console.log('Source allowed types for ' + this.transactionType + ' is: ');\n // console.log(this.sourceAllowedTypes);\n\n // console.log('Destination allowed types for ' + this.transactionType + ' is: ');\n // console.log(this.destinationAllowedTypes);\n\n //this.allowedOpposingTypes = response.data.data.value;\n });\n },\n /**\n * Get API value.\n */\n getAccountToTransaction: function () {\n axios.get('./api/v1/configuration/firefly.account_to_transaction')\n .then(response => {\n this.accountToTransaction = response.data.data.value;\n });\n },\n /**\n * This method grabs the users preferred custom transaction fields. It's used when configuring the\n * custom date selects that will be available. It could be something the component does by itself,\n * thereby separating concerns. This is on my list. If it changes to a per-component thing, then\n * it should be done via the create.js Vue store because multiple components are interested in the\n * user's custom transaction fields.\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 setDestinationAllowedTypes: function (value) {\n // console.log('Create::setDestinationAllowedTypes');\n // console.log(value);\n if (0 === value.length) {\n this.destinationAllowedTypes = this.defaultDestinationAllowedTypes;\n //console.log('empty so back to defaults');\n return;\n }\n this.destinationAllowedTypes = value;\n },\n setSourceAllowedTypes(value) {\n // console.log('Create::setSourceAllowedTypes');\n // console.log(value);\n if (0 === value.length) {\n this.sourceAllowedTypes = this.defaultSourceAllowedTypes;\n // console.log('empty so back to defaults');\n return;\n }\n this.sourceAllowedTypes = value;\n }\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!./Create.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!./Create.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Create.vue?vue&type=template&id=5654a28f&\"\nimport script from \"./Create.vue?vue&type=script&lang=js&\"\nexport * from \"./Create.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('alert',{attrs:{\"message\":_vm.errorMessage,\"type\":\"danger\"}}),_vm._v(\" \"),_c('alert',{attrs:{\"message\":_vm.successMessage,\"type\":\"success\"}}),_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:index,attrs:{\"count\":_vm.transactions.length,\"custom-fields\":_vm.customFields,\"date\":_vm.date,\"destination-allowed-types\":_vm.destinationAllowedTypes,\"index\":index,\"source-allowed-types\":_vm.sourceAllowedTypes,\"submitted-transaction\":_vm.submittedTransaction,\"transaction\":transaction,\"transaction-type\":_vm.transactionType},on:{\"uploaded-attachments\":function($event){return _vm.uploadedAttachment($event)},\"selected-attachments\":function($event){return _vm.selectedAttachment($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)}}})}),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 card-primary\"},[_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.addTransactionArray}},[_c('span',{staticClass:\"far fa-clone\"}),_vm._v(\" \"+_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-success btn-block\",attrs:{\"disabled\":!_vm.enableSubmit},on:{\"click\":_vm.submitTransaction}},[(_vm.enableSubmit)?_c('span',[_c('span',{staticClass:\"far fa-save\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.store_transaction')))]):_vm._e(),_vm._v(\" \"),(!_vm.enableSubmit)?_c('span',[_c('span',{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.createAnother),expression:\"createAnother\"}],staticClass:\"form-check-input\",attrs:{\"id\":\"createAnother\",\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.createAnother)?_vm._i(_vm.createAnother,null)>-1:(_vm.createAnother)},on:{\"change\":function($event){var $$a=_vm.createAnother,$$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.createAnother=$$a.concat([$$v]))}else{$$i>-1&&(_vm.createAnother=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.createAnother=$$c}}}}),_vm._v(\" \"),_c('label',{staticClass:\"form-check-label\",attrs:{\"for\":\"createAnother\"}},[_c('span',{staticClass:\"small\"},[_vm._v(_vm._s(_vm.$t('firefly.create_another')))])])]),_vm._v(\" \"),_c('div',{staticClass:\"form-check\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.resetFormAfter),expression:\"resetFormAfter\"}],staticClass:\"form-check-input\",attrs:{\"id\":\"resetFormAfter\",\"disabled\":!_vm.createAnother,\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.resetFormAfter)?_vm._i(_vm.resetFormAfter,null)>-1:(_vm.resetFormAfter)},on:{\"change\":function($event){var $$a=_vm.resetFormAfter,$$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.resetFormAfter=$$a.concat([$$v]))}else{$$i>-1&&(_vm.resetFormAfter=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.resetFormAfter=$$c}}}}),_vm._v(\" \"),_c('label',{staticClass:\"form-check-label\",attrs:{\"for\":\"resetFormAfter\"}},[_c('span',{staticClass:\"small\"},[_vm._v(_vm._s(_vm.$t('firefly.reset_after')))])])])])])])])])])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/*\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\nimport store from \"../../components/store\";\nimport Create from \"../../components/transactions/Create\";\nimport Vue from \"vue\";\n\nrequire('../../bootstrap');\n\nVue.config.productionTip = false;\n// i18n\nlet i18n = require('../../i18n');\n\n// See reference nr. 3\n// See reference nr. 4\n// See reference nr. 5\n// See reference nr. 6\n// See reference nr. 7\n\nlet props = {};\nnew Vue({\n i18n,\n store,\n render(createElement) {\n return createElement(Create, {props: props});\n },\n beforeCreate() {\n this.$store.dispatch('root/initialiseStore');\n this.$store.commit('initialiseStore');\n this.$store.dispatch('updateCurrencyPreference');\n },\n }).$mount('#transactions_create');\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{display:block;max-width:100%!important}.ti-input,.vue-tags-input{border-radius:.25rem;width:100%}.ti-input{max-width:100%}.ti-new-tag-input{font-size:1rem}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/transactions/TransactionTags.vue\"],\"names\":[],\"mappings\":\"AAsHA,gBAGA,aAAA,CADA,wBAGA,CAEA,0BAHA,oBAAA,CAHA,UAUA,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 };\\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.tagList = value;\\n },\\n tagList: function (value) {\\n // console.log('watch tagList');\\n this.$emit('set-field', {field: 'tags', index: this.index, value: value});\\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 <span v-if=\"'danger' === type\" class=\"icon fas fa-ban\"></span>\n <span v-if=\"'success' === type\" class=\"icon fas fa-thumbs-up\"></span>\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=45eef68c&\"\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('span',{staticClass:\"icon fas fa-ban\"}):_vm._e(),_vm._v(\" \"),('success' === _vm.type)?_c('span',{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('span',{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\"><span class=\"far fa-trash-alt\"></span></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=375a57e5&\"\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('span',{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 </div>\n <div v-if=\"!visible\" class=\"text-xs d-none d-lg-block d-xl-block\">\n &nbsp;\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\"><span class=\"far fa-trash-alt\"></span></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=49893d47&\"\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('span',{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\">&nbsp;</span>\n </div>\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","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=7ccf55e2&\"\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 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\"},[('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","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=0b4c09d0&\"\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 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\"},[_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","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=697609b0&\"\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 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.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\">&nbsp;</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","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=c617427c&\"\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 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.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\"><span class=\"far fa-trash-alt\"></span></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=7b821709&\"\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('span',{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 }\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 this.$emit('set-field', {field: 'bill_id', index: this.index, value: value});\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=e612fb9c&\"\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 };\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.tagList = value;\n },\n tagList: function (value) {\n // console.log('watch tagList');\n this.$emit('set-field', {field: 'tags', index: this.index, value: value});\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 api from \"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../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&\";\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","import { render, staticRenderFns } from \"./TransactionTags.vue?vue&type=template&id=dbf814e6&\"\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 }\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.piggy_bank_id = value;\n },\n piggy_bank_id: function (value) {\n this.$emit('set-field', {field: 'piggy_bank_id', index: this.index, value: value});\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=18aafbc0&\"\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\"><span class=\"far fa-trash-alt\"></span></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=94f353c2&\"\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('span',{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\"><span class=\"far fa-trash-alt\"></span></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","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=7a5ee5e8&\"\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 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.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('span',{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 }\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.notes = value;\n },\n customFields: function (value) {\n this.availableFields = value;\n },\n notes: function (value) {\n this.$emit('set-field', {field: 'notes', index: this.index, value: value});\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!./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=606fd0df&\"\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 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.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('span',{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('span',{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('span',{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.apply(null, arguments)}}},[_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('span',{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('span',{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\"><span class=\"fas fa-plus\"></span> 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\"><span class=\"far fa-trash-alt\"></span></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\"><span class=\"fas fa-plus\"></span></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\">&times;</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\"><span class=\"fas fa-search\"></span> 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\"><span class=\"fas fa-spinner fa-spin\"></span></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 &rarr;\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// See reference nr. 3\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=7826e6c4&\"\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","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=27863744&\"\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 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.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>&nbsp;</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","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=26d78234&\"\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 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.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\"><span class=\"fas fa-trash-alt\"></span></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 return {\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 return {\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=8d9e74a0&\"\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('span',{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\"><span class=\"far fa-trash-alt\"></span></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","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=4bdb785a&\"\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 null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}
\ No newline at end of file
diff --git a/public/v2/js/transactions/edit.js b/public/v2/js/transactions/edit.js
index 2c96b0eaeb..2dce85ba6e 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 u=a(9119),_=a(3894),d=a(584),p=a(7090),g=a(4431),m=a(8358),y=a(4135),h=a(3703);const b={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){console.log("initialiseStore for dashboard."),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,u.Z)(i),a=(0,_.Z)(i);break;case"1W":t=(0,u.Z)((0,d.Z)(i,{weekStartsOn:1})),a=(0,_.Z)((0,p.Z)(i,{weekStartsOn:1}));break;case"1M":t=(0,u.Z)((0,h.Z)(i)),a=(0,_.Z)((0,y.Z)(i));break;case"3M":t=(0,u.Z)((0,g.Z)(i)),a=(0,_.Z)((0,m.Z)(i));break;case"6M":i.getMonth()<=5&&((t=new Date(i)).setMonth(0),t.setDate(1),t=(0,u.Z)(t),(a=new Date(i)).setMonth(5),a.setDate(30),a=(0,_.Z)(t)),i.getMonth()>5&&((t=new Date(i)).setMonth(6),t.setDate(1),t=(0,u.Z)(t),(a=new Date(i)).setMonth(11),a.setDate(31),a=(0,_.Z)(t));break;case"1Y":(t=new Date(i)).setMonth(0),t.setDate(1),t=(0,u.Z)(t),(a=new Date(i)).setMonth(11),a.setDate(31),a=(0,_.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 f=function(){return{listPageSize:33,timezone:"",cacheKey:{age:0,value:"empty"}}},v={initialiseStore:function(e){if(console.log("Now in initialize store."),localStorage.cacheKey){console.log("Storage has cache key: "),console.log(localStorage.cacheKey);var t=JSON.parse(localStorage.cacheKey);Date.now()-t.age>864e5?(console.log("Key is here but is old."),e.commit("refreshCacheKey")):(console.log("Cache key from local storage: "+t.value),e.commit("setCacheKey",t))}else console.log("No key need new one."),e.commit("refreshCacheKey");localStorage.listPageSize&&(f.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&&(f.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:f,getters:{listPageSize:function(e){return e.listPageSize},timezone:function(e){return e.timezone},cacheKey:function(e){return e.cacheKey.value}},actions:v,mutations:{refreshCacheKey:function(e){var t=Date.now(),a=Array(9).join((Math.random().toString(36)+"00000000000000000").slice(2,18)).slice(0,8),n={age:t,value:a};console.log("Store new key in string JSON"),console.log(JSON.stringify(n)),localStorage.cacheKey=JSON.stringify(n),e.cacheKey={age:t,value:a},console.log("Refresh: cachekey is now "+a)},setCacheKey:function(e,t){console.log("Stored cache key in localstorage."),console.log(t),console.log(JSON.stringify(t)),localStorage.cacheKey=JSON.stringify(t),e.cacheKey=t},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:b}}},strict:false,plugins:[],state:{currencyPreference:{},locale:"en-US",listPageSize:50},mutations:{setCurrencyPreference:function(e,t){e.currencyPreference=t.payload},initialiseStore:function(e){if(console.log("Now in initialiseStore()"),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){console.log("Now in updateCurrencyPreference"),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)}})},5751:(e,t,a)=>{"use strict";var n=a(9899),i=a(629),o=a(8035),s=a(7070),r=a(1571),c=a(5935),l=a(4478);function u(e){return(u="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 _(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?_(Object(a),!0).forEach((function(t){p(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):_(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 g=a(3465);const m={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,forceTransactionSubmission:!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){var i=this.parseTransaction(parseInt(n),a[n]);this.transactions.push(i),this.originalTransactions.push(g(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(Promise.resolve({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,u={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(u),n.originalTransactions[r].links.push(u)}))},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&&(t===e.index&&(this.forceTransactionSubmission=!0,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={},_=["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)),_)if(_.hasOwnProperty(d)&&/^0$|^[1-9]\d*$/.test(d)&&d<=4294967294){var p=_[d],m=p;if(null===r[p]&&void 0===c[p])continue;if(r[p]!==c[p]||!0===this.forceTransactionSubmission){if("foreign_amount"===m&&""===r[p])continue;if("foreign_currency_id"===m&&0===r[p])continue;if("foreign_currency_id"===m&&"0"===r[p])continue;"source_account_id"===m&&(m="source_id"),"source_account_name"===m&&(m="source_name"),"destination_account_id"===m&&(m="destination_id"),"destination_account_name"===m&&(m="destination_name"),l[m]=r[p],a=!0}}if(JSON.stringify(r.tags)!==JSON.stringify(c.tags)){if(l.tags=[],0!==r.tags.length)for(var y in r.tags)if(r.tags.hasOwnProperty(y)&&/^0$|^[1-9]\d*$/.test(y)&&y<=4294967294){var h=r.tags[y];"object"===u(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(g(l)),a=!0;else if(0!==Object.keys(l).length){var b;l.transaction_journal_id=null!==(b=c.transaction_journal_id)&&void 0!==b?b:0,t.transactions.push(g(l)),a=!0}}this.submitUpdate(t,a,n,i)},submitData:function(e,t){if(!e)return Promise.resolve({});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(),Promise.resolve({journals:t})},submitLinks:function(e){var t=this;return e?this.deleteAllOriginalLinks().then((function(){return t.submitNewLinks()})):Promise.resolve({})},submitAttachments:function(e,t){if(!e)return this.submittedAttachments=1,Promise.resolve({});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=g((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(Promise.resolve({}))}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 y=(0,a(1900).Z)(m,(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("span",{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("span",{staticClass:"far fa-save"}),e._v(" "+e._s(e.$t("firefly.update_transaction")))]):e._e(),e._v(" "),e.enableSubmit?e._e():a("span",[a("span",{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,null,null).exports;var h=a(7760),b=a.n(h);a(232),b().config.productionTip=!1;var f=a(157),v={};new(b())({i18n:f,store:n.Z,render:function(e){return e(y,{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.d(t,{Z:()=>r});var n=a(4015),i=a.n(n),o=a(3645),s=a.n(o)()(i());s.push([e.id,".vue-tags-input{display:block;max-width:100%!important}.ti-input,.vue-tags-input{border-radius:.25rem;width:100%}.ti-input{max-width:100%}.ti-new-tag-input{font-size:1rem}","",{version:3,sources:["webpack://./src/components/transactions/TransactionTags.vue"],names:[],mappings:"AA2HA,gBAGA,aAAA,CADA,wBAGA,CAEA,0BAHA,oBAAA,CAHA,UAUA,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},8035:(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("span",{staticClass:"icon fas fa-ban"}):e._e(),e._v(" "),"success"===e.type?a("span",{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},1571:(e,t,a)=>{"use strict";a.d(t,{Z:()=>ce});var n=a(8986),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("span",{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 u={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 _=(0,s.Z)(u,(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 g={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 m=(0,s.Z)(g,(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("span",{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 y={name:"SwitchAccount",props:["index","transactionType"],methods:{}};const h=(0,s.Z)(y,(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,null,null).exports;const b={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 f=(0,s.Z)(b,(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,null,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,null,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,null,null).exports;const C={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 T=(0,s.Z)(C,(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 A={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)(A,(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("span",{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 S={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 I=(0,s.Z)(S,(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 z=a(1310),j=a.n(z),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)}}}};var L=a(3379),F=a.n(L),M=a(6665),O={insert:"head",singleton:!1};F()(M.Z,O);M.Z.locals;const E=(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 $={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 R=(0,s.Z)($,(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 U={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 q=(0,s.Z)(U,(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("span",{staticClass:"far fa-trash-alt"})])])}],!1,null,null,null).exports;const V={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 Z=(0,s.Z)(V,(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("span",{staticClass:"far fa-trash-alt"})])])}],!1,null,null,null).exports;const K={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 G=(0,s.Z)(K,(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,null,null).exports;var W=a(3465);const H={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=W(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=W(e))},links:function(e){!0===this.emitEvent&&this.$emit("set-field",{index:this.index,field:"links",value:W(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 J=(0,s.Z)(H,(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("span",{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("span",{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("span",{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.apply(null,arguments)}}},[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("span",{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("span",{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 Q={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 Y=(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.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,null,null).exports;var X=a(7070),ee=a(5352),te=a(2727),ae=a(8380),ne=(a(1043),a(5243)),ie=a.n(ne);delete ie().Icon.Default.prototype._getIconUrl,ie().Icon.Default.mergeOptions({iconRetinaUrl:a(9895),iconUrl:a(2330),shadowUrl:a(4645)});const oe={name:"TransactionLocation",props:{index:{},value:{type:Object,required:!1},errors:{},customFields:{}},components:{LMap:ee.Z,LTileLayer:te.Z,LMarker:ae.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 se=(0,s.Z)(oe,(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,null,null).exports,re={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(){},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:se,SplitPills:X.Z,TransactionAttachments:Y,TransactionNotes:G,TransactionExternalUrl:Z,TransactionInternalReference:q,TransactionPiggyBank:R,TransactionTags:E,TransactionLinks:J,TransactionBill:I,TransactionCategory:D,TransactionCustomDates:T,TransactionForeignCurrency:x,TransactionForeignAmount:k,TransactionAmount:f,SwitchAccount:h,TransactionAccount:m,TransactionBudget:p,TransactionDescription:r,TransactionDate:_}};const ce=(0,s.Z)(re,(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("span",{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},5935:(e,t,a)=>{"use strict";a.d(t,{Z:()=>s});var n=a(8986),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("span",{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},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":"Дълг","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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":"(нищо)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Касичка","percentage":"%","amount":"Сума","lastActivity":"Последна активност","name":"Име","role":"Привилегии","description":"Описание","date":"Дата","source_account":"Разходна сметка","destination_account":"Приходна сметка","category":"Категория","iban":"IBAN","interest":"Лихва","interest_period":"Interest period","liability_type":"Вид на задължението","liability_direction":"Liability in/out","currentBalance":"Текущ баланс","next_expected_match":"Следващo очакванo съвпадение"},"config":{"html_language":"bg","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"MMMM d, y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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é)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Pokladnička","percentage":"%","amount":"Částka","lastActivity":"Poslední aktivita","name":"Jméno","role":"Role","description":"Popis","date":"Datum","source_account":"Zdrojový účet","destination_account":"Cílový účet","category":"Kategorie","iban":"IBAN","interest":"Úrok","interest_period":"Interest period","liability_type":"Typ závazku","liability_direction":"Liability in/out","currentBalance":"Aktuální zůstatek","next_expected_match":"Další očekávaná shoda"},"config":{"html_language":"cs","week_in_year_fns":"\\"týden\\" w, yyyy","month_and_day_fns":"MMMM d, y","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":"Einnahmen anzeigen","go_to_categories":"Kategorien anzeigen","expense_accounts":"Ausgabekonten","go_to_expenses":"Ausgaben anzeigen","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","liability_direction_null_short":"Unbekannt","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":"Geschuldeter Betrag","liability_direction_debit_short":"Schuldiger Betrag","account_type_debt":"Schulden","account_type_loan":"Darlehen","left_in_debt":"Fälliger Betrag","account_type_mortgage":"Hypothek","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)","transaction_expand_split":"Aufteilung erweitern","transaction_collapse_split":"Aufteilung reduzieren"},"list":{"piggy_bank":"Sparschwein","percentage":"%","amount":"Betrag","lastActivity":"Letzte Aktivität","name":"Name","role":"Rolle","description":"Beschreibung","date":"Datum","source_account":"Quellkonto","destination_account":"Zielkonto","category":"Kategorie","iban":"IBAN","interest":"Zinsen","interest_period":"Zinsperiode","liability_type":"Verbindlichkeitsart","liability_direction":"Verbindlichkeit ein/aus","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":"D. MMMM Y","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":"Χρέος","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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":"(τίποτα)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Κουμπαράς","percentage":"pct.","amount":"Ποσό","lastActivity":"Τελευταία δραστηριότητα","name":"Όνομα","role":"Ρόλος","description":"Περιγραφή","date":"Ημερομηνία","source_account":"Λογαριασμός προέλευσης","destination_account":"Λογαριασμός προορισμού","category":"Κατηγορία","iban":"IBAN","interest":"Τόκος","interest_period":"Interest period","liability_type":"Τύπος υποχρέωσης","liability_direction":"Liability in/out","currentBalance":"Τρέχον υπόλοιπο","next_expected_match":"Επόμενη αναμενόμενη αντιστοίχιση"},"config":{"html_language":"el","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"MMMM d, y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","lastActivity":"Last activity","name":"Name","role":"Role","description":"Description","date":"Date","source_account":"Source account","destination_account":"Destination account","category":"Category","iban":"IBAN","interest":"Interest","interest_period":"Interest period","liability_type":"Type of liability","liability_direction":"Liability in/out","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":"MMMM d, y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","lastActivity":"Last activity","name":"Name","role":"Role","description":"Description","date":"Date","source_account":"Source account","destination_account":"Destination account","category":"Category","iban":"IBAN","interest":"Interest","interest_period":"Interest period","liability_type":"Type of liability","liability_direction":"Liability in/out","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"MMMM d, y","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","liability_direction_null_short":"Desconocido","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":"Tenía esta deuda","liability_direction_debit_short":"Tiene esta deuda","account_type_debt":"Deuda","account_type_loan":"Préstamo","left_in_debt":"Importe debido","account_type_mortgage":"Hipoteca","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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Alcancilla","percentage":"pct.","amount":"Monto","lastActivity":"Actividad más reciente","name":"Nombre","role":"Rol","description":"Descripción","date":"Fecha","source_account":"Cuenta origen","destination_account":"Cuenta destino","category":"Categoría","iban":"IBAN","interest":"Interés","interest_period":"Período de interés","liability_type":"Tipo de pasivo","liability_direction":"Pasivo entrada/salida","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":"d MMMM y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Säästöpossu","percentage":"pros.","amount":"Summa","lastActivity":"Viimeisin tapahtuma","name":"Nimi","role":"Rooli","description":"Kuvaus","date":"Päivämäärä","source_account":"Lähdetili","destination_account":"Kohdetili","category":"Kategoria","iban":"IBAN","interest":"Korko","interest_period":"Interest period","liability_type":"Vastuutyyppi","liability_direction":"Liability in/out","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":"MMMM d, y","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","liability_direction_null_short":"Inconnu","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":"Emprunteur","liability_direction_debit_short":"Prêteur","account_type_debt":"Dette","account_type_loan":"Emprunt","left_in_debt":"Montant dû","account_type_mortgage":"Prêt immobilier","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)","transaction_expand_split":"Développer la ventilation","transaction_collapse_split":"Réduire la ventilation"},"list":{"piggy_bank":"Tirelire","percentage":"pct.","amount":"Montant","lastActivity":"Activité récente","name":"Nom","role":"Rôle","description":"Description","date":"Date","source_account":"Compte source","destination_account":"Compte destinataire","category":"Catégorie","iban":"Numéro IBAN","interest":"Intérêt","interest_period":"Période d’intérêt","liability_type":"Type de passif","liability_direction":"Sens du passif","currentBalance":"Solde courant","next_expected_match":"Prochaine association attendue"},"config":{"html_language":"fr","week_in_year_fns":"\'Semaine\' w, yyyy","month_and_day_fns":"d MMMM y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Malacpersely","percentage":"%","amount":"Összeg","lastActivity":"Utolsó aktivitás","name":"Név","role":"Szerepkör","description":"Leírás","date":"Dátum","source_account":"Forrás bankszámla","destination_account":"Cél bankszámla","category":"Kategória","iban":"IBAN","interest":"Kamat","interest_period":"Interest period","liability_type":"A kötelezettség típusa","liability_direction":"Liability in/out","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":"MMMM d, y","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","liability_direction_null_short":"Sconosciuta","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":"Mi devono questo debito","liability_direction_debit_short":"Devo questo debito","account_type_debt":"Debito","account_type_loan":"Prestito","left_in_debt":"Importo da pagare","account_type_mortgage":"Mutuo","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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Salvadanaio","percentage":"perc.","amount":"Importo","lastActivity":"Ultima attività","name":"Nome","role":"Ruolo","description":"Descrizione","date":"Data","source_account":"Conto di origine","destination_account":"Conto destinazione","category":"Categoria","iban":"IBAN","interest":"Interesse","interest_period":"Periodo interessi","liability_type":"Tipo di passività","liability_direction":"Passività in entrata/uscita","currentBalance":"Saldo corrente","next_expected_match":"Prossimo abbinamento previsto"},"config":{"html_language":"it","week_in_year_fns":"\'Settimana\' w, yyyy","month_and_day_fns":"d MMMM y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Sparegris","percentage":"pct.","amount":"Beløp","lastActivity":"Siste aktivitet","name":"Navn","role":"Rolle","description":"Beskrivelse","date":"Dato","source_account":"Kildekonto","destination_account":"Målkonto","category":"Kategori","iban":"IBAN","interest":"Renter","interest_period":"Interest period","liability_type":"Type gjeld","liability_direction":"Liability in/out","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":"MMMM d, y","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","liability_direction_null_short":"Onbekend","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":"Schuldeiser","liability_direction_debit_short":"Schuldenaar","account_type_debt":"Schuld","account_type_loan":"Lening","left_in_debt":"Verschuldigd bedrag","account_type_mortgage":"Hypotheek","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)","transaction_expand_split":"Split uitklappen","transaction_collapse_split":"Split inklappen"},"list":{"piggy_bank":"Spaarpotje","percentage":"pct","amount":"Bedrag","lastActivity":"Laatste activiteit","name":"Naam","role":"Rol","description":"Omschrijving","date":"Datum","source_account":"Bronrekening","destination_account":"Doelrekening","category":"Categorie","iban":"IBAN","interest":"Rente","interest_period":"Renteperiode","liability_type":"Type passiva","liability_direction":"Passiva in- of uitgaand","currentBalance":"Huidig saldo","next_expected_match":"Volgende verwachte match"},"config":{"html_language":"nl","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"d MMMM y","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","liability_direction_null_short":"Nieznane","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":"Dług wobec Ciebie","liability_direction_debit_short":"Jesteś dłużny","account_type_debt":"Dług","account_type_loan":"Pożyczka","left_in_debt":"Do zapłaty","account_type_mortgage":"Hipoteka","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)","transaction_expand_split":"Rozwiń podział","transaction_collapse_split":"Zwiń podział"},"list":{"piggy_bank":"Skarbonka","percentage":"%","amount":"Kwota","lastActivity":"Ostatnia aktywność","name":"Nazwa","role":"Rola","description":"Opis","date":"Data","source_account":"Konto źródłowe","destination_account":"Konto docelowe","category":"Kategoria","iban":"IBAN","interest":"Odsetki","interest_period":"Okres odsetkowy","liability_type":"Rodzaj zobowiązania","liability_direction":"Zobowiązania przychodzące/wychodzące","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":"d MMMM y","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","liability_direction_null_short":"Desconhecida","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Débito","account_type_loan":"Empréstimo","left_in_debt":"Valor devido","account_type_mortgage":"Hipoteca","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)","transaction_expand_split":"Exibir divisão","transaction_collapse_split":"Esconder divisão"},"list":{"piggy_bank":"Cofrinho","percentage":"pct.","amount":"Total","lastActivity":"Última atividade","name":"Nome","role":"Papel","description":"Descrição","date":"Data","source_account":"Conta de origem","destination_account":"Conta de destino","category":"Categoria","iban":"IBAN","interest":"Juros","interest_period":"Período de juros","liability_type":"Tipo de passivo","liability_direction":"Liability in/out","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":"MMMM d, y","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":"Património 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 ativos","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 ativos 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","liability_direction_null_short":"Desconhecido","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":"Deve-lhe esta dívida","liability_direction_debit_short":"Deve esta dívida","account_type_debt":"Dívida","account_type_loan":"Empréstimo","left_in_debt":"Montante em dívida","account_type_mortgage":"Hipoteca","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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Mealheiro","percentage":"%.","amount":"Montante","lastActivity":"Ultima actividade","name":"Nome","role":"Regra","description":"Descricao","date":"Data","source_account":"Conta de origem","destination_account":"Conta de destino","category":"Categoria","iban":"IBAN","interest":"Juro","interest_period":"Período de juros","liability_type":"Tipo de responsabilidade","liability_direction":"Passivo entrada/fora","currentBalance":"Saldo actual","next_expected_match":"Proxima correspondencia esperada"},"config":{"html_language":"pt","week_in_year_fns":"\'Semana\' w, yyyy","month_and_day_fns":"d MMMM, y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Pușculiță","percentage":"procent %","amount":"Sumă","lastActivity":"Ultima activitate","name":"Nume","role":"Rol","description":"Descriere","date":"Dată","source_account":"Contul sursă","destination_account":"Contul de destinație","category":"Categorii","iban":"IBAN","interest":"Interes","interest_period":"Interest period","liability_type":"Tip de provizion","liability_direction":"Liability in/out","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":"MMMM d, y","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":"Включить?","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":"Создать новый долговой счёт","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":"Дебит","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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":"(нет)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Копилка","percentage":"процентов","amount":"Сумма","lastActivity":"Последняя активность","name":"Имя","role":"Роль","description":"Описание","date":"Дата","source_account":"Исходный счет","destination_account":"Счет назначения","category":"Категория","iban":"IBAN","interest":"Процентная ставка","interest_period":"Interest period","liability_type":"Тип ответственности","liability_direction":"Liability in/out","currentBalance":"Текущий баланс","next_expected_match":"Следующий ожидаемый результат"},"config":{"html_language":"ru","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"MMMM d, y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Pokladnička","percentage":"perc.","amount":"Suma","lastActivity":"Posledná aktivita","name":"Meno/Názov","role":"Rola","description":"Popis","date":"Dátum","source_account":"Zdrojový účet","destination_account":"Cieľový účet","category":"Kategória","iban":"IBAN","interest":"Úrok","interest_period":"Interest period","liability_type":"Typ záväzku","liability_direction":"Liability in/out","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":"MMMM d, y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Spargris","percentage":"procent","amount":"Belopp","lastActivity":"Senaste aktivitet","name":"Namn","role":"Roll","description":"Beskrivning","date":"Datum","source_account":"Källkonto","destination_account":"Destinationskonto","category":"Kategori","iban":"IBAN","interest":"Ränta","interest_period":"Interest period","liability_type":"Typ av ansvar","liability_direction":"Liability in/out","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":"MMMM d, y","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ợ","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"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","description":"Mô tả","date":"Ngày","source_account":"Tài khoản gửi","destination_account":"Tài khoản nhận","category":"Danh mục","iban":"IBAN","interest":"Lãi","interest_period":"Interest period","liability_type":"Loại trách nhiệm pháp lý","liability_direction":"Liability in/out","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":"MMMM d, y","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":"欠款","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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":"(空)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"存钱罐","percentage":"%","amount":"金额","lastActivity":"上次活动","name":"名称","role":"角色","description":"描述","date":"日期","source_account":"来源账户","destination_account":"目标账户","category":"分类","iban":"国际银行账户号码(IBAN)","interest":"利息","interest_period":"Interest period","liability_type":"债务类型","liability_direction":"Liability in/out","currentBalance":"目前余额","next_expected_match":"预期下次支付"},"config":{"html_language":"zh-cn","week_in_year_fns":"\'周\' w,yyyy","month_and_day_fns":"MMMM d, y","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":"負債","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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":"(空)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"小豬撲滿","percentage":"pct.","amount":"金額","lastActivity":"上次活動","name":"名稱","role":"角色","description":"描述","date":"日期","source_account":"來源帳戶","destination_account":"目標帳戶","category":"分類","iban":"國際銀行帳戶號碼 (IBAN)","interest":"利率","interest_period":"Interest period","liability_type":"負債類型","liability_direction":"Liability in/out","currentBalance":"目前餘額","next_expected_match":"下一個預期的配對"},"config":{"html_language":"zh-tw","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"MMMM d, y","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=5751,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 u=a(9119),_=a(3894),d=a(584),p=a(7090),g=a(4431),m=a(8358),y=a(4135),h=a(3703);const b={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){console.log("initialiseStore for dashboard."),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,u.Z)(i),a=(0,_.Z)(i);break;case"1W":t=(0,u.Z)((0,d.Z)(i,{weekStartsOn:1})),a=(0,_.Z)((0,p.Z)(i,{weekStartsOn:1}));break;case"1M":t=(0,u.Z)((0,h.Z)(i)),a=(0,_.Z)((0,y.Z)(i));break;case"3M":t=(0,u.Z)((0,g.Z)(i)),a=(0,_.Z)((0,m.Z)(i));break;case"6M":i.getMonth()<=5&&((t=new Date(i)).setMonth(0),t.setDate(1),t=(0,u.Z)(t),(a=new Date(i)).setMonth(5),a.setDate(30),a=(0,_.Z)(t)),i.getMonth()>5&&((t=new Date(i)).setMonth(6),t.setDate(1),t=(0,u.Z)(t),(a=new Date(i)).setMonth(11),a.setDate(31),a=(0,_.Z)(t));break;case"1Y":(t=new Date(i)).setMonth(0),t.setDate(1),t=(0,u.Z)(t),(a=new Date(i)).setMonth(11),a.setDate(31),a=(0,_.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 f=function(){return{listPageSize:33,timezone:"",cacheKey:{age:0,value:"empty"}}},v={initialiseStore:function(e){if(console.log("Now in initialize store."),localStorage.cacheKey){console.log("Storage has cache key: "),console.log(localStorage.cacheKey);var t=JSON.parse(localStorage.cacheKey);Date.now()-t.age>864e5?(console.log("Key is here but is old."),e.commit("refreshCacheKey")):(console.log("Cache key from local storage: "+t.value),e.commit("setCacheKey",t))}else console.log("No key need new one."),e.commit("refreshCacheKey");localStorage.listPageSize&&(f.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&&(f.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:f,getters:{listPageSize:function(e){return e.listPageSize},timezone:function(e){return e.timezone},cacheKey:function(e){return e.cacheKey.value}},actions:v,mutations:{refreshCacheKey:function(e){var t=Date.now(),a=Array(9).join((Math.random().toString(36)+"00000000000000000").slice(2,18)).slice(0,8),n={age:t,value:a};console.log("Store new key in string JSON"),console.log(JSON.stringify(n)),localStorage.cacheKey=JSON.stringify(n),e.cacheKey={age:t,value:a},console.log("Refresh: cachekey is now "+a)},setCacheKey:function(e,t){console.log("Stored cache key in localstorage."),console.log(t),console.log(JSON.stringify(t)),localStorage.cacheKey=JSON.stringify(t),e.cacheKey=t},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:b}}},strict:false,plugins:[],state:{currencyPreference:{},locale:"en-US",listPageSize:50},mutations:{setCurrencyPreference:function(e,t){e.currencyPreference=t.payload},initialiseStore:function(e){if(console.log("Now in initialiseStore()"),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){console.log("Now in updateCurrencyPreference"),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)}})},5751:(e,t,a)=>{"use strict";var n=a(9899),i=a(629),o=a(8035),s=a(7070),r=a(8130),c=a(5935),l=a(4478);function u(e){return(u="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 _(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?_(Object(a),!0).forEach((function(t){p(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):_(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 g=a(3465);const m={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,forceTransactionSubmission:!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){var i=this.parseTransaction(parseInt(n),a[n]);this.transactions.push(i),this.originalTransactions.push(g(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(Promise.resolve({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,u={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(u),n.originalTransactions[r].links.push(u)}))},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&&(t===e.index&&(this.forceTransactionSubmission=!0,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={},_=["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)),_)if(_.hasOwnProperty(d)&&/^0$|^[1-9]\d*$/.test(d)&&d<=4294967294){var p=_[d],m=p;if(null===r[p]&&void 0===c[p])continue;if(r[p]!==c[p]||!0===this.forceTransactionSubmission){if("foreign_amount"===m&&""===r[p])continue;if("foreign_currency_id"===m&&0===r[p])continue;if("foreign_currency_id"===m&&"0"===r[p])continue;"source_account_id"===m&&(m="source_id"),"source_account_name"===m&&(m="source_name"),"destination_account_id"===m&&(m="destination_id"),"destination_account_name"===m&&(m="destination_name"),l[m]=r[p],a=!0}}if(JSON.stringify(r.tags)!==JSON.stringify(c.tags)){if(l.tags=[],0!==r.tags.length)for(var y in r.tags)if(r.tags.hasOwnProperty(y)&&/^0$|^[1-9]\d*$/.test(y)&&y<=4294967294){var h=r.tags[y];"object"===u(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(g(l)),a=!0;else if(0!==Object.keys(l).length){var b;l.transaction_journal_id=null!==(b=c.transaction_journal_id)&&void 0!==b?b:0,t.transactions.push(g(l)),a=!0}}this.submitUpdate(t,a,n,i)},submitData:function(e,t){if(!e)return Promise.resolve({});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(),Promise.resolve({journals:t})},submitLinks:function(e){var t=this;return e?this.deleteAllOriginalLinks().then((function(){return t.submitNewLinks()})):Promise.resolve({})},submitAttachments:function(e,t){if(!e)return this.submittedAttachments=1,Promise.resolve({});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=g((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(Promise.resolve({}))}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 y=(0,a(1900).Z)(m,(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("span",{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("span",{staticClass:"far fa-save"}),e._v(" "+e._s(e.$t("firefly.update_transaction")))]):e._e(),e._v(" "),e.enableSubmit?e._e():a("span",[a("span",{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,null,null).exports;var h=a(7760),b=a.n(h);a(232),b().config.productionTip=!1;var f=a(157),v={};new(b())({i18n:f,store:n.Z,render:function(e){return e(y,{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.d(t,{Z:()=>r});var n=a(4015),i=a.n(n),o=a(3645),s=a.n(o)()(i());s.push([e.id,".vue-tags-input{display:block;max-width:100%!important}.ti-input,.vue-tags-input{border-radius:.25rem;width:100%}.ti-input{max-width:100%}.ti-new-tag-input{font-size:1rem}","",{version:3,sources:["webpack://./src/components/transactions/TransactionTags.vue"],names:[],mappings:"AAsHA,gBAGA,aAAA,CADA,wBAGA,CAEA,0BAHA,oBAAA,CAHA,UAUA,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 };\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.tagList = value;\n },\n tagList: function (value) {\n // console.log(\'watch tagList\');\n this.$emit(\'set-field\', {field: \'tags\', index: this.index, value: value});\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},8035:(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("span",{staticClass:"icon fas fa-ban"}):e._e(),e._v(" "),"success"===e.type?a("span",{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},8130:(e,t,a)=>{"use strict";a.d(t,{Z:()=>ce});var n=a(8986),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("span",{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 u={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 _=(0,s.Z)(u,(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 g={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 m=(0,s.Z)(g,(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("span",{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 y={name:"SwitchAccount",props:["index","transactionType"],methods:{}};const h=(0,s.Z)(y,(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,null,null).exports;const b={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 f=(0,s.Z)(b,(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,null,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,null,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,null,null).exports;const C={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 T=(0,s.Z)(C,(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 A={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)(A,(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("span",{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 S={props:["value","index","errors"],name:"TransactionBill",data:function(){return{billList:[],bill:this.value}},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){this.$emit("set-field",{field:"bill_id",index:this.index,value:e})}}};const I=(0,s.Z)(S,(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 z=a(1310),j=a.n(z),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}},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.tagList=e},tagList:function(e){this.$emit("set-field",{field:"tags",index:this.index,value:e}),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)}}}};var L=a(3379),F=a.n(L),M=a(6665),O={insert:"head",singleton:!1};F()(M.Z,O);M.Z.locals;const E=(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 $={props:["index","value","errors"],name:"TransactionPiggyBank",data:function(){return{piggyList:[],piggy_bank_id:this.value}},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.piggy_bank_id=e},piggy_bank_id:function(e){this.$emit("set-field",{field:"piggy_bank_id",index:this.index,value:e}),this.emitEvent=!0}}};const R=(0,s.Z)($,(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 U={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 q=(0,s.Z)(U,(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("span",{staticClass:"far fa-trash-alt"})])])}],!1,null,null,null).exports;const V={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 Z=(0,s.Z)(V,(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("span",{staticClass:"far fa-trash-alt"})])])}],!1,null,null,null).exports;const K={props:["index","value","errors","customFields"],name:"TransactionNotes",data:function(){return{notes:this.value,availableFields:this.customFields}},computed:{showField:function(){return"notes"in this.availableFields&&this.availableFields.notes}},watch:{value:function(e){this.notes=e},customFields:function(e){this.availableFields=e},notes:function(e){this.$emit("set-field",{field:"notes",index:this.index,value:e})}}};const G=(0,s.Z)(K,(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,null,null).exports;var W=a(3465);const H={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=W(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=W(e))},links:function(e){!0===this.emitEvent&&this.$emit("set-field",{index:this.index,field:"links",value:W(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 J=(0,s.Z)(H,(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("span",{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("span",{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("span",{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.apply(null,arguments)}}},[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("span",{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("span",{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 Q={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 Y=(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.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,null,null).exports;var X=a(7070),ee=a(5352),te=a(2727),ae=a(8380),ne=(a(1043),a(5243)),ie=a.n(ne);delete ie().Icon.Default.prototype._getIconUrl,ie().Icon.Default.mergeOptions({iconRetinaUrl:a(9895),iconUrl:a(2330),shadowUrl:a(4645)});const oe={name:"TransactionLocation",props:{index:{},value:{type:Object,required:!1},errors:{},customFields:{}},components:{LMap:ee.Z,LTileLayer:te.Z,LMarker:ae.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 se=(0,s.Z)(oe,(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,null,null).exports,re={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(){},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:se,SplitPills:X.Z,TransactionAttachments:Y,TransactionNotes:G,TransactionExternalUrl:Z,TransactionInternalReference:q,TransactionPiggyBank:R,TransactionTags:E,TransactionLinks:J,TransactionBill:I,TransactionCategory:D,TransactionCustomDates:T,TransactionForeignCurrency:x,TransactionForeignAmount:k,TransactionAmount:f,SwitchAccount:h,TransactionAccount:m,TransactionBudget:p,TransactionDescription:r,TransactionDate:_}};const ce=(0,s.Z)(re,(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("span",{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},5935:(e,t,a)=>{"use strict";a.d(t,{Z:()=>s});var n=a(8986),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("span",{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},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":"Дълг","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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":"(нищо)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Касичка","percentage":"%","amount":"Сума","lastActivity":"Последна активност","name":"Име","role":"Привилегии","description":"Описание","date":"Дата","source_account":"Разходна сметка","destination_account":"Приходна сметка","category":"Категория","iban":"IBAN","interest":"Лихва","interest_period":"Interest period","liability_type":"Вид на задължението","liability_direction":"Liability in/out","currentBalance":"Текущ баланс","next_expected_match":"Следващo очакванo съвпадение"},"config":{"html_language":"bg","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"MMMM d, y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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é)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Pokladnička","percentage":"%","amount":"Částka","lastActivity":"Poslední aktivita","name":"Jméno","role":"Role","description":"Popis","date":"Datum","source_account":"Zdrojový účet","destination_account":"Cílový účet","category":"Kategorie","iban":"IBAN","interest":"Úrok","interest_period":"Interest period","liability_type":"Typ závazku","liability_direction":"Liability in/out","currentBalance":"Aktuální zůstatek","next_expected_match":"Další očekávaná shoda"},"config":{"html_language":"cs","week_in_year_fns":"\\"týden\\" w, yyyy","month_and_day_fns":"MMMM d, y","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":"Einnahmen anzeigen","go_to_categories":"Kategorien anzeigen","expense_accounts":"Ausgabekonten","go_to_expenses":"Ausgaben anzeigen","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","liability_direction_null_short":"Unbekannt","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":"Geschuldeter Betrag","liability_direction_debit_short":"Schuldiger Betrag","account_type_debt":"Schulden","account_type_loan":"Darlehen","left_in_debt":"Fälliger Betrag","account_type_mortgage":"Hypothek","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)","transaction_expand_split":"Aufteilung erweitern","transaction_collapse_split":"Aufteilung reduzieren"},"list":{"piggy_bank":"Sparschwein","percentage":"%","amount":"Betrag","lastActivity":"Letzte Aktivität","name":"Name","role":"Rolle","description":"Beschreibung","date":"Datum","source_account":"Quellkonto","destination_account":"Zielkonto","category":"Kategorie","iban":"IBAN","interest":"Zinsen","interest_period":"Zinsperiode","liability_type":"Verbindlichkeitsart","liability_direction":"Verbindlichkeit ein/aus","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":"D. MMMM Y","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":"Χρέος","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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":"(τίποτα)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Κουμπαράς","percentage":"pct.","amount":"Ποσό","lastActivity":"Τελευταία δραστηριότητα","name":"Όνομα","role":"Ρόλος","description":"Περιγραφή","date":"Ημερομηνία","source_account":"Λογαριασμός προέλευσης","destination_account":"Λογαριασμός προορισμού","category":"Κατηγορία","iban":"IBAN","interest":"Τόκος","interest_period":"Interest period","liability_type":"Τύπος υποχρέωσης","liability_direction":"Liability in/out","currentBalance":"Τρέχον υπόλοιπο","next_expected_match":"Επόμενη αναμενόμενη αντιστοίχιση"},"config":{"html_language":"el","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"MMMM d, y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","lastActivity":"Last activity","name":"Name","role":"Role","description":"Description","date":"Date","source_account":"Source account","destination_account":"Destination account","category":"Category","iban":"IBAN","interest":"Interest","interest_period":"Interest period","liability_type":"Type of liability","liability_direction":"Liability in/out","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":"MMMM d, y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","lastActivity":"Last activity","name":"Name","role":"Role","description":"Description","date":"Date","source_account":"Source account","destination_account":"Destination account","category":"Category","iban":"IBAN","interest":"Interest","interest_period":"Interest period","liability_type":"Type of liability","liability_direction":"Liability in/out","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"MMMM d, y","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","liability_direction_null_short":"Desconocido","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":"Tenía esta deuda","liability_direction_debit_short":"Tiene esta deuda","account_type_debt":"Deuda","account_type_loan":"Préstamo","left_in_debt":"Importe debido","account_type_mortgage":"Hipoteca","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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Alcancilla","percentage":"pct.","amount":"Monto","lastActivity":"Actividad más reciente","name":"Nombre","role":"Rol","description":"Descripción","date":"Fecha","source_account":"Cuenta origen","destination_account":"Cuenta destino","category":"Categoría","iban":"IBAN","interest":"Interés","interest_period":"Período de interés","liability_type":"Tipo de pasivo","liability_direction":"Pasivo entrada/salida","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":"d MMMM y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Säästöpossu","percentage":"pros.","amount":"Summa","lastActivity":"Viimeisin tapahtuma","name":"Nimi","role":"Rooli","description":"Kuvaus","date":"Päivämäärä","source_account":"Lähdetili","destination_account":"Kohdetili","category":"Kategoria","iban":"IBAN","interest":"Korko","interest_period":"Interest period","liability_type":"Vastuutyyppi","liability_direction":"Liability in/out","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":"MMMM d, y","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","liability_direction_null_short":"Inconnu","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":"Emprunteur","liability_direction_debit_short":"Prêteur","account_type_debt":"Dette","account_type_loan":"Emprunt","left_in_debt":"Montant dû","account_type_mortgage":"Prêt immobilier","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)","transaction_expand_split":"Développer la ventilation","transaction_collapse_split":"Réduire la ventilation"},"list":{"piggy_bank":"Tirelire","percentage":"pct.","amount":"Montant","lastActivity":"Activité récente","name":"Nom","role":"Rôle","description":"Description","date":"Date","source_account":"Compte source","destination_account":"Compte destinataire","category":"Catégorie","iban":"Numéro IBAN","interest":"Intérêt","interest_period":"Période d’intérêt","liability_type":"Type de passif","liability_direction":"Sens du passif","currentBalance":"Solde courant","next_expected_match":"Prochaine association attendue"},"config":{"html_language":"fr","week_in_year_fns":"\'Semaine\' w, yyyy","month_and_day_fns":"d MMMM y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Malacpersely","percentage":"%","amount":"Összeg","lastActivity":"Utolsó aktivitás","name":"Név","role":"Szerepkör","description":"Leírás","date":"Dátum","source_account":"Forrás bankszámla","destination_account":"Cél bankszámla","category":"Kategória","iban":"IBAN","interest":"Kamat","interest_period":"Interest period","liability_type":"A kötelezettség típusa","liability_direction":"Liability in/out","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":"MMMM d, y","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","liability_direction_null_short":"Sconosciuta","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":"Mi devono questo debito","liability_direction_debit_short":"Devo questo debito","account_type_debt":"Debito","account_type_loan":"Prestito","left_in_debt":"Importo da pagare","account_type_mortgage":"Mutuo","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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Salvadanaio","percentage":"perc.","amount":"Importo","lastActivity":"Ultima attività","name":"Nome","role":"Ruolo","description":"Descrizione","date":"Data","source_account":"Conto di origine","destination_account":"Conto destinazione","category":"Categoria","iban":"IBAN","interest":"Interesse","interest_period":"Periodo interessi","liability_type":"Tipo di passività","liability_direction":"Passività in entrata/uscita","currentBalance":"Saldo corrente","next_expected_match":"Prossimo abbinamento previsto"},"config":{"html_language":"it","week_in_year_fns":"\'Settimana\' w, yyyy","month_and_day_fns":"d MMMM y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Sparegris","percentage":"pct.","amount":"Beløp","lastActivity":"Siste aktivitet","name":"Navn","role":"Rolle","description":"Beskrivelse","date":"Dato","source_account":"Kildekonto","destination_account":"Målkonto","category":"Kategori","iban":"IBAN","interest":"Renter","interest_period":"Interest period","liability_type":"Type gjeld","liability_direction":"Liability in/out","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":"MMMM d, y","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","liability_direction_null_short":"Onbekend","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":"Schuldeiser","liability_direction_debit_short":"Schuldenaar","account_type_debt":"Schuld","account_type_loan":"Lening","left_in_debt":"Verschuldigd bedrag","account_type_mortgage":"Hypotheek","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)","transaction_expand_split":"Split uitklappen","transaction_collapse_split":"Split inklappen"},"list":{"piggy_bank":"Spaarpotje","percentage":"pct","amount":"Bedrag","lastActivity":"Laatste activiteit","name":"Naam","role":"Rol","description":"Omschrijving","date":"Datum","source_account":"Bronrekening","destination_account":"Doelrekening","category":"Categorie","iban":"IBAN","interest":"Rente","interest_period":"Renteperiode","liability_type":"Type passiva","liability_direction":"Passiva in- of uitgaand","currentBalance":"Huidig saldo","next_expected_match":"Volgende verwachte match"},"config":{"html_language":"nl","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"d MMMM y","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","liability_direction_null_short":"Nieznane","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":"Dług wobec Ciebie","liability_direction_debit_short":"Jesteś dłużny","account_type_debt":"Dług","account_type_loan":"Pożyczka","left_in_debt":"Do zapłaty","account_type_mortgage":"Hipoteka","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)","transaction_expand_split":"Rozwiń podział","transaction_collapse_split":"Zwiń podział"},"list":{"piggy_bank":"Skarbonka","percentage":"%","amount":"Kwota","lastActivity":"Ostatnia aktywność","name":"Nazwa","role":"Rola","description":"Opis","date":"Data","source_account":"Konto źródłowe","destination_account":"Konto docelowe","category":"Kategoria","iban":"IBAN","interest":"Odsetki","interest_period":"Okres odsetkowy","liability_type":"Rodzaj zobowiązania","liability_direction":"Zobowiązania przychodzące/wychodzące","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":"d MMMM y","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","liability_direction_null_short":"Desconhecida","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Débito","account_type_loan":"Empréstimo","left_in_debt":"Valor devido","account_type_mortgage":"Hipoteca","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)","transaction_expand_split":"Exibir divisão","transaction_collapse_split":"Esconder divisão"},"list":{"piggy_bank":"Cofrinho","percentage":"pct.","amount":"Total","lastActivity":"Última atividade","name":"Nome","role":"Papel","description":"Descrição","date":"Data","source_account":"Conta de origem","destination_account":"Conta de destino","category":"Categoria","iban":"IBAN","interest":"Juros","interest_period":"Período de juros","liability_type":"Tipo de passivo","liability_direction":"Liability in/out","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":"MMMM d, y","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":"Património 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 ativos","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 ativos 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","liability_direction_null_short":"Desconhecido","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":"Deve-lhe esta dívida","liability_direction_debit_short":"Deve esta dívida","account_type_debt":"Dívida","account_type_loan":"Empréstimo","left_in_debt":"Montante em dívida","account_type_mortgage":"Hipoteca","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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Mealheiro","percentage":"%.","amount":"Montante","lastActivity":"Ultima actividade","name":"Nome","role":"Regra","description":"Descricao","date":"Data","source_account":"Conta de origem","destination_account":"Conta de destino","category":"Categoria","iban":"IBAN","interest":"Juro","interest_period":"Período de juros","liability_type":"Tipo de responsabilidade","liability_direction":"Passivo entrada/fora","currentBalance":"Saldo actual","next_expected_match":"Proxima correspondencia esperada"},"config":{"html_language":"pt","week_in_year_fns":"\'Semana\' w, yyyy","month_and_day_fns":"d MMMM, y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Pușculiță","percentage":"procent %","amount":"Sumă","lastActivity":"Ultima activitate","name":"Nume","role":"Rol","description":"Descriere","date":"Dată","source_account":"Contul sursă","destination_account":"Contul de destinație","category":"Categorii","iban":"IBAN","interest":"Interes","interest_period":"Interest period","liability_type":"Tip de provizion","liability_direction":"Liability in/out","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":"MMMM d, y","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":"Включить?","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":"Создать новый долговой счёт","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":"Дебит","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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":"(нет)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Копилка","percentage":"процентов","amount":"Сумма","lastActivity":"Последняя активность","name":"Имя","role":"Роль","description":"Описание","date":"Дата","source_account":"Исходный счет","destination_account":"Счет назначения","category":"Категория","iban":"IBAN","interest":"Процентная ставка","interest_period":"Interest period","liability_type":"Тип ответственности","liability_direction":"Liability in/out","currentBalance":"Текущий баланс","next_expected_match":"Следующий ожидаемый результат"},"config":{"html_language":"ru","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"MMMM d, y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Pokladnička","percentage":"perc.","amount":"Suma","lastActivity":"Posledná aktivita","name":"Meno/Názov","role":"Rola","description":"Popis","date":"Dátum","source_account":"Zdrojový účet","destination_account":"Cieľový účet","category":"Kategória","iban":"IBAN","interest":"Úrok","interest_period":"Interest period","liability_type":"Typ záväzku","liability_direction":"Liability in/out","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":"MMMM d, y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Spargris","percentage":"procent","amount":"Belopp","lastActivity":"Senaste aktivitet","name":"Namn","role":"Roll","description":"Beskrivning","date":"Datum","source_account":"Källkonto","destination_account":"Destinationskonto","category":"Kategori","iban":"IBAN","interest":"Ränta","interest_period":"Interest period","liability_type":"Typ av ansvar","liability_direction":"Liability in/out","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":"MMMM d, y","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ợ","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"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","description":"Mô tả","date":"Ngày","source_account":"Tài khoản gửi","destination_account":"Tài khoản nhận","category":"Danh mục","iban":"IBAN","interest":"Lãi","interest_period":"Interest period","liability_type":"Loại trách nhiệm pháp lý","liability_direction":"Liability in/out","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":"MMMM d, y","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":"欠款","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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":"(空)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"存钱罐","percentage":"%","amount":"金额","lastActivity":"上次活动","name":"名称","role":"角色","description":"描述","date":"日期","source_account":"来源账户","destination_account":"目标账户","category":"分类","iban":"国际银行账户号码(IBAN)","interest":"利息","interest_period":"Interest period","liability_type":"债务类型","liability_direction":"Liability in/out","currentBalance":"目前余额","next_expected_match":"预期下次支付"},"config":{"html_language":"zh-cn","week_in_year_fns":"\'周\' w,yyyy","month_and_day_fns":"MMMM d, y","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":"負債","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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":"(空)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"小豬撲滿","percentage":"pct.","amount":"金額","lastActivity":"上次活動","name":"名稱","role":"角色","description":"描述","date":"日期","source_account":"來源帳戶","destination_account":"目標帳戶","category":"分類","iban":"國際銀行帳戶號碼 (IBAN)","interest":"利率","interest_period":"Interest period","liability_type":"負債類型","liability_direction":"Liability in/out","currentBalance":"目前餘額","next_expected_match":"下一個預期的配對"},"config":{"html_language":"zh-tw","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"MMMM d, y","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=5751,e(e.s=t);var t}));e.O()}]);
//# sourceMappingURL=edit.js.map
\ No newline at end of file
diff --git a/public/v2/js/transactions/edit.js.map b/public/v2/js/transactions/edit.js.map
index 5c97ae4094..83664cd9d7 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?c81e","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?a628","webpack:///./src/components/transactions/SplitForm.vue?a019","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?fdcd","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?22f4","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?e933","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?f2f7","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?a82a","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?590c","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?dc0d","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?80e0","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?9993","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?939d","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?f481","webpack:///./src/components/transactions/TransactionLinks.vue?47fb","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?2c97","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?6273","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?67c1","webpack:///src/components/transactions/TransactionGroupTitle.vue","webpack:///./src/components/transactions/TransactionGroupTitle.vue?5049","webpack:///./src/components/transactions/TransactionGroupTitle.vue"],"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","log","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","cacheKey","age","object","JSON","parse","now","parseInt","refreshCacheKey","Array","N","join","Math","random","toString","slice","stringify","setCacheKey","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","currencyResponse","name","symbol","decimal_places","err","module","exports","documentElement","lang","fallbackLocale","messages","created","this","groupId","parts","getTransactionGroup","getAllowedOpposingTypes","getCustomFields","successMessage","errorMessage","warningMessage","type","default","originalTransactions","originalGroupTitle","groupTitleErrors","customFields","Object","returnedGroupId","returnedGroupTitle","date","originalDate","submittedTransaction","submittedAttachments","inError","submittedAttCount","enableSubmit","stayHere","forceTransactionSubmission","components","Alert","SplitPills","SplitForm","TransactionGroupTitle","watch","finaliseSubmission","methods","parseTransactionGroup","group_title","description","hasOwnProperty","i","test","result","parseLinks","transaction_journal_id","parseTransaction","array","charAt","toUpperCase","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","$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","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","debounce","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","apply","arguments","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"],"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,EAAk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U,CAACpE,EAAG,MAAM,CAACK,YAAY,sBAAsB,CAACL,EAAG,SAAS,CAACK,YAAY,4BAA4BH,MAAM,CAAC,SAAW,KAAK,KAAO,UAAUE,GAAG,CAAC,MAAQP,EAAIiE,mBAAmB,CAAC9D,EAAG,OAAO,CAACK,YAAY,4BAA4B,GAAGR,EAAIM,GAAG,KAAMN,EAAIjS,OAAOU,OAAS,EAAG0R,EAAG,OAAOH,EAAIS,GAAIT,EAAU,QAAE,SAASnU,GAAO,OAAOsU,EAAG,OAAO,CAACK,YAAY,qBAAqB,CAACR,EAAIM,GAAGN,EAAIiB,GAAGpV,IAAQsU,EAAG,WAAU,GAAGH,EAAIgB,MAAM,KAClmC,IGUpB,EACA,KACA,KACA,M","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// See reference nr. 1\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 for dashboard.');\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 cacheKey: {\n age: 0,\n value: 'empty',\n },\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 cacheKey: state => {\n return state.cacheKey.value;\n },\n}\n\n// actions\nconst actions = {\n initialiseStore(context) {\n // cache key auto refreshes every day\n console.log('Now in initialize store.')\n if (localStorage.cacheKey) {\n console.log('Storage has cache key: ');\n console.log(localStorage.cacheKey);\n let object = JSON.parse(localStorage.cacheKey);\n if (Date.now() - object.age > 86400000) {\n console.log('Key is here but is old.');\n context.commit('refreshCacheKey');\n } else {\n console.log('Cache key from local storage: ' + object.value);\n context.commit('setCacheKey', object);\n }\n } else {\n console.log('No key need new one.');\n context.commit('refreshCacheKey');\n }\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 refreshCacheKey(state) {\n let age = Date.now();\n let N = 8;\n let cacheKey = Array(N+1).join((Math.random().toString(36)+'00000000000000000').slice(2, 18)).slice(0, N);\n let object = {age: age, value: cacheKey};\n console.log('Store new key in string JSON');\n console.log(JSON.stringify(object));\n localStorage.cacheKey = JSON.stringify(object);\n state.cacheKey = {age: age, value: cacheKey};\n console.log('Refresh: cachekey is now ' + cacheKey);\n },\n setCacheKey(state, payload) {\n console.log('Stored cache key in localstorage.');\n console.log(payload);\n console.log(JSON.stringify(payload));\n localStorage.cacheKey = JSON.stringify(payload);\n state.cacheKey = payload;\n },\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 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 console.log('Now in initialiseStore()')\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 console.log('Now in updateCurrencyPreference');\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 &nbsp;\n </div>\n <button type=\"button\" class=\"btn btn-outline-primary btn-block\" @click=\"addTransaction\"><span class=\"far fa-clone\"></span>\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 &nbsp;\n </div>\n <button :disabled=\"!enableSubmit\" class=\"btn btn-info btn-block\" @click=\"submitTransaction\">\n <span v-if=\"enableSubmit\"><span class=\"far fa-save\"></span> {{ $t('firefly.update_transaction') }}</span>\n <span v-if=\"!enableSubmit\"><span class=\"fas fa-spinner fa-spin\"></span></span>\n </button>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col\">\n &nbsp;\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 // force the submission (in case of deletes)\n forceTransactionSubmission: 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// See reference nr. 5\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(Promise.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 this.forceTransactionSubmission = true;\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 // console.log(this.transactions);\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 // console.log('submitTransaction()');\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 // console.log('Start of loop submitTransaction');\n for (let i in this.transactions) {\n // console.log('Index ' + i);\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n // console.log('Has index ' + i);\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 // console.log('Now at field ' + fieldName);\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 // console.log('Will continue and skip');\n continue;\n }\n\n if (currentTransaction[fieldName] !== originalTransaction[fieldName] || true === this.forceTransactionSubmission) {\n // console.log('we continue');\n // some fields are ignored:\n if ('foreign_amount' === submissionFieldName && '' === currentTransaction[fieldName]) {\n // console.log('we skip!');\n continue;\n }\n if ('foreign_currency_id' === submissionFieldName && 0 === currentTransaction[fieldName] ) {\n // console.log('we skip!');\n continue;\n }\n if ('foreign_currency_id' === submissionFieldName && '0' === currentTransaction[fieldName] ) {\n // console.log('we skip!');\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 //console.log('Should submit is now 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 // console.log('Should submit index ' + i + '?');\n // console.log(shouldSubmit);\n }\n }\n this.submitUpdate(submission, shouldSubmit, shouldLinks, shouldUpload);\n },\n\n submitData: function (shouldSubmit, submission) {\n // console.log('submitData');\n // console.log(submission);\n if (!shouldSubmit) {\n // console.log('No need to submit transaction.');\n return Promise.resolve({});\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 Promise.resolve({journals:journals});\n },\n submitLinks: function (shouldSubmit) {\n //console.log('submitLinks()');\n if (!shouldSubmit) {\n //console.log('no need!');\n return Promise.resolve({});\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 Promise.resolve({});\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// See reference nr. 6\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(Promise.resolve({}));\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// See reference nr. 7\n }\n }\n }\n }\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!./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=2017e813&\"\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 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('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('span',{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('span',{staticClass:\"far fa-save\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.update_transaction')))]):_vm._e(),_vm._v(\" \"),(!_vm.enableSubmit)?_c('span',[_c('span',{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{display:block;max-width:100%!important}.ti-input,.vue-tags-input{border-radius:.25rem;width:100%}.ti-input{max-width:100%}.ti-new-tag-input{font-size:1rem}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/transactions/TransactionTags.vue\"],\"names\":[],\"mappings\":\"AA2HA,gBAGA,aAAA,CADA,wBAGA,CAEA,0BAHA,oBAAA,CAHA,UAUA,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 <span v-if=\"'danger' === type\" class=\"icon fas fa-ban\"></span>\n <span v-if=\"'success' === type\" class=\"icon fas fa-thumbs-up\"></span>\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=45eef68c&\"\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('span',{staticClass:\"icon fas fa-ban\"}):_vm._e(),_vm._v(\" \"),('success' === _vm.type)?_c('span',{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('span',{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\"><span class=\"far fa-trash-alt\"></span></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=375a57e5&\"\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('span',{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 </div>\n <div v-if=\"!visible\" class=\"text-xs d-none d-lg-block d-xl-block\">\n &nbsp;\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\"><span class=\"far fa-trash-alt\"></span></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=49893d47&\"\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('span',{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\">&nbsp;</span>\n </div>\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","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=7ccf55e2&\"\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 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\"},[('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","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=0b4c09d0&\"\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 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\"},[_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","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=697609b0&\"\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 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.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\">&nbsp;</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","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=c617427c&\"\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 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.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\"><span class=\"far fa-trash-alt\"></span></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=7b821709&\"\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('span',{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 api from \"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../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&\";\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","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\"><span class=\"far fa-trash-alt\"></span></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=94f353c2&\"\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('span',{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\"><span class=\"far fa-trash-alt\"></span></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","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=7a5ee5e8&\"\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 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.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('span',{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","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=04ebe6d2&\"\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 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.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('span',{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('span',{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('span',{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.apply(null, arguments)}}},[_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('span',{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('span',{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\"><span class=\"fas fa-plus\"></span> 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\"><span class=\"far fa-trash-alt\"></span></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\"><span class=\"fas fa-plus\"></span></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\">&times;</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\"><span class=\"fas fa-search\"></span> 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\"><span class=\"fas fa-spinner fa-spin\"></span></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 &rarr;\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// See reference nr. 3\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=7826e6c4&\"\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","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=27863744&\"\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 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.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>&nbsp;</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","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=26d78234&\"\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 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.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\"><span class=\"fas fa-trash-alt\"></span></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 return {\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 return {\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=8d9e74a0&\"\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('span',{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\"><span class=\"far fa-trash-alt\"></span></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","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=4bdb785a&\"\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 null,\n null\n \n)\n\nexport default component.exports"],"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?c81e","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?a628","webpack:///./src/components/transactions/SplitForm.vue?a019","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?fdcd","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?22f4","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?e933","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?f2f7","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?a82a","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?590c","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?dc0d","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?2451","webpack:///./src/components/transactions/TransactionTags.vue?756a","webpack:///src/components/transactions/TransactionTags.vue","webpack:///./src/components/transactions/TransactionTags.vue?c786","webpack:///./src/components/transactions/TransactionTags.vue?80e0","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?e513","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?9993","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?939d","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?f936","webpack:///./src/components/transactions/TransactionLinks.vue?47fb","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?2c97","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?6273","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?67c1","webpack:///src/components/transactions/TransactionGroupTitle.vue","webpack:///./src/components/transactions/TransactionGroupTitle.vue?5049","webpack:///./src/components/transactions/TransactionGroupTitle.vue"],"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","log","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","cacheKey","age","object","JSON","parse","now","parseInt","refreshCacheKey","Array","N","join","Math","random","toString","slice","stringify","setCacheKey","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","currencyResponse","name","symbol","decimal_places","err","module","exports","documentElement","lang","fallbackLocale","messages","created","this","groupId","parts","getTransactionGroup","getAllowedOpposingTypes","getCustomFields","successMessage","errorMessage","warningMessage","type","default","originalTransactions","originalGroupTitle","groupTitleErrors","customFields","Object","returnedGroupId","returnedGroupTitle","date","originalDate","submittedTransaction","submittedAttachments","inError","submittedAttCount","enableSubmit","stayHere","forceTransactionSubmission","components","Alert","SplitPills","SplitForm","TransactionGroupTitle","watch","finaliseSubmission","methods","parseTransactionGroup","group_title","description","hasOwnProperty","i","test","result","parseLinks","transaction_journal_id","parseTransaction","array","charAt","toUpperCase","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","$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","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","debounce","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","apply","arguments","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"],"mappings":"oIA0BAA,OAAOC,EAAID,OAAOE,OAASC,EAAQ,MAGnCH,OAAOI,MAAQD,EAAQ,MACvBH,OAAOI,MAAMC,SAASC,QAAQC,OAAO,oBA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AmBzD,MAAM,CAAC5R,MAAOiR,EAAS,MAAEY,SAAS,SAAUC,GAAMb,EAAIiR,MAAMpQ,GAAKE,WAAW,UAAU,CAACZ,EAAG,WAAW,CAACoE,KAAK,UAAU,CAACpE,EAAG,MAAM,CAACK,YAAY,sBAAsB,CAACL,EAAG,SAAS,CAACK,YAAY,4BAA4BH,MAAM,CAAC,SAAW,KAAK,KAAO,UAAUE,GAAG,CAAC,MAAQP,EAAIiE,mBAAmB,CAAC9D,EAAG,OAAO,CAACK,YAAY,4BAA4B,GAAGR,EAAIM,GAAG,KAAMN,EAAIjS,OAAOU,OAAS,EAAG0R,EAAG,OAAOH,EAAIS,GAAIT,EAAU,QAAE,SAASnU,GAAO,OAAOsU,EAAG,OAAO,CAACK,YAAY,qBAAqB,CAACR,EAAIM,GAAGN,EAAIiB,GAAGpV,IAAQsU,EAAG,WAAU,GAAGH,EAAIgB,MAAM,KAClmC,IGUpB,EACA,KACA,KACA,M","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// See reference nr. 1\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 for dashboard.');\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 cacheKey: {\n age: 0,\n value: 'empty',\n },\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 cacheKey: state => {\n return state.cacheKey.value;\n },\n}\n\n// actions\nconst actions = {\n initialiseStore(context) {\n // cache key auto refreshes every day\n console.log('Now in initialize store.')\n if (localStorage.cacheKey) {\n console.log('Storage has cache key: ');\n console.log(localStorage.cacheKey);\n let object = JSON.parse(localStorage.cacheKey);\n if (Date.now() - object.age > 86400000) {\n console.log('Key is here but is old.');\n context.commit('refreshCacheKey');\n } else {\n console.log('Cache key from local storage: ' + object.value);\n context.commit('setCacheKey', object);\n }\n } else {\n console.log('No key need new one.');\n context.commit('refreshCacheKey');\n }\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 refreshCacheKey(state) {\n let age = Date.now();\n let N = 8;\n let cacheKey = Array(N+1).join((Math.random().toString(36)+'00000000000000000').slice(2, 18)).slice(0, N);\n let object = {age: age, value: cacheKey};\n console.log('Store new key in string JSON');\n console.log(JSON.stringify(object));\n localStorage.cacheKey = JSON.stringify(object);\n state.cacheKey = {age: age, value: cacheKey};\n console.log('Refresh: cachekey is now ' + cacheKey);\n },\n setCacheKey(state, payload) {\n console.log('Stored cache key in localstorage.');\n console.log(payload);\n console.log(JSON.stringify(payload));\n localStorage.cacheKey = JSON.stringify(payload);\n state.cacheKey = payload;\n },\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 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 console.log('Now in initialiseStore()')\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 console.log('Now in updateCurrencyPreference');\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 &nbsp;\n </div>\n <button type=\"button\" class=\"btn btn-outline-primary btn-block\" @click=\"addTransaction\"><span class=\"far fa-clone\"></span>\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 &nbsp;\n </div>\n <button :disabled=\"!enableSubmit\" class=\"btn btn-info btn-block\" @click=\"submitTransaction\">\n <span v-if=\"enableSubmit\"><span class=\"far fa-save\"></span> {{ $t('firefly.update_transaction') }}</span>\n <span v-if=\"!enableSubmit\"><span class=\"fas fa-spinner fa-spin\"></span></span>\n </button>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col\">\n &nbsp;\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 // force the submission (in case of deletes)\n forceTransactionSubmission: 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// See reference nr. 5\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(Promise.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 this.forceTransactionSubmission = true;\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 // console.log(this.transactions);\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 // console.log('submitTransaction()');\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 // console.log('Start of loop submitTransaction');\n for (let i in this.transactions) {\n // console.log('Index ' + i);\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n // console.log('Has index ' + i);\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 // console.log('Now at field ' + fieldName);\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 // console.log('Will continue and skip');\n continue;\n }\n\n if (currentTransaction[fieldName] !== originalTransaction[fieldName] || true === this.forceTransactionSubmission) {\n // console.log('we continue');\n // some fields are ignored:\n if ('foreign_amount' === submissionFieldName && '' === currentTransaction[fieldName]) {\n // console.log('we skip!');\n continue;\n }\n if ('foreign_currency_id' === submissionFieldName && 0 === currentTransaction[fieldName] ) {\n // console.log('we skip!');\n continue;\n }\n if ('foreign_currency_id' === submissionFieldName && '0' === currentTransaction[fieldName] ) {\n // console.log('we skip!');\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 //console.log('Should submit is now 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 // console.log('Should submit index ' + i + '?');\n // console.log(shouldSubmit);\n }\n }\n this.submitUpdate(submission, shouldSubmit, shouldLinks, shouldUpload);\n },\n\n submitData: function (shouldSubmit, submission) {\n // console.log('submitData');\n // console.log(submission);\n if (!shouldSubmit) {\n // console.log('No need to submit transaction.');\n return Promise.resolve({});\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 Promise.resolve({journals:journals});\n },\n submitLinks: function (shouldSubmit) {\n //console.log('submitLinks()');\n if (!shouldSubmit) {\n //console.log('no need!');\n return Promise.resolve({});\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 Promise.resolve({});\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// See reference nr. 6\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(Promise.resolve({}));\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// See reference nr. 7\n }\n }\n }\n }\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!./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=2017e813&\"\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 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('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('span',{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('span',{staticClass:\"far fa-save\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.update_transaction')))]):_vm._e(),_vm._v(\" \"),(!_vm.enableSubmit)?_c('span',[_c('span',{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{display:block;max-width:100%!important}.ti-input,.vue-tags-input{border-radius:.25rem;width:100%}.ti-input{max-width:100%}.ti-new-tag-input{font-size:1rem}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/transactions/TransactionTags.vue\"],\"names\":[],\"mappings\":\"AAsHA,gBAGA,aAAA,CADA,wBAGA,CAEA,0BAHA,oBAAA,CAHA,UAUA,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 };\\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.tagList = value;\\n },\\n tagList: function (value) {\\n // console.log('watch tagList');\\n this.$emit('set-field', {field: 'tags', index: this.index, value: value});\\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 <span v-if=\"'danger' === type\" class=\"icon fas fa-ban\"></span>\n <span v-if=\"'success' === type\" class=\"icon fas fa-thumbs-up\"></span>\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=45eef68c&\"\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('span',{staticClass:\"icon fas fa-ban\"}):_vm._e(),_vm._v(\" \"),('success' === _vm.type)?_c('span',{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('span',{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\"><span class=\"far fa-trash-alt\"></span></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=375a57e5&\"\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('span',{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 </div>\n <div v-if=\"!visible\" class=\"text-xs d-none d-lg-block d-xl-block\">\n &nbsp;\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\"><span class=\"far fa-trash-alt\"></span></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=49893d47&\"\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('span',{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\">&nbsp;</span>\n </div>\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","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=7ccf55e2&\"\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 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\"},[('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","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=0b4c09d0&\"\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 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\"},[_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","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=697609b0&\"\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 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.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\">&nbsp;</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","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=c617427c&\"\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 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.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\"><span class=\"far fa-trash-alt\"></span></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=7b821709&\"\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('span',{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 }\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 this.$emit('set-field', {field: 'bill_id', index: this.index, value: value});\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=e612fb9c&\"\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 };\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.tagList = value;\n },\n tagList: function (value) {\n // console.log('watch tagList');\n this.$emit('set-field', {field: 'tags', index: this.index, value: value});\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 api from \"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../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&\";\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","import { render, staticRenderFns } from \"./TransactionTags.vue?vue&type=template&id=dbf814e6&\"\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 }\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.piggy_bank_id = value;\n },\n piggy_bank_id: function (value) {\n this.$emit('set-field', {field: 'piggy_bank_id', index: this.index, value: value});\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=18aafbc0&\"\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\"><span class=\"far fa-trash-alt\"></span></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=94f353c2&\"\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('span',{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\"><span class=\"far fa-trash-alt\"></span></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","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=7a5ee5e8&\"\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 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.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('span',{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 }\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.notes = value;\n },\n customFields: function (value) {\n this.availableFields = value;\n },\n notes: function (value) {\n this.$emit('set-field', {field: 'notes', index: this.index, value: value});\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!./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=606fd0df&\"\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 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.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('span',{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('span',{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('span',{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.apply(null, arguments)}}},[_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('span',{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('span',{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\"><span class=\"fas fa-plus\"></span> 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\"><span class=\"far fa-trash-alt\"></span></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\"><span class=\"fas fa-plus\"></span></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\">&times;</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\"><span class=\"fas fa-search\"></span> 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\"><span class=\"fas fa-spinner fa-spin\"></span></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 &rarr;\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// See reference nr. 3\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=7826e6c4&\"\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","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=27863744&\"\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 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.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>&nbsp;</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","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=26d78234&\"\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 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.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\"><span class=\"fas fa-trash-alt\"></span></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 return {\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 return {\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=8d9e74a0&\"\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('span',{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\"><span class=\"far fa-trash-alt\"></span></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","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=4bdb785a&\"\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 null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}
\ No newline at end of file
diff --git a/public/v2/js/transactions/index.js b/public/v2/js/transactions/index.js
index a9ed998a73..7230bde16c 100755
--- a/public/v2/js/transactions/index.js
+++ b/public/v2/js/transactions/index.js
@@ -1,2 +1,2 @@
-(self.webpackChunk=self.webpackChunk||[]).push([[111],{232:(e,t,a)=>{"use strict";a.r(t);var n=a(7760),o=a.n(n),i=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=i.Z,window.uiv=s,o().use(vuei18n),o().use(s),window.Vue=o()},9899:(e,t,a)=>{"use strict";a.d(t,{Z:()=>D});var n=a(7760),o=a.n(n),i=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),d=a(3894),u=a(584),p=a(7090),g=a(4431),y=a(8358),m=a(4135),h=a(3703);const b={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){console.log("initialiseStore for dashboard."),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,o=new Date;switch(n){case"1D":t=(0,_.Z)(o),a=(0,d.Z)(o);break;case"1W":t=(0,_.Z)((0,u.Z)(o,{weekStartsOn:1})),a=(0,d.Z)((0,p.Z)(o,{weekStartsOn:1}));break;case"1M":t=(0,_.Z)((0,h.Z)(o)),a=(0,d.Z)((0,m.Z)(o));break;case"3M":t=(0,_.Z)((0,g.Z)(o)),a=(0,d.Z)((0,y.Z)(o));break;case"6M":o.getMonth()<=5&&((t=new Date(o)).setMonth(0),t.setDate(1),t=(0,_.Z)(t),(a=new Date(o)).setMonth(5),a.setDate(30),a=(0,d.Z)(t)),o.getMonth()>5&&((t=new Date(o)).setMonth(6),t.setDate(1),t=(0,_.Z)(t),(a=new Date(o)).setMonth(11),a.setDate(31),a=(0,d.Z)(t));break;case"1Y":(t=new Date(o)).setMonth(0),t.setDate(1),t=(0,_.Z)(t),(a=new Date(o)).setMonth(11),a.setDate(31),a=(0,d.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 f=function(){return{listPageSize:33,timezone:"",cacheKey:{age:0,value:"empty"}}},v={initialiseStore:function(e){if(console.log("Now in initialize store."),localStorage.cacheKey){console.log("Storage has cache key: "),console.log(localStorage.cacheKey);var t=JSON.parse(localStorage.cacheKey);Date.now()-t.age>864e5?(console.log("Key is here but is old."),e.commit("refreshCacheKey")):(console.log("Cache key from local storage: "+t.value),e.commit("setCacheKey",t))}else console.log("No key need new one."),e.commit("refreshCacheKey");localStorage.listPageSize&&(f.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&&(f.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 w={namespaced:!0,state:f,getters:{listPageSize:function(e){return e.listPageSize},timezone:function(e){return e.timezone},cacheKey:function(e){return e.cacheKey.value}},actions:v,mutations:{refreshCacheKey:function(e){var t=Date.now(),a=Array(9).join((Math.random().toString(36)+"00000000000000000").slice(2,18)).slice(0,8),n={age:t,value:a};console.log("Store new key in string JSON"),console.log(JSON.stringify(n)),localStorage.cacheKey=JSON.stringify(n),e.cacheKey={age:t,value:a},console.log("Refresh: cachekey is now "+a)},setCacheKey:function(e,t){console.log("Stored cache key in localstorage."),console.log(t),console.log(JSON.stringify(t)),localStorage.cacheKey=JSON.stringify(t),e.cacheKey=t},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 k={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}}};o().use(i.ZP);const D=new i.ZP.Store({namespaced:!0,modules:{root:w,transactions:{namespaced:!0,modules:{create:c,edit:l}},accounts:{namespaced:!0,modules:{index:k}},dashboard:{namespaced:!0,modules:{index:b}}},strict:false,plugins:[],state:{currencyPreference:{},locale:"en-US",listPageSize:50},mutations:{setCurrencyPreference:function(e,t){e.currencyPreference=t.payload},initialiseStore:function(e){if(console.log("Now in initialiseStore()"),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){console.log("Now in updateCurrencyPreference"),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)}})},3891:(e,t,a)=>{"use strict";var n=a(7760),o=a.n(n),i=a(9899),s=a(7757),r=a.n(s),c=a(629),l=a(7955),_=a(361);function d(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);"Object"===a&&e.constructor&&(a=e.constructor.name);if("Map"===a||"Set"===a)return Array.from(e);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return u(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a<t;a++)n[a]=e[a];return n}function p(e,t,a,n,o,i,s){try{var r=e[i](s),c=r.value}catch(e){return void a(e)}r.done?t(c):Promise.resolve(c).then(n,o)}function g(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 y(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?g(Object(a),!0).forEach((function(t){m(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):g(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function m(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const h={name:"Index",data:function(){return{transactions:[],transactionRows:[],type:"all",downloaded:!1,loading:!1,ready:!1,fields:[],currentPage:1,perPage:5,total:1,sortBy:"order",sortDesc:!1,api:null,sortableOptions:{disabled:!1,chosenClass:"is-selected",onEnd:null},sortable:null}},watch:{storeReady:function(){this.getTransactionList()},start:function(){this.getTransactionList()},end:function(){this.getTransactionList()},activeFilter:function(e){this.filterAccountList()}},computed:y(y(y({},(0,c.Se)("root",["listPageSize","cacheKey"])),(0,c.Se)("dashboard/index",["start","end"])),{},{indexReady:function(){return null!==this.start&&null!==this.end&&null!==this.listPageSize&&this.ready},cardTitle:function(){return this.$t("firefly."+this.type+"_transactions")}}),created:function(){var e,t=window.location.pathname.split("/");this.type=t[t.length-1],this.perPage=null!==(e=this.listPageSize)&&void 0!==e?e:51,console.log("Per page: "+this.perPage);var a=new URLSearchParams(window.location.search);this.currentPage=a.get("page")?parseInt(a.get("page")):1,this.updateFieldList(),this.ready=!0},methods:y(y({},(0,c.OI)("root",["refreshCacheKey"])),{},{updateFieldList:function(){this.fields=[{key:"type",label:" ",sortable:!1},{key:"description",label:this.$t("list.description"),sortable:!0},{key:"amount",label:this.$t("list.amount"),sortable:!0},{key:"date",label:this.$t("list.date"),sortable:!0},{key:"source_name",label:this.$t("list.source_account"),sortable:!0},{key:"destination_name",label:this.$t("list.destination_account"),sortable:!0},{key:"category_name",label:this.$t("list.category"),sortable:!0},{key:"menu",label:" ",sortable:!1}]},newCacheKey:function(){this.refreshCacheKey(),this.downloaded=!1,this.accounts=[],this.getTransactionList()},getTransactionList:function(){var e;(console.log("getTransactionList()"),!this.indexReady||this.loading||this.downloaded)||(console.log("Index ready, not loading and not already downloaded. Reset."),this.loading=!0,this.perPage=null!==(e=this.listPageSize)&&void 0!==e?e:51,this.transactions=[],this.transactionRows=[],this.downloadTransactionList(1))},downloadTransactionList:function(e){var t=this;console.log("downloadTransactionList("+e+")"),(0,_.y)().then(function(){var a,n=(a=r().mark((function a(n){var o,i;return r().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:o=(0,l.Z)(t.start,"y-MM-dd"),i=(0,l.Z)(t.end,"y-MM-dd"),n.get("./api/v1/transactions?type="+t.type+"&page="+e+"&start="+o+"&end="+i+"&cache="+t.cacheKey).then((function(e){var a;t.total=parseInt(e.data.meta.pagination.total),(a=t.transactions).push.apply(a,d(e.data.data)),t.downloaded=!0,t.createTransactionRows()}));case 3:case"end":return a.stop()}}),a)})),function(){var e=this,t=arguments;return new Promise((function(n,o){var i=a.apply(e,t);function s(e){p(i,n,o,s,r,"next",e)}function r(e){p(i,n,o,s,r,"throw",e)}s(void 0)}))});return function(e){return n.apply(this,arguments)}}())},createTransactionRows:function(){for(var e in this.transactionRows=[],this.transactions){var t=this.transactions[e],a=this.getTransactionRow(t,0);if(this.transactionRows.push(a),t.attributes.transactions.length>1&&(a.description=t.attributes.group_title,a.split=!0,a.collapsed=!0===t.collapsed||void 0===t.collapsed,a.amount=t.attributes.transactions.map((function(e){return Number(e.amount)})).reduce((function(e,t){return e+t})),a.source_name="",a.source_id="",a.destination_name="",a.destination_id="",!a.collapsed))for(var n=0;n<t.attributes.transactions.length;n++){var o=this.getTransactionRow(t,n);o.key=o.id+"."+n,o.split=!0,o.split_index=n+1,o.split_parent=a,this.transactionRows.push(o)}}this.loading=!1},getTransactionRow:function(e,t){var a={},n=e.attributes.transactions[t];return a.key=e.id,a.id=e.id,a.type=n.type,a.description=n.description,a.amount=n.amount,a.currency_code=n.currency_code,a.date=new Date(n.date),a.date_formatted=(0,l.Z)(a.date,this.$t("config.month_and_day_fns")),a.source_name=n.source_name,a.source_id=n.source_id,a.destination_name=n.destination_name,a.destination_id=n.destination_id,a.category_id=n.category_id,a.category_name=n.category_name,a.split=!1,a.split_index=0,a.split_parent=null,a},toggleCollapse:function(e){var t=this.transactions.filter((function(t){return t.id===e.id}))[0];void 0===t.collapsed?t.collapsed=!1:t.collapsed=!t.collapsed,this.createTransactionRows()},tableSortCompare:function(e,t,a,n,o,i,s){var r=e[a],c=t[a];if(e.id===t.id){if(null===e.split_parent)return n?1:-1;if(null===t.split_parent)return n?-1:1}else e.split&&null!==e.split_parent&&(r=e.split_parent[a]),t.split&&null!==t.split_parent&&(c=t.split_parent[a]);return"number"==typeof r&&"number"==typeof c||r instanceof Date&&c instanceof Date?r<c?-1:r>c?1:0:l(r).localeCompare(l(c),s,i);function l(e){return null==e?"":e instanceof Object?Object.keys(e).sort().map((function(t){return l(e[t])})).join(" "):String(e)}}})};const b=(0,a(1900).Z)(h,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[e._m(0),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-lg-8 col-md-6 col-sm-12 col-xs-12"},[a("b-pagination",{attrs:{"total-rows":e.total,"per-page":e.perPage,"aria-controls":"my-table"},model:{value:e.currentPage,callback:function(t){e.currentPage=t},expression:"currentPage"}})],1),e._v(" "),a("div",{staticClass:"col-lg-4 col-md-6 col-sm-12 col-xs-12"},[a("button",{staticClass:"btn btn-sm float-right btn-info",on:{click:e.newCacheKey}},[a("span",{staticClass:"fas fa-sync"})])])]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-lg-8 col-md-12 col-sm-12 col-xs-12"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-body p-0"},[a("b-table",{ref:"table",attrs:{id:"my-table",striped:"",hover:"",responsive:"md","primary-key":"key","no-local-sorting":!1,items:e.transactionRows,fields:e.fields,"per-page":e.perPage,"sort-icon-left":"","current-page":e.currentPage,busy:e.loading,"sort-desc":e.sortDesc,"sort-compare":e.tableSortCompare},on:{"update:busy":function(t){e.loading=t},"update:sortDesc":function(t){e.sortDesc=t},"update:sort-desc":function(t){e.sortDesc=t}},scopedSlots:e._u([{key:"table-busy",fn:function(){return[a("span",{staticClass:"fa fa-spinner"})]},proxy:!0},{key:"cell(type)",fn:function(t){return[t.item.split&&null!==t.item.split_parent?e._e():a("span",["deposit"===t.item.type?a("span",{staticClass:"fas fa-long-arrow-alt-right"}):"withdrawal"===t.item.type?a("span",{staticClass:"fas fa-long-arrow-alt-left"}):"transfer"===t.item.type?a("span",{staticClass:"fas fa-long-arrows-alt-h"}):e._e()])]}},{key:"cell(description)",fn:function(t){return[a("span",[t.item.split&&null!==t.item.split_parent?a("span",{staticClass:"fas fa-angle-right"}):e._e()]),e._v(" "),a("a",{class:!1===t.item.active?"text-muted":"",attrs:{href:"./transactions/show/"+t.item.id,title:t.value}},[e._v(e._s(t.value))])]}},{key:"cell(amount)",fn:function(t){return["deposit"===t.item.type?a("span",{staticClass:"text-success"},[e._v("\n "+e._s(Intl.NumberFormat("en-US",{style:"currency",currency:t.item.currency_code}).format(t.item.amount))+"\n ")]):"withdrawal"===t.item.type?a("span",{staticClass:"text-danger"},[e._v("\n "+e._s(Intl.NumberFormat("en-US",{style:"currency",currency:t.item.currency_code}).format(-t.item.amount))+"\n ")]):"transfer"===t.item.type?a("span",{staticClass:"text-muted"},[e._v("\n "+e._s(Intl.NumberFormat("en-US",{style:"currency",currency:t.item.currency_code}).format(t.item.amount))+"\n ")]):e._e()]}},{key:"cell(date)",fn:function(t){return[e._v("\n "+e._s(t.item.date_formatted)+"\n ")]}},{key:"cell(source_account)",fn:function(t){return[a("a",{class:!1===t.item.active?"text-muted":"",attrs:{href:"./accounts/show/"+t.item.source_id,title:t.item.source_name}},[e._v(e._s(t.item.source_name))])]}},{key:"cell(destination_account)",fn:function(t){return[a("a",{class:!1===t.item.active?"text-muted":"",attrs:{href:"./accounts/show/"+t.item.destination_id,title:t.item.destination_name}},[e._v(e._s(t.item.destination_name))])]}},{key:"cell(menu)",fn:function(t){return[t.item.split&&null!==t.item.split_parent?e._e():a("div",{staticClass:"btn-group btn-group-sm"},[a("div",{staticClass:"dropdown"},[a("button",{staticClass:"btn btn-light btn-sm dropdown-toggle",attrs:{type:"button",id:"dropdownMenuButton"+t.item.id,"data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"}},[e._v("\n "+e._s(e.$t("firefly.actions"))+"\n ")]),e._v(" "),a("div",{staticClass:"dropdown-menu",attrs:{"aria-labelledby":"dropdownMenuButton"+t.item.id}},[a("a",{staticClass:"dropdown-item",attrs:{href:"./transactions/edit/"+t.item.id}},[a("span",{staticClass:"fa fas fa-pencil-alt"}),e._v(" "+e._s(e.$t("firefly.edit")))]),e._v(" "),a("a",{staticClass:"dropdown-item",attrs:{href:"./transactions/delete/"+t.item.id}},[a("span",{staticClass:"fa far fa-trash"}),e._v(" "+e._s(e.$t("firefly.delete")))])])])]),e._v(" "),t.item.split&&null===t.item.split_parent&&!0===t.item.collapsed?a("div",{staticClass:"btn btn-light btn-sm",on:{click:function(a){return e.toggleCollapse(t.item)}}},[a("span",{staticClass:"fa fa-caret-down"}),e._v("\n "+e._s(e.$t("firefly.transaction_expand_split"))+"\n ")]):t.item.split&&null===t.item.split_parent&&!1===t.item.collapsed?a("div",{staticClass:"btn btn-light btn-sm",on:{click:function(a){return e.toggleCollapse(t.item)}}},[a("span",{staticClass:"fa fa-caret-up"}),e._v("\n "+e._s(e.$t("firefly.transaction_collapse_split"))+"\n ")]):e._e()]}},{key:"cell(category)",fn:function(t){return[e._v("\n "+e._s(t.item.category_name)+"\n ")]}}])})],1),e._v(" "),a("div",{staticClass:"card-footer"},[a("a",{staticClass:"btn btn-success",attrs:{href:"./transactions/create/"+e.type,title:e.$t("firefly.create_new_transaction")}},[e._v(e._s(e.$t("firefly.create_new_transaction")))])])])]),e._v(" "),e._m(1)]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-lg-8 col-md-6 col-sm-12 col-xs-12"},[a("b-pagination",{attrs:{"total-rows":e.total,"per-page":e.perPage,"aria-controls":"my-table"},model:{value:e.currentPage,callback:function(t){e.currentPage=t},expression:"currentPage"}})],1),e._v(" "),a("div",{staticClass:"col-lg-4 col-md-6 col-sm-12 col-xs-12"},[a("button",{staticClass:"btn btn-sm float-right btn-info",on:{click:e.newCacheKey}},[a("span",{staticClass:"fas fa-sync"})])])])])}),[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-body"},[e._v("\n Treemap categories?\n ")])])]),e._v(" "),a("div",{staticClass:"col"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-body"},[e._v("\n Treemap accounts?\n ")])])])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"col-lg-4"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-body"},[e._v("\n Box previous periods\n ")])])])}],!1,null,null,null).exports;var f=a(459),v=a(9559),w=a(3938);a(232);var k=a(157),D={};o().component("b-table",f.h),o().component("b-pagination",v.c),new(o())({i18n:k,store:i.Z,render:function(e){return e(b,{props:D})},beforeCreate:function(){this.$store.commit("initialiseStore"),this.$store.dispatch("updateCurrencyPreference"),this.$store.dispatch("root/initialiseStore"),this.$store.dispatch("dashboard/index/initialiseStore")}}).$mount("#transactions_index"),new(o())({i18n:k,store:i.Z,el:"#calendar",render:function(e){return e(w.Z,{props:D})}})},361:(e,t,a)=>{"use strict";a.d(t,{y:()=>u});var n=a(7757),o=a.n(n),i=a(9483),s=a.n(i),r=a(881),c=a.n(r),l=a(5974);function _(e,t,a,n,o,i,s){try{var r=e[i](s),c=r.value}catch(e){return void a(e)}r.done?t(c):Promise.resolve(c).then(n,o)}function d(e){return function(){var t=this,a=arguments;return new Promise((function(n,o){var i=e.apply(t,a);function s(e){_(i,n,o,s,r,"next",e)}function r(e){_(i,n,o,s,r,"throw",e)}s(void 0)}))}}function u(){return p.apply(this,arguments)}function p(){return(p=d(o().mark((function e(){var t,a;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s().defineDriver(c());case 2:return t=s().createInstance({driver:[s().INDEXEDDB,s().LOCALSTORAGE,c()._driver],name:"my-cache"}),a=document.head.querySelector('meta[name="csrf-token"]'),e.abrupt("return",(0,l.setup)({baseURL:"./",headers:{"X-CSRF-TOKEN":a.content,"X-James-Rocks":"oh yes"},cache:{maxAge:864e5,readHeaders:!1,exclude:{query:!1},debug:!0,store:t}}));case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},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 o(){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$:()=>o})},444:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(4015),o=a.n(n),i=a(3645),s=a.n(i)()(o());s.push([e.id,".dropdown-item[data-v-0f404e99],.dropdown-item[data-v-0f404e99]:hover{color:#212529}","",{version:3,sources:["webpack://./src/components/dashboard/Calendar.vue"],names:[],mappings:"AAslBA,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 ><span class=\"fas fa-calendar-alt\"></span></button>\n <button :title=\"$t('firefly.reset_to_current')\"\n class=\"btn btn-secondary\"\n @click=\"resetDate\"\n ><span class=\"fas fa-history\"></span></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 <span class=\"fas fa-list\"></span>\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 console.log('Now in calendar 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 = 'tbd';\n let half = 1;\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 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\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 r=s},3938:(e,t,a)=>{"use strict";a.d(t,{Z:()=>B});var n=a(629),o=a(7760),i=a.n(o),s=a(6782),r=a.n(s),c=a(7069),l=a(7349),_=a(1640),d=a(9119),u=a(3894),p=a(584),g=a(7090),y=a(4135),m=a(7955),h=a(4431),b=a(4559),f=a(8358),v=a(8793),w=a(8791),k=a(3703);function D(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 S(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?D(Object(a),!0).forEach((function(t){z(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):D(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function z(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var I=(0,n._p)("dashboard/index"),A=(I.mapState,I.mapGetters),j=(I.mapActions,I.mapMutations);i().component("date-picker",r());const C={name:"Calendar",created:function(){var e;console.log("Now in calendar created"),this.ready=!0,this.locale=null!==(e=localStorage.locale)&&void 0!==e?e:"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(){console.log("Reset date to"),console.log(this.defaultStart),console.log(this.defaultEnd),this.range.start=this.defaultStart,this.range.end=this.defaultEnd,this.setStart(this.defaultStart),this.setEnd(this.defaultEnd)},customDate:function(e,t){var a=new Date(e),n=new Date(t);return this.setStart(a),this.setEnd(n),this.range.start=a,this.range.end=n,this.generatePeriods(),!1},generateDaily:function(){var e=new Date(this.range.start);this.periods.push({start:(0,d.Z)((0,c.Z)(e,1)).toDateString(),end:(0,u.Z)((0,c.Z)(e,1)).toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long",day:"numeric"}).format((0,c.Z)(e,1))}),this.periods.push({start:(0,d.Z)(e).toDateString(),end:(0,u.Z)(e).toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long",day:"numeric"}).format(e)}),this.periods.push({start:(0,d.Z)((0,l.Z)(e,1)).toDateString(),end:(0,u.Z)((0,l.Z)(e,1)).toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long",day:"numeric"}).format((0,l.Z)(e,1))}),this.periods.push({start:(0,d.Z)((0,l.Z)(e,2)).toDateString(),end:(0,u.Z)((0,l.Z)(e,2)).toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long",day:"numeric"}).format((0,l.Z)(e,2))})},generateWeekly:function(){var e=new Date(this.range.start),t=(0,d.Z)((0,p.Z)((0,c.Z)(e,7),{weekStartsOn:1})),a=(0,u.Z)((0,g.Z)((0,c.Z)(e,7),{weekStartsOn:1})),n=this.$t("config.week_in_year_fns"),o=(0,m.Z)(t,n);this.periods.push({start:t.toDateString(),end:a.toDateString(),title:o}),t=(0,d.Z)((0,p.Z)(e,{weekStartsOn:1})),a=(0,u.Z)((0,g.Z)(e,{weekStartsOn:1})),o=(0,m.Z)(t,n),this.periods.push({start:t.toDateString(),end:a.toDateString(),title:o}),t=(0,d.Z)((0,p.Z)((0,l.Z)(e,7),{weekStartsOn:1})),a=(0,u.Z)((0,g.Z)((0,l.Z)(e,7),{weekStartsOn:1})),o=(0,m.Z)(t,n),this.periods.push({start:t.toDateString(),end:a.toDateString(),title:o})},generateMonthly:function(){var e=new Date(this.range.start),t=(0,d.Z)((0,k.Z)((0,b.Z)(e,1))),a=(0,u.Z)((0,y.Z)((0,b.Z)(e,1)));this.periods.push({start:t.toDateString(),end:a.toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long"}).format(t)}),t=(0,d.Z)((0,k.Z)(e)),a=(0,u.Z)((0,y.Z)(e)),this.periods.push({start:t.toDateString(),end:a.toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long"}).format(t)}),t=(0,d.Z)((0,k.Z)((0,_.Z)(e,1))),a=(0,u.Z)((0,y.Z)((0,_.Z)(e,1))),this.periods.push({start:t.toDateString(),end:a.toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long"}).format(t)})},generateQuarterly:function(){var e=new Date(this.range.start),t=(0,d.Z)((0,h.Z)((0,v.Z)(e,1))),a=(0,u.Z)((0,f.Z)((0,v.Z)(e,1))),n=this.$t("config.quarter_fns"),o=(0,m.Z)(t,n);this.periods.push({start:t.toDateString(),end:a.toDateString(),title:o}),t=(0,d.Z)((0,h.Z)(e)),a=(0,u.Z)((0,f.Z)(e)),o=(0,m.Z)(t,n),this.periods.push({start:t.toDateString(),end:a.toDateString(),title:o}),t=(0,d.Z)((0,h.Z)((0,w.Z)(e,1))),a=(0,u.Z)((0,f.Z)((0,w.Z)(e,1))),o=(0,m.Z)(t,n),this.periods.push({start:t.toDateString(),end:a.toDateString(),title:o})},generateHalfYearly:function(){var e,t,a=new Date(this.range.start),n="tbd",o=1;if(a.getMonth()<=5)return(e=a).setFullYear(e.getFullYear()-1),e.setMonth(6),e.setDate(1),(t=e=(0,d.Z)(e)).setMonth(11),t.setDate(31),t=(0,u.Z)(t),o=2,n=(0,m.Z)(e,this.$t("config.half_year_fns",{half:o})),this.periods.push({start:e.toDateString(),end:t.toDateString(),title:n}),(e=a).setMonth(0),e.setDate(1),e=(0,d.Z)(e),(t=a).setMonth(5),t.setDate(30),t=(0,u.Z)(e),o=1,n=(0,m.Z)(e,this.$t("config.half_year_fns",{half:o})),this.periods.push({start:e.toDateString(),end:t.toDateString(),title:n}),(e=a).setMonth(6),e.setDate(1),(t=e=(0,d.Z)(e)).setMonth(11),t.setDate(31),t=(0,u.Z)(t),o=2,n=(0,m.Z)(e,this.$t("config.half_year_fns",{half:o})),void this.periods.push({start:e.toDateString(),end:t.toDateString(),title:n});(e=a).setMonth(0),e.setDate(1),(t=e=(0,d.Z)(e)).setMonth(5),t.setDate(30),t=(0,u.Z)(t),n=(0,m.Z)(e,this.$t("config.half_year_fns",{half:o})),this.periods.push({start:e.toDateString(),end:t.toDateString(),title:n}),(e=a).setMonth(6),e.setDate(1),e=(0,d.Z)(e),(t=a).setMonth(11),t.setDate(31),t=(0,u.Z)(e),o=2,n=(0,m.Z)(e,this.$t("config.half_year_fns",{half:o})),this.periods.push({start:e.toDateString(),end:t.toDateString(),title:n}),(e=a).setMonth(0),e.setDate(1),(t=e=(0,d.Z)(e)).setMonth(5),t.setDate(30),t=(0,u.Z)(t),o=1,n=(0,m.Z)(e,this.$t("config.half_year_fns",{half:o})),this.periods.push({start:e.toDateString(),end:t.toDateString(),title:n})},generateYearly:function(){var e,t,a=new Date(this.range.start);(e=new Date(a)).setFullYear(e.getFullYear()-1),e.setMonth(0),e.setDate(1),e=(0,d.Z)(e),(t=new Date(a)).setFullYear(t.getFullYear()-1),t.setMonth(11),t.setDate(31),t=(0,u.Z)(t),this.periods.push({start:e.toDateString(),end:t.toDateString(),title:e.getFullYear()}),(e=new Date(a)).setMonth(0),e.setDate(1),e=(0,d.Z)(e),(t=new Date(a)).setMonth(11),t.setDate(31),t=(0,u.Z)(t),this.periods.push({start:e.toDateString(),end:t.toDateString(),title:e.getFullYear()}),(e=new Date(a)).setFullYear(e.getFullYear()+1),e.setMonth(0),e.setDate(1),e=(0,d.Z)(e),(t=new Date(a)).setFullYear(t.getFullYear()+1),t.setMonth(11),t.setDate(31),t=(0,u.Z)(t),this.periods.push({start:e.toDateString(),end:t.toDateString(),title:e.getFullYear()})},generatePeriods:function(){switch(this.periods=[],console.log('The view range is "'+this.viewRange+'".'),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 e=new Date,t=new Date;t.setDate(t.getDate()-7),this.periods.push({start:t.toDateString(),end:e.toDateString(),title:this.$t("firefly.last_seven_days")}),t.setDate(t.getDate()-23),this.periods.push({start:t.toDateString(),end:e.toDateString(),title:this.$t("firefly.last_thirty_days")})}}),computed:S(S({},A(["viewRange","start","end","defaultStart","defaultEnd"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready}}),watch:{datesReady:function(e){!1!==e&&(this.range.start=new Date(this.start),this.range.end=new Date(this.end),this.generatePeriods())},range:function(e){this.setStart(e.start),this.setEnd(e.end)}}};var x=a(3379),T=a.n(x),P=a(444),M={insert:"head",singleton:!1};T()(P.Z,M);P.Z.locals;const B=(0,a(1900).Z)(C,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[e._v("Start")]),e._v(" "),a("div",{staticClass:"col-8"},[e._v(e._s(new Intl.DateTimeFormat(e.locale,{year:"numeric",month:"long",day:"numeric"}).format(e.range.start)))])]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[e._v("End")]),e._v(" "),a("div",{staticClass:"col-8"},[e._v(e._s(new Intl.DateTimeFormat(e.locale,{year:"numeric",month:"long",day:"numeric"}).format(e.range.end)))])]),e._v(" "),a("date-picker",{attrs:{rows:2,"is-range":"",mode:"date"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.inputValue,o=t.inputEvents,i=t.isDragging,s=t.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:e.$t("firefly.custom_period")},on:{click:function(e){return s({placement:"auto-start",positionFixed:!0})}}},[a("span",{staticClass:"fas fa-calendar-alt"})]),e._v(" "),a("button",{staticClass:"btn btn-secondary",attrs:{title:e.$t("firefly.reset_to_current")},on:{click:e.resetDate}},[a("span",{staticClass:"fas fa-history"})]),e._v(" "),a("button",{staticClass:"btn btn-secondary dropdown-toggle",attrs:{id:"dropdownMenuButton",title:e.$t("firefly.select_period"),"aria-expanded":"false","aria-haspopup":"true","data-toggle":"dropdown",type:"button"}},[a("span",{staticClass:"fas fa-list"})]),e._v(" "),a("div",{staticClass:"dropdown-menu",attrs:{"aria-labelledby":"dropdownMenuButton"}},e._l(e.periods,(function(t){return a("a",{staticClass:"dropdown-item",attrs:{href:"#"},on:{click:function(a){return e.customDate(t.start,t.end)}}},[e._v(e._s(t.title))])})),0)]),e._v(" "),a("input",e._g({class:i?"text-gray-600":"text-gray-900",attrs:{type:"hidden"},domProps:{value:n.start}},o.start)),e._v(" "),a("input",e._g({class:i?"text-gray-600":"text-gray-900",attrs:{type:"hidden"},domProps:{value:n.end}},o.end))])])]}}]),model:{value:e.range,callback:function(t){e.range=t},expression:"range"}})],1)}),[],!1,null,"0f404e99",null).exports},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":"Дълг","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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":"(нищо)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Касичка","percentage":"%","amount":"Сума","lastActivity":"Последна активност","name":"Име","role":"Привилегии","description":"Описание","date":"Дата","source_account":"Разходна сметка","destination_account":"Приходна сметка","category":"Категория","iban":"IBAN","interest":"Лихва","interest_period":"Interest period","liability_type":"Вид на задължението","liability_direction":"Liability in/out","currentBalance":"Текущ баланс","next_expected_match":"Следващo очакванo съвпадение"},"config":{"html_language":"bg","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"MMMM d, y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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é)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Pokladnička","percentage":"%","amount":"Částka","lastActivity":"Poslední aktivita","name":"Jméno","role":"Role","description":"Popis","date":"Datum","source_account":"Zdrojový účet","destination_account":"Cílový účet","category":"Kategorie","iban":"IBAN","interest":"Úrok","interest_period":"Interest period","liability_type":"Typ závazku","liability_direction":"Liability in/out","currentBalance":"Aktuální zůstatek","next_expected_match":"Další očekávaná shoda"},"config":{"html_language":"cs","week_in_year_fns":"\\"týden\\" w, yyyy","month_and_day_fns":"MMMM d, y","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":"Einnahmen anzeigen","go_to_categories":"Kategorien anzeigen","expense_accounts":"Ausgabekonten","go_to_expenses":"Ausgaben anzeigen","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","liability_direction_null_short":"Unbekannt","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":"Geschuldeter Betrag","liability_direction_debit_short":"Schuldiger Betrag","account_type_debt":"Schulden","account_type_loan":"Darlehen","left_in_debt":"Fälliger Betrag","account_type_mortgage":"Hypothek","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)","transaction_expand_split":"Aufteilung erweitern","transaction_collapse_split":"Aufteilung reduzieren"},"list":{"piggy_bank":"Sparschwein","percentage":"%","amount":"Betrag","lastActivity":"Letzte Aktivität","name":"Name","role":"Rolle","description":"Beschreibung","date":"Datum","source_account":"Quellkonto","destination_account":"Zielkonto","category":"Kategorie","iban":"IBAN","interest":"Zinsen","interest_period":"Zinsperiode","liability_type":"Verbindlichkeitsart","liability_direction":"Verbindlichkeit ein/aus","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":"D. MMMM Y","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":"Χρέος","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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":"(τίποτα)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Κουμπαράς","percentage":"pct.","amount":"Ποσό","lastActivity":"Τελευταία δραστηριότητα","name":"Όνομα","role":"Ρόλος","description":"Περιγραφή","date":"Ημερομηνία","source_account":"Λογαριασμός προέλευσης","destination_account":"Λογαριασμός προορισμού","category":"Κατηγορία","iban":"IBAN","interest":"Τόκος","interest_period":"Interest period","liability_type":"Τύπος υποχρέωσης","liability_direction":"Liability in/out","currentBalance":"Τρέχον υπόλοιπο","next_expected_match":"Επόμενη αναμενόμενη αντιστοίχιση"},"config":{"html_language":"el","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"MMMM d, y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","lastActivity":"Last activity","name":"Name","role":"Role","description":"Description","date":"Date","source_account":"Source account","destination_account":"Destination account","category":"Category","iban":"IBAN","interest":"Interest","interest_period":"Interest period","liability_type":"Type of liability","liability_direction":"Liability in/out","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":"MMMM d, y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","lastActivity":"Last activity","name":"Name","role":"Role","description":"Description","date":"Date","source_account":"Source account","destination_account":"Destination account","category":"Category","iban":"IBAN","interest":"Interest","interest_period":"Interest period","liability_type":"Type of liability","liability_direction":"Liability in/out","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"MMMM d, y","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","liability_direction_null_short":"Desconocido","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":"Tenía esta deuda","liability_direction_debit_short":"Tiene esta deuda","account_type_debt":"Deuda","account_type_loan":"Préstamo","left_in_debt":"Importe debido","account_type_mortgage":"Hipoteca","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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Alcancilla","percentage":"pct.","amount":"Monto","lastActivity":"Actividad más reciente","name":"Nombre","role":"Rol","description":"Descripción","date":"Fecha","source_account":"Cuenta origen","destination_account":"Cuenta destino","category":"Categoría","iban":"IBAN","interest":"Interés","interest_period":"Período de interés","liability_type":"Tipo de pasivo","liability_direction":"Pasivo entrada/salida","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":"d MMMM y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Säästöpossu","percentage":"pros.","amount":"Summa","lastActivity":"Viimeisin tapahtuma","name":"Nimi","role":"Rooli","description":"Kuvaus","date":"Päivämäärä","source_account":"Lähdetili","destination_account":"Kohdetili","category":"Kategoria","iban":"IBAN","interest":"Korko","interest_period":"Interest period","liability_type":"Vastuutyyppi","liability_direction":"Liability in/out","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":"MMMM d, y","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","liability_direction_null_short":"Inconnu","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":"Emprunteur","liability_direction_debit_short":"Prêteur","account_type_debt":"Dette","account_type_loan":"Emprunt","left_in_debt":"Montant dû","account_type_mortgage":"Prêt immobilier","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)","transaction_expand_split":"Développer la ventilation","transaction_collapse_split":"Réduire la ventilation"},"list":{"piggy_bank":"Tirelire","percentage":"pct.","amount":"Montant","lastActivity":"Activité récente","name":"Nom","role":"Rôle","description":"Description","date":"Date","source_account":"Compte source","destination_account":"Compte destinataire","category":"Catégorie","iban":"Numéro IBAN","interest":"Intérêt","interest_period":"Période d’intérêt","liability_type":"Type de passif","liability_direction":"Sens du passif","currentBalance":"Solde courant","next_expected_match":"Prochaine association attendue"},"config":{"html_language":"fr","week_in_year_fns":"\'Semaine\' w, yyyy","month_and_day_fns":"d MMMM y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Malacpersely","percentage":"%","amount":"Összeg","lastActivity":"Utolsó aktivitás","name":"Név","role":"Szerepkör","description":"Leírás","date":"Dátum","source_account":"Forrás bankszámla","destination_account":"Cél bankszámla","category":"Kategória","iban":"IBAN","interest":"Kamat","interest_period":"Interest period","liability_type":"A kötelezettség típusa","liability_direction":"Liability in/out","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":"MMMM d, y","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","liability_direction_null_short":"Sconosciuta","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":"Mi devono questo debito","liability_direction_debit_short":"Devo questo debito","account_type_debt":"Debito","account_type_loan":"Prestito","left_in_debt":"Importo da pagare","account_type_mortgage":"Mutuo","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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Salvadanaio","percentage":"perc.","amount":"Importo","lastActivity":"Ultima attività","name":"Nome","role":"Ruolo","description":"Descrizione","date":"Data","source_account":"Conto di origine","destination_account":"Conto destinazione","category":"Categoria","iban":"IBAN","interest":"Interesse","interest_period":"Periodo interessi","liability_type":"Tipo di passività","liability_direction":"Passività in entrata/uscita","currentBalance":"Saldo corrente","next_expected_match":"Prossimo abbinamento previsto"},"config":{"html_language":"it","week_in_year_fns":"\'Settimana\' w, yyyy","month_and_day_fns":"d MMMM y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Sparegris","percentage":"pct.","amount":"Beløp","lastActivity":"Siste aktivitet","name":"Navn","role":"Rolle","description":"Beskrivelse","date":"Dato","source_account":"Kildekonto","destination_account":"Målkonto","category":"Kategori","iban":"IBAN","interest":"Renter","interest_period":"Interest period","liability_type":"Type gjeld","liability_direction":"Liability in/out","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":"MMMM d, y","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","liability_direction_null_short":"Onbekend","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":"Schuldeiser","liability_direction_debit_short":"Schuldenaar","account_type_debt":"Schuld","account_type_loan":"Lening","left_in_debt":"Verschuldigd bedrag","account_type_mortgage":"Hypotheek","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)","transaction_expand_split":"Split uitklappen","transaction_collapse_split":"Split inklappen"},"list":{"piggy_bank":"Spaarpotje","percentage":"pct","amount":"Bedrag","lastActivity":"Laatste activiteit","name":"Naam","role":"Rol","description":"Omschrijving","date":"Datum","source_account":"Bronrekening","destination_account":"Doelrekening","category":"Categorie","iban":"IBAN","interest":"Rente","interest_period":"Renteperiode","liability_type":"Type passiva","liability_direction":"Passiva in- of uitgaand","currentBalance":"Huidig saldo","next_expected_match":"Volgende verwachte match"},"config":{"html_language":"nl","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"d MMMM y","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","liability_direction_null_short":"Nieznane","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":"Dług wobec Ciebie","liability_direction_debit_short":"Jesteś dłużny","account_type_debt":"Dług","account_type_loan":"Pożyczka","left_in_debt":"Do zapłaty","account_type_mortgage":"Hipoteka","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)","transaction_expand_split":"Rozwiń podział","transaction_collapse_split":"Zwiń podział"},"list":{"piggy_bank":"Skarbonka","percentage":"%","amount":"Kwota","lastActivity":"Ostatnia aktywność","name":"Nazwa","role":"Rola","description":"Opis","date":"Data","source_account":"Konto źródłowe","destination_account":"Konto docelowe","category":"Kategoria","iban":"IBAN","interest":"Odsetki","interest_period":"Okres odsetkowy","liability_type":"Rodzaj zobowiązania","liability_direction":"Zobowiązania przychodzące/wychodzące","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":"d MMMM y","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","liability_direction_null_short":"Desconhecida","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Débito","account_type_loan":"Empréstimo","left_in_debt":"Valor devido","account_type_mortgage":"Hipoteca","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)","transaction_expand_split":"Exibir divisão","transaction_collapse_split":"Esconder divisão"},"list":{"piggy_bank":"Cofrinho","percentage":"pct.","amount":"Total","lastActivity":"Última atividade","name":"Nome","role":"Papel","description":"Descrição","date":"Data","source_account":"Conta de origem","destination_account":"Conta de destino","category":"Categoria","iban":"IBAN","interest":"Juros","interest_period":"Período de juros","liability_type":"Tipo de passivo","liability_direction":"Liability in/out","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":"MMMM d, y","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":"Património 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 ativos","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 ativos 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","liability_direction_null_short":"Desconhecido","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":"Deve-lhe esta dívida","liability_direction_debit_short":"Deve esta dívida","account_type_debt":"Dívida","account_type_loan":"Empréstimo","left_in_debt":"Montante em dívida","account_type_mortgage":"Hipoteca","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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Mealheiro","percentage":"%.","amount":"Montante","lastActivity":"Ultima actividade","name":"Nome","role":"Regra","description":"Descricao","date":"Data","source_account":"Conta de origem","destination_account":"Conta de destino","category":"Categoria","iban":"IBAN","interest":"Juro","interest_period":"Período de juros","liability_type":"Tipo de responsabilidade","liability_direction":"Passivo entrada/fora","currentBalance":"Saldo actual","next_expected_match":"Proxima correspondencia esperada"},"config":{"html_language":"pt","week_in_year_fns":"\'Semana\' w, yyyy","month_and_day_fns":"d MMMM, y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Pușculiță","percentage":"procent %","amount":"Sumă","lastActivity":"Ultima activitate","name":"Nume","role":"Rol","description":"Descriere","date":"Dată","source_account":"Contul sursă","destination_account":"Contul de destinație","category":"Categorii","iban":"IBAN","interest":"Interes","interest_period":"Interest period","liability_type":"Tip de provizion","liability_direction":"Liability in/out","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":"MMMM d, y","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":"Включить?","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":"Создать новый долговой счёт","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":"Дебит","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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":"(нет)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Копилка","percentage":"процентов","amount":"Сумма","lastActivity":"Последняя активность","name":"Имя","role":"Роль","description":"Описание","date":"Дата","source_account":"Исходный счет","destination_account":"Счет назначения","category":"Категория","iban":"IBAN","interest":"Процентная ставка","interest_period":"Interest period","liability_type":"Тип ответственности","liability_direction":"Liability in/out","currentBalance":"Текущий баланс","next_expected_match":"Следующий ожидаемый результат"},"config":{"html_language":"ru","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"MMMM d, y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Pokladnička","percentage":"perc.","amount":"Suma","lastActivity":"Posledná aktivita","name":"Meno/Názov","role":"Rola","description":"Popis","date":"Dátum","source_account":"Zdrojový účet","destination_account":"Cieľový účet","category":"Kategória","iban":"IBAN","interest":"Úrok","interest_period":"Interest period","liability_type":"Typ záväzku","liability_direction":"Liability in/out","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":"MMMM d, y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Spargris","percentage":"procent","amount":"Belopp","lastActivity":"Senaste aktivitet","name":"Namn","role":"Roll","description":"Beskrivning","date":"Datum","source_account":"Källkonto","destination_account":"Destinationskonto","category":"Kategori","iban":"IBAN","interest":"Ränta","interest_period":"Interest period","liability_type":"Typ av ansvar","liability_direction":"Liability in/out","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":"MMMM d, y","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ợ","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"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","description":"Mô tả","date":"Ngày","source_account":"Tài khoản gửi","destination_account":"Tài khoản nhận","category":"Danh mục","iban":"IBAN","interest":"Lãi","interest_period":"Interest period","liability_type":"Loại trách nhiệm pháp lý","liability_direction":"Liability in/out","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":"MMMM d, y","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":"欠款","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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":"(空)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"存钱罐","percentage":"%","amount":"金额","lastActivity":"上次活动","name":"名称","role":"角色","description":"描述","date":"日期","source_account":"来源账户","destination_account":"目标账户","category":"分类","iban":"国际银行账户号码(IBAN)","interest":"利息","interest_period":"Interest period","liability_type":"债务类型","liability_direction":"Liability in/out","currentBalance":"目前余额","next_expected_match":"预期下次支付"},"config":{"html_language":"zh-cn","week_in_year_fns":"\'周\' w,yyyy","month_and_day_fns":"MMMM d, y","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":"負債","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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":"(空)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"小豬撲滿","percentage":"pct.","amount":"金額","lastActivity":"上次活動","name":"名稱","role":"角色","description":"描述","date":"日期","source_account":"來源帳戶","destination_account":"目標帳戶","category":"分類","iban":"國際銀行帳戶號碼 (IBAN)","interest":"利率","interest_period":"Interest period","liability_type":"負債類型","liability_direction":"Liability in/out","currentBalance":"目前餘額","next_expected_match":"下一個預期的配對"},"config":{"html_language":"zh-tw","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"MMMM d, y","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=3891,e(e.s=t);var t}));e.O()}]);
+(self.webpackChunk=self.webpackChunk||[]).push([[111],{232:(e,t,a)=>{"use strict";a.r(t);var n=a(7760),o=a.n(n),i=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=i.Z,window.uiv=s,o().use(vuei18n),o().use(s),window.Vue=o()},9899:(e,t,a)=>{"use strict";a.d(t,{Z:()=>D});var n=a(7760),o=a.n(n),i=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),d=a(3894),u=a(584),p=a(7090),g=a(4431),y=a(8358),m=a(4135),h=a(3703);const b={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){console.log("initialiseStore for dashboard."),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,o=new Date;switch(n){case"1D":t=(0,_.Z)(o),a=(0,d.Z)(o);break;case"1W":t=(0,_.Z)((0,u.Z)(o,{weekStartsOn:1})),a=(0,d.Z)((0,p.Z)(o,{weekStartsOn:1}));break;case"1M":t=(0,_.Z)((0,h.Z)(o)),a=(0,d.Z)((0,m.Z)(o));break;case"3M":t=(0,_.Z)((0,g.Z)(o)),a=(0,d.Z)((0,y.Z)(o));break;case"6M":o.getMonth()<=5&&((t=new Date(o)).setMonth(0),t.setDate(1),t=(0,_.Z)(t),(a=new Date(o)).setMonth(5),a.setDate(30),a=(0,d.Z)(t)),o.getMonth()>5&&((t=new Date(o)).setMonth(6),t.setDate(1),t=(0,_.Z)(t),(a=new Date(o)).setMonth(11),a.setDate(31),a=(0,d.Z)(t));break;case"1Y":(t=new Date(o)).setMonth(0),t.setDate(1),t=(0,_.Z)(t),(a=new Date(o)).setMonth(11),a.setDate(31),a=(0,d.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 f=function(){return{listPageSize:33,timezone:"",cacheKey:{age:0,value:"empty"}}},v={initialiseStore:function(e){if(console.log("Now in initialize store."),localStorage.cacheKey){console.log("Storage has cache key: "),console.log(localStorage.cacheKey);var t=JSON.parse(localStorage.cacheKey);Date.now()-t.age>864e5?(console.log("Key is here but is old."),e.commit("refreshCacheKey")):(console.log("Cache key from local storage: "+t.value),e.commit("setCacheKey",t))}else console.log("No key need new one."),e.commit("refreshCacheKey");localStorage.listPageSize&&(f.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&&(f.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 w={namespaced:!0,state:f,getters:{listPageSize:function(e){return e.listPageSize},timezone:function(e){return e.timezone},cacheKey:function(e){return e.cacheKey.value}},actions:v,mutations:{refreshCacheKey:function(e){var t=Date.now(),a=Array(9).join((Math.random().toString(36)+"00000000000000000").slice(2,18)).slice(0,8),n={age:t,value:a};console.log("Store new key in string JSON"),console.log(JSON.stringify(n)),localStorage.cacheKey=JSON.stringify(n),e.cacheKey={age:t,value:a},console.log("Refresh: cachekey is now "+a)},setCacheKey:function(e,t){console.log("Stored cache key in localstorage."),console.log(t),console.log(JSON.stringify(t)),localStorage.cacheKey=JSON.stringify(t),e.cacheKey=t},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 k={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}}};o().use(i.ZP);const D=new i.ZP.Store({namespaced:!0,modules:{root:w,transactions:{namespaced:!0,modules:{create:c,edit:l}},accounts:{namespaced:!0,modules:{index:k}},dashboard:{namespaced:!0,modules:{index:b}}},strict:false,plugins:[],state:{currencyPreference:{},locale:"en-US",listPageSize:50},mutations:{setCurrencyPreference:function(e,t){e.currencyPreference=t.payload},initialiseStore:function(e){if(console.log("Now in initialiseStore()"),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){console.log("Now in updateCurrencyPreference"),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)}})},552:(e,t,a)=>{"use strict";var n=a(7760),o=a.n(n),i=a(9899),s=a(7757),r=a.n(s),c=a(629),l=a(7955),_=a(361);function d(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);"Object"===a&&e.constructor&&(a=e.constructor.name);if("Map"===a||"Set"===a)return Array.from(e);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return u(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a<t;a++)n[a]=e[a];return n}function p(e,t,a,n,o,i,s){try{var r=e[i](s),c=r.value}catch(e){return void a(e)}r.done?t(c):Promise.resolve(c).then(n,o)}function g(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 y(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?g(Object(a),!0).forEach((function(t){m(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):g(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function m(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const h={name:"Index",data:function(){return{transactions:[],transactionRows:[],type:"all",downloaded:!1,loading:!1,ready:!1,fields:[],currentPage:1,perPage:5,total:1,sortBy:"order",sortDesc:!1,api:null,sortableOptions:{disabled:!1,chosenClass:"is-selected",onEnd:null},sortable:null}},watch:{storeReady:function(){this.getTransactionList()},start:function(){this.getTransactionList()},end:function(){this.getTransactionList()},activeFilter:function(e){this.filterAccountList()}},computed:y(y(y({},(0,c.Se)("root",["listPageSize","cacheKey"])),(0,c.Se)("dashboard/index",["start","end"])),{},{indexReady:function(){return null!==this.start&&null!==this.end&&null!==this.listPageSize&&this.ready},cardTitle:function(){return this.$t("firefly."+this.type+"_transactions")}}),created:function(){var e,t=window.location.pathname.split("/");this.type=t[t.length-1],this.perPage=null!==(e=this.listPageSize)&&void 0!==e?e:51,console.log("Per page: "+this.perPage);var a=new URLSearchParams(window.location.search);this.currentPage=a.get("page")?parseInt(a.get("page")):1,this.updateFieldList(),this.ready=!0},methods:y(y({},(0,c.OI)("root",["refreshCacheKey"])),{},{updateFieldList:function(){this.fields=[{key:"type",label:" ",sortable:!1},{key:"description",label:this.$t("list.description"),sortable:!0},{key:"amount",label:this.$t("list.amount"),sortable:!0},{key:"date",label:this.$t("list.date"),sortable:!0},{key:"source_name",label:this.$t("list.source_account"),sortable:!0},{key:"destination_name",label:this.$t("list.destination_account"),sortable:!0},{key:"category_name",label:this.$t("list.category"),sortable:!0},{key:"menu",label:" ",sortable:!1}]},newCacheKey:function(){this.refreshCacheKey(),this.downloaded=!1,this.accounts=[],this.getTransactionList()},getTransactionList:function(){var e;(console.log("getTransactionList()"),!this.indexReady||this.loading||this.downloaded)||(console.log("Index ready, not loading and not already downloaded. Reset."),this.loading=!0,this.perPage=null!==(e=this.listPageSize)&&void 0!==e?e:51,this.transactions=[],this.transactionRows=[],this.downloadTransactionList(1))},downloadTransactionList:function(e){var t=this;console.log("downloadTransactionList("+e+")"),(0,_.y)().then(function(){var a,n=(a=r().mark((function a(n){var o,i;return r().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:o=(0,l.Z)(t.start,"y-MM-dd"),i=(0,l.Z)(t.end,"y-MM-dd"),n.get("./api/v1/transactions?type="+t.type+"&page="+e+"&start="+o+"&end="+i+"&cache="+t.cacheKey).then((function(e){var a;t.total=parseInt(e.data.meta.pagination.total),(a=t.transactions).push.apply(a,d(e.data.data)),t.downloaded=!0,t.createTransactionRows()}));case 3:case"end":return a.stop()}}),a)})),function(){var e=this,t=arguments;return new Promise((function(n,o){var i=a.apply(e,t);function s(e){p(i,n,o,s,r,"next",e)}function r(e){p(i,n,o,s,r,"throw",e)}s(void 0)}))});return function(e){return n.apply(this,arguments)}}())},createTransactionRows:function(){for(var e in this.transactionRows=[],this.transactions){var t=this.transactions[e],a=this.getTransactionRow(t,0);if(this.transactionRows.push(a),t.attributes.transactions.length>1&&(a.description=t.attributes.group_title,a.split=!0,a.collapsed=!0===t.collapsed||void 0===t.collapsed,a.amount=t.attributes.transactions.map((function(e){return Number(e.amount)})).reduce((function(e,t){return e+t})),a.source_name="",a.source_id="",a.destination_name="",a.destination_id="",!a.collapsed))for(var n=0;n<t.attributes.transactions.length;n++){var o=this.getTransactionRow(t,n);o.key=o.id+"."+n,o.split=!0,o.split_index=n+1,o.split_parent=a,this.transactionRows.push(o)}}this.loading=!1},getTransactionRow:function(e,t){var a={},n=e.attributes.transactions[t];return a.key=e.id,a.id=e.id,a.type=n.type,a.description=n.description,a.amount=n.amount,a.currency_code=n.currency_code,a.date=new Date(n.date),a.date_formatted=(0,l.Z)(a.date,this.$t("config.month_and_day_fns")),a.source_name=n.source_name,a.source_id=n.source_id,a.destination_name=n.destination_name,a.destination_id=n.destination_id,a.category_id=n.category_id,a.category_name=n.category_name,a.split=!1,a.split_index=0,a.split_parent=null,a},toggleCollapse:function(e){var t=this.transactions.filter((function(t){return t.id===e.id}))[0];void 0===t.collapsed?t.collapsed=!1:t.collapsed=!t.collapsed,this.createTransactionRows()},tableSortCompare:function(e,t,a,n,o,i,s){var r=e[a],c=t[a];if(e.id===t.id){if(null===e.split_parent)return n?1:-1;if(null===t.split_parent)return n?-1:1}else e.split&&null!==e.split_parent&&(r=e.split_parent[a]),t.split&&null!==t.split_parent&&(c=t.split_parent[a]);return"number"==typeof r&&"number"==typeof c||r instanceof Date&&c instanceof Date?r<c?-1:r>c?1:0:l(r).localeCompare(l(c),s,i);function l(e){return null==e?"":e instanceof Object?Object.keys(e).sort().map((function(t){return l(e[t])})).join(" "):String(e)}}})};const b=(0,a(1900).Z)(h,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[e._m(0),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-lg-8 col-md-6 col-sm-12 col-xs-12"},[a("b-pagination",{attrs:{"total-rows":e.total,"per-page":e.perPage,"aria-controls":"my-table"},model:{value:e.currentPage,callback:function(t){e.currentPage=t},expression:"currentPage"}})],1),e._v(" "),a("div",{staticClass:"col-lg-4 col-md-6 col-sm-12 col-xs-12"},[a("button",{staticClass:"btn btn-sm float-right btn-info",on:{click:e.newCacheKey}},[a("span",{staticClass:"fas fa-sync"})])])]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-body p-0"},[a("b-table",{ref:"table",attrs:{id:"my-table",small:"",striped:"",hover:"",responsive:"md","primary-key":"key","no-local-sorting":!1,items:e.transactionRows,fields:e.fields,"per-page":e.perPage,"sort-icon-left":"","current-page":e.currentPage,busy:e.loading,"sort-desc":e.sortDesc,"sort-compare":e.tableSortCompare},on:{"update:busy":function(t){e.loading=t},"update:sortDesc":function(t){e.sortDesc=t},"update:sort-desc":function(t){e.sortDesc=t}},scopedSlots:e._u([{key:"table-busy",fn:function(){return[a("span",{staticClass:"fa fa-spinner"})]},proxy:!0},{key:"cell(type)",fn:function(t){return[t.item.split&&null!==t.item.split_parent?e._e():a("span",["deposit"===t.item.type?a("span",{staticClass:"fas fa-long-arrow-alt-right"}):"withdrawal"===t.item.type?a("span",{staticClass:"fas fa-long-arrow-alt-left"}):"transfer"===t.item.type?a("span",{staticClass:"fas fa-long-arrows-alt-h"}):e._e()])]}},{key:"cell(description)",fn:function(t){return[t.item.split&&null!==t.item.split_parent?a("span",{staticClass:"fas fa-angle-right"}):e._e(),e._v(" "),a("a",{class:!1===t.item.active?"text-muted":"",attrs:{href:"./transactions/show/"+t.item.id,title:t.value}},[e._v(e._s(t.value))])]}},{key:"cell(amount)",fn:function(t){return["deposit"===t.item.type?a("span",{staticClass:"text-success"},[e._v("\n "+e._s(Intl.NumberFormat("en-US",{style:"currency",currency:t.item.currency_code}).format(t.item.amount))+"\n ")]):"withdrawal"===t.item.type?a("span",{staticClass:"text-danger"},[e._v("\n "+e._s(Intl.NumberFormat("en-US",{style:"currency",currency:t.item.currency_code}).format(-t.item.amount))+"\n ")]):"transfer"===t.item.type?a("span",{staticClass:"text-muted"},[e._v("\n "+e._s(Intl.NumberFormat("en-US",{style:"currency",currency:t.item.currency_code}).format(t.item.amount))+"\n ")]):e._e()]}},{key:"cell(date)",fn:function(t){return[e._v("\n "+e._s(t.item.date_formatted)+"\n ")]}},{key:"cell(source_account)",fn:function(t){return[a("a",{class:!1===t.item.active?"text-muted":"",attrs:{href:"./accounts/show/"+t.item.source_id,title:t.item.source_name}},[e._v(e._s(t.item.source_name))])]}},{key:"cell(destination_account)",fn:function(t){return[a("a",{class:!1===t.item.active?"text-muted":"",attrs:{href:"./accounts/show/"+t.item.destination_id,title:t.item.destination_name}},[e._v(e._s(t.item.destination_name))])]}},{key:"cell(menu)",fn:function(t){return[t.item.split&&null!==t.item.split_parent?e._e():a("div",{staticClass:"btn-group btn-group-sm"},[a("div",{staticClass:"dropdown"},[a("button",{staticClass:"btn btn-light btn-sm dropdown-toggle",attrs:{type:"button",id:"dropdownMenuButton"+t.item.id,"data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"}},[e._v("\n "+e._s(e.$t("firefly.actions"))+"\n ")]),e._v(" "),a("div",{staticClass:"dropdown-menu",attrs:{"aria-labelledby":"dropdownMenuButton"+t.item.id}},[a("a",{staticClass:"dropdown-item",attrs:{href:"./transactions/edit/"+t.item.id}},[a("span",{staticClass:"fa fas fa-pencil-alt"}),e._v(" "+e._s(e.$t("firefly.edit")))]),e._v(" "),a("a",{staticClass:"dropdown-item",attrs:{href:"./transactions/delete/"+t.item.id}},[a("span",{staticClass:"fa far fa-trash"}),e._v(" "+e._s(e.$t("firefly.delete")))])])])]),e._v(" "),t.item.split&&null===t.item.split_parent&&!0===t.item.collapsed?a("div",{staticClass:"btn btn-light btn-sm",on:{click:function(a){return e.toggleCollapse(t.item)}}},[a("span",{staticClass:"fa fa-caret-down"}),e._v("\n "+e._s(e.$t("firefly.transaction_expand_split"))+"\n ")]):t.item.split&&null===t.item.split_parent&&!1===t.item.collapsed?a("div",{staticClass:"btn btn-light btn-sm",on:{click:function(a){return e.toggleCollapse(t.item)}}},[a("span",{staticClass:"fa fa-caret-up"}),e._v("\n "+e._s(e.$t("firefly.transaction_collapse_split"))+"\n ")]):e._e()]}},{key:"cell(category)",fn:function(t){return[e._v("\n "+e._s(t.item.category_name)+"\n ")]}}])})],1),e._v(" "),a("div",{staticClass:"card-footer"},[a("a",{staticClass:"btn btn-success",attrs:{href:"./transactions/create/"+e.type,title:e.$t("firefly.create_new_transaction")}},[e._v(e._s(e.$t("firefly.create_new_transaction")))])])])])]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-lg-8 col-md-6 col-sm-12 col-xs-12"},[a("b-pagination",{attrs:{"total-rows":e.total,"per-page":e.perPage,"aria-controls":"my-table"},model:{value:e.currentPage,callback:function(t){e.currentPage=t},expression:"currentPage"}})],1),e._v(" "),a("div",{staticClass:"col-lg-4 col-md-6 col-sm-12 col-xs-12"},[a("button",{staticClass:"btn btn-sm float-right btn-info",on:{click:e.newCacheKey}},[a("span",{staticClass:"fas fa-sync"})])])]),e._v(" "),e._m(1)])}),[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-body"},[e._v("\n Treemap categories?\n ")])])]),e._v(" "),a("div",{staticClass:"col"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-body"},[e._v("\n Treemap accounts?\n ")])])])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-2 col-lg-4 col-sm-6 col-xs-12"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[e._v("I am title")])]),e._v(" "),a("div",{staticClass:"card-body"},[e._v("\n Box previous periods\n ")])])])])}],!1,null,null,null).exports;var f=a(459),v=a(9559),w=a(3938);a(232);var k=a(157),D={};o().component("b-table",f.h),o().component("b-pagination",v.c),new(o())({i18n:k,store:i.Z,render:function(e){return e(b,{props:D})},beforeCreate:function(){this.$store.commit("initialiseStore"),this.$store.dispatch("updateCurrencyPreference"),this.$store.dispatch("root/initialiseStore"),this.$store.dispatch("dashboard/index/initialiseStore")}}).$mount("#transactions_index"),new(o())({i18n:k,store:i.Z,el:"#calendar",render:function(e){return e(w.Z,{props:D})}})},361:(e,t,a)=>{"use strict";a.d(t,{y:()=>u});var n=a(7757),o=a.n(n),i=a(9483),s=a.n(i),r=a(881),c=a.n(r),l=a(5974);function _(e,t,a,n,o,i,s){try{var r=e[i](s),c=r.value}catch(e){return void a(e)}r.done?t(c):Promise.resolve(c).then(n,o)}function d(e){return function(){var t=this,a=arguments;return new Promise((function(n,o){var i=e.apply(t,a);function s(e){_(i,n,o,s,r,"next",e)}function r(e){_(i,n,o,s,r,"throw",e)}s(void 0)}))}}function u(){return p.apply(this,arguments)}function p(){return(p=d(o().mark((function e(){var t,a;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s().defineDriver(c());case 2:return t=s().createInstance({driver:[s().INDEXEDDB,s().LOCALSTORAGE,c()._driver],name:"my-cache"}),a=document.head.querySelector('meta[name="csrf-token"]'),e.abrupt("return",(0,l.setup)({baseURL:"./",headers:{"X-CSRF-TOKEN":a.content,"X-James-Rocks":"oh yes"},cache:{maxAge:864e5,readHeaders:!1,exclude:{query:!1},debug:!0,store:t}}));case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},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 o(){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$:()=>o})},444:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(4015),o=a.n(n),i=a(3645),s=a.n(i)()(o());s.push([e.id,".dropdown-item[data-v-0f404e99],.dropdown-item[data-v-0f404e99]:hover{color:#212529}","",{version:3,sources:["webpack://./src/components/dashboard/Calendar.vue"],names:[],mappings:"AAslBA,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 ><span class=\"fas fa-calendar-alt\"></span></button>\n <button :title=\"$t('firefly.reset_to_current')\"\n class=\"btn btn-secondary\"\n @click=\"resetDate\"\n ><span class=\"fas fa-history\"></span></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 <span class=\"fas fa-list\"></span>\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 console.log('Now in calendar 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 = 'tbd';\n let half = 1;\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 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\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 r=s},3938:(e,t,a)=>{"use strict";a.d(t,{Z:()=>B});var n=a(629),o=a(7760),i=a.n(o),s=a(6782),r=a.n(s),c=a(7069),l=a(7349),_=a(1640),d=a(9119),u=a(3894),p=a(584),g=a(7090),y=a(4135),m=a(7955),h=a(4431),b=a(4559),f=a(8358),v=a(8793),w=a(8791),k=a(3703);function D(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 S(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?D(Object(a),!0).forEach((function(t){z(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):D(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function z(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var I=(0,n._p)("dashboard/index"),A=(I.mapState,I.mapGetters),j=(I.mapActions,I.mapMutations);i().component("date-picker",r());const C={name:"Calendar",created:function(){var e;console.log("Now in calendar created"),this.ready=!0,this.locale=null!==(e=localStorage.locale)&&void 0!==e?e:"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(){console.log("Reset date to"),console.log(this.defaultStart),console.log(this.defaultEnd),this.range.start=this.defaultStart,this.range.end=this.defaultEnd,this.setStart(this.defaultStart),this.setEnd(this.defaultEnd)},customDate:function(e,t){var a=new Date(e),n=new Date(t);return this.setStart(a),this.setEnd(n),this.range.start=a,this.range.end=n,this.generatePeriods(),!1},generateDaily:function(){var e=new Date(this.range.start);this.periods.push({start:(0,d.Z)((0,c.Z)(e,1)).toDateString(),end:(0,u.Z)((0,c.Z)(e,1)).toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long",day:"numeric"}).format((0,c.Z)(e,1))}),this.periods.push({start:(0,d.Z)(e).toDateString(),end:(0,u.Z)(e).toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long",day:"numeric"}).format(e)}),this.periods.push({start:(0,d.Z)((0,l.Z)(e,1)).toDateString(),end:(0,u.Z)((0,l.Z)(e,1)).toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long",day:"numeric"}).format((0,l.Z)(e,1))}),this.periods.push({start:(0,d.Z)((0,l.Z)(e,2)).toDateString(),end:(0,u.Z)((0,l.Z)(e,2)).toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long",day:"numeric"}).format((0,l.Z)(e,2))})},generateWeekly:function(){var e=new Date(this.range.start),t=(0,d.Z)((0,p.Z)((0,c.Z)(e,7),{weekStartsOn:1})),a=(0,u.Z)((0,g.Z)((0,c.Z)(e,7),{weekStartsOn:1})),n=this.$t("config.week_in_year_fns"),o=(0,m.Z)(t,n);this.periods.push({start:t.toDateString(),end:a.toDateString(),title:o}),t=(0,d.Z)((0,p.Z)(e,{weekStartsOn:1})),a=(0,u.Z)((0,g.Z)(e,{weekStartsOn:1})),o=(0,m.Z)(t,n),this.periods.push({start:t.toDateString(),end:a.toDateString(),title:o}),t=(0,d.Z)((0,p.Z)((0,l.Z)(e,7),{weekStartsOn:1})),a=(0,u.Z)((0,g.Z)((0,l.Z)(e,7),{weekStartsOn:1})),o=(0,m.Z)(t,n),this.periods.push({start:t.toDateString(),end:a.toDateString(),title:o})},generateMonthly:function(){var e=new Date(this.range.start),t=(0,d.Z)((0,k.Z)((0,b.Z)(e,1))),a=(0,u.Z)((0,y.Z)((0,b.Z)(e,1)));this.periods.push({start:t.toDateString(),end:a.toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long"}).format(t)}),t=(0,d.Z)((0,k.Z)(e)),a=(0,u.Z)((0,y.Z)(e)),this.periods.push({start:t.toDateString(),end:a.toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long"}).format(t)}),t=(0,d.Z)((0,k.Z)((0,_.Z)(e,1))),a=(0,u.Z)((0,y.Z)((0,_.Z)(e,1))),this.periods.push({start:t.toDateString(),end:a.toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long"}).format(t)})},generateQuarterly:function(){var e=new Date(this.range.start),t=(0,d.Z)((0,h.Z)((0,v.Z)(e,1))),a=(0,u.Z)((0,f.Z)((0,v.Z)(e,1))),n=this.$t("config.quarter_fns"),o=(0,m.Z)(t,n);this.periods.push({start:t.toDateString(),end:a.toDateString(),title:o}),t=(0,d.Z)((0,h.Z)(e)),a=(0,u.Z)((0,f.Z)(e)),o=(0,m.Z)(t,n),this.periods.push({start:t.toDateString(),end:a.toDateString(),title:o}),t=(0,d.Z)((0,h.Z)((0,w.Z)(e,1))),a=(0,u.Z)((0,f.Z)((0,w.Z)(e,1))),o=(0,m.Z)(t,n),this.periods.push({start:t.toDateString(),end:a.toDateString(),title:o})},generateHalfYearly:function(){var e,t,a=new Date(this.range.start),n="tbd",o=1;if(a.getMonth()<=5)return(e=a).setFullYear(e.getFullYear()-1),e.setMonth(6),e.setDate(1),(t=e=(0,d.Z)(e)).setMonth(11),t.setDate(31),t=(0,u.Z)(t),o=2,n=(0,m.Z)(e,this.$t("config.half_year_fns",{half:o})),this.periods.push({start:e.toDateString(),end:t.toDateString(),title:n}),(e=a).setMonth(0),e.setDate(1),e=(0,d.Z)(e),(t=a).setMonth(5),t.setDate(30),t=(0,u.Z)(e),o=1,n=(0,m.Z)(e,this.$t("config.half_year_fns",{half:o})),this.periods.push({start:e.toDateString(),end:t.toDateString(),title:n}),(e=a).setMonth(6),e.setDate(1),(t=e=(0,d.Z)(e)).setMonth(11),t.setDate(31),t=(0,u.Z)(t),o=2,n=(0,m.Z)(e,this.$t("config.half_year_fns",{half:o})),void this.periods.push({start:e.toDateString(),end:t.toDateString(),title:n});(e=a).setMonth(0),e.setDate(1),(t=e=(0,d.Z)(e)).setMonth(5),t.setDate(30),t=(0,u.Z)(t),n=(0,m.Z)(e,this.$t("config.half_year_fns",{half:o})),this.periods.push({start:e.toDateString(),end:t.toDateString(),title:n}),(e=a).setMonth(6),e.setDate(1),e=(0,d.Z)(e),(t=a).setMonth(11),t.setDate(31),t=(0,u.Z)(e),o=2,n=(0,m.Z)(e,this.$t("config.half_year_fns",{half:o})),this.periods.push({start:e.toDateString(),end:t.toDateString(),title:n}),(e=a).setMonth(0),e.setDate(1),(t=e=(0,d.Z)(e)).setMonth(5),t.setDate(30),t=(0,u.Z)(t),o=1,n=(0,m.Z)(e,this.$t("config.half_year_fns",{half:o})),this.periods.push({start:e.toDateString(),end:t.toDateString(),title:n})},generateYearly:function(){var e,t,a=new Date(this.range.start);(e=new Date(a)).setFullYear(e.getFullYear()-1),e.setMonth(0),e.setDate(1),e=(0,d.Z)(e),(t=new Date(a)).setFullYear(t.getFullYear()-1),t.setMonth(11),t.setDate(31),t=(0,u.Z)(t),this.periods.push({start:e.toDateString(),end:t.toDateString(),title:e.getFullYear()}),(e=new Date(a)).setMonth(0),e.setDate(1),e=(0,d.Z)(e),(t=new Date(a)).setMonth(11),t.setDate(31),t=(0,u.Z)(t),this.periods.push({start:e.toDateString(),end:t.toDateString(),title:e.getFullYear()}),(e=new Date(a)).setFullYear(e.getFullYear()+1),e.setMonth(0),e.setDate(1),e=(0,d.Z)(e),(t=new Date(a)).setFullYear(t.getFullYear()+1),t.setMonth(11),t.setDate(31),t=(0,u.Z)(t),this.periods.push({start:e.toDateString(),end:t.toDateString(),title:e.getFullYear()})},generatePeriods:function(){switch(this.periods=[],console.log('The view range is "'+this.viewRange+'".'),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 e=new Date,t=new Date;t.setDate(t.getDate()-7),this.periods.push({start:t.toDateString(),end:e.toDateString(),title:this.$t("firefly.last_seven_days")}),t.setDate(t.getDate()-23),this.periods.push({start:t.toDateString(),end:e.toDateString(),title:this.$t("firefly.last_thirty_days")})}}),computed:S(S({},A(["viewRange","start","end","defaultStart","defaultEnd"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready}}),watch:{datesReady:function(e){!1!==e&&(this.range.start=new Date(this.start),this.range.end=new Date(this.end),this.generatePeriods())},range:function(e){this.setStart(e.start),this.setEnd(e.end)}}};var x=a(3379),T=a.n(x),P=a(444),M={insert:"head",singleton:!1};T()(P.Z,M);P.Z.locals;const B=(0,a(1900).Z)(C,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[e._v("Start")]),e._v(" "),a("div",{staticClass:"col-8"},[e._v(e._s(new Intl.DateTimeFormat(e.locale,{year:"numeric",month:"long",day:"numeric"}).format(e.range.start)))])]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[e._v("End")]),e._v(" "),a("div",{staticClass:"col-8"},[e._v(e._s(new Intl.DateTimeFormat(e.locale,{year:"numeric",month:"long",day:"numeric"}).format(e.range.end)))])]),e._v(" "),a("date-picker",{attrs:{rows:2,"is-range":"",mode:"date"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.inputValue,o=t.inputEvents,i=t.isDragging,s=t.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:e.$t("firefly.custom_period")},on:{click:function(e){return s({placement:"auto-start",positionFixed:!0})}}},[a("span",{staticClass:"fas fa-calendar-alt"})]),e._v(" "),a("button",{staticClass:"btn btn-secondary",attrs:{title:e.$t("firefly.reset_to_current")},on:{click:e.resetDate}},[a("span",{staticClass:"fas fa-history"})]),e._v(" "),a("button",{staticClass:"btn btn-secondary dropdown-toggle",attrs:{id:"dropdownMenuButton",title:e.$t("firefly.select_period"),"aria-expanded":"false","aria-haspopup":"true","data-toggle":"dropdown",type:"button"}},[a("span",{staticClass:"fas fa-list"})]),e._v(" "),a("div",{staticClass:"dropdown-menu",attrs:{"aria-labelledby":"dropdownMenuButton"}},e._l(e.periods,(function(t){return a("a",{staticClass:"dropdown-item",attrs:{href:"#"},on:{click:function(a){return e.customDate(t.start,t.end)}}},[e._v(e._s(t.title))])})),0)]),e._v(" "),a("input",e._g({class:i?"text-gray-600":"text-gray-900",attrs:{type:"hidden"},domProps:{value:n.start}},o.start)),e._v(" "),a("input",e._g({class:i?"text-gray-600":"text-gray-900",attrs:{type:"hidden"},domProps:{value:n.end}},o.end))])])]}}]),model:{value:e.range,callback:function(t){e.range=t},expression:"range"}})],1)}),[],!1,null,"0f404e99",null).exports},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":"Дълг","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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":"(нищо)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Касичка","percentage":"%","amount":"Сума","lastActivity":"Последна активност","name":"Име","role":"Привилегии","description":"Описание","date":"Дата","source_account":"Разходна сметка","destination_account":"Приходна сметка","category":"Категория","iban":"IBAN","interest":"Лихва","interest_period":"Interest period","liability_type":"Вид на задължението","liability_direction":"Liability in/out","currentBalance":"Текущ баланс","next_expected_match":"Следващo очакванo съвпадение"},"config":{"html_language":"bg","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"MMMM d, y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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é)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Pokladnička","percentage":"%","amount":"Částka","lastActivity":"Poslední aktivita","name":"Jméno","role":"Role","description":"Popis","date":"Datum","source_account":"Zdrojový účet","destination_account":"Cílový účet","category":"Kategorie","iban":"IBAN","interest":"Úrok","interest_period":"Interest period","liability_type":"Typ závazku","liability_direction":"Liability in/out","currentBalance":"Aktuální zůstatek","next_expected_match":"Další očekávaná shoda"},"config":{"html_language":"cs","week_in_year_fns":"\\"týden\\" w, yyyy","month_and_day_fns":"MMMM d, y","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":"Einnahmen anzeigen","go_to_categories":"Kategorien anzeigen","expense_accounts":"Ausgabekonten","go_to_expenses":"Ausgaben anzeigen","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","liability_direction_null_short":"Unbekannt","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":"Geschuldeter Betrag","liability_direction_debit_short":"Schuldiger Betrag","account_type_debt":"Schulden","account_type_loan":"Darlehen","left_in_debt":"Fälliger Betrag","account_type_mortgage":"Hypothek","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)","transaction_expand_split":"Aufteilung erweitern","transaction_collapse_split":"Aufteilung reduzieren"},"list":{"piggy_bank":"Sparschwein","percentage":"%","amount":"Betrag","lastActivity":"Letzte Aktivität","name":"Name","role":"Rolle","description":"Beschreibung","date":"Datum","source_account":"Quellkonto","destination_account":"Zielkonto","category":"Kategorie","iban":"IBAN","interest":"Zinsen","interest_period":"Zinsperiode","liability_type":"Verbindlichkeitsart","liability_direction":"Verbindlichkeit ein/aus","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":"D. MMMM Y","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":"Χρέος","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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":"(τίποτα)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Κουμπαράς","percentage":"pct.","amount":"Ποσό","lastActivity":"Τελευταία δραστηριότητα","name":"Όνομα","role":"Ρόλος","description":"Περιγραφή","date":"Ημερομηνία","source_account":"Λογαριασμός προέλευσης","destination_account":"Λογαριασμός προορισμού","category":"Κατηγορία","iban":"IBAN","interest":"Τόκος","interest_period":"Interest period","liability_type":"Τύπος υποχρέωσης","liability_direction":"Liability in/out","currentBalance":"Τρέχον υπόλοιπο","next_expected_match":"Επόμενη αναμενόμενη αντιστοίχιση"},"config":{"html_language":"el","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"MMMM d, y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","lastActivity":"Last activity","name":"Name","role":"Role","description":"Description","date":"Date","source_account":"Source account","destination_account":"Destination account","category":"Category","iban":"IBAN","interest":"Interest","interest_period":"Interest period","liability_type":"Type of liability","liability_direction":"Liability in/out","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":"MMMM d, y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","lastActivity":"Last activity","name":"Name","role":"Role","description":"Description","date":"Date","source_account":"Source account","destination_account":"Destination account","category":"Category","iban":"IBAN","interest":"Interest","interest_period":"Interest period","liability_type":"Type of liability","liability_direction":"Liability in/out","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"MMMM d, y","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","liability_direction_null_short":"Desconocido","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":"Tenía esta deuda","liability_direction_debit_short":"Tiene esta deuda","account_type_debt":"Deuda","account_type_loan":"Préstamo","left_in_debt":"Importe debido","account_type_mortgage":"Hipoteca","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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Alcancilla","percentage":"pct.","amount":"Monto","lastActivity":"Actividad más reciente","name":"Nombre","role":"Rol","description":"Descripción","date":"Fecha","source_account":"Cuenta origen","destination_account":"Cuenta destino","category":"Categoría","iban":"IBAN","interest":"Interés","interest_period":"Período de interés","liability_type":"Tipo de pasivo","liability_direction":"Pasivo entrada/salida","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":"d MMMM y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Säästöpossu","percentage":"pros.","amount":"Summa","lastActivity":"Viimeisin tapahtuma","name":"Nimi","role":"Rooli","description":"Kuvaus","date":"Päivämäärä","source_account":"Lähdetili","destination_account":"Kohdetili","category":"Kategoria","iban":"IBAN","interest":"Korko","interest_period":"Interest period","liability_type":"Vastuutyyppi","liability_direction":"Liability in/out","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":"MMMM d, y","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","liability_direction_null_short":"Inconnu","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":"Emprunteur","liability_direction_debit_short":"Prêteur","account_type_debt":"Dette","account_type_loan":"Emprunt","left_in_debt":"Montant dû","account_type_mortgage":"Prêt immobilier","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)","transaction_expand_split":"Développer la ventilation","transaction_collapse_split":"Réduire la ventilation"},"list":{"piggy_bank":"Tirelire","percentage":"pct.","amount":"Montant","lastActivity":"Activité récente","name":"Nom","role":"Rôle","description":"Description","date":"Date","source_account":"Compte source","destination_account":"Compte destinataire","category":"Catégorie","iban":"Numéro IBAN","interest":"Intérêt","interest_period":"Période d’intérêt","liability_type":"Type de passif","liability_direction":"Sens du passif","currentBalance":"Solde courant","next_expected_match":"Prochaine association attendue"},"config":{"html_language":"fr","week_in_year_fns":"\'Semaine\' w, yyyy","month_and_day_fns":"d MMMM y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Malacpersely","percentage":"%","amount":"Összeg","lastActivity":"Utolsó aktivitás","name":"Név","role":"Szerepkör","description":"Leírás","date":"Dátum","source_account":"Forrás bankszámla","destination_account":"Cél bankszámla","category":"Kategória","iban":"IBAN","interest":"Kamat","interest_period":"Interest period","liability_type":"A kötelezettség típusa","liability_direction":"Liability in/out","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":"MMMM d, y","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","liability_direction_null_short":"Sconosciuta","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":"Mi devono questo debito","liability_direction_debit_short":"Devo questo debito","account_type_debt":"Debito","account_type_loan":"Prestito","left_in_debt":"Importo da pagare","account_type_mortgage":"Mutuo","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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Salvadanaio","percentage":"perc.","amount":"Importo","lastActivity":"Ultima attività","name":"Nome","role":"Ruolo","description":"Descrizione","date":"Data","source_account":"Conto di origine","destination_account":"Conto destinazione","category":"Categoria","iban":"IBAN","interest":"Interesse","interest_period":"Periodo interessi","liability_type":"Tipo di passività","liability_direction":"Passività in entrata/uscita","currentBalance":"Saldo corrente","next_expected_match":"Prossimo abbinamento previsto"},"config":{"html_language":"it","week_in_year_fns":"\'Settimana\' w, yyyy","month_and_day_fns":"d MMMM y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Sparegris","percentage":"pct.","amount":"Beløp","lastActivity":"Siste aktivitet","name":"Navn","role":"Rolle","description":"Beskrivelse","date":"Dato","source_account":"Kildekonto","destination_account":"Målkonto","category":"Kategori","iban":"IBAN","interest":"Renter","interest_period":"Interest period","liability_type":"Type gjeld","liability_direction":"Liability in/out","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":"MMMM d, y","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","liability_direction_null_short":"Onbekend","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":"Schuldeiser","liability_direction_debit_short":"Schuldenaar","account_type_debt":"Schuld","account_type_loan":"Lening","left_in_debt":"Verschuldigd bedrag","account_type_mortgage":"Hypotheek","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)","transaction_expand_split":"Split uitklappen","transaction_collapse_split":"Split inklappen"},"list":{"piggy_bank":"Spaarpotje","percentage":"pct","amount":"Bedrag","lastActivity":"Laatste activiteit","name":"Naam","role":"Rol","description":"Omschrijving","date":"Datum","source_account":"Bronrekening","destination_account":"Doelrekening","category":"Categorie","iban":"IBAN","interest":"Rente","interest_period":"Renteperiode","liability_type":"Type passiva","liability_direction":"Passiva in- of uitgaand","currentBalance":"Huidig saldo","next_expected_match":"Volgende verwachte match"},"config":{"html_language":"nl","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"d MMMM y","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","liability_direction_null_short":"Nieznane","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":"Dług wobec Ciebie","liability_direction_debit_short":"Jesteś dłużny","account_type_debt":"Dług","account_type_loan":"Pożyczka","left_in_debt":"Do zapłaty","account_type_mortgage":"Hipoteka","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)","transaction_expand_split":"Rozwiń podział","transaction_collapse_split":"Zwiń podział"},"list":{"piggy_bank":"Skarbonka","percentage":"%","amount":"Kwota","lastActivity":"Ostatnia aktywność","name":"Nazwa","role":"Rola","description":"Opis","date":"Data","source_account":"Konto źródłowe","destination_account":"Konto docelowe","category":"Kategoria","iban":"IBAN","interest":"Odsetki","interest_period":"Okres odsetkowy","liability_type":"Rodzaj zobowiązania","liability_direction":"Zobowiązania przychodzące/wychodzące","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":"d MMMM y","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","liability_direction_null_short":"Desconhecida","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Débito","account_type_loan":"Empréstimo","left_in_debt":"Valor devido","account_type_mortgage":"Hipoteca","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)","transaction_expand_split":"Exibir divisão","transaction_collapse_split":"Esconder divisão"},"list":{"piggy_bank":"Cofrinho","percentage":"pct.","amount":"Total","lastActivity":"Última atividade","name":"Nome","role":"Papel","description":"Descrição","date":"Data","source_account":"Conta de origem","destination_account":"Conta de destino","category":"Categoria","iban":"IBAN","interest":"Juros","interest_period":"Período de juros","liability_type":"Tipo de passivo","liability_direction":"Liability in/out","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":"MMMM d, y","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":"Património 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 ativos","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 ativos 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","liability_direction_null_short":"Desconhecido","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":"Deve-lhe esta dívida","liability_direction_debit_short":"Deve esta dívida","account_type_debt":"Dívida","account_type_loan":"Empréstimo","left_in_debt":"Montante em dívida","account_type_mortgage":"Hipoteca","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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Mealheiro","percentage":"%.","amount":"Montante","lastActivity":"Ultima actividade","name":"Nome","role":"Regra","description":"Descricao","date":"Data","source_account":"Conta de origem","destination_account":"Conta de destino","category":"Categoria","iban":"IBAN","interest":"Juro","interest_period":"Período de juros","liability_type":"Tipo de responsabilidade","liability_direction":"Passivo entrada/fora","currentBalance":"Saldo actual","next_expected_match":"Proxima correspondencia esperada"},"config":{"html_language":"pt","week_in_year_fns":"\'Semana\' w, yyyy","month_and_day_fns":"d MMMM, y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Pușculiță","percentage":"procent %","amount":"Sumă","lastActivity":"Ultima activitate","name":"Nume","role":"Rol","description":"Descriere","date":"Dată","source_account":"Contul sursă","destination_account":"Contul de destinație","category":"Categorii","iban":"IBAN","interest":"Interes","interest_period":"Interest period","liability_type":"Tip de provizion","liability_direction":"Liability in/out","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":"MMMM d, y","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":"Включить?","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":"Создать новый долговой счёт","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":"Дебит","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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":"(нет)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Копилка","percentage":"процентов","amount":"Сумма","lastActivity":"Последняя активность","name":"Имя","role":"Роль","description":"Описание","date":"Дата","source_account":"Исходный счет","destination_account":"Счет назначения","category":"Категория","iban":"IBAN","interest":"Процентная ставка","interest_period":"Interest period","liability_type":"Тип ответственности","liability_direction":"Liability in/out","currentBalance":"Текущий баланс","next_expected_match":"Следующий ожидаемый результат"},"config":{"html_language":"ru","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"MMMM d, y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Pokladnička","percentage":"perc.","amount":"Suma","lastActivity":"Posledná aktivita","name":"Meno/Názov","role":"Rola","description":"Popis","date":"Dátum","source_account":"Zdrojový účet","destination_account":"Cieľový účet","category":"Kategória","iban":"IBAN","interest":"Úrok","interest_period":"Interest period","liability_type":"Typ záväzku","liability_direction":"Liability in/out","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":"MMMM d, y","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","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"Spargris","percentage":"procent","amount":"Belopp","lastActivity":"Senaste aktivitet","name":"Namn","role":"Roll","description":"Beskrivning","date":"Datum","source_account":"Källkonto","destination_account":"Destinationskonto","category":"Kategori","iban":"IBAN","interest":"Ränta","interest_period":"Interest period","liability_type":"Typ av ansvar","liability_direction":"Liability in/out","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":"MMMM d, y","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ợ","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"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","description":"Mô tả","date":"Ngày","source_account":"Tài khoản gửi","destination_account":"Tài khoản nhận","category":"Danh mục","iban":"IBAN","interest":"Lãi","interest_period":"Interest period","liability_type":"Loại trách nhiệm pháp lý","liability_direction":"Liability in/out","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":"MMMM d, y","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":"欠款","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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":"(空)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"存钱罐","percentage":"%","amount":"金额","lastActivity":"上次活动","name":"名称","role":"角色","description":"描述","date":"日期","source_account":"来源账户","destination_account":"目标账户","category":"分类","iban":"国际银行账户号码(IBAN)","interest":"利息","interest_period":"Interest period","liability_type":"债务类型","liability_direction":"Liability in/out","currentBalance":"目前余额","next_expected_match":"预期下次支付"},"config":{"html_language":"zh-cn","week_in_year_fns":"\'周\' w,yyyy","month_and_day_fns":"MMMM d, y","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":"負債","liability_direction_null_short":"Unknown","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":"Owed this debt","liability_direction_debit_short":"Owe this debt","account_type_debt":"Debt","account_type_loan":"Loan","left_in_debt":"Amount due","account_type_mortgage":"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":"(空)","transaction_expand_split":"Expand split","transaction_collapse_split":"Collapse split"},"list":{"piggy_bank":"小豬撲滿","percentage":"pct.","amount":"金額","lastActivity":"上次活動","name":"名稱","role":"角色","description":"描述","date":"日期","source_account":"來源帳戶","destination_account":"目標帳戶","category":"分類","iban":"國際銀行帳戶號碼 (IBAN)","interest":"利率","interest_period":"Interest period","liability_type":"負債類型","liability_direction":"Liability in/out","currentBalance":"目前餘額","next_expected_match":"下一個預期的配對"},"config":{"html_language":"zh-tw","week_in_year_fns":"\'Week\' w, yyyy","month_and_day_fns":"MMMM d, y","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=552,e(e.s=t);var t}));e.O()}]);
//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/public/v2/js/transactions/index.js.map b/public/v2/js/transactions/index.js.map
index 9f5b331c42..3756127bff 100755
--- a/public/v2/js/transactions/index.js.map
+++ b/public/v2/js/transactions/index.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/Index.vue","webpack:///./src/components/transactions/Index.vue?8003","webpack:///./src/components/transactions/Index.vue","webpack:///./src/components/transactions/Index.vue?1acc","webpack:///./src/pages/transactions/index.js","webpack:///./src/shared/forageStore.js","webpack:///./src/shared/transactions.js","webpack:///./src/components/dashboard/Calendar.vue?530c","webpack:///./src/components/dashboard/Calendar.vue?5cae","webpack:///src/components/dashboard/Calendar.vue","webpack:///./src/components/dashboard/Calendar.vue?6b2f","webpack:///./src/components/dashboard/Calendar.vue?2541","webpack:///./src/components/dashboard/Calendar.vue"],"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","log","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","cacheKey","age","object","JSON","parse","now","parseInt","refreshCacheKey","Array","N","join","Math","random","toString","slice","stringify","setCacheKey","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","currencyResponse","name","symbol","decimal_places","err","module","exports","documentElement","lang","fallbackLocale","messages","transactionRows","type","downloaded","loading","ready","fields","currentPage","perPage","total","sortBy","sortDesc","api","sortableOptions","disabled","chosenClass","onEnd","sortable","watch","storeReady","this","getTransactionList","filterAccountList","computed","cardTitle","$t","created","parts","params","updateFieldList","methods","newCacheKey","indexReady","downloadTransactionList","page","createTransactionRows","transactionRow","transaction","description","group_title","split","collapsed","undefined","amount","source_name","source_id","destination_name","destination_id","splitTransactionRow","key","split_index","split_parent","getTransactionRow","currentTransaction","currency_code","date","date_formatted","category_id","category_name","toggleCollapse","tableSortCompare","aRow","bRow","a","b","localeCompare","compareLocale","compareOptions","Object","keys","String","_vm","_h","$createElement","_c","_self","_m","_v","staticClass","attrs","model","callback","$$v","expression","on","ref","$event","scopedSlots","_u","fn","proxy","item","_e","class","active","_s","Intl","NumberFormat","style","currency","format","i18n","props","BTable","BPagination","store","render","createElement","Index","beforeCreate","$store","$mount","el","Calendar","configureAxios","localforage","memoryDriver","forageStore","driver","setup","baseURL","cache","maxAge","readHeaders","exclude","query","debug","source","destination","foreign_currency","foreign_amount","custom_dates","budget","category","bill","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_id","currency_name","currency_decimal_places","destination_account","foreign_currency_id","budget_id","bill_id","piggy_bank_id","external_id","links","zoom_level","longitude","latitude","___CSS_LOADER_EXPORT___","defaultRange","periods","resetDate","customDate","generatePeriods","generateDaily","generateWeekly","title","generateMonthly","generateQuarterly","generateHalfYearly","setFullYear","getFullYear","half","generateYearly","getDate","datesReady","options","DateTimeFormat","year","month","day","inputValue","inputEvents","isDragging","togglePopover","placement","positionFixed","_l","period","_g","domProps"],"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,qBA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js/transactions/index.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// See reference nr. 1\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 for dashboard.');\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 cacheKey: {\n age: 0,\n value: 'empty',\n },\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 cacheKey: state => {\n return state.cacheKey.value;\n },\n}\n\n// actions\nconst actions = {\n initialiseStore(context) {\n // cache key auto refreshes every day\n console.log('Now in initialize store.')\n if (localStorage.cacheKey) {\n console.log('Storage has cache key: ');\n console.log(localStorage.cacheKey);\n let object = JSON.parse(localStorage.cacheKey);\n if (Date.now() - object.age > 86400000) {\n console.log('Key is here but is old.');\n context.commit('refreshCacheKey');\n } else {\n console.log('Cache key from local storage: ' + object.value);\n context.commit('setCacheKey', object);\n }\n } else {\n console.log('No key need new one.');\n context.commit('refreshCacheKey');\n }\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 refreshCacheKey(state) {\n let age = Date.now();\n let N = 8;\n let cacheKey = Array(N+1).join((Math.random().toString(36)+'00000000000000000').slice(2, 18)).slice(0, N);\n let object = {age: age, value: cacheKey};\n console.log('Store new key in string JSON');\n console.log(JSON.stringify(object));\n localStorage.cacheKey = JSON.stringify(object);\n state.cacheKey = {age: age, value: cacheKey};\n console.log('Refresh: cachekey is now ' + cacheKey);\n },\n setCacheKey(state, payload) {\n console.log('Stored cache key in localstorage.');\n console.log(payload);\n console.log(JSON.stringify(payload));\n localStorage.cacheKey = JSON.stringify(payload);\n state.cacheKey = payload;\n },\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 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 console.log('Now in initialiseStore()')\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 console.log('Now in updateCurrencyPreference');\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 - Index.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 class=\"row\">\n <div class=\"col\">\n <div class=\"card\">\n <div class=\"card-body\">\n Treemap categories?\n </div>\n </div>\n </div>\n <div class=\"col\">\n <div class=\"card\">\n <div class=\"card-body\">\n Treemap accounts?\n </div>\n </div>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-lg-8 col-md-6 col-sm-12 col-xs-12\">\n <b-pagination\n v-model=\"currentPage\"\n :total-rows=\"total\"\n :per-page=\"perPage\"\n aria-controls=\"my-table\"\n ></b-pagination>\n </div>\n <div class=\"col-lg-4 col-md-6 col-sm-12 col-xs-12\">\n <button @click=\"newCacheKey\" class=\"btn btn-sm float-right btn-info\"><span class=\"fas fa-sync\"></span></button>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-lg-8 col-md-12 col-sm-12 col-xs-12\">\n <div class=\"card\">\n <div class=\"card-body p-0\">\n <b-table id=\"my-table\" striped hover responsive=\"md\" primary-key=\"key\" :no-local-sorting=\"false\"\n :items=\"transactionRows\"\n :fields=\"fields\"\n :per-page=\"perPage\"\n sort-icon-left\n ref=\"table\"\n :current-page=\"currentPage\"\n :busy.sync=\"loading\"\n :sort-desc.sync=\"sortDesc\"\n :sort-compare=\"tableSortCompare\"\n >\n <template #table-busy>\n <span class=\"fa fa-spinner\"></span>\n </template>\n <template #cell(type)=\"data\">\n <span v-if=\"! data.item.split || data.item.split_parent === null\">\n <span class=\"fas fa-long-arrow-alt-right\" v-if=\"'deposit' === data.item.type\"></span>\n <span class=\"fas fa-long-arrow-alt-left\" v-else-if=\"'withdrawal' === data.item.type\"></span>\n <span class=\"fas fa-long-arrows-alt-h\" v-else-if=\"'transfer' === data.item.type\"></span>\n </span>\n </template>\n <template #cell(description)=\"data\">\n <span><span class=\"fas fa-angle-right\" v-if=\"data.item.split && data.item.split_parent !== null\"></span></span>\n <a :class=\"false === data.item.active ? 'text-muted' : ''\" :href=\"'./transactions/show/' + data.item.id\" :title=\"data.value\">{{\n data.value\n }}</a>\n </template>\n <template #cell(amount)=\"data\">\n <span class=\"text-success\" v-if=\"'deposit' === data.item.type\">\n {{ Intl.NumberFormat('en-US', {style: 'currency', currency: data.item.currency_code}).format(data.item.amount) }}\n </span>\n\n <span class=\"text-danger\" v-else-if=\"'withdrawal' === data.item.type\">\n {{ Intl.NumberFormat('en-US', {style: 'currency', currency: data.item.currency_code}).format(-data.item.amount) }}\n </span>\n\n <span class=\"text-muted\" v-else-if=\"'transfer' === data.item.type\">\n {{ Intl.NumberFormat('en-US', {style: 'currency', currency: data.item.currency_code}).format(data.item.amount) }}\n </span>\n </template>\n <template #cell(date)=\"data\">\n {{ data.item.date_formatted }}\n </template>\n <template #cell(source_account)=\"data\">\n <a :class=\"false === data.item.active ? 'text-muted' : ''\" :href=\"'./accounts/show/' + data.item.source_id\"\n :title=\"data.item.source_name\">{{ data.item.source_name }}</a>\n </template>\n <template #cell(destination_account)=\"data\">\n <a :class=\"false === data.item.active ? 'text-muted' : ''\" :href=\"'./accounts/show/' + data.item.destination_id\"\n :title=\"data.item.destination_name\">{{ data.item.destination_name }}</a>\n </template>\n <template #cell(menu)=\"data\">\n <div class=\"btn-group btn-group-sm\" v-if=\"! data.item.split || data.item.split_parent === null\">\n <div class=\"dropdown\">\n <button class=\"btn btn-light btn-sm dropdown-toggle\" type=\"button\" :id=\"'dropdownMenuButton' + data.item.id\" data-toggle=\"dropdown\"\n aria-haspopup=\"true\" aria-expanded=\"false\">\n {{ $t('firefly.actions') }}\n </button>\n <div class=\"dropdown-menu\" :aria-labelledby=\"'dropdownMenuButton' + data.item.id\">\n <a class=\"dropdown-item\" :href=\"'./transactions/edit/' + data.item.id\"><span class=\"fa fas fa-pencil-alt\"></span> {{ $t('firefly.edit') }}</a>\n <a class=\"dropdown-item\" :href=\"'./transactions/delete/' + data.item.id\"><span class=\"fa far fa-trash\"></span> {{ $t('firefly.delete') }}</a>\n </div>\n </div>\n </div>\n <div class=\"btn btn-light btn-sm\" v-if=\"data.item.split && data.item.split_parent === null && data.item.collapsed === true\"\n v-on:click=\"toggleCollapse(data.item)\">\n <span class=\"fa fa-caret-down\"></span>\n {{ $t('firefly.transaction_expand_split') }}\n </div>\n <div class=\"btn btn-light btn-sm\" v-else-if=\"data.item.split && data.item.split_parent === null && data.item.collapsed === false\"\n v-on:click=\"toggleCollapse(data.item)\">\n <span class=\"fa fa-caret-up\"></span>\n {{ $t('firefly.transaction_collapse_split') }}\n </div>\n </template>\n <template #cell(category)=\"data\">\n {{ data.item.category_name }}\n </template>\n </b-table>\n </div>\n <div class=\"card-footer\">\n <a :href=\"'./transactions/create/' + type\" class=\"btn btn-success\"\n :title=\"$t('firefly.create_new_transaction')\">{{ $t('firefly.create_new_transaction') }}</a>\n </div>\n </div>\n </div>\n <div class=\"col-lg-4\">\n <div class=\"card\">\n <div class=\"card-body\">\n Box previous periods\n </div>\n </div>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-lg-8 col-md-6 col-sm-12 col-xs-12\">\n <b-pagination\n v-model=\"currentPage\"\n :total-rows=\"total\"\n :per-page=\"perPage\"\n aria-controls=\"my-table\"\n ></b-pagination>\n </div>\n <div class=\"col-lg-4 col-md-6 col-sm-12 col-xs-12\">\n <button @click=\"newCacheKey\" class=\"btn btn-sm float-right btn-info\"><span class=\"fas fa-sync\"></span></button>\n </div>\n </div>\n </div>\n</template>\n\n<script>\n\nimport {mapGetters, mapMutations} from \"vuex\";\nimport format from \"date-fns/format\";\nimport {configureAxios} from \"../../shared/forageStore\";\n\nexport default {\n name: \"Index\",\n data() {\n return {\n transactions: [],\n transactionRows: [],\n type: 'all',\n downloaded: false,\n loading: false,\n ready: false,\n fields: [],\n currentPage: 1,\n perPage: 5,\n total: 1,\n sortBy: 'order',\n sortDesc: false,\n api: null,\n sortableOptions: {\n disabled: false,\n chosenClass: 'is-selected',\n onEnd: null\n },\n sortable: null\n }\n },\n watch: {\n storeReady: function () {\n this.getTransactionList();\n },\n start: function () {\n this.getTransactionList();\n },\n end: function () {\n this.getTransactionList();\n },\n activeFilter: function (value) {\n this.filterAccountList();\n }\n },\n computed: {\n ...mapGetters('root', ['listPageSize', 'cacheKey']),\n ...mapGetters('dashboard/index', ['start', 'end',]),\n 'indexReady': function () {\n return null !== this.start && null !== this.end && null !== this.listPageSize && this.ready;\n },\n cardTitle: function () {\n return this.$t('firefly.' + this.type + '_transactions');\n }\n },\n created() {\n let pathName = window.location.pathname;\n let parts = pathName.split('/');\n this.type = parts[parts.length - 1];\n this.perPage = this.listPageSize ?? 51;\n console.log('Per page: ' + this.perPage);\n\n let params = new URLSearchParams(window.location.search);\n this.currentPage = params.get('page') ? parseInt(params.get('page')) : 1;\n this.updateFieldList();\n this.ready = true;\n\n // make object thing:\n // let token = document.head.querySelector('meta[name=\"csrf-token\"]');\n // this.api = setup(\n // {\n // // `axios` options\n // //baseURL: './',\n // headers: {'X-CSRF-TOKEN': token.content, 'X-James': 'yes'},\n //\n // // `axios-cache-adapter` options\n // cache: {\n // maxAge: 15 * 60 * 1000,\n // readHeaders: false,\n // exclude: {\n // query: false,\n // },\n // debug: true\n // }\n // });\n },\n methods: {\n ...mapMutations('root', ['refreshCacheKey',]),\n updateFieldList: function () {\n this.fields = [\n {key: 'type', label: ' ', sortable: false},\n {key: 'description', label: this.$t('list.description'), sortable: true},\n {key: 'amount', label: this.$t('list.amount'), sortable: true},\n {key: 'date', label: this.$t('list.date'), sortable: true},\n {key: 'source_name', label: this.$t('list.source_account'), sortable: true},\n {key: 'destination_name', label: this.$t('list.destination_account'), sortable: true},\n {key: 'category_name', label: this.$t('list.category'), sortable: true},\n {key: 'menu', label: ' ', sortable: false},\n ];\n },\n newCacheKey: function () {\n this.refreshCacheKey();\n this.downloaded = false;\n this.accounts = [];\n this.getTransactionList();\n },\n getTransactionList: function () {\n console.log('getTransactionList()');\n if (this.indexReady && !this.loading && !this.downloaded) {\n console.log('Index ready, not loading and not already downloaded. Reset.');\n this.loading = true;\n this.perPage = this.listPageSize ?? 51;\n this.transactions = [];\n this.transactionRows = [];\n this.downloadTransactionList(1);\n }\n },\n downloadTransactionList: function (page) {\n console.log('downloadTransactionList(' + page + ')');\n configureAxios().then(async (api) => {\n let startStr = format(this.start, 'y-MM-dd');\n let endStr = format(this.end, 'y-MM-dd');\n api.get('./api/v1/transactions?type=' + this.type + '&page=' + page + \"&start=\" + startStr + \"&end=\" + endStr + '&cache=' + this.cacheKey)\n .then(response => {\n\n //let currentPage = parseInt(response.data.meta.pagination.current_page);\n //let totalPages = parseInt(response.data.meta.pagination.total_pages);\n this.total = parseInt(response.data.meta.pagination.total);\n //console.log('total is ' + this.total);\n this.transactions.push(...response.data.data);\n // if (currentPage < totalPage) {\n // let nextPage = currentPage + 1;\n // this.downloadTransactionList(nextPage);\n // }\n // if (currentPage >= totalPage) {\n // console.log('Looks like all downloaded.');\n this.downloaded = true;\n this.createTransactionRows();\n // }\n\n }\n );\n });\n },\n createTransactionRows: function () {\n this.transactionRows = [];\n for (let i in this.transactions) {\n let transaction = this.transactions[i];\n let transactionRow = this.getTransactionRow(transaction, 0);\n this.transactionRows.push(transactionRow);\n\n if (transaction.attributes.transactions.length > 1) {\n transactionRow.description = transaction.attributes.group_title;\n transactionRow.split = true;\n transactionRow.collapsed = transaction.collapsed === true || transaction.collapsed === undefined;\n transactionRow.amount = transaction.attributes.transactions\n .map(transaction => Number(transaction.amount))\n .reduce((sum, n) => sum + n);\n transactionRow.source_name = '';\n transactionRow.source_id = '';\n transactionRow.destination_name = '';\n transactionRow.destination_id = '';\n\n if (!transactionRow.collapsed) {\n for (let i = 0; i < transaction.attributes.transactions.length; i++) {\n let splitTransactionRow = this.getTransactionRow(transaction, i);\n splitTransactionRow.key = splitTransactionRow.id + \".\" + i\n splitTransactionRow.split = true;\n splitTransactionRow.split_index = i + 1;\n splitTransactionRow.split_parent = transactionRow;\n this.transactionRows.push(splitTransactionRow);\n }\n }\n }\n }\n\n this.loading = false;\n },\n getTransactionRow(transaction, index) {\n let transactionRow = {};\n let currentTransaction = transaction.attributes.transactions[index];\n\n transactionRow.key = transaction.id;\n transactionRow.id = transaction.id;\n transactionRow.type = currentTransaction.type;\n transactionRow.description = currentTransaction.description;\n transactionRow.amount = currentTransaction.amount;\n transactionRow.currency_code = currentTransaction.currency_code;\n transactionRow.date = new Date(currentTransaction.date);\n transactionRow.date_formatted = format(transactionRow.date, this.$t('config.month_and_day_fns'));\n transactionRow.source_name = currentTransaction.source_name;\n transactionRow.source_id = currentTransaction.source_id;\n transactionRow.destination_name = currentTransaction.destination_name;\n transactionRow.destination_id = currentTransaction.destination_id;\n transactionRow.category_id = currentTransaction.category_id;\n transactionRow.category_name = currentTransaction.category_name;\n transactionRow.split = false;\n transactionRow.split_index = 0;\n transactionRow.split_parent = null;\n\n return transactionRow;\n },\n toggleCollapse: function (row) {\n let transaction = this.transactions.filter(transaction => transaction.id === row.id)[0];\n if (transaction.collapsed === undefined) {\n transaction.collapsed = false;\n } else {\n transaction.collapsed = !transaction.collapsed;\n }\n this.createTransactionRows();\n },\n tableSortCompare: function (aRow, bRow, key, sortDesc, formatter, compareOptions, compareLocale) {\n let a = aRow[key]\n let b = bRow[key]\n\n if (aRow.id === bRow.id) {\n // Order split transactions normally when compared to each other, except always put the header first\n if (aRow.split_parent === null) {\n return sortDesc ? 1 : -1;\n } else if (bRow.split_parent === null) {\n return sortDesc ? -1 : 1;\n }\n } else {\n // Sort split transactions based on their parent when compared to other transactions\n if (aRow.split && aRow.split_parent !== null) {\n a = aRow.split_parent[key]\n }\n if (bRow.split && bRow.split_parent !== null) {\n b = bRow.split_parent[key]\n }\n }\n\n if (\n (typeof a === 'number' && typeof b === 'number') ||\n (a instanceof Date && b instanceof Date)\n ) {\n // If both compared fields are native numbers or both are native dates\n return a < b ? -1 : a > b ? 1 : 0\n } else {\n // Otherwise stringify the field data and use String.prototype.localeCompare\n return toString(a).localeCompare(toString(b), compareLocale, compareOptions)\n }\n\n function toString(value) {\n if (value === null || typeof value === 'undefined') {\n return ''\n } else if (value instanceof Object) {\n return Object.keys(value)\n .sort()\n .map(key => toString(value[key]))\n .join(' ')\n } else {\n return String(value)\n }\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!./Index.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!./Index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Index.vue?vue&type=template&id=3a4343f4&\"\nimport script from \"./Index.vue?vue&type=script&lang=js&\"\nexport * from \"./Index.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._m(0),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-lg-8 col-md-6 col-sm-12 col-xs-12\"},[_c('b-pagination',{attrs:{\"total-rows\":_vm.total,\"per-page\":_vm.perPage,\"aria-controls\":\"my-table\"},model:{value:(_vm.currentPage),callback:function ($$v) {_vm.currentPage=$$v},expression:\"currentPage\"}})],1),_vm._v(\" \"),_c('div',{staticClass:\"col-lg-4 col-md-6 col-sm-12 col-xs-12\"},[_c('button',{staticClass:\"btn btn-sm float-right btn-info\",on:{\"click\":_vm.newCacheKey}},[_c('span',{staticClass:\"fas fa-sync\"})])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-lg-8 col-md-12 col-sm-12 col-xs-12\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-body p-0\"},[_c('b-table',{ref:\"table\",attrs:{\"id\":\"my-table\",\"striped\":\"\",\"hover\":\"\",\"responsive\":\"md\",\"primary-key\":\"key\",\"no-local-sorting\":false,\"items\":_vm.transactionRows,\"fields\":_vm.fields,\"per-page\":_vm.perPage,\"sort-icon-left\":\"\",\"current-page\":_vm.currentPage,\"busy\":_vm.loading,\"sort-desc\":_vm.sortDesc,\"sort-compare\":_vm.tableSortCompare},on:{\"update:busy\":function($event){_vm.loading=$event},\"update:sortDesc\":function($event){_vm.sortDesc=$event},\"update:sort-desc\":function($event){_vm.sortDesc=$event}},scopedSlots:_vm._u([{key:\"table-busy\",fn:function(){return [_c('span',{staticClass:\"fa fa-spinner\"})]},proxy:true},{key:\"cell(type)\",fn:function(data){return [(! data.item.split || data.item.split_parent === null)?_c('span',[('deposit' === data.item.type)?_c('span',{staticClass:\"fas fa-long-arrow-alt-right\"}):('withdrawal' === data.item.type)?_c('span',{staticClass:\"fas fa-long-arrow-alt-left\"}):('transfer' === data.item.type)?_c('span',{staticClass:\"fas fa-long-arrows-alt-h\"}):_vm._e()]):_vm._e()]}},{key:\"cell(description)\",fn:function(data){return [_c('span',[(data.item.split && data.item.split_parent !== null)?_c('span',{staticClass:\"fas fa-angle-right\"}):_vm._e()]),_vm._v(\" \"),_c('a',{class:false === data.item.active ? 'text-muted' : '',attrs:{\"href\":'./transactions/show/' + data.item.id,\"title\":data.value}},[_vm._v(_vm._s(data.value))])]}},{key:\"cell(amount)\",fn:function(data){return [('deposit' === data.item.type)?_c('span',{staticClass:\"text-success\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat('en-US', {style: 'currency', currency: data.item.currency_code}).format(data.item.amount))+\"\\n \")]):('withdrawal' === data.item.type)?_c('span',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat('en-US', {style: 'currency', currency: data.item.currency_code}).format(-data.item.amount))+\"\\n \")]):('transfer' === data.item.type)?_c('span',{staticClass:\"text-muted\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat('en-US', {style: 'currency', currency: data.item.currency_code}).format(data.item.amount))+\"\\n \")]):_vm._e()]}},{key:\"cell(date)\",fn:function(data){return [_vm._v(\"\\n \"+_vm._s(data.item.date_formatted)+\"\\n \")]}},{key:\"cell(source_account)\",fn:function(data){return [_c('a',{class:false === data.item.active ? 'text-muted' : '',attrs:{\"href\":'./accounts/show/' + data.item.source_id,\"title\":data.item.source_name}},[_vm._v(_vm._s(data.item.source_name))])]}},{key:\"cell(destination_account)\",fn:function(data){return [_c('a',{class:false === data.item.active ? 'text-muted' : '',attrs:{\"href\":'./accounts/show/' + data.item.destination_id,\"title\":data.item.destination_name}},[_vm._v(_vm._s(data.item.destination_name))])]}},{key:\"cell(menu)\",fn:function(data){return [(! data.item.split || data.item.split_parent === null)?_c('div',{staticClass:\"btn-group btn-group-sm\"},[_c('div',{staticClass:\"dropdown\"},[_c('button',{staticClass:\"btn btn-light btn-sm dropdown-toggle\",attrs:{\"type\":\"button\",\"id\":'dropdownMenuButton' + data.item.id,\"data-toggle\":\"dropdown\",\"aria-haspopup\":\"true\",\"aria-expanded\":\"false\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.actions'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"dropdown-menu\",attrs:{\"aria-labelledby\":'dropdownMenuButton' + data.item.id}},[_c('a',{staticClass:\"dropdown-item\",attrs:{\"href\":'./transactions/edit/' + data.item.id}},[_c('span',{staticClass:\"fa fas fa-pencil-alt\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.edit')))]),_vm._v(\" \"),_c('a',{staticClass:\"dropdown-item\",attrs:{\"href\":'./transactions/delete/' + data.item.id}},[_c('span',{staticClass:\"fa far fa-trash\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.delete')))])])])]):_vm._e(),_vm._v(\" \"),(data.item.split && data.item.split_parent === null && data.item.collapsed === true)?_c('div',{staticClass:\"btn btn-light btn-sm\",on:{\"click\":function($event){return _vm.toggleCollapse(data.item)}}},[_c('span',{staticClass:\"fa fa-caret-down\"}),_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.transaction_expand_split'))+\"\\n \")]):(data.item.split && data.item.split_parent === null && data.item.collapsed === false)?_c('div',{staticClass:\"btn btn-light btn-sm\",on:{\"click\":function($event){return _vm.toggleCollapse(data.item)}}},[_c('span',{staticClass:\"fa fa-caret-up\"}),_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.transaction_collapse_split'))+\"\\n \")]):_vm._e()]}},{key:\"cell(category)\",fn:function(data){return [_vm._v(\"\\n \"+_vm._s(data.item.category_name)+\"\\n \")]}}])})],1),_vm._v(\" \"),_c('div',{staticClass:\"card-footer\"},[_c('a',{staticClass:\"btn btn-success\",attrs:{\"href\":'./transactions/create/' + _vm.type,\"title\":_vm.$t('firefly.create_new_transaction')}},[_vm._v(_vm._s(_vm.$t('firefly.create_new_transaction')))])])])]),_vm._v(\" \"),_vm._m(1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-lg-8 col-md-6 col-sm-12 col-xs-12\"},[_c('b-pagination',{attrs:{\"total-rows\":_vm.total,\"per-page\":_vm.perPage,\"aria-controls\":\"my-table\"},model:{value:(_vm.currentPage),callback:function ($$v) {_vm.currentPage=$$v},expression:\"currentPage\"}})],1),_vm._v(\" \"),_c('div',{staticClass:\"col-lg-4 col-md-6 col-sm-12 col-xs-12\"},[_c('button',{staticClass:\"btn btn-sm float-right btn-info\",on:{\"click\":_vm.newCacheKey}},[_c('span',{staticClass:\"fas fa-sync\"})])])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-body\"},[_vm._v(\"\\n Treemap categories?\\n \")])])]),_vm._v(\" \"),_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-body\"},[_vm._v(\"\\n Treemap accounts?\\n \")])])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"col-lg-4\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-body\"},[_vm._v(\"\\n Box previous periods\\n \")])])])}]\n\nexport { render, staticRenderFns }","/*\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\nrequire('../../bootstrap');\n\nimport Vue from \"vue\";\nimport store from \"../../components/store\";\nimport Index from \"../../components/transactions/Index\";\nimport {BPagination, BTable} from 'bootstrap-vue';\nimport Calendar from \"../../components/dashboard/Calendar\";\n\n// i18n\nlet i18n = require('../../i18n');\nlet props = {};\n\nVue.component('b-table', BTable);\nVue.component('b-pagination', BPagination);\n\nnew Vue({\n i18n,\n store,\n render(createElement) {\n return createElement(Index, {props: props});\n },\n beforeCreate() {\n// See reference nr. 2\n this.$store.commit('initialiseStore');\n this.$store.dispatch('updateCurrencyPreference');\n\n // init the new root store (dont care about results)\n this.$store.dispatch('root/initialiseStore');\n\n // also init the dashboard store.\n this.$store.dispatch('dashboard/index/initialiseStore');\n },\n }).$mount('#transactions_index');\n\nnew Vue({\n i18n,\n store,\n el: \"#calendar\",\n render: (createElement) => {\n return createElement(Calendar, {props: props});\n },\n });","/*\n * forageStore.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\nimport localforage from 'localforage'\nimport memoryDriver from 'localforage-memoryStorageDriver'\nimport {setup} from 'axios-cache-adapter'\n\n// `async` wrapper to configure `localforage` and instantiate `axios` with `axios-cache-adapter`\nexport async function configureAxios() {\n // Register the custom `memoryDriver` to `localforage`\n await localforage.defineDriver(memoryDriver)\n\n // Create `localforage` instance\n const forageStore = localforage.createInstance({\n // List of drivers used\n driver: [\n localforage.INDEXEDDB,\n localforage.LOCALSTORAGE,\n memoryDriver._driver\n ],\n // Prefix all storage keys to prevent conflicts\n name: 'my-cache'\n })\n\n // Create `axios` instance with pre-configured `axios-cache-adapter` using a `localforage` store\n let token = document.head.querySelector('meta[name=\"csrf-token\"]');\n return setup({\n // `axios` options\n baseURL: './',\n headers: {'X-CSRF-TOKEN': token.content, 'X-James-Rocks': 'oh yes'},\n cache: {\n // `axios-cache-adapter` options\n maxAge: 24 * 60 * 60 * 1000, // one day.\n readHeaders: false,\n exclude: {\n query: false,\n },\n debug: true,\n store: forageStore,\n }\n }\n );\n\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-0f404e99],.dropdown-item[data-v-0f404e99]:hover{color:#212529}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/dashboard/Calendar.vue\"],\"names\":[],\"mappings\":\"AAslBA,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 ><span class=\\\"fas fa-calendar-alt\\\"></span></button>\\n <button :title=\\\"$t('firefly.reset_to_current')\\\"\\n class=\\\"btn btn-secondary\\\"\\n @click=\\\"resetDate\\\"\\n ><span class=\\\"fas fa-history\\\"></span></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 <span class=\\\"fas fa-list\\\"></span>\\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 console.log('Now in calendar 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 = 'tbd';\\n let half = 1;\\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 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\\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('span',{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('span',{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('span',{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 ><span class=\"fas fa-calendar-alt\"></span></button>\n <button :title=\"$t('firefly.reset_to_current')\"\n class=\"btn btn-secondary\"\n @click=\"resetDate\"\n ><span class=\"fas fa-history\"></span></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 <span class=\"fas fa-list\"></span>\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 console.log('Now in calendar 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 = 'tbd';\n let half = 1;\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 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\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 api from \"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../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=0f404e99&scoped=true&lang=css&\";\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","import { render, staticRenderFns } from \"./Calendar.vue?vue&type=template&id=0f404e99&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=0f404e99&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 \"0f404e99\",\n null\n \n)\n\nexport default component.exports"],"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/Index.vue","webpack:///./src/components/transactions/Index.vue?8003","webpack:///./src/components/transactions/Index.vue","webpack:///./src/components/transactions/Index.vue?ea4d","webpack:///./src/pages/transactions/index.js","webpack:///./src/shared/forageStore.js","webpack:///./src/shared/transactions.js","webpack:///./src/components/dashboard/Calendar.vue?530c","webpack:///./src/components/dashboard/Calendar.vue?5cae","webpack:///src/components/dashboard/Calendar.vue","webpack:///./src/components/dashboard/Calendar.vue?6b2f","webpack:///./src/components/dashboard/Calendar.vue?2541","webpack:///./src/components/dashboard/Calendar.vue"],"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","log","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","cacheKey","age","object","JSON","parse","now","parseInt","refreshCacheKey","Array","N","join","Math","random","toString","slice","stringify","setCacheKey","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","currencyResponse","name","symbol","decimal_places","err","module","exports","documentElement","lang","fallbackLocale","messages","transactionRows","type","downloaded","loading","ready","fields","currentPage","perPage","total","sortBy","sortDesc","api","sortableOptions","disabled","chosenClass","onEnd","sortable","watch","storeReady","this","getTransactionList","filterAccountList","computed","cardTitle","$t","created","parts","params","updateFieldList","methods","newCacheKey","indexReady","downloadTransactionList","page","createTransactionRows","transactionRow","transaction","description","group_title","split","collapsed","undefined","amount","source_name","source_id","destination_name","destination_id","splitTransactionRow","key","split_index","split_parent","getTransactionRow","currentTransaction","currency_code","date","date_formatted","category_id","category_name","toggleCollapse","tableSortCompare","aRow","bRow","a","b","localeCompare","compareLocale","compareOptions","Object","keys","String","_vm","_h","$createElement","_c","_self","_m","_v","staticClass","attrs","model","callback","$$v","expression","on","ref","$event","scopedSlots","_u","fn","proxy","item","_e","class","active","_s","Intl","NumberFormat","style","currency","format","i18n","props","BTable","BPagination","store","render","createElement","Index","beforeCreate","$store","$mount","el","Calendar","configureAxios","localforage","memoryDriver","forageStore","driver","setup","baseURL","cache","maxAge","readHeaders","exclude","query","debug","source","destination","foreign_currency","foreign_amount","custom_dates","budget","category","bill","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_id","currency_name","currency_decimal_places","destination_account","foreign_currency_id","budget_id","bill_id","piggy_bank_id","external_id","links","zoom_level","longitude","latitude","___CSS_LOADER_EXPORT___","defaultRange","periods","resetDate","customDate","generatePeriods","generateDaily","generateWeekly","title","generateMonthly","generateQuarterly","generateHalfYearly","setFullYear","getFullYear","half","generateYearly","getDate","datesReady","options","DateTimeFormat","year","month","day","inputValue","inputEvents","isDragging","togglePopover","placement","positionFixed","_l","period","_g","domProps"],"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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,CAACI,YAAY,gBAAgBC,MAAM,CAAC,kBAAkB,uBAAuBR,EAAImI,GAAInI,EAAW,SAAE,SAASoI,GAAQ,OAAOjI,EAAG,IAAI,CAACI,YAAY,gBAAgBC,MAAM,CAAC,KAAO,KAAKK,GAAG,CAAC,MAAQ,SAASE,GAAQ,OAAOf,EAAI0G,WAAW0B,EAAOjT,MAAOiT,EAAOhT,QAAQ,CAAC4K,EAAIM,GAAGN,EAAIwB,GAAG4G,EAAOtB,aAAY,KAAK9G,EAAIM,GAAG,KAAKH,EAAG,QAAQH,EAAIqI,GAAG,CAAC/G,MAAMyG,EAAa,gBAAkB,gBAAgBvH,MAAM,CAAC,KAAO,UAAU8H,SAAS,CAAC,MAAQT,EAAW1S,QAAQ2S,EAAY3S,QAAQ6K,EAAIM,GAAG,KAAKH,EAAG,QAAQH,EAAIqI,GAAG,CAAC/G,MAAMyG,EAAa,gBAAkB,gBAAgBvH,MAAM,CAAC,KAAO,UAAU8H,SAAS,CAAC,MAAQT,EAAWzS,MAAM0S,EAAY1S,eAAeqL,MAAM,CAAC3L,MAAOkL,EAAS,MAAEU,SAAS,SAAUC,GAAMX,EAAIlI,MAAM6I,GAAKC,WAAW,YAAY,KAClhD,IIMpB,EACA,KACA,WACA,M","file":"/public/js/transactions/index.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// See reference nr. 1\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 for dashboard.');\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 cacheKey: {\n age: 0,\n value: 'empty',\n },\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 cacheKey: state => {\n return state.cacheKey.value;\n },\n}\n\n// actions\nconst actions = {\n initialiseStore(context) {\n // cache key auto refreshes every day\n console.log('Now in initialize store.')\n if (localStorage.cacheKey) {\n console.log('Storage has cache key: ');\n console.log(localStorage.cacheKey);\n let object = JSON.parse(localStorage.cacheKey);\n if (Date.now() - object.age > 86400000) {\n console.log('Key is here but is old.');\n context.commit('refreshCacheKey');\n } else {\n console.log('Cache key from local storage: ' + object.value);\n context.commit('setCacheKey', object);\n }\n } else {\n console.log('No key need new one.');\n context.commit('refreshCacheKey');\n }\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 refreshCacheKey(state) {\n let age = Date.now();\n let N = 8;\n let cacheKey = Array(N+1).join((Math.random().toString(36)+'00000000000000000').slice(2, 18)).slice(0, N);\n let object = {age: age, value: cacheKey};\n console.log('Store new key in string JSON');\n console.log(JSON.stringify(object));\n localStorage.cacheKey = JSON.stringify(object);\n state.cacheKey = {age: age, value: cacheKey};\n console.log('Refresh: cachekey is now ' + cacheKey);\n },\n setCacheKey(state, payload) {\n console.log('Stored cache key in localstorage.');\n console.log(payload);\n console.log(JSON.stringify(payload));\n localStorage.cacheKey = JSON.stringify(payload);\n state.cacheKey = payload;\n },\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 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 console.log('Now in initialiseStore()')\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 console.log('Now in updateCurrencyPreference');\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 - Index.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 class=\"row\">\n <div class=\"col\">\n <div class=\"card\">\n <div class=\"card-body\">\n Treemap categories?\n </div>\n </div>\n </div>\n <div class=\"col\">\n <div class=\"card\">\n <div class=\"card-body\">\n Treemap accounts?\n </div>\n </div>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-lg-8 col-md-6 col-sm-12 col-xs-12\">\n <b-pagination\n v-model=\"currentPage\"\n :total-rows=\"total\"\n :per-page=\"perPage\"\n aria-controls=\"my-table\"\n ></b-pagination>\n </div>\n <div class=\"col-lg-4 col-md-6 col-sm-12 col-xs-12\">\n <button @click=\"newCacheKey\" class=\"btn btn-sm float-right btn-info\"><span class=\"fas fa-sync\"></span></button>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col\">\n <div class=\"card\">\n <div class=\"card-body p-0\">\n <b-table id=\"my-table\" small striped hover responsive=\"md\" primary-key=\"key\" :no-local-sorting=\"false\"\n :items=\"transactionRows\"\n :fields=\"fields\"\n :per-page=\"perPage\"\n sort-icon-left\n ref=\"table\"\n :current-page=\"currentPage\"\n :busy.sync=\"loading\"\n :sort-desc.sync=\"sortDesc\"\n :sort-compare=\"tableSortCompare\"\n >\n <template #table-busy>\n <span class=\"fa fa-spinner\"></span>\n </template>\n <template #cell(type)=\"data\">\n <span v-if=\"! data.item.split || data.item.split_parent === null\">\n <span class=\"fas fa-long-arrow-alt-right\" v-if=\"'deposit' === data.item.type\"></span>\n <span class=\"fas fa-long-arrow-alt-left\" v-else-if=\"'withdrawal' === data.item.type\"></span>\n <span class=\"fas fa-long-arrows-alt-h\" v-else-if=\"'transfer' === data.item.type\"></span>\n </span>\n </template>\n <template #cell(description)=\"data\">\n <span class=\"fas fa-angle-right\" v-if=\"data.item.split && data.item.split_parent !== null\"></span>\n <a :class=\"false === data.item.active ? 'text-muted' : ''\" :href=\"'./transactions/show/' + data.item.id\" :title=\"data.value\">{{\n data.value\n }}</a>\n </template>\n <template #cell(amount)=\"data\">\n <span class=\"text-success\" v-if=\"'deposit' === data.item.type\">\n {{ Intl.NumberFormat('en-US', {style: 'currency', currency: data.item.currency_code}).format(data.item.amount) }}\n </span>\n\n <span class=\"text-danger\" v-else-if=\"'withdrawal' === data.item.type\">\n {{ Intl.NumberFormat('en-US', {style: 'currency', currency: data.item.currency_code}).format(-data.item.amount) }}\n </span>\n\n <span class=\"text-muted\" v-else-if=\"'transfer' === data.item.type\">\n {{ Intl.NumberFormat('en-US', {style: 'currency', currency: data.item.currency_code}).format(data.item.amount) }}\n </span>\n </template>\n <template #cell(date)=\"data\">\n {{ data.item.date_formatted }}\n </template>\n <template #cell(source_account)=\"data\">\n <a :class=\"false === data.item.active ? 'text-muted' : ''\" :href=\"'./accounts/show/' + data.item.source_id\"\n :title=\"data.item.source_name\">{{ data.item.source_name }}</a>\n </template>\n <template #cell(destination_account)=\"data\">\n <a :class=\"false === data.item.active ? 'text-muted' : ''\" :href=\"'./accounts/show/' + data.item.destination_id\"\n :title=\"data.item.destination_name\">{{ data.item.destination_name }}</a>\n </template>\n <template #cell(menu)=\"data\">\n <div class=\"btn-group btn-group-sm\" v-if=\"! data.item.split || data.item.split_parent === null\">\n <div class=\"dropdown\">\n <button class=\"btn btn-light btn-sm dropdown-toggle\" type=\"button\" :id=\"'dropdownMenuButton' + data.item.id\" data-toggle=\"dropdown\"\n aria-haspopup=\"true\" aria-expanded=\"false\">\n {{ $t('firefly.actions') }}\n </button>\n <div class=\"dropdown-menu\" :aria-labelledby=\"'dropdownMenuButton' + data.item.id\">\n <a class=\"dropdown-item\" :href=\"'./transactions/edit/' + data.item.id\"><span class=\"fa fas fa-pencil-alt\"></span> {{ $t('firefly.edit') }}</a>\n <a class=\"dropdown-item\" :href=\"'./transactions/delete/' + data.item.id\"><span class=\"fa far fa-trash\"></span> {{ $t('firefly.delete') }}</a>\n </div>\n </div>\n </div>\n <div class=\"btn btn-light btn-sm\" v-if=\"data.item.split && data.item.split_parent === null && data.item.collapsed === true\"\n v-on:click=\"toggleCollapse(data.item)\">\n <span class=\"fa fa-caret-down\"></span>\n {{ $t('firefly.transaction_expand_split') }}\n </div>\n <div class=\"btn btn-light btn-sm\" v-else-if=\"data.item.split && data.item.split_parent === null && data.item.collapsed === false\"\n v-on:click=\"toggleCollapse(data.item)\">\n <span class=\"fa fa-caret-up\"></span>\n {{ $t('firefly.transaction_collapse_split') }}\n </div>\n </template>\n <template #cell(category)=\"data\">\n {{ data.item.category_name }}\n </template>\n </b-table>\n </div>\n <div class=\"card-footer\">\n <a :href=\"'./transactions/create/' + type\" class=\"btn btn-success\"\n :title=\"$t('firefly.create_new_transaction')\">{{ $t('firefly.create_new_transaction') }}</a>\n </div>\n </div>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-lg-8 col-md-6 col-sm-12 col-xs-12\">\n <b-pagination\n v-model=\"currentPage\"\n :total-rows=\"total\"\n :per-page=\"perPage\"\n aria-controls=\"my-table\"\n ></b-pagination>\n </div>\n <div class=\"col-lg-4 col-md-6 col-sm-12 col-xs-12\">\n <button @click=\"newCacheKey\" class=\"btn btn-sm float-right btn-info\"><span class=\"fas fa-sync\"></span></button>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-xl-2 col-lg-4 col-sm-6 col-xs-12\">\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">I am title</h3>\n </div>\n <div class=\"card-body\">\n Box previous periods\n </div>\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script>\n\nimport {mapGetters, mapMutations} from \"vuex\";\nimport format from \"date-fns/format\";\nimport {configureAxios} from \"../../shared/forageStore\";\n\nexport default {\n name: \"Index\",\n data() {\n return {\n transactions: [],\n transactionRows: [],\n type: 'all',\n downloaded: false,\n loading: false,\n ready: false,\n fields: [],\n currentPage: 1,\n perPage: 5,\n total: 1,\n sortBy: 'order',\n sortDesc: false,\n api: null,\n sortableOptions: {\n disabled: false,\n chosenClass: 'is-selected',\n onEnd: null\n },\n sortable: null\n }\n },\n watch: {\n storeReady: function () {\n this.getTransactionList();\n },\n start: function () {\n this.getTransactionList();\n },\n end: function () {\n this.getTransactionList();\n },\n activeFilter: function (value) {\n this.filterAccountList();\n }\n },\n computed: {\n ...mapGetters('root', ['listPageSize', 'cacheKey']),\n ...mapGetters('dashboard/index', ['start', 'end',]),\n 'indexReady': function () {\n return null !== this.start && null !== this.end && null !== this.listPageSize && this.ready;\n },\n cardTitle: function () {\n return this.$t('firefly.' + this.type + '_transactions');\n }\n },\n created() {\n let pathName = window.location.pathname;\n let parts = pathName.split('/');\n this.type = parts[parts.length - 1];\n this.perPage = this.listPageSize ?? 51;\n console.log('Per page: ' + this.perPage);\n\n let params = new URLSearchParams(window.location.search);\n this.currentPage = params.get('page') ? parseInt(params.get('page')) : 1;\n this.updateFieldList();\n this.ready = true;\n\n // make object thing:\n // let token = document.head.querySelector('meta[name=\"csrf-token\"]');\n // this.api = setup(\n // {\n // // `axios` options\n // //baseURL: './',\n // headers: {'X-CSRF-TOKEN': token.content, 'X-James': 'yes'},\n //\n // // `axios-cache-adapter` options\n // cache: {\n // maxAge: 15 * 60 * 1000,\n // readHeaders: false,\n // exclude: {\n // query: false,\n // },\n // debug: true\n // }\n // });\n },\n methods: {\n ...mapMutations('root', ['refreshCacheKey',]),\n updateFieldList: function () {\n this.fields = [\n {key: 'type', label: ' ', sortable: false},\n {key: 'description', label: this.$t('list.description'), sortable: true},\n {key: 'amount', label: this.$t('list.amount'), sortable: true},\n {key: 'date', label: this.$t('list.date'), sortable: true},\n {key: 'source_name', label: this.$t('list.source_account'), sortable: true},\n {key: 'destination_name', label: this.$t('list.destination_account'), sortable: true},\n {key: 'category_name', label: this.$t('list.category'), sortable: true},\n {key: 'menu', label: ' ', sortable: false},\n ];\n },\n newCacheKey: function () {\n this.refreshCacheKey();\n this.downloaded = false;\n this.accounts = [];\n this.getTransactionList();\n },\n getTransactionList: function () {\n console.log('getTransactionList()');\n if (this.indexReady && !this.loading && !this.downloaded) {\n console.log('Index ready, not loading and not already downloaded. Reset.');\n this.loading = true;\n this.perPage = this.listPageSize ?? 51;\n this.transactions = [];\n this.transactionRows = [];\n this.downloadTransactionList(1);\n }\n },\n downloadTransactionList: function (page) {\n console.log('downloadTransactionList(' + page + ')');\n configureAxios().then(async (api) => {\n let startStr = format(this.start, 'y-MM-dd');\n let endStr = format(this.end, 'y-MM-dd');\n api.get('./api/v1/transactions?type=' + this.type + '&page=' + page + \"&start=\" + startStr + \"&end=\" + endStr + '&cache=' + this.cacheKey)\n .then(response => {\n\n //let currentPage = parseInt(response.data.meta.pagination.current_page);\n //let totalPages = parseInt(response.data.meta.pagination.total_pages);\n this.total = parseInt(response.data.meta.pagination.total);\n //console.log('total is ' + this.total);\n this.transactions.push(...response.data.data);\n // if (currentPage < totalPage) {\n // let nextPage = currentPage + 1;\n // this.downloadTransactionList(nextPage);\n // }\n // if (currentPage >= totalPage) {\n // console.log('Looks like all downloaded.');\n this.downloaded = true;\n this.createTransactionRows();\n // }\n\n }\n );\n });\n },\n createTransactionRows: function () {\n this.transactionRows = [];\n for (let i in this.transactions) {\n let transaction = this.transactions[i];\n let transactionRow = this.getTransactionRow(transaction, 0);\n this.transactionRows.push(transactionRow);\n\n if (transaction.attributes.transactions.length > 1) {\n transactionRow.description = transaction.attributes.group_title;\n transactionRow.split = true;\n transactionRow.collapsed = transaction.collapsed === true || transaction.collapsed === undefined;\n transactionRow.amount = transaction.attributes.transactions\n .map(transaction => Number(transaction.amount))\n .reduce((sum, n) => sum + n);\n transactionRow.source_name = '';\n transactionRow.source_id = '';\n transactionRow.destination_name = '';\n transactionRow.destination_id = '';\n\n if (!transactionRow.collapsed) {\n for (let i = 0; i < transaction.attributes.transactions.length; i++) {\n let splitTransactionRow = this.getTransactionRow(transaction, i);\n splitTransactionRow.key = splitTransactionRow.id + \".\" + i\n splitTransactionRow.split = true;\n splitTransactionRow.split_index = i + 1;\n splitTransactionRow.split_parent = transactionRow;\n this.transactionRows.push(splitTransactionRow);\n }\n }\n }\n }\n\n this.loading = false;\n },\n getTransactionRow(transaction, index) {\n let transactionRow = {};\n let currentTransaction = transaction.attributes.transactions[index];\n\n transactionRow.key = transaction.id;\n transactionRow.id = transaction.id;\n transactionRow.type = currentTransaction.type;\n transactionRow.description = currentTransaction.description;\n transactionRow.amount = currentTransaction.amount;\n transactionRow.currency_code = currentTransaction.currency_code;\n transactionRow.date = new Date(currentTransaction.date);\n transactionRow.date_formatted = format(transactionRow.date, this.$t('config.month_and_day_fns'));\n transactionRow.source_name = currentTransaction.source_name;\n transactionRow.source_id = currentTransaction.source_id;\n transactionRow.destination_name = currentTransaction.destination_name;\n transactionRow.destination_id = currentTransaction.destination_id;\n transactionRow.category_id = currentTransaction.category_id;\n transactionRow.category_name = currentTransaction.category_name;\n transactionRow.split = false;\n transactionRow.split_index = 0;\n transactionRow.split_parent = null;\n\n return transactionRow;\n },\n toggleCollapse: function (row) {\n let transaction = this.transactions.filter(transaction => transaction.id === row.id)[0];\n if (transaction.collapsed === undefined) {\n transaction.collapsed = false;\n } else {\n transaction.collapsed = !transaction.collapsed;\n }\n this.createTransactionRows();\n },\n tableSortCompare: function (aRow, bRow, key, sortDesc, formatter, compareOptions, compareLocale) {\n let a = aRow[key]\n let b = bRow[key]\n\n if (aRow.id === bRow.id) {\n // Order split transactions normally when compared to each other, except always put the header first\n if (aRow.split_parent === null) {\n return sortDesc ? 1 : -1;\n } else if (bRow.split_parent === null) {\n return sortDesc ? -1 : 1;\n }\n } else {\n // Sort split transactions based on their parent when compared to other transactions\n if (aRow.split && aRow.split_parent !== null) {\n a = aRow.split_parent[key]\n }\n if (bRow.split && bRow.split_parent !== null) {\n b = bRow.split_parent[key]\n }\n }\n\n if (\n (typeof a === 'number' && typeof b === 'number') ||\n (a instanceof Date && b instanceof Date)\n ) {\n // If both compared fields are native numbers or both are native dates\n return a < b ? -1 : a > b ? 1 : 0\n } else {\n // Otherwise stringify the field data and use String.prototype.localeCompare\n return toString(a).localeCompare(toString(b), compareLocale, compareOptions)\n }\n\n function toString(value) {\n if (value === null || typeof value === 'undefined') {\n return ''\n } else if (value instanceof Object) {\n return Object.keys(value)\n .sort()\n .map(key => toString(value[key]))\n .join(' ')\n } else {\n return String(value)\n }\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!./Index.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!./Index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Index.vue?vue&type=template&id=a65af7f4&\"\nimport script from \"./Index.vue?vue&type=script&lang=js&\"\nexport * from \"./Index.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._m(0),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-lg-8 col-md-6 col-sm-12 col-xs-12\"},[_c('b-pagination',{attrs:{\"total-rows\":_vm.total,\"per-page\":_vm.perPage,\"aria-controls\":\"my-table\"},model:{value:(_vm.currentPage),callback:function ($$v) {_vm.currentPage=$$v},expression:\"currentPage\"}})],1),_vm._v(\" \"),_c('div',{staticClass:\"col-lg-4 col-md-6 col-sm-12 col-xs-12\"},[_c('button',{staticClass:\"btn btn-sm float-right btn-info\",on:{\"click\":_vm.newCacheKey}},[_c('span',{staticClass:\"fas fa-sync\"})])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-body p-0\"},[_c('b-table',{ref:\"table\",attrs:{\"id\":\"my-table\",\"small\":\"\",\"striped\":\"\",\"hover\":\"\",\"responsive\":\"md\",\"primary-key\":\"key\",\"no-local-sorting\":false,\"items\":_vm.transactionRows,\"fields\":_vm.fields,\"per-page\":_vm.perPage,\"sort-icon-left\":\"\",\"current-page\":_vm.currentPage,\"busy\":_vm.loading,\"sort-desc\":_vm.sortDesc,\"sort-compare\":_vm.tableSortCompare},on:{\"update:busy\":function($event){_vm.loading=$event},\"update:sortDesc\":function($event){_vm.sortDesc=$event},\"update:sort-desc\":function($event){_vm.sortDesc=$event}},scopedSlots:_vm._u([{key:\"table-busy\",fn:function(){return [_c('span',{staticClass:\"fa fa-spinner\"})]},proxy:true},{key:\"cell(type)\",fn:function(data){return [(! data.item.split || data.item.split_parent === null)?_c('span',[('deposit' === data.item.type)?_c('span',{staticClass:\"fas fa-long-arrow-alt-right\"}):('withdrawal' === data.item.type)?_c('span',{staticClass:\"fas fa-long-arrow-alt-left\"}):('transfer' === data.item.type)?_c('span',{staticClass:\"fas fa-long-arrows-alt-h\"}):_vm._e()]):_vm._e()]}},{key:\"cell(description)\",fn:function(data){return [(data.item.split && data.item.split_parent !== null)?_c('span',{staticClass:\"fas fa-angle-right\"}):_vm._e(),_vm._v(\" \"),_c('a',{class:false === data.item.active ? 'text-muted' : '',attrs:{\"href\":'./transactions/show/' + data.item.id,\"title\":data.value}},[_vm._v(_vm._s(data.value))])]}},{key:\"cell(amount)\",fn:function(data){return [('deposit' === data.item.type)?_c('span',{staticClass:\"text-success\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat('en-US', {style: 'currency', currency: data.item.currency_code}).format(data.item.amount))+\"\\n \")]):('withdrawal' === data.item.type)?_c('span',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat('en-US', {style: 'currency', currency: data.item.currency_code}).format(-data.item.amount))+\"\\n \")]):('transfer' === data.item.type)?_c('span',{staticClass:\"text-muted\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat('en-US', {style: 'currency', currency: data.item.currency_code}).format(data.item.amount))+\"\\n \")]):_vm._e()]}},{key:\"cell(date)\",fn:function(data){return [_vm._v(\"\\n \"+_vm._s(data.item.date_formatted)+\"\\n \")]}},{key:\"cell(source_account)\",fn:function(data){return [_c('a',{class:false === data.item.active ? 'text-muted' : '',attrs:{\"href\":'./accounts/show/' + data.item.source_id,\"title\":data.item.source_name}},[_vm._v(_vm._s(data.item.source_name))])]}},{key:\"cell(destination_account)\",fn:function(data){return [_c('a',{class:false === data.item.active ? 'text-muted' : '',attrs:{\"href\":'./accounts/show/' + data.item.destination_id,\"title\":data.item.destination_name}},[_vm._v(_vm._s(data.item.destination_name))])]}},{key:\"cell(menu)\",fn:function(data){return [(! data.item.split || data.item.split_parent === null)?_c('div',{staticClass:\"btn-group btn-group-sm\"},[_c('div',{staticClass:\"dropdown\"},[_c('button',{staticClass:\"btn btn-light btn-sm dropdown-toggle\",attrs:{\"type\":\"button\",\"id\":'dropdownMenuButton' + data.item.id,\"data-toggle\":\"dropdown\",\"aria-haspopup\":\"true\",\"aria-expanded\":\"false\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.actions'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"dropdown-menu\",attrs:{\"aria-labelledby\":'dropdownMenuButton' + data.item.id}},[_c('a',{staticClass:\"dropdown-item\",attrs:{\"href\":'./transactions/edit/' + data.item.id}},[_c('span',{staticClass:\"fa fas fa-pencil-alt\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.edit')))]),_vm._v(\" \"),_c('a',{staticClass:\"dropdown-item\",attrs:{\"href\":'./transactions/delete/' + data.item.id}},[_c('span',{staticClass:\"fa far fa-trash\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.delete')))])])])]):_vm._e(),_vm._v(\" \"),(data.item.split && data.item.split_parent === null && data.item.collapsed === true)?_c('div',{staticClass:\"btn btn-light btn-sm\",on:{\"click\":function($event){return _vm.toggleCollapse(data.item)}}},[_c('span',{staticClass:\"fa fa-caret-down\"}),_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.transaction_expand_split'))+\"\\n \")]):(data.item.split && data.item.split_parent === null && data.item.collapsed === false)?_c('div',{staticClass:\"btn btn-light btn-sm\",on:{\"click\":function($event){return _vm.toggleCollapse(data.item)}}},[_c('span',{staticClass:\"fa fa-caret-up\"}),_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.transaction_collapse_split'))+\"\\n \")]):_vm._e()]}},{key:\"cell(category)\",fn:function(data){return [_vm._v(\"\\n \"+_vm._s(data.item.category_name)+\"\\n \")]}}])})],1),_vm._v(\" \"),_c('div',{staticClass:\"card-footer\"},[_c('a',{staticClass:\"btn btn-success\",attrs:{\"href\":'./transactions/create/' + _vm.type,\"title\":_vm.$t('firefly.create_new_transaction')}},[_vm._v(_vm._s(_vm.$t('firefly.create_new_transaction')))])])])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-lg-8 col-md-6 col-sm-12 col-xs-12\"},[_c('b-pagination',{attrs:{\"total-rows\":_vm.total,\"per-page\":_vm.perPage,\"aria-controls\":\"my-table\"},model:{value:(_vm.currentPage),callback:function ($$v) {_vm.currentPage=$$v},expression:\"currentPage\"}})],1),_vm._v(\" \"),_c('div',{staticClass:\"col-lg-4 col-md-6 col-sm-12 col-xs-12\"},[_c('button',{staticClass:\"btn btn-sm float-right btn-info\",on:{\"click\":_vm.newCacheKey}},[_c('span',{staticClass:\"fas fa-sync\"})])])]),_vm._v(\" \"),_vm._m(1)])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-body\"},[_vm._v(\"\\n Treemap categories?\\n \")])])]),_vm._v(\" \"),_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-body\"},[_vm._v(\"\\n Treemap accounts?\\n \")])])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-2 col-lg-4 col-sm-6 col-xs-12\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(\"I am title\")])]),_vm._v(\" \"),_c('div',{staticClass:\"card-body\"},[_vm._v(\"\\n Box previous periods\\n \")])])])])}]\n\nexport { render, staticRenderFns }","/*\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\nrequire('../../bootstrap');\n\nimport Vue from \"vue\";\nimport store from \"../../components/store\";\nimport Index from \"../../components/transactions/Index\";\nimport {BPagination, BTable} from 'bootstrap-vue';\nimport Calendar from \"../../components/dashboard/Calendar\";\n\n// i18n\nlet i18n = require('../../i18n');\nlet props = {};\n\nVue.component('b-table', BTable);\nVue.component('b-pagination', BPagination);\n\nnew Vue({\n i18n,\n store,\n render(createElement) {\n return createElement(Index, {props: props});\n },\n beforeCreate() {\n// See reference nr. 2\n this.$store.commit('initialiseStore');\n this.$store.dispatch('updateCurrencyPreference');\n\n // init the new root store (dont care about results)\n this.$store.dispatch('root/initialiseStore');\n\n // also init the dashboard store.\n this.$store.dispatch('dashboard/index/initialiseStore');\n },\n }).$mount('#transactions_index');\n\nnew Vue({\n i18n,\n store,\n el: \"#calendar\",\n render: (createElement) => {\n return createElement(Calendar, {props: props});\n },\n });","/*\n * forageStore.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\nimport localforage from 'localforage'\nimport memoryDriver from 'localforage-memoryStorageDriver'\nimport {setup} from 'axios-cache-adapter'\n\n// `async` wrapper to configure `localforage` and instantiate `axios` with `axios-cache-adapter`\nexport async function configureAxios() {\n // Register the custom `memoryDriver` to `localforage`\n await localforage.defineDriver(memoryDriver)\n\n // Create `localforage` instance\n const forageStore = localforage.createInstance({\n // List of drivers used\n driver: [\n localforage.INDEXEDDB,\n localforage.LOCALSTORAGE,\n memoryDriver._driver\n ],\n // Prefix all storage keys to prevent conflicts\n name: 'my-cache'\n })\n\n // Create `axios` instance with pre-configured `axios-cache-adapter` using a `localforage` store\n let token = document.head.querySelector('meta[name=\"csrf-token\"]');\n return setup({\n // `axios` options\n baseURL: './',\n headers: {'X-CSRF-TOKEN': token.content, 'X-James-Rocks': 'oh yes'},\n cache: {\n // `axios-cache-adapter` options\n maxAge: 24 * 60 * 60 * 1000, // one day.\n readHeaders: false,\n exclude: {\n query: false,\n },\n debug: true,\n store: forageStore,\n }\n }\n );\n\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-0f404e99],.dropdown-item[data-v-0f404e99]:hover{color:#212529}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/dashboard/Calendar.vue\"],\"names\":[],\"mappings\":\"AAslBA,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 ><span class=\\\"fas fa-calendar-alt\\\"></span></button>\\n <button :title=\\\"$t('firefly.reset_to_current')\\\"\\n class=\\\"btn btn-secondary\\\"\\n @click=\\\"resetDate\\\"\\n ><span class=\\\"fas fa-history\\\"></span></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 <span class=\\\"fas fa-list\\\"></span>\\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 console.log('Now in calendar 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 = 'tbd';\\n let half = 1;\\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 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\\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('span',{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('span',{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('span',{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 ><span class=\"fas fa-calendar-alt\"></span></button>\n <button :title=\"$t('firefly.reset_to_current')\"\n class=\"btn btn-secondary\"\n @click=\"resetDate\"\n ><span class=\"fas fa-history\"></span></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 <span class=\"fas fa-list\"></span>\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 console.log('Now in calendar 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 = 'tbd';\n let half = 1;\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 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\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 api from \"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../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=0f404e99&scoped=true&lang=css&\";\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","import { render, staticRenderFns } from \"./Calendar.vue?vue&type=template&id=0f404e99&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=0f404e99&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 \"0f404e99\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}
\ No newline at end of file