Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Submit was broken.
James Cole5b60db120f36
diff --git a/frontend/src/components/transactions/Edit.vue b/frontend/src/components/transactions/Edit.vueindex 2f127ea12c..55b89c0aa5 100644--- a/frontend/src/components/transactions/Edit.vue+++ b/frontend/src/components/transactions/Edit.vue@@ -447,7 +447,8 @@ export default {}}},- addTransaction: function () {+ addTransaction: function (event) {+ event.preventDefault();let newTransaction = getDefaultTransaction();newTransaction.errors = getDefaultErrors();this.transactions.push(newTransaction);diff --git a/public/v2/js/transactions/edit.js b/public/v2/js/transactions/edit.jsindex 639cdec72b..4e8c062190 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),s=a.n(n),o=a(7152),i=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=i,s().use(vuei18n),s().use(i),window.Vue=s()},9899:(e,t,a)=>{"use strict";a.d(t,{Z:()=>m});var n=a(7760),s=a.n(n),o=a(629),i=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,i.f$)(),defaultErrors:(0,i.kQ)()}},getters:{transactions:function(e){return e.transactions},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:{}};const u={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){"default"===e.state.viewRange&&axios.get("./api/v1/preferences/viewRange").then((function(t){var a=t.data.data.attributes.data;e.commit("setViewRange",a),e.dispatch("setDatesFromViewRange")})).catch((function(t){e.commit("setViewRange","1M"),e.dispatch("setDatesFromViewRange")}))},setDatesFromViewRange:function(e){if(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)),null===e.getters.end||null===e.getters.start){var t,a;switch(e.getters.viewRange){case"1D":t=new Date,a=new Date(t.getTime()),t.setHours(0,0,0,0),a.setHours(23,59,59,999);break;case"1W":t=new Date,a=new Date(t.getTime());var n=t.getDate()-t.getDay()+(0===t.getDay()?-6:1);t.setDate(n),t.setHours(0,0,0,0);var s=a.getDate()-(a.getDay()-1)+6;a.setDate(s),a.setHours(23,59,59,999);break;case"1M":t=new Date,(t=new Date(t.getFullYear(),t.getMonth(),1)).setHours(0,0,0,0),(a=new Date(t.getFullYear(),t.getMonth()+1,0)).setHours(23,59,59,999);break;case"3M":t=new Date,a=new Date;var o=Math.floor((t.getMonth()+3)/3)-1;(t=new Date(t.getFullYear(),[0,3,6,9][o],1)).setHours(0,0,0,0),a=new Date(a.getFullYear(),[2,5,8,11][o],1),(a=new Date(a.getFullYear(),a.getMonth()+1,0)).setHours(23,59,59,999);break;case"6M":t=new Date,a=new Date;var i=t.getMonth()<=5?0:1;(t=new Date(t.getFullYear(),[0,6][i],1)).setHours(0,0,0,0),a=new Date(a.getFullYear(),[5,11][i],1),(a=new Date(a.getFullYear(),a.getMonth()+1,0)).setHours(23,59,59,999);break;case"1Y":t=new Date,a=new Date,t=new Date(t.getFullYear(),0,1),a=new Date(a.getFullYear(),11,31),t.setHours(0,0,0,0),a.setHours(23,59,59,999)}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}}};var _=function(){return{listPageSize:33}},d={initialiseStore:function(e){localStorage.listPageSize&&(_.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)})}))}};const p={namespaced:!0,state:_,getters:{listPageSize:function(e){return e.listPageSize}},actions:d,mutations:{setListPageSize:function(e,t){var a=parseInt(t.length);0!==a&&(e.listPageSize=a)}}};const g={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}}};s().use(o.ZP);const m=new o.ZP.Store({namespaced:!0,modules:{root:p,transactions:{namespaced:!0,modules:{create:c,edit:l}},accounts:{namespaced:!0,modules:{index:g}},dashboard:{namespaced:!0,modules:{index:u}}},strict:false,plugins:[],state:{currencyPreference:{},locale:"en-US",listPageSize:50},mutations:{setCurrencyPreference:function(e,t){e.currencyPreference=t.payload},initialiseStore:function(e){if(localStorage.locale)e.locale=localStorage.locale;else{var t=document.head.querySelector('meta[name="locale"]');t&&(e.locale=t.content,localStorage.locale=t.content)}}},getters:{currencyCode:function(e){return e.currencyPreference.code},currencyPreference:function(e){return e.currencyPreference},currencyId:function(e){return e.currencyPreference.id},locale:function(e){return e.locale}},actions:{updateCurrencyPreference:function(e){localStorage.currencyPreference?e.commit("setCurrencyPreference",{payload:JSON.parse(localStorage.currencyPreference)}):axios.get("./api/v1/currencies/default").then((function(t){var a={id:parseInt(t.data.data.id),name:t.data.data.attributes.name,symbol:t.data.data.attributes.symbol,code:t.data.data.attributes.code,decimal_places:parseInt(t.data.data.attributes.decimal_places)};localStorage.currencyPreference=JSON.stringify(a),e.commit("setCurrencyPreference",{payload:a})})).catch((function(t){console.error(t),e.commit("setCurrencyPreference",{payload:{id:1,name:"Euro",symbol:"€",code:"EUR",decimal_places:2}})}))}}})},157:(e,t,a)=>{e.exports=new vuei18n({locale:document.documentElement.lang,fallbackLocale:"en",messages:{bg:a(7154),cs:a(6407),de:a(4726),en:a(3340),"en-us":a(3340),"en-gb":a(6318),es:a(5394),el:a(3636),fr:a(2551),hu:a(995),it:a(9112),nl:a(4671),nb:a(9085),pl:a(6238),fi:a(7868),"pt-br":a(6586),"pt-pt":a(8664),ro:a(1102),ru:a(753),"zh-tw":a(1715),"zh-cn":a(4556),sk:a(7049),sv:a(7921),vi:a(1497)}})},9762:(e,t,a)=>{"use strict";var n=a(9899),s=a(3324),o=a(7661),i=a(1980),r=a(5524),c=a(4478);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)}var u=a(3465);const _={name:"Edit",created:function(){var e=window.location.pathname.split("/");this.groupId=parseInt(e[e.length-1]),this.getTransactionGroup(),this.getAllowedOpposingTypes(),this.getCustomFields()},data:function(){return{successMessage:"",errorMessage:"",warningMessage:"",transactions:[],originalTransactions:[],groupTitle:"",originalGroupTitle:"",transactionType:"any",groupId:0,groupTitleErrors:[],customFields:{},returnedGroupId:0,returnedGroupTitle:"",date:new Date,time:new Date,originalDate:new Date,originalTime:new Date,submittedTransaction:!1,submittedLinks:!1,submittedAttachments:!1,inError:!1,allowedOpposingTypes:{},destinationAllowedTypes:[],sourceAllowedTypes:[],enableSubmit:!0,stayHere:!1}},components:{Alert:s.Z,SplitPills:o.Z,SplitForm:i.Z,TransactionGroupTitle:r.Z},watch:{submittedTransaction:function(){this.finalizeSubmit()},submittedLinks:function(){this.finalizeSubmit()},submittedAttachments:function(){this.finalizeSubmit()}},methods:{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,a)if(a.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294){var s=this.parseTransaction(parseInt(n),a[n]);this.transactions.push(s),this.originalTransactions.push(u(s)),this.parseLinks(parseInt(s.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=new Date(t.date),this.time=new Date(t.date),this.originalDate=new Date(t.date),this.originalTime=new Date(t.date));var n=(0,c.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,c.kQ)(),n},parseLinks:function(e,t){var a=this;axios.get("./api/v1/transaction-journals/"+e+"/links").then((function(n){var s=n.data.data;for(var o in s)s.hasOwnProperty(o)&&/^0$|^[1-9]\d*$/.test(o)&&o<=4294967294&&a.parseLink(s[o],e,t)}))},parseLink:function(e,t,a){var n=this,s=[],o=parseInt(e.attributes.inward_id),i="inward";o===t&&(o=parseInt(e.attributes.outward_id),i="outward"),s.push(new Promise((function(n){n({link:e,journalId:t,opposingId:o,index:a,direction:i})}))),s.push(axios.get("./api/v1/transaction-journals/"+o)),s.push(axios.get("./api/v1/transaction_links/"+e.attributes.link_type_id)),Promise.all(s).then((function(t){var a=t[1].data.data.attributes.transactions,s=t[0].opposingId,o={};for(var i in a)a.hasOwnProperty(i)&&/^0$|^[1-9]\d*$/.test(i)&&i<=4294967294&&a[i].transaction_journal_id===s&&(o=a[i]);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){console.log("event: uploadedAttachment"),console.log(e)},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},storeTime:function(e){this.time=e.time},storeField:function(e){var t=e.field;"category"===t&&(t="category_name"),this.transactions[e.index][t]=e.value},removeTransaction:function(e){this.transactions.splice(e.index,1),this.originalTransactions=[]},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)&&(this.transactions[t].selectedAttachments=!0)},addTransaction:function(){var e=(0,c.f$)();e.errors=(0,c.kQ)(),this.transactions.push(e)},submitTransaction:function(){var e={transactions:[]},t=!1,a=!1,n=!1;this.groupTitle!==this.originalGroupTitle&&(e.group_title=this.groupTitle,t=!0);this.originalTransactions.length;var s=this.transactions.length;for(var o in console.log("Found "+this.transactions.length+" split(s)."),s>1&&void 0===e.group_title&&(null===this.originalGroupTitle||""===this.originalGroupTitle)&&(e.group_title=this.transactions[0].description),this.transactions)if(this.transactions.hasOwnProperty(o)&&/^0$|^[1-9]\d*$/.test(o)&&o<=4294967294){var i=this.transactions[o],r=this.originalTransactions.hasOwnProperty(o)?this.originalTransactions[o]:{},_={},d=["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 p in o>0&&(_.type=this.transactionType.toLowerCase(),"Deposit"!==this.transactionType&&"Transfer"!==this.transactionType||(i.destination_account_name=this.originalTransactions[0].destination_account_name,i.destination_account_id=this.originalTransactions[0].destination_account_id),"Withdrawal"!==this.transactionType&&"Transfer"!==this.transactionType||(i.source_account_name=this.originalTransactions[0].source_account_name,i.source_account_id=this.originalTransactions[0].source_account_id),console.log("Will overrule accounts for split "+o)),d)if(d.hasOwnProperty(p)&&/^0$|^[1-9]\d*$/.test(p)&&p<=4294967294){var g=d[p],m=g;if(null===i[g]&&void 0===r[g])continue;if(i[g]!==r[g]){if("foreign_amount"===m&&""===i[g])continue;if("foreign_currency_id"===m&&0===i[g])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"),_[m]=i[g],t=!0}}if(0!==i.piggy_bank_id&&(_.piggy_bank_id=i.piggy_bank_id,t=!0),JSON.stringify(i.tags)!==JSON.stringify(r.tags)){if(_.tags=[],0!==i.tags.length)for(var h in i.tags)if(i.tags.hasOwnProperty(h)&&/^0$|^[1-9]\d*$/.test(h)&&h<=4294967294){var y=i.tags[h];"object"===l(y)&&null!==y&&_.tags.push(y.text),"string"==typeof y&&_.tags.push(y)}t=!0}this.compareLinks(i.links)!==this.compareLinks(r.links)&&(a=!0),void 0!==i.selectedAttachments&&!0===i.selectedAttachments&&(n=!0);var b="invalid";if(this.date.toISOString()!==this.originalDate.toISOString()||this.time.toISOString()!==this.originalTime.toISOString()){console.log("Date and/or time is changed"),t=!0;var f=this.date;f.setHours(this.time.getHours()),f.setMinutes(this.time.getMinutes()),f.setSeconds(this.time.getSeconds()),b=(0,c.u6)(f),_.date=b}if(console.log("Now at index "+o),console.log(Object.keys(_).length),0===Object.keys(_).length&&s>1)console.log("Will submit just the ID!"),_.transaction_journal_id=r.transaction_journal_id,e.transactions.push(u(_)),t=!0;else if(0!==Object.keys(_).length){var v;_.transaction_journal_id=null!==(v=r.transaction_journal_id)&&void 0!==v?v:0,e.transactions.push(u(_)),t=!0}}console.log("submitTransaction"),console.log("shouldUpload : "+n),console.log("shouldLinks : "+a),console.log("shouldSubmit : "+t),t&&this.submitUpdate(e,a,n),t||(this.submittedTransaction=!0),a||(this.submittedLinks=!0),n||(this.submittedAttachments=!0),!t&&a&&this.submitTransactionLinks(),console.log("Done with submit methd.")},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)},submitUpdate:function(e,t,a){var n=this;console.log("submitUpdate"),this.inError=!1;var s="./api/v1/transactions/"+this.groupId;console.log(JSON.stringify(e)),console.log(e),axios.put(s,e).then((function(e){console.log("Response is OK!"),n.submittedTransaction=!0,t&&(console.log("Need to update links."),n.submitTransactionLinks()),t||console.log("No need to update links."),n.returnedGroupId=parseInt(e.data.data.id),n.returnedGroupTitle=null===e.data.data.attributes.group_title?e.data.data.attributes.transactions[0].description:e.data.data.attributes.group_title})).catch((function(e){console.log("error :("),console.log(e.response.data),n.enableSubmit=!0,n.submittedTransaction=!0,n.submittedAttachments=!0,n.submittedLinks=!0,n.inError=!0,n.parseErrors(e.response.data)}))},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,s;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]),s=o.split(".")[2]){case"amount":case"description":case"date":case"tags":a={index:n,field:s,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=u((0,c.kQ)())},deleteOriginalLinks:function(e){for(var t in console.log(e.links),e.links)if(e.links.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a="/api/v1/transaction_links/"+e.links[t].id;axios.delete(a).then((function(e){}))}},submitTransactionLinks:function(){var e=0,t=[];for(var a in console.log("submitTransactionLinks()"),this.transactions)if(this.transactions.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=this.transactions[a],s=this.originalTransactions.hasOwnProperty(a)?this.originalTransactions[a]:{},o=this.compareLinks(n.links),i=this.compareLinks(s.links);if(o!==i)for(var r in"[]"!==i&&this.deleteOriginalLinks(s),console.log("links are different!"),n.links)if(n.links.hasOwnProperty(r)&&/^0$|^[1-9]\d*$/.test(r)&&r<=4294967294){var c=n.links[r],l={inward_id:n.transaction_journal_id,outward_id:n.transaction_journal_id,link_type_id:"something"},u=c.link_type_id.split("-");l.link_type_id=u[0],"inward"===u[1]&&(l.inward_id=c.transaction_journal_id),"outward"===u[1]&&(l.outward_id=c.transaction_journal_id),console.log(l),e++,t.push(axios.post("./api/v1/transaction_links",l).then((function(e){})))}}0!==e?Promise.all(t).then((function(){this.submittedLinks=!0})):this.submittedLinks=!0},finalizeSubmit:function(){if(console.log("now in finalizeSubmit()"),console.log("submittedTransaction : "+this.submittedTransaction),console.log("submittedLinks : "+this.submittedLinks),console.log("submittedAttachments : "+this.submittedAttachments),this.submittedTransaction&&this.submittedAttachments&&this.submittedLinks){var e,t;if(console.log("all true"),console.log("inError = "+this.inError),console.log("stayHere = "+this.stayHere),console.log("returnedGroupId = "+this.returnedGroupId),!0===this.stayHere&&!1===this.inError&&0===this.returnedGroupId&&(console.log("no error + no changes + no redirect"),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)console.log("no error + no changes + redirect"),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&&(console.log("no error + changes + redirect"),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)console.log("no error + changes + redirect"),window.location.href=(null!==(t=window.previousURL)&&void 0!==t?t:"/")+"?transaction_group_id="+this.groupId+"&message=updated";for(var a in console.log("end of the line"),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 d=(0,a(1900).Z)(_,(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",{on:{submit:e.submitTransaction}},[a("SplitPills",{attrs:{transactions:e.transactions}}),e._v(" "),a("div",{staticClass:"tab-content"},e._l(this.transactions,(function(t,n){return a("SplitForm",{key:n,attrs:{count:e.transactions.length,transaction:t,"allowed-opposing-types":e.allowedOpposingTypes,"custom-fields":e.customFields,date:e.date,time:e.time,index:n,"transaction-type":e.transactionType,"destination-allowed-types":e.destinationAllowedTypes,"source-allowed-types":e.sourceAllowedTypes,"allow-switch":!1,"submitted-transaction":e.submittedTransaction},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-time":function(t){return e.storeTime(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",on:{click:e.addTransaction}},[a("i",{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-info btn-block",attrs:{disabled:!e.enableSubmit},on:{click:e.submitTransaction}},[e.enableSubmit?a("span",[a("i",{staticClass:"far fa-save"}),e._v(" "+e._s(e.$t("firefly.update_transaction")))]):e._e(),e._v(" "),e.enableSubmit?e._e():a("span",[a("i",{staticClass:"fas fa-spinner fa-spin"})])])])]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[e._v("\n \n ")]),e._v(" "),a("div",{staticClass:"col"},[a("div",{staticClass:"form-check"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.stayHere,expression:"stayHere"}],staticClass:"form-check-input",attrs:{id:"stayHere",type:"checkbox"},domProps:{checked:Array.isArray(e.stayHere)?e._i(e.stayHere,null)>-1:e.stayHere},on:{change:function(t){var a=e.stayHere,n=t.target,s=!!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=s}}}),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,"a988810a",null).exports;var p=a(7760),g=a.n(p);a(232),g().config.productionTip=!1;var m=a(157),h={};new(g())({i18n:m,store:n.Z,render:function(e){return e(d,{props:h})},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 s(){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,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:[],attachments:[],zoom_level:null,longitude:null,latitude:null,errors:{}}}function o(e){var t=e.getFullYear(),a=e.getMonth();++a<10&&(a="0"+a);var n=e.getDate();n<10&&(n="0"+n);var s=e.getHours();s<10&&(s="0"+s);var o=e.getMinutes();o<10&&(o="0"+o);var i=e.getSeconds();i<10&&(i="0"+i);var r=-e.getTimezoneOffset(),c=Math.abs(Math.floor(r/60)),l=Math.abs(r)-60*c;c<10&&(c="0"+c),l<10&&(l="0"+l);var u="+";return r<0&&(u="-"),t+"-"+a+"-"+n+"T"+s+":"+o+":"+i+u+c+":"+l}a.d(t,{kQ:()=>n,f$:()=>s,u6:()=>o})},6665:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>r});var n=a(4015),s=a.n(n),o=a(3645),i=a.n(o)()(s());i.push([e.id,".vue-tags-input{max-width:100%!important;display:block}.ti-input,.vue-tags-input{width:100%;border-radius:.25rem}.ti-input{max-width:100%}.ti-new-tag-input{font-size:1rem}","",{version:3,sources:["webpack://./src/components/transactions/TransactionTags.vue"],names:[],mappings:"AA2HA,gBAEA,wBAAA,CACA,aAEA,CAEA,0BANA,UAAA,CAGA,oBAOA,CAJA,UAEA,cAEA,CAEA,kBACA,cACA",sourcesContent:['\x3c!--\n - TransactionTags.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n --\x3e\n\n<template>\n <div class="form-group">\n <div class="text-xs d-none d-lg-block d-xl-block">\n {{ $t(\'firefly.tags\') }}\n </div>\n <div class="input-group">\n <vue-tags-input\n v-model="currentTag"\n :add-only-from-autocomplete="false"\n :autocomplete-items="autocompleteItems"\n :tags="tags"\n :title="$t(\'firefly.tags\')"\n v-bind:placeholder="$t(\'firefly.tags\')"\n @tags-changed="newTags => this.tags = newTags"\n />\n </div>\n <span v-if="errors.length > 0">\n <span v-for="error in errors" class="text-danger small">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nimport VueTagsInput from "@johmun/vue-tags-input";\nimport axios from "axios";\n\nexport default {\n name: "TransactionTags",\n components: {\n VueTagsInput\n },\n props: [\'value\', \'index\', \'errors\'],\n data() {\n return {\n autocompleteItems: [],\n debounce: null,\n tags: [],\n currentTag: \'\',\n updateTags: true, // the idea is that this is always true, except when the tags-function sets the value.\n tagList: this.value,\n emitEvent: true\n };\n },\n created() {\n let tags = [];\n for (let i in this.value) {\n if (this.value.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n tags.push({text: this.value[i]});\n }\n }\n this.updateTags = false;\n this.tags = tags;\n },\n watch: {\n \'currentTag\': \'initItems\',\n value: function (value) {\n this.emitEvent = false;\n this.tagList = value;\n },\n tagList: function (value) {\n console.log(\'watch tagList\');\n if (true === this.emitEvent) {\n this.$emit(\'set-field\', {field: \'tags\', index: this.index, value: value});\n }\n this.emitEvent = true;\n this.updateTags = false;\n this.tags = value;\n },\n tags: function (value) {\n if (this.updateTags) {\n let shortList = [];\n for (let key in value) {\n if (value.hasOwnProperty(key)) {\n shortList.push({text: value[key].text});\n }\n }\n this.tagList = shortList;\n }\n this.updateTags = true;\n }\n },\n methods: {\n initItems() {\n if (this.currentTag.length < 2) {\n return;\n }\n const url = document.getElementsByTagName(\'base\')[0].href + `api/v1/autocomplete/tags?query=${this.currentTag}`;\n\n clearTimeout(this.debounce);\n this.debounce = setTimeout(() => {\n axios.get(url).then(response => {\n this.autocompleteItems = response.data.map(item => {\n return {text: item.tag};\n });\n }).catch(() => console.warn(\'Oh. Something went wrong loading tags.\'));\n }, 300);\n },\n },\n\n\n}\n<\/script>\n<style>\n.vue-tags-input {\n width: 100%;\n max-width: 100% !important;\n display: block;\n border-radius: 0.25rem;\n}\n\n.ti-input {\n border-radius: 0.25rem;\n max-width: 100%;\n width: 100%;\n}\n\n.ti-new-tag-input {\n font-size: 1rem;\n}\n</style>\n'],sourceRoot:""}]);const r=i},3324:(e,t,a)=>{"use strict";a.d(t,{Z:()=>s});const n={name:"Alert",props:["message","type"]};const s=(0,a(1900).Z)(n,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.message.length>0?a("div",{class:"alert alert-"+e.type+" alert-dismissible"},[a("button",{staticClass:"close",attrs:{"aria-hidden":"true","data-dismiss":"alert",type:"button"}},[e._v("×")]),e._v(" "),a("h5",["danger"===e.type?a("i",{staticClass:"icon fas fa-ban"}):e._e(),e._v(" "),"success"===e.type?a("i",{staticClass:"icon fas fa-thumbs-up"}):e._e(),e._v(" "),"danger"===e.type?a("span",[e._v(e._s(e.$t("firefly.flash_error")))]):e._e(),e._v(" "),"success"===e.type?a("span",[e._v(e._s(e.$t("firefly.flash_success")))]):e._e()]),e._v(" "),a("span",{domProps:{innerHTML:e._s(e.message)}})]):e._e()}),[],!1,null,null,null).exports},1980:(e,t,a)=>{"use strict";a.d(t,{Z:()=>ae});var n=a(3533),s=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,s.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 i=a(1900);const r=(0,i.Z)(o,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("vue-typeahead-bootstrap",{attrs:{data:e.descriptions,inputClass:e.errors.length>0?"is-invalid":"",minMatchingChars:3,placeholder:e.$t("firefly.description"),serializer:function(e){return e.description},showOnFocus:!0,autofocus:"",inputName:"description[]"},on:{input:e.lookupDescription},model:{value:e.description,callback:function(t){e.description=t},expression:"description"}},[a("template",{slot:"append"},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"},on:{click:e.clearDescription}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()],1)}),[],!1,null,null,null).exports;const c={props:["index","errors","date","time"],name:"TransactionDate",created:function(){this.timeZone=Intl.DateTimeFormat().resolvedOptions().timeZone},data:function(){return{localDate:this.date,localTime:this.time,timeZone:"",timeString:""}},methods:{},computed:{dateStr:{get:function(){return this.localDate instanceof Date&&!isNaN(this.localDate)?this.localDate.toISOString().split("T")[0]:""},set:function(e){if(""===e)return this.localDate=new Date,void this.$emit("set-date",{date:this.localDate});this.localDate=new Date(e),this.$emit("set-date",{date:this.localDate})}},timeStr:{get:function(){return this.localTime instanceof Date&&!isNaN(this.localTime)?("0"+this.localTime.getHours()).slice(-2)+":"+("0"+this.localTime.getMinutes()).slice(-2)+":"+("0"+this.localTime.getSeconds()).slice(-2):""},set:function(e){var t,a,n;if(""===e)return this.localTime.setHours(0),this.localTime.setMinutes(0),this.localTime.setSeconds(0),void this.$emit("set-time",{time:this.localTime});var s=new Date(this.localTime.getTime()),o=e.split(":"),i=null!==(t=o[0])&&void 0!==t?t:"0",r=null!==(a=o[1])&&void 0!==a?a:"0",c=null!==(n=o[2])&&void 0!==n?n:"0";i=3===i.length?i.substr(1,2):i,r=3===r.length?r.substr(1,2):r,c=3===c.length?c.substr(1,2):c,s.setHours(parseInt(i)),s.setMinutes(parseInt(r)),s.setSeconds(parseInt(c)),this.localTime=s,this.$emit("set-time",{time:this.localTime})}}}};const l=(0,i.Z)(c,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.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:{disabled:e.index>0,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(" "),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(" "),""!==e.timeZone?a("span",{staticClass:"text-muted small"},[e._v(e._s(e.timeZone))]):e._e()])}),[],!1,null,null,null).exports;const u={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 _=(0,i.Z)(u,(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 d={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:""},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,s.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)},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 p=(0,i.Z)(d,(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,s=t.htmlText;return[a("div",{staticClass:"d-flex",attrs:{title:n.type}},[a("span",{domProps:{innerHTML:e._s(s)}}),a("br")])]}}],null,!1,1423807661),model:{value:e.accountName,callback:function(t){e.accountName=t},expression:"accountName"}},[e._v(" "),a("template",{slot:"append"},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"},on:{click:e.clearAccount}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2):e._e(),e._v(" "),e.visible?e._e():a("div",{staticClass:"form-control-static"},[a("span",{staticClass:"small text-muted"},[a("em",[e._v(e._s(e.$t("firefly.first_split_decides")))])])]),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()],1)}),[],!1,null,null,null).exports;const g={name:"SwitchAccount",props:["index","transactionType"],methods:{}};const m=(0,i.Z)(g,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},["any"!==this.transactionType?a("span",{staticClass:"text-muted"},[e._v("\n "+e._s(e.$t("firefly."+this.transactionType))+"\n ")]):e._e(),e._v(" "),"any"===this.transactionType?a("span",{staticClass:"text-muted"},[e._v(" ")]):e._e()])])}),[],!1,null,"66a3afa9",null).exports;const h={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 y=(0,i.Z)(h,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs"},[e._v(e._s(e.$t("firefly.amount")))]),e._v(" "),a("div",{staticClass:"input-group"},[e.currencySymbol?a("div",{staticClass:"input-group-prepend"},[a("div",{staticClass:"input-group-text"},[e._v(e._s(e.currencySymbol))])]):e._e(),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.transactionAmount,expression:"transactionAmount"}],class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:e.$t("firefly.amount"),title:e.$t("firefly.amount"),autocomplete:"off",name:"amount[]",type:"number",step:"any"},domProps:{value:e.transactionAmount},on:{input:function(t){t.target.composing||(e.transactionAmount=t.target.value)}}})]),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()])}),[],!1,null,"571f2c0a",null).exports;const b={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 f=(0,i.Z)(b,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.isVisible?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs"},[e._v(e._s(e.$t("form.foreign_amount")))]),e._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.amount,expression:"amount"}],class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:e.$t("form.foreign_amount"),title:e.$t("form.foreign_amount"),autocomplete:"off",name:"foreign_amount[]",type:"number"},domProps:{value:e.amount},on:{input:function(t){t.target.composing||(e.amount=t.target.value)}}})]),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()]):e._e()}),[],!1,null,"d13f8bea",null).exports;const v={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 k=(0,i.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._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedCurrency,expression:"selectedCurrency"}],staticClass:"form-control",attrs:{name:"foreign_currency_id[]"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.selectedCurrency=t.target.multiple?a:a[0]}}},e._l(e.selectableCurrencies,(function(t){return a("option",{attrs:{label:t.name},domProps:{value:t.id}},[e._v(e._s(t.name))])})),0)])]):e._e()}),[],!1,null,"3ee4efa5",null).exports;const w={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 x=(0,i.Z)(w,(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,emitEvent:!0}},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,s.debounce)((function(){var e=this;axios.get(this.getACURL(this.value)).then((function(t){e.categories=t.data}))}),300)},watch:{value:function(e){this.emitEvent=!1,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 C=(0,i.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("i",{staticClass:"far fa-trash-alt"})])])])],2),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()],1)}),[],!1,null,null,null).exports;const D={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 A=(0,i.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.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),S=a.n(I),z=a(9669),j=a.n(z);const P={name:"TransactionTags",components:{VueTagsInput:S()},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){console.log("watch tagList"),!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(){j().get(t).then((function(t){e.autocompleteItems=t.data.map((function(e){return{text:e.tag}}))})).catch((function(){return console.warn("Oh. Something went wrong loading tags.")}))}),300)}}}};a(4936);const B=(0,i.Z)(P,(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 N={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 F=(0,i.Z)(N,(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 L={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 E=(0,i.Z)(L,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.internal_reference"))+"\n ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.reference,expression:"reference"}],class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:e.$t("firefly.internal_reference"),name:"internal_reference[]",type:"text"},domProps:{value:e.reference},on:{input:function(t){t.target.composing||(e.reference=t.target.value)}}}),e._v(" "),e._m(0)])]):e._e()}),[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"input-group-append"},[t("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"}},[t("i",{staticClass:"far fa-trash-alt"})])])}],!1,null,null,null).exports;const $={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 R=(0,i.Z)($,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.external_url"))+"\n ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.url,expression:"url"}],class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:e.$t("firefly.external_url"),name:"external_url[]",type:"url"},domProps:{value:e.url},on:{input:function(t){t.target.composing||(e.url=t.target.value)}}}),e._v(" "),e._m(0)])]):e._e()}),[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"input-group-append"},[t("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"}},[t("i",{staticClass:"far fa-trash-alt"})])])}],!1,null,"7f6746e6",null).exports;const M={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 O=(0,i.Z)(M,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.notes"))+"\n ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.notes,expression:"notes"}],class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:e.$t("firefly.notes")},domProps:{value:e.notes},on:{input:function(t){t.target.composing||(e.notes=t.target.value)}}})])]):e._e()}),[],!1,null,"10b3ae7a",null).exports;var U=a(3465);const q={props:["index","value","errors","customFields"],name:"TransactionLinks",data:function(){return{searchResults:[],include:[],locale:"en-US",linkTypes:[],query:"",searching:!1,links:this.value,availableFields:this.customFields,emitEvent:!0}},created:function(){var e;this.locale=null!==(e=localStorage.locale)&&void 0!==e?e:"en-US",this.emitEvent=!1,this.links=U(this.value),this.getLinkTypes()},computed:{showField:function(){return"links"in this.availableFields&&this.availableFields.links}},watch:{value:function(e){null!==e&&(this.emitEvent=!1,this.links=U(e))},links:function(e){!0===this.emitEvent&&this.$emit("set-field",{index:this.index,field:"links",value:U(e)}),this.emitEvent=!0},customFields:function(e){this.availableFields=e}},methods:{removeLink:function(e){this.links.splice(e,1)},getTextForLinkType:function(e){var t=e.split("-");for(var a in this.linkTypes)if(this.linkTypes.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=this.linkTypes[a];if(t[0]===n.id&&t[1]===n.direction)return n.type}return"text for #"+e},selectTransaction:function(e){for(var t in this.searchResults)if(this.searchResults.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=this.searchResults[t];a.selected&&this.addToSelected(a),a.selected||this.removeFromSelected(a)}},selectLinkType:function(e){for(var t in this.searchResults)if(this.searchResults.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=this.searchResults[t];this.updateSelected(a.transaction_journal_id,a.link_type_id)}},updateSelected:function(e,t){for(var a in this.links)if(this.links.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=this.links[a];parseInt(n.transaction_journal_id)===e&&(this.links[a].link_type_id=t)}},addToSelected:function(e){void 0===this.links.find((function(t){return t.transaction_journal_id===e.transaction_journal_id}))&&this.links.push(e)},removeFromSelected:function(e){for(var t in this.links){if(this.links.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294)this.links[t].transaction_journal_id===e.transaction_journal_id&&this.links.splice(parseInt(t),1)}},getLinkTypes:function(){var e=this;axios.get("./api/v1/link_types").then((function(t){e.parseLinkTypes(t.data)}))},resetModal:function(){this.search()},parseLinkTypes:function(e){for(var t in e.data)if(e.data.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=e.data[t],n={id:a.id,type:a.attributes.inward,direction:"inward"},s={id:a.id,type:a.attributes.outward,direction:"outward"};n.type===s.type&&(n.type=n.type+" (←)",s.type=s.type+" (→)"),this.linkTypes.push(n),this.linkTypes.push(s)}},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 V=(0,i.Z)(q,(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:{"data-target":"#linkModal","data-toggle":"modal"},on:{click:e.resetModal}},[a("i",{staticClass:"fas fa-plus"}),e._v(" Add transaction link")])]):e._e(),e._v(" "),e.links.length>0?a("ul",{staticClass:"list-group"},e._l(e.links,(function(t,n){return a("li",{key:n,staticClass:"list-group-item"},[a("em",[e._v(e._s(e.getTextForLinkType(t.link_type_id)))]),e._v(" "),a("a",{attrs:{href:"./transaction/show/"+t.transaction_group_id}},[e._v(e._s(t.description))]),e._v(" "),"withdrawal"===t.type?a("span",[e._v("\n ("),a("span",{staticClass:"text-danger"},[e._v(e._s(Intl.NumberFormat(e.locale,{style:"currency",currency:t.currency_code}).format(-1*parseFloat(t.amount))))]),e._v(")\n ")]):e._e(),e._v(" "),"deposit"===t.type?a("span",[e._v("\n ("),a("span",{staticClass:"text-success"},[e._v(e._s(Intl.NumberFormat(e.locale,{style:"currency",currency:t.currency_code}).format(parseFloat(t.amount))))]),e._v(")\n ")]):e._e(),e._v(" "),"transfer"===t.type?a("span",[e._v("\n ("),a("span",{staticClass:"text-info"},[e._v(e._s(Intl.NumberFormat(e.locale,{style:"currency",currency:t.currency_code}).format(parseFloat(t.amount))))]),e._v(")\n ")]):e._e(),e._v(" "),a("div",{staticClass:"btn-group btn-group-xs float-right"},[a("button",{staticClass:"btn btn-xs btn-danger",attrs:{tabindex:"-1"},on:{click:function(t){return e.removeLink(n)}}},[a("i",{staticClass:"far fa-trash-alt"})])])])})),0):e._e(),e._v(" "),e.links.length>0?a("div",{staticClass:"form-text"},[a("button",{staticClass:"btn btn-default",attrs:{"data-target":"#linkModal","data-toggle":"modal"},on:{click:e.resetModal}},[a("i",{staticClass:"fas fa-plus"})])]):e._e()])])]),e._v(" "),a("div",{ref:"linkModal",staticClass:"modal",attrs:{id:"linkModal",tabindex:"-1"}},[a("div",{staticClass:"modal-dialog modal-lg"},[a("div",{staticClass:"modal-content"},[e._m(0),e._v(" "),a("div",{staticClass:"modal-body"},[a("div",{staticClass:"container-fluid"},[e._m(1),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("form",{on:{submit:function(t){return t.preventDefault(),e.search(t)}}},[a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.query,expression:"query"}],staticClass:"form-control",attrs:{id:"query",autocomplete:"off",maxlength:"255",name:"search",placeholder:"Search query",type:"text"},domProps:{value:e.query},on:{input:function(t){t.target.composing||(e.query=t.target.value)}}}),e._v(" "),e._m(2)])])])]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[e.searching?a("span",[a("i",{staticClass:"fas fa-spinner fa-spin"})]):e._e(),e._v(" "),e.searchResults.length>0?a("h4",[e._v(e._s(e.$t("firefly.search_results")))]):e._e(),e._v(" "),e.searchResults.length>0?a("table",{staticClass:"table table-sm"},[a("caption",{staticStyle:{display:"none"}},[e._v(e._s(e.$t("firefly.search_results")))]),e._v(" "),a("thead",[a("tr",[a("th",{staticStyle:{width:"33%"},attrs:{scope:"col",colspan:"2"}},[e._v(e._s(e.$t("firefly.include")))]),e._v(" "),a("th",{attrs:{scope:"col"}},[e._v(e._s(e.$t("firefly.transaction")))])])]),e._v(" "),a("tbody",e._l(e.searchResults,(function(t){return a("tr",[a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"result.selected"}],staticClass:"form-control",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.selected)?e._i(t.selected,null)>-1:t.selected},on:{change:[function(a){var n=t.selected,s=a.target,o=!!s.checked;if(Array.isArray(n)){var i=e._i(n,null);s.checked?i<0&&e.$set(t,"selected",n.concat([null])):i>-1&&e.$set(t,"selected",n.slice(0,i).concat(n.slice(i+1)))}else e.$set(t,"selected",o)},function(t){return e.selectTransaction(t)}]}})]),e._v(" "),a("td",[a("select",{directives:[{name:"model",rawName:"v-model",value:t.link_type_id,expression:"result.link_type_id"}],staticClass:"form-control",on:{change:[function(a){var n=Array.prototype.filter.call(a.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(t,"link_type_id",a.target.multiple?n:n[0])},function(t){return e.selectLinkType(t)}]}},e._l(e.linkTypes,(function(t){return a("option",{attrs:{label:t.type},domProps:{value:t.id+"-"+t.direction}},[e._v(e._s(t.type)+"\n ")])})),0)]),e._v(" "),a("td",[a("a",{attrs:{href:"./transactions/show/"+t.transaction_group_id}},[e._v(e._s(t.description))]),e._v(" "),"withdrawal"===t.type?a("span",[e._v("\n ("),a("span",{staticClass:"text-danger"},[e._v(e._s(Intl.NumberFormat(e.locale,{style:"currency",currency:t.currency_code}).format(-1*parseFloat(t.amount))))]),e._v(")\n ")]):e._e(),e._v(" "),"deposit"===t.type?a("span",[e._v("\n ("),a("span",{staticClass:"text-success"},[e._v(e._s(Intl.NumberFormat(e.locale,{style:"currency",currency:t.currency_code}).format(parseFloat(t.amount))))]),e._v(")\n ")]):e._e(),e._v(" "),"transfer"===t.type?a("span",[e._v("\n ("),a("span",{staticClass:"text-info"},[e._v(e._s(Intl.NumberFormat(e.locale,{style:"currency",currency:t.currency_code}).format(parseFloat(t.amount))))]),e._v(")\n ")]):e._e(),e._v(" "),a("br"),e._v(" "),a("em",[a("a",{attrs:{href:"./accounts/show/"+t.source_id}},[e._v(e._s(t.source_name))]),e._v("\n →\n "),a("a",{attrs:{href:"./accounts/show/"+t.destination_id}},[e._v(e._s(t.destination_name))])])])])})),0)]):e._e()])])])]),e._v(" "),e._m(3)])])])]):e._e()}),[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"modal-header"},[a("h5",{staticClass:"modal-title"},[e._v("Transaction thing dialog.")]),e._v(" "),a("button",{staticClass:"close",attrs:{"aria-label":"Close","data-dismiss":"modal",type:"button"}},[a("span",{attrs:{"aria-hidden":"true"}},[e._v("×")])])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("p",[e._v("\n Use this form to search for transactions you wish to link to this one. When in doubt, use "),a("code",[e._v("id:*")]),e._v(" where the ID is the number from\n the URL.\n ")])])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-default",attrs:{type:"submit"}},[a("i",{staticClass:"fas fa-search"}),e._v(" Search")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"modal-footer"},[a("button",{staticClass:"btn btn-secondary",attrs:{"data-dismiss":"modal",type:"button"}},[e._v("Close")])])}],!1,null,null,null).exports;const G={name:"TransactionAttachments",props:["transaction_journal_id","customFields"],data:function(){return{availableFields:this.customFields}},watch:{customFields:function(e){this.availableFields=e},transaction_journal_id:function(e){this.showField?0!==e&&this.doUpload():this.$emit("uploaded-attachments",e)}},computed:{showField:function(){return"attachments"in this.availableFields&&this.availableFields.attachments}},methods:{selectedFile:function(){this.$emit("selected-attachments",this.transaction_journal_id)},doUpload:function(){var e=this;for(var t in this.$refs.att.files)this.$refs.att.files.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294&&function(){var a=e.$refs.att.files[t],n=new FileReader,s=e;n.onloadend=function(e){var t=this;if(e.target.readyState===FileReader.DONE){var n={filename:a.name,attachable_type:"TransactionJournal",attachable_id:s.transaction_journal_id};axios.post("./api/v1/attachments",n).then((function(a){var n="./api/v1/attachments/"+a.data.data.id+"/upload";axios.post(n,new Blob([e.target.result])).then((function(e){s.$emit("uploaded-attachments",t.transaction_journal_id)}))}))}},n.readAsArrayBuffer(a)}();0===this.$refs.att.files.length&&this.$emit("uploaded-attachments",this.transaction_journal_id)}}};const W=(0,i.Z)(G,(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,"c0a65b6c",null).exports;var Z=a(7661),K=a(5352),H=a(2727),J=a(8380),Y=(a(5802),a(5243)),Q=a.n(Y);delete Q().Icon.Default.prototype._getIconUrl,Q().Icon.Default.mergeOptions({iconRetinaUrl:a(9895),iconUrl:a(3448),shadowUrl:a(4645)});const X={name:"TransactionLocation",props:{index:{},value:{type:Object,required:!1},errors:{},customFields:{}},components:{LMap:K.Z,LTileLayer:H.Z,LMarker:J.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 ee=(0,i.Z)(X,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.location"))+"\n ")]),e._v(" "),a("div",{staticStyle:{width:"100%",height:"300px"}},[a("l-map",{ref:"myMap",staticStyle:{width:"100%",height:"300px"},attrs:{center:e.center,zoom:e.zoom},on:{ready:function(t){return e.prepMap()},"update:zoom":e.zoomUpdated,"update:center":e.centerUpdated,"update:bounds":e.boundsUpdated}},[a("l-tile-layer",{attrs:{url:e.url}}),e._v(" "),a("l-marker",{attrs:{"lat-lng":e.marker,visible:e.hasMarker}})],1),e._v(" "),a("span",[a("button",{staticClass:"btn btn-default btn-xs",on:{click:e.clearLocation}},[e._v(e._s(e.$t("firefly.clear_location")))])])],1),e._v(" "),a("p",[e._v(" ")])]):e._e()}),[],!1,null,"3bafa3c9",null).exports,te={name:"SplitForm",props:{transaction:{type:Object,required:!0},count:{type:Number,required:!1},customFields:{type:Object,required:!1},index:{type:Number,required:!0},date:{type:Date,required:!0},time:{type:Date,required:!0},transactionType:{type:String,required:!0},submittedTransaction:{type:Boolean,required:!1,default:!1},sourceAllowedTypes:{type:Array,required:!1,default:[]},destinationAllowedTypes:{type:Array,required:!1,default:[]},allowSwitch:{type:Boolean,required:!1,default:!0}},methods:{removeTransaction:function(){this.$emit("remove-transaction",{index:this.index})}},computed:{splitDate:function(){return this.date},splitTime:function(){return this.time},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:ee,SplitPills:Z.Z,TransactionAttachments:W,TransactionNotes:O,TransactionExternalUrl:R,TransactionInternalReference:E,TransactionPiggyBank:F,TransactionTags:B,TransactionLinks:V,TransactionBill:A,TransactionCategory:C,TransactionCustomDates:x,TransactionForeignCurrency:k,TransactionForeignAmount:f,TransactionAmount:y,SwitchAccount:m,TransactionAccount:p,TransactionBudget:_,TransactionDescription:r,TransactionDate:l}};const ae=(0,i.Z)(te,(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",on:{click:e.removeTransaction}},[a("i",{staticClass:"fas fa-trash-alt"})])]):e._e()]),e._v(" "),a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("TransactionDescription",e._g({attrs:{errors:e.transaction.errors.description,index:e.index},model:{value:e.transaction.description,callback:function(t){e.$set(e.transaction,"description",t)},expression:"transaction.description"}},e.$listeners))],1)]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12"},[a("TransactionAccount",e._g({attrs:{"destination-allowed-types":e.destinationAllowedTypes,errors:e.transaction.errors.source,index:e.index,"source-allowed-types":e.sourceAllowedTypes,"transaction-type":e.transactionType,direction:"source"},model:{value:e.sourceAccount,callback:function(t){e.sourceAccount=t},expression:"sourceAccount"}},e.$listeners))],1),e._v(" "),a("div",{staticClass:"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block"},[0===e.index&&e.allowSwitch?a("SwitchAccount",e._g({attrs:{index:e.index,"transaction-type":e.transactionType}},e.$listeners)):e._e()],1),e._v(" "),a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12"},[a("TransactionAccount",e._g({attrs:{"destination-allowed-types":e.destinationAllowedTypes,errors:e.transaction.errors.destination,index:e.index,"transaction-type":e.transactionType,"source-allowed-types":e.sourceAllowedTypes,direction:"destination"},model:{value:e.destinationAccount,callback:function(t){e.destinationAccount=t},expression:"destinationAccount"}},e.$listeners))],1)]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12"},[a("TransactionAmount",e._g({attrs:{amount:e.transaction.amount,"destination-currency-symbol":this.transaction.destination_account_currency_symbol,errors:e.transaction.errors.amount,index:e.index,"source-currency-symbol":this.transaction.source_account_currency_symbol,"transaction-type":this.transactionType}},e.$listeners))],1),e._v(" "),a("div",{staticClass:"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block"},[a("TransactionForeignCurrency",e._g({attrs:{"destination-currency-id":this.transaction.destination_account_currency_id,index:e.index,"selected-currency-id":this.transaction.foreign_currency_id,"source-currency-id":this.transaction.source_account_currency_id,"transaction-type":this.transactionType},model:{value:e.transaction.foreign_currency_id,callback:function(t){e.$set(e.transaction,"foreign_currency_id",t)},expression:"transaction.foreign_currency_id"}},e.$listeners))],1),e._v(" "),a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12"},[a("TransactionForeignAmount",e._g({attrs:{"destination-currency-id":this.transaction.destination_account_currency_id,errors:e.transaction.errors.foreign_amount,index:e.index,"selected-currency-id":this.transaction.foreign_currency_id,"source-currency-id":this.transaction.source_account_currency_id,"transaction-type":this.transactionType},model:{value:e.transaction.foreign_amount,callback:function(t){e.$set(e.transaction,"foreign_amount",t)},expression:"transaction.foreign_amount"}},e.$listeners))],1)]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12"},[a("TransactionDate",e._g({attrs:{date:e.splitDate,errors:e.transaction.errors.date,index:e.index,time:e.splitTime}},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,submitted_transaction:e.submittedTransaction,transaction_journal_id:e.transaction.transaction_journal_id},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},7661:(e,t,a)=>{"use strict";a.d(t,{Z:()=>s});const n={name:"SplitPills",props:["transactions"]};const s=(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"},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":"tab"}},[""!==t.description?a("span",[e._v(e._s(t.description))]):e._e(),e._v(" "),""===t.description?a("span",[e._v("Split "+e._s(n+1))]):e._e()])])})),0)])]):e._e()}),[],!1,null,null,null).exports},5524:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(3533),s=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,s.debounce)((function(){var e=this;axios.get(this.getACURL(this.title)).then((function(t){e.descriptions=t.data}))}),300)}};const i=(0,a(1900).Z)(o,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.split_transaction_title"))+"\n ")]),e._v(" "),a("vue-typeahead-bootstrap",{attrs:{data:e.descriptions,inputClass:e.errors.length>0?"is-invalid":"",minMatchingChars:3,placeholder:e.$t("firefly.split_transaction_title"),serializer:function(e){return e.description},showOnFocus:!0,inputName:"group_title"},on:{input:e.lookupDescription},model:{value:e.title,callback:function(t){e.title=t},expression:"title"}},[a("template",{slot:"append"},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"},on:{click:e.clearDescription}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()],1)}),[],!1,null,"273271bf",null).exports},4936:(e,t,a)=>{var n=a(6665);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,a(5346).Z)("bf9ab7ac",n,!0,{})},7154:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Прехвърляне","Withdrawal":"Теглене","Deposit":"Депозит","date_and_time":"Date and time","no_currency":"(без валута)","date":"Дата","time":"Time","no_budget":"(без бюджет)","destination_account":"Приходна сметка","source_account":"Разходна сметка","single_split":"Раздел","create_new_transaction":"Create a new transaction","balance":"Салдо","transaction_journal_extra":"Extra information","transaction_journal_meta":"Мета информация","basic_journal_information":"Basic transaction information","bills_to_pay":"Сметки за плащане","left_to_spend":"Останали за харчене","attachments":"Прикачени файлове","net_worth":"Нетна стойност","bill":"Сметка","no_bill":"(няма сметка)","tags":"Етикети","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(без касичка)","paid":"Платени","notes":"Бележки","yourAccounts":"Вашите сметки","go_to_asset_accounts":"Вижте активите си","delete_account":"Изтриване на профил","transaction_table_description":"Таблица съдържаща вашите транзакции","account":"Сметка","description":"Описание","amount":"Сума","budget":"Бюджет","category":"Категория","opposing_account":"Противоположна сметка","budgets":"Бюджети","categories":"Категории","go_to_budgets":"Вижте бюджетите си","income":"Приходи","go_to_deposits":"Отиди в депозити","go_to_categories":"Виж категориите си","expense_accounts":"Сметки за разходи","go_to_expenses":"Отиди в Разходи","go_to_bills":"Виж сметките си","bills":"Сметки","last_thirty_days":"Последните трийсет дни","last_seven_days":"Последните седем дни","go_to_piggies":"Виж касичките си","saved":"Записан","piggy_banks":"Касички","piggy_bank":"Касичка","amounts":"Суми","left":"Останали","spent":"Похарчени","Default asset account":"Сметка за активи по подразбиране","search_results":"Резултати от търсенето","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Сметка за активи по подразбиране","account_role_savingAsset":"Спестовна сметка","account_role_sharedAsset":"Сметка за споделени активи","clear_location":"Изчисти местоположението","account_role_ccAsset":"Кредитна карта","account_role_cashWalletAsset":"Паричен портфейл","daily_budgets":"Дневни бюджети","weekly_budgets":"Седмични бюджети","monthly_budgets":"Месечни бюджети","quarterly_budgets":"Тримесечни бюджети","create_new_expense":"Създай нова сметка за разходи","create_new_revenue":"Създай нова сметка за приходи","create_new_liabilities":"Create new liability","half_year_budgets":"Шестмесечни бюджети","yearly_budgets":"Годишни бюджети","split_transaction_title":"Описание на разделена транзакция","errors_submission":"Имаше нещо нередно с вашите данни. Моля, проверете грешките.","flash_error":"Грешка!","store_transaction":"Store transaction","flash_success":"Успех!","create_another":"След съхраняването се върнете тук, за да създадете нова.","update_transaction":"Обнови транзакцията","after_update_create_another":"След обновяването се върнете тук, за да продължите с редакцията.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Търсене","create_new_asset":"Създай нова сметка за активи","asset_accounts":"Сметки за активи","reset_after":"Изчистване на формуляра след изпращане","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID}(\\"{title}\\")</a> беше записана.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Местоположение","other_budgets":"Времево персонализирани бюджети","journal_links":"Връзки на транзакция","go_to_withdrawals":"Вижте тегленията си","revenue_accounts":"Сметки за приходи","add_another_split":"Добавяне на друг раздел","actions":"Действия","edit":"Промени","account_type_Loan":"Заем","account_type_Mortgage":"Ипотека","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Дълг","delete":"Изтрий","store_new_asset_account":"Запамети нова сметка за активи","store_new_expense_account":"Запамети нова сметка за разходи","store_new_liabilities_account":"Запамети ново задължение","store_new_revenue_account":"Запамети нова сметка за приходи","mandatoryFields":"Задължителни полета","optionalFields":"Незадължителни полета","reconcile_this_account":"Съгласувай тази сметка","interest_calc_weekly":"Per week","interest_calc_monthly":"На месец","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Годишно","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(нищо)"},"list":{"piggy_bank":"Касичка","percentage":"%","amount":"Сума","name":"Име","role":"Привилегии","iban":"IBAN","currentBalance":"Текущ баланс","next_expected_match":"Следващo очакванo съвпадение"},"config":{"html_language":"bg"},"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","edit":"Upravit","account_type_Loan":"Půjčka","account_type_Mortgage":"Hypotéka","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Dluh","delete":"Odstranit","store_new_asset_account":"Uložit nový účet aktiv","store_new_expense_account":"Uložit nový výdajový účet","store_new_liabilities_account":"Uložit nový závazek","store_new_revenue_account":"Uložit nový příjmový účet","mandatoryFields":"Povinné kolonky","optionalFields":"Volitelné kolonky","reconcile_this_account":"Vyúčtovat tento účet","interest_calc_weekly":"Per week","interest_calc_monthly":"Za měsíc","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Za rok","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(žádné)"},"list":{"piggy_bank":"Pokladnička","percentage":"%","amount":"Částka","name":"Jméno","role":"Role","iban":"IBAN","currentBalance":"Aktuální zůstatek","next_expected_match":"Další očekávaná shoda"},"config":{"html_language":"cs"},"form":{"foreign_amount":"Částka v cizí měně","interest_date":"Úrokové datum","name":"Název","amount":"Částka","iban":"IBAN","BIC":"BIC","notes":"Poznámky","location":"Údaje o poloze","attachments":"Přílohy","active":"Aktivní","include_net_worth":"Zahrnout do čistého jmění","account_number":"Číslo účtu","virtual_balance":"Virtuální zůstatek","opening_balance":"Počáteční zůstatek","opening_balance_date":"Datum počátečního zůstatku","date":"Datum","interest":"Úrok","interest_period":"Úrokové období","currency_id":"Měna","liability_type":"Liability type","account_role":"Role účtu","liability_direction":"Liability in/out","book_date":"Datum rezervace","permDeleteWarning":"Odstranění věcí z Firefly III je trvalé a nelze vrátit zpět.","account_areYouSure_js":"Jste si jisti, že chcete odstranit účet s názvem \\"{name}\\"?","also_delete_piggyBanks_js":"Žádné pokladničky|Jediná pokladnička připojená k tomuto účtu bude také odstraněna. Všech {count} pokladniček, které jsou připojeny k tomuto účtu, bude také odstraněno.","also_delete_transactions_js":"Žádné transakce|Jediná transakce připojená k tomuto účtu bude také smazána.|Všech {count} transakcí připojených k tomuto účtu bude také odstraněno.","process_date":"Datum zpracování","due_date":"Datum splatnosti","payment_date":"Datum zaplacení","invoice_date":"Datum vystavení"}}')},4726:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Umbuchung","Withdrawal":"Ausgabe","Deposit":"Einnahme","date_and_time":"Datum und Uhrzeit","no_currency":"(ohne Währung)","date":"Datum","time":"Uhrzeit","no_budget":"(kein Budget)","destination_account":"Zielkonto","source_account":"Quellkonto","single_split":"Teil","create_new_transaction":"Neue Buchung erstellen","balance":"Kontostand","transaction_journal_extra":"Zusätzliche Informationen","transaction_journal_meta":"Metainformationen","basic_journal_information":"Allgemeine Buchungsinformationen","bills_to_pay":"Unbezahlte Rechnungen","left_to_spend":"Verbleibend zum Ausgeben","attachments":"Anhänge","net_worth":"Eigenkapital","bill":"Rechnung","no_bill":"(keine Belege)","tags":"Schlagwörter","internal_reference":"Interner Verweis","external_url":"Externe URL","no_piggy_bank":"(kein Sparschwein)","paid":"Bezahlt","notes":"Notizen","yourAccounts":"Deine Konten","go_to_asset_accounts":"Bestandskonten anzeigen","delete_account":"Konto löschen","transaction_table_description":"Eine Tabelle mit Ihren Buchungen","account":"Konto","description":"Beschreibung","amount":"Betrag","budget":"Budget","category":"Kategorie","opposing_account":"Gegenkonto","budgets":"Budgets","categories":"Kategorien","go_to_budgets":"Budgets anzeigen","income":"Einnahmen / Einkommen","go_to_deposits":"Zu Einlagen wechseln","go_to_categories":"Kategorien anzeigen","expense_accounts":"Ausgabekonten","go_to_expenses":"Zu Ausgaben wechseln","go_to_bills":"Rechnungen anzeigen","bills":"Rechnungen","last_thirty_days":"Letzte 30 Tage","last_seven_days":"Letzte sieben Tage","go_to_piggies":"Sparschweine anzeigen","saved":"Gespeichert","piggy_banks":"Sparschweine","piggy_bank":"Sparschwein","amounts":"Beträge","left":"Übrig","spent":"Ausgegeben","Default asset account":"Standard-Bestandskonto","search_results":"Suchergebnisse","include":"Inbegriffen?","transaction":"Überweisung","account_role_defaultAsset":"Standard-Bestandskonto","account_role_savingAsset":"Sparkonto","account_role_sharedAsset":"Gemeinsames Bestandskonto","clear_location":"Ort leeren","account_role_ccAsset":"Kreditkarte","account_role_cashWalletAsset":"Geldbörse","daily_budgets":"Tagesbudgets","weekly_budgets":"Wochenbudgets","monthly_budgets":"Monatsbudgets","quarterly_budgets":"Quartalsbudgets","create_new_expense":"Neues Ausgabenkonto erstellen","create_new_revenue":"Neues Einnahmenkonto erstellen","create_new_liabilities":"Neue Verbindlichkeit anlegen","half_year_budgets":"Halbjahresbudgets","yearly_budgets":"Jahresbudgets","split_transaction_title":"Beschreibung der Splittbuchung","errors_submission":"Ihre Übermittlung ist fehlgeschlagen. Bitte überprüfen Sie die Fehler.","flash_error":"Fehler!","store_transaction":"Buchung speichern","flash_success":"Geschafft!","create_another":"Nach dem Speichern hierher zurückkehren, um ein weiteres zu erstellen.","update_transaction":"Buchung aktualisieren","after_update_create_another":"Nach dem Aktualisieren hierher zurückkehren, um weiter zu bearbeiten.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde nicht verändert.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde aktualisiert.","spent_x_of_y":"{amount} von {total} ausgegeben","search":"Suche","create_new_asset":"Neues Bestandskonto erstellen","asset_accounts":"Bestandskonten","reset_after":"Formular nach der Übermittlung zurücksetzen","bill_paid_on":"Bezahlt am {date}","first_split_decides":"Die erste Aufteilung bestimmt den Wert dieses Feldes","first_split_overrules_source":"Die erste Aufteilung könnte das Quellkonto überschreiben","first_split_overrules_destination":"Die erste Aufteilung könnte das Zielkonto überschreiben","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Buchung #{ID} (\\"{title}\\")</a> wurde gespeichert.","custom_period":"Benutzerdefinierter Zeitraum","reset_to_current":"Auf aktuellen Zeitraum zurücksetzen","select_period":"Zeitraum auswählen","location":"Standort","other_budgets":"Zeitlich befristete Budgets","journal_links":"Buchungsverknüpfungen","go_to_withdrawals":"Ausgaben anzeigen","revenue_accounts":"Einnahmekonten","add_another_split":"Eine weitere Aufteilung hinzufügen","actions":"Aktionen","edit":"Bearbeiten","account_type_Loan":"Darlehen","account_type_Mortgage":"Hypothek","stored_new_account_js":"Neues Konto \\"<a href=\\"accounts/show/{ID}\\">„{name}”</a>\\" gespeichert!","account_type_Debt":"Schuld","delete":"Löschen","store_new_asset_account":"Neues Bestandskonto speichern","store_new_expense_account":"Neues Ausgabenkonto speichern","store_new_liabilities_account":"Neue Verbindlichkeit speichern","store_new_revenue_account":"Neues Einnahmenkonto speichern","mandatoryFields":"Pflichtfelder","optionalFields":"Optionale Felder","reconcile_this_account":"Dieses Konto abgleichen","interest_calc_weekly":"Pro Woche","interest_calc_monthly":"Monatlich","interest_calc_quarterly":"Vierteljährlich","interest_calc_half-year":"Halbjährlich","interest_calc_yearly":"Jährlich","liability_direction_credit":"Mir wird dies geschuldet","liability_direction_debit":"Ich schulde dies jemandem","save_transactions_by_moving_js":"Keine Buchungen|Speichern Sie diese Buchung, indem Sie sie auf ein anderes Konto verschieben. |Speichern Sie diese Buchungen, indem Sie sie auf ein anderes Konto verschieben.","none_in_select_list":"(Keine)"},"list":{"piggy_bank":"Sparschwein","percentage":"%","amount":"Betrag","name":"Name","role":"Rolle","iban":"IBAN","currentBalance":"Aktueller Kontostand","next_expected_match":"Nächste erwartete Übereinstimmung"},"config":{"html_language":"de"},"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":"Ενέργειες","edit":"Επεξεργασία","account_type_Loan":"Δάνειο","account_type_Mortgage":"Υποθήκη","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Χρέος","delete":"Διαγραφή","store_new_asset_account":"Αποθήκευση νέου λογαριασμού κεφαλαίου","store_new_expense_account":"Αποθήκευση νέου λογαριασμού δαπανών","store_new_liabilities_account":"Αποθήκευση νέας υποχρέωσης","store_new_revenue_account":"Αποθήκευση νέου λογαριασμού εσόδων","mandatoryFields":"Υποχρεωτικά πεδία","optionalFields":"Προαιρετικά πεδία","reconcile_this_account":"Τακτοποίηση αυτού του λογαριασμού","interest_calc_weekly":"Per week","interest_calc_monthly":"Ανά μήνα","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Ανά έτος","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(τίποτα)"},"list":{"piggy_bank":"Κουμπαράς","percentage":"pct.","amount":"Ποσό","name":"Όνομα","role":"Ρόλος","iban":"IBAN","currentBalance":"Τρέχον υπόλοιπο","next_expected_match":"Επόμενη αναμενόμενη αντιστοίχιση"},"config":{"html_language":"el"},"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","edit":"Edit","account_type_Loan":"Loan","account_type_Mortgage":"Mortgage","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Debt","delete":"Delete","store_new_asset_account":"Store new asset account","store_new_expense_account":"Store new expense account","store_new_liabilities_account":"Store new liability","store_new_revenue_account":"Store new revenue account","mandatoryFields":"Mandatory fields","optionalFields":"Optional fields","reconcile_this_account":"Reconcile this account","interest_calc_weekly":"Per week","interest_calc_monthly":"Per month","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Per year","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(none)"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","name":"Name","role":"Role","iban":"IBAN","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en-gb"},"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","edit":"Edit","account_type_Loan":"Loan","account_type_Mortgage":"Mortgage","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Debt","delete":"Delete","store_new_asset_account":"Store new asset account","store_new_expense_account":"Store new expense account","store_new_liabilities_account":"Store new liability","store_new_revenue_account":"Store new revenue account","mandatoryFields":"Mandatory fields","optionalFields":"Optional fields","reconcile_this_account":"Reconcile this account","interest_calc_weekly":"Per week","interest_calc_monthly":"Per month","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Per year","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(none)"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","name":"Name","role":"Role","iban":"IBAN","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en"},"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":"Include?","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","edit":"Editar","account_type_Loan":"Préstamo","account_type_Mortgage":"Hipoteca","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Deuda","delete":"Eliminar","store_new_asset_account":"Crear cuenta de activos","store_new_expense_account":"Crear cuenta de gastos","store_new_liabilities_account":"Crear nuevo pasivo","store_new_revenue_account":"Crear cuenta de ingresos","mandatoryFields":"Campos obligatorios","optionalFields":"Campos opcionales","reconcile_this_account":"Reconciliar esta cuenta","interest_calc_weekly":"Per week","interest_calc_monthly":"Por mes","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Por año","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","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":"(ninguno)"},"list":{"piggy_bank":"Alcancilla","percentage":"pct.","amount":"Monto","name":"Nombre","role":"Rol","iban":"IBAN","currentBalance":"Balance actual","next_expected_match":"Próxima coincidencia esperada"},"config":{"html_language":"es"},"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":"Liability type","account_role":"Rol de cuenta","liability_direction":"Liability in/out","book_date":"Fecha de registro","permDeleteWarning":"Eliminar cosas de Firefly III es permanente y no se puede deshacer.","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":"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","edit":"Muokkaa","account_type_Loan":"Laina","account_type_Mortgage":"Kiinnelaina","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Velka","delete":"Poista","store_new_asset_account":"Tallenna uusi omaisuustili","store_new_expense_account":"Tallenna uusi kulutustili","store_new_liabilities_account":"Tallenna uusi vastuu","store_new_revenue_account":"Tallenna uusi tuottotili","mandatoryFields":"Pakolliset kentät","optionalFields":"Valinnaiset kentät","reconcile_this_account":"Täsmäytä tämä tili","interest_calc_weekly":"Per week","interest_calc_monthly":"Kuukaudessa","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Vuodessa","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(ei mitään)"},"list":{"piggy_bank":"Säästöpossu","percentage":"pros.","amount":"Summa","name":"Nimi","role":"Rooli","iban":"IBAN","currentBalance":"Tämänhetkinen saldo","next_expected_match":"Seuraava lasku odotettavissa"},"config":{"html_language":"fi"},"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","edit":"Modifier","account_type_Loan":"Prêt","account_type_Mortgage":"Prêt hypothécaire","stored_new_account_js":"Nouveau compte \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" enregistré !","account_type_Debt":"Dette","delete":"Supprimer","store_new_asset_account":"Créer un nouveau compte d’actif","store_new_expense_account":"Créer un nouveau compte de dépenses","store_new_liabilities_account":"Enregistrer un nouveau passif","store_new_revenue_account":"Créer un compte de recettes","mandatoryFields":"Champs obligatoires","optionalFields":"Champs optionnels","reconcile_this_account":"Rapprocher ce compte","interest_calc_weekly":"Par semaine","interest_calc_monthly":"Par mois","interest_calc_quarterly":"Par trimestre","interest_calc_half-year":"Par semestre","interest_calc_yearly":"Par an","liability_direction_credit":"On me doit cette dette","liability_direction_debit":"Je dois cette dette à quelqu\'un d\'autre","save_transactions_by_moving_js":"Aucune opération|Conserver cette opération en la déplaçant vers un autre compte. |Conserver ces opérations en les déplaçant vers un autre compte.","none_in_select_list":"(aucun)"},"list":{"piggy_bank":"Tirelire","percentage":"pct.","amount":"Montant","name":"Nom","role":"Rôle","iban":"Numéro IBAN","currentBalance":"Solde courant","next_expected_match":"Prochaine association attendue"},"config":{"html_language":"fr"},"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":"Liability in/out","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","edit":"Szerkesztés","account_type_Loan":"Hitel","account_type_Mortgage":"Jelzálog","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Adósság","delete":"Törlés","store_new_asset_account":"Új eszközszámla tárolása","store_new_expense_account":"Új költségszámla tárolása","store_new_liabilities_account":"Új kötelezettség eltárolása","store_new_revenue_account":"Új jövedelemszámla létrehozása","mandatoryFields":"Kötelező mezők","optionalFields":"Nem kötelező mezők","reconcile_this_account":"Számla egyeztetése","interest_calc_weekly":"Per week","interest_calc_monthly":"Havonta","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Évente","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(nincs)"},"list":{"piggy_bank":"Malacpersely","percentage":"%","amount":"Összeg","name":"Név","role":"Szerepkör","iban":"IBAN","currentBalance":"Aktuális egyenleg","next_expected_match":"Következő várható egyezés"},"config":{"html_language":"hu"},"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","edit":"Modifica","account_type_Loan":"Prestito","account_type_Mortgage":"Mutuo","stored_new_account_js":"Nuovo conto \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" salvato!","account_type_Debt":"Debito","delete":"Elimina","store_new_asset_account":"Salva nuovo conto attività","store_new_expense_account":"Salva il nuovo conto uscite","store_new_liabilities_account":"Memorizza nuova passività","store_new_revenue_account":"Salva il nuovo conto entrate","mandatoryFields":"Campi obbligatori","optionalFields":"Campi opzionali","reconcile_this_account":"Riconcilia questo conto","interest_calc_weekly":"Settimanale","interest_calc_monthly":"Al mese","interest_calc_quarterly":"Trimestrale","interest_calc_half-year":"Semestrale","interest_calc_yearly":"All\'anno","liability_direction_credit":"Questo debito mi è dovuto","liability_direction_debit":"Devo questo debito a qualcun altro","save_transactions_by_moving_js":"Nessuna transazione|Salva questa transazione spostandola in un altro conto.|Salva queste transazioni spostandole in un altro conto.","none_in_select_list":"(nessuna)"},"list":{"piggy_bank":"Salvadanaio","percentage":"perc.","amount":"Importo","name":"Nome","role":"Ruolo","iban":"IBAN","currentBalance":"Saldo corrente","next_expected_match":"Prossimo abbinamento previsto"},"config":{"html_language":"it"},"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","edit":"Rediger","account_type_Loan":"Lån","account_type_Mortgage":"Boliglån","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Gjeld","delete":"Slett","store_new_asset_account":"Lagre ny brukskonto","store_new_expense_account":"Lagre ny utgiftskonto","store_new_liabilities_account":"Lagre ny gjeld","store_new_revenue_account":"Lagre ny inntektskonto","mandatoryFields":"Obligatoriske felter","optionalFields":"Valgfrie felter","reconcile_this_account":"Avstem denne kontoen","interest_calc_weekly":"Per week","interest_calc_monthly":"Per måned","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Per år","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(ingen)"},"list":{"piggy_bank":"Sparegris","percentage":"pct.","amount":"Beløp","name":"Navn","role":"Rolle","iban":"IBAN","currentBalance":"Nåværende saldo","next_expected_match":"Neste forventede treff"},"config":{"html_language":"nb"},"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","edit":"Wijzig","account_type_Loan":"Lening","account_type_Mortgage":"Hypotheek","stored_new_account_js":"Nieuwe account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" opgeslagen!","account_type_Debt":"Schuld","delete":"Verwijder","store_new_asset_account":"Sla nieuwe betaalrekening op","store_new_expense_account":"Sla nieuwe crediteur op","store_new_liabilities_account":"Nieuwe passiva opslaan","store_new_revenue_account":"Sla nieuwe debiteur op","mandatoryFields":"Verplichte velden","optionalFields":"Optionele velden","reconcile_this_account":"Stem deze rekening af","interest_calc_weekly":"Per week","interest_calc_monthly":"Per maand","interest_calc_quarterly":"Per kwartaal","interest_calc_half-year":"Per half jaar","interest_calc_yearly":"Per jaar","liability_direction_credit":"Ik krijg dit bedrag terug","liability_direction_debit":"Ik moet dit bedrag terugbetalen","save_transactions_by_moving_js":"Geen transacties|Bewaar deze transactie door ze aan een andere rekening te koppelen.|Bewaar deze transacties door ze aan een andere rekening te koppelen.","none_in_select_list":"(geen)"},"list":{"piggy_bank":"Spaarpotje","percentage":"pct","amount":"Bedrag","name":"Naam","role":"Rol","iban":"IBAN","currentBalance":"Huidig saldo","next_expected_match":"Volgende verwachte match"},"config":{"html_language":"nl"},"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","edit":"Modyfikuj","account_type_Loan":"Pożyczka","account_type_Mortgage":"Hipoteka","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Dług","delete":"Usuń","store_new_asset_account":"Zapisz nowe konto aktywów","store_new_expense_account":"Zapisz nowe konto wydatków","store_new_liabilities_account":"Zapisz nowe zobowiązanie","store_new_revenue_account":"Zapisz nowe konto przychodów","mandatoryFields":"Pola wymagane","optionalFields":"Pola opcjonalne","reconcile_this_account":"Uzgodnij to konto","interest_calc_weekly":"Per week","interest_calc_monthly":"Co miesiąc","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Co rok","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"Brak transakcji|Zapisz tę transakcję, przenosząc ją na inne konto.|Zapisz te transakcje przenosząc je na inne konto.","none_in_select_list":"(żadne)"},"list":{"piggy_bank":"Skarbonka","percentage":"%","amount":"Kwota","name":"Nazwa","role":"Rola","iban":"IBAN","currentBalance":"Bieżące saldo","next_expected_match":"Następne oczekiwane dopasowanie"},"config":{"html_language":"pl"},"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":"Liability type","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","edit":"Editar","account_type_Loan":"Empréstimo","account_type_Mortgage":"Hipoteca","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Dívida","delete":"Apagar","store_new_asset_account":"Armazenar nova conta de ativo","store_new_expense_account":"Armazenar nova conta de despesa","store_new_liabilities_account":"Guardar novo passivo","store_new_revenue_account":"Armazenar nova conta de receita","mandatoryFields":"Campos obrigatórios","optionalFields":"Campos opcionais","reconcile_this_account":"Concilie esta conta","interest_calc_weekly":"Per week","interest_calc_monthly":"Por mês","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Por ano","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"Nenhuma transação.|Salve esta transação movendo-a para outra conta.|Salve essas transações movendo-as para outra conta.","none_in_select_list":"(nenhum)"},"list":{"piggy_bank":"Cofrinho","percentage":"pct.","amount":"Total","name":"Nome","role":"Papel","iban":"IBAN","currentBalance":"Saldo atual","next_expected_match":"Próximo correspondente esperado"},"config":{"html_language":"pt-br"},"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":"Liability type","account_role":"Função de conta","liability_direction":"Liability in/out","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 orcamento)","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":"Contas por pagar","left_to_spend":"Restante para gastar","attachments":"Anexos","net_worth":"Patrimonio liquido","bill":"Conta","no_bill":"(sem contas)","tags":"Etiquetas","internal_reference":"Referência interna","external_url":"URL Externo","no_piggy_bank":"(nenhum mealheiro)","paid":"Pago","notes":"Notas","yourAccounts":"As suas contas","go_to_asset_accounts":"Ver as contas de activos","delete_account":"Apagar conta de utilizador","transaction_table_description":"Uma tabela com as suas transacções","account":"Conta","description":"Descricao","amount":"Montante","budget":"Orcamento","category":"Categoria","opposing_account":"Conta oposta","budgets":"Orçamentos","categories":"Categorias","go_to_budgets":"Ir para os seus orçamentos","income":"Receita / renda","go_to_deposits":"Ir para depósitos","go_to_categories":"Ir para categorias","expense_accounts":"Conta de despesas","go_to_expenses":"Ir para despesas","go_to_bills":"Ir para contas","bills":"Contas","last_thirty_days":"Últimos trinta dias","last_seven_days":"Últimos sete dias","go_to_piggies":"Ir para mealheiros","saved":"Guardado","piggy_banks":"Mealheiros","piggy_bank":"Mealheiro","amounts":"Montantes","left":"Em falta","spent":"Gasto","Default asset account":"Conta de activos padrão","search_results":"Resultados da pesquisa","include":"Incluir?","transaction":"Transacção","account_role_defaultAsset":"Conta de activos padrão","account_role_savingAsset":"Conta poupança","account_role_sharedAsset":"Conta de activos partilhados","clear_location":"Limpar localização","account_role_ccAsset":"Cartão de credito","account_role_cashWalletAsset":"Carteira de dinheiro","daily_budgets":"Orçamento diário","weekly_budgets":"Orçamento semanal","monthly_budgets":"Orçamento mensal","quarterly_budgets":"Orçamento trimestral","create_new_expense":"Criar nova conta de despesas","create_new_revenue":"Criar nova conta de receitas","create_new_liabilities":"Criar novo passivo","half_year_budgets":"Orçamento semestral","yearly_budgets":"Orçamento anual","split_transaction_title":"Descrição da transacção dividida","errors_submission":"Aconteceu algo errado com a sua submissão. Por favor, verifique os erros.","flash_error":"Erro!","store_transaction":"Guardar transação","flash_success":"Sucesso!","create_another":"Depois de guardar, voltar aqui para criar outra.","update_transaction":"Actualizar transacção","after_update_create_another":"Após a atualização, regresse aqui para continuar a editar.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") não recebeu nenhuma alteração.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") foi atualizada.","spent_x_of_y":"Gasto {amount} de {total}","search":"Procurar","create_new_asset":"Criar nova conta de activos","asset_accounts":"Conta de activos","reset_after":"Repor o formulário após o envio","bill_paid_on":"Pago a {date}","first_split_decides":"A primeira divisão determina o valor deste campo","first_split_overrules_source":"A primeira divisão pode anular a conta de origem","first_split_overrules_destination":"A primeira divisão pode anular a conta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID} (\\"{title}\\")</a> foi guardada.","custom_period":"Período personalizado","reset_to_current":"Reiniciar o período personalizado","select_period":"Selecionar um período","location":"Localização","other_budgets":"Orçamentos de tempo personalizado","journal_links":"Ligações de transacção","go_to_withdrawals":"Ir para os seus levantamentos","revenue_accounts":"Conta de receitas","add_another_split":"Adicionar outra divisão","actions":"Ações","edit":"Alterar","account_type_Loan":"Emprestimo","account_type_Mortgage":"Hipoteca","stored_new_account_js":"Nova conta \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" armazenada!","account_type_Debt":"Debito","delete":"Apagar","store_new_asset_account":"Guardar nova conta de activos","store_new_expense_account":"Guardar nova conta de despesas","store_new_liabilities_account":"Guardar novo passivo","store_new_revenue_account":"Guardar nova conta de receitas","mandatoryFields":"Campos obrigatorios","optionalFields":"Campos opcionais","reconcile_this_account":"Reconciliar esta conta","interest_calc_weekly":"Por semana","interest_calc_monthly":"Mensal","interest_calc_quarterly":"Por trimestre","interest_calc_half-year":"Por meio ano","interest_calc_yearly":"Anual","liability_direction_credit":"Esta dívida é-me devida","liability_direction_debit":"Devo esta dívida a outra pessoa","save_transactions_by_moving_js":"Nenhuma transação| Guarde esta transação movendo-a para outra conta| Guarde estas transações movendo-as para outra conta.","none_in_select_list":"(nenhum)"},"list":{"piggy_bank":"Mealheiro","percentage":"%.","amount":"Montante","name":"Nome","role":"Regra","iban":"IBAN","currentBalance":"Saldo actual","next_expected_match":"Proxima correspondencia esperada"},"config":{"html_language":"pt"},"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":"Date and time","no_currency":"(nici o monedă)","date":"Dată","time":"Time","no_budget":"(nici un buget)","destination_account":"Contul de destinație","source_account":"Contul sursă","single_split":"Împarte","create_new_transaction":"Create a new transaction","balance":"Balantă","transaction_journal_extra":"Extra information","transaction_journal_meta":"Informații meta","basic_journal_information":"Basic transaction information","bills_to_pay":"Facturile de plată","left_to_spend":"Ramas de cheltuit","attachments":"Atașamente","net_worth":"Valoarea netă","bill":"Factură","no_bill":"(no bill)","tags":"Etichete","internal_reference":"Internal reference","external_url":"External URL","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":"A table containing your transactions","account":"Cont","description":"Descriere","amount":"Sumă","budget":"Buget","category":"Categorie","opposing_account":"Opposing account","budgets":"Buget","categories":"Categorii","go_to_budgets":"Mergi la bugete","income":"Venituri","go_to_deposits":"Go to deposits","go_to_categories":"Mergi la categorii","expense_accounts":"Conturi de cheltuieli","go_to_expenses":"Go to expenses","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":"Amounts","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":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Creați un nou cont de cheltuieli","create_new_revenue":"Creați un nou cont de venituri","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Descrierea tranzacției divizate","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Eroare!","store_transaction":"Store transaction","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}\\">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":"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":"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}\\">Tranzacția #{ID} (\\"{title}\\")</a> a fost stocată.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Locație","other_budgets":"Custom timed budgets","journal_links":"Link-uri de tranzacții","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Conturi de venituri","add_another_split":"Adăugați o divizare","actions":"Acțiuni","edit":"Editează","account_type_Loan":"Împrumut","account_type_Mortgage":"Credit ipotecar","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Datorie","delete":"Șterge","store_new_asset_account":"Salvați un nou cont de active","store_new_expense_account":"Salvați un nou cont de cheltuieli","store_new_liabilities_account":"Salvați provizion nou","store_new_revenue_account":"Salvați un nou cont de venituri","mandatoryFields":"Câmpuri obligatorii","optionalFields":"Câmpuri opționale","reconcile_this_account":"Reconciliați acest cont","interest_calc_weekly":"Per week","interest_calc_monthly":"Pe lună","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Pe an","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","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":"(nici unul)"},"list":{"piggy_bank":"Pușculiță","percentage":"procent %","amount":"Sumă","name":"Nume","role":"Rol","iban":"IBAN","currentBalance":"Sold curent","next_expected_match":"Următoarea potrivire așteptată"},"config":{"html_language":"ro"},"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":"Liability type","account_role":"Rolul contului","liability_direction":"Liability in/out","book_date":"Rezervă dată","permDeleteWarning":"Ștergerea este permanentă și nu poate fi anulată.","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":"Data procesării","due_date":"Data scadentă","payment_date":"Data de plată","invoice_date":"Data facturii"}}')},753:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Перевод","Withdrawal":"Расход","Deposit":"Доход","date_and_time":"Дата и время","no_currency":"(нет валюты)","date":"Дата","time":"Время","no_budget":"(вне бюджета)","destination_account":"Счёт назначения","source_account":"Счёт-источник","single_split":"Разделённая транзакция","create_new_transaction":"Создать новую транзакцию","balance":"Бaлaнc","transaction_journal_extra":"Дополнительные сведения","transaction_journal_meta":"Дополнительная информация","basic_journal_information":"Основная информация о транзакции","bills_to_pay":"Счета к оплате","left_to_spend":"Осталось потратить","attachments":"Вложения","net_worth":"Мои сбережения","bill":"Счёт к оплате","no_bill":"(нет счёта на оплату)","tags":"Метки","internal_reference":"Внутренняя ссылка","external_url":"Внешний URL-адрес","no_piggy_bank":"(нет копилки)","paid":"Оплачено","notes":"Заметки","yourAccounts":"Ваши счета","go_to_asset_accounts":"Просмотр ваших основных счетов","delete_account":"Удалить профиль","transaction_table_description":"Таблица, содержащая ваши транзакции","account":"Счёт","description":"Описание","amount":"Сумма","budget":"Бюджет","category":"Категория","opposing_account":"Противодействующий счёт","budgets":"Бюджет","categories":"Категории","go_to_budgets":"Перейти к вашим бюджетам","income":"Мои доходы","go_to_deposits":"Перейти ко вкладам","go_to_categories":"Перейти к вашим категориям","expense_accounts":"Счета расходов","go_to_expenses":"Перейти к расходам","go_to_bills":"Перейти к вашим счетам на оплату","bills":"Счета к оплате","last_thirty_days":"Последние 30 дней","last_seven_days":"Последние 7 дней","go_to_piggies":"Перейти к вашим копилкам","saved":"Сохранено","piggy_banks":"Копилки","piggy_bank":"Копилка","amounts":"Сумма","left":"Осталось","spent":"Расход","Default asset account":"Счёт по умолчанию","search_results":"Результаты поиска","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Счёт по умолчанию","account_role_savingAsset":"Сберегательный счет","account_role_sharedAsset":"Общий основной счёт","clear_location":"Очистить местоположение","account_role_ccAsset":"Кредитная карта","account_role_cashWalletAsset":"Наличные","daily_budgets":"Бюджеты на день","weekly_budgets":"Бюджеты на неделю","monthly_budgets":"Бюджеты на месяц","quarterly_budgets":"Бюджеты на квартал","create_new_expense":"Создать новый счёт расхода","create_new_revenue":"Создать новый счёт дохода","create_new_liabilities":"Create new liability","half_year_budgets":"Бюджеты на полгода","yearly_budgets":"Годовые бюджеты","split_transaction_title":"Описание разделённой транзакции","errors_submission":"При отправке что-то пошло не так. Пожалуйста, проверьте ошибки ниже.","flash_error":"Ошибка!","store_transaction":"Сохранить транзакцию","flash_success":"Успешно!","create_another":"После сохранения вернуться сюда и создать ещё одну аналогичную запись.","update_transaction":"Обновить транзакцию","after_update_create_another":"После обновления вернитесь сюда, чтобы продолжить редактирование.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Поиск","create_new_asset":"Создать новый активный счёт","asset_accounts":"Основные счета","reset_after":"Сбросить форму после отправки","bill_paid_on":"Оплачено {date}","first_split_decides":"В данном поле используется значение из первой части разделенной транзакции","first_split_overrules_source":"Значение из первой части транзакции может изменить счет источника","first_split_overrules_destination":"Значение из первой части транзакции может изменить счет назначения","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID} (\\"{title}\\")</a> сохранена.","custom_period":"Пользовательский период","reset_to_current":"Сброс к текущему периоду","select_period":"Выберите период","location":"Размещение","other_budgets":"Бюджеты на произвольный отрезок времени","journal_links":"Связи транзакции","go_to_withdrawals":"Перейти к вашим расходам","revenue_accounts":"Счета доходов","add_another_split":"Добавить еще одну часть","actions":"Действия","edit":"Изменить","account_type_Loan":"Заём","account_type_Mortgage":"Ипотека","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Дебит","delete":"Удалить","store_new_asset_account":"Сохранить новый основной счёт","store_new_expense_account":"Сохранить новый счёт расхода","store_new_liabilities_account":"Сохранить новое обязательство","store_new_revenue_account":"Сохранить новый счёт дохода","mandatoryFields":"Обязательные поля","optionalFields":"Дополнительные поля","reconcile_this_account":"Произвести сверку данного счёта","interest_calc_weekly":"Per week","interest_calc_monthly":"В месяц","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"В год","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(нет)"},"list":{"piggy_bank":"Копилка","percentage":"процентов","amount":"Сумма","name":"Имя","role":"Роль","iban":"IBAN","currentBalance":"Текущий баланс","next_expected_match":"Следующий ожидаемый результат"},"config":{"html_language":"ru"},"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":"Include?","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":"Create new liability","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}\\">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":"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":"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}\\">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","edit":"Upraviť","account_type_Loan":"Pôžička","account_type_Mortgage":"Hypotéka","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Dlh","delete":"Odstrániť","store_new_asset_account":"Uložiť nový účet aktív","store_new_expense_account":"Uložiť nový výdavkový účet","store_new_liabilities_account":"Uložiť nový záväzok","store_new_revenue_account":"Uložiť nový príjmový účet","mandatoryFields":"Povinné údaje","optionalFields":"Voliteľné údaje","reconcile_this_account":"Vyúčtovat tento účet","interest_calc_weekly":"Per week","interest_calc_monthly":"Za mesiac","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","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":"(žiadne)"},"list":{"piggy_bank":"Pokladnička","percentage":"perc.","amount":"Suma","name":"Meno/Názov","role":"Rola","iban":"IBAN","currentBalance":"Aktuálny zostatok","next_expected_match":"Ďalšia očakávaná zhoda"},"config":{"html_language":"sk"},"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":"Liability type","account_role":"Rola účtu","liability_direction":"Liability in/out","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":"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":"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","edit":"Redigera","account_type_Loan":"Lån","account_type_Mortgage":"Bolån","stored_new_account_js":"Nytt konto \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" lagrat!","account_type_Debt":"Skuld","delete":"Ta bort","store_new_asset_account":"Lagra nytt tillgångskonto","store_new_expense_account":"Spara nytt utgiftskonto","store_new_liabilities_account":"Spara en ny skuld","store_new_revenue_account":"Spara nytt intäktskonto","mandatoryFields":"Obligatoriska fält","optionalFields":"Valfria fält","reconcile_this_account":"Stäm av detta konto","interest_calc_weekly":"Per vecka","interest_calc_monthly":"Per månad","interest_calc_quarterly":"Per kvartal","interest_calc_half-year":"Per halvår","interest_calc_yearly":"Per år","liability_direction_credit":"Jag är skyldig denna skuld","liability_direction_debit":"Jag är skyldig någon annan denna skuld","save_transactions_by_moving_js":"Inga transaktioner|Spara denna transaktion genom att flytta den till ett annat konto.|Spara dessa transaktioner genom att flytta dem till ett annat konto.","none_in_select_list":"(Ingen)"},"list":{"piggy_bank":"Spargris","percentage":"procent","amount":"Belopp","name":"Namn","role":"Roll","iban":"IBAN","currentBalance":"Nuvarande saldo","next_expected_match":"Nästa förväntade träff"},"config":{"html_language":"sv"},"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","edit":"Sửa","account_type_Loan":"Tiền vay","account_type_Mortgage":"Thế chấp","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Món nợ","delete":"Xóa","store_new_asset_account":"Lưu trữ tài khoản mới","store_new_expense_account":"Lưu trữ tài khoản chi phí mới","store_new_liabilities_account":"Lưu trữ nợ mới","store_new_revenue_account":"Lưu trữ tài khoản doanh thu mới","mandatoryFields":"Các trường bắt buộc","optionalFields":"Các trường tùy chọn","reconcile_this_account":"Điều chỉnh tài khoản này","interest_calc_weekly":"Per week","interest_calc_monthly":"Mỗi tháng","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Mỗi năm","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(Trống)"},"list":{"piggy_bank":"Ống heo con","percentage":"phần trăm.","amount":"Số tiền","name":"Tên","role":"Quy tắc","iban":"IBAN","currentBalance":"Số dư hiện tại","next_expected_match":"Trận đấu dự kiến tiếp theo"},"config":{"html_language":"vi"},"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":"操作","edit":"编辑","account_type_Loan":"贷款","account_type_Mortgage":"抵押","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"欠款","delete":"删除","store_new_asset_account":"保存新资产账户","store_new_expense_account":"保存新支出账户","store_new_liabilities_account":"保存新债务账户","store_new_revenue_account":"保存新收入账户","mandatoryFields":"必填字段","optionalFields":"选填字段","reconcile_this_account":"对账此账户","interest_calc_weekly":"Per week","interest_calc_monthly":"每月","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"每年","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(空)"},"list":{"piggy_bank":"存钱罐","percentage":"%","amount":"金额","name":"名称","role":"角色","iban":"国际银行账户号码(IBAN)","currentBalance":"目前余额","next_expected_match":"预期下次支付"},"config":{"html_language":"zh-cn"},"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":"发票日期"}}')},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":"操作","edit":"編輯","account_type_Loan":"貸款","account_type_Mortgage":"抵押","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"負債","delete":"刪除","store_new_asset_account":"儲存新資產帳戶","store_new_expense_account":"儲存新支出帳戶","store_new_liabilities_account":"儲存新債務","store_new_revenue_account":"儲存新收入帳戶","mandatoryFields":"必要欄位","optionalFields":"選填欄位","reconcile_this_account":"對帳此帳戶","interest_calc_weekly":"Per week","interest_calc_monthly":"每月","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"每年","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(空)"},"list":{"piggy_bank":"小豬撲滿","percentage":"pct.","amount":"金額","name":"名稱","role":"角色","iban":"國際銀行帳戶號碼 (IBAN)","currentBalance":"目前餘額","next_expected_match":"下一個預期的配對"},"config":{"html_language":"zh-tw"},"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=9762,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),s=a.n(n),o=a(7152),i=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=i,s().use(vuei18n),s().use(i),window.Vue=s()},9899:(e,t,a)=>{"use strict";a.d(t,{Z:()=>m});var n=a(7760),s=a.n(n),o=a(629),i=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,i.f$)(),defaultErrors:(0,i.kQ)()}},getters:{transactions:function(e){return e.transactions},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:{}};const u={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){"default"===e.state.viewRange&&axios.get("./api/v1/preferences/viewRange").then((function(t){var a=t.data.data.attributes.data;e.commit("setViewRange",a),e.dispatch("setDatesFromViewRange")})).catch((function(t){e.commit("setViewRange","1M"),e.dispatch("setDatesFromViewRange")}))},setDatesFromViewRange:function(e){if(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)),null===e.getters.end||null===e.getters.start){var t,a;switch(e.getters.viewRange){case"1D":t=new Date,a=new Date(t.getTime()),t.setHours(0,0,0,0),a.setHours(23,59,59,999);break;case"1W":t=new Date,a=new Date(t.getTime());var n=t.getDate()-t.getDay()+(0===t.getDay()?-6:1);t.setDate(n),t.setHours(0,0,0,0);var s=a.getDate()-(a.getDay()-1)+6;a.setDate(s),a.setHours(23,59,59,999);break;case"1M":t=new Date,(t=new Date(t.getFullYear(),t.getMonth(),1)).setHours(0,0,0,0),(a=new Date(t.getFullYear(),t.getMonth()+1,0)).setHours(23,59,59,999);break;case"3M":t=new Date,a=new Date;var o=Math.floor((t.getMonth()+3)/3)-1;(t=new Date(t.getFullYear(),[0,3,6,9][o],1)).setHours(0,0,0,0),a=new Date(a.getFullYear(),[2,5,8,11][o],1),(a=new Date(a.getFullYear(),a.getMonth()+1,0)).setHours(23,59,59,999);break;case"6M":t=new Date,a=new Date;var i=t.getMonth()<=5?0:1;(t=new Date(t.getFullYear(),[0,6][i],1)).setHours(0,0,0,0),a=new Date(a.getFullYear(),[5,11][i],1),(a=new Date(a.getFullYear(),a.getMonth()+1,0)).setHours(23,59,59,999);break;case"1Y":t=new Date,a=new Date,t=new Date(t.getFullYear(),0,1),a=new Date(a.getFullYear(),11,31),t.setHours(0,0,0,0),a.setHours(23,59,59,999)}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}}};var _=function(){return{listPageSize:33}},d={initialiseStore:function(e){localStorage.listPageSize&&(_.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)})}))}};const p={namespaced:!0,state:_,getters:{listPageSize:function(e){return e.listPageSize}},actions:d,mutations:{setListPageSize:function(e,t){var a=parseInt(t.length);0!==a&&(e.listPageSize=a)}}};const g={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}}};s().use(o.ZP);const m=new o.ZP.Store({namespaced:!0,modules:{root:p,transactions:{namespaced:!0,modules:{create:c,edit:l}},accounts:{namespaced:!0,modules:{index:g}},dashboard:{namespaced:!0,modules:{index:u}}},strict:false,plugins:[],state:{currencyPreference:{},locale:"en-US",listPageSize:50},mutations:{setCurrencyPreference:function(e,t){e.currencyPreference=t.payload},initialiseStore:function(e){if(localStorage.locale)e.locale=localStorage.locale;else{var t=document.head.querySelector('meta[name="locale"]');t&&(e.locale=t.content,localStorage.locale=t.content)}}},getters:{currencyCode:function(e){return e.currencyPreference.code},currencyPreference:function(e){return e.currencyPreference},currencyId:function(e){return e.currencyPreference.id},locale:function(e){return e.locale}},actions:{updateCurrencyPreference:function(e){localStorage.currencyPreference?e.commit("setCurrencyPreference",{payload:JSON.parse(localStorage.currencyPreference)}):axios.get("./api/v1/currencies/default").then((function(t){var a={id:parseInt(t.data.data.id),name:t.data.data.attributes.name,symbol:t.data.data.attributes.symbol,code:t.data.data.attributes.code,decimal_places:parseInt(t.data.data.attributes.decimal_places)};localStorage.currencyPreference=JSON.stringify(a),e.commit("setCurrencyPreference",{payload:a})})).catch((function(t){console.error(t),e.commit("setCurrencyPreference",{payload:{id:1,name:"Euro",symbol:"€",code:"EUR",decimal_places:2}})}))}}})},157:(e,t,a)=>{e.exports=new vuei18n({locale:document.documentElement.lang,fallbackLocale:"en",messages:{bg:a(7154),cs:a(6407),de:a(4726),en:a(3340),"en-us":a(3340),"en-gb":a(6318),es:a(5394),el:a(3636),fr:a(2551),hu:a(995),it:a(9112),nl:a(4671),nb:a(9085),pl:a(6238),fi:a(7868),"pt-br":a(6586),"pt-pt":a(8664),ro:a(1102),ru:a(753),"zh-tw":a(1715),"zh-cn":a(4556),sk:a(7049),sv:a(7921),vi:a(1497)}})},8317:(e,t,a)=>{"use strict";var n=a(9899),s=a(3324),o=a(7661),i=a(1980),r=a(5524),c=a(4478);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)}var u=a(3465);const _={name:"Edit",created:function(){var e=window.location.pathname.split("/");this.groupId=parseInt(e[e.length-1]),this.getTransactionGroup(),this.getAllowedOpposingTypes(),this.getCustomFields()},data:function(){return{successMessage:"",errorMessage:"",warningMessage:"",transactions:[],originalTransactions:[],groupTitle:"",originalGroupTitle:"",transactionType:"any",groupId:0,groupTitleErrors:[],customFields:{},returnedGroupId:0,returnedGroupTitle:"",date:new Date,time:new Date,originalDate:new Date,originalTime:new Date,submittedTransaction:!1,submittedLinks:!1,submittedAttachments:!1,inError:!1,allowedOpposingTypes:{},destinationAllowedTypes:[],sourceAllowedTypes:[],enableSubmit:!0,stayHere:!1}},components:{Alert:s.Z,SplitPills:o.Z,SplitForm:i.Z,TransactionGroupTitle:r.Z},watch:{submittedTransaction:function(){this.finalizeSubmit()},submittedLinks:function(){this.finalizeSubmit()},submittedAttachments:function(){this.finalizeSubmit()}},methods:{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,a)if(a.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294){var s=this.parseTransaction(parseInt(n),a[n]);this.transactions.push(s),this.originalTransactions.push(u(s)),this.parseLinks(parseInt(s.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=new Date(t.date),this.time=new Date(t.date),this.originalDate=new Date(t.date),this.originalTime=new Date(t.date));var n=(0,c.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,c.kQ)(),n},parseLinks:function(e,t){var a=this;axios.get("./api/v1/transaction-journals/"+e+"/links").then((function(n){var s=n.data.data;for(var o in s)s.hasOwnProperty(o)&&/^0$|^[1-9]\d*$/.test(o)&&o<=4294967294&&a.parseLink(s[o],e,t)}))},parseLink:function(e,t,a){var n=this,s=[],o=parseInt(e.attributes.inward_id),i="inward";o===t&&(o=parseInt(e.attributes.outward_id),i="outward"),s.push(new Promise((function(n){n({link:e,journalId:t,opposingId:o,index:a,direction:i})}))),s.push(axios.get("./api/v1/transaction-journals/"+o)),s.push(axios.get("./api/v1/transaction_links/"+e.attributes.link_type_id)),Promise.all(s).then((function(t){var a=t[1].data.data.attributes.transactions,s=t[0].opposingId,o={};for(var i in a)a.hasOwnProperty(i)&&/^0$|^[1-9]\d*$/.test(i)&&i<=4294967294&&a[i].transaction_journal_id===s&&(o=a[i]);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){console.log("event: uploadedAttachment"),console.log(e)},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},storeTime:function(e){this.time=e.time},storeField:function(e){var t=e.field;"category"===t&&(t="category_name"),this.transactions[e.index][t]=e.value},removeTransaction:function(e){this.transactions.splice(e.index,1),this.originalTransactions=[]},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)&&(this.transactions[t].selectedAttachments=!0)},addTransaction:function(e){e.preventDefault();var t=(0,c.f$)();t.errors=(0,c.kQ)(),this.transactions.push(t)},submitTransaction:function(){var e={transactions:[]},t=!1,a=!1,n=!1;this.groupTitle!==this.originalGroupTitle&&(e.group_title=this.groupTitle,t=!0);this.originalTransactions.length;var s=this.transactions.length;for(var o in console.log("Found "+this.transactions.length+" split(s)."),s>1&&void 0===e.group_title&&(null===this.originalGroupTitle||""===this.originalGroupTitle)&&(e.group_title=this.transactions[0].description),this.transactions)if(this.transactions.hasOwnProperty(o)&&/^0$|^[1-9]\d*$/.test(o)&&o<=4294967294){var i=this.transactions[o],r=this.originalTransactions.hasOwnProperty(o)?this.originalTransactions[o]:{},_={},d=["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 p in o>0&&(_.type=this.transactionType.toLowerCase(),"Deposit"!==this.transactionType&&"Transfer"!==this.transactionType||(i.destination_account_name=this.originalTransactions[0].destination_account_name,i.destination_account_id=this.originalTransactions[0].destination_account_id),"Withdrawal"!==this.transactionType&&"Transfer"!==this.transactionType||(i.source_account_name=this.originalTransactions[0].source_account_name,i.source_account_id=this.originalTransactions[0].source_account_id),console.log("Will overrule accounts for split "+o)),d)if(d.hasOwnProperty(p)&&/^0$|^[1-9]\d*$/.test(p)&&p<=4294967294){var g=d[p],m=g;if(null===i[g]&&void 0===r[g])continue;if(i[g]!==r[g]){if("foreign_amount"===m&&""===i[g])continue;if("foreign_currency_id"===m&&0===i[g])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"),_[m]=i[g],t=!0}}if(0!==i.piggy_bank_id&&(_.piggy_bank_id=i.piggy_bank_id,t=!0),JSON.stringify(i.tags)!==JSON.stringify(r.tags)){if(_.tags=[],0!==i.tags.length)for(var h in i.tags)if(i.tags.hasOwnProperty(h)&&/^0$|^[1-9]\d*$/.test(h)&&h<=4294967294){var y=i.tags[h];"object"===l(y)&&null!==y&&_.tags.push(y.text),"string"==typeof y&&_.tags.push(y)}t=!0}this.compareLinks(i.links)!==this.compareLinks(r.links)&&(a=!0),void 0!==i.selectedAttachments&&!0===i.selectedAttachments&&(n=!0);var b="invalid";if(this.date.toISOString()!==this.originalDate.toISOString()||this.time.toISOString()!==this.originalTime.toISOString()){console.log("Date and/or time is changed"),t=!0;var f=this.date;f.setHours(this.time.getHours()),f.setMinutes(this.time.getMinutes()),f.setSeconds(this.time.getSeconds()),b=(0,c.u6)(f),_.date=b}if(console.log("Now at index "+o),console.log(Object.keys(_).length),0===Object.keys(_).length&&s>1)console.log("Will submit just the ID!"),_.transaction_journal_id=r.transaction_journal_id,e.transactions.push(u(_)),t=!0;else if(0!==Object.keys(_).length){var v;_.transaction_journal_id=null!==(v=r.transaction_journal_id)&&void 0!==v?v:0,e.transactions.push(u(_)),t=!0}}console.log("submitTransaction"),console.log("shouldUpload : "+n),console.log("shouldLinks : "+a),console.log("shouldSubmit : "+t),t&&this.submitUpdate(e,a,n),t||(this.submittedTransaction=!0),a||(this.submittedLinks=!0),n||(this.submittedAttachments=!0),!t&&a&&this.submitTransactionLinks(),console.log("Done with submit methd.")},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)},submitUpdate:function(e,t,a){var n=this;console.log("submitUpdate"),this.inError=!1;var s="./api/v1/transactions/"+this.groupId;console.log(JSON.stringify(e)),console.log(e),axios.put(s,e).then((function(e){console.log("Response is OK!"),n.submittedTransaction=!0,t&&(console.log("Need to update links."),n.submitTransactionLinks()),t||console.log("No need to update links."),n.returnedGroupId=parseInt(e.data.data.id),n.returnedGroupTitle=null===e.data.data.attributes.group_title?e.data.data.attributes.transactions[0].description:e.data.data.attributes.group_title})).catch((function(e){console.log("error :("),console.log(e.response.data),n.enableSubmit=!0,n.submittedTransaction=!0,n.submittedAttachments=!0,n.submittedLinks=!0,n.inError=!0,n.parseErrors(e.response.data)}))},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,s;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]),s=o.split(".")[2]){case"amount":case"description":case"date":case"tags":a={index:n,field:s,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=u((0,c.kQ)())},deleteOriginalLinks:function(e){for(var t in console.log(e.links),e.links)if(e.links.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a="/api/v1/transaction_links/"+e.links[t].id;axios.delete(a).then((function(e){}))}},submitTransactionLinks:function(){var e=0,t=[];for(var a in console.log("submitTransactionLinks()"),this.transactions)if(this.transactions.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=this.transactions[a],s=this.originalTransactions.hasOwnProperty(a)?this.originalTransactions[a]:{},o=this.compareLinks(n.links),i=this.compareLinks(s.links);if(o!==i)for(var r in"[]"!==i&&this.deleteOriginalLinks(s),console.log("links are different!"),n.links)if(n.links.hasOwnProperty(r)&&/^0$|^[1-9]\d*$/.test(r)&&r<=4294967294){var c=n.links[r],l={inward_id:n.transaction_journal_id,outward_id:n.transaction_journal_id,link_type_id:"something"},u=c.link_type_id.split("-");l.link_type_id=u[0],"inward"===u[1]&&(l.inward_id=c.transaction_journal_id),"outward"===u[1]&&(l.outward_id=c.transaction_journal_id),console.log(l),e++,t.push(axios.post("./api/v1/transaction_links",l).then((function(e){})))}}0!==e?Promise.all(t).then((function(){this.submittedLinks=!0})):this.submittedLinks=!0},finalizeSubmit:function(){if(console.log("now in finalizeSubmit()"),console.log("submittedTransaction : "+this.submittedTransaction),console.log("submittedLinks : "+this.submittedLinks),console.log("submittedAttachments : "+this.submittedAttachments),this.submittedTransaction&&this.submittedAttachments&&this.submittedLinks){var e,t;if(console.log("all true"),console.log("inError = "+this.inError),console.log("stayHere = "+this.stayHere),console.log("returnedGroupId = "+this.returnedGroupId),!0===this.stayHere&&!1===this.inError&&0===this.returnedGroupId&&(console.log("no error + no changes + no redirect"),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)console.log("no error + no changes + redirect"),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&&(console.log("no error + changes + redirect"),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)console.log("no error + changes + redirect"),window.location.href=(null!==(t=window.previousURL)&&void 0!==t?t:"/")+"?transaction_group_id="+this.groupId+"&message=updated";for(var a in console.log("end of the line"),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 d=(0,a(1900).Z)(_,(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",{on:{submit:e.submitTransaction}},[a("SplitPills",{attrs:{transactions:e.transactions}}),e._v(" "),a("div",{staticClass:"tab-content"},e._l(this.transactions,(function(t,n){return a("SplitForm",{key:n,attrs:{count:e.transactions.length,transaction:t,"allowed-opposing-types":e.allowedOpposingTypes,"custom-fields":e.customFields,date:e.date,time:e.time,index:n,"transaction-type":e.transactionType,"destination-allowed-types":e.destinationAllowedTypes,"source-allowed-types":e.sourceAllowedTypes,"allow-switch":!1,"submitted-transaction":e.submittedTransaction},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-time":function(t){return e.storeTime(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",on:{click:e.addTransaction}},[a("i",{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-info btn-block",attrs:{disabled:!e.enableSubmit},on:{click:e.submitTransaction}},[e.enableSubmit?a("span",[a("i",{staticClass:"far fa-save"}),e._v(" "+e._s(e.$t("firefly.update_transaction")))]):e._e(),e._v(" "),e.enableSubmit?e._e():a("span",[a("i",{staticClass:"fas fa-spinner fa-spin"})])])])]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[e._v("\n \n ")]),e._v(" "),a("div",{staticClass:"col"},[a("div",{staticClass:"form-check"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.stayHere,expression:"stayHere"}],staticClass:"form-check-input",attrs:{id:"stayHere",type:"checkbox"},domProps:{checked:Array.isArray(e.stayHere)?e._i(e.stayHere,null)>-1:e.stayHere},on:{change:function(t){var a=e.stayHere,n=t.target,s=!!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=s}}}),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,"05234dfc",null).exports;var p=a(7760),g=a.n(p);a(232),g().config.productionTip=!1;var m=a(157),h={};new(g())({i18n:m,store:n.Z,render:function(e){return e(d,{props:h})},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 s(){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,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:[],attachments:[],zoom_level:null,longitude:null,latitude:null,errors:{}}}function o(e){var t=e.getFullYear(),a=e.getMonth();++a<10&&(a="0"+a);var n=e.getDate();n<10&&(n="0"+n);var s=e.getHours();s<10&&(s="0"+s);var o=e.getMinutes();o<10&&(o="0"+o);var i=e.getSeconds();i<10&&(i="0"+i);var r=-e.getTimezoneOffset(),c=Math.abs(Math.floor(r/60)),l=Math.abs(r)-60*c;c<10&&(c="0"+c),l<10&&(l="0"+l);var u="+";return r<0&&(u="-"),t+"-"+a+"-"+n+"T"+s+":"+o+":"+i+u+c+":"+l}a.d(t,{kQ:()=>n,f$:()=>s,u6:()=>o})},6665:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>r});var n=a(4015),s=a.n(n),o=a(3645),i=a.n(o)()(s());i.push([e.id,".vue-tags-input{max-width:100%!important;display:block}.ti-input,.vue-tags-input{width:100%;border-radius:.25rem}.ti-input{max-width:100%}.ti-new-tag-input{font-size:1rem}","",{version:3,sources:["webpack://./src/components/transactions/TransactionTags.vue"],names:[],mappings:"AA2HA,gBAEA,wBAAA,CACA,aAEA,CAEA,0BANA,UAAA,CAGA,oBAOA,CAJA,UAEA,cAEA,CAEA,kBACA,cACA",sourcesContent:['\x3c!--\n - TransactionTags.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n --\x3e\n\n<template>\n <div class="form-group">\n <div class="text-xs d-none d-lg-block d-xl-block">\n {{ $t(\'firefly.tags\') }}\n </div>\n <div class="input-group">\n <vue-tags-input\n v-model="currentTag"\n :add-only-from-autocomplete="false"\n :autocomplete-items="autocompleteItems"\n :tags="tags"\n :title="$t(\'firefly.tags\')"\n v-bind:placeholder="$t(\'firefly.tags\')"\n @tags-changed="newTags => this.tags = newTags"\n />\n </div>\n <span v-if="errors.length > 0">\n <span v-for="error in errors" class="text-danger small">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nimport VueTagsInput from "@johmun/vue-tags-input";\nimport axios from "axios";\n\nexport default {\n name: "TransactionTags",\n components: {\n VueTagsInput\n },\n props: [\'value\', \'index\', \'errors\'],\n data() {\n return {\n autocompleteItems: [],\n debounce: null,\n tags: [],\n currentTag: \'\',\n updateTags: true, // the idea is that this is always true, except when the tags-function sets the value.\n tagList: this.value,\n emitEvent: true\n };\n },\n created() {\n let tags = [];\n for (let i in this.value) {\n if (this.value.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n tags.push({text: this.value[i]});\n }\n }\n this.updateTags = false;\n this.tags = tags;\n },\n watch: {\n \'currentTag\': \'initItems\',\n value: function (value) {\n this.emitEvent = false;\n this.tagList = value;\n },\n tagList: function (value) {\n console.log(\'watch tagList\');\n if (true === this.emitEvent) {\n this.$emit(\'set-field\', {field: \'tags\', index: this.index, value: value});\n }\n this.emitEvent = true;\n this.updateTags = false;\n this.tags = value;\n },\n tags: function (value) {\n if (this.updateTags) {\n let shortList = [];\n for (let key in value) {\n if (value.hasOwnProperty(key)) {\n shortList.push({text: value[key].text});\n }\n }\n this.tagList = shortList;\n }\n this.updateTags = true;\n }\n },\n methods: {\n initItems() {\n if (this.currentTag.length < 2) {\n return;\n }\n const url = document.getElementsByTagName(\'base\')[0].href + `api/v1/autocomplete/tags?query=${this.currentTag}`;\n\n clearTimeout(this.debounce);\n this.debounce = setTimeout(() => {\n axios.get(url).then(response => {\n this.autocompleteItems = response.data.map(item => {\n return {text: item.tag};\n });\n }).catch(() => console.warn(\'Oh. Something went wrong loading tags.\'));\n }, 300);\n },\n },\n\n\n}\n<\/script>\n<style>\n.vue-tags-input {\n width: 100%;\n max-width: 100% !important;\n display: block;\n border-radius: 0.25rem;\n}\n\n.ti-input {\n border-radius: 0.25rem;\n max-width: 100%;\n width: 100%;\n}\n\n.ti-new-tag-input {\n font-size: 1rem;\n}\n</style>\n'],sourceRoot:""}]);const r=i},3324:(e,t,a)=>{"use strict";a.d(t,{Z:()=>s});const n={name:"Alert",props:["message","type"]};const s=(0,a(1900).Z)(n,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.message.length>0?a("div",{class:"alert alert-"+e.type+" alert-dismissible"},[a("button",{staticClass:"close",attrs:{"aria-hidden":"true","data-dismiss":"alert",type:"button"}},[e._v("×")]),e._v(" "),a("h5",["danger"===e.type?a("i",{staticClass:"icon fas fa-ban"}):e._e(),e._v(" "),"success"===e.type?a("i",{staticClass:"icon fas fa-thumbs-up"}):e._e(),e._v(" "),"danger"===e.type?a("span",[e._v(e._s(e.$t("firefly.flash_error")))]):e._e(),e._v(" "),"success"===e.type?a("span",[e._v(e._s(e.$t("firefly.flash_success")))]):e._e()]),e._v(" "),a("span",{domProps:{innerHTML:e._s(e.message)}})]):e._e()}),[],!1,null,null,null).exports},1980:(e,t,a)=>{"use strict";a.d(t,{Z:()=>ae});var n=a(3533),s=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,s.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 i=a(1900);const r=(0,i.Z)(o,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("vue-typeahead-bootstrap",{attrs:{data:e.descriptions,inputClass:e.errors.length>0?"is-invalid":"",minMatchingChars:3,placeholder:e.$t("firefly.description"),serializer:function(e){return e.description},showOnFocus:!0,autofocus:"",inputName:"description[]"},on:{input:e.lookupDescription},model:{value:e.description,callback:function(t){e.description=t},expression:"description"}},[a("template",{slot:"append"},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"},on:{click:e.clearDescription}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()],1)}),[],!1,null,null,null).exports;const c={props:["index","errors","date","time"],name:"TransactionDate",created:function(){this.timeZone=Intl.DateTimeFormat().resolvedOptions().timeZone},data:function(){return{localDate:this.date,localTime:this.time,timeZone:"",timeString:""}},methods:{},computed:{dateStr:{get:function(){return this.localDate instanceof Date&&!isNaN(this.localDate)?this.localDate.toISOString().split("T")[0]:""},set:function(e){if(""===e)return this.localDate=new Date,void this.$emit("set-date",{date:this.localDate});this.localDate=new Date(e),this.$emit("set-date",{date:this.localDate})}},timeStr:{get:function(){return this.localTime instanceof Date&&!isNaN(this.localTime)?("0"+this.localTime.getHours()).slice(-2)+":"+("0"+this.localTime.getMinutes()).slice(-2)+":"+("0"+this.localTime.getSeconds()).slice(-2):""},set:function(e){var t,a,n;if(""===e)return this.localTime.setHours(0),this.localTime.setMinutes(0),this.localTime.setSeconds(0),void this.$emit("set-time",{time:this.localTime});var s=new Date(this.localTime.getTime()),o=e.split(":"),i=null!==(t=o[0])&&void 0!==t?t:"0",r=null!==(a=o[1])&&void 0!==a?a:"0",c=null!==(n=o[2])&&void 0!==n?n:"0";i=3===i.length?i.substr(1,2):i,r=3===r.length?r.substr(1,2):r,c=3===c.length?c.substr(1,2):c,s.setHours(parseInt(i)),s.setMinutes(parseInt(r)),s.setSeconds(parseInt(c)),this.localTime=s,this.$emit("set-time",{time:this.localTime})}}}};const l=(0,i.Z)(c,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.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:{disabled:e.index>0,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(" "),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(" "),""!==e.timeZone?a("span",{staticClass:"text-muted small"},[e._v(e._s(e.timeZone))]):e._e()])}),[],!1,null,null,null).exports;const u={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 _=(0,i.Z)(u,(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 d={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:""},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,s.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)},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 p=(0,i.Z)(d,(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,s=t.htmlText;return[a("div",{staticClass:"d-flex",attrs:{title:n.type}},[a("span",{domProps:{innerHTML:e._s(s)}}),a("br")])]}}],null,!1,1423807661),model:{value:e.accountName,callback:function(t){e.accountName=t},expression:"accountName"}},[e._v(" "),a("template",{slot:"append"},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"},on:{click:e.clearAccount}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2):e._e(),e._v(" "),e.visible?e._e():a("div",{staticClass:"form-control-static"},[a("span",{staticClass:"small text-muted"},[a("em",[e._v(e._s(e.$t("firefly.first_split_decides")))])])]),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()],1)}),[],!1,null,null,null).exports;const g={name:"SwitchAccount",props:["index","transactionType"],methods:{}};const m=(0,i.Z)(g,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},["any"!==this.transactionType?a("span",{staticClass:"text-muted"},[e._v("\n "+e._s(e.$t("firefly."+this.transactionType))+"\n ")]):e._e(),e._v(" "),"any"===this.transactionType?a("span",{staticClass:"text-muted"},[e._v(" ")]):e._e()])])}),[],!1,null,"66a3afa9",null).exports;const h={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 y=(0,i.Z)(h,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs"},[e._v(e._s(e.$t("firefly.amount")))]),e._v(" "),a("div",{staticClass:"input-group"},[e.currencySymbol?a("div",{staticClass:"input-group-prepend"},[a("div",{staticClass:"input-group-text"},[e._v(e._s(e.currencySymbol))])]):e._e(),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.transactionAmount,expression:"transactionAmount"}],class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:e.$t("firefly.amount"),title:e.$t("firefly.amount"),autocomplete:"off",name:"amount[]",type:"number",step:"any"},domProps:{value:e.transactionAmount},on:{input:function(t){t.target.composing||(e.transactionAmount=t.target.value)}}})]),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()])}),[],!1,null,"571f2c0a",null).exports;const b={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 f=(0,i.Z)(b,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.isVisible?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs"},[e._v(e._s(e.$t("form.foreign_amount")))]),e._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.amount,expression:"amount"}],class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:e.$t("form.foreign_amount"),title:e.$t("form.foreign_amount"),autocomplete:"off",name:"foreign_amount[]",type:"number"},domProps:{value:e.amount},on:{input:function(t){t.target.composing||(e.amount=t.target.value)}}})]),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()]):e._e()}),[],!1,null,"d13f8bea",null).exports;const v={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 k=(0,i.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._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedCurrency,expression:"selectedCurrency"}],staticClass:"form-control",attrs:{name:"foreign_currency_id[]"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.selectedCurrency=t.target.multiple?a:a[0]}}},e._l(e.selectableCurrencies,(function(t){return a("option",{attrs:{label:t.name},domProps:{value:t.id}},[e._v(e._s(t.name))])})),0)])]):e._e()}),[],!1,null,"3ee4efa5",null).exports;const w={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 x=(0,i.Z)(w,(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,emitEvent:!0}},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,s.debounce)((function(){var e=this;axios.get(this.getACURL(this.value)).then((function(t){e.categories=t.data}))}),300)},watch:{value:function(e){this.emitEvent=!1,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 C=(0,i.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("i",{staticClass:"far fa-trash-alt"})])])])],2),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()],1)}),[],!1,null,null,null).exports;const D={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 A=(0,i.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.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),S=a.n(I),z=a(9669),j=a.n(z);const P={name:"TransactionTags",components:{VueTagsInput:S()},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){console.log("watch tagList"),!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(){j().get(t).then((function(t){e.autocompleteItems=t.data.map((function(e){return{text:e.tag}}))})).catch((function(){return console.warn("Oh. Something went wrong loading tags.")}))}),300)}}}};a(4936);const B=(0,i.Z)(P,(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 N={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 F=(0,i.Z)(N,(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 L={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 E=(0,i.Z)(L,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.internal_reference"))+"\n ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.reference,expression:"reference"}],class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:e.$t("firefly.internal_reference"),name:"internal_reference[]",type:"text"},domProps:{value:e.reference},on:{input:function(t){t.target.composing||(e.reference=t.target.value)}}}),e._v(" "),e._m(0)])]):e._e()}),[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"input-group-append"},[t("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"}},[t("i",{staticClass:"far fa-trash-alt"})])])}],!1,null,null,null).exports;const $={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 R=(0,i.Z)($,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.external_url"))+"\n ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.url,expression:"url"}],class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:e.$t("firefly.external_url"),name:"external_url[]",type:"url"},domProps:{value:e.url},on:{input:function(t){t.target.composing||(e.url=t.target.value)}}}),e._v(" "),e._m(0)])]):e._e()}),[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"input-group-append"},[t("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"}},[t("i",{staticClass:"far fa-trash-alt"})])])}],!1,null,"7f6746e6",null).exports;const M={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 O=(0,i.Z)(M,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.notes"))+"\n ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.notes,expression:"notes"}],class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:e.$t("firefly.notes")},domProps:{value:e.notes},on:{input:function(t){t.target.composing||(e.notes=t.target.value)}}})])]):e._e()}),[],!1,null,"10b3ae7a",null).exports;var U=a(3465);const q={props:["index","value","errors","customFields"],name:"TransactionLinks",data:function(){return{searchResults:[],include:[],locale:"en-US",linkTypes:[],query:"",searching:!1,links:this.value,availableFields:this.customFields,emitEvent:!0}},created:function(){var e;this.locale=null!==(e=localStorage.locale)&&void 0!==e?e:"en-US",this.emitEvent=!1,this.links=U(this.value),this.getLinkTypes()},computed:{showField:function(){return"links"in this.availableFields&&this.availableFields.links}},watch:{value:function(e){null!==e&&(this.emitEvent=!1,this.links=U(e))},links:function(e){!0===this.emitEvent&&this.$emit("set-field",{index:this.index,field:"links",value:U(e)}),this.emitEvent=!0},customFields:function(e){this.availableFields=e}},methods:{removeLink:function(e){this.links.splice(e,1)},getTextForLinkType:function(e){var t=e.split("-");for(var a in this.linkTypes)if(this.linkTypes.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=this.linkTypes[a];if(t[0]===n.id&&t[1]===n.direction)return n.type}return"text for #"+e},selectTransaction:function(e){for(var t in this.searchResults)if(this.searchResults.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=this.searchResults[t];a.selected&&this.addToSelected(a),a.selected||this.removeFromSelected(a)}},selectLinkType:function(e){for(var t in this.searchResults)if(this.searchResults.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=this.searchResults[t];this.updateSelected(a.transaction_journal_id,a.link_type_id)}},updateSelected:function(e,t){for(var a in this.links)if(this.links.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=this.links[a];parseInt(n.transaction_journal_id)===e&&(this.links[a].link_type_id=t)}},addToSelected:function(e){void 0===this.links.find((function(t){return t.transaction_journal_id===e.transaction_journal_id}))&&this.links.push(e)},removeFromSelected:function(e){for(var t in this.links){if(this.links.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294)this.links[t].transaction_journal_id===e.transaction_journal_id&&this.links.splice(parseInt(t),1)}},getLinkTypes:function(){var e=this;axios.get("./api/v1/link_types").then((function(t){e.parseLinkTypes(t.data)}))},resetModal:function(){this.search()},parseLinkTypes:function(e){for(var t in e.data)if(e.data.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=e.data[t],n={id:a.id,type:a.attributes.inward,direction:"inward"},s={id:a.id,type:a.attributes.outward,direction:"outward"};n.type===s.type&&(n.type=n.type+" (←)",s.type=s.type+" (→)"),this.linkTypes.push(n),this.linkTypes.push(s)}},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 V=(0,i.Z)(q,(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:{"data-target":"#linkModal","data-toggle":"modal"},on:{click:e.resetModal}},[a("i",{staticClass:"fas fa-plus"}),e._v(" Add transaction link")])]):e._e(),e._v(" "),e.links.length>0?a("ul",{staticClass:"list-group"},e._l(e.links,(function(t,n){return a("li",{key:n,staticClass:"list-group-item"},[a("em",[e._v(e._s(e.getTextForLinkType(t.link_type_id)))]),e._v(" "),a("a",{attrs:{href:"./transaction/show/"+t.transaction_group_id}},[e._v(e._s(t.description))]),e._v(" "),"withdrawal"===t.type?a("span",[e._v("\n ("),a("span",{staticClass:"text-danger"},[e._v(e._s(Intl.NumberFormat(e.locale,{style:"currency",currency:t.currency_code}).format(-1*parseFloat(t.amount))))]),e._v(")\n ")]):e._e(),e._v(" "),"deposit"===t.type?a("span",[e._v("\n ("),a("span",{staticClass:"text-success"},[e._v(e._s(Intl.NumberFormat(e.locale,{style:"currency",currency:t.currency_code}).format(parseFloat(t.amount))))]),e._v(")\n ")]):e._e(),e._v(" "),"transfer"===t.type?a("span",[e._v("\n ("),a("span",{staticClass:"text-info"},[e._v(e._s(Intl.NumberFormat(e.locale,{style:"currency",currency:t.currency_code}).format(parseFloat(t.amount))))]),e._v(")\n ")]):e._e(),e._v(" "),a("div",{staticClass:"btn-group btn-group-xs float-right"},[a("button",{staticClass:"btn btn-xs btn-danger",attrs:{tabindex:"-1"},on:{click:function(t){return e.removeLink(n)}}},[a("i",{staticClass:"far fa-trash-alt"})])])])})),0):e._e(),e._v(" "),e.links.length>0?a("div",{staticClass:"form-text"},[a("button",{staticClass:"btn btn-default",attrs:{"data-target":"#linkModal","data-toggle":"modal"},on:{click:e.resetModal}},[a("i",{staticClass:"fas fa-plus"})])]):e._e()])])]),e._v(" "),a("div",{ref:"linkModal",staticClass:"modal",attrs:{id:"linkModal",tabindex:"-1"}},[a("div",{staticClass:"modal-dialog modal-lg"},[a("div",{staticClass:"modal-content"},[e._m(0),e._v(" "),a("div",{staticClass:"modal-body"},[a("div",{staticClass:"container-fluid"},[e._m(1),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("form",{on:{submit:function(t){return t.preventDefault(),e.search(t)}}},[a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.query,expression:"query"}],staticClass:"form-control",attrs:{id:"query",autocomplete:"off",maxlength:"255",name:"search",placeholder:"Search query",type:"text"},domProps:{value:e.query},on:{input:function(t){t.target.composing||(e.query=t.target.value)}}}),e._v(" "),e._m(2)])])])]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[e.searching?a("span",[a("i",{staticClass:"fas fa-spinner fa-spin"})]):e._e(),e._v(" "),e.searchResults.length>0?a("h4",[e._v(e._s(e.$t("firefly.search_results")))]):e._e(),e._v(" "),e.searchResults.length>0?a("table",{staticClass:"table table-sm"},[a("caption",{staticStyle:{display:"none"}},[e._v(e._s(e.$t("firefly.search_results")))]),e._v(" "),a("thead",[a("tr",[a("th",{staticStyle:{width:"33%"},attrs:{scope:"col",colspan:"2"}},[e._v(e._s(e.$t("firefly.include")))]),e._v(" "),a("th",{attrs:{scope:"col"}},[e._v(e._s(e.$t("firefly.transaction")))])])]),e._v(" "),a("tbody",e._l(e.searchResults,(function(t){return a("tr",[a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"result.selected"}],staticClass:"form-control",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.selected)?e._i(t.selected,null)>-1:t.selected},on:{change:[function(a){var n=t.selected,s=a.target,o=!!s.checked;if(Array.isArray(n)){var i=e._i(n,null);s.checked?i<0&&e.$set(t,"selected",n.concat([null])):i>-1&&e.$set(t,"selected",n.slice(0,i).concat(n.slice(i+1)))}else e.$set(t,"selected",o)},function(t){return e.selectTransaction(t)}]}})]),e._v(" "),a("td",[a("select",{directives:[{name:"model",rawName:"v-model",value:t.link_type_id,expression:"result.link_type_id"}],staticClass:"form-control",on:{change:[function(a){var n=Array.prototype.filter.call(a.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(t,"link_type_id",a.target.multiple?n:n[0])},function(t){return e.selectLinkType(t)}]}},e._l(e.linkTypes,(function(t){return a("option",{attrs:{label:t.type},domProps:{value:t.id+"-"+t.direction}},[e._v(e._s(t.type)+"\n ")])})),0)]),e._v(" "),a("td",[a("a",{attrs:{href:"./transactions/show/"+t.transaction_group_id}},[e._v(e._s(t.description))]),e._v(" "),"withdrawal"===t.type?a("span",[e._v("\n ("),a("span",{staticClass:"text-danger"},[e._v(e._s(Intl.NumberFormat(e.locale,{style:"currency",currency:t.currency_code}).format(-1*parseFloat(t.amount))))]),e._v(")\n ")]):e._e(),e._v(" "),"deposit"===t.type?a("span",[e._v("\n ("),a("span",{staticClass:"text-success"},[e._v(e._s(Intl.NumberFormat(e.locale,{style:"currency",currency:t.currency_code}).format(parseFloat(t.amount))))]),e._v(")\n ")]):e._e(),e._v(" "),"transfer"===t.type?a("span",[e._v("\n ("),a("span",{staticClass:"text-info"},[e._v(e._s(Intl.NumberFormat(e.locale,{style:"currency",currency:t.currency_code}).format(parseFloat(t.amount))))]),e._v(")\n ")]):e._e(),e._v(" "),a("br"),e._v(" "),a("em",[a("a",{attrs:{href:"./accounts/show/"+t.source_id}},[e._v(e._s(t.source_name))]),e._v("\n →\n "),a("a",{attrs:{href:"./accounts/show/"+t.destination_id}},[e._v(e._s(t.destination_name))])])])])})),0)]):e._e()])])])]),e._v(" "),e._m(3)])])])]):e._e()}),[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"modal-header"},[a("h5",{staticClass:"modal-title"},[e._v("Transaction thing dialog.")]),e._v(" "),a("button",{staticClass:"close",attrs:{"aria-label":"Close","data-dismiss":"modal",type:"button"}},[a("span",{attrs:{"aria-hidden":"true"}},[e._v("×")])])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("p",[e._v("\n Use this form to search for transactions you wish to link to this one. When in doubt, use "),a("code",[e._v("id:*")]),e._v(" where the ID is the number from\n the URL.\n ")])])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-default",attrs:{type:"submit"}},[a("i",{staticClass:"fas fa-search"}),e._v(" Search")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"modal-footer"},[a("button",{staticClass:"btn btn-secondary",attrs:{"data-dismiss":"modal",type:"button"}},[e._v("Close")])])}],!1,null,null,null).exports;const G={name:"TransactionAttachments",props:["transaction_journal_id","customFields"],data:function(){return{availableFields:this.customFields}},watch:{customFields:function(e){this.availableFields=e},transaction_journal_id:function(e){this.showField?0!==e&&this.doUpload():this.$emit("uploaded-attachments",e)}},computed:{showField:function(){return"attachments"in this.availableFields&&this.availableFields.attachments}},methods:{selectedFile:function(){this.$emit("selected-attachments",this.transaction_journal_id)},doUpload:function(){var e=this;for(var t in this.$refs.att.files)this.$refs.att.files.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294&&function(){var a=e.$refs.att.files[t],n=new FileReader,s=e;n.onloadend=function(e){var t=this;if(e.target.readyState===FileReader.DONE){var n={filename:a.name,attachable_type:"TransactionJournal",attachable_id:s.transaction_journal_id};axios.post("./api/v1/attachments",n).then((function(a){var n="./api/v1/attachments/"+a.data.data.id+"/upload";axios.post(n,new Blob([e.target.result])).then((function(e){s.$emit("uploaded-attachments",t.transaction_journal_id)}))}))}},n.readAsArrayBuffer(a)}();0===this.$refs.att.files.length&&this.$emit("uploaded-attachments",this.transaction_journal_id)}}};const W=(0,i.Z)(G,(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,"c0a65b6c",null).exports;var Z=a(7661),K=a(5352),H=a(2727),J=a(8380),Y=(a(5802),a(5243)),Q=a.n(Y);delete Q().Icon.Default.prototype._getIconUrl,Q().Icon.Default.mergeOptions({iconRetinaUrl:a(9895),iconUrl:a(3448),shadowUrl:a(4645)});const X={name:"TransactionLocation",props:{index:{},value:{type:Object,required:!1},errors:{},customFields:{}},components:{LMap:K.Z,LTileLayer:H.Z,LMarker:J.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 ee=(0,i.Z)(X,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.location"))+"\n ")]),e._v(" "),a("div",{staticStyle:{width:"100%",height:"300px"}},[a("l-map",{ref:"myMap",staticStyle:{width:"100%",height:"300px"},attrs:{center:e.center,zoom:e.zoom},on:{ready:function(t){return e.prepMap()},"update:zoom":e.zoomUpdated,"update:center":e.centerUpdated,"update:bounds":e.boundsUpdated}},[a("l-tile-layer",{attrs:{url:e.url}}),e._v(" "),a("l-marker",{attrs:{"lat-lng":e.marker,visible:e.hasMarker}})],1),e._v(" "),a("span",[a("button",{staticClass:"btn btn-default btn-xs",on:{click:e.clearLocation}},[e._v(e._s(e.$t("firefly.clear_location")))])])],1),e._v(" "),a("p",[e._v(" ")])]):e._e()}),[],!1,null,"3bafa3c9",null).exports,te={name:"SplitForm",props:{transaction:{type:Object,required:!0},count:{type:Number,required:!1},customFields:{type:Object,required:!1},index:{type:Number,required:!0},date:{type:Date,required:!0},time:{type:Date,required:!0},transactionType:{type:String,required:!0},submittedTransaction:{type:Boolean,required:!1,default:!1},sourceAllowedTypes:{type:Array,required:!1,default:[]},destinationAllowedTypes:{type:Array,required:!1,default:[]},allowSwitch:{type:Boolean,required:!1,default:!0}},methods:{removeTransaction:function(){this.$emit("remove-transaction",{index:this.index})}},computed:{splitDate:function(){return this.date},splitTime:function(){return this.time},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:ee,SplitPills:Z.Z,TransactionAttachments:W,TransactionNotes:O,TransactionExternalUrl:R,TransactionInternalReference:E,TransactionPiggyBank:F,TransactionTags:B,TransactionLinks:V,TransactionBill:A,TransactionCategory:C,TransactionCustomDates:x,TransactionForeignCurrency:k,TransactionForeignAmount:f,TransactionAmount:y,SwitchAccount:m,TransactionAccount:p,TransactionBudget:_,TransactionDescription:r,TransactionDate:l}};const ae=(0,i.Z)(te,(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",on:{click:e.removeTransaction}},[a("i",{staticClass:"fas fa-trash-alt"})])]):e._e()]),e._v(" "),a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("TransactionDescription",e._g({attrs:{errors:e.transaction.errors.description,index:e.index},model:{value:e.transaction.description,callback:function(t){e.$set(e.transaction,"description",t)},expression:"transaction.description"}},e.$listeners))],1)]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12"},[a("TransactionAccount",e._g({attrs:{"destination-allowed-types":e.destinationAllowedTypes,errors:e.transaction.errors.source,index:e.index,"source-allowed-types":e.sourceAllowedTypes,"transaction-type":e.transactionType,direction:"source"},model:{value:e.sourceAccount,callback:function(t){e.sourceAccount=t},expression:"sourceAccount"}},e.$listeners))],1),e._v(" "),a("div",{staticClass:"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block"},[0===e.index&&e.allowSwitch?a("SwitchAccount",e._g({attrs:{index:e.index,"transaction-type":e.transactionType}},e.$listeners)):e._e()],1),e._v(" "),a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12"},[a("TransactionAccount",e._g({attrs:{"destination-allowed-types":e.destinationAllowedTypes,errors:e.transaction.errors.destination,index:e.index,"transaction-type":e.transactionType,"source-allowed-types":e.sourceAllowedTypes,direction:"destination"},model:{value:e.destinationAccount,callback:function(t){e.destinationAccount=t},expression:"destinationAccount"}},e.$listeners))],1)]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12"},[a("TransactionAmount",e._g({attrs:{amount:e.transaction.amount,"destination-currency-symbol":this.transaction.destination_account_currency_symbol,errors:e.transaction.errors.amount,index:e.index,"source-currency-symbol":this.transaction.source_account_currency_symbol,"transaction-type":this.transactionType}},e.$listeners))],1),e._v(" "),a("div",{staticClass:"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block"},[a("TransactionForeignCurrency",e._g({attrs:{"destination-currency-id":this.transaction.destination_account_currency_id,index:e.index,"selected-currency-id":this.transaction.foreign_currency_id,"source-currency-id":this.transaction.source_account_currency_id,"transaction-type":this.transactionType},model:{value:e.transaction.foreign_currency_id,callback:function(t){e.$set(e.transaction,"foreign_currency_id",t)},expression:"transaction.foreign_currency_id"}},e.$listeners))],1),e._v(" "),a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12"},[a("TransactionForeignAmount",e._g({attrs:{"destination-currency-id":this.transaction.destination_account_currency_id,errors:e.transaction.errors.foreign_amount,index:e.index,"selected-currency-id":this.transaction.foreign_currency_id,"source-currency-id":this.transaction.source_account_currency_id,"transaction-type":this.transactionType},model:{value:e.transaction.foreign_amount,callback:function(t){e.$set(e.transaction,"foreign_amount",t)},expression:"transaction.foreign_amount"}},e.$listeners))],1)]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12"},[a("TransactionDate",e._g({attrs:{date:e.splitDate,errors:e.transaction.errors.date,index:e.index,time:e.splitTime}},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,submitted_transaction:e.submittedTransaction,transaction_journal_id:e.transaction.transaction_journal_id},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},7661:(e,t,a)=>{"use strict";a.d(t,{Z:()=>s});const n={name:"SplitPills",props:["transactions"]};const s=(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"},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":"tab"}},[""!==t.description?a("span",[e._v(e._s(t.description))]):e._e(),e._v(" "),""===t.description?a("span",[e._v("Split "+e._s(n+1))]):e._e()])])})),0)])]):e._e()}),[],!1,null,null,null).exports},5524:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(3533),s=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,s.debounce)((function(){var e=this;axios.get(this.getACURL(this.title)).then((function(t){e.descriptions=t.data}))}),300)}};const i=(0,a(1900).Z)(o,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.split_transaction_title"))+"\n ")]),e._v(" "),a("vue-typeahead-bootstrap",{attrs:{data:e.descriptions,inputClass:e.errors.length>0?"is-invalid":"",minMatchingChars:3,placeholder:e.$t("firefly.split_transaction_title"),serializer:function(e){return e.description},showOnFocus:!0,inputName:"group_title"},on:{input:e.lookupDescription},model:{value:e.title,callback:function(t){e.title=t},expression:"title"}},[a("template",{slot:"append"},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"},on:{click:e.clearDescription}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()],1)}),[],!1,null,"273271bf",null).exports},4936:(e,t,a)=>{var n=a(6665);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,a(5346).Z)("bf9ab7ac",n,!0,{})},7154:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Прехвърляне","Withdrawal":"Теглене","Deposit":"Депозит","date_and_time":"Date and time","no_currency":"(без валута)","date":"Дата","time":"Time","no_budget":"(без бюджет)","destination_account":"Приходна сметка","source_account":"Разходна сметка","single_split":"Раздел","create_new_transaction":"Create a new transaction","balance":"Салдо","transaction_journal_extra":"Extra information","transaction_journal_meta":"Мета информация","basic_journal_information":"Basic transaction information","bills_to_pay":"Сметки за плащане","left_to_spend":"Останали за харчене","attachments":"Прикачени файлове","net_worth":"Нетна стойност","bill":"Сметка","no_bill":"(няма сметка)","tags":"Етикети","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(без касичка)","paid":"Платени","notes":"Бележки","yourAccounts":"Вашите сметки","go_to_asset_accounts":"Вижте активите си","delete_account":"Изтриване на профил","transaction_table_description":"Таблица съдържаща вашите транзакции","account":"Сметка","description":"Описание","amount":"Сума","budget":"Бюджет","category":"Категория","opposing_account":"Противоположна сметка","budgets":"Бюджети","categories":"Категории","go_to_budgets":"Вижте бюджетите си","income":"Приходи","go_to_deposits":"Отиди в депозити","go_to_categories":"Виж категориите си","expense_accounts":"Сметки за разходи","go_to_expenses":"Отиди в Разходи","go_to_bills":"Виж сметките си","bills":"Сметки","last_thirty_days":"Последните трийсет дни","last_seven_days":"Последните седем дни","go_to_piggies":"Виж касичките си","saved":"Записан","piggy_banks":"Касички","piggy_bank":"Касичка","amounts":"Суми","left":"Останали","spent":"Похарчени","Default asset account":"Сметка за активи по подразбиране","search_results":"Резултати от търсенето","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Сметка за активи по подразбиране","account_role_savingAsset":"Спестовна сметка","account_role_sharedAsset":"Сметка за споделени активи","clear_location":"Изчисти местоположението","account_role_ccAsset":"Кредитна карта","account_role_cashWalletAsset":"Паричен портфейл","daily_budgets":"Дневни бюджети","weekly_budgets":"Седмични бюджети","monthly_budgets":"Месечни бюджети","quarterly_budgets":"Тримесечни бюджети","create_new_expense":"Създай нова сметка за разходи","create_new_revenue":"Създай нова сметка за приходи","create_new_liabilities":"Create new liability","half_year_budgets":"Шестмесечни бюджети","yearly_budgets":"Годишни бюджети","split_transaction_title":"Описание на разделена транзакция","errors_submission":"Имаше нещо нередно с вашите данни. Моля, проверете грешките.","flash_error":"Грешка!","store_transaction":"Store transaction","flash_success":"Успех!","create_another":"След съхраняването се върнете тук, за да създадете нова.","update_transaction":"Обнови транзакцията","after_update_create_another":"След обновяването се върнете тук, за да продължите с редакцията.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Търсене","create_new_asset":"Създай нова сметка за активи","asset_accounts":"Сметки за активи","reset_after":"Изчистване на формуляра след изпращане","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID}(\\"{title}\\")</a> беше записана.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Местоположение","other_budgets":"Времево персонализирани бюджети","journal_links":"Връзки на транзакция","go_to_withdrawals":"Вижте тегленията си","revenue_accounts":"Сметки за приходи","add_another_split":"Добавяне на друг раздел","actions":"Действия","edit":"Промени","account_type_Loan":"Заем","account_type_Mortgage":"Ипотека","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Дълг","delete":"Изтрий","store_new_asset_account":"Запамети нова сметка за активи","store_new_expense_account":"Запамети нова сметка за разходи","store_new_liabilities_account":"Запамети ново задължение","store_new_revenue_account":"Запамети нова сметка за приходи","mandatoryFields":"Задължителни полета","optionalFields":"Незадължителни полета","reconcile_this_account":"Съгласувай тази сметка","interest_calc_weekly":"Per week","interest_calc_monthly":"На месец","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Годишно","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(нищо)"},"list":{"piggy_bank":"Касичка","percentage":"%","amount":"Сума","name":"Име","role":"Привилегии","iban":"IBAN","currentBalance":"Текущ баланс","next_expected_match":"Следващo очакванo съвпадение"},"config":{"html_language":"bg"},"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","edit":"Upravit","account_type_Loan":"Půjčka","account_type_Mortgage":"Hypotéka","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Dluh","delete":"Odstranit","store_new_asset_account":"Uložit nový účet aktiv","store_new_expense_account":"Uložit nový výdajový účet","store_new_liabilities_account":"Uložit nový závazek","store_new_revenue_account":"Uložit nový příjmový účet","mandatoryFields":"Povinné kolonky","optionalFields":"Volitelné kolonky","reconcile_this_account":"Vyúčtovat tento účet","interest_calc_weekly":"Per week","interest_calc_monthly":"Za měsíc","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Za rok","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(žádné)"},"list":{"piggy_bank":"Pokladnička","percentage":"%","amount":"Částka","name":"Jméno","role":"Role","iban":"IBAN","currentBalance":"Aktuální zůstatek","next_expected_match":"Další očekávaná shoda"},"config":{"html_language":"cs"},"form":{"foreign_amount":"Částka v cizí měně","interest_date":"Úrokové datum","name":"Název","amount":"Částka","iban":"IBAN","BIC":"BIC","notes":"Poznámky","location":"Údaje o poloze","attachments":"Přílohy","active":"Aktivní","include_net_worth":"Zahrnout do čistého jmění","account_number":"Číslo účtu","virtual_balance":"Virtuální zůstatek","opening_balance":"Počáteční zůstatek","opening_balance_date":"Datum počátečního zůstatku","date":"Datum","interest":"Úrok","interest_period":"Úrokové období","currency_id":"Měna","liability_type":"Liability type","account_role":"Role účtu","liability_direction":"Liability in/out","book_date":"Datum rezervace","permDeleteWarning":"Odstranění věcí z Firefly III je trvalé a nelze vrátit zpět.","account_areYouSure_js":"Jste si jisti, že chcete odstranit účet s názvem \\"{name}\\"?","also_delete_piggyBanks_js":"Žádné pokladničky|Jediná pokladnička připojená k tomuto účtu bude také odstraněna. Všech {count} pokladniček, které jsou připojeny k tomuto účtu, bude také odstraněno.","also_delete_transactions_js":"Žádné transakce|Jediná transakce připojená k tomuto účtu bude také smazána.|Všech {count} transakcí připojených k tomuto účtu bude také odstraněno.","process_date":"Datum zpracování","due_date":"Datum splatnosti","payment_date":"Datum zaplacení","invoice_date":"Datum vystavení"}}')},4726:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Umbuchung","Withdrawal":"Ausgabe","Deposit":"Einnahme","date_and_time":"Datum und Uhrzeit","no_currency":"(ohne Währung)","date":"Datum","time":"Uhrzeit","no_budget":"(kein Budget)","destination_account":"Zielkonto","source_account":"Quellkonto","single_split":"Teil","create_new_transaction":"Neue Buchung erstellen","balance":"Kontostand","transaction_journal_extra":"Zusätzliche Informationen","transaction_journal_meta":"Metainformationen","basic_journal_information":"Allgemeine Buchungsinformationen","bills_to_pay":"Unbezahlte Rechnungen","left_to_spend":"Verbleibend zum Ausgeben","attachments":"Anhänge","net_worth":"Eigenkapital","bill":"Rechnung","no_bill":"(keine Belege)","tags":"Schlagwörter","internal_reference":"Interner Verweis","external_url":"Externe URL","no_piggy_bank":"(kein Sparschwein)","paid":"Bezahlt","notes":"Notizen","yourAccounts":"Deine Konten","go_to_asset_accounts":"Bestandskonten anzeigen","delete_account":"Konto löschen","transaction_table_description":"Eine Tabelle mit Ihren Buchungen","account":"Konto","description":"Beschreibung","amount":"Betrag","budget":"Budget","category":"Kategorie","opposing_account":"Gegenkonto","budgets":"Budgets","categories":"Kategorien","go_to_budgets":"Budgets anzeigen","income":"Einnahmen / Einkommen","go_to_deposits":"Zu Einlagen wechseln","go_to_categories":"Kategorien anzeigen","expense_accounts":"Ausgabekonten","go_to_expenses":"Zu Ausgaben wechseln","go_to_bills":"Rechnungen anzeigen","bills":"Rechnungen","last_thirty_days":"Letzte 30 Tage","last_seven_days":"Letzte sieben Tage","go_to_piggies":"Sparschweine anzeigen","saved":"Gespeichert","piggy_banks":"Sparschweine","piggy_bank":"Sparschwein","amounts":"Beträge","left":"Übrig","spent":"Ausgegeben","Default asset account":"Standard-Bestandskonto","search_results":"Suchergebnisse","include":"Inbegriffen?","transaction":"Überweisung","account_role_defaultAsset":"Standard-Bestandskonto","account_role_savingAsset":"Sparkonto","account_role_sharedAsset":"Gemeinsames Bestandskonto","clear_location":"Ort leeren","account_role_ccAsset":"Kreditkarte","account_role_cashWalletAsset":"Geldbörse","daily_budgets":"Tagesbudgets","weekly_budgets":"Wochenbudgets","monthly_budgets":"Monatsbudgets","quarterly_budgets":"Quartalsbudgets","create_new_expense":"Neues Ausgabenkonto erstellen","create_new_revenue":"Neues Einnahmenkonto erstellen","create_new_liabilities":"Neue Verbindlichkeit anlegen","half_year_budgets":"Halbjahresbudgets","yearly_budgets":"Jahresbudgets","split_transaction_title":"Beschreibung der Splittbuchung","errors_submission":"Ihre Übermittlung ist fehlgeschlagen. Bitte überprüfen Sie die Fehler.","flash_error":"Fehler!","store_transaction":"Buchung speichern","flash_success":"Geschafft!","create_another":"Nach dem Speichern hierher zurückkehren, um ein weiteres zu erstellen.","update_transaction":"Buchung aktualisieren","after_update_create_another":"Nach dem Aktualisieren hierher zurückkehren, um weiter zu bearbeiten.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde nicht verändert.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde aktualisiert.","spent_x_of_y":"{amount} von {total} ausgegeben","search":"Suche","create_new_asset":"Neues Bestandskonto erstellen","asset_accounts":"Bestandskonten","reset_after":"Formular nach der Übermittlung zurücksetzen","bill_paid_on":"Bezahlt am {date}","first_split_decides":"Die erste Aufteilung bestimmt den Wert dieses Feldes","first_split_overrules_source":"Die erste Aufteilung könnte das Quellkonto überschreiben","first_split_overrules_destination":"Die erste Aufteilung könnte das Zielkonto überschreiben","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Buchung #{ID} (\\"{title}\\")</a> wurde gespeichert.","custom_period":"Benutzerdefinierter Zeitraum","reset_to_current":"Auf aktuellen Zeitraum zurücksetzen","select_period":"Zeitraum auswählen","location":"Standort","other_budgets":"Zeitlich befristete Budgets","journal_links":"Buchungsverknüpfungen","go_to_withdrawals":"Ausgaben anzeigen","revenue_accounts":"Einnahmekonten","add_another_split":"Eine weitere Aufteilung hinzufügen","actions":"Aktionen","edit":"Bearbeiten","account_type_Loan":"Darlehen","account_type_Mortgage":"Hypothek","stored_new_account_js":"Neues Konto \\"<a href=\\"accounts/show/{ID}\\">„{name}”</a>\\" gespeichert!","account_type_Debt":"Schuld","delete":"Löschen","store_new_asset_account":"Neues Bestandskonto speichern","store_new_expense_account":"Neues Ausgabenkonto speichern","store_new_liabilities_account":"Neue Verbindlichkeit speichern","store_new_revenue_account":"Neues Einnahmenkonto speichern","mandatoryFields":"Pflichtfelder","optionalFields":"Optionale Felder","reconcile_this_account":"Dieses Konto abgleichen","interest_calc_weekly":"Pro Woche","interest_calc_monthly":"Monatlich","interest_calc_quarterly":"Vierteljährlich","interest_calc_half-year":"Halbjährlich","interest_calc_yearly":"Jährlich","liability_direction_credit":"Mir wird dies geschuldet","liability_direction_debit":"Ich schulde dies jemandem","save_transactions_by_moving_js":"Keine Buchungen|Speichern Sie diese Buchung, indem Sie sie auf ein anderes Konto verschieben. |Speichern Sie diese Buchungen, indem Sie sie auf ein anderes Konto verschieben.","none_in_select_list":"(Keine)"},"list":{"piggy_bank":"Sparschwein","percentage":"%","amount":"Betrag","name":"Name","role":"Rolle","iban":"IBAN","currentBalance":"Aktueller Kontostand","next_expected_match":"Nächste erwartete Übereinstimmung"},"config":{"html_language":"de"},"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":"Ενέργειες","edit":"Επεξεργασία","account_type_Loan":"Δάνειο","account_type_Mortgage":"Υποθήκη","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Χρέος","delete":"Διαγραφή","store_new_asset_account":"Αποθήκευση νέου λογαριασμού κεφαλαίου","store_new_expense_account":"Αποθήκευση νέου λογαριασμού δαπανών","store_new_liabilities_account":"Αποθήκευση νέας υποχρέωσης","store_new_revenue_account":"Αποθήκευση νέου λογαριασμού εσόδων","mandatoryFields":"Υποχρεωτικά πεδία","optionalFields":"Προαιρετικά πεδία","reconcile_this_account":"Τακτοποίηση αυτού του λογαριασμού","interest_calc_weekly":"Per week","interest_calc_monthly":"Ανά μήνα","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Ανά έτος","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(τίποτα)"},"list":{"piggy_bank":"Κουμπαράς","percentage":"pct.","amount":"Ποσό","name":"Όνομα","role":"Ρόλος","iban":"IBAN","currentBalance":"Τρέχον υπόλοιπο","next_expected_match":"Επόμενη αναμενόμενη αντιστοίχιση"},"config":{"html_language":"el"},"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","edit":"Edit","account_type_Loan":"Loan","account_type_Mortgage":"Mortgage","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Debt","delete":"Delete","store_new_asset_account":"Store new asset account","store_new_expense_account":"Store new expense account","store_new_liabilities_account":"Store new liability","store_new_revenue_account":"Store new revenue account","mandatoryFields":"Mandatory fields","optionalFields":"Optional fields","reconcile_this_account":"Reconcile this account","interest_calc_weekly":"Per week","interest_calc_monthly":"Per month","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Per year","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(none)"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","name":"Name","role":"Role","iban":"IBAN","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en-gb"},"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","edit":"Edit","account_type_Loan":"Loan","account_type_Mortgage":"Mortgage","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Debt","delete":"Delete","store_new_asset_account":"Store new asset account","store_new_expense_account":"Store new expense account","store_new_liabilities_account":"Store new liability","store_new_revenue_account":"Store new revenue account","mandatoryFields":"Mandatory fields","optionalFields":"Optional fields","reconcile_this_account":"Reconcile this account","interest_calc_weekly":"Per week","interest_calc_monthly":"Per month","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Per year","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(none)"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","name":"Name","role":"Role","iban":"IBAN","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en"},"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":"Include?","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","edit":"Editar","account_type_Loan":"Préstamo","account_type_Mortgage":"Hipoteca","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Deuda","delete":"Eliminar","store_new_asset_account":"Crear cuenta de activos","store_new_expense_account":"Crear cuenta de gastos","store_new_liabilities_account":"Crear nuevo pasivo","store_new_revenue_account":"Crear cuenta de ingresos","mandatoryFields":"Campos obligatorios","optionalFields":"Campos opcionales","reconcile_this_account":"Reconciliar esta cuenta","interest_calc_weekly":"Per week","interest_calc_monthly":"Por mes","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Por año","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","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":"(ninguno)"},"list":{"piggy_bank":"Alcancilla","percentage":"pct.","amount":"Monto","name":"Nombre","role":"Rol","iban":"IBAN","currentBalance":"Balance actual","next_expected_match":"Próxima coincidencia esperada"},"config":{"html_language":"es"},"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":"Liability type","account_role":"Rol de cuenta","liability_direction":"Liability in/out","book_date":"Fecha de registro","permDeleteWarning":"Eliminar cosas de Firefly III es permanente y no se puede deshacer.","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":"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","edit":"Muokkaa","account_type_Loan":"Laina","account_type_Mortgage":"Kiinnelaina","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Velka","delete":"Poista","store_new_asset_account":"Tallenna uusi omaisuustili","store_new_expense_account":"Tallenna uusi kulutustili","store_new_liabilities_account":"Tallenna uusi vastuu","store_new_revenue_account":"Tallenna uusi tuottotili","mandatoryFields":"Pakolliset kentät","optionalFields":"Valinnaiset kentät","reconcile_this_account":"Täsmäytä tämä tili","interest_calc_weekly":"Per week","interest_calc_monthly":"Kuukaudessa","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Vuodessa","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(ei mitään)"},"list":{"piggy_bank":"Säästöpossu","percentage":"pros.","amount":"Summa","name":"Nimi","role":"Rooli","iban":"IBAN","currentBalance":"Tämänhetkinen saldo","next_expected_match":"Seuraava lasku odotettavissa"},"config":{"html_language":"fi"},"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","edit":"Modifier","account_type_Loan":"Prêt","account_type_Mortgage":"Prêt hypothécaire","stored_new_account_js":"Nouveau compte \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" enregistré !","account_type_Debt":"Dette","delete":"Supprimer","store_new_asset_account":"Créer un nouveau compte d’actif","store_new_expense_account":"Créer un nouveau compte de dépenses","store_new_liabilities_account":"Enregistrer un nouveau passif","store_new_revenue_account":"Créer un compte de recettes","mandatoryFields":"Champs obligatoires","optionalFields":"Champs optionnels","reconcile_this_account":"Rapprocher ce compte","interest_calc_weekly":"Par semaine","interest_calc_monthly":"Par mois","interest_calc_quarterly":"Par trimestre","interest_calc_half-year":"Par semestre","interest_calc_yearly":"Par an","liability_direction_credit":"On me doit cette dette","liability_direction_debit":"Je dois cette dette à quelqu\'un d\'autre","save_transactions_by_moving_js":"Aucune opération|Conserver cette opération en la déplaçant vers un autre compte. |Conserver ces opérations en les déplaçant vers un autre compte.","none_in_select_list":"(aucun)"},"list":{"piggy_bank":"Tirelire","percentage":"pct.","amount":"Montant","name":"Nom","role":"Rôle","iban":"Numéro IBAN","currentBalance":"Solde courant","next_expected_match":"Prochaine association attendue"},"config":{"html_language":"fr"},"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":"Liability in/out","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","edit":"Szerkesztés","account_type_Loan":"Hitel","account_type_Mortgage":"Jelzálog","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Adósság","delete":"Törlés","store_new_asset_account":"Új eszközszámla tárolása","store_new_expense_account":"Új költségszámla tárolása","store_new_liabilities_account":"Új kötelezettség eltárolása","store_new_revenue_account":"Új jövedelemszámla létrehozása","mandatoryFields":"Kötelező mezők","optionalFields":"Nem kötelező mezők","reconcile_this_account":"Számla egyeztetése","interest_calc_weekly":"Per week","interest_calc_monthly":"Havonta","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Évente","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(nincs)"},"list":{"piggy_bank":"Malacpersely","percentage":"%","amount":"Összeg","name":"Név","role":"Szerepkör","iban":"IBAN","currentBalance":"Aktuális egyenleg","next_expected_match":"Következő várható egyezés"},"config":{"html_language":"hu"},"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","edit":"Modifica","account_type_Loan":"Prestito","account_type_Mortgage":"Mutuo","stored_new_account_js":"Nuovo conto \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" salvato!","account_type_Debt":"Debito","delete":"Elimina","store_new_asset_account":"Salva nuovo conto attività","store_new_expense_account":"Salva il nuovo conto uscite","store_new_liabilities_account":"Memorizza nuova passività","store_new_revenue_account":"Salva il nuovo conto entrate","mandatoryFields":"Campi obbligatori","optionalFields":"Campi opzionali","reconcile_this_account":"Riconcilia questo conto","interest_calc_weekly":"Settimanale","interest_calc_monthly":"Al mese","interest_calc_quarterly":"Trimestrale","interest_calc_half-year":"Semestrale","interest_calc_yearly":"All\'anno","liability_direction_credit":"Questo debito mi è dovuto","liability_direction_debit":"Devo questo debito a qualcun altro","save_transactions_by_moving_js":"Nessuna transazione|Salva questa transazione spostandola in un altro conto.|Salva queste transazioni spostandole in un altro conto.","none_in_select_list":"(nessuna)"},"list":{"piggy_bank":"Salvadanaio","percentage":"perc.","amount":"Importo","name":"Nome","role":"Ruolo","iban":"IBAN","currentBalance":"Saldo corrente","next_expected_match":"Prossimo abbinamento previsto"},"config":{"html_language":"it"},"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","edit":"Rediger","account_type_Loan":"Lån","account_type_Mortgage":"Boliglån","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Gjeld","delete":"Slett","store_new_asset_account":"Lagre ny brukskonto","store_new_expense_account":"Lagre ny utgiftskonto","store_new_liabilities_account":"Lagre ny gjeld","store_new_revenue_account":"Lagre ny inntektskonto","mandatoryFields":"Obligatoriske felter","optionalFields":"Valgfrie felter","reconcile_this_account":"Avstem denne kontoen","interest_calc_weekly":"Per week","interest_calc_monthly":"Per måned","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Per år","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(ingen)"},"list":{"piggy_bank":"Sparegris","percentage":"pct.","amount":"Beløp","name":"Navn","role":"Rolle","iban":"IBAN","currentBalance":"Nåværende saldo","next_expected_match":"Neste forventede treff"},"config":{"html_language":"nb"},"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","edit":"Wijzig","account_type_Loan":"Lening","account_type_Mortgage":"Hypotheek","stored_new_account_js":"Nieuwe account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" opgeslagen!","account_type_Debt":"Schuld","delete":"Verwijder","store_new_asset_account":"Sla nieuwe betaalrekening op","store_new_expense_account":"Sla nieuwe crediteur op","store_new_liabilities_account":"Nieuwe passiva opslaan","store_new_revenue_account":"Sla nieuwe debiteur op","mandatoryFields":"Verplichte velden","optionalFields":"Optionele velden","reconcile_this_account":"Stem deze rekening af","interest_calc_weekly":"Per week","interest_calc_monthly":"Per maand","interest_calc_quarterly":"Per kwartaal","interest_calc_half-year":"Per half jaar","interest_calc_yearly":"Per jaar","liability_direction_credit":"Ik krijg dit bedrag terug","liability_direction_debit":"Ik moet dit bedrag terugbetalen","save_transactions_by_moving_js":"Geen transacties|Bewaar deze transactie door ze aan een andere rekening te koppelen.|Bewaar deze transacties door ze aan een andere rekening te koppelen.","none_in_select_list":"(geen)"},"list":{"piggy_bank":"Spaarpotje","percentage":"pct","amount":"Bedrag","name":"Naam","role":"Rol","iban":"IBAN","currentBalance":"Huidig saldo","next_expected_match":"Volgende verwachte match"},"config":{"html_language":"nl"},"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","edit":"Modyfikuj","account_type_Loan":"Pożyczka","account_type_Mortgage":"Hipoteka","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Dług","delete":"Usuń","store_new_asset_account":"Zapisz nowe konto aktywów","store_new_expense_account":"Zapisz nowe konto wydatków","store_new_liabilities_account":"Zapisz nowe zobowiązanie","store_new_revenue_account":"Zapisz nowe konto przychodów","mandatoryFields":"Pola wymagane","optionalFields":"Pola opcjonalne","reconcile_this_account":"Uzgodnij to konto","interest_calc_weekly":"Per week","interest_calc_monthly":"Co miesiąc","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Co rok","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"Brak transakcji|Zapisz tę transakcję, przenosząc ją na inne konto.|Zapisz te transakcje przenosząc je na inne konto.","none_in_select_list":"(żadne)"},"list":{"piggy_bank":"Skarbonka","percentage":"%","amount":"Kwota","name":"Nazwa","role":"Rola","iban":"IBAN","currentBalance":"Bieżące saldo","next_expected_match":"Następne oczekiwane dopasowanie"},"config":{"html_language":"pl"},"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":"Liability type","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","edit":"Editar","account_type_Loan":"Empréstimo","account_type_Mortgage":"Hipoteca","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Dívida","delete":"Apagar","store_new_asset_account":"Armazenar nova conta de ativo","store_new_expense_account":"Armazenar nova conta de despesa","store_new_liabilities_account":"Guardar novo passivo","store_new_revenue_account":"Armazenar nova conta de receita","mandatoryFields":"Campos obrigatórios","optionalFields":"Campos opcionais","reconcile_this_account":"Concilie esta conta","interest_calc_weekly":"Per week","interest_calc_monthly":"Por mês","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Por ano","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"Nenhuma transação.|Salve esta transação movendo-a para outra conta.|Salve essas transações movendo-as para outra conta.","none_in_select_list":"(nenhum)"},"list":{"piggy_bank":"Cofrinho","percentage":"pct.","amount":"Total","name":"Nome","role":"Papel","iban":"IBAN","currentBalance":"Saldo atual","next_expected_match":"Próximo correspondente esperado"},"config":{"html_language":"pt-br"},"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":"Liability type","account_role":"Função de conta","liability_direction":"Liability in/out","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 orcamento)","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":"Contas por pagar","left_to_spend":"Restante para gastar","attachments":"Anexos","net_worth":"Patrimonio liquido","bill":"Conta","no_bill":"(sem contas)","tags":"Etiquetas","internal_reference":"Referência interna","external_url":"URL Externo","no_piggy_bank":"(nenhum mealheiro)","paid":"Pago","notes":"Notas","yourAccounts":"As suas contas","go_to_asset_accounts":"Ver as contas de activos","delete_account":"Apagar conta de utilizador","transaction_table_description":"Uma tabela com as suas transacções","account":"Conta","description":"Descricao","amount":"Montante","budget":"Orcamento","category":"Categoria","opposing_account":"Conta oposta","budgets":"Orçamentos","categories":"Categorias","go_to_budgets":"Ir para os seus orçamentos","income":"Receita / renda","go_to_deposits":"Ir para depósitos","go_to_categories":"Ir para categorias","expense_accounts":"Conta de despesas","go_to_expenses":"Ir para despesas","go_to_bills":"Ir para contas","bills":"Contas","last_thirty_days":"Últimos trinta dias","last_seven_days":"Últimos sete dias","go_to_piggies":"Ir para mealheiros","saved":"Guardado","piggy_banks":"Mealheiros","piggy_bank":"Mealheiro","amounts":"Montantes","left":"Em falta","spent":"Gasto","Default asset account":"Conta de activos padrão","search_results":"Resultados da pesquisa","include":"Incluir?","transaction":"Transacção","account_role_defaultAsset":"Conta de activos padrão","account_role_savingAsset":"Conta poupança","account_role_sharedAsset":"Conta de activos partilhados","clear_location":"Limpar localização","account_role_ccAsset":"Cartão de credito","account_role_cashWalletAsset":"Carteira de dinheiro","daily_budgets":"Orçamento diário","weekly_budgets":"Orçamento semanal","monthly_budgets":"Orçamento mensal","quarterly_budgets":"Orçamento trimestral","create_new_expense":"Criar nova conta de despesas","create_new_revenue":"Criar nova conta de receitas","create_new_liabilities":"Criar novo passivo","half_year_budgets":"Orçamento semestral","yearly_budgets":"Orçamento anual","split_transaction_title":"Descrição da transacção dividida","errors_submission":"Aconteceu algo errado com a sua submissão. Por favor, verifique os erros.","flash_error":"Erro!","store_transaction":"Guardar transação","flash_success":"Sucesso!","create_another":"Depois de guardar, voltar aqui para criar outra.","update_transaction":"Actualizar transacção","after_update_create_another":"Após a atualização, regresse aqui para continuar a editar.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") não recebeu nenhuma alteração.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") foi atualizada.","spent_x_of_y":"Gasto {amount} de {total}","search":"Procurar","create_new_asset":"Criar nova conta de activos","asset_accounts":"Conta de activos","reset_after":"Repor o formulário após o envio","bill_paid_on":"Pago a {date}","first_split_decides":"A primeira divisão determina o valor deste campo","first_split_overrules_source":"A primeira divisão pode anular a conta de origem","first_split_overrules_destination":"A primeira divisão pode anular a conta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID} (\\"{title}\\")</a> foi guardada.","custom_period":"Período personalizado","reset_to_current":"Reiniciar o período personalizado","select_period":"Selecionar um período","location":"Localização","other_budgets":"Orçamentos de tempo personalizado","journal_links":"Ligações de transacção","go_to_withdrawals":"Ir para os seus levantamentos","revenue_accounts":"Conta de receitas","add_another_split":"Adicionar outra divisão","actions":"Ações","edit":"Alterar","account_type_Loan":"Emprestimo","account_type_Mortgage":"Hipoteca","stored_new_account_js":"Nova conta \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" armazenada!","account_type_Debt":"Debito","delete":"Apagar","store_new_asset_account":"Guardar nova conta de activos","store_new_expense_account":"Guardar nova conta de despesas","store_new_liabilities_account":"Guardar novo passivo","store_new_revenue_account":"Guardar nova conta de receitas","mandatoryFields":"Campos obrigatorios","optionalFields":"Campos opcionais","reconcile_this_account":"Reconciliar esta conta","interest_calc_weekly":"Por semana","interest_calc_monthly":"Mensal","interest_calc_quarterly":"Por trimestre","interest_calc_half-year":"Por meio ano","interest_calc_yearly":"Anual","liability_direction_credit":"Esta dívida é-me devida","liability_direction_debit":"Devo esta dívida a outra pessoa","save_transactions_by_moving_js":"Nenhuma transação| Guarde esta transação movendo-a para outra conta| Guarde estas transações movendo-as para outra conta.","none_in_select_list":"(nenhum)"},"list":{"piggy_bank":"Mealheiro","percentage":"%.","amount":"Montante","name":"Nome","role":"Regra","iban":"IBAN","currentBalance":"Saldo actual","next_expected_match":"Proxima correspondencia esperada"},"config":{"html_language":"pt"},"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":"Date and time","no_currency":"(nici o monedă)","date":"Dată","time":"Time","no_budget":"(nici un buget)","destination_account":"Contul de destinație","source_account":"Contul sursă","single_split":"Împarte","create_new_transaction":"Create a new transaction","balance":"Balantă","transaction_journal_extra":"Extra information","transaction_journal_meta":"Informații meta","basic_journal_information":"Basic transaction information","bills_to_pay":"Facturile de plată","left_to_spend":"Ramas de cheltuit","attachments":"Atașamente","net_worth":"Valoarea netă","bill":"Factură","no_bill":"(no bill)","tags":"Etichete","internal_reference":"Internal reference","external_url":"External URL","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":"A table containing your transactions","account":"Cont","description":"Descriere","amount":"Sumă","budget":"Buget","category":"Categorie","opposing_account":"Opposing account","budgets":"Buget","categories":"Categorii","go_to_budgets":"Mergi la bugete","income":"Venituri","go_to_deposits":"Go to deposits","go_to_categories":"Mergi la categorii","expense_accounts":"Conturi de cheltuieli","go_to_expenses":"Go to expenses","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":"Amounts","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":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Creați un nou cont de cheltuieli","create_new_revenue":"Creați un nou cont de venituri","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Descrierea tranzacției divizate","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Eroare!","store_transaction":"Store transaction","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}\\">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":"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":"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}\\">Tranzacția #{ID} (\\"{title}\\")</a> a fost stocată.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Locație","other_budgets":"Custom timed budgets","journal_links":"Link-uri de tranzacții","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Conturi de venituri","add_another_split":"Adăugați o divizare","actions":"Acțiuni","edit":"Editează","account_type_Loan":"Împrumut","account_type_Mortgage":"Credit ipotecar","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Datorie","delete":"Șterge","store_new_asset_account":"Salvați un nou cont de active","store_new_expense_account":"Salvați un nou cont de cheltuieli","store_new_liabilities_account":"Salvați provizion nou","store_new_revenue_account":"Salvați un nou cont de venituri","mandatoryFields":"Câmpuri obligatorii","optionalFields":"Câmpuri opționale","reconcile_this_account":"Reconciliați acest cont","interest_calc_weekly":"Per week","interest_calc_monthly":"Pe lună","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Pe an","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","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":"(nici unul)"},"list":{"piggy_bank":"Pușculiță","percentage":"procent %","amount":"Sumă","name":"Nume","role":"Rol","iban":"IBAN","currentBalance":"Sold curent","next_expected_match":"Următoarea potrivire așteptată"},"config":{"html_language":"ro"},"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":"Liability type","account_role":"Rolul contului","liability_direction":"Liability in/out","book_date":"Rezervă dată","permDeleteWarning":"Ștergerea este permanentă și nu poate fi anulată.","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":"Data procesării","due_date":"Data scadentă","payment_date":"Data de plată","invoice_date":"Data facturii"}}')},753:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Перевод","Withdrawal":"Расход","Deposit":"Доход","date_and_time":"Дата и время","no_currency":"(нет валюты)","date":"Дата","time":"Время","no_budget":"(вне бюджета)","destination_account":"Счёт назначения","source_account":"Счёт-источник","single_split":"Разделённая транзакция","create_new_transaction":"Создать новую транзакцию","balance":"Бaлaнc","transaction_journal_extra":"Дополнительные сведения","transaction_journal_meta":"Дополнительная информация","basic_journal_information":"Основная информация о транзакции","bills_to_pay":"Счета к оплате","left_to_spend":"Осталось потратить","attachments":"Вложения","net_worth":"Мои сбережения","bill":"Счёт к оплате","no_bill":"(нет счёта на оплату)","tags":"Метки","internal_reference":"Внутренняя ссылка","external_url":"Внешний URL-адрес","no_piggy_bank":"(нет копилки)","paid":"Оплачено","notes":"Заметки","yourAccounts":"Ваши счета","go_to_asset_accounts":"Просмотр ваших основных счетов","delete_account":"Удалить профиль","transaction_table_description":"Таблица, содержащая ваши транзакции","account":"Счёт","description":"Описание","amount":"Сумма","budget":"Бюджет","category":"Категория","opposing_account":"Противодействующий счёт","budgets":"Бюджет","categories":"Категории","go_to_budgets":"Перейти к вашим бюджетам","income":"Мои доходы","go_to_deposits":"Перейти ко вкладам","go_to_categories":"Перейти к вашим категориям","expense_accounts":"Счета расходов","go_to_expenses":"Перейти к расходам","go_to_bills":"Перейти к вашим счетам на оплату","bills":"Счета к оплате","last_thirty_days":"Последние 30 дней","last_seven_days":"Последние 7 дней","go_to_piggies":"Перейти к вашим копилкам","saved":"Сохранено","piggy_banks":"Копилки","piggy_bank":"Копилка","amounts":"Сумма","left":"Осталось","spent":"Расход","Default asset account":"Счёт по умолчанию","search_results":"Результаты поиска","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Счёт по умолчанию","account_role_savingAsset":"Сберегательный счет","account_role_sharedAsset":"Общий основной счёт","clear_location":"Очистить местоположение","account_role_ccAsset":"Кредитная карта","account_role_cashWalletAsset":"Наличные","daily_budgets":"Бюджеты на день","weekly_budgets":"Бюджеты на неделю","monthly_budgets":"Бюджеты на месяц","quarterly_budgets":"Бюджеты на квартал","create_new_expense":"Создать новый счёт расхода","create_new_revenue":"Создать новый счёт дохода","create_new_liabilities":"Create new liability","half_year_budgets":"Бюджеты на полгода","yearly_budgets":"Годовые бюджеты","split_transaction_title":"Описание разделённой транзакции","errors_submission":"При отправке что-то пошло не так. Пожалуйста, проверьте ошибки ниже.","flash_error":"Ошибка!","store_transaction":"Сохранить транзакцию","flash_success":"Успешно!","create_another":"После сохранения вернуться сюда и создать ещё одну аналогичную запись.","update_transaction":"Обновить транзакцию","after_update_create_another":"После обновления вернитесь сюда, чтобы продолжить редактирование.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Поиск","create_new_asset":"Создать новый активный счёт","asset_accounts":"Основные счета","reset_after":"Сбросить форму после отправки","bill_paid_on":"Оплачено {date}","first_split_decides":"В данном поле используется значение из первой части разделенной транзакции","first_split_overrules_source":"Значение из первой части транзакции может изменить счет источника","first_split_overrules_destination":"Значение из первой части транзакции может изменить счет назначения","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID} (\\"{title}\\")</a> сохранена.","custom_period":"Пользовательский период","reset_to_current":"Сброс к текущему периоду","select_period":"Выберите период","location":"Размещение","other_budgets":"Бюджеты на произвольный отрезок времени","journal_links":"Связи транзакции","go_to_withdrawals":"Перейти к вашим расходам","revenue_accounts":"Счета доходов","add_another_split":"Добавить еще одну часть","actions":"Действия","edit":"Изменить","account_type_Loan":"Заём","account_type_Mortgage":"Ипотека","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Дебит","delete":"Удалить","store_new_asset_account":"Сохранить новый основной счёт","store_new_expense_account":"Сохранить новый счёт расхода","store_new_liabilities_account":"Сохранить новое обязательство","store_new_revenue_account":"Сохранить новый счёт дохода","mandatoryFields":"Обязательные поля","optionalFields":"Дополнительные поля","reconcile_this_account":"Произвести сверку данного счёта","interest_calc_weekly":"Per week","interest_calc_monthly":"В месяц","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"В год","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(нет)"},"list":{"piggy_bank":"Копилка","percentage":"процентов","amount":"Сумма","name":"Имя","role":"Роль","iban":"IBAN","currentBalance":"Текущий баланс","next_expected_match":"Следующий ожидаемый результат"},"config":{"html_language":"ru"},"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":"Include?","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":"Create new liability","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}\\">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":"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":"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}\\">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","edit":"Upraviť","account_type_Loan":"Pôžička","account_type_Mortgage":"Hypotéka","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Dlh","delete":"Odstrániť","store_new_asset_account":"Uložiť nový účet aktív","store_new_expense_account":"Uložiť nový výdavkový účet","store_new_liabilities_account":"Uložiť nový záväzok","store_new_revenue_account":"Uložiť nový príjmový účet","mandatoryFields":"Povinné údaje","optionalFields":"Voliteľné údaje","reconcile_this_account":"Vyúčtovat tento účet","interest_calc_weekly":"Per week","interest_calc_monthly":"Za mesiac","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","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":"(žiadne)"},"list":{"piggy_bank":"Pokladnička","percentage":"perc.","amount":"Suma","name":"Meno/Názov","role":"Rola","iban":"IBAN","currentBalance":"Aktuálny zostatok","next_expected_match":"Ďalšia očakávaná zhoda"},"config":{"html_language":"sk"},"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":"Liability type","account_role":"Rola účtu","liability_direction":"Liability in/out","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":"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":"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","edit":"Redigera","account_type_Loan":"Lån","account_type_Mortgage":"Bolån","stored_new_account_js":"Nytt konto \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" lagrat!","account_type_Debt":"Skuld","delete":"Ta bort","store_new_asset_account":"Lagra nytt tillgångskonto","store_new_expense_account":"Spara nytt utgiftskonto","store_new_liabilities_account":"Spara en ny skuld","store_new_revenue_account":"Spara nytt intäktskonto","mandatoryFields":"Obligatoriska fält","optionalFields":"Valfria fält","reconcile_this_account":"Stäm av detta konto","interest_calc_weekly":"Per vecka","interest_calc_monthly":"Per månad","interest_calc_quarterly":"Per kvartal","interest_calc_half-year":"Per halvår","interest_calc_yearly":"Per år","liability_direction_credit":"Jag är skyldig denna skuld","liability_direction_debit":"Jag är skyldig någon annan denna skuld","save_transactions_by_moving_js":"Inga transaktioner|Spara denna transaktion genom att flytta den till ett annat konto.|Spara dessa transaktioner genom att flytta dem till ett annat konto.","none_in_select_list":"(Ingen)"},"list":{"piggy_bank":"Spargris","percentage":"procent","amount":"Belopp","name":"Namn","role":"Roll","iban":"IBAN","currentBalance":"Nuvarande saldo","next_expected_match":"Nästa förväntade träff"},"config":{"html_language":"sv"},"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","edit":"Sửa","account_type_Loan":"Tiền vay","account_type_Mortgage":"Thế chấp","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Món nợ","delete":"Xóa","store_new_asset_account":"Lưu trữ tài khoản mới","store_new_expense_account":"Lưu trữ tài khoản chi phí mới","store_new_liabilities_account":"Lưu trữ nợ mới","store_new_revenue_account":"Lưu trữ tài khoản doanh thu mới","mandatoryFields":"Các trường bắt buộc","optionalFields":"Các trường tùy chọn","reconcile_this_account":"Điều chỉnh tài khoản này","interest_calc_weekly":"Per week","interest_calc_monthly":"Mỗi tháng","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Mỗi năm","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(Trống)"},"list":{"piggy_bank":"Ống heo con","percentage":"phần trăm.","amount":"Số tiền","name":"Tên","role":"Quy tắc","iban":"IBAN","currentBalance":"Số dư hiện tại","next_expected_match":"Trận đấu dự kiến tiếp theo"},"config":{"html_language":"vi"},"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":"操作","edit":"编辑","account_type_Loan":"贷款","account_type_Mortgage":"抵押","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"欠款","delete":"删除","store_new_asset_account":"保存新资产账户","store_new_expense_account":"保存新支出账户","store_new_liabilities_account":"保存新债务账户","store_new_revenue_account":"保存新收入账户","mandatoryFields":"必填字段","optionalFields":"选填字段","reconcile_this_account":"对账此账户","interest_calc_weekly":"Per week","interest_calc_monthly":"每月","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"每年","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(空)"},"list":{"piggy_bank":"存钱罐","percentage":"%","amount":"金额","name":"名称","role":"角色","iban":"国际银行账户号码(IBAN)","currentBalance":"目前余额","next_expected_match":"预期下次支付"},"config":{"html_language":"zh-cn"},"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":"发票日期"}}')},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":"操作","edit":"編輯","account_type_Loan":"貸款","account_type_Mortgage":"抵押","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"負債","delete":"刪除","store_new_asset_account":"儲存新資產帳戶","store_new_expense_account":"儲存新支出帳戶","store_new_liabilities_account":"儲存新債務","store_new_revenue_account":"儲存新收入帳戶","mandatoryFields":"必要欄位","optionalFields":"選填欄位","reconcile_this_account":"對帳此帳戶","interest_calc_weekly":"Per week","interest_calc_monthly":"每月","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"每年","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(空)"},"list":{"piggy_bank":"小豬撲滿","percentage":"pct.","amount":"金額","name":"名稱","role":"角色","iban":"國際銀行帳戶號碼 (IBAN)","currentBalance":"目前餘額","next_expected_match":"下一個預期的配對"},"config":{"html_language":"zh-tw"},"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=8317,e(e.s=t);var t}));e.O()}]);//# sourceMappingURL=edit.js.map\ No newline at end of filediff --git a/public/v2/js/transactions/edit.js.map b/public/v2/js/transactions/edit.js.mapindex 2fd8725ee9..38cd681ad1 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?f3a1","webpack:///./src/pages/transactions/edit.js","webpack:///./src/shared/transactions.js","webpack:///./src/components/transactions/TransactionTags.vue?1d59","webpack:///src/components/partials/Alert.vue","webpack:///./src/components/partials/Alert.vue?8ba7","webpack:///./src/components/partials/Alert.vue","webpack:///./src/components/partials/Alert.vue?bc9d","webpack:///./src/components/transactions/SplitForm.vue?9dad","webpack:///src/components/transactions/TransactionDescription.vue","webpack:///./src/components/transactions/TransactionDescription.vue?51f7","webpack:///./src/components/transactions/TransactionDescription.vue","webpack:///./src/components/transactions/TransactionDescription.vue?5176","webpack:///src/components/transactions/TransactionDate.vue","webpack:///./src/components/transactions/TransactionDate.vue?3867","webpack:///./src/components/transactions/TransactionDate.vue","webpack:///./src/components/transactions/TransactionDate.vue?a0c4","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?9af3","webpack:///src/components/transactions/SwitchAccount.vue","webpack:///./src/components/transactions/SwitchAccount.vue?2eca","webpack:///./src/components/transactions/SwitchAccount.vue","webpack:///./src/components/transactions/SwitchAccount.vue?f18f","webpack:///src/components/transactions/TransactionAmount.vue","webpack:///./src/components/transactions/TransactionAmount.vue?69ff","webpack:///./src/components/transactions/TransactionAmount.vue","webpack:///./src/components/transactions/TransactionAmount.vue?09e1","webpack:///src/components/transactions/TransactionForeignAmount.vue","webpack:///./src/components/transactions/TransactionForeignAmount.vue?ff11","webpack:///./src/components/transactions/TransactionForeignAmount.vue","webpack:///./src/components/transactions/TransactionForeignAmount.vue?1a78","webpack:///src/components/transactions/TransactionForeignCurrency.vue","webpack:///./src/components/transactions/TransactionForeignCurrency.vue?f6a0","webpack:///./src/components/transactions/TransactionForeignCurrency.vue","webpack:///./src/components/transactions/TransactionForeignCurrency.vue?b802","webpack:///src/components/transactions/TransactionCustomDates.vue","webpack:///./src/components/transactions/TransactionCustomDates.vue?c6d3","webpack:///./src/components/transactions/TransactionCustomDates.vue","webpack:///./src/components/transactions/TransactionCustomDates.vue?bc65","webpack:///src/components/transactions/TransactionCategory.vue","webpack:///./src/components/transactions/TransactionCategory.vue?b515","webpack:///./src/components/transactions/TransactionCategory.vue","webpack:///./src/components/transactions/TransactionCategory.vue?3c7a","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?aa73","webpack:///src/components/transactions/TransactionTags.vue","webpack:///./src/components/transactions/TransactionTags.vue?c786","webpack:///./src/components/transactions/TransactionTags.vue","webpack:///src/components/transactions/TransactionPiggyBank.vue","webpack:///./src/components/transactions/TransactionPiggyBank.vue?e9e1","webpack:///./src/components/transactions/TransactionPiggyBank.vue","webpack:///./src/components/transactions/TransactionPiggyBank.vue?0f96","webpack:///src/components/transactions/TransactionInternalReference.vue","webpack:///./src/components/transactions/TransactionInternalReference.vue?2fd1","webpack:///./src/components/transactions/TransactionInternalReference.vue","webpack:///./src/components/transactions/TransactionInternalReference.vue?0cb6","webpack:///src/components/transactions/TransactionExternalUrl.vue","webpack:///./src/components/transactions/TransactionExternalUrl.vue?28f8","webpack:///./src/components/transactions/TransactionExternalUrl.vue","webpack:///./src/components/transactions/TransactionExternalUrl.vue?3b2c","webpack:///src/components/transactions/TransactionNotes.vue","webpack:///./src/components/transactions/TransactionNotes.vue?3804","webpack:///./src/components/transactions/TransactionNotes.vue","webpack:///./src/components/transactions/TransactionNotes.vue?592a","webpack:///./src/components/transactions/TransactionLinks.vue?6de1","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?2a9b","webpack:///src/components/transactions/TransactionLocation.vue","webpack:///./src/components/transactions/TransactionLocation.vue?9e0a","webpack:///./src/components/transactions/TransactionLocation.vue","webpack:///./src/components/transactions/TransactionLocation.vue?113d","webpack:///./src/components/transactions/SplitForm.vue?99bd","webpack:///src/components/transactions/SplitForm.vue","webpack:///./src/components/transactions/SplitForm.vue","webpack:///src/components/transactions/SplitPills.vue","webpack:///./src/components/transactions/SplitPills.vue?cba2","webpack:///./src/components/transactions/SplitPills.vue","webpack:///./src/components/transactions/SplitPills.vue?39af","webpack:///./src/components/transactions/TransactionGroupTitle.vue?140c","webpack:///src/components/transactions/TransactionGroupTitle.vue","webpack:///./src/components/transactions/TransactionGroupTitle.vue?5049","webpack:///./src/components/transactions/TransactionGroupTitle.vue","webpack:///./src/components/transactions/TransactionTags.vue?cec9"],"names":["window","$","jQuery","require","axios","defaults","headers","common","token","document","head","querySelector","content","console","error","localeToken","localStorage","locale","vuei18n","VueI18n","uiv","Vue","lodashClonedeep","namespaced","state","transactionType","groupTitle","transactions","customDateFields","interest_date","book_date","process_date","due_date","payment_date","invoice_date","defaultTransaction","getDefaultTransaction","defaultErrors","getDefaultErrors","getters","accountToTransaction","sourceAllowedTypes","destinationAllowedTypes","allowedOpposingTypes","actions","mutations","addTransaction","newTransaction","errors","push","resetErrors","payload","index","resetTransactions","setGroupTitle","setCustomDateFields","deleteTransaction","splice","length","setTransactionType","setAllowedOpposingTypes","setAccountToTransaction","updateField","field","value","setTransactionError","setDestinationAllowedTypes","setSourceAllowedTypes","viewRange","start","end","defaultStart","defaultEnd","initialiseStore","context","get","then","response","data","attributes","commit","dispatch","setDatesFromViewRange","viewRangeStart","Date","viewRangeEnd","viewRangeDefaultStart","viewRangeDefaultEnd","getTime","setHours","diff","getDate","getDay","setDate","lastday","getFullYear","getMonth","quarter","Math","floor","half","setStart","setItem","setEnd","setDefaultStart","setDefaultEnd","setViewRange","range","listPageSize","parseInt","setListPageSize","number","orderMode","activeFilter","setOrderMode","setActiveFilter","Vuex","modules","root","root_store","create","transactions_create","edit","transactions_edit","accounts","accounts_index","dashboard","dashboard_index","strict","process","plugins","currencyPreference","setCurrencyPreference","currencyCode","code","currencyId","id","updateCurrencyPreference","JSON","parse","currencyResponse","name","symbol","decimal_places","stringify","err","module","exports","documentElement","lang","fallbackLocale","messages","created","this","groupId","parts","getTransactionGroup","getAllowedOpposingTypes","getCustomFields","successMessage","errorMessage","warningMessage","originalTransactions","originalGroupTitle","groupTitleErrors","customFields","returnedGroupId","returnedGroupTitle","date","time","originalDate","originalTime","submittedTransaction","submittedLinks","submittedAttachments","inError","enableSubmit","stayHere","components","Alert","SplitPills","SplitForm","TransactionGroupTitle","watch","finalizeSubmit","methods","parseTransactionGroup","group_title","hasOwnProperty","i","test","result","parseLinks","transaction_journal_id","parseTransaction","array","type","charAt","toUpperCase","slice","source_type","destination_type","description","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","log","storeLocation","zoomLevel","lng","lat","storeAccountValue","storeDate","storeTime","storeField","removeTransaction","storeGroupTitle","selectedAttachments","submitTransaction","submission","shouldSubmit","newTransactionCount","toLowerCase","currentTransaction","basicFields","ii","fieldName","originalTransaction","submissionFieldName","piggy_bank_id","currentTag","text","shouldLinks","shouldUpload","theDate","getHours","setMinutes","getMinutes","setSeconds","getSeconds","dateStr","Object","keys","submitUpdate","submitTransactionLinks","compareLinks","compare","put","url","parseErrors","$t","message","key","transactionIndex","split","deleteOriginalLinks","transaction","links","newLinks","originalLinks","inward_id","linkObject","currentLink","total","post","href","_vm","_h","$createElement","_c","_self","attrs","_v","on","staticClass","_l","$event","model","callback","$$v","$set","expression","_e","_s","directives","rawName","domProps","Array","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","source_account","name_with_balance","currency_name","currency_decimal_places","destination_account","attachments","toW3CString","year","month","day","hours","minutes","seconds","offset","getTimezoneOffset","offsetHours","abs","offsetMinutes","offsetSign","___CSS_LOADER_EXPORT___","class","descriptions","initialSet","getACURL","clearDescription","getElementsByTagName","query","lookupDescription","debounce","$emit","item","slot","timeZone","Intl","DateTimeFormat","resolvedOptions","localDate","localTime","timeString","computed","isNaN","toISOString","set","timeStr","hrs","min","sec","current","ref","composing","budgetList","emitEvent","collectData","getBudgets","parseBudgets","$$selectedVal","prototype","filter","call","options","o","selected","map","_value","multiple","Number","String","default","accountTypes","selectedAccount","accountName","selectedAccountTrigger","types","join","userSelectedAccount","event","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","billList","getBills","parseBills","VueTagsInput","autocompleteItems","updateTags","tagList","shortList","initItems","clearTimeout","setTimeout","this$1","newTags","piggyList","getPiggies","parsePiggies","piggy","reference","showField","_m","searchResults","include","linkTypes","searching","getLinkTypes","removeLink","getTextForLinkType","selectTransaction","addToSelected","removeFromSelected","selectLinkType","updateSelected","resetModal","search","parseLinkTypes","inward","outward","linkTypeInward","linkTypeOutward","parseSearch","isJournalSelected","getJournalLinkType","link_type_text","NumberFormat","style","format","preventDefault","staticStyle","linkType","doUpload","selectedFile","$refs","att","files","LMap","LTileLayer","LMarker","zoom","center","hasMarker","bounds","marker","prepMap","myMap","mapObject","setObjectLocation","saveZoomLevel","latlng","clearLocation","zoomUpdated","centerUpdated","boundsUpdated","count","Boolean","allowSwitch","splitDate","splitTime","sourceAccount","destinationAccount","hasMetaFields","requiredFields","TransactionLocation","TransactionAttachments","TransactionNotes","TransactionExternalUrl","TransactionInternalReference","TransactionPiggyBank","TransactionTags","TransactionLinks","TransactionBill","TransactionCategory","TransactionCustomDates","TransactionForeignCurrency","TransactionForeignAmount","TransactionAmount","SwitchAccount","TransactionAccount","TransactionBudget","TransactionDescription","TransactionDate","_g","$listeners","title","__esModule","locals","add"],"mappings":"oIA0BAA,OAAOC,EAAID,OAAOE,OAASC,EAAQ,MAGnCH,OAAOI,MAAQD,EAAQ,MACvBH,OAAOI,MAAMC,SAASC,QAAQC,OAAO,oBAAsB,iBAG3D,IAAIC,EAAQC,SAASC,KAAKC,cAAc,2BAEpCH,EACAR,OA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4BAA4BH,MAAM,CAAC,SAAW,KAAK,KAAO,UAAUE,GAAG,CAAC,MAAQP,EAAI8E,mBAAmB,CAAC3E,EAAG,IAAI,CAACK,YAAY,4BAA4B,GAAGR,EAAIM,GAAG,KAAMN,EAAIvQ,OAAOU,OAAS,EAAGgQ,EAAG,OAAOH,EAAIS,GAAIT,EAAU,QAAE,SAASzS,GAAO,OAAO4S,EAAG,OAAO,CAACK,YAAY,qBAAqB,CAACR,EAAIM,GAAGN,EAAIiB,GAAG1T,IAAQ4S,EAAG,WAAU,GAAGH,EAAIgB,MAAM,KAC/lC,IGUpB,EACA,KACA,WACA,M,wBCXF,IAAI3T,EAAU,EAAQ,MACnBA,EAAQwkB,aAAYxkB,EAAUA,EAAQoa,SACnB,iBAAZpa,IAAsBA,EAAU,CAAC,CAACsI,EAAOV,GAAI5H,EAAS,MAC7DA,EAAQykB,SAAQnc,EAAOC,QAAUvI,EAAQykB,SAG/BC,EADH,WACO,WAAY1kB,GAAS,EAAM,K","file":"/public/js/transactions/edit.js","sourcesContent":["/*\n * bootstrap.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// // imports\nimport Vue from 'vue';\nimport VueI18n from 'vue-i18n'\nimport * as uiv from 'uiv';\n\n// export jquery for others scripts to use\nwindow.$ = window.jQuery = require('jquery');\n\n// axios\nwindow.axios = require('axios');\nwindow.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';\n\n// CSRF\nlet token = document.head.querySelector('meta[name=\"csrf-token\"]');\n\nif (token) {\n window.axios.defaults.headers.common['X-CSRF-TOKEN'] = token.content;\n} else {\n console.error('CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token');\n}\n\n// locale\nlet localeToken = document.head.querySelector('meta[name=\"locale\"]');\n\nif (localeToken) {\n localStorage.locale = localeToken.content;\n} else {\n localStorage.locale = 'en_US';\n}\n\n// admin stuff\nrequire('jquery-ui');\nrequire('bootstrap'); // bootstrap CSS?\n\nrequire('admin-lte/dist/js/adminlte');\nrequire('overlayscrollbars');\n\n\n// vue\nwindow.vuei18n = VueI18n;\nwindow.uiv = uiv;\nVue.use(vuei18n);\nVue.use(uiv);\nwindow.Vue = Vue;","/*\n * create.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nconst lodashClonedeep = require('lodash.clonedeep');\n\nimport {getDefaultTransaction, getDefaultErrors} from '../../../../shared/transactions';\n\n// initial state\nconst state = () => ({\n transactionType: 'any',\n groupTitle: '',\n transactions: [],\n customDateFields: {\n interest_date: false,\n book_date: false,\n process_date: false,\n due_date: false,\n payment_date: false,\n invoice_date: false,\n },\n defaultTransaction: getDefaultTransaction(),\n defaultErrors: getDefaultErrors()\n }\n)\n\n\n// getters\nconst getters = {\n transactions: state => {\n return state.transactions;\n },\n groupTitle: state => {\n return state.groupTitle;\n },\n transactionType: state => {\n return state.transactionType;\n },\n accountToTransaction: state => {\n // TODO better architecture here, does not need the store.\n // possible API point!!\n return state.accountToTransaction;\n },\n defaultTransaction: state => {\n return state.defaultTransaction;\n },\n sourceAllowedTypes: state => {\n return state.sourceAllowedTypes;\n },\n destinationAllowedTypes: state => {\n return state.destinationAllowedTypes;\n },\n allowedOpposingTypes: state => {\n return state.allowedOpposingTypes;\n },\n customDateFields: state => {\n return state.customDateFields;\n }\n // // `getters` is localized to this module's getters\n // // you can use rootGetters via 4th argument of getters\n // someGetter (state, getters, rootState, rootGetters) {\n // getters.someOtherGetter // -> 'foo/someOtherGetter'\n // rootGetters.someOtherGetter // -> 'someOtherGetter'\n // rootGetters['bar/someOtherGetter'] // -> 'bar/someOtherGetter'\n // },\n\n}\n\n// actions\nconst actions = {}\n\n// mutations\nconst mutations = {\n addTransaction(state) {\n let newTransaction = lodashClonedeep(state.defaultTransaction);\n newTransaction.errors = lodashClonedeep(state.defaultErrors);\n state.transactions.push(newTransaction);\n },\n resetErrors(state, payload) {\n //console.log('resetErrors for index ' + payload.index);\n state.transactions[payload.index].errors = lodashClonedeep(state.defaultErrors);\n },\n resetTransactions(state) {\n state.transactions = [];\n },\n setGroupTitle(state, payload) {\n state.groupTitle = payload.groupTitle;\n },\n setCustomDateFields(state, payload) {\n state.customDateFields = payload;\n },\n deleteTransaction(state, payload) {\n state.transactions.splice(payload.index, 1);\n // console.log('Deleted transaction ' + payload.index);\n // console.log(state.transactions);\n if (0 === state.transactions.length) {\n // console.log('array is empty!');\n }\n },\n setTransactionType(state, transactionType) {\n state.transactionType = transactionType;\n },\n setAllowedOpposingTypes(state, allowedOpposingTypes) {\n state.allowedOpposingTypes = allowedOpposingTypes;\n },\n setAccountToTransaction(state, payload) {\n state.accountToTransaction = payload;\n },\n updateField(state, payload) {\n state.transactions[payload.index][payload.field] = payload.value;\n },\n setTransactionError(state, payload) {\n //console.log('Will set transactions[' + payload.index + '][errors][' + payload.field + '] to ');\n //console.log(payload.errors);\n state.transactions[payload.index].errors[payload.field] = payload.errors;\n },\n setDestinationAllowedTypes(state, payload) {\n // console.log('Destination allowed types was changed!');\n state.destinationAllowedTypes = payload;\n },\n setSourceAllowedTypes(state, payload) {\n state.sourceAllowedTypes = payload;\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * edit.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => ({});\n\n\n// getters\nconst getters = {};\n\n// actions\nconst actions = {};\n\n// mutations\nconst mutations = {};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => (\n {\n viewRange: 'default',\n start: null,\n end: null,\n // default range:\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 if ('default' === context.state.viewRange) {\n axios.get('./api/v1/preferences/viewRange')\n .then(response => {\n let viewRange = response.data.data.attributes.data;\n context.commit('setViewRange', viewRange);\n // call another action:\n context.dispatch('setDatesFromViewRange');\n }\n ).catch(error => {\n // console.log(error);\n context.commit('setViewRange', '1M');\n // call another action:\n context.dispatch('setDatesFromViewRange');\n });\n }\n },\n setDatesFromViewRange(context) {\n // console.log('Must set dates from viewRange \"' + context.state.viewRange + '\"');\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 if (null !== context.getters.end && null !== context.getters.start) {\n return;\n }\n let start;\n let end;\n let viewRange = context.getters.viewRange;\n // console.log('Will recreate view range on ' + viewRange);\n switch (viewRange) {\n case '1D':\n // one day:\n start = new Date;\n end = new Date(start.getTime());\n start.setHours(0, 0, 0, 0);\n end.setHours(23, 59, 59, 999);\n break;\n case '1W':\n // this week:\n start = new Date;\n end = new Date(start.getTime());\n // start of week\n let diff = start.getDate() - start.getDay() + (start.getDay() === 0 ? -6 : 1);\n start.setDate(diff);\n start.setHours(0, 0, 0, 0);\n\n // end of week\n let lastday = end.getDate() - (end.getDay() - 1) + 6;\n end.setDate(lastday);\n end.setHours(23, 59, 59, 999);\n break;\n case '1M':\n // this month:\n start = new Date;\n start = new Date(start.getFullYear(), start.getMonth(), 1);\n start.setHours(0, 0, 0, 0);\n end = new Date(start.getFullYear(), start.getMonth() + 1, 0);\n end.setHours(23, 59, 59, 999);\n break;\n case '3M':\n // this quarter\n start = new Date;\n end = new Date;\n let quarter = Math.floor((start.getMonth() + 3) / 3) - 1;\n // start and end months? I'm sure this could be better:\n let startMonths = [0, 3, 6, 9];\n let endMonths = [2, 5, 8, 11];\n // set start to the correct month, day one:\n start = new Date(start.getFullYear(), startMonths[quarter], 1);\n start.setHours(0, 0, 0, 0);\n\n // set end to the correct month, day one\n end = new Date(end.getFullYear(), endMonths[quarter], 1);\n // then to the last day of the month:\n end = new Date(end.getFullYear(), end.getMonth() + 1, 0);\n end.setHours(23, 59, 59, 999);\n break;\n case '6M':\n // this half-year\n start = new Date;\n end = new Date;\n let half = start.getMonth() <= 5 ? 0 : 1;\n\n let startHalf = [0, 6];\n let endHalf = [5, 11];\n // set start to the correct month, day one:\n start = new Date(start.getFullYear(), startHalf[half], 1);\n start.setHours(0, 0, 0, 0);\n\n // set end to the correct month, day one\n end = new Date(end.getFullYear(), endHalf[half], 1);\n // then to the last day of the month:\n end = new Date(end.getFullYear(), end.getMonth() + 1, 0);\n end.setHours(23, 59, 59, 999);\n break;\n case '1Y':\n // this year\n start = new Date;\n end = new Date;\n start = new Date(start.getFullYear(), 0, 1);\n\n end = new Date(end.getFullYear(), 11, 31);\n start.setHours(0, 0, 0, 0);\n end.setHours(23, 59, 59, 999);\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 }\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 }\n)\n\n\n// getters\nconst getters = {\n listPageSize: state => {\n // console.log('Wil return ' + state.listPageSize);\n return state.listPageSize;\n },\n}\n\n// actions\nconst actions = {\n initialiseStore(context) {\n // console.log('Now in root initialiseStore');\n // if list length in local storage:\n if (localStorage.listPageSize) {\n // console.log('listPageSize is in localStorage')\n // console.log('Init list page size with value ');\n // console.log(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 }\n}\n\n// mutations\nconst mutations = {\n setListPageSize(state, payload) {\n // console.log('Got a payload in setListPageSize');\n // console.log(payload);\n let number = parseInt(payload.length);\n if (0 !== number) {\n state.listPageSize = number;\n\n }\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => (\n {\n orderMode: false,\n activeFilter: 1\n }\n)\n\n\n// getters\nconst getters = {\n orderMode: state => {\n return state.orderMode;\n },\n activeFilter: state => {\n return state.activeFilter;\n }\n}\n\n// actions\nconst actions = {}\n\n// mutations\nconst mutations = {\n setOrderMode(state, payload) {\n state.orderMode = payload;\n },\n setActiveFilter(state, payload) {\n state.activeFilter = payload;\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nimport Vue from 'vue'\nimport Vuex, {createLogger} from 'vuex'\nimport transactions_create from './modules/transactions/create';\nimport transactions_edit from './modules/transactions/edit';\nimport dashboard_index from './modules/dashboard/index';\nimport root_store from './modules/root';\nimport accounts_index from './modules/accounts/index';\n\nVue.use(Vuex)\nconst debug = process.env.NODE_ENV !== 'production'\n\nexport default new Vuex.Store(\n {\n namespaced: true,\n modules: {\n root: root_store,\n transactions: {\n namespaced: true,\n modules: {\n create: transactions_create,\n edit: transactions_edit\n }\n },\n accounts: {\n namespaced: true,\n modules: {\n index: accounts_index\n },\n },\n dashboard: {\n namespaced: true,\n modules: {\n index: dashboard_index\n }\n }\n },\n strict: debug,\n plugins: debug ? [createLogger()] : [],\n state: {\n currencyPreference: {},\n locale: 'en-US',\n listPageSize: 50\n },\n mutations: {\n setCurrencyPreference(state, payload) {\n state.currencyPreference = payload.payload;\n },\n initialiseStore(state) {\n // if locale in local storage:\n if (localStorage.locale) {\n state.locale = localStorage.locale;\n return;\n }\n\n // set locale from HTML:\n let localeToken = document.head.querySelector('meta[name=\"locale\"]');\n if (localeToken) {\n state.locale = localeToken.content;\n localStorage.locale = localeToken.content;\n }\n }\n },\n getters: {\n currencyCode: state => {\n return state.currencyPreference.code;\n },\n currencyPreference: state => {\n return state.currencyPreference;\n },\n currencyId: state => {\n return state.currencyPreference.id;\n },\n locale: state => {\n return state.locale;\n }\n },\n actions: {\n\n updateCurrencyPreference(context) {\n if (localStorage.currencyPreference) {\n context.commit('setCurrencyPreference', {payload: JSON.parse(localStorage.currencyPreference)});\n return;\n }\n axios.get('./api/v1/currencies/default')\n .then(response => {\n let currencyResponse = {\n id: parseInt(response.data.data.id),\n name: response.data.data.attributes.name,\n symbol: response.data.data.attributes.symbol,\n code: response.data.data.attributes.code,\n decimal_places: parseInt(response.data.data.attributes.decimal_places),\n };\n localStorage.currencyPreference = JSON.stringify(currencyResponse);\n //console.log('getCurrencyPreference from server')\n //console.log(JSON.stringify(currencyResponse));\n context.commit('setCurrencyPreference', {payload: currencyResponse});\n }).catch(err => {\n // console.log('Got error response.');\n console.error(err);\n context.commit('setCurrencyPreference', {\n payload: {\n id: 1,\n name: 'Euro',\n symbol: '€',\n code: 'EUR',\n decimal_places: 2\n }\n });\n });\n\n }\n }\n }\n);","/*\n * i18n.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// Create VueI18n instance with options\nmodule.exports = new vuei18n({\n locale: document.documentElement.lang, // set locale\n fallbackLocale: 'en',\n messages: {\n 'bg': require('./locales/bg.json'),\n 'cs': require('./locales/cs.json'),\n 'de': require('./locales/de.json'),\n 'en': require('./locales/en.json'),\n 'en-us': require('./locales/en.json'),\n 'en-gb': require('./locales/en-gb.json'),\n 'es': require('./locales/es.json'),\n 'el': require('./locales/el.json'),\n 'fr': require('./locales/fr.json'),\n 'hu': require('./locales/hu.json'),\n //'id': require('./locales/id.json'),\n 'it': require('./locales/it.json'),\n 'nl': require('./locales/nl.json'),\n 'nb': require('./locales/nb.json'),\n 'pl': require('./locales/pl.json'),\n 'fi': require('./locales/fi.json'),\n 'pt-br': require('./locales/pt-br.json'),\n 'pt-pt': require('./locales/pt.json'),\n 'ro': require('./locales/ro.json'),\n 'ru': require('./locales/ru.json'),\n //'zh': require('./locales/zh.json'),\n 'zh-tw': require('./locales/zh-tw.json'),\n 'zh-cn': require('./locales/zh-cn.json'),\n 'sk': require('./locales/sk.json'),\n 'sv': require('./locales/sv.json'),\n 'vi': require('./locales/vi.json'),\n }\n});\n","<!--\n - Edit.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div>\n <Alert :message=\"errorMessage\" type=\"danger\"/>\n <Alert :message=\"successMessage\" type=\"success\"/>\n <Alert :message=\"warningMessage\" type=\"warning\"/>\n <form @submit=\"submitTransaction\">\n <SplitPills :transactions=\"transactions\"/>\n\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 :transaction=\"transaction\"\n :allowed-opposing-types=\"allowedOpposingTypes\"\n :custom-fields=\"customFields\"\n :date=\"date\"\n :time=\"time\"\n :index=\"index\"\n :transaction-type=\"transactionType\"\n :destination-allowed-types=\"destinationAllowedTypes\"\n :source-allowed-types=\"sourceAllowedTypes\"\n :allow-switch=\"false\"\n :submitted-transaction=\"submittedTransaction\"\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-time=\"storeTime($event)\"\n v-on:set-field=\"storeField($event)\"\n v-on:remove-transaction=\"removeTransaction($event)\"\n v-on:selected-attachments=\"selectedAttachments($event)\"\n />\n </div>\n\n <!-- bottom buttons etc -->\n <div class=\"row\">\n <!-- group title -->\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <div v-if=\"transactions.length > 1\" class=\"card\">\n <div class=\"card-body\">\n <div class=\"row\">\n <div class=\"col\">\n <TransactionGroupTitle v-model=\"this.groupTitle\" :errors=\"this.groupTitleErrors\" v-on:set-group-title=\"storeGroupTitle($event)\"/>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <!-- buttons -->\n <div class=\"card\">\n <div class=\"card-body\">\n <div class=\"row\">\n <div class=\"col\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n \n </div>\n <button class=\"btn btn-outline-primary btn-block\" @click=\"addTransaction\"><i class=\"far fa-clone\"></i> {{ $t('firefly.add_another_split') }}\n </button>\n </div>\n <div class=\"col\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n \n </div>\n <button :disabled=\"!enableSubmit\" class=\"btn btn-info btn-block\" @click=\"submitTransaction\">\n <span v-if=\"enableSubmit\"><i class=\"far fa-save\"></i> {{ $t('firefly.update_transaction') }}</span>\n <span v-if=\"!enableSubmit\"><i class=\"fas fa-spinner fa-spin\"></i></span>\n </button>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col\">\n \n </div>\n <div class=\"col\">\n <div class=\"form-check\">\n <input id=\"stayHere\" v-model=\"stayHere\" class=\"form-check-input\" type=\"checkbox\">\n <label class=\"form-check-label\" for=\"stayHere\">\n <span class=\"small\">{{ $t('firefly.after_update_create_another') }}</span>\n </label>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </form>\n </div>\n</template>\n\n<script>\nconst lodashClonedeep = require('lodash.clonedeep');\nimport Alert from '../partials/Alert';\nimport SplitPills from \"./SplitPills\";\nimport SplitForm from \"./SplitForm\";\nimport TransactionGroupTitle from \"./TransactionGroupTitle\";\nimport {getDefaultErrors, getDefaultTransaction, toW3CString} from '../../shared/transactions';\n\nexport default {\n name: \"Edit\",\n created() {\n let parts = window.location.pathname.split('/');\n this.groupId = parseInt(parts[parts.length - 1]);\n\n this.getTransactionGroup();\n this.getAllowedOpposingTypes();\n this.getCustomFields();\n },\n data() {\n return {\n successMessage: '',\n errorMessage: '',\n warningMessage: '',\n\n // transaction props\n transactions: [],\n originalTransactions: [],\n groupTitle: '',\n originalGroupTitle: '',\n transactionType: 'any',\n groupId: 0,\n\n // errors in the group title:\n groupTitleErrors: [],\n\n // which custom fields to show\n customFields: {},\n\n // group ID + title once submitted:\n returnedGroupId: 0,\n returnedGroupTitle: '',\n\n // date and time of the transaction,\n date: new Date,\n time: new Date,\n originalDate: new Date,\n originalTime: new Date,\n\n // things the process is done working on (3 phases):\n submittedTransaction: false,\n submittedLinks: false,\n submittedAttachments: false,\n inError: false,\n\n // meta data for accounts\n allowedOpposingTypes: {},\n destinationAllowedTypes: [],\n sourceAllowedTypes: [],\n\n // states for the form (makes sense right)\n enableSubmit: true,\n stayHere: false,\n\n }\n },\n components: {\n Alert,\n SplitPills,\n SplitForm,\n TransactionGroupTitle\n },\n\n watch: {\n submittedTransaction: function () {\n // see finalizeSubmit()\n this.finalizeSubmit();\n },\n submittedLinks: function () {\n // see finalizeSubmit()\n this.finalizeSubmit();\n },\n submittedAttachments: function () {\n // see finalizeSubmit()\n this.finalizeSubmit();\n }\n },\n\n methods: {\n /**\n * Grap transaction group from URL and submit GET.\n */\n getTransactionGroup: function () {\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 for (let i in transactions) {\n if (transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\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 this.sourceAllowedTypes = [array.source_type];\n this.destinationAllowedTypes = [array.destination_type];\n this.date = new Date(array.date);\n this.time = new Date(array.date);\n this.originalDate = new Date(array.date);\n this.originalTime = new Date(array.date);\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\n // error handling\n result.errors = getDefaultErrors();\n return result;\n },\n /**\n * Get the links of this transaction group from the API.\n */\n parseLinks: function (journalId, index) {\n axios.get('./api/v1/transaction-journals/' + journalId + '/links')\n .then(response => {\n let links = response.data.data;\n for (let i in links) {\n if (links.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n this.parseLink(links[i], journalId, index);\n }\n }\n });\n },\n\n /**\n * Process individual link from the API.\n */\n parseLink: function (link, journalId, index) {\n let promises = [];\n let opposingId = parseInt(link.attributes.inward_id);\n let linkDirection = 'inward';\n if (opposingId === journalId) {\n opposingId = parseInt(link.attributes.outward_id);\n linkDirection = 'outward';\n }\n // add meta data to promise context.\n promises.push(new Promise((resolve) => {\n resolve(\n {\n link: link,\n journalId: journalId,\n opposingId: opposingId,\n index: index,\n direction: linkDirection\n }\n );\n }));\n\n // get stuff from the API:\n promises.push(axios.get('./api/v1/transaction-journals/' + opposingId));\n promises.push(axios.get('./api/v1/transaction_links/' + link.attributes.link_type_id));\n\n Promise.all(promises).then(responses => {\n let journals = responses[1].data.data.attributes.transactions;\n let opposingId = responses[0].opposingId;\n let journal = {};\n // loop over journals to get the correct one:\n for (let i in journals) {\n if (journals.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n if (journals[i].transaction_journal_id === opposingId) {\n journal = journals[i];\n }\n }\n }\n let index = responses[0].index;\n let direction = responses[0].direction;\n let linkTypeId = responses[2].data.data.id;\n let object = {\n id: link.id,\n link_type_id: linkTypeId + '-' + direction,\n transaction_group_id: responses[1].data.data.id,\n transaction_journal_id: journal.transaction_journal_id,\n description: journal.description,\n type: journal.type,\n currency_code: journal.currency_code,\n amount: journal.amount\n };\n this.transactions[index].links.push(object);\n this.originalTransactions[index].links.push(object);\n });\n },\n /**\n * TODO same method as Create\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 // console.log('Set allowedOpposingTypes');\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 },\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 // console.log('event: storeDate');\n // console.log(payload);\n this.date = payload.date;\n },\n storeTime: function (payload) {\n this.time = payload.time;\n // console.log('event: storeTime');\n // console.log(payload);\n },\n storeField: function (payload) {\n let field = payload.field;\n if ('category' === field) {\n field = 'category_name';\n }\n // console.log('event: storeField(' + field + ')');\n this.transactions[payload.index][field] = payload.value;\n\n },\n removeTransaction: function (payload) {\n this.transactions.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 for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n if (parseInt(this.transactions[i].transaction_journal_id) === parseInt(payload)) {\n // console.log('selectedAttachments ' + payload);\n this.transactions[i].selectedAttachments = true;\n }\n }\n }\n },\n addTransaction: function () {\n let newTransaction = getDefaultTransaction();\n newTransaction.errors = getDefaultErrors();\n this.transactions.push(newTransaction);\n },\n submitTransaction: function () {\n let submission = {transactions: []};\n let shouldSubmit = false;\n let shouldLinks = false;\n let shouldUpload = false;\n if (this.groupTitle !== this.originalGroupTitle) {\n submission.group_title = this.groupTitle;\n shouldSubmit = true;\n }\n let transactionCount = this.originalTransactions.length;\n let newTransactionCount = this.transactions.length;\n console.log('Found ' + this.transactions.length + ' split(s).');\n\n if (newTransactionCount > 1 && typeof submission.group_title === 'undefined' && (null === this.originalGroupTitle || '' === this.originalGroupTitle)) {\n submission.group_title = this.transactions[0].description;\n }\n\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\n let diff = {};\n\n // compare basic fields:\n let basicFields = [\n 'description',\n 'source_account_id', 'source_account_name',\n 'destination_account_id', 'destination_account_name',\n 'amount', 'foreign_amount', 'foreign_currency_id',\n 'category_name', 'budget_id', 'bill_id',\n 'interest_date', 'book_date', 'due_date', 'payment_date', 'invoice_date',\n 'external_url', 'internal_reference', 'external_id', 'notes',\n 'zoom_level', 'longitude', 'latitude'\n ];\n\n // source and destination may be overruled:\n if (i > 0) {\n diff.type = this.transactionType.toLowerCase();\n if ('Deposit' === this.transactionType || 'Transfer' === this.transactionType) {\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 if ('Withdrawal' === this.transactionType || 'Transfer' === this.transactionType) {\n currentTransaction.source_account_name = this.originalTransactions[0].source_account_name;\n currentTransaction.source_account_id = this.originalTransactions[0].source_account_id;\n }\n console.log('Will overrule accounts for split ' + i);\n }\n\n for (let ii in basicFields) {\n if (basicFields.hasOwnProperty(ii) && /^0$|^[1-9]\\d*$/.test(ii) && ii <= 4294967294) {\n let fieldName = basicFields[ii];\n let submissionFieldName = fieldName;\n\n // if the original is undefined and the new one is null, just skip it.\n if (currentTransaction[fieldName] === null && 'undefined' === typeof originalTransaction[fieldName]) {\n continue;\n }\n\n if (currentTransaction[fieldName] !== originalTransaction[fieldName]) {\n // some fields are ignored:\n if ('foreign_amount' === submissionFieldName && '' === currentTransaction[fieldName]) {\n continue;\n }\n if ('foreign_currency_id' === submissionFieldName && 0 === currentTransaction[fieldName]) {\n continue;\n }\n\n\n // console.log('Index ' + i + ': Field ' + fieldName + ' updated (\"' + originalTransaction[fieldName] + '\" > \"' + currentTransaction[fieldName] + '\")');\n // console.log(originalTransaction[fieldName]);\n // console.log(currentTransaction[fieldName]);\n\n // some field names may need to be different. little basic but it works:\n // console.log('pre: ' + submissionFieldName);\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\n diff[submissionFieldName] = currentTransaction[fieldName];\n shouldSubmit = true;\n }\n }\n }\n if (0 !== currentTransaction.piggy_bank_id) {\n diff.piggy_bank_id = currentTransaction.piggy_bank_id;\n shouldSubmit = true;\n }\n if (JSON.stringify(currentTransaction.tags) !== JSON.stringify(originalTransaction.tags)) {\n // console.log('tags are different');\n // console.log(currentTransaction.tags);\n // console.log(originalTransaction.tags);\n diff.tags = [];//currentTransaction.tags;\n\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 // array.tags\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\n shouldSubmit = true;\n }\n\n // compare links:\n let newLinks = this.compareLinks(currentTransaction.links);\n let originalLinks = this.compareLinks(originalTransaction.links);\n // console.log('links are?');\n // console.log(newLinks);\n // console.log(originalLinks);\n if (newLinks !== originalLinks) {\n // console.log('links are different!');\n // console.log(newLinks);\n // console.log(originalLinks);\n shouldLinks = true;\n }\n // this.transactions[i].selectedAttachments\n // console.log(typeof currentTransaction.selectedAttachments);\n // console.log(currentTransaction.selectedAttachments);\n if (typeof currentTransaction.selectedAttachments !== 'undefined' && true === currentTransaction.selectedAttachments) {\n // must upload!\n shouldUpload = true;\n }\n\n let dateStr = 'invalid';\n if (\n this.date.toISOString() !== this.originalDate.toISOString() ||\n this.time.toISOString() !== this.originalTime.toISOString()\n ) {\n console.log('Date and/or time is changed');\n // set date and time!\n shouldSubmit = true;\n let theDate = this.date;\n // update time in date object.\n theDate.setHours(this.time.getHours());\n theDate.setMinutes(this.time.getMinutes());\n theDate.setSeconds(this.time.getSeconds());\n dateStr = toW3CString(theDate);\n diff.date = dateStr;\n }\n console.log('Now at index ' + i);\n console.log(Object.keys(diff).length);\n if (Object.keys(diff).length === 0 && newTransactionCount > 1) {\n console.log('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 diff.transaction_journal_id = originalTransaction.transaction_journal_id ?? 0;\n submission.transactions.push(lodashClonedeep(diff));\n shouldSubmit = true;\n }\n }\n }\n\n console.log('submitTransaction');\n console.log('shouldUpload : ' + shouldUpload);\n console.log('shouldLinks : ' + shouldLinks);\n console.log('shouldSubmit : ' + shouldSubmit);\n if (shouldSubmit) {\n this.submitUpdate(submission, shouldLinks, shouldUpload);\n }\n if (!shouldSubmit) {\n this.submittedTransaction = true;\n }\n if (!shouldLinks) {\n this.submittedLinks = true;\n }\n if (!shouldUpload) {\n this.submittedAttachments = true;\n }\n if (!shouldSubmit && shouldLinks) {\n this.submitTransactionLinks();\n }\n\n if (!shouldSubmit && shouldLinks) {\n // TODO\n //this.submittedAttachments();\n }\n console.log('Done with submit methd.');\n //console.log(submission);\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 // console.log('compareLinks');\n // console.log(compare);\n return JSON.stringify(compare);\n },\n submitUpdate: function (submission, shouldLinks, shouldUpload) {\n console.log('submitUpdate');\n this.inError = false;\n const url = './api/v1/transactions/' + this.groupId;\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('Need to update links.');\n this.submitTransactionLinks();\n }\n if (!shouldLinks) {\n console.log('No need to update links.');\n }\n // TODO attachments:\n // this.submitAttachments(data, response);\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 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 console.log(transaction.links);\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 axios.delete(url).then(response => {\n // TODO response\n });\n }\n }\n },\n\n /**\n * Submit transaction links.\n * TODO same method as CREATE\n */\n submitTransactionLinks() {\n let total = 0;\n let promises = [];\n\n console.log('submitTransactionLinks()');\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 // compare links:\n let newLinks = this.compareLinks(currentTransaction.links);\n let originalLinks = this.compareLinks(originalTransaction.links);\n if (newLinks !== originalLinks) {\n if ('[]' !== originalLinks) {\n this.deleteOriginalLinks(originalTransaction);\n }\n\n console.log('links are different!');\n // console.log(newLinks);\n // console.log(originalLinks);\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\n console.log(linkObject);\n total++;\n // submit transaction link:\n promises.push(axios.post('./api/v1/transaction_links', linkObject).then(response => {\n // TODO error handling.\n }));\n }\n }\n // shouldLinks = true;\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 finalizeSubmit: function () {\n console.log('now in finalizeSubmit()');\n console.log('submittedTransaction : ' + this.submittedTransaction);\n console.log('submittedLinks : ' + this.submittedLinks);\n console.log('submittedAttachments : ' + this.submittedAttachments);\n\n if (this.submittedTransaction && this.submittedAttachments && this.submittedLinks) {\n console.log('all true');\n console.log('inError = ' + this.inError);\n console.log('stayHere = ' + this.stayHere);\n console.log('returnedGroupId = ' + this.returnedGroupId);\n\n // no error + no changes + no redirect\n if (true === this.stayHere && false === this.inError && 0 === this.returnedGroupId) {\n console.log('no error + no changes + no redirect');\n // show message:\n this.errorMessage = '';\n this.successMessage = '';\n // maybe nothing changed in post\n this.warningMessage = this.$t('firefly.transaction_updated_no_changes', {ID: this.returnedGroupId, title: this.returnedGroupTitle});\n }\n\n // no error + no changes + redirect\n if (false === this.stayHere && false === this.inError && 0 === this.returnedGroupId) {\n console.log('no error + no changes + redirect');\n window.location.href = (window.previousURL ?? '/') + '?transaction_group_id=' + this.groupId + '&message=no_change';\n }\n // no error + changes + no redirect\n if (true === this.stayHere && false === this.inError && 0 !== this.returnedGroupId) {\n console.log('no error + changes + redirect');\n // show message:\n this.errorMessage = '';\n this.warningMessage = '';\n // maybe nothing changed in post\n this.successMessage = this.$t('firefly.transaction_updated_link', {ID: this.returnedGroupId, title: this.returnedGroupTitle});\n }\n\n // no error + changes + redirect\n if (false === this.stayHere && false === this.inError && 0 !== this.returnedGroupId) {\n console.log('no error + changes + redirect');\n window.location.href = (window.previousURL ?? '/') + '?transaction_group_id=' + this.groupId + '&message=updated';\n }\n console.log('end of the line');\n // enable flags:\n this.enableSubmit = true;\n this.submittedTransaction = false;\n this.submittedLinks = false;\n this.submittedAttachments = false;\n this.inError = false;\n\n // reset attachments (always do this)\n for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n if (this.transactions.hasOwnProperty(i)) {\n // TODO\n }\n }\n }\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Edit.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Edit.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Edit.vue?vue&type=template&id=a988810a&scoped=true&\"\nimport script from \"./Edit.vue?vue&type=script&lang=js&\"\nexport * from \"./Edit.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"a988810a\",\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',{on:{\"submit\":_vm.submitTransaction}},[_c('SplitPills',{attrs:{\"transactions\":_vm.transactions}}),_vm._v(\" \"),_c('div',{staticClass:\"tab-content\"},_vm._l((this.transactions),function(transaction,index){return _c('SplitForm',{key:index,attrs:{\"count\":_vm.transactions.length,\"transaction\":transaction,\"allowed-opposing-types\":_vm.allowedOpposingTypes,\"custom-fields\":_vm.customFields,\"date\":_vm.date,\"time\":_vm.time,\"index\":index,\"transaction-type\":_vm.transactionType,\"destination-allowed-types\":_vm.destinationAllowedTypes,\"source-allowed-types\":_vm.sourceAllowedTypes,\"allow-switch\":false,\"submitted-transaction\":_vm.submittedTransaction},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-time\":function($event){return _vm.storeTime($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\",on:{\"click\":_vm.addTransaction}},[_c('i',{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-info btn-block\",attrs:{\"disabled\":!_vm.enableSubmit},on:{\"click\":_vm.submitTransaction}},[(_vm.enableSubmit)?_c('span',[_c('i',{staticClass:\"far fa-save\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.update_transaction')))]):_vm._e(),_vm._v(\" \"),(!_vm.enableSubmit)?_c('span',[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e()])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_vm._v(\"\\n \\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"form-check\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.stayHere),expression:\"stayHere\"}],staticClass:\"form-check-input\",attrs:{\"id\":\"stayHere\",\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.stayHere)?_vm._i(_vm.stayHere,null)>-1:(_vm.stayHere)},on:{\"change\":function($event){var $$a=_vm.stayHere,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.stayHere=$$a.concat([$$v]))}else{$$i>-1&&(_vm.stayHere=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.stayHere=$$c}}}}),_vm._v(\" \"),_c('label',{staticClass:\"form-check-label\",attrs:{\"for\":\"stayHere\"}},[_c('span',{staticClass:\"small\"},[_vm._v(_vm._s(_vm.$t('firefly.after_update_create_another')))])])])])])])])])])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/*\n * edit.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nimport store from \"../../components/store\";\nimport Edit from \"../../components/transactions/Edit\";\nimport Vue from \"vue\";\n\nrequire('../../bootstrap');\n\nVue.config.productionTip = false;\n// i18n\nlet i18n = require('../../i18n');\n\nlet props = {};\nnew Vue({\n i18n,\n store,\n render(createElement) {\n return createElement(Edit, {props: props});\n },\n beforeCreate() {\n this.$store.commit('initialiseStore');\n this.$store.dispatch('updateCurrencyPreference');\n },\n }).$mount('#transactions_edit');\n","/*\n * transactions.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nexport function getDefaultErrors() {\n return {\n description: [],\n amount: [],\n source: [],\n destination: [],\n currency: [],\n foreign_currency: [],\n foreign_amount: [],\n date: [],\n custom_dates: [],\n budget: [],\n category: [],\n bill: [],\n tags: [],\n piggy_bank: [],\n internal_reference: [],\n external_url: [],\n notes: [],\n location: []\n };\n}\n\nexport function getDefaultTransaction() {\n return {\n // basic\n description: '',\n transaction_journal_id: 0,\n // accounts:\n source_account_id: null,\n source_account_name: null,\n source_account_type: null,\n\n source_account_currency_id: null,\n source_account_currency_code: null,\n source_account_currency_symbol: null,\n\n destination_account_id: null,\n destination_account_name: null,\n destination_account_type: null,\n\n destination_account_currency_id: null,\n destination_account_currency_code: null,\n destination_account_currency_symbol: null,\n\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 attachments: [],\n // location:\n zoom_level: null,\n longitude: null,\n latitude: null,\n\n // error handling\n errors: {},\n }\n}\n\nexport function toW3CString(date) {\n // https://gist.github.com/tristanlins/6585391\n let year = date.getFullYear();\n let month = date.getMonth();\n month++;\n if (month < 10) {\n month = '0' + month;\n }\n let day = date.getDate();\n if (day < 10) {\n day = '0' + day;\n }\n let hours = date.getHours();\n if (hours < 10) {\n hours = '0' + hours;\n }\n let minutes = date.getMinutes();\n if (minutes < 10) {\n minutes = '0' + minutes;\n }\n let seconds = date.getSeconds();\n if (seconds < 10) {\n seconds = '0' + seconds;\n }\n let offset = -date.getTimezoneOffset();\n let offsetHours = Math.abs(Math.floor(offset / 60));\n let offsetMinutes = Math.abs(offset) - offsetHours * 60;\n if (offsetHours < 10) {\n offsetHours = '0' + offsetHours;\n }\n if (offsetMinutes < 10) {\n offsetMinutes = '0' + offsetMinutes;\n }\n let offsetSign = '+';\n if (offset < 0) {\n offsetSign = '-';\n }\n return year + '-' + month + '-' + day +\n 'T' + hours + ':' + minutes + ':' + seconds +\n offsetSign + offsetHours + ':' + offsetMinutes;\n}","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/cssWithMappingToString.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".vue-tags-input{max-width:100%!important;display:block}.ti-input,.vue-tags-input{width:100%;border-radius:.25rem}.ti-input{max-width:100%}.ti-new-tag-input{font-size:1rem}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/transactions/TransactionTags.vue\"],\"names\":[],\"mappings\":\"AA2HA,gBAEA,wBAAA,CACA,aAEA,CAEA,0BANA,UAAA,CAGA,oBAOA,CAJA,UAEA,cAEA,CAEA,kBACA,cACA\",\"sourcesContent\":[\"<!--\\n - TransactionTags.vue\\n - Copyright (c) 2021 [email protected]\\n -\\n - This file is part of Firefly III (https://github.com/firefly-iii).\\n -\\n - This program is free software: you can redistribute it and/or modify\\n - it under the terms of the GNU Affero General Public License as\\n - published by the Free Software Foundation, either version 3 of the\\n - License, or (at your option) any later version.\\n -\\n - This program is distributed in the hope that it will be useful,\\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\\n - GNU Affero General Public License for more details.\\n -\\n - You should have received a copy of the GNU Affero General Public License\\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\\n -->\\n\\n<template>\\n <div class=\\\"form-group\\\">\\n <div class=\\\"text-xs d-none d-lg-block d-xl-block\\\">\\n {{ $t('firefly.tags') }}\\n </div>\\n <div class=\\\"input-group\\\">\\n <vue-tags-input\\n v-model=\\\"currentTag\\\"\\n :add-only-from-autocomplete=\\\"false\\\"\\n :autocomplete-items=\\\"autocompleteItems\\\"\\n :tags=\\\"tags\\\"\\n :title=\\\"$t('firefly.tags')\\\"\\n v-bind:placeholder=\\\"$t('firefly.tags')\\\"\\n @tags-changed=\\\"newTags => this.tags = newTags\\\"\\n />\\n </div>\\n <span v-if=\\\"errors.length > 0\\\">\\n <span v-for=\\\"error in errors\\\" class=\\\"text-danger small\\\">{{ error }}<br/></span>\\n </span>\\n </div>\\n</template>\\n\\n<script>\\nimport VueTagsInput from \\\"@johmun/vue-tags-input\\\";\\nimport axios from \\\"axios\\\";\\n\\nexport default {\\n name: \\\"TransactionTags\\\",\\n components: {\\n VueTagsInput\\n },\\n props: ['value', 'index', 'errors'],\\n data() {\\n return {\\n autocompleteItems: [],\\n debounce: null,\\n tags: [],\\n currentTag: '',\\n updateTags: true, // the idea is that this is always true, except when the tags-function sets the value.\\n tagList: this.value,\\n emitEvent: true\\n };\\n },\\n created() {\\n let tags = [];\\n for (let i in this.value) {\\n if (this.value.hasOwnProperty(i) && /^0$|^[1-9]\\\\d*$/.test(i) && i <= 4294967294) {\\n tags.push({text: this.value[i]});\\n }\\n }\\n this.updateTags = false;\\n this.tags = tags;\\n },\\n watch: {\\n 'currentTag': 'initItems',\\n value: function (value) {\\n this.emitEvent = false;\\n this.tagList = value;\\n },\\n tagList: function (value) {\\n console.log('watch tagList');\\n if (true === this.emitEvent) {\\n this.$emit('set-field', {field: 'tags', index: this.index, value: value});\\n }\\n this.emitEvent = true;\\n this.updateTags = false;\\n this.tags = value;\\n },\\n tags: function (value) {\\n if (this.updateTags) {\\n let shortList = [];\\n for (let key in value) {\\n if (value.hasOwnProperty(key)) {\\n shortList.push({text: value[key].text});\\n }\\n }\\n this.tagList = shortList;\\n }\\n this.updateTags = true;\\n }\\n },\\n methods: {\\n initItems() {\\n if (this.currentTag.length < 2) {\\n return;\\n }\\n const url = document.getElementsByTagName('base')[0].href + `api/v1/autocomplete/tags?query=${this.currentTag}`;\\n\\n clearTimeout(this.debounce);\\n this.debounce = setTimeout(() => {\\n axios.get(url).then(response => {\\n this.autocompleteItems = response.data.map(item => {\\n return {text: item.tag};\\n });\\n }).catch(() => console.warn('Oh. Something went wrong loading tags.'));\\n }, 300);\\n },\\n },\\n\\n\\n}\\n</script>\\n<style>\\n.vue-tags-input {\\n width: 100%;\\n max-width: 100% !important;\\n display: block;\\n border-radius: 0.25rem;\\n}\\n\\n.ti-input {\\n border-radius: 0.25rem;\\n max-width: 100%;\\n width: 100%;\\n}\\n\\n.ti-new-tag-input {\\n font-size: 1rem;\\n}\\n</style>\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","<!--\n - Alert.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n<template>\n <div v-if=\"message.length > 0\" :class=\"'alert alert-' + type + ' alert-dismissible'\">\n <button aria-hidden=\"true\" class=\"close\" data-dismiss=\"alert\" type=\"button\">×</button>\n <h5>\n <i v-if=\"'danger' === type\" class=\"icon fas fa-ban\"></i>\n <i v-if=\"'success' === type\" class=\"icon fas fa-thumbs-up\"></i>\n <span v-if=\"'danger' === type\">{{ $t(\"firefly.flash_error\") }}</span>\n <span v-if=\"'success' === type\">{{ $t(\"firefly.flash_success\") }}</span>\n </h5>\n <span v-html=\"message\"></span>\n </div>\n</template>\n<script>\nexport default {\n name: \"Alert\",\n props: ['message', 'type']\n}\n</script>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Alert.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Alert.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Alert.vue?vue&type=template&id=df266c68&\"\nimport script from \"./Alert.vue?vue&type=script&lang=js&\"\nexport * from \"./Alert.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.message.length > 0)?_c('div',{class:'alert alert-' + _vm.type + ' alert-dismissible'},[_c('button',{staticClass:\"close\",attrs:{\"aria-hidden\":\"true\",\"data-dismiss\":\"alert\",\"type\":\"button\"}},[_vm._v(\"×\")]),_vm._v(\" \"),_c('h5',[('danger' === _vm.type)?_c('i',{staticClass:\"icon fas fa-ban\"}):_vm._e(),_vm._v(\" \"),('success' === _vm.type)?_c('i',{staticClass:\"icon fas fa-thumbs-up\"}):_vm._e(),_vm._v(\" \"),('danger' === _vm.type)?_c('span',[_vm._v(_vm._s(_vm.$t(\"firefly.flash_error\")))]):_vm._e(),_vm._v(\" \"),('success' === _vm.type)?_c('span',[_vm._v(_vm._s(_vm.$t(\"firefly.flash_success\")))]):_vm._e()]),_vm._v(\" \"),_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.message)}})]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:'tab-pane' + (0===_vm.index ? ' active' : ''),attrs:{\"id\":'split_' + _vm.index}},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.basic_journal_information'))+\"\\n \"),(_vm.count > 1)?_c('span',[_vm._v(\"(\"+_vm._s(_vm.index + 1)+\" / \"+_vm._s(_vm.count)+\") \")]):_vm._e()]),_vm._v(\" \"),(_vm.count>1)?_c('div',{staticClass:\"card-tools\"},[_c('button',{staticClass:\"btn btn-danger btn-xs\",on:{\"click\":_vm.removeTransaction}},[_c('i',{staticClass:\"fas fa-trash-alt\"})])]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('TransactionDescription',_vm._g({attrs:{\"errors\":_vm.transaction.errors.description,\"index\":_vm.index},model:{value:(_vm.transaction.description),callback:function ($$v) {_vm.$set(_vm.transaction, \"description\", $$v)},expression:\"transaction.description\"}},_vm.$listeners))],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12\"},[_c('TransactionAccount',_vm._g({attrs:{\"destination-allowed-types\":_vm.destinationAllowedTypes,\"errors\":_vm.transaction.errors.source,\"index\":_vm.index,\"source-allowed-types\":_vm.sourceAllowedTypes,\"transaction-type\":_vm.transactionType,\"direction\":\"source\"},model:{value:(_vm.sourceAccount),callback:function ($$v) {_vm.sourceAccount=$$v},expression:\"sourceAccount\"}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block\"},[(0 === _vm.index && _vm.allowSwitch)?_c('SwitchAccount',_vm._g({attrs:{\"index\":_vm.index,\"transaction-type\":_vm.transactionType}},_vm.$listeners)):_vm._e()],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionAccount',_vm._g({attrs:{\"destination-allowed-types\":_vm.destinationAllowedTypes,\"errors\":_vm.transaction.errors.destination,\"index\":_vm.index,\"transaction-type\":_vm.transactionType,\"source-allowed-types\":_vm.sourceAllowedTypes,\"direction\":\"destination\"},model:{value:(_vm.destinationAccount),callback:function ($$v) {_vm.destinationAccount=$$v},expression:\"destinationAccount\"}},_vm.$listeners))],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12\"},[_c('TransactionAmount',_vm._g({attrs:{\"amount\":_vm.transaction.amount,\"destination-currency-symbol\":this.transaction.destination_account_currency_symbol,\"errors\":_vm.transaction.errors.amount,\"index\":_vm.index,\"source-currency-symbol\":this.transaction.source_account_currency_symbol,\"transaction-type\":this.transactionType}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block\"},[_c('TransactionForeignCurrency',_vm._g({attrs:{\"destination-currency-id\":this.transaction.destination_account_currency_id,\"index\":_vm.index,\"selected-currency-id\":this.transaction.foreign_currency_id,\"source-currency-id\":this.transaction.source_account_currency_id,\"transaction-type\":this.transactionType},model:{value:(_vm.transaction.foreign_currency_id),callback:function ($$v) {_vm.$set(_vm.transaction, \"foreign_currency_id\", $$v)},expression:\"transaction.foreign_currency_id\"}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionForeignAmount',_vm._g({attrs:{\"destination-currency-id\":this.transaction.destination_account_currency_id,\"errors\":_vm.transaction.errors.foreign_amount,\"index\":_vm.index,\"selected-currency-id\":this.transaction.foreign_currency_id,\"source-currency-id\":this.transaction.source_account_currency_id,\"transaction-type\":this.transactionType},model:{value:(_vm.transaction.foreign_amount),callback:function ($$v) {_vm.$set(_vm.transaction, \"foreign_amount\", $$v)},expression:\"transaction.foreign_amount\"}},_vm.$listeners))],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionDate',_vm._g({attrs:{\"date\":_vm.splitDate,\"errors\":_vm.transaction.errors.date,\"index\":_vm.index,\"time\":_vm.splitTime}},_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,\"submitted_transaction\":_vm.submittedTransaction,\"transaction_journal_id\":_vm.transaction.transaction_journal_id},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.attachments),callback:function ($$v) {_vm.$set(_vm.transaction, \"attachments\", $$v)},expression:\"transaction.attachments\"}},_vm.$listeners)),_vm._v(\" \"),_c('TransactionLocation',_vm._g({attrs:{\"custom-fields\":_vm.customFields,\"errors\":_vm.transaction.errors.location,\"index\":_vm.index},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.location),callback:function ($$v) {_vm.$set(_vm.transaction, \"location\", $$v)},expression:\"transaction.location\"}},_vm.$listeners)),_vm._v(\" \"),_c('TransactionLinks',_vm._g({attrs:{\"custom-fields\":_vm.customFields,\"index\":_vm.index},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.links),callback:function ($$v) {_vm.$set(_vm.transaction, \"links\", $$v)},expression:\"transaction.links\"}},_vm.$listeners))],1)])])])])]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionDescription.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <vue-typeahead-bootstrap\n v-model=\"description\"\n :data=\"descriptions\"\n :inputClass=\"errors.length > 0 ? 'is-invalid' : ''\"\n :minMatchingChars=\"3\"\n :placeholder=\"$t('firefly.description')\"\n :serializer=\"item => item.description\"\n :showOnFocus=true\n autofocus\n inputName=\"description[]\"\n @input=\"lookupDescription\"\n >\n <template slot=\"append\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\" v-on:click=\"clearDescription\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </template>\n </vue-typeahead-bootstrap>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nimport VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';\nimport {debounce} from \"lodash\";\n\nexport default {\n props: ['index', 'value', 'errors'],\n components: {VueTypeaheadBootstrap},\n name: \"TransactionDescription\",\n data() {\n return {\n descriptions: [],\n initialSet: [],\n description: this.value,\n }\n },\n created() {\n axios.get(this.getACURL(''))\n .then(response => {\n this.descriptions = response.data;\n this.initialSet = response.data;\n });\n },\n\n methods: {\n clearDescription: function () {\n this.description = '';\n },\n getACURL: function (query) {\n // update autocomplete URL:\n return document.getElementsByTagName('base')[0].href + 'api/v1/autocomplete/transactions?query=' + query;\n },\n lookupDescription: debounce(function () {\n // update autocomplete URL:\n axios.get(this.getACURL(this.value))\n .then(response => {\n this.descriptions = response.data;\n })\n }, 300)\n },\n watch: {\n value: function (value) {\n this.description = value;\n },\n description: function (value) {\n this.$emit('set-field', {field: 'description', index: this.index, value: value});\n }\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionDescription.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionDescription.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionDescription.vue?vue&type=template&id=05752163&\"\nimport script from \"./TransactionDescription.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionDescription.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('vue-typeahead-bootstrap',{attrs:{\"data\":_vm.descriptions,\"inputClass\":_vm.errors.length > 0 ? 'is-invalid' : '',\"minMatchingChars\":3,\"placeholder\":_vm.$t('firefly.description'),\"serializer\":function (item) { return item.description; },\"showOnFocus\":true,\"autofocus\":\"\",\"inputName\":\"description[]\"},on:{\"input\":_vm.lookupDescription},model:{value:(_vm.description),callback:function ($$v) {_vm.description=$$v},expression:\"description\"}},[_c('template',{slot:\"append\"},[_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"},on:{\"click\":_vm.clearDescription}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])],2),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionDate.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\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 :disabled=\"index > 0\"\n :placeholder=\"dateStr\"\n :title=\"$t('firefly.date')\"\n autocomplete=\"off\"\n name=\"date[]\"\n type=\"date\"\n >\n <!--\n <input\n ref=\"time\"\n v-model=\"timeStr\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :disabled=\"index > 0\"\n :placeholder=\"timeStr\"\n :title=\"$t('firefly.time')\"\n autocomplete=\"off\"\n name=\"time[]\"\n type=\"time\"\n >\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\" v-if=\"'' !== timeZone\">{{ timeZone }}</span>\n </div>\n</template>\n\n<script>\n\nexport default {\n props: ['index', 'errors', 'date', 'time'],\n name: \"TransactionDate\",\n created() {\n this.timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;\n },\n data() {\n return {\n localDate: this.date,\n localTime: this.time,\n timeZone: '',\n timeString: '',\n }\n },\n methods: {},\n computed: {\n dateStr: {\n get() {\n if (this.localDate instanceof Date && !isNaN(this.localDate)) {\n return this.localDate.toISOString().split('T')[0];\n }\n return '';\n },\n set(value) {\n // bit of a hack but meh.\n if ('' === value) {\n // reset to today\n this.localDate = new Date();\n this.$emit('set-date', {date: this.localDate});\n return;\n }\n this.localDate = new Date(value);\n this.$emit('set-date', {date: this.localDate});\n }\n },\n timeStr: {\n get() {\n // console.log('getTimeStr: ' + this.localTime);\n if (this.localTime instanceof Date && !isNaN(this.localTime)) {\n let localStr = ('0' + this.localTime.getHours()).slice(-2) + ':' + ('0' + this.localTime.getMinutes()).slice(-2) + ':' + ('0' + this.localTime.getSeconds()).slice(-2);\n // console.log('Time is: ' + localStr);\n return localStr;\n }\n // console.log('Return empty string!');\n return '';\n },\n set(value) {\n // console.log('Set: ' + value);\n if ('' === value) {\n // console.log('Value is empty, set 00:00:00');\n this.localTime.setHours(0);\n this.localTime.setMinutes(0);\n this.localTime.setSeconds(0);\n this.$emit('set-time', {time: this.localTime});\n return;\n }\n // bit of a hack but meh.\n let current = new Date(this.localTime.getTime());\n let parts = value.split(':');\n // console.log('Parts are:');\n // console.log(parts);\n\n let hrs = parts[0] ?? '0';\n let min = parts[1] ?? '0';\n let sec = parts[2] ?? '0';\n hrs = 3 === hrs.length ? hrs.substr(1, 2) : hrs;\n min = 3 === min.length ? min.substr(1, 2) : min;\n sec = 3 === sec.length ? sec.substr(1, 2) : sec;\n // console.log('Hrs: ' + hrs);\n // console.log('Min: ' + min);\n // console.log('Sec: ' + sec);\n\n current.setHours(parseInt(hrs));\n current.setMinutes(parseInt(min));\n current.setSeconds(parseInt(sec));\n this.localTime = current;\n this.$emit('set-time', {time: this.localTime});\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!./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=09a16637&\"\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 _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:{\"disabled\":_vm.index > 0,\"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(\" \"),(_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(\" \"),('' !== _vm.timeZone)?_c('span',{staticClass:\"text-muted small\"},[_vm._v(_vm._s(_vm.timeZone))]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionBudget.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.budget') }}\n </div>\n <div class=\"input-group\">\n <select\n ref=\"budget\"\n v-model=\"budget\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :title=\"$t('firefly.budget')\"\n autocomplete=\"off\"\n name=\"budget_id[]\"\n >\n <option v-for=\"budget in this.budgetList\" :label=\"budget.name\" :value=\"budget.id\">{{ budget.name }}</option>\n </select>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors'],\n name: \"TransactionBudget\",\n data() {\n return {\n budgetList: [],\n budget: this.value,\n emitEvent: true\n }\n },\n created() {\n this.collectData();\n },\n methods: {\n collectData() {\n this.budgetList.push(\n {\n id: 0,\n name: this.$t('firefly.no_budget'),\n }\n );\n this.getBudgets();\n },\n getBudgets() {\n axios.get('./api/v1/budgets')\n .then(response => {\n this.parseBudgets(response.data);\n }\n );\n },\n parseBudgets(data) {\n for (let key in data.data) {\n if (data.data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = data.data[key];\n if(!current.attributes.active) {\n continue;\n }\n this.budgetList.push(\n {\n id: parseInt(current.id),\n name: current.attributes.name\n }\n );\n }\n }\n },\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.budget = value;\n },\n budget: function (value) {\n this.$emit('set-field', {field: 'budget_id', index: this.index, value: value});\n }\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBudget.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBudget.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionBudget.vue?vue&type=template&id=54257463&\"\nimport script from \"./TransactionBudget.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionBudget.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.budget'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.budget),expression:\"budget\"}],ref:\"budget\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"title\":_vm.$t('firefly.budget'),\"autocomplete\":\"off\",\"name\":\"budget_id[]\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.budget=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((this.budgetList),function(budget){return _c('option',{attrs:{\"label\":budget.name},domProps:{\"value\":budget.id}},[_vm._v(_vm._s(budget.name))])}),0)]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionAccount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div v-if=\"visible\" class=\"text-xs d-none d-lg-block d-xl-block\">\n <span v-if=\"0 === this.index\">{{ $t('firefly.' + this.direction + '_account') }}</span>\n <span v-if=\"this.index > 0\" class=\"text-warning\">{{ $t('firefly.first_split_overrules_' + this.direction) }}</span>\n <!--<br><span>{{ selectedAccount }}</span> -->\n </div>\n <div v-if=\"!visible\" class=\"text-xs d-none d-lg-block d-xl-block\">\n \n </div>\n <vue-typeahead-bootstrap\n v-if=\"visible\"\n v-model=\"accountName\"\n :data=\"accounts\"\n :inputClass=\"errors.length > 0 ? 'is-invalid' : ''\"\n :inputName=\"direction + '[]'\"\n :minMatchingChars=\"3\"\n :placeholder=\"$t('firefly.' + direction + '_account')\"\n :serializer=\"item => item.name_with_balance\"\n :showOnFocus=true\n aria-autocomplete=\"none\"\n autocomplete=\"off\"\n @hit=\"userSelectedAccount\"\n @input=\"lookupAccount\"\n >\n\n <template slot=\"suggestion\" slot-scope=\"{ data, htmlText }\">\n <div :title=\"data.type\" class=\"d-flex\">\n <span v-html=\"htmlText\"></span><br>\n </div>\n </template>\n <template slot=\"append\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\" v-on:click=\"clearAccount\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </template>\n </vue-typeahead-bootstrap>\n <div v-if=\"!visible\" class=\"form-control-static\">\n <span class=\"small text-muted\"><em>{{ $t('firefly.first_split_decides') }}</em></span>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nimport VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';\nimport {debounce} from 'lodash';\n\nexport default {\n name: \"TransactionAccount\",\n components: {VueTypeaheadBootstrap},\n props: {\n index: {\n type: Number,\n },\n direction: {\n type: String,\n },\n value: {\n type: Object,\n default: () => ({})\n },\n errors: {\n type: Array,\n default: () => ([])\n },\n sourceAllowedTypes: {\n type: Array,\n default: () => ([])\n },\n destinationAllowedTypes: {\n type: Array,\n default: () => ([])\n },\n transactionType: {\n type: String,\n default: 'any'\n },\n },\n data() {\n return {\n query: '',\n accounts: [],\n accountTypes: [],\n initialSet: [],\n selectedAccount: {},\n //account: this.value,\n accountName: '',\n selectedAccountTrigger: false,\n }\n },\n created() {\n //// console.log('TransactionAccount::created()');\n //this.selectedAccountTrigger = true;\n this.accountName = this.value.name ?? '';\n //// console.log('TransactionAccount direction=' + this.direction + ', type=' + this.transactionType + ' , name=\"' + this.accountName + '\"');\n //this.createInitialSet();\n },\n methods: {\n getACURL: function (types, query) {\n //// console.log('TransactionAccount::getACURL()');\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('userSelectedAccount!');\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 },\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 // this.selectedAccountTrigger = false;\n },\n value: function (value) {\n // console.log('TransactionAccount::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=42079801&\"\nimport script from \"./TransactionAccount.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionAccount.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[(_vm.visible)?_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[(0 === this.index)?_c('span',[_vm._v(_vm._s(_vm.$t('firefly.' + this.direction + '_account')))]):_vm._e(),_vm._v(\" \"),(this.index > 0)?_c('span',{staticClass:\"text-warning\"},[_vm._v(_vm._s(_vm.$t('firefly.first_split_overrules_' + this.direction)))]):_vm._e()]):_vm._e(),_vm._v(\" \"),(!_vm.visible)?_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \\n \")]):_vm._e(),_vm._v(\" \"),(_vm.visible)?_c('vue-typeahead-bootstrap',{attrs:{\"data\":_vm.accounts,\"inputClass\":_vm.errors.length > 0 ? 'is-invalid' : '',\"inputName\":_vm.direction + '[]',\"minMatchingChars\":3,\"placeholder\":_vm.$t('firefly.' + _vm.direction + '_account'),\"serializer\":function (item) { return item.name_with_balance; },\"showOnFocus\":true,\"aria-autocomplete\":\"none\",\"autocomplete\":\"off\"},on:{\"hit\":_vm.userSelectedAccount,\"input\":_vm.lookupAccount},scopedSlots:_vm._u([{key:\"suggestion\",fn:function(ref){\nvar data = ref.data;\nvar htmlText = ref.htmlText;\nreturn [_c('div',{staticClass:\"d-flex\",attrs:{\"title\":data.type}},[_c('span',{domProps:{\"innerHTML\":_vm._s(htmlText)}}),_c('br')])]}}],null,false,1423807661),model:{value:(_vm.accountName),callback:function ($$v) {_vm.accountName=$$v},expression:\"accountName\"}},[_vm._v(\" \"),_c('template',{slot:\"append\"},[_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"},on:{\"click\":_vm.clearAccount}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])],2):_vm._e(),_vm._v(\" \"),(!_vm.visible)?_c('div',{staticClass:\"form-control-static\"},[_c('span',{staticClass:\"small text-muted\"},[_c('em',[_vm._v(_vm._s(_vm.$t('firefly.first_split_decides')))])])]):_vm._e(),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - SwitchAccount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n <span v-if=\"'any' !== this.transactionType\" class=\"text-muted\">\n {{ $t('firefly.' + this.transactionType) }}\n </span>\n <span v-if=\"'any' === this.transactionType\" class=\"text-muted\"> </span>\n </div>\n <!--\n <div class=\"btn-group d-flex\">\n <button class=\"btn btn-light\" @click=\"switchAccounts\">↔</button>\n </div>\n -->\n </div>\n</template>\n\n<script>\nexport default {\n name: \"SwitchAccount\",\n props: ['index', 'transactionType'],\n methods: {\n // switchAccounts() {\n // this.$emit('switch-accounts', this.index);\n // }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SwitchAccount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SwitchAccount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SwitchAccount.vue?vue&type=template&id=66a3afa9&scoped=true&\"\nimport script from \"./SwitchAccount.vue?vue&type=script&lang=js&\"\nexport * from \"./SwitchAccount.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"66a3afa9\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[('any' !== this.transactionType)?_c('span',{staticClass:\"text-muted\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.' + this.transactionType))+\"\\n \")]):_vm._e(),_vm._v(\" \"),('any' === this.transactionType)?_c('span',{staticClass:\"text-muted\"},[_vm._v(\" \")]):_vm._e()])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionAmount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs\">{{ $t('firefly.amount') }}</div>\n <div class=\"input-group\">\n <div v-if=\"currencySymbol\" class=\"input-group-prepend\">\n <div class=\"input-group-text\">{{ currencySymbol }}</div>\n </div>\n <input\n v-model=\"transactionAmount\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.amount')\"\n :title=\"$t('firefly.amount')\"\n autocomplete=\"off\"\n name=\"amount[]\"\n type=\"number\"\n step=\"any\"\n >\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nexport default {\n name: \"TransactionAmount\",\n props: {\n index: {\n type: Number,\n default: 0,\n required: true\n },\n errors: {},\n amount: {},\n transactionType: {},\n sourceCurrencySymbol: {},\n destinationCurrencySymbol: {},\n fractionDigits: {\n default: 2,\n required: false\n },\n },\n created() {\n if ('' !== this.amount) {\n this.emitEvent = false;\n this.transactionAmount = this.formatNumber(this.amount);\n }\n },\n methods: {\n formatNumber(str) {\n return parseFloat(str).toFixed(this.fractionDigits);\n }\n },\n data() {\n return {\n transactionAmount: this.amount,\n currencySymbol: null,\n srcCurrencySymbol: this.sourceCurrencySymbol,\n dstCurrencySymbol: this.destinationCurrencySymbol,\n emitEvent: true\n }\n },\n watch: {\n transactionAmount: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'amount', index: this.index, value: value});\n }\n this.emitEvent = true;\n },\n amount: function (value) {\n this.transactionAmount = value;\n },\n sourceCurrencySymbol: function (value) {\n this.srcCurrencySymbol = value;\n },\n destinationCurrencySymbol: function (value) {\n this.dstCurrencySymbol = value;\n },\n transactionType: function (value) {\n switch (value) {\n case 'Transfer':\n case 'Withdrawal':\n this.currencySymbol = this.srcCurrencySymbol;\n break;\n case 'Deposit':\n this.currencySymbol = this.dstCurrencySymbol;\n }\n },\n },\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAmount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAmount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionAmount.vue?vue&type=template&id=571f2c0a&scoped=true&\"\nimport script from \"./TransactionAmount.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionAmount.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"571f2c0a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs\"},[_vm._v(_vm._s(_vm.$t('firefly.amount')))]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[(_vm.currencySymbol)?_c('div',{staticClass:\"input-group-prepend\"},[_c('div',{staticClass:\"input-group-text\"},[_vm._v(_vm._s(_vm.currencySymbol))])]):_vm._e(),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.transactionAmount),expression:\"transactionAmount\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.amount'),\"title\":_vm.$t('firefly.amount'),\"autocomplete\":\"off\",\"name\":\"amount[]\",\"type\":\"number\",\"step\":\"any\"},domProps:{\"value\":(_vm.transactionAmount)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.transactionAmount=$event.target.value}}})]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionForeignAmount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <!-- FOREIGN AMOUNT -->\n <div v-if=\"isVisible\" class=\"form-group\">\n <div class=\"text-xs\">{{ $t('form.foreign_amount') }}</div>\n <div class=\"input-group\">\n <input\n v-model=\"amount\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('form.foreign_amount')\"\n :title=\"$t('form.foreign_amount')\"\n autocomplete=\"off\"\n name=\"foreign_amount[]\"\n type=\"number\"\n >\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"TransactionForeignAmount\",\n props: {\n index: {},\n errors: {},\n value: {},\n transactionType: {},\n sourceCurrencyId: {},\n destinationCurrencyId: {},\n fractionDigits: {\n type: Number,\n default: 2\n }\n },\n data() {\n return {\n amount: this.value,\n emitEvent: true\n }\n },\n created() {\n if ('' !== this.amount) {\n this.emitEvent = false;\n this.amount = this.formatNumber(this.amount);\n }\n },\n methods: {\n formatNumber(str) {\n return parseFloat(str).toFixed(this.fractionDigits);\n }\n },\n watch: {\n amount: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'foreign_amount', index: this.index, value: value});\n }\n this.emitEvent = true;\n },\n value: function (value) {\n this.amount = value;\n\n\n }\n },\n computed: {\n isVisible: {\n get() {\n return !('Transfer' === this.transactionType && this.sourceCurrencyId === this.destinationCurrencyId);\n }\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignAmount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignAmount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionForeignAmount.vue?vue&type=template&id=d13f8bea&scoped=true&\"\nimport script from \"./TransactionForeignAmount.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionForeignAmount.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d13f8bea\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isVisible)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs\"},[_vm._v(_vm._s(_vm.$t('form.foreign_amount')))]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.amount),expression:\"amount\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('form.foreign_amount'),\"title\":_vm.$t('form.foreign_amount'),\"autocomplete\":\"off\",\"name\":\"foreign_amount[]\",\"type\":\"number\"},domProps:{\"value\":(_vm.amount)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.amount=$event.target.value}}})]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionForeignCurrency.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <!-- FOREIGN Currency -->\n <div v-if=\"isVisible\" class=\"form-group\">\n <div class=\"text-xs\"> </div>\n <div class=\"input-group\">\n <select v-model=\"selectedCurrency\" class=\"form-control\" name=\"foreign_currency_id[]\">\n <option v-for=\"currency in selectableCurrencies\" :label=\"currency.name\" :value=\"currency.id\">{{ currency.name }}</option>\n </select>\n </div>\n </div>\n</template>\n<script>\n\nexport default {\n name: \"TransactionForeignCurrency\",\n props: [\n 'index',\n 'transactionType',\n 'sourceCurrencyId',\n 'destinationCurrencyId',\n 'selectedCurrencyId',\n 'value'\n ],\n data() {\n return {\n selectedCurrency: this.value,\n allCurrencies: [],\n selectableCurrencies: [],\n dstCurrencyId: this.destinationCurrencyId,\n srcCurrencyId: this.sourceCurrencyId,\n lockedCurrency: 0,\n emitEvent: true\n }\n },\n watch: {\n value: function (value) {\n this.selectedCurrency = value;\n },\n sourceCurrencyId: function (value) {\n this.srcCurrencyId = value;\n },\n destinationCurrencyId: function (value) {\n this.dstCurrencyId = value;\n },\n selectedCurrency: function (value) {\n this.$emit('set-field', {field: 'foreign_currency_id', index: this.index, value: value});\n },\n transactionType: function (value) {\n this.lockedCurrency = 0;\n if ('Transfer' === value) {\n this.lockedCurrency = this.dstCurrencyId;\n this.selectedCurrency = this.dstCurrencyId;\n }\n this.filterCurrencies();\n },\n },\n created: function () {\n this.getAllCurrencies();\n },\n methods: {\n getAllCurrencies: function () {\n axios.get('./api/v1/autocomplete/currencies')\n .then(response => {\n this.allCurrencies = response.data;\n this.filterCurrencies();\n }\n );\n\n },\n filterCurrencies() {\n // if a currency is locked only that currency can (and must) be selected:\n if (0 !== this.lockedCurrency) {\n for (let key in this.allCurrencies) {\n if (this.allCurrencies.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = this.allCurrencies[key];\n if (current.id === this.lockedCurrency) {\n this.selectableCurrencies = [current];\n this.selectedCurrency = current.id;\n }\n }\n }\n return;\n }\n\n this.selectableCurrencies = [\n {\n \"id\": 0,\n \"name\": this.$t('firefly.no_currency')\n }\n ];\n for (let key in this.allCurrencies) {\n if (this.allCurrencies.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = this.allCurrencies[key];\n this.selectableCurrencies.push(current);\n }\n }\n }\n },\n computed: {\n isVisible: function () {\n return !('Transfer' === this.transactionType && this.srcCurrencyId === this.dstCurrencyId);\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignCurrency.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignCurrency.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionForeignCurrency.vue?vue&type=template&id=3ee4efa5&scoped=true&\"\nimport script from \"./TransactionForeignCurrency.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionForeignCurrency.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3ee4efa5\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isVisible)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs\"},[_vm._v(\" \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedCurrency),expression:\"selectedCurrency\"}],staticClass:\"form-control\",attrs:{\"name\":\"foreign_currency_id[]\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selectedCurrency=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((_vm.selectableCurrencies),function(currency){return _c('option',{attrs:{\"label\":currency.name},domProps:{\"value\":currency.id}},[_vm._v(_vm._s(currency.name))])}),0)])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionCustomDates.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div>\n <div v-for=\"(enabled, name) in availableFields\" class=\"form-group\">\n <div v-if=\"enabled && isDateField(name)\" class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('form.' + name) }}\n </div>\n <div v-if=\"enabled && isDateField(name)\" class=\"input-group\">\n <input\n :ref=\"name\"\n :name=\"name + '[]'\"\n :placeholder=\"$t('form.' + name)\"\n :title=\"$t('form.' + name)\"\n :value=\"getFieldValue(name)\"\n autocomplete=\"off\"\n class=\"form-control\"\n type=\"date\"\n @change=\"setFieldValue($event, name)\"\n >\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"TransactionCustomDates\",\n props: [\n 'index',\n 'errors',\n 'customFields',\n 'interestDate',\n 'bookDate',\n 'processDate',\n 'dueDate',\n 'paymentDate',\n 'invoiceDate'\n ],\n data() {\n return {\n dateFields: ['interest_date', 'book_date', 'process_date', 'due_date', 'payment_date', 'invoice_date'],\n availableFields: this.customFields,\n dates: {\n interest_date: this.interestDate,\n book_date: this.bookDate,\n process_date: this.processDate,\n due_date: this.dueDate,\n payment_date: this.paymentDate,\n invoice_date: this.invoiceDate,\n }\n ,\n }\n },\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n interestDate: function (value) {\n this.dates.interest_date = value;\n },\n bookDate: function (value) {\n this.dates.book_date = value;\n },\n processDate: function (value) {\n this.dates.process_date = value;\n },\n dueDate: function (value) {\n this.dates.due_date = value;\n },\n paymentDate: function (value) {\n this.dates.payment_date = value;\n },\n invoiceDate: function (value) {\n this.dates.invoice_date = value;\n },\n },\n methods: {\n isDateField: function (name) {\n return this.dateFields.includes(name)\n },\n getFieldValue(field) {\n return this.dates[field] ?? '';\n },\n setFieldValue(event, field) {\n this.$emit('set-field', {field: field, index: this.index, value: event.target.value});\n },\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionCustomDates.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionCustomDates.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionCustomDates.vue?vue&type=template&id=728c6420&\"\nimport script from \"./TransactionCustomDates.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionCustomDates.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',_vm._l((_vm.availableFields),function(enabled,name){return _c('div',{staticClass:\"form-group\"},[(enabled && _vm.isDateField(name))?_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('form.' + name))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(enabled && _vm.isDateField(name))?_c('div',{staticClass:\"input-group\"},[_c('input',{ref:name,refInFor:true,staticClass:\"form-control\",attrs:{\"name\":name + '[]',\"placeholder\":_vm.$t('form.' + name),\"title\":_vm.$t('form.' + name),\"autocomplete\":\"off\",\"type\":\"date\"},domProps:{\"value\":_vm.getFieldValue(name)},on:{\"change\":function($event){return _vm.setFieldValue($event, name)}}})]):_vm._e()])}),0)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionCategory.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.category') }}\n </div>\n\n <vue-typeahead-bootstrap\n v-model=\"category\"\n :data=\"categories\"\n :inputClass=\"errors.length > 0 ? 'is-invalid' : ''\"\n :minMatchingChars=\"3\"\n :placeholder=\"$t('firefly.category')\"\n :serializer=\"item => item.name\"\n :showOnFocus=true\n inputName=\"category[]\"\n @hit=\"selectedCategory = $event\"\n @input=\"lookupCategory\"\n >\n <template slot=\"append\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\" v-on:click=\"clearCategory\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </template>\n </vue-typeahead-bootstrap>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nimport VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';\nimport {debounce} from \"lodash\";\n\nexport default {\n props: ['value', 'index', 'errors'],\n components: {VueTypeaheadBootstrap},\n name: \"TransactionCategory\",\n data() {\n return {\n categories: [],\n initialSet: [],\n category: this.value,\n emitEvent: true\n }\n },\n\n created() {\n\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 return document.getElementsByTagName('base')[0].href + 'api/v1/autocomplete/categories?query=' + query;\n },\n lookupCategory: debounce(function () {\n // update autocomplete URL:\n axios.get(this.getACURL(this.value))\n .then(response => {\n this.categories = response.data;\n })\n }, 300)\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\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=332d1095&\"\nimport script from \"./TransactionCategory.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionCategory.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.category'))+\"\\n \")]),_vm._v(\" \"),_c('vue-typeahead-bootstrap',{attrs:{\"data\":_vm.categories,\"inputClass\":_vm.errors.length > 0 ? 'is-invalid' : '',\"minMatchingChars\":3,\"placeholder\":_vm.$t('firefly.category'),\"serializer\":function (item) { return item.name; },\"showOnFocus\":true,\"inputName\":\"category[]\"},on:{\"hit\":function($event){_vm.selectedCategory = $event},\"input\":_vm.lookupCategory},model:{value:(_vm.category),callback:function ($$v) {_vm.category=$$v},expression:\"category\"}},[_c('template',{slot:\"append\"},[_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"},on:{\"click\":_vm.clearCategory}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])],2),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionBill.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.bill') }}\n </div>\n <div class=\"input-group\">\n <select\n ref=\"bill\"\n v-model=\"bill\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :title=\"$t('firefly.bill')\"\n autocomplete=\"off\"\n name=\"bill_id[]\"\n >\n <option v-for=\"bill in this.billList\" :label=\"bill.name\" :value=\"bill.id\">{{ bill.name }}</option>\n\n </select>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['value', 'index', 'errors'],\n name: \"TransactionBill\",\n data() {\n return {\n billList: [],\n bill: this.value,\n emitEvent: true\n }\n },\n created() {\n this.collectData();\n },\n methods: {\n collectData() {\n this.billList.push(\n {\n id: 0,\n name: this.$t('firefly.no_bill'),\n }\n );\n this.getBills();\n },\n getBills() {\n axios.get('./api/v1/bills')\n .then(response => {\n this.parseBills(response.data);\n }\n );\n },\n parseBills(data) {\n for (let key in data.data) {\n if (data.data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = data.data[key];\n this.billList.push(\n {\n id: parseInt(current.id),\n name: current.attributes.name\n }\n );\n }\n }\n },\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.bill = value;\n },\n bill: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'bill_id', index: this.index, value: value});\n }\n this.emitEvent = true;\n }\n },\n}\n</script>\n\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBill.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBill.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionBill.vue?vue&type=template&id=07ad05c8&\"\nimport script from \"./TransactionBill.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionBill.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.bill'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.bill),expression:\"bill\"}],ref:\"bill\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"title\":_vm.$t('firefly.bill'),\"autocomplete\":\"off\",\"name\":\"bill_id[]\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.bill=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((this.billList),function(bill){return _c('option',{attrs:{\"label\":bill.name},domProps:{\"value\":bill.id}},[_vm._v(_vm._s(bill.name))])}),0)]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {\nvar this$1 = this;\nvar _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.tags'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('vue-tags-input',{attrs:{\"add-only-from-autocomplete\":false,\"autocomplete-items\":_vm.autocompleteItems,\"tags\":_vm.tags,\"title\":_vm.$t('firefly.tags'),\"placeholder\":_vm.$t('firefly.tags')},on:{\"tags-changed\":function (newTags) { return this$1.tags = newTags; }},model:{value:(_vm.currentTag),callback:function ($$v) {_vm.currentTag=$$v},expression:\"currentTag\"}})],1),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionTags.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.tags') }}\n </div>\n <div class=\"input-group\">\n <vue-tags-input\n v-model=\"currentTag\"\n :add-only-from-autocomplete=\"false\"\n :autocomplete-items=\"autocompleteItems\"\n :tags=\"tags\"\n :title=\"$t('firefly.tags')\"\n v-bind:placeholder=\"$t('firefly.tags')\"\n @tags-changed=\"newTags => this.tags = newTags\"\n />\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nimport VueTagsInput from \"@johmun/vue-tags-input\";\nimport axios from \"axios\";\n\nexport default {\n name: \"TransactionTags\",\n components: {\n VueTagsInput\n },\n props: ['value', 'index', 'errors'],\n data() {\n return {\n autocompleteItems: [],\n debounce: null,\n tags: [],\n currentTag: '',\n updateTags: true, // the idea is that this is always true, except when the tags-function sets the value.\n tagList: this.value,\n emitEvent: true\n };\n },\n created() {\n let tags = [];\n for (let i in this.value) {\n if (this.value.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n tags.push({text: this.value[i]});\n }\n }\n this.updateTags = false;\n this.tags = tags;\n },\n watch: {\n 'currentTag': 'initItems',\n value: function (value) {\n this.emitEvent = false;\n this.tagList = value;\n },\n tagList: function (value) {\n console.log('watch tagList');\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'tags', index: this.index, value: value});\n }\n this.emitEvent = true;\n this.updateTags = false;\n this.tags = value;\n },\n tags: function (value) {\n if (this.updateTags) {\n let shortList = [];\n for (let key in value) {\n if (value.hasOwnProperty(key)) {\n shortList.push({text: value[key].text});\n }\n }\n this.tagList = shortList;\n }\n this.updateTags = true;\n }\n },\n methods: {\n initItems() {\n if (this.currentTag.length < 2) {\n return;\n }\n const url = document.getElementsByTagName('base')[0].href + `api/v1/autocomplete/tags?query=${this.currentTag}`;\n\n clearTimeout(this.debounce);\n this.debounce = setTimeout(() => {\n axios.get(url).then(response => {\n this.autocompleteItems = response.data.map(item => {\n return {text: item.tag};\n });\n }).catch(() => console.warn('Oh. Something went wrong loading tags.'));\n }, 300);\n },\n },\n\n\n}\n</script>\n<style>\n.vue-tags-input {\n width: 100%;\n max-width: 100% !important;\n display: block;\n border-radius: 0.25rem;\n}\n\n.ti-input {\n border-radius: 0.25rem;\n max-width: 100%;\n width: 100%;\n}\n\n.ti-new-tag-input {\n font-size: 1rem;\n}\n</style>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionTags.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionTags.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionTags.vue?vue&type=template&id=834226ea&\"\nimport script from \"./TransactionTags.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionTags.vue?vue&type=script&lang=js&\"\nimport style0 from \"./TransactionTags.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<!--\n - TransactionPiggyBank.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.piggy_bank') }}\n </div>\n <div class=\"input-group\">\n <select\n ref=\"piggy_bank_id\"\n v-model=\"piggy_bank_id\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :title=\"$t('firefly.piggy_bank')\"\n autocomplete=\"off\"\n name=\"piggy_bank_id[]\"\n >\n <option v-for=\"piggy in this.piggyList\" :label=\"piggy.name_with_balance\" :value=\"piggy.id\">{{ piggy.name_with_balance }}</option>\n\n </select>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nexport default {\n props: ['index', 'value', 'errors'],\n name: \"TransactionPiggyBank\",\n data() {\n return {\n piggyList: [],\n piggy_bank_id: this.value,\n emitEvent: true\n }\n },\n created() {\n this.collectData();\n },\n methods: {\n collectData() {\n this.piggyList.push(\n {\n id: 0,\n name_with_balance: this.$t('firefly.no_piggy_bank'),\n }\n );\n this.getPiggies();\n },\n getPiggies() {\n axios.get('./api/v1/autocomplete/piggy-banks-with-balance')\n .then(response => {\n this.parsePiggies(response.data);\n }\n );\n },\n parsePiggies(data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = data[key];\n this.piggyList.push(\n {\n id: parseInt(current.id),\n name_with_balance: current.name_with_balance\n }\n );\n }\n }\n },\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.piggy_bank_id = value;\n },\n piggy_bank_id: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'piggy_bank_id', index: this.index, value: value});\n }\n this.emitEvent = true;\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionPiggyBank.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionPiggyBank.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionPiggyBank.vue?vue&type=template&id=18931396&\"\nimport script from \"./TransactionPiggyBank.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionPiggyBank.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.piggy_bank'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.piggy_bank_id),expression:\"piggy_bank_id\"}],ref:\"piggy_bank_id\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"title\":_vm.$t('firefly.piggy_bank'),\"autocomplete\":\"off\",\"name\":\"piggy_bank_id[]\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.piggy_bank_id=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((this.piggyList),function(piggy){return _c('option',{attrs:{\"label\":piggy.name_with_balance},domProps:{\"value\":piggy.id}},[_vm._v(_vm._s(piggy.name_with_balance))])}),0)]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionInternalReference.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.internal_reference') }}\n </div>\n <div class=\"input-group\">\n <input\n v-model=\"reference\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.internal_reference')\"\n name=\"internal_reference[]\"\n type=\"text\"\n />\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors', 'customFields'],\n name: \"TransactionInternalReference\",\n data() {\n return {\n reference: this.value,\n availableFields: this.customFields,\n emitEvent: true\n }\n },\n computed: {\n showField: function () {\n if ('internal_reference' in this.availableFields) {\n return this.availableFields.internal_reference;\n }\n return false;\n }\n },\n methods: {},\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n value: function (value) {\n this.emitEvent = false;\n this.reference = value;\n },\n reference: function (value) {\n this.$emit('set-field', {field: 'internal_reference', index: this.index, value: value});\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionInternalReference.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionInternalReference.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionInternalReference.vue?vue&type=template&id=7f1b8c1d&\"\nimport script from \"./TransactionInternalReference.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionInternalReference.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.internal_reference'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.reference),expression:\"reference\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.internal_reference'),\"name\":\"internal_reference[]\",\"type\":\"text\"},domProps:{\"value\":(_vm.reference)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.reference=$event.target.value}}}),_vm._v(\" \"),_vm._m(0)])]):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])}]\n\nexport { render, staticRenderFns }","<!--\n - TransactionInternalReference.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.external_url') }}\n </div>\n <div class=\"input-group\">\n <input\n v-model=\"url\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.external_url')\"\n name=\"external_url[]\"\n type=\"url\"\n />\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors', 'customFields'],\n name: \"TransactionExternalUrl\",\n data() {\n return {\n url: this.value,\n availableFields: this.customFields,\n }\n },\n computed: {\n showField: function () {\n if ('external_uri' in this.availableFields) {\n return this.availableFields.external_uri;\n }\n return false;\n }\n },\n methods: {},\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n value: function (value) {\n this.url = value;\n },\n url: function (value) {\n this.$emit('set-field', {field: 'external_url', index: this.index, value: value});\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionExternalUrl.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionExternalUrl.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionExternalUrl.vue?vue&type=template&id=7f6746e6&scoped=true&\"\nimport script from \"./TransactionExternalUrl.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionExternalUrl.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7f6746e6\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.external_url'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.url),expression:\"url\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.external_url'),\"name\":\"external_url[]\",\"type\":\"url\"},domProps:{\"value\":(_vm.url)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.url=$event.target.value}}}),_vm._v(\" \"),_vm._m(0)])]):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])}]\n\nexport { render, staticRenderFns }","<!--\n - TransactionNotes.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.notes') }}\n </div>\n <div class=\"input-group\">\n <textarea\n v-model=\"notes\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.notes')\"\n ></textarea>\n </div>\n </div>\n\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors', 'customFields'],\n name: \"TransactionNotes\",\n data() {\n return {\n notes: this.value,\n availableFields: this.customFields,\n emitEvent: true\n }\n },\n computed: {\n showField: function () {\n if ('notes' in this.availableFields) {\n return this.availableFields.notes;\n }\n return false;\n }\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.notes = value;\n },\n customFields: function (value) {\n this.availableFields = value;\n },\n notes: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'notes', index: this.index, value: value});\n }\n this.emitEvent = true;\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionNotes.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionNotes.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionNotes.vue?vue&type=template&id=10b3ae7a&scoped=true&\"\nimport script from \"./TransactionNotes.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionNotes.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"10b3ae7a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.notes'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.notes),expression:\"notes\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.notes')},domProps:{\"value\":(_vm.notes)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.notes=$event.target.value}}})])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',[_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.journal_links'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[(_vm.links.length === 0)?_c('p',[_c('button',{staticClass:\"btn btn-default btn-xs\",attrs:{\"data-target\":\"#linkModal\",\"data-toggle\":\"modal\"},on:{\"click\":_vm.resetModal}},[_c('i',{staticClass:\"fas fa-plus\"}),_vm._v(\" Add transaction link\")])]):_vm._e(),_vm._v(\" \"),(_vm.links.length > 0)?_c('ul',{staticClass:\"list-group\"},_vm._l((_vm.links),function(transaction,index){return _c('li',{key:index,staticClass:\"list-group-item\"},[_c('em',[_vm._v(_vm._s(_vm.getTextForLinkType(transaction.link_type_id)))]),_vm._v(\" \"),_c('a',{attrs:{\"href\":\"./transaction/show/\" + transaction.transaction_group_id}},[_vm._v(_vm._s(transaction.description))]),_vm._v(\" \"),(transaction.type === 'withdrawal')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-danger\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount) * -1)))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(transaction.type === 'deposit')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-success\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(transaction.type === 'transfer')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-info\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"btn-group btn-group-xs float-right\"},[_c('button',{staticClass:\"btn btn-xs btn-danger\",attrs:{\"tabindex\":\"-1\"},on:{\"click\":function($event){return _vm.removeLink(index)}}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])}),0):_vm._e(),_vm._v(\" \"),(_vm.links.length > 0)?_c('div',{staticClass:\"form-text\"},[_c('button',{staticClass:\"btn btn-default\",attrs:{\"data-target\":\"#linkModal\",\"data-toggle\":\"modal\"},on:{\"click\":_vm.resetModal}},[_c('i',{staticClass:\"fas fa-plus\"})])]):_vm._e()])])]),_vm._v(\" \"),_c('div',{ref:\"linkModal\",staticClass:\"modal\",attrs:{\"id\":\"linkModal\",\"tabindex\":\"-1\"}},[_c('div',{staticClass:\"modal-dialog modal-lg\"},[_c('div',{staticClass:\"modal-content\"},[_vm._m(0),_vm._v(\" \"),_c('div',{staticClass:\"modal-body\"},[_c('div',{staticClass:\"container-fluid\"},[_vm._m(1),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.search($event)}}},[_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.query),expression:\"query\"}],staticClass:\"form-control\",attrs:{\"id\":\"query\",\"autocomplete\":\"off\",\"maxlength\":\"255\",\"name\":\"search\",\"placeholder\":\"Search query\",\"type\":\"text\"},domProps:{\"value\":(_vm.query)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.query=$event.target.value}}}),_vm._v(\" \"),_vm._m(2)])])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[(_vm.searching)?_c('span',[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e(),_vm._v(\" \"),(_vm.searchResults.length > 0)?_c('h4',[_vm._v(_vm._s(_vm.$t('firefly.search_results')))]):_vm._e(),_vm._v(\" \"),(_vm.searchResults.length > 0)?_c('table',{staticClass:\"table table-sm\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.search_results')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{staticStyle:{\"width\":\"33%\"},attrs:{\"scope\":\"col\",\"colspan\":\"2\"}},[_vm._v(_vm._s(_vm.$t('firefly.include')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.transaction')))])])]),_vm._v(\" \"),_c('tbody',_vm._l((_vm.searchResults),function(result){return _c('tr',[_c('td',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(result.selected),expression:\"result.selected\"}],staticClass:\"form-control\",attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(result.selected)?_vm._i(result.selected,null)>-1:(result.selected)},on:{\"change\":[function($event){var $$a=result.selected,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(result, \"selected\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(result, \"selected\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(result, \"selected\", $$c)}},function($event){return _vm.selectTransaction($event)}]}})]),_vm._v(\" \"),_c('td',[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(result.link_type_id),expression:\"result.link_type_id\"}],staticClass:\"form-control\",on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(result, \"link_type_id\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])},function($event){return _vm.selectLinkType($event)}]}},_vm._l((_vm.linkTypes),function(linkType){return _c('option',{attrs:{\"label\":linkType.type},domProps:{\"value\":linkType.id + '-' + linkType.direction}},[_vm._v(_vm._s(linkType.type)+\"\\n \")])}),0)]),_vm._v(\" \"),_c('td',[_c('a',{attrs:{\"href\":'./transactions/show/' + result.transaction_group_id}},[_vm._v(_vm._s(result.description))]),_vm._v(\" \"),(result.type === 'withdrawal')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-danger\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount) * -1)))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(result.type === 'deposit')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-success\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(result.type === 'transfer')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-info\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),_c('br'),_vm._v(\" \"),_c('em',[_c('a',{attrs:{\"href\":'./accounts/show/' + result.source_id}},[_vm._v(_vm._s(result.source_name))]),_vm._v(\"\\n →\\n \"),_c('a',{attrs:{\"href\":'./accounts/show/' + result.destination_id}},[_vm._v(_vm._s(result.destination_name))])])])])}),0)]):_vm._e()])])])]),_vm._v(\" \"),_vm._m(3)])])])]):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"modal-header\"},[_c('h5',{staticClass:\"modal-title\"},[_vm._v(\"Transaction thing dialog.\")]),_vm._v(\" \"),_c('button',{staticClass:\"close\",attrs:{\"aria-label\":\"Close\",\"data-dismiss\":\"modal\",\"type\":\"button\"}},[_c('span',{attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"×\")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('p',[_vm._v(\"\\n Use this form to search for transactions you wish to link to this one. When in doubt, use \"),_c('code',[_vm._v(\"id:*\")]),_vm._v(\" where the ID is the number from\\n the URL.\\n \")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-default\",attrs:{\"type\":\"submit\"}},[_c('i',{staticClass:\"fas fa-search\"}),_vm._v(\" Search\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"modal-footer\"},[_c('button',{staticClass:\"btn btn-secondary\",attrs:{\"data-dismiss\":\"modal\",\"type\":\"button\"}},[_vm._v(\"Close\")])])}]\n\nexport { render, staticRenderFns }","<!--\n - TransactionLinks.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\">\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.journal_links') }}\n </div>\n <div class=\"row\">\n <div class=\"col\">\n <p v-if=\"links.length === 0\">\n <button class=\"btn btn-default btn-xs\" data-target=\"#linkModal\" @click=\"resetModal\" data-toggle=\"modal\"><i class=\"fas fa-plus\"></i> Add transaction link</button>\n </p>\n <ul v-if=\"links.length > 0\" class=\"list-group\">\n <li v-for=\"(transaction, index) in links\" class=\"list-group-item\" v-bind:key=\"index\">\n <em>{{ getTextForLinkType(transaction.link_type_id) }}</em>\n <a :href='\"./transaction/show/\" + transaction.transaction_group_id'>{{ transaction.description }}</a>\n\n <span v-if=\"transaction.type === 'withdrawal'\">\n (<span class=\"text-danger\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount) * -1)\n }}</span>)\n </span>\n <span v-if=\"transaction.type === 'deposit'\">\n (<span class=\"text-success\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))\n }}</span>)\n </span>\n <span v-if=\"transaction.type === 'transfer'\">\n (<span class=\"text-info\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))\n }}</span>)\n </span>\n <div class=\"btn-group btn-group-xs float-right\">\n <button class=\"btn btn-xs btn-danger\" @click=\"removeLink(index)\" tabindex=\"-1\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </li>\n </ul>\n <div v-if=\"links.length > 0\" class=\"form-text\">\n <button class=\"btn btn-default\" @click=\"resetModal\" data-target=\"#linkModal\" data-toggle=\"modal\"><i class=\"fas fa-plus\"></i></button>\n </div>\n </div>\n </div>\n </div>\n <!-- modal -->\n <div id=\"linkModal\" class=\"modal\" tabindex=\"-1\" ref=\"linkModal\">\n <div class=\"modal-dialog modal-lg\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <h5 class=\"modal-title\">Transaction thing dialog.</h5>\n <button aria-label=\"Close\" class=\"close\" data-dismiss=\"modal\" type=\"button\">\n <span aria-hidden=\"true\">×</span>\n </button>\n </div>\n <div class=\"modal-body\">\n <div class=\"container-fluid\">\n <div class=\"row\">\n <div class=\"col\">\n <p>\n Use this form to search for transactions you wish to link to this one. When in doubt, use <code>id:*</code> where the ID is the number from\n the URL.\n </p>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col\">\n <form v-on:submit.prevent=\"search\">\n <div class=\"input-group\">\n <input id=\"query\" v-model=\"query\" autocomplete=\"off\" class=\"form-control\" maxlength=\"255\" name=\"search\"\n placeholder=\"Search query\" type=\"text\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-default\" type=\"submit\"><i class=\"fas fa-search\"></i> Search</button>\n </div>\n </div>\n </form>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col\">\n <span v-if=\"searching\"><i class=\"fas fa-spinner fa-spin\"></i></span>\n <h4 v-if=\"searchResults.length > 0\">{{ $t('firefly.search_results') }}</h4>\n <table v-if=\"searchResults.length > 0\" class=\"table table-sm\">\n <caption style=\"display:none;\">{{ $t('firefly.search_results') }}</caption>\n <thead>\n <tr>\n <th scope=\"col\" colspan=\"2\" style=\"width:33%\">{{ $t('firefly.include') }}</th>\n <th scope=\"col\">{{ $t('firefly.transaction') }}</th>\n </tr>\n </thead>\n <tbody>\n <tr v-for=\"result in searchResults\">\n <td>\n <input v-model=\"result.selected\" class=\"form-control\"\n type=\"checkbox\"\n @change=\"selectTransaction($event)\"\n />\n </td>\n <td>\n <select\n v-model=\"result.link_type_id\"\n class=\"form-control\"\n @change=\"selectLinkType($event)\"\n >\n <option v-for=\"linkType in linkTypes\" :label=\"linkType.type\" :value=\"linkType.id + '-' + linkType.direction\">{{\n linkType.type\n }}\n </option>\n </select>\n </td>\n <td>\n <a :href=\"'./transactions/show/' + result.transaction_group_id\">{{ result.description }}</a>\n <span v-if=\"result.type === 'withdrawal'\">\n (<span class=\"text-danger\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount) * -1)\n }}</span>)\n </span>\n <span v-if=\"result.type === 'deposit'\">\n (<span class=\"text-success\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount))\n }}</span>)\n </span>\n <span v-if=\"result.type === 'transfer'\">\n (<span class=\"text-info\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount))\n }}</span>)\n </span>\n <br/>\n <em>\n <a :href=\"'./accounts/show/' + result.source_id\">{{ result.source_name }}</a>\n →\n <a :href=\"'./accounts/show/' + result.destination_id\">{{ result.destination_name }}</a>\n </em>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n </div>\n <div class=\"modal-footer\">\n <button class=\"btn btn-secondary\" data-dismiss=\"modal\" type=\"button\">Close</button>\n </div>\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nconst lodashClonedeep = require('lodash.clonedeep');\n// TODO error handling\nexport default {\n props: ['index', 'value', 'errors', 'customFields'],\n name: \"TransactionLinks\",\n data() {\n return {\n searchResults: [],\n include: [],\n locale: 'en-US',\n linkTypes: [],\n query: '',\n searching: false,\n links: this.value,\n availableFields: this.customFields,\n emitEvent: true\n }\n },\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n this.emitEvent = false;\n this.links = lodashClonedeep(this.value);\n this.getLinkTypes();\n\n },\n computed: {\n showField: function () {\n if ('links' in this.availableFields) {\n return this.availableFields.links;\n }\n return false;\n }\n },\n watch: {\n value: function (value) {\n if (null !== value) {\n this.emitEvent = false;\n this.links = lodashClonedeep(value);\n }\n },\n links: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {index: this.index, field: 'links', value: lodashClonedeep(value)});\n }\n this.emitEvent = true;\n },\n customFields: function (value) {\n this.availableFields = value;\n }\n },\n methods: {\n removeLink: function (index) {\n this.links.splice(index, 1);\n },\n getTextForLinkType: function (linkTypeId) {\n let parts = linkTypeId.split('-');\n for (let i in this.linkTypes) {\n if (this.linkTypes.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.linkTypes[i];\n if (parts[0] === current.id && parts[1] === current.direction) {\n return current.type;\n }\n }\n }\n return 'text for #' + linkTypeId;\n },\n selectTransaction: function (event) {\n for (let i in this.searchResults) {\n if (this.searchResults.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.searchResults[i];\n if (current.selected) {\n this.addToSelected(current);\n }\n if (!current.selected) {\n // remove from\n this.removeFromSelected(current);\n }\n }\n }\n },\n selectLinkType: function (event) {\n for (let i in this.searchResults) {\n if (this.searchResults.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.searchResults[i];\n this.updateSelected(current.transaction_journal_id, current.link_type_id);\n }\n }\n },\n updateSelected(journalId, linkTypeId) {\n for (let i in this.links) {\n if (this.links.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.links[i];\n if (parseInt(current.transaction_journal_id) === journalId) {\n this.links[i].link_type_id = linkTypeId;\n }\n }\n }\n },\n addToSelected(journal) {\n let result = this.links.find(({transaction_journal_id}) => transaction_journal_id === journal.transaction_journal_id);\n if (typeof result === 'undefined') {\n this.links.push(journal);\n }\n },\n removeFromSelected(journal) {\n for (let i in this.links) {\n if (this.links.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.links[i];\n if (current.transaction_journal_id === journal.transaction_journal_id) {\n this.links.splice(parseInt(i), 1);\n }\n }\n }\n },\n getLinkTypes: function () {\n let url = './api/v1/link_types';\n axios.get(url)\n .then(response => {\n this.parseLinkTypes(response.data);\n }\n );\n },\n resetModal: function() {\n this.search();\n },\n parseLinkTypes: function (data) {\n for (let i in data.data) {\n if (data.data.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = data.data[i];\n let linkTypeInward = {\n id: current.id,\n type: current.attributes.inward,\n direction: 'inward'\n };\n let linkTypeOutward = {\n id: current.id,\n type: current.attributes.outward,\n direction: 'outward'\n };\n if (linkTypeInward.type === linkTypeOutward.type) {\n linkTypeInward.type = linkTypeInward.type + ' (←)';\n linkTypeOutward.type = linkTypeOutward.type + ' (→)';\n }\n this.linkTypes.push(linkTypeInward);\n this.linkTypes.push(linkTypeOutward);\n }\n }\n },\n search: function () {\n if('' === this.query) {\n this.searchResults = [];\n return;\n }\n this.searching = true;\n this.searchResults = [];\n let url = './api/v1/search/transactions?limit=10&query=' + this.query;\n axios.get(url)\n .then(response => {\n this.parseSearch(response.data);\n }\n );\n },\n parseSearch: function (data) {\n for (let i in data.data) {\n if (data.data.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n for (let ii in data.data[i].attributes.transactions) {\n if (data.data[i].attributes.transactions.hasOwnProperty(ii) && /^0$|^[1-9]\\d*$/.test(ii) && ii <= 4294967294) {\n let current = data.data[i].attributes.transactions[ii];\n current.transaction_group_id = parseInt(data.data[i].id);\n current.selected = this.isJournalSelected(current.transaction_journal_id);\n current.link_type_id = this.getJournalLinkType(current.transaction_journal_id);\n current.link_type_text = '';\n this.searchResults.push(current);\n }\n }\n }\n }\n this.searching = false;\n },\n getJournalLinkType: function (journalId) {\n for (let i in this.links) {\n if (this.links.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.links[i];\n if (current.transaction_journal_id === journalId) {\n return current.link_type_id;\n }\n }\n }\n return '1-inward';\n },\n isJournalSelected: function (journalId) {\n for (let i in this.links) {\n if (this.links.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.links[i];\n if (current.transaction_journal_id === journalId) {\n return true;\n }\n }\n }\n return false;\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionLinks.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionLinks.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionLinks.vue?vue&type=template&id=a69356e6&\"\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'],\n data() {\n return {\n availableFields: this.customFields\n }\n },\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n transaction_journal_id: function (value) {\n if (!this.showField) {\n // console.log('Field is hidden. Emit event!');\n this.$emit('uploaded-attachments', value);\n return;\n }\n // console.log('transaction_journal_id changed to ' + value);\n // do upload!\n if (0 !== value) {\n this.doUpload();\n }\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', this.transaction_journal_id);\n },\n doUpload: function () {\n // console.log('Now in doUpload() for ' + this.$refs.att.files.length + ' files.');\n for (let i in this.$refs.att.files) {\n if (this.$refs.att.files.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.$refs.att.files[i];\n let fileReader = new FileReader();\n let theParent = this; // dont ask me why i need to do this.\n fileReader.onloadend = function (evt) {\n if (evt.target.readyState === FileReader.DONE) {\n // do upload here\n const uri = './api/v1/attachments';\n const data = {\n filename: current.name,\n attachable_type: 'TransactionJournal',\n attachable_id: theParent.transaction_journal_id,\n };\n // create new attachment:\n axios.post(uri, data).then(response => {\n // upload actual file:\n const uploadUri = './api/v1/attachments/' + response.data.data.id + '/upload';\n axios\n .post(uploadUri, new Blob([evt.target.result]))\n .then(attachmentResponse => {\n // TODO feedback etc.\n // console.log('Uploaded a file. Emit event!');\n // console.log(attachmentResponse);\n theParent.$emit('uploaded-attachments', this.transaction_journal_id);\n });\n });\n }\n }\n fileReader.readAsArrayBuffer(current);\n }\n }\n if (0 === this.$refs.att.files.length) {\n // console.log('No files to upload. Emit event!');\n this.$emit('uploaded-attachments', this.transaction_journal_id);\n }\n }\n }\n\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAttachments.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAttachments.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionAttachments.vue?vue&type=template&id=c0a65b6c&scoped=true&\"\nimport script from \"./TransactionAttachments.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionAttachments.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c0a65b6c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.attachments'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{ref:\"att\",staticClass:\"form-control\",attrs:{\"multiple\":\"\",\"name\":\"attachments[]\",\"type\":\"file\"},on:{\"change\":_vm.selectedFile}})])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionLocation.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.location') }}\n </div>\n <div style=\"width:100%;height:300px;\">\n <l-map\n ref=\"myMap\"\n :center=\"center\"\n :zoom=\"zoom\" style=\"width:100%;height:300px;\"\n @ready=\"prepMap()\"\n @update:zoom=\"zoomUpdated\"\n @update:center=\"centerUpdated\"\n @update:bounds=\"boundsUpdated\"\n >\n <l-tile-layer :url=\"url\"></l-tile-layer>\n <l-marker :lat-lng=\"marker\" :visible=\"hasMarker\"></l-marker>\n </l-map>\n <span>\n <button class=\"btn btn-default btn-xs\" @click=\"clearLocation\">{{ $t('firefly.clear_location') }}</button>\n </span>\n </div>\n <p> </p>\n </div>\n</template>\n\n<script>\n\n// If you need to reference 'L', such as in 'L.icon', then be sure to\n// explicitly import 'leaflet' into your component\n// import L from 'leaflet';\nimport {LMap, LMarker, LTileLayer} from 'vue2-leaflet';\nimport 'leaflet/dist/leaflet.css';\n\nimport L from 'leaflet';\n\ndelete L.Icon.Default.prototype._getIconUrl;\n\nL.Icon.Default.mergeOptions({\n iconRetinaUrl: require('leaflet/dist/images/marker-icon-2x.png'),\n iconUrl: require('leaflet/dist/images/marker-icon.png'),\n shadowUrl: require('leaflet/dist/images/marker-shadow.png')\n });\n\nexport default {\n name: \"TransactionLocation\",\n props: {\n index: {},\n value: {\n type: Object,\n required: false\n },\n errors: {},\n customFields: {},\n },\n components: {\n LMap,\n LTileLayer,\n LMarker,\n },\n created() {\n if (null === this.value || typeof this.value === 'undefined') {\n axios.get('./api/v1/configuration/firefly.default_location').then(response => {\n this.zoom = parseInt(response.data.data.value.zoom_level);\n this.center =\n [\n parseFloat(response.data.data.value.latitude),\n parseFloat(response.data.data.value.longitude),\n ]\n ;\n });\n return;\n }\n if (null !== this.value.zoom_level && null !== this.value.latitude && null !== this.value.longitude) {\n this.zoom = this.value.zoom_level;\n this.center = [\n parseFloat(this.value.latitude),\n parseFloat(this.value.longitude),\n ];\n this.hasMarker = true;\n }\n },\n data() {\n return {\n availableFields: this.customFields,\n url: 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',\n zoom: 3,\n center: [0, 0],\n bounds: null,\n map: null,\n hasMarker: false,\n marker: [0, 0],\n }\n },\n methods: {\n prepMap: function () {\n this.map = this.$refs.myMap.mapObject;\n this.map.on('contextmenu', this.setObjectLocation);\n this.map.on('zoomend', this.saveZoomLevel);\n },\n setObjectLocation: function (event) {\n this.marker = [event.latlng.lat, event.latlng.lng];\n this.hasMarker = true;\n this.emitEvent();\n },\n saveZoomLevel: function () {\n this.emitEvent();\n },\n clearLocation: function () {\n this.hasMarker = false;\n this.emitEvent();\n },\n emitEvent() {\n this.$emit('set-marker-location', {\n index: this.index,\n zoomLevel: this.zoom,\n lat: this.marker[0],\n lng: this.marker[1],\n hasMarker: this.hasMarker\n }\n );\n },\n zoomUpdated(zoom) {\n this.zoom = zoom;\n },\n centerUpdated(center) {\n this.center = center;\n },\n boundsUpdated(bounds) {\n this.bounds = bounds;\n }\n },\n computed: {\n showField: function () {\n if ('location' in this.availableFields) {\n return this.availableFields.location;\n }\n return false;\n }\n },\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionLocation.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionLocation.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionLocation.vue?vue&type=template&id=3bafa3c9&scoped=true&\"\nimport script from \"./TransactionLocation.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionLocation.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3bafa3c9\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.location'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticStyle:{\"width\":\"100%\",\"height\":\"300px\"}},[_c('l-map',{ref:\"myMap\",staticStyle:{\"width\":\"100%\",\"height\":\"300px\"},attrs:{\"center\":_vm.center,\"zoom\":_vm.zoom},on:{\"ready\":function($event){return _vm.prepMap()},\"update:zoom\":_vm.zoomUpdated,\"update:center\":_vm.centerUpdated,\"update:bounds\":_vm.boundsUpdated}},[_c('l-tile-layer',{attrs:{\"url\":_vm.url}}),_vm._v(\" \"),_c('l-marker',{attrs:{\"lat-lng\":_vm.marker,\"visible\":_vm.hasMarker}})],1),_vm._v(\" \"),_c('span',[_c('button',{staticClass:\"btn btn-default btn-xs\",on:{\"click\":_vm.clearLocation}},[_vm._v(_vm._s(_vm.$t('firefly.clear_location')))])])],1),_vm._v(\" \"),_c('p',[_vm._v(\" \")])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitForm.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitForm.vue?vue&type=script&lang=js&\"","<!--\n - SplitForm.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div :id=\"'split_' + index\" :class=\"'tab-pane' + (0===index ? ' active' : '')\">\n <div class=\"row\">\n <div class=\"col\">\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">\n {{ $t('firefly.basic_journal_information') }}\n <span v-if=\"count > 1\">({{ index + 1 }} / {{ count }}) </span>\n </h3>\n <div v-if=\"count>1\" class=\"card-tools\">\n <button class=\"btn btn-danger btn-xs\" @click=\"removeTransaction\"><i class=\"fas fa-trash-alt\"></i></button>\n </div>\n </div>\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 :time=\"splitTime\"\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 :submitted_transaction=\"submittedTransaction\"\n :transaction_journal_id=\"transaction.transaction_journal_id\"\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: false\n },\n customFields: {\n type: Object,\n required: false\n },\n index: {\n type: Number,\n required: true\n },\n date: {\n type: Date,\n required: true\n },\n time: {\n type: Date,\n required: true\n },\n transactionType: {\n type: String,\n required: true\n },\n submittedTransaction: {\n type: Boolean,\n required: false,\n default: false\n }, // need to know if transaction is submitted.\n sourceAllowedTypes: {\n type: Array,\n required: false,\n default: []\n }, // allowed source account types.\n destinationAllowedTypes: {\n type: Array,\n required: false,\n default: []\n },\n // allow switch?\n allowSwitch: {\n type: Boolean,\n required: false,\n default: true\n }\n\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 splitTime: function () {\n return this.time;\n },\n sourceAccount: function () {\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 },\n destinationAccount: function () {\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 },\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=34da7e70&\"\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\">\n <li v-for=\"(transaction, index) in this.transactions\" class=\"nav-item\"><a :class=\"'nav-link' + (0===index ? ' active' : '')\" :href=\"'#split_' + index\"\n data-toggle=\"tab\">\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: ['transactions']\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=0e910ecf&\"\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\"},_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\":\"tab\"}},[('' !== transaction.description)?_c('span',[_vm._v(_vm._s(transaction.description))]):_vm._e(),_vm._v(\" \"),('' === transaction.description)?_c('span',[_vm._v(\"Split \"+_vm._s(index + 1))]):_vm._e()])])}),0)])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.split_transaction_title'))+\"\\n \")]),_vm._v(\" \"),_c('vue-typeahead-bootstrap',{attrs:{\"data\":_vm.descriptions,\"inputClass\":_vm.errors.length > 0 ? 'is-invalid' : '',\"minMatchingChars\":3,\"placeholder\":_vm.$t('firefly.split_transaction_title'),\"serializer\":function (item) { return item.description; },\"showOnFocus\":true,\"inputName\":\"group_title\"},on:{\"input\":_vm.lookupDescription},model:{value:(_vm.title),callback:function ($$v) {_vm.title=$$v},expression:\"title\"}},[_c('template',{slot:\"append\"},[_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"},on:{\"click\":_vm.clearDescription}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])],2),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionGroupTitle.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.split_transaction_title') }}\n </div>\n <vue-typeahead-bootstrap\n v-model=\"title\"\n :data=\"descriptions\"\n :inputClass=\"errors.length > 0 ? 'is-invalid' : ''\"\n :minMatchingChars=\"3\"\n :placeholder=\"$t('firefly.split_transaction_title')\"\n :serializer=\"item => item.description\"\n :showOnFocus=true\n inputName=\"group_title\"\n @input=\"lookupDescription\"\n >\n <template slot=\"append\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\" v-on:click=\"clearDescription\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </template>\n </vue-typeahead-bootstrap>\n\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n\n </div>\n</template>\n\n<script>\nimport VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';\nimport {debounce} from \"lodash\";\n\nexport default {\n props: ['value', 'errors'],\n name: \"TransactionGroupTitle\",\n components: {VueTypeaheadBootstrap},\n data() {\n return {\n descriptions: [],\n initialSet: [],\n title: this.value,\n emitEvent: true\n }\n },\n\n created() {\n axios.get(this.getACURL(''))\n .then(response => {\n this.descriptions = response.data;\n this.initialSet = response.data;\n });\n },\n watch: {\n value: function (value) {\n this.title = value;\n },\n title: function (value) {\n this.$emit('set-group-title', value);\n }\n },\n methods: {\n clearDescription: function () {\n this.title = '';\n },\n getACURL: function (query) {\n // update autocomplete URL:\n return document.getElementsByTagName('base')[0].href + 'api/v1/autocomplete/transactions?query=' + query;\n },\n lookupDescription: debounce(function () {\n // update autocomplete URL:\n axios.get(this.getACURL(this.title))\n .then(response => {\n this.descriptions = response.data;\n })\n }, 300)\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionGroupTitle.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionGroupTitle.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionGroupTitle.vue?vue&type=template&id=273271bf&scoped=true&\"\nimport script from \"./TransactionGroupTitle.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionGroupTitle.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"273271bf\",\n null\n \n)\n\nexport default component.exports","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[1]!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[2]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionTags.vue?vue&type=style&index=0&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"bf9ab7ac\", content, true, {});"],"sourceRoot":""}\ No newline at end of file+{"version":3,"sources":["webpack:///./src/bootstrap.js","webpack:///./src/components/store/modules/transactions/create.js","webpack:///./src/components/store/modules/transactions/edit.js","webpack:///./src/components/store/modules/dashboard/index.js","webpack:///./src/components/store/modules/root.js","webpack:///./src/components/store/modules/accounts/index.js","webpack:///./src/components/store/index.js","webpack:///./src/i18n.js","webpack:///src/components/transactions/Edit.vue","webpack:///./src/components/transactions/Edit.vue?2e9d","webpack:///./src/components/transactions/Edit.vue","webpack:///./src/components/transactions/Edit.vue?77fe","webpack:///./src/pages/transactions/edit.js","webpack:///./src/shared/transactions.js","webpack:///./src/components/transactions/TransactionTags.vue?1d59","webpack:///src/components/partials/Alert.vue","webpack:///./src/components/partials/Alert.vue?8ba7","webpack:///./src/components/partials/Alert.vue","webpack:///./src/components/partials/Alert.vue?bc9d","webpack:///./src/components/transactions/SplitForm.vue?9dad","webpack:///src/components/transactions/TransactionDescription.vue","webpack:///./src/components/transactions/TransactionDescription.vue?51f7","webpack:///./src/components/transactions/TransactionDescription.vue","webpack:///./src/components/transactions/TransactionDescription.vue?5176","webpack:///src/components/transactions/TransactionDate.vue","webpack:///./src/components/transactions/TransactionDate.vue?3867","webpack:///./src/components/transactions/TransactionDate.vue","webpack:///./src/components/transactions/TransactionDate.vue?a0c4","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?9af3","webpack:///src/components/transactions/SwitchAccount.vue","webpack:///./src/components/transactions/SwitchAccount.vue?2eca","webpack:///./src/components/transactions/SwitchAccount.vue","webpack:///./src/components/transactions/SwitchAccount.vue?f18f","webpack:///src/components/transactions/TransactionAmount.vue","webpack:///./src/components/transactions/TransactionAmount.vue?69ff","webpack:///./src/components/transactions/TransactionAmount.vue","webpack:///./src/components/transactions/TransactionAmount.vue?09e1","webpack:///src/components/transactions/TransactionForeignAmount.vue","webpack:///./src/components/transactions/TransactionForeignAmount.vue?ff11","webpack:///./src/components/transactions/TransactionForeignAmount.vue","webpack:///./src/components/transactions/TransactionForeignAmount.vue?1a78","webpack:///src/components/transactions/TransactionForeignCurrency.vue","webpack:///./src/components/transactions/TransactionForeignCurrency.vue?f6a0","webpack:///./src/components/transactions/TransactionForeignCurrency.vue","webpack:///./src/components/transactions/TransactionForeignCurrency.vue?b802","webpack:///src/components/transactions/TransactionCustomDates.vue","webpack:///./src/components/transactions/TransactionCustomDates.vue?c6d3","webpack:///./src/components/transactions/TransactionCustomDates.vue","webpack:///./src/components/transactions/TransactionCustomDates.vue?bc65","webpack:///src/components/transactions/TransactionCategory.vue","webpack:///./src/components/transactions/TransactionCategory.vue?b515","webpack:///./src/components/transactions/TransactionCategory.vue","webpack:///./src/components/transactions/TransactionCategory.vue?3c7a","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?aa73","webpack:///src/components/transactions/TransactionTags.vue","webpack:///./src/components/transactions/TransactionTags.vue?c786","webpack:///./src/components/transactions/TransactionTags.vue","webpack:///src/components/transactions/TransactionPiggyBank.vue","webpack:///./src/components/transactions/TransactionPiggyBank.vue?e9e1","webpack:///./src/components/transactions/TransactionPiggyBank.vue","webpack:///./src/components/transactions/TransactionPiggyBank.vue?0f96","webpack:///src/components/transactions/TransactionInternalReference.vue","webpack:///./src/components/transactions/TransactionInternalReference.vue?2fd1","webpack:///./src/components/transactions/TransactionInternalReference.vue","webpack:///./src/components/transactions/TransactionInternalReference.vue?0cb6","webpack:///src/components/transactions/TransactionExternalUrl.vue","webpack:///./src/components/transactions/TransactionExternalUrl.vue?28f8","webpack:///./src/components/transactions/TransactionExternalUrl.vue","webpack:///./src/components/transactions/TransactionExternalUrl.vue?3b2c","webpack:///src/components/transactions/TransactionNotes.vue","webpack:///./src/components/transactions/TransactionNotes.vue?3804","webpack:///./src/components/transactions/TransactionNotes.vue","webpack:///./src/components/transactions/TransactionNotes.vue?592a","webpack:///./src/components/transactions/TransactionLinks.vue?6de1","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?2a9b","webpack:///src/components/transactions/TransactionLocation.vue","webpack:///./src/components/transactions/TransactionLocation.vue?9e0a","webpack:///./src/components/transactions/TransactionLocation.vue","webpack:///./src/components/transactions/TransactionLocation.vue?113d","webpack:///./src/components/transactions/SplitForm.vue?99bd","webpack:///src/components/transactions/SplitForm.vue","webpack:///./src/components/transactions/SplitForm.vue","webpack:///src/components/transactions/SplitPills.vue","webpack:///./src/components/transactions/SplitPills.vue?cba2","webpack:///./src/components/transactions/SplitPills.vue","webpack:///./src/components/transactions/SplitPills.vue?39af","webpack:///./src/components/transactions/TransactionGroupTitle.vue?140c","webpack:///src/components/transactions/TransactionGroupTitle.vue","webpack:///./src/components/transactions/TransactionGroupTitle.vue?5049","webpack:///./src/components/transactions/TransactionGroupTitle.vue","webpack:///./src/components/transactions/TransactionTags.vue?cec9"],"names":["window","$","jQuery","require","axios","defaults","headers","common","token","document","head","querySelector","content","console","error","localeToken","localStorage","locale","vuei18n","VueI18n","uiv","Vue","lodashClonedeep","namespaced","state","transactionType","groupTitle","transactions","customDateFields","interest_date","book_date","process_date","due_date","payment_date","invoice_date","defaultTransaction","getDefaultTransaction","defaultErrors","getDefaultErrors","getters","accountToTransaction","sourceAllowedTypes","destinationAllowedTypes","allowedOpposingTypes","actions","mutations","addTransaction","newTransaction","errors","push","resetErrors","payload","index","resetTransactions","setGroupTitle","setCustomDateFields","deleteTransaction","splice","length","setTransactionType","setAllowedOpposingTypes","setAccountToTransaction","updateField","field","value","setTransactionError","setDestinationAllowedTypes","setSourceAllowedTypes","viewRange","start","end","defaultStart","defaultEnd","initialiseStore","context","get","then","response","data","attributes","commit","dispatch","setDatesFromViewRange","viewRangeStart","Date","viewRangeEnd","viewRangeDefaultStart","viewRangeDefaultEnd","getTime","setHours","diff","getDate","getDay","setDate","lastday","getFullYear","getMonth","quarter","Math","floor","half","setStart","setItem","setEnd","setDefaultStart","setDefaultEnd","setViewRange","range","listPageSize","parseInt","setListPageSize","number","orderMode","activeFilter","setOrderMode","setActiveFilter","Vuex","modules","root","root_store","create","transactions_create","edit","transactions_edit","accounts","accounts_index","dashboard","dashboard_index","strict","process","plugins","currencyPreference","setCurrencyPreference","currencyCode","code","currencyId","id","updateCurrencyPreference","JSON","parse","currencyResponse","name","symbol","decimal_places","stringify","err","module","exports","documentElement","lang","fallbackLocale","messages","created","this","groupId","parts","getTransactionGroup","getAllowedOpposingTypes","getCustomFields","successMessage","errorMessage","warningMessage","originalTransactions","originalGroupTitle","groupTitleErrors","customFields","returnedGroupId","returnedGroupTitle","date","time","originalDate","originalTime","submittedTransaction","submittedLinks","submittedAttachments","inError","enableSubmit","stayHere","components","Alert","SplitPills","SplitForm","TransactionGroupTitle","watch","finalizeSubmit","methods","parseTransactionGroup","group_title","hasOwnProperty","i","test","result","parseLinks","transaction_journal_id","parseTransaction","array","type","charAt","toUpperCase","slice","source_type","destination_type","description","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","log","storeLocation","zoomLevel","lng","lat","storeAccountValue","storeDate","storeTime","storeField","removeTransaction","storeGroupTitle","selectedAttachments","event","preventDefault","submitTransaction","submission","shouldSubmit","newTransactionCount","toLowerCase","currentTransaction","basicFields","ii","fieldName","originalTransaction","submissionFieldName","piggy_bank_id","currentTag","text","shouldLinks","shouldUpload","theDate","getHours","setMinutes","getMinutes","setSeconds","getSeconds","dateStr","Object","keys","submitUpdate","submitTransactionLinks","compareLinks","compare","put","url","parseErrors","$t","message","key","transactionIndex","split","deleteOriginalLinks","transaction","links","newLinks","originalLinks","inward_id","linkObject","currentLink","total","post","href","_vm","_h","$createElement","_c","_self","attrs","_v","on","staticClass","_l","$event","model","callback","$$v","$set","expression","_e","_s","directives","rawName","domProps","Array","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","source_account","name_with_balance","currency_name","currency_decimal_places","destination_account","attachments","toW3CString","year","month","day","hours","minutes","seconds","offset","getTimezoneOffset","offsetHours","abs","offsetMinutes","offsetSign","___CSS_LOADER_EXPORT___","class","descriptions","initialSet","getACURL","clearDescription","getElementsByTagName","query","lookupDescription","debounce","$emit","item","slot","timeZone","Intl","DateTimeFormat","resolvedOptions","localDate","localTime","timeString","computed","isNaN","toISOString","set","timeStr","hrs","min","sec","current","ref","composing","budgetList","emitEvent","collectData","getBudgets","parseBudgets","$$selectedVal","prototype","filter","call","options","o","selected","map","_value","multiple","Number","String","default","accountTypes","selectedAccount","accountName","selectedAccountTrigger","types","join","userSelectedAccount","systemReturnedAccount","clearAccount","lookupAccount","createInitialSet","accountKey","visible","scopedSlots","_u","fn","htmlText","required","sourceCurrencySymbol","destinationCurrencySymbol","fractionDigits","transactionAmount","formatNumber","parseFloat","str","toFixed","currencySymbol","srcCurrencySymbol","dstCurrencySymbol","sourceCurrencyId","destinationCurrencyId","isVisible","selectedCurrency","allCurrencies","selectableCurrencies","dstCurrencyId","srcCurrencyId","lockedCurrency","filterCurrencies","getAllCurrencies","dateFields","availableFields","dates","interestDate","bookDate","processDate","dueDate","paymentDate","invoiceDate","isDateField","includes","getFieldValue","setFieldValue","enabled","refInFor","categories","clearCategory","lookupCategory","selectedCategory","billList","getBills","parseBills","VueTagsInput","autocompleteItems","updateTags","tagList","shortList","initItems","clearTimeout","setTimeout","this$1","newTags","piggyList","getPiggies","parsePiggies","piggy","reference","showField","_m","searchResults","include","linkTypes","searching","getLinkTypes","removeLink","getTextForLinkType","selectTransaction","addToSelected","removeFromSelected","selectLinkType","updateSelected","resetModal","search","parseLinkTypes","inward","outward","linkTypeInward","linkTypeOutward","parseSearch","isJournalSelected","getJournalLinkType","link_type_text","NumberFormat","style","format","staticStyle","linkType","doUpload","selectedFile","$refs","att","files","LMap","LTileLayer","LMarker","zoom","center","hasMarker","bounds","marker","prepMap","myMap","mapObject","setObjectLocation","saveZoomLevel","latlng","clearLocation","zoomUpdated","centerUpdated","boundsUpdated","count","Boolean","allowSwitch","splitDate","splitTime","sourceAccount","destinationAccount","hasMetaFields","requiredFields","TransactionLocation","TransactionAttachments","TransactionNotes","TransactionExternalUrl","TransactionInternalReference","TransactionPiggyBank","TransactionTags","TransactionLinks","TransactionBill","TransactionCategory","TransactionCustomDates","TransactionForeignCurrency","TransactionForeignAmount","TransactionAmount","SwitchAccount","TransactionAccount","TransactionBudget","TransactionDescription","TransactionDate","_g","$listeners","title","__esModule","locals","add"],"mappings":"oIA0BAA,OAAOC,EAAID,OAAOE,OAASC,EAAQ,MAGnCH,OAAOI,MAAQD,EAAQ,MACvBH,OAAOI,MAAMC,SAASC,QAAQC,OAAO,oBAAsB,iBAG3D,IAAIC,EAAQC,SAASC,KAAKC,cAAc,2BAEpCH,E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CAACL,EAAG,SAAS,CAACK,YAAY,4BAA4BH,MAAM,CAAC,SAAW,KAAK,KAAO,UAAUE,GAAG,CAAC,MAAQP,EAAI8E,mBAAmB,CAAC3E,EAAG,IAAI,CAACK,YAAY,4BAA4B,GAAGR,EAAIM,GAAG,KAAMN,EAAIzQ,OAAOU,OAAS,EAAGkQ,EAAG,OAAOH,EAAIS,GAAIT,EAAU,QAAE,SAAS3S,GAAO,OAAO8S,EAAG,OAAO,CAACK,YAAY,qBAAqB,CAACR,EAAIM,GAAGN,EAAIiB,GAAG5T,IAAQ8S,EAAG,WAAU,GAAGH,EAAIgB,MAAM,KAC/lC,IGUpB,EACA,KACA,WACA,M,wBCXF,IAAI7T,EAAU,EAAQ,MACnBA,EAAQwkB,aAAYxkB,EAAUA,EAAQsa,SACnB,iBAAZta,IAAsBA,EAAU,CAAC,CAACsI,EAAOV,GAAI5H,EAAS,MAC7DA,EAAQykB,SAAQnc,EAAOC,QAAUvI,EAAQykB,SAG/BC,EADH,WACO,WAAY1kB,GAAS,EAAM,K","file":"/public/js/transactions/edit.js","sourcesContent":["/*\n * bootstrap.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// // imports\nimport Vue from 'vue';\nimport VueI18n from 'vue-i18n'\nimport * as uiv from 'uiv';\n\n// export jquery for others scripts to use\nwindow.$ = window.jQuery = require('jquery');\n\n// axios\nwindow.axios = require('axios');\nwindow.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';\n\n// CSRF\nlet token = document.head.querySelector('meta[name=\"csrf-token\"]');\n\nif (token) {\n window.axios.defaults.headers.common['X-CSRF-TOKEN'] = token.content;\n} else {\n console.error('CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token');\n}\n\n// locale\nlet localeToken = document.head.querySelector('meta[name=\"locale\"]');\n\nif (localeToken) {\n localStorage.locale = localeToken.content;\n} else {\n localStorage.locale = 'en_US';\n}\n\n// admin stuff\nrequire('jquery-ui');\nrequire('bootstrap'); // bootstrap CSS?\n\nrequire('admin-lte/dist/js/adminlte');\nrequire('overlayscrollbars');\n\n\n// vue\nwindow.vuei18n = VueI18n;\nwindow.uiv = uiv;\nVue.use(vuei18n);\nVue.use(uiv);\nwindow.Vue = Vue;","/*\n * create.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nconst lodashClonedeep = require('lodash.clonedeep');\n\nimport {getDefaultTransaction, getDefaultErrors} from '../../../../shared/transactions';\n\n// initial state\nconst state = () => ({\n transactionType: 'any',\n groupTitle: '',\n transactions: [],\n customDateFields: {\n interest_date: false,\n book_date: false,\n process_date: false,\n due_date: false,\n payment_date: false,\n invoice_date: false,\n },\n defaultTransaction: getDefaultTransaction(),\n defaultErrors: getDefaultErrors()\n }\n)\n\n\n// getters\nconst getters = {\n transactions: state => {\n return state.transactions;\n },\n groupTitle: state => {\n return state.groupTitle;\n },\n transactionType: state => {\n return state.transactionType;\n },\n accountToTransaction: state => {\n // TODO better architecture here, does not need the store.\n // possible API point!!\n return state.accountToTransaction;\n },\n defaultTransaction: state => {\n return state.defaultTransaction;\n },\n sourceAllowedTypes: state => {\n return state.sourceAllowedTypes;\n },\n destinationAllowedTypes: state => {\n return state.destinationAllowedTypes;\n },\n allowedOpposingTypes: state => {\n return state.allowedOpposingTypes;\n },\n customDateFields: state => {\n return state.customDateFields;\n }\n // // `getters` is localized to this module's getters\n // // you can use rootGetters via 4th argument of getters\n // someGetter (state, getters, rootState, rootGetters) {\n // getters.someOtherGetter // -> 'foo/someOtherGetter'\n // rootGetters.someOtherGetter // -> 'someOtherGetter'\n // rootGetters['bar/someOtherGetter'] // -> 'bar/someOtherGetter'\n // },\n\n}\n\n// actions\nconst actions = {}\n\n// mutations\nconst mutations = {\n addTransaction(state) {\n let newTransaction = lodashClonedeep(state.defaultTransaction);\n newTransaction.errors = lodashClonedeep(state.defaultErrors);\n state.transactions.push(newTransaction);\n },\n resetErrors(state, payload) {\n //console.log('resetErrors for index ' + payload.index);\n state.transactions[payload.index].errors = lodashClonedeep(state.defaultErrors);\n },\n resetTransactions(state) {\n state.transactions = [];\n },\n setGroupTitle(state, payload) {\n state.groupTitle = payload.groupTitle;\n },\n setCustomDateFields(state, payload) {\n state.customDateFields = payload;\n },\n deleteTransaction(state, payload) {\n state.transactions.splice(payload.index, 1);\n // console.log('Deleted transaction ' + payload.index);\n // console.log(state.transactions);\n if (0 === state.transactions.length) {\n // console.log('array is empty!');\n }\n },\n setTransactionType(state, transactionType) {\n state.transactionType = transactionType;\n },\n setAllowedOpposingTypes(state, allowedOpposingTypes) {\n state.allowedOpposingTypes = allowedOpposingTypes;\n },\n setAccountToTransaction(state, payload) {\n state.accountToTransaction = payload;\n },\n updateField(state, payload) {\n state.transactions[payload.index][payload.field] = payload.value;\n },\n setTransactionError(state, payload) {\n //console.log('Will set transactions[' + payload.index + '][errors][' + payload.field + '] to ');\n //console.log(payload.errors);\n state.transactions[payload.index].errors[payload.field] = payload.errors;\n },\n setDestinationAllowedTypes(state, payload) {\n // console.log('Destination allowed types was changed!');\n state.destinationAllowedTypes = payload;\n },\n setSourceAllowedTypes(state, payload) {\n state.sourceAllowedTypes = payload;\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * edit.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => ({});\n\n\n// getters\nconst getters = {};\n\n// actions\nconst actions = {};\n\n// mutations\nconst mutations = {};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => (\n {\n viewRange: 'default',\n start: null,\n end: null,\n // default range:\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 if ('default' === context.state.viewRange) {\n axios.get('./api/v1/preferences/viewRange')\n .then(response => {\n let viewRange = response.data.data.attributes.data;\n context.commit('setViewRange', viewRange);\n // call another action:\n context.dispatch('setDatesFromViewRange');\n }\n ).catch(error => {\n // console.log(error);\n context.commit('setViewRange', '1M');\n // call another action:\n context.dispatch('setDatesFromViewRange');\n });\n }\n },\n setDatesFromViewRange(context) {\n // console.log('Must set dates from viewRange \"' + context.state.viewRange + '\"');\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 if (null !== context.getters.end && null !== context.getters.start) {\n return;\n }\n let start;\n let end;\n let viewRange = context.getters.viewRange;\n // console.log('Will recreate view range on ' + viewRange);\n switch (viewRange) {\n case '1D':\n // one day:\n start = new Date;\n end = new Date(start.getTime());\n start.setHours(0, 0, 0, 0);\n end.setHours(23, 59, 59, 999);\n break;\n case '1W':\n // this week:\n start = new Date;\n end = new Date(start.getTime());\n // start of week\n let diff = start.getDate() - start.getDay() + (start.getDay() === 0 ? -6 : 1);\n start.setDate(diff);\n start.setHours(0, 0, 0, 0);\n\n // end of week\n let lastday = end.getDate() - (end.getDay() - 1) + 6;\n end.setDate(lastday);\n end.setHours(23, 59, 59, 999);\n break;\n case '1M':\n // this month:\n start = new Date;\n start = new Date(start.getFullYear(), start.getMonth(), 1);\n start.setHours(0, 0, 0, 0);\n end = new Date(start.getFullYear(), start.getMonth() + 1, 0);\n end.setHours(23, 59, 59, 999);\n break;\n case '3M':\n // this quarter\n start = new Date;\n end = new Date;\n let quarter = Math.floor((start.getMonth() + 3) / 3) - 1;\n // start and end months? I'm sure this could be better:\n let startMonths = [0, 3, 6, 9];\n let endMonths = [2, 5, 8, 11];\n // set start to the correct month, day one:\n start = new Date(start.getFullYear(), startMonths[quarter], 1);\n start.setHours(0, 0, 0, 0);\n\n // set end to the correct month, day one\n end = new Date(end.getFullYear(), endMonths[quarter], 1);\n // then to the last day of the month:\n end = new Date(end.getFullYear(), end.getMonth() + 1, 0);\n end.setHours(23, 59, 59, 999);\n break;\n case '6M':\n // this half-year\n start = new Date;\n end = new Date;\n let half = start.getMonth() <= 5 ? 0 : 1;\n\n let startHalf = [0, 6];\n let endHalf = [5, 11];\n // set start to the correct month, day one:\n start = new Date(start.getFullYear(), startHalf[half], 1);\n start.setHours(0, 0, 0, 0);\n\n // set end to the correct month, day one\n end = new Date(end.getFullYear(), endHalf[half], 1);\n // then to the last day of the month:\n end = new Date(end.getFullYear(), end.getMonth() + 1, 0);\n end.setHours(23, 59, 59, 999);\n break;\n case '1Y':\n // this year\n start = new Date;\n end = new Date;\n start = new Date(start.getFullYear(), 0, 1);\n\n end = new Date(end.getFullYear(), 11, 31);\n start.setHours(0, 0, 0, 0);\n end.setHours(23, 59, 59, 999);\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 }\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 }\n)\n\n\n// getters\nconst getters = {\n listPageSize: state => {\n // console.log('Wil return ' + state.listPageSize);\n return state.listPageSize;\n },\n}\n\n// actions\nconst actions = {\n initialiseStore(context) {\n // console.log('Now in root initialiseStore');\n // if list length in local storage:\n if (localStorage.listPageSize) {\n // console.log('listPageSize is in localStorage')\n // console.log('Init list page size with value ');\n // console.log(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 }\n}\n\n// mutations\nconst mutations = {\n setListPageSize(state, payload) {\n // console.log('Got a payload in setListPageSize');\n // console.log(payload);\n let number = parseInt(payload.length);\n if (0 !== number) {\n state.listPageSize = number;\n\n }\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => (\n {\n orderMode: false,\n activeFilter: 1\n }\n)\n\n\n// getters\nconst getters = {\n orderMode: state => {\n return state.orderMode;\n },\n activeFilter: state => {\n return state.activeFilter;\n }\n}\n\n// actions\nconst actions = {}\n\n// mutations\nconst mutations = {\n setOrderMode(state, payload) {\n state.orderMode = payload;\n },\n setActiveFilter(state, payload) {\n state.activeFilter = payload;\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nimport Vue from 'vue'\nimport Vuex, {createLogger} from 'vuex'\nimport transactions_create from './modules/transactions/create';\nimport transactions_edit from './modules/transactions/edit';\nimport dashboard_index from './modules/dashboard/index';\nimport root_store from './modules/root';\nimport accounts_index from './modules/accounts/index';\n\nVue.use(Vuex)\nconst debug = process.env.NODE_ENV !== 'production'\n\nexport default new Vuex.Store(\n {\n namespaced: true,\n modules: {\n root: root_store,\n transactions: {\n namespaced: true,\n modules: {\n create: transactions_create,\n edit: transactions_edit\n }\n },\n accounts: {\n namespaced: true,\n modules: {\n index: accounts_index\n },\n },\n dashboard: {\n namespaced: true,\n modules: {\n index: dashboard_index\n }\n }\n },\n strict: debug,\n plugins: debug ? [createLogger()] : [],\n state: {\n currencyPreference: {},\n locale: 'en-US',\n listPageSize: 50\n },\n mutations: {\n setCurrencyPreference(state, payload) {\n state.currencyPreference = payload.payload;\n },\n initialiseStore(state) {\n // if locale in local storage:\n if (localStorage.locale) {\n state.locale = localStorage.locale;\n return;\n }\n\n // set locale from HTML:\n let localeToken = document.head.querySelector('meta[name=\"locale\"]');\n if (localeToken) {\n state.locale = localeToken.content;\n localStorage.locale = localeToken.content;\n }\n }\n },\n getters: {\n currencyCode: state => {\n return state.currencyPreference.code;\n },\n currencyPreference: state => {\n return state.currencyPreference;\n },\n currencyId: state => {\n return state.currencyPreference.id;\n },\n locale: state => {\n return state.locale;\n }\n },\n actions: {\n\n updateCurrencyPreference(context) {\n if (localStorage.currencyPreference) {\n context.commit('setCurrencyPreference', {payload: JSON.parse(localStorage.currencyPreference)});\n return;\n }\n axios.get('./api/v1/currencies/default')\n .then(response => {\n let currencyResponse = {\n id: parseInt(response.data.data.id),\n name: response.data.data.attributes.name,\n symbol: response.data.data.attributes.symbol,\n code: response.data.data.attributes.code,\n decimal_places: parseInt(response.data.data.attributes.decimal_places),\n };\n localStorage.currencyPreference = JSON.stringify(currencyResponse);\n //console.log('getCurrencyPreference from server')\n //console.log(JSON.stringify(currencyResponse));\n context.commit('setCurrencyPreference', {payload: currencyResponse});\n }).catch(err => {\n // console.log('Got error response.');\n console.error(err);\n context.commit('setCurrencyPreference', {\n payload: {\n id: 1,\n name: 'Euro',\n symbol: '€',\n code: 'EUR',\n decimal_places: 2\n }\n });\n });\n\n }\n }\n }\n);","/*\n * i18n.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// Create VueI18n instance with options\nmodule.exports = new vuei18n({\n locale: document.documentElement.lang, // set locale\n fallbackLocale: 'en',\n messages: {\n 'bg': require('./locales/bg.json'),\n 'cs': require('./locales/cs.json'),\n 'de': require('./locales/de.json'),\n 'en': require('./locales/en.json'),\n 'en-us': require('./locales/en.json'),\n 'en-gb': require('./locales/en-gb.json'),\n 'es': require('./locales/es.json'),\n 'el': require('./locales/el.json'),\n 'fr': require('./locales/fr.json'),\n 'hu': require('./locales/hu.json'),\n //'id': require('./locales/id.json'),\n 'it': require('./locales/it.json'),\n 'nl': require('./locales/nl.json'),\n 'nb': require('./locales/nb.json'),\n 'pl': require('./locales/pl.json'),\n 'fi': require('./locales/fi.json'),\n 'pt-br': require('./locales/pt-br.json'),\n 'pt-pt': require('./locales/pt.json'),\n 'ro': require('./locales/ro.json'),\n 'ru': require('./locales/ru.json'),\n //'zh': require('./locales/zh.json'),\n 'zh-tw': require('./locales/zh-tw.json'),\n 'zh-cn': require('./locales/zh-cn.json'),\n 'sk': require('./locales/sk.json'),\n 'sv': require('./locales/sv.json'),\n 'vi': require('./locales/vi.json'),\n }\n});\n","<!--\n - Edit.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div>\n <Alert :message=\"errorMessage\" type=\"danger\"/>\n <Alert :message=\"successMessage\" type=\"success\"/>\n <Alert :message=\"warningMessage\" type=\"warning\"/>\n <form @submit=\"submitTransaction\">\n <SplitPills :transactions=\"transactions\"/>\n\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 :transaction=\"transaction\"\n :allowed-opposing-types=\"allowedOpposingTypes\"\n :custom-fields=\"customFields\"\n :date=\"date\"\n :time=\"time\"\n :index=\"index\"\n :transaction-type=\"transactionType\"\n :destination-allowed-types=\"destinationAllowedTypes\"\n :source-allowed-types=\"sourceAllowedTypes\"\n :allow-switch=\"false\"\n :submitted-transaction=\"submittedTransaction\"\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-time=\"storeTime($event)\"\n v-on:set-field=\"storeField($event)\"\n v-on:remove-transaction=\"removeTransaction($event)\"\n v-on:selected-attachments=\"selectedAttachments($event)\"\n />\n </div>\n\n <!-- bottom buttons etc -->\n <div class=\"row\">\n <!-- group title -->\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <div v-if=\"transactions.length > 1\" class=\"card\">\n <div class=\"card-body\">\n <div class=\"row\">\n <div class=\"col\">\n <TransactionGroupTitle v-model=\"this.groupTitle\" :errors=\"this.groupTitleErrors\" v-on:set-group-title=\"storeGroupTitle($event)\"/>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <!-- buttons -->\n <div class=\"card\">\n <div class=\"card-body\">\n <div class=\"row\">\n <div class=\"col\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n \n </div>\n <button class=\"btn btn-outline-primary btn-block\" @click=\"addTransaction\"><i class=\"far fa-clone\"></i> {{ $t('firefly.add_another_split') }}\n </button>\n </div>\n <div class=\"col\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n \n </div>\n <button :disabled=\"!enableSubmit\" class=\"btn btn-info btn-block\" @click=\"submitTransaction\">\n <span v-if=\"enableSubmit\"><i class=\"far fa-save\"></i> {{ $t('firefly.update_transaction') }}</span>\n <span v-if=\"!enableSubmit\"><i class=\"fas fa-spinner fa-spin\"></i></span>\n </button>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col\">\n \n </div>\n <div class=\"col\">\n <div class=\"form-check\">\n <input id=\"stayHere\" v-model=\"stayHere\" class=\"form-check-input\" type=\"checkbox\">\n <label class=\"form-check-label\" for=\"stayHere\">\n <span class=\"small\">{{ $t('firefly.after_update_create_another') }}</span>\n </label>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </form>\n </div>\n</template>\n\n<script>\nconst lodashClonedeep = require('lodash.clonedeep');\nimport Alert from '../partials/Alert';\nimport SplitPills from \"./SplitPills\";\nimport SplitForm from \"./SplitForm\";\nimport TransactionGroupTitle from \"./TransactionGroupTitle\";\nimport {getDefaultErrors, getDefaultTransaction, toW3CString} from '../../shared/transactions';\n\nexport default {\n name: \"Edit\",\n created() {\n let parts = window.location.pathname.split('/');\n this.groupId = parseInt(parts[parts.length - 1]);\n\n this.getTransactionGroup();\n this.getAllowedOpposingTypes();\n this.getCustomFields();\n },\n data() {\n return {\n successMessage: '',\n errorMessage: '',\n warningMessage: '',\n\n // transaction props\n transactions: [],\n originalTransactions: [],\n groupTitle: '',\n originalGroupTitle: '',\n transactionType: 'any',\n groupId: 0,\n\n // errors in the group title:\n groupTitleErrors: [],\n\n // which custom fields to show\n customFields: {},\n\n // group ID + title once submitted:\n returnedGroupId: 0,\n returnedGroupTitle: '',\n\n // date and time of the transaction,\n date: new Date,\n time: new Date,\n originalDate: new Date,\n originalTime: new Date,\n\n // things the process is done working on (3 phases):\n submittedTransaction: false,\n submittedLinks: false,\n submittedAttachments: false,\n inError: false,\n\n // meta data for accounts\n allowedOpposingTypes: {},\n destinationAllowedTypes: [],\n sourceAllowedTypes: [],\n\n // states for the form (makes sense right)\n enableSubmit: true,\n stayHere: false,\n\n }\n },\n components: {\n Alert,\n SplitPills,\n SplitForm,\n TransactionGroupTitle\n },\n\n watch: {\n submittedTransaction: function () {\n // see finalizeSubmit()\n this.finalizeSubmit();\n },\n submittedLinks: function () {\n // see finalizeSubmit()\n this.finalizeSubmit();\n },\n submittedAttachments: function () {\n // see finalizeSubmit()\n this.finalizeSubmit();\n }\n },\n\n methods: {\n /**\n * Grap transaction group from URL and submit GET.\n */\n getTransactionGroup: function () {\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 for (let i in transactions) {\n if (transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\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 this.sourceAllowedTypes = [array.source_type];\n this.destinationAllowedTypes = [array.destination_type];\n this.date = new Date(array.date);\n this.time = new Date(array.date);\n this.originalDate = new Date(array.date);\n this.originalTime = new Date(array.date);\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\n // error handling\n result.errors = getDefaultErrors();\n return result;\n },\n /**\n * Get the links of this transaction group from the API.\n */\n parseLinks: function (journalId, index) {\n axios.get('./api/v1/transaction-journals/' + journalId + '/links')\n .then(response => {\n let links = response.data.data;\n for (let i in links) {\n if (links.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n this.parseLink(links[i], journalId, index);\n }\n }\n });\n },\n\n /**\n * Process individual link from the API.\n */\n parseLink: function (link, journalId, index) {\n let promises = [];\n let opposingId = parseInt(link.attributes.inward_id);\n let linkDirection = 'inward';\n if (opposingId === journalId) {\n opposingId = parseInt(link.attributes.outward_id);\n linkDirection = 'outward';\n }\n // add meta data to promise context.\n promises.push(new Promise((resolve) => {\n resolve(\n {\n link: link,\n journalId: journalId,\n opposingId: opposingId,\n index: index,\n direction: linkDirection\n }\n );\n }));\n\n // get stuff from the API:\n promises.push(axios.get('./api/v1/transaction-journals/' + opposingId));\n promises.push(axios.get('./api/v1/transaction_links/' + link.attributes.link_type_id));\n\n Promise.all(promises).then(responses => {\n let journals = responses[1].data.data.attributes.transactions;\n let opposingId = responses[0].opposingId;\n let journal = {};\n // loop over journals to get the correct one:\n for (let i in journals) {\n if (journals.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n if (journals[i].transaction_journal_id === opposingId) {\n journal = journals[i];\n }\n }\n }\n let index = responses[0].index;\n let direction = responses[0].direction;\n let linkTypeId = responses[2].data.data.id;\n let object = {\n id: link.id,\n link_type_id: linkTypeId + '-' + direction,\n transaction_group_id: responses[1].data.data.id,\n transaction_journal_id: journal.transaction_journal_id,\n description: journal.description,\n type: journal.type,\n currency_code: journal.currency_code,\n amount: journal.amount\n };\n this.transactions[index].links.push(object);\n this.originalTransactions[index].links.push(object);\n });\n },\n /**\n * TODO same method as Create\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 // console.log('Set allowedOpposingTypes');\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 },\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 // console.log('event: storeDate');\n // console.log(payload);\n this.date = payload.date;\n },\n storeTime: function (payload) {\n this.time = payload.time;\n // console.log('event: storeTime');\n // console.log(payload);\n },\n storeField: function (payload) {\n let field = payload.field;\n if ('category' === field) {\n field = 'category_name';\n }\n // console.log('event: storeField(' + field + ')');\n this.transactions[payload.index][field] = payload.value;\n\n },\n removeTransaction: function (payload) {\n this.transactions.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 for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n if (parseInt(this.transactions[i].transaction_journal_id) === parseInt(payload)) {\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 () {\n let submission = {transactions: []};\n let shouldSubmit = false;\n let shouldLinks = false;\n let shouldUpload = false;\n if (this.groupTitle !== this.originalGroupTitle) {\n submission.group_title = this.groupTitle;\n shouldSubmit = true;\n }\n let transactionCount = this.originalTransactions.length;\n let newTransactionCount = this.transactions.length;\n console.log('Found ' + this.transactions.length + ' split(s).');\n\n if (newTransactionCount > 1 && typeof submission.group_title === 'undefined' && (null === this.originalGroupTitle || '' === this.originalGroupTitle)) {\n submission.group_title = this.transactions[0].description;\n }\n\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\n let diff = {};\n\n // compare basic fields:\n let basicFields = [\n 'description',\n 'source_account_id', 'source_account_name',\n 'destination_account_id', 'destination_account_name',\n 'amount', 'foreign_amount', 'foreign_currency_id',\n 'category_name', 'budget_id', 'bill_id',\n 'interest_date', 'book_date', 'due_date', 'payment_date', 'invoice_date',\n 'external_url', 'internal_reference', 'external_id', 'notes',\n 'zoom_level', 'longitude', 'latitude'\n ];\n\n // source and destination may be overruled:\n if (i > 0) {\n diff.type = this.transactionType.toLowerCase();\n if ('Deposit' === this.transactionType || 'Transfer' === this.transactionType) {\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 if ('Withdrawal' === this.transactionType || 'Transfer' === this.transactionType) {\n currentTransaction.source_account_name = this.originalTransactions[0].source_account_name;\n currentTransaction.source_account_id = this.originalTransactions[0].source_account_id;\n }\n console.log('Will overrule accounts for split ' + i);\n }\n\n for (let ii in basicFields) {\n if (basicFields.hasOwnProperty(ii) && /^0$|^[1-9]\\d*$/.test(ii) && ii <= 4294967294) {\n let fieldName = basicFields[ii];\n let submissionFieldName = fieldName;\n\n // if the original is undefined and the new one is null, just skip it.\n if (currentTransaction[fieldName] === null && 'undefined' === typeof originalTransaction[fieldName]) {\n continue;\n }\n\n if (currentTransaction[fieldName] !== originalTransaction[fieldName]) {\n // some fields are ignored:\n if ('foreign_amount' === submissionFieldName && '' === currentTransaction[fieldName]) {\n continue;\n }\n if ('foreign_currency_id' === submissionFieldName && 0 === currentTransaction[fieldName]) {\n continue;\n }\n\n\n // console.log('Index ' + i + ': Field ' + fieldName + ' updated (\"' + originalTransaction[fieldName] + '\" > \"' + currentTransaction[fieldName] + '\")');\n // console.log(originalTransaction[fieldName]);\n // console.log(currentTransaction[fieldName]);\n\n // some field names may need to be different. little basic but it works:\n // console.log('pre: ' + submissionFieldName);\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\n diff[submissionFieldName] = currentTransaction[fieldName];\n shouldSubmit = true;\n }\n }\n }\n if (0 !== currentTransaction.piggy_bank_id) {\n diff.piggy_bank_id = currentTransaction.piggy_bank_id;\n shouldSubmit = true;\n }\n if (JSON.stringify(currentTransaction.tags) !== JSON.stringify(originalTransaction.tags)) {\n // console.log('tags are different');\n // console.log(currentTransaction.tags);\n // console.log(originalTransaction.tags);\n diff.tags = [];//currentTransaction.tags;\n\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 // array.tags\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\n shouldSubmit = true;\n }\n\n // compare links:\n let newLinks = this.compareLinks(currentTransaction.links);\n let originalLinks = this.compareLinks(originalTransaction.links);\n // console.log('links are?');\n // console.log(newLinks);\n // console.log(originalLinks);\n if (newLinks !== originalLinks) {\n // console.log('links are different!');\n // console.log(newLinks);\n // console.log(originalLinks);\n shouldLinks = true;\n }\n // this.transactions[i].selectedAttachments\n // console.log(typeof currentTransaction.selectedAttachments);\n // console.log(currentTransaction.selectedAttachments);\n if (typeof currentTransaction.selectedAttachments !== 'undefined' && true === currentTransaction.selectedAttachments) {\n // must upload!\n shouldUpload = true;\n }\n\n let dateStr = 'invalid';\n if (\n this.date.toISOString() !== this.originalDate.toISOString() ||\n this.time.toISOString() !== this.originalTime.toISOString()\n ) {\n console.log('Date and/or time is changed');\n // set date and time!\n shouldSubmit = true;\n let theDate = this.date;\n // update time in date object.\n theDate.setHours(this.time.getHours());\n theDate.setMinutes(this.time.getMinutes());\n theDate.setSeconds(this.time.getSeconds());\n dateStr = toW3CString(theDate);\n diff.date = dateStr;\n }\n console.log('Now at index ' + i);\n console.log(Object.keys(diff).length);\n if (Object.keys(diff).length === 0 && newTransactionCount > 1) {\n console.log('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 diff.transaction_journal_id = originalTransaction.transaction_journal_id ?? 0;\n submission.transactions.push(lodashClonedeep(diff));\n shouldSubmit = true;\n }\n }\n }\n\n console.log('submitTransaction');\n console.log('shouldUpload : ' + shouldUpload);\n console.log('shouldLinks : ' + shouldLinks);\n console.log('shouldSubmit : ' + shouldSubmit);\n if (shouldSubmit) {\n this.submitUpdate(submission, shouldLinks, shouldUpload);\n }\n if (!shouldSubmit) {\n this.submittedTransaction = true;\n }\n if (!shouldLinks) {\n this.submittedLinks = true;\n }\n if (!shouldUpload) {\n this.submittedAttachments = true;\n }\n if (!shouldSubmit && shouldLinks) {\n this.submitTransactionLinks();\n }\n\n if (!shouldSubmit && shouldLinks) {\n // TODO\n //this.submittedAttachments();\n }\n console.log('Done with submit methd.');\n //console.log(submission);\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 // console.log('compareLinks');\n // console.log(compare);\n return JSON.stringify(compare);\n },\n submitUpdate: function (submission, shouldLinks, shouldUpload) {\n console.log('submitUpdate');\n this.inError = false;\n const url = './api/v1/transactions/' + this.groupId;\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('Need to update links.');\n this.submitTransactionLinks();\n }\n if (!shouldLinks) {\n console.log('No need to update links.');\n }\n // TODO attachments:\n // this.submitAttachments(data, response);\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 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 console.log(transaction.links);\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 axios.delete(url).then(response => {\n // TODO response\n });\n }\n }\n },\n\n /**\n * Submit transaction links.\n * TODO same method as CREATE\n */\n submitTransactionLinks() {\n let total = 0;\n let promises = [];\n\n console.log('submitTransactionLinks()');\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 // compare links:\n let newLinks = this.compareLinks(currentTransaction.links);\n let originalLinks = this.compareLinks(originalTransaction.links);\n if (newLinks !== originalLinks) {\n if ('[]' !== originalLinks) {\n this.deleteOriginalLinks(originalTransaction);\n }\n\n console.log('links are different!');\n // console.log(newLinks);\n // console.log(originalLinks);\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\n console.log(linkObject);\n total++;\n // submit transaction link:\n promises.push(axios.post('./api/v1/transaction_links', linkObject).then(response => {\n // TODO error handling.\n }));\n }\n }\n // shouldLinks = true;\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 finalizeSubmit: function () {\n console.log('now in finalizeSubmit()');\n console.log('submittedTransaction : ' + this.submittedTransaction);\n console.log('submittedLinks : ' + this.submittedLinks);\n console.log('submittedAttachments : ' + this.submittedAttachments);\n\n if (this.submittedTransaction && this.submittedAttachments && this.submittedLinks) {\n console.log('all true');\n console.log('inError = ' + this.inError);\n console.log('stayHere = ' + this.stayHere);\n console.log('returnedGroupId = ' + this.returnedGroupId);\n\n // no error + no changes + no redirect\n if (true === this.stayHere && false === this.inError && 0 === this.returnedGroupId) {\n console.log('no error + no changes + no redirect');\n // show message:\n this.errorMessage = '';\n this.successMessage = '';\n // maybe nothing changed in post\n this.warningMessage = this.$t('firefly.transaction_updated_no_changes', {ID: this.returnedGroupId, title: this.returnedGroupTitle});\n }\n\n // no error + no changes + redirect\n if (false === this.stayHere && false === this.inError && 0 === this.returnedGroupId) {\n console.log('no error + no changes + redirect');\n window.location.href = (window.previousURL ?? '/') + '?transaction_group_id=' + this.groupId + '&message=no_change';\n }\n // no error + changes + no redirect\n if (true === this.stayHere && false === this.inError && 0 !== this.returnedGroupId) {\n console.log('no error + changes + redirect');\n // show message:\n this.errorMessage = '';\n this.warningMessage = '';\n // maybe nothing changed in post\n this.successMessage = this.$t('firefly.transaction_updated_link', {ID: this.returnedGroupId, title: this.returnedGroupTitle});\n }\n\n // no error + changes + redirect\n if (false === this.stayHere && false === this.inError && 0 !== this.returnedGroupId) {\n console.log('no error + changes + redirect');\n window.location.href = (window.previousURL ?? '/') + '?transaction_group_id=' + this.groupId + '&message=updated';\n }\n console.log('end of the line');\n // enable flags:\n this.enableSubmit = true;\n this.submittedTransaction = false;\n this.submittedLinks = false;\n this.submittedAttachments = false;\n this.inError = false;\n\n // reset attachments (always do this)\n for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n if (this.transactions.hasOwnProperty(i)) {\n // TODO\n }\n }\n }\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Edit.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Edit.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Edit.vue?vue&type=template&id=05234dfc&scoped=true&\"\nimport script from \"./Edit.vue?vue&type=script&lang=js&\"\nexport * from \"./Edit.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"05234dfc\",\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',{on:{\"submit\":_vm.submitTransaction}},[_c('SplitPills',{attrs:{\"transactions\":_vm.transactions}}),_vm._v(\" \"),_c('div',{staticClass:\"tab-content\"},_vm._l((this.transactions),function(transaction,index){return _c('SplitForm',{key:index,attrs:{\"count\":_vm.transactions.length,\"transaction\":transaction,\"allowed-opposing-types\":_vm.allowedOpposingTypes,\"custom-fields\":_vm.customFields,\"date\":_vm.date,\"time\":_vm.time,\"index\":index,\"transaction-type\":_vm.transactionType,\"destination-allowed-types\":_vm.destinationAllowedTypes,\"source-allowed-types\":_vm.sourceAllowedTypes,\"allow-switch\":false,\"submitted-transaction\":_vm.submittedTransaction},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-time\":function($event){return _vm.storeTime($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\",on:{\"click\":_vm.addTransaction}},[_c('i',{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-info btn-block\",attrs:{\"disabled\":!_vm.enableSubmit},on:{\"click\":_vm.submitTransaction}},[(_vm.enableSubmit)?_c('span',[_c('i',{staticClass:\"far fa-save\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.update_transaction')))]):_vm._e(),_vm._v(\" \"),(!_vm.enableSubmit)?_c('span',[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e()])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_vm._v(\"\\n \\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"form-check\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.stayHere),expression:\"stayHere\"}],staticClass:\"form-check-input\",attrs:{\"id\":\"stayHere\",\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.stayHere)?_vm._i(_vm.stayHere,null)>-1:(_vm.stayHere)},on:{\"change\":function($event){var $$a=_vm.stayHere,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.stayHere=$$a.concat([$$v]))}else{$$i>-1&&(_vm.stayHere=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.stayHere=$$c}}}}),_vm._v(\" \"),_c('label',{staticClass:\"form-check-label\",attrs:{\"for\":\"stayHere\"}},[_c('span',{staticClass:\"small\"},[_vm._v(_vm._s(_vm.$t('firefly.after_update_create_another')))])])])])])])])])])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/*\n * edit.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nimport store from \"../../components/store\";\nimport Edit from \"../../components/transactions/Edit\";\nimport Vue from \"vue\";\n\nrequire('../../bootstrap');\n\nVue.config.productionTip = false;\n// i18n\nlet i18n = require('../../i18n');\n\nlet props = {};\nnew Vue({\n i18n,\n store,\n render(createElement) {\n return createElement(Edit, {props: props});\n },\n beforeCreate() {\n this.$store.commit('initialiseStore');\n this.$store.dispatch('updateCurrencyPreference');\n },\n }).$mount('#transactions_edit');\n","/*\n * transactions.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nexport function getDefaultErrors() {\n return {\n description: [],\n amount: [],\n source: [],\n destination: [],\n currency: [],\n foreign_currency: [],\n foreign_amount: [],\n date: [],\n custom_dates: [],\n budget: [],\n category: [],\n bill: [],\n tags: [],\n piggy_bank: [],\n internal_reference: [],\n external_url: [],\n notes: [],\n location: []\n };\n}\n\nexport function getDefaultTransaction() {\n return {\n // basic\n description: '',\n transaction_journal_id: 0,\n // accounts:\n source_account_id: null,\n source_account_name: null,\n source_account_type: null,\n\n source_account_currency_id: null,\n source_account_currency_code: null,\n source_account_currency_symbol: null,\n\n destination_account_id: null,\n destination_account_name: null,\n destination_account_type: null,\n\n destination_account_currency_id: null,\n destination_account_currency_code: null,\n destination_account_currency_symbol: null,\n\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 attachments: [],\n // location:\n zoom_level: null,\n longitude: null,\n latitude: null,\n\n // error handling\n errors: {},\n }\n}\n\nexport function toW3CString(date) {\n // https://gist.github.com/tristanlins/6585391\n let year = date.getFullYear();\n let month = date.getMonth();\n month++;\n if (month < 10) {\n month = '0' + month;\n }\n let day = date.getDate();\n if (day < 10) {\n day = '0' + day;\n }\n let hours = date.getHours();\n if (hours < 10) {\n hours = '0' + hours;\n }\n let minutes = date.getMinutes();\n if (minutes < 10) {\n minutes = '0' + minutes;\n }\n let seconds = date.getSeconds();\n if (seconds < 10) {\n seconds = '0' + seconds;\n }\n let offset = -date.getTimezoneOffset();\n let offsetHours = Math.abs(Math.floor(offset / 60));\n let offsetMinutes = Math.abs(offset) - offsetHours * 60;\n if (offsetHours < 10) {\n offsetHours = '0' + offsetHours;\n }\n if (offsetMinutes < 10) {\n offsetMinutes = '0' + offsetMinutes;\n }\n let offsetSign = '+';\n if (offset < 0) {\n offsetSign = '-';\n }\n return year + '-' + month + '-' + day +\n 'T' + hours + ':' + minutes + ':' + seconds +\n offsetSign + offsetHours + ':' + offsetMinutes;\n}","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/cssWithMappingToString.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".vue-tags-input{max-width:100%!important;display:block}.ti-input,.vue-tags-input{width:100%;border-radius:.25rem}.ti-input{max-width:100%}.ti-new-tag-input{font-size:1rem}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/transactions/TransactionTags.vue\"],\"names\":[],\"mappings\":\"AA2HA,gBAEA,wBAAA,CACA,aAEA,CAEA,0BANA,UAAA,CAGA,oBAOA,CAJA,UAEA,cAEA,CAEA,kBACA,cACA\",\"sourcesContent\":[\"<!--\\n - TransactionTags.vue\\n - Copyright (c) 2021 [email protected]\\n -\\n - This file is part of Firefly III (https://github.com/firefly-iii).\\n -\\n - This program is free software: you can redistribute it and/or modify\\n - it under the terms of the GNU Affero General Public License as\\n - published by the Free Software Foundation, either version 3 of the\\n - License, or (at your option) any later version.\\n -\\n - This program is distributed in the hope that it will be useful,\\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\\n - GNU Affero General Public License for more details.\\n -\\n - You should have received a copy of the GNU Affero General Public License\\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\\n -->\\n\\n<template>\\n <div class=\\\"form-group\\\">\\n <div class=\\\"text-xs d-none d-lg-block d-xl-block\\\">\\n {{ $t('firefly.tags') }}\\n </div>\\n <div class=\\\"input-group\\\">\\n <vue-tags-input\\n v-model=\\\"currentTag\\\"\\n :add-only-from-autocomplete=\\\"false\\\"\\n :autocomplete-items=\\\"autocompleteItems\\\"\\n :tags=\\\"tags\\\"\\n :title=\\\"$t('firefly.tags')\\\"\\n v-bind:placeholder=\\\"$t('firefly.tags')\\\"\\n @tags-changed=\\\"newTags => this.tags = newTags\\\"\\n />\\n </div>\\n <span v-if=\\\"errors.length > 0\\\">\\n <span v-for=\\\"error in errors\\\" class=\\\"text-danger small\\\">{{ error }}<br/></span>\\n </span>\\n </div>\\n</template>\\n\\n<script>\\nimport VueTagsInput from \\\"@johmun/vue-tags-input\\\";\\nimport axios from \\\"axios\\\";\\n\\nexport default {\\n name: \\\"TransactionTags\\\",\\n components: {\\n VueTagsInput\\n },\\n props: ['value', 'index', 'errors'],\\n data() {\\n return {\\n autocompleteItems: [],\\n debounce: null,\\n tags: [],\\n currentTag: '',\\n updateTags: true, // the idea is that this is always true, except when the tags-function sets the value.\\n tagList: this.value,\\n emitEvent: true\\n };\\n },\\n created() {\\n let tags = [];\\n for (let i in this.value) {\\n if (this.value.hasOwnProperty(i) && /^0$|^[1-9]\\\\d*$/.test(i) && i <= 4294967294) {\\n tags.push({text: this.value[i]});\\n }\\n }\\n this.updateTags = false;\\n this.tags = tags;\\n },\\n watch: {\\n 'currentTag': 'initItems',\\n value: function (value) {\\n this.emitEvent = false;\\n this.tagList = value;\\n },\\n tagList: function (value) {\\n console.log('watch tagList');\\n if (true === this.emitEvent) {\\n this.$emit('set-field', {field: 'tags', index: this.index, value: value});\\n }\\n this.emitEvent = true;\\n this.updateTags = false;\\n this.tags = value;\\n },\\n tags: function (value) {\\n if (this.updateTags) {\\n let shortList = [];\\n for (let key in value) {\\n if (value.hasOwnProperty(key)) {\\n shortList.push({text: value[key].text});\\n }\\n }\\n this.tagList = shortList;\\n }\\n this.updateTags = true;\\n }\\n },\\n methods: {\\n initItems() {\\n if (this.currentTag.length < 2) {\\n return;\\n }\\n const url = document.getElementsByTagName('base')[0].href + `api/v1/autocomplete/tags?query=${this.currentTag}`;\\n\\n clearTimeout(this.debounce);\\n this.debounce = setTimeout(() => {\\n axios.get(url).then(response => {\\n this.autocompleteItems = response.data.map(item => {\\n return {text: item.tag};\\n });\\n }).catch(() => console.warn('Oh. Something went wrong loading tags.'));\\n }, 300);\\n },\\n },\\n\\n\\n}\\n</script>\\n<style>\\n.vue-tags-input {\\n width: 100%;\\n max-width: 100% !important;\\n display: block;\\n border-radius: 0.25rem;\\n}\\n\\n.ti-input {\\n border-radius: 0.25rem;\\n max-width: 100%;\\n width: 100%;\\n}\\n\\n.ti-new-tag-input {\\n font-size: 1rem;\\n}\\n</style>\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","<!--\n - Alert.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n<template>\n <div v-if=\"message.length > 0\" :class=\"'alert alert-' + type + ' alert-dismissible'\">\n <button aria-hidden=\"true\" class=\"close\" data-dismiss=\"alert\" type=\"button\">×</button>\n <h5>\n <i v-if=\"'danger' === type\" class=\"icon fas fa-ban\"></i>\n <i v-if=\"'success' === type\" class=\"icon fas fa-thumbs-up\"></i>\n <span v-if=\"'danger' === type\">{{ $t(\"firefly.flash_error\") }}</span>\n <span v-if=\"'success' === type\">{{ $t(\"firefly.flash_success\") }}</span>\n </h5>\n <span v-html=\"message\"></span>\n </div>\n</template>\n<script>\nexport default {\n name: \"Alert\",\n props: ['message', 'type']\n}\n</script>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Alert.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Alert.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Alert.vue?vue&type=template&id=df266c68&\"\nimport script from \"./Alert.vue?vue&type=script&lang=js&\"\nexport * from \"./Alert.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.message.length > 0)?_c('div',{class:'alert alert-' + _vm.type + ' alert-dismissible'},[_c('button',{staticClass:\"close\",attrs:{\"aria-hidden\":\"true\",\"data-dismiss\":\"alert\",\"type\":\"button\"}},[_vm._v(\"×\")]),_vm._v(\" \"),_c('h5',[('danger' === _vm.type)?_c('i',{staticClass:\"icon fas fa-ban\"}):_vm._e(),_vm._v(\" \"),('success' === _vm.type)?_c('i',{staticClass:\"icon fas fa-thumbs-up\"}):_vm._e(),_vm._v(\" \"),('danger' === _vm.type)?_c('span',[_vm._v(_vm._s(_vm.$t(\"firefly.flash_error\")))]):_vm._e(),_vm._v(\" \"),('success' === _vm.type)?_c('span',[_vm._v(_vm._s(_vm.$t(\"firefly.flash_success\")))]):_vm._e()]),_vm._v(\" \"),_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.message)}})]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:'tab-pane' + (0===_vm.index ? ' active' : ''),attrs:{\"id\":'split_' + _vm.index}},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.basic_journal_information'))+\"\\n \"),(_vm.count > 1)?_c('span',[_vm._v(\"(\"+_vm._s(_vm.index + 1)+\" / \"+_vm._s(_vm.count)+\") \")]):_vm._e()]),_vm._v(\" \"),(_vm.count>1)?_c('div',{staticClass:\"card-tools\"},[_c('button',{staticClass:\"btn btn-danger btn-xs\",on:{\"click\":_vm.removeTransaction}},[_c('i',{staticClass:\"fas fa-trash-alt\"})])]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('TransactionDescription',_vm._g({attrs:{\"errors\":_vm.transaction.errors.description,\"index\":_vm.index},model:{value:(_vm.transaction.description),callback:function ($$v) {_vm.$set(_vm.transaction, \"description\", $$v)},expression:\"transaction.description\"}},_vm.$listeners))],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12\"},[_c('TransactionAccount',_vm._g({attrs:{\"destination-allowed-types\":_vm.destinationAllowedTypes,\"errors\":_vm.transaction.errors.source,\"index\":_vm.index,\"source-allowed-types\":_vm.sourceAllowedTypes,\"transaction-type\":_vm.transactionType,\"direction\":\"source\"},model:{value:(_vm.sourceAccount),callback:function ($$v) {_vm.sourceAccount=$$v},expression:\"sourceAccount\"}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block\"},[(0 === _vm.index && _vm.allowSwitch)?_c('SwitchAccount',_vm._g({attrs:{\"index\":_vm.index,\"transaction-type\":_vm.transactionType}},_vm.$listeners)):_vm._e()],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionAccount',_vm._g({attrs:{\"destination-allowed-types\":_vm.destinationAllowedTypes,\"errors\":_vm.transaction.errors.destination,\"index\":_vm.index,\"transaction-type\":_vm.transactionType,\"source-allowed-types\":_vm.sourceAllowedTypes,\"direction\":\"destination\"},model:{value:(_vm.destinationAccount),callback:function ($$v) {_vm.destinationAccount=$$v},expression:\"destinationAccount\"}},_vm.$listeners))],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12\"},[_c('TransactionAmount',_vm._g({attrs:{\"amount\":_vm.transaction.amount,\"destination-currency-symbol\":this.transaction.destination_account_currency_symbol,\"errors\":_vm.transaction.errors.amount,\"index\":_vm.index,\"source-currency-symbol\":this.transaction.source_account_currency_symbol,\"transaction-type\":this.transactionType}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block\"},[_c('TransactionForeignCurrency',_vm._g({attrs:{\"destination-currency-id\":this.transaction.destination_account_currency_id,\"index\":_vm.index,\"selected-currency-id\":this.transaction.foreign_currency_id,\"source-currency-id\":this.transaction.source_account_currency_id,\"transaction-type\":this.transactionType},model:{value:(_vm.transaction.foreign_currency_id),callback:function ($$v) {_vm.$set(_vm.transaction, \"foreign_currency_id\", $$v)},expression:\"transaction.foreign_currency_id\"}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionForeignAmount',_vm._g({attrs:{\"destination-currency-id\":this.transaction.destination_account_currency_id,\"errors\":_vm.transaction.errors.foreign_amount,\"index\":_vm.index,\"selected-currency-id\":this.transaction.foreign_currency_id,\"source-currency-id\":this.transaction.source_account_currency_id,\"transaction-type\":this.transactionType},model:{value:(_vm.transaction.foreign_amount),callback:function ($$v) {_vm.$set(_vm.transaction, \"foreign_amount\", $$v)},expression:\"transaction.foreign_amount\"}},_vm.$listeners))],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionDate',_vm._g({attrs:{\"date\":_vm.splitDate,\"errors\":_vm.transaction.errors.date,\"index\":_vm.index,\"time\":_vm.splitTime}},_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,\"submitted_transaction\":_vm.submittedTransaction,\"transaction_journal_id\":_vm.transaction.transaction_journal_id},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.attachments),callback:function ($$v) {_vm.$set(_vm.transaction, \"attachments\", $$v)},expression:\"transaction.attachments\"}},_vm.$listeners)),_vm._v(\" \"),_c('TransactionLocation',_vm._g({attrs:{\"custom-fields\":_vm.customFields,\"errors\":_vm.transaction.errors.location,\"index\":_vm.index},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.location),callback:function ($$v) {_vm.$set(_vm.transaction, \"location\", $$v)},expression:\"transaction.location\"}},_vm.$listeners)),_vm._v(\" \"),_c('TransactionLinks',_vm._g({attrs:{\"custom-fields\":_vm.customFields,\"index\":_vm.index},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.links),callback:function ($$v) {_vm.$set(_vm.transaction, \"links\", $$v)},expression:\"transaction.links\"}},_vm.$listeners))],1)])])])])]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionDescription.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <vue-typeahead-bootstrap\n v-model=\"description\"\n :data=\"descriptions\"\n :inputClass=\"errors.length > 0 ? 'is-invalid' : ''\"\n :minMatchingChars=\"3\"\n :placeholder=\"$t('firefly.description')\"\n :serializer=\"item => item.description\"\n :showOnFocus=true\n autofocus\n inputName=\"description[]\"\n @input=\"lookupDescription\"\n >\n <template slot=\"append\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\" v-on:click=\"clearDescription\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </template>\n </vue-typeahead-bootstrap>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nimport VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';\nimport {debounce} from \"lodash\";\n\nexport default {\n props: ['index', 'value', 'errors'],\n components: {VueTypeaheadBootstrap},\n name: \"TransactionDescription\",\n data() {\n return {\n descriptions: [],\n initialSet: [],\n description: this.value,\n }\n },\n created() {\n axios.get(this.getACURL(''))\n .then(response => {\n this.descriptions = response.data;\n this.initialSet = response.data;\n });\n },\n\n methods: {\n clearDescription: function () {\n this.description = '';\n },\n getACURL: function (query) {\n // update autocomplete URL:\n return document.getElementsByTagName('base')[0].href + 'api/v1/autocomplete/transactions?query=' + query;\n },\n lookupDescription: debounce(function () {\n // update autocomplete URL:\n axios.get(this.getACURL(this.value))\n .then(response => {\n this.descriptions = response.data;\n })\n }, 300)\n },\n watch: {\n value: function (value) {\n this.description = value;\n },\n description: function (value) {\n this.$emit('set-field', {field: 'description', index: this.index, value: value});\n }\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionDescription.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionDescription.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionDescription.vue?vue&type=template&id=05752163&\"\nimport script from \"./TransactionDescription.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionDescription.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('vue-typeahead-bootstrap',{attrs:{\"data\":_vm.descriptions,\"inputClass\":_vm.errors.length > 0 ? 'is-invalid' : '',\"minMatchingChars\":3,\"placeholder\":_vm.$t('firefly.description'),\"serializer\":function (item) { return item.description; },\"showOnFocus\":true,\"autofocus\":\"\",\"inputName\":\"description[]\"},on:{\"input\":_vm.lookupDescription},model:{value:(_vm.description),callback:function ($$v) {_vm.description=$$v},expression:\"description\"}},[_c('template',{slot:\"append\"},[_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"},on:{\"click\":_vm.clearDescription}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])],2),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionDate.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\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 :disabled=\"index > 0\"\n :placeholder=\"dateStr\"\n :title=\"$t('firefly.date')\"\n autocomplete=\"off\"\n name=\"date[]\"\n type=\"date\"\n >\n <!--\n <input\n ref=\"time\"\n v-model=\"timeStr\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :disabled=\"index > 0\"\n :placeholder=\"timeStr\"\n :title=\"$t('firefly.time')\"\n autocomplete=\"off\"\n name=\"time[]\"\n type=\"time\"\n >\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\" v-if=\"'' !== timeZone\">{{ timeZone }}</span>\n </div>\n</template>\n\n<script>\n\nexport default {\n props: ['index', 'errors', 'date', 'time'],\n name: \"TransactionDate\",\n created() {\n this.timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;\n },\n data() {\n return {\n localDate: this.date,\n localTime: this.time,\n timeZone: '',\n timeString: '',\n }\n },\n methods: {},\n computed: {\n dateStr: {\n get() {\n if (this.localDate instanceof Date && !isNaN(this.localDate)) {\n return this.localDate.toISOString().split('T')[0];\n }\n return '';\n },\n set(value) {\n // bit of a hack but meh.\n if ('' === value) {\n // reset to today\n this.localDate = new Date();\n this.$emit('set-date', {date: this.localDate});\n return;\n }\n this.localDate = new Date(value);\n this.$emit('set-date', {date: this.localDate});\n }\n },\n timeStr: {\n get() {\n // console.log('getTimeStr: ' + this.localTime);\n if (this.localTime instanceof Date && !isNaN(this.localTime)) {\n let localStr = ('0' + this.localTime.getHours()).slice(-2) + ':' + ('0' + this.localTime.getMinutes()).slice(-2) + ':' + ('0' + this.localTime.getSeconds()).slice(-2);\n // console.log('Time is: ' + localStr);\n return localStr;\n }\n // console.log('Return empty string!');\n return '';\n },\n set(value) {\n // console.log('Set: ' + value);\n if ('' === value) {\n // console.log('Value is empty, set 00:00:00');\n this.localTime.setHours(0);\n this.localTime.setMinutes(0);\n this.localTime.setSeconds(0);\n this.$emit('set-time', {time: this.localTime});\n return;\n }\n // bit of a hack but meh.\n let current = new Date(this.localTime.getTime());\n let parts = value.split(':');\n // console.log('Parts are:');\n // console.log(parts);\n\n let hrs = parts[0] ?? '0';\n let min = parts[1] ?? '0';\n let sec = parts[2] ?? '0';\n hrs = 3 === hrs.length ? hrs.substr(1, 2) : hrs;\n min = 3 === min.length ? min.substr(1, 2) : min;\n sec = 3 === sec.length ? sec.substr(1, 2) : sec;\n // console.log('Hrs: ' + hrs);\n // console.log('Min: ' + min);\n // console.log('Sec: ' + sec);\n\n current.setHours(parseInt(hrs));\n current.setMinutes(parseInt(min));\n current.setSeconds(parseInt(sec));\n this.localTime = current;\n this.$emit('set-time', {time: this.localTime});\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!./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=09a16637&\"\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 _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:{\"disabled\":_vm.index > 0,\"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(\" \"),(_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(\" \"),('' !== _vm.timeZone)?_c('span',{staticClass:\"text-muted small\"},[_vm._v(_vm._s(_vm.timeZone))]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionBudget.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.budget') }}\n </div>\n <div class=\"input-group\">\n <select\n ref=\"budget\"\n v-model=\"budget\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :title=\"$t('firefly.budget')\"\n autocomplete=\"off\"\n name=\"budget_id[]\"\n >\n <option v-for=\"budget in this.budgetList\" :label=\"budget.name\" :value=\"budget.id\">{{ budget.name }}</option>\n </select>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors'],\n name: \"TransactionBudget\",\n data() {\n return {\n budgetList: [],\n budget: this.value,\n emitEvent: true\n }\n },\n created() {\n this.collectData();\n },\n methods: {\n collectData() {\n this.budgetList.push(\n {\n id: 0,\n name: this.$t('firefly.no_budget'),\n }\n );\n this.getBudgets();\n },\n getBudgets() {\n axios.get('./api/v1/budgets')\n .then(response => {\n this.parseBudgets(response.data);\n }\n );\n },\n parseBudgets(data) {\n for (let key in data.data) {\n if (data.data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = data.data[key];\n if(!current.attributes.active) {\n continue;\n }\n this.budgetList.push(\n {\n id: parseInt(current.id),\n name: current.attributes.name\n }\n );\n }\n }\n },\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.budget = value;\n },\n budget: function (value) {\n this.$emit('set-field', {field: 'budget_id', index: this.index, value: value});\n }\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBudget.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBudget.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionBudget.vue?vue&type=template&id=54257463&\"\nimport script from \"./TransactionBudget.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionBudget.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.budget'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.budget),expression:\"budget\"}],ref:\"budget\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"title\":_vm.$t('firefly.budget'),\"autocomplete\":\"off\",\"name\":\"budget_id[]\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.budget=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((this.budgetList),function(budget){return _c('option',{attrs:{\"label\":budget.name},domProps:{\"value\":budget.id}},[_vm._v(_vm._s(budget.name))])}),0)]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionAccount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div v-if=\"visible\" class=\"text-xs d-none d-lg-block d-xl-block\">\n <span v-if=\"0 === this.index\">{{ $t('firefly.' + this.direction + '_account') }}</span>\n <span v-if=\"this.index > 0\" class=\"text-warning\">{{ $t('firefly.first_split_overrules_' + this.direction) }}</span>\n <!--<br><span>{{ selectedAccount }}</span> -->\n </div>\n <div v-if=\"!visible\" class=\"text-xs d-none d-lg-block d-xl-block\">\n \n </div>\n <vue-typeahead-bootstrap\n v-if=\"visible\"\n v-model=\"accountName\"\n :data=\"accounts\"\n :inputClass=\"errors.length > 0 ? 'is-invalid' : ''\"\n :inputName=\"direction + '[]'\"\n :minMatchingChars=\"3\"\n :placeholder=\"$t('firefly.' + direction + '_account')\"\n :serializer=\"item => item.name_with_balance\"\n :showOnFocus=true\n aria-autocomplete=\"none\"\n autocomplete=\"off\"\n @hit=\"userSelectedAccount\"\n @input=\"lookupAccount\"\n >\n\n <template slot=\"suggestion\" slot-scope=\"{ data, htmlText }\">\n <div :title=\"data.type\" class=\"d-flex\">\n <span v-html=\"htmlText\"></span><br>\n </div>\n </template>\n <template slot=\"append\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\" v-on:click=\"clearAccount\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </template>\n </vue-typeahead-bootstrap>\n <div v-if=\"!visible\" class=\"form-control-static\">\n <span class=\"small text-muted\"><em>{{ $t('firefly.first_split_decides') }}</em></span>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nimport VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';\nimport {debounce} from 'lodash';\n\nexport default {\n name: \"TransactionAccount\",\n components: {VueTypeaheadBootstrap},\n props: {\n index: {\n type: Number,\n },\n direction: {\n type: String,\n },\n value: {\n type: Object,\n default: () => ({})\n },\n errors: {\n type: Array,\n default: () => ([])\n },\n sourceAllowedTypes: {\n type: Array,\n default: () => ([])\n },\n destinationAllowedTypes: {\n type: Array,\n default: () => ([])\n },\n transactionType: {\n type: String,\n default: 'any'\n },\n },\n data() {\n return {\n query: '',\n accounts: [],\n accountTypes: [],\n initialSet: [],\n selectedAccount: {},\n //account: this.value,\n accountName: '',\n selectedAccountTrigger: false,\n }\n },\n created() {\n //// console.log('TransactionAccount::created()');\n //this.selectedAccountTrigger = true;\n this.accountName = this.value.name ?? '';\n //// console.log('TransactionAccount direction=' + this.direction + ', type=' + this.transactionType + ' , name=\"' + this.accountName + '\"');\n //this.createInitialSet();\n },\n methods: {\n getACURL: function (types, query) {\n //// console.log('TransactionAccount::getACURL()');\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('userSelectedAccount!');\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 },\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 // this.selectedAccountTrigger = false;\n },\n value: function (value) {\n // console.log('TransactionAccount::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=42079801&\"\nimport script from \"./TransactionAccount.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionAccount.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[(_vm.visible)?_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[(0 === this.index)?_c('span',[_vm._v(_vm._s(_vm.$t('firefly.' + this.direction + '_account')))]):_vm._e(),_vm._v(\" \"),(this.index > 0)?_c('span',{staticClass:\"text-warning\"},[_vm._v(_vm._s(_vm.$t('firefly.first_split_overrules_' + this.direction)))]):_vm._e()]):_vm._e(),_vm._v(\" \"),(!_vm.visible)?_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \\n \")]):_vm._e(),_vm._v(\" \"),(_vm.visible)?_c('vue-typeahead-bootstrap',{attrs:{\"data\":_vm.accounts,\"inputClass\":_vm.errors.length > 0 ? 'is-invalid' : '',\"inputName\":_vm.direction + '[]',\"minMatchingChars\":3,\"placeholder\":_vm.$t('firefly.' + _vm.direction + '_account'),\"serializer\":function (item) { return item.name_with_balance; },\"showOnFocus\":true,\"aria-autocomplete\":\"none\",\"autocomplete\":\"off\"},on:{\"hit\":_vm.userSelectedAccount,\"input\":_vm.lookupAccount},scopedSlots:_vm._u([{key:\"suggestion\",fn:function(ref){\nvar data = ref.data;\nvar htmlText = ref.htmlText;\nreturn [_c('div',{staticClass:\"d-flex\",attrs:{\"title\":data.type}},[_c('span',{domProps:{\"innerHTML\":_vm._s(htmlText)}}),_c('br')])]}}],null,false,1423807661),model:{value:(_vm.accountName),callback:function ($$v) {_vm.accountName=$$v},expression:\"accountName\"}},[_vm._v(\" \"),_c('template',{slot:\"append\"},[_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"},on:{\"click\":_vm.clearAccount}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])],2):_vm._e(),_vm._v(\" \"),(!_vm.visible)?_c('div',{staticClass:\"form-control-static\"},[_c('span',{staticClass:\"small text-muted\"},[_c('em',[_vm._v(_vm._s(_vm.$t('firefly.first_split_decides')))])])]):_vm._e(),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - SwitchAccount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n <span v-if=\"'any' !== this.transactionType\" class=\"text-muted\">\n {{ $t('firefly.' + this.transactionType) }}\n </span>\n <span v-if=\"'any' === this.transactionType\" class=\"text-muted\"> </span>\n </div>\n <!--\n <div class=\"btn-group d-flex\">\n <button class=\"btn btn-light\" @click=\"switchAccounts\">↔</button>\n </div>\n -->\n </div>\n</template>\n\n<script>\nexport default {\n name: \"SwitchAccount\",\n props: ['index', 'transactionType'],\n methods: {\n // switchAccounts() {\n // this.$emit('switch-accounts', this.index);\n // }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SwitchAccount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SwitchAccount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SwitchAccount.vue?vue&type=template&id=66a3afa9&scoped=true&\"\nimport script from \"./SwitchAccount.vue?vue&type=script&lang=js&\"\nexport * from \"./SwitchAccount.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"66a3afa9\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[('any' !== this.transactionType)?_c('span',{staticClass:\"text-muted\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.' + this.transactionType))+\"\\n \")]):_vm._e(),_vm._v(\" \"),('any' === this.transactionType)?_c('span',{staticClass:\"text-muted\"},[_vm._v(\" \")]):_vm._e()])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionAmount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs\">{{ $t('firefly.amount') }}</div>\n <div class=\"input-group\">\n <div v-if=\"currencySymbol\" class=\"input-group-prepend\">\n <div class=\"input-group-text\">{{ currencySymbol }}</div>\n </div>\n <input\n v-model=\"transactionAmount\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.amount')\"\n :title=\"$t('firefly.amount')\"\n autocomplete=\"off\"\n name=\"amount[]\"\n type=\"number\"\n step=\"any\"\n >\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nexport default {\n name: \"TransactionAmount\",\n props: {\n index: {\n type: Number,\n default: 0,\n required: true\n },\n errors: {},\n amount: {},\n transactionType: {},\n sourceCurrencySymbol: {},\n destinationCurrencySymbol: {},\n fractionDigits: {\n default: 2,\n required: false\n },\n },\n created() {\n if ('' !== this.amount) {\n this.emitEvent = false;\n this.transactionAmount = this.formatNumber(this.amount);\n }\n },\n methods: {\n formatNumber(str) {\n return parseFloat(str).toFixed(this.fractionDigits);\n }\n },\n data() {\n return {\n transactionAmount: this.amount,\n currencySymbol: null,\n srcCurrencySymbol: this.sourceCurrencySymbol,\n dstCurrencySymbol: this.destinationCurrencySymbol,\n emitEvent: true\n }\n },\n watch: {\n transactionAmount: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'amount', index: this.index, value: value});\n }\n this.emitEvent = true;\n },\n amount: function (value) {\n this.transactionAmount = value;\n },\n sourceCurrencySymbol: function (value) {\n this.srcCurrencySymbol = value;\n },\n destinationCurrencySymbol: function (value) {\n this.dstCurrencySymbol = value;\n },\n transactionType: function (value) {\n switch (value) {\n case 'Transfer':\n case 'Withdrawal':\n this.currencySymbol = this.srcCurrencySymbol;\n break;\n case 'Deposit':\n this.currencySymbol = this.dstCurrencySymbol;\n }\n },\n },\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAmount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAmount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionAmount.vue?vue&type=template&id=571f2c0a&scoped=true&\"\nimport script from \"./TransactionAmount.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionAmount.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"571f2c0a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs\"},[_vm._v(_vm._s(_vm.$t('firefly.amount')))]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[(_vm.currencySymbol)?_c('div',{staticClass:\"input-group-prepend\"},[_c('div',{staticClass:\"input-group-text\"},[_vm._v(_vm._s(_vm.currencySymbol))])]):_vm._e(),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.transactionAmount),expression:\"transactionAmount\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.amount'),\"title\":_vm.$t('firefly.amount'),\"autocomplete\":\"off\",\"name\":\"amount[]\",\"type\":\"number\",\"step\":\"any\"},domProps:{\"value\":(_vm.transactionAmount)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.transactionAmount=$event.target.value}}})]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionForeignAmount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <!-- FOREIGN AMOUNT -->\n <div v-if=\"isVisible\" class=\"form-group\">\n <div class=\"text-xs\">{{ $t('form.foreign_amount') }}</div>\n <div class=\"input-group\">\n <input\n v-model=\"amount\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('form.foreign_amount')\"\n :title=\"$t('form.foreign_amount')\"\n autocomplete=\"off\"\n name=\"foreign_amount[]\"\n type=\"number\"\n >\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"TransactionForeignAmount\",\n props: {\n index: {},\n errors: {},\n value: {},\n transactionType: {},\n sourceCurrencyId: {},\n destinationCurrencyId: {},\n fractionDigits: {\n type: Number,\n default: 2\n }\n },\n data() {\n return {\n amount: this.value,\n emitEvent: true\n }\n },\n created() {\n if ('' !== this.amount) {\n this.emitEvent = false;\n this.amount = this.formatNumber(this.amount);\n }\n },\n methods: {\n formatNumber(str) {\n return parseFloat(str).toFixed(this.fractionDigits);\n }\n },\n watch: {\n amount: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'foreign_amount', index: this.index, value: value});\n }\n this.emitEvent = true;\n },\n value: function (value) {\n this.amount = value;\n\n\n }\n },\n computed: {\n isVisible: {\n get() {\n return !('Transfer' === this.transactionType && this.sourceCurrencyId === this.destinationCurrencyId);\n }\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignAmount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignAmount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionForeignAmount.vue?vue&type=template&id=d13f8bea&scoped=true&\"\nimport script from \"./TransactionForeignAmount.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionForeignAmount.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d13f8bea\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isVisible)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs\"},[_vm._v(_vm._s(_vm.$t('form.foreign_amount')))]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.amount),expression:\"amount\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('form.foreign_amount'),\"title\":_vm.$t('form.foreign_amount'),\"autocomplete\":\"off\",\"name\":\"foreign_amount[]\",\"type\":\"number\"},domProps:{\"value\":(_vm.amount)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.amount=$event.target.value}}})]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionForeignCurrency.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <!-- FOREIGN Currency -->\n <div v-if=\"isVisible\" class=\"form-group\">\n <div class=\"text-xs\"> </div>\n <div class=\"input-group\">\n <select v-model=\"selectedCurrency\" class=\"form-control\" name=\"foreign_currency_id[]\">\n <option v-for=\"currency in selectableCurrencies\" :label=\"currency.name\" :value=\"currency.id\">{{ currency.name }}</option>\n </select>\n </div>\n </div>\n</template>\n<script>\n\nexport default {\n name: \"TransactionForeignCurrency\",\n props: [\n 'index',\n 'transactionType',\n 'sourceCurrencyId',\n 'destinationCurrencyId',\n 'selectedCurrencyId',\n 'value'\n ],\n data() {\n return {\n selectedCurrency: this.value,\n allCurrencies: [],\n selectableCurrencies: [],\n dstCurrencyId: this.destinationCurrencyId,\n srcCurrencyId: this.sourceCurrencyId,\n lockedCurrency: 0,\n emitEvent: true\n }\n },\n watch: {\n value: function (value) {\n this.selectedCurrency = value;\n },\n sourceCurrencyId: function (value) {\n this.srcCurrencyId = value;\n },\n destinationCurrencyId: function (value) {\n this.dstCurrencyId = value;\n },\n selectedCurrency: function (value) {\n this.$emit('set-field', {field: 'foreign_currency_id', index: this.index, value: value});\n },\n transactionType: function (value) {\n this.lockedCurrency = 0;\n if ('Transfer' === value) {\n this.lockedCurrency = this.dstCurrencyId;\n this.selectedCurrency = this.dstCurrencyId;\n }\n this.filterCurrencies();\n },\n },\n created: function () {\n this.getAllCurrencies();\n },\n methods: {\n getAllCurrencies: function () {\n axios.get('./api/v1/autocomplete/currencies')\n .then(response => {\n this.allCurrencies = response.data;\n this.filterCurrencies();\n }\n );\n\n },\n filterCurrencies() {\n // if a currency is locked only that currency can (and must) be selected:\n if (0 !== this.lockedCurrency) {\n for (let key in this.allCurrencies) {\n if (this.allCurrencies.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = this.allCurrencies[key];\n if (current.id === this.lockedCurrency) {\n this.selectableCurrencies = [current];\n this.selectedCurrency = current.id;\n }\n }\n }\n return;\n }\n\n this.selectableCurrencies = [\n {\n \"id\": 0,\n \"name\": this.$t('firefly.no_currency')\n }\n ];\n for (let key in this.allCurrencies) {\n if (this.allCurrencies.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = this.allCurrencies[key];\n this.selectableCurrencies.push(current);\n }\n }\n }\n },\n computed: {\n isVisible: function () {\n return !('Transfer' === this.transactionType && this.srcCurrencyId === this.dstCurrencyId);\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignCurrency.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignCurrency.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionForeignCurrency.vue?vue&type=template&id=3ee4efa5&scoped=true&\"\nimport script from \"./TransactionForeignCurrency.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionForeignCurrency.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3ee4efa5\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isVisible)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs\"},[_vm._v(\" \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedCurrency),expression:\"selectedCurrency\"}],staticClass:\"form-control\",attrs:{\"name\":\"foreign_currency_id[]\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selectedCurrency=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((_vm.selectableCurrencies),function(currency){return _c('option',{attrs:{\"label\":currency.name},domProps:{\"value\":currency.id}},[_vm._v(_vm._s(currency.name))])}),0)])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionCustomDates.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div>\n <div v-for=\"(enabled, name) in availableFields\" class=\"form-group\">\n <div v-if=\"enabled && isDateField(name)\" class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('form.' + name) }}\n </div>\n <div v-if=\"enabled && isDateField(name)\" class=\"input-group\">\n <input\n :ref=\"name\"\n :name=\"name + '[]'\"\n :placeholder=\"$t('form.' + name)\"\n :title=\"$t('form.' + name)\"\n :value=\"getFieldValue(name)\"\n autocomplete=\"off\"\n class=\"form-control\"\n type=\"date\"\n @change=\"setFieldValue($event, name)\"\n >\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"TransactionCustomDates\",\n props: [\n 'index',\n 'errors',\n 'customFields',\n 'interestDate',\n 'bookDate',\n 'processDate',\n 'dueDate',\n 'paymentDate',\n 'invoiceDate'\n ],\n data() {\n return {\n dateFields: ['interest_date', 'book_date', 'process_date', 'due_date', 'payment_date', 'invoice_date'],\n availableFields: this.customFields,\n dates: {\n interest_date: this.interestDate,\n book_date: this.bookDate,\n process_date: this.processDate,\n due_date: this.dueDate,\n payment_date: this.paymentDate,\n invoice_date: this.invoiceDate,\n }\n ,\n }\n },\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n interestDate: function (value) {\n this.dates.interest_date = value;\n },\n bookDate: function (value) {\n this.dates.book_date = value;\n },\n processDate: function (value) {\n this.dates.process_date = value;\n },\n dueDate: function (value) {\n this.dates.due_date = value;\n },\n paymentDate: function (value) {\n this.dates.payment_date = value;\n },\n invoiceDate: function (value) {\n this.dates.invoice_date = value;\n },\n },\n methods: {\n isDateField: function (name) {\n return this.dateFields.includes(name)\n },\n getFieldValue(field) {\n return this.dates[field] ?? '';\n },\n setFieldValue(event, field) {\n this.$emit('set-field', {field: field, index: this.index, value: event.target.value});\n },\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionCustomDates.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionCustomDates.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionCustomDates.vue?vue&type=template&id=728c6420&\"\nimport script from \"./TransactionCustomDates.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionCustomDates.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',_vm._l((_vm.availableFields),function(enabled,name){return _c('div',{staticClass:\"form-group\"},[(enabled && _vm.isDateField(name))?_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('form.' + name))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(enabled && _vm.isDateField(name))?_c('div',{staticClass:\"input-group\"},[_c('input',{ref:name,refInFor:true,staticClass:\"form-control\",attrs:{\"name\":name + '[]',\"placeholder\":_vm.$t('form.' + name),\"title\":_vm.$t('form.' + name),\"autocomplete\":\"off\",\"type\":\"date\"},domProps:{\"value\":_vm.getFieldValue(name)},on:{\"change\":function($event){return _vm.setFieldValue($event, name)}}})]):_vm._e()])}),0)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionCategory.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.category') }}\n </div>\n\n <vue-typeahead-bootstrap\n v-model=\"category\"\n :data=\"categories\"\n :inputClass=\"errors.length > 0 ? 'is-invalid' : ''\"\n :minMatchingChars=\"3\"\n :placeholder=\"$t('firefly.category')\"\n :serializer=\"item => item.name\"\n :showOnFocus=true\n inputName=\"category[]\"\n @hit=\"selectedCategory = $event\"\n @input=\"lookupCategory\"\n >\n <template slot=\"append\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\" v-on:click=\"clearCategory\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </template>\n </vue-typeahead-bootstrap>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nimport VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';\nimport {debounce} from \"lodash\";\n\nexport default {\n props: ['value', 'index', 'errors'],\n components: {VueTypeaheadBootstrap},\n name: \"TransactionCategory\",\n data() {\n return {\n categories: [],\n initialSet: [],\n category: this.value,\n emitEvent: true\n }\n },\n\n created() {\n\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 return document.getElementsByTagName('base')[0].href + 'api/v1/autocomplete/categories?query=' + query;\n },\n lookupCategory: debounce(function () {\n // update autocomplete URL:\n axios.get(this.getACURL(this.value))\n .then(response => {\n this.categories = response.data;\n })\n }, 300)\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\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=332d1095&\"\nimport script from \"./TransactionCategory.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionCategory.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.category'))+\"\\n \")]),_vm._v(\" \"),_c('vue-typeahead-bootstrap',{attrs:{\"data\":_vm.categories,\"inputClass\":_vm.errors.length > 0 ? 'is-invalid' : '',\"minMatchingChars\":3,\"placeholder\":_vm.$t('firefly.category'),\"serializer\":function (item) { return item.name; },\"showOnFocus\":true,\"inputName\":\"category[]\"},on:{\"hit\":function($event){_vm.selectedCategory = $event},\"input\":_vm.lookupCategory},model:{value:(_vm.category),callback:function ($$v) {_vm.category=$$v},expression:\"category\"}},[_c('template',{slot:\"append\"},[_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"},on:{\"click\":_vm.clearCategory}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])],2),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionBill.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.bill') }}\n </div>\n <div class=\"input-group\">\n <select\n ref=\"bill\"\n v-model=\"bill\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :title=\"$t('firefly.bill')\"\n autocomplete=\"off\"\n name=\"bill_id[]\"\n >\n <option v-for=\"bill in this.billList\" :label=\"bill.name\" :value=\"bill.id\">{{ bill.name }}</option>\n\n </select>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['value', 'index', 'errors'],\n name: \"TransactionBill\",\n data() {\n return {\n billList: [],\n bill: this.value,\n emitEvent: true\n }\n },\n created() {\n this.collectData();\n },\n methods: {\n collectData() {\n this.billList.push(\n {\n id: 0,\n name: this.$t('firefly.no_bill'),\n }\n );\n this.getBills();\n },\n getBills() {\n axios.get('./api/v1/bills')\n .then(response => {\n this.parseBills(response.data);\n }\n );\n },\n parseBills(data) {\n for (let key in data.data) {\n if (data.data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = data.data[key];\n this.billList.push(\n {\n id: parseInt(current.id),\n name: current.attributes.name\n }\n );\n }\n }\n },\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.bill = value;\n },\n bill: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'bill_id', index: this.index, value: value});\n }\n this.emitEvent = true;\n }\n },\n}\n</script>\n\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBill.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBill.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionBill.vue?vue&type=template&id=07ad05c8&\"\nimport script from \"./TransactionBill.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionBill.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.bill'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.bill),expression:\"bill\"}],ref:\"bill\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"title\":_vm.$t('firefly.bill'),\"autocomplete\":\"off\",\"name\":\"bill_id[]\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.bill=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((this.billList),function(bill){return _c('option',{attrs:{\"label\":bill.name},domProps:{\"value\":bill.id}},[_vm._v(_vm._s(bill.name))])}),0)]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {\nvar this$1 = this;\nvar _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.tags'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('vue-tags-input',{attrs:{\"add-only-from-autocomplete\":false,\"autocomplete-items\":_vm.autocompleteItems,\"tags\":_vm.tags,\"title\":_vm.$t('firefly.tags'),\"placeholder\":_vm.$t('firefly.tags')},on:{\"tags-changed\":function (newTags) { return this$1.tags = newTags; }},model:{value:(_vm.currentTag),callback:function ($$v) {_vm.currentTag=$$v},expression:\"currentTag\"}})],1),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionTags.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.tags') }}\n </div>\n <div class=\"input-group\">\n <vue-tags-input\n v-model=\"currentTag\"\n :add-only-from-autocomplete=\"false\"\n :autocomplete-items=\"autocompleteItems\"\n :tags=\"tags\"\n :title=\"$t('firefly.tags')\"\n v-bind:placeholder=\"$t('firefly.tags')\"\n @tags-changed=\"newTags => this.tags = newTags\"\n />\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nimport VueTagsInput from \"@johmun/vue-tags-input\";\nimport axios from \"axios\";\n\nexport default {\n name: \"TransactionTags\",\n components: {\n VueTagsInput\n },\n props: ['value', 'index', 'errors'],\n data() {\n return {\n autocompleteItems: [],\n debounce: null,\n tags: [],\n currentTag: '',\n updateTags: true, // the idea is that this is always true, except when the tags-function sets the value.\n tagList: this.value,\n emitEvent: true\n };\n },\n created() {\n let tags = [];\n for (let i in this.value) {\n if (this.value.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n tags.push({text: this.value[i]});\n }\n }\n this.updateTags = false;\n this.tags = tags;\n },\n watch: {\n 'currentTag': 'initItems',\n value: function (value) {\n this.emitEvent = false;\n this.tagList = value;\n },\n tagList: function (value) {\n console.log('watch tagList');\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'tags', index: this.index, value: value});\n }\n this.emitEvent = true;\n this.updateTags = false;\n this.tags = value;\n },\n tags: function (value) {\n if (this.updateTags) {\n let shortList = [];\n for (let key in value) {\n if (value.hasOwnProperty(key)) {\n shortList.push({text: value[key].text});\n }\n }\n this.tagList = shortList;\n }\n this.updateTags = true;\n }\n },\n methods: {\n initItems() {\n if (this.currentTag.length < 2) {\n return;\n }\n const url = document.getElementsByTagName('base')[0].href + `api/v1/autocomplete/tags?query=${this.currentTag}`;\n\n clearTimeout(this.debounce);\n this.debounce = setTimeout(() => {\n axios.get(url).then(response => {\n this.autocompleteItems = response.data.map(item => {\n return {text: item.tag};\n });\n }).catch(() => console.warn('Oh. Something went wrong loading tags.'));\n }, 300);\n },\n },\n\n\n}\n</script>\n<style>\n.vue-tags-input {\n width: 100%;\n max-width: 100% !important;\n display: block;\n border-radius: 0.25rem;\n}\n\n.ti-input {\n border-radius: 0.25rem;\n max-width: 100%;\n width: 100%;\n}\n\n.ti-new-tag-input {\n font-size: 1rem;\n}\n</style>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionTags.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionTags.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionTags.vue?vue&type=template&id=834226ea&\"\nimport script from \"./TransactionTags.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionTags.vue?vue&type=script&lang=js&\"\nimport style0 from \"./TransactionTags.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<!--\n - TransactionPiggyBank.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.piggy_bank') }}\n </div>\n <div class=\"input-group\">\n <select\n ref=\"piggy_bank_id\"\n v-model=\"piggy_bank_id\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :title=\"$t('firefly.piggy_bank')\"\n autocomplete=\"off\"\n name=\"piggy_bank_id[]\"\n >\n <option v-for=\"piggy in this.piggyList\" :label=\"piggy.name_with_balance\" :value=\"piggy.id\">{{ piggy.name_with_balance }}</option>\n\n </select>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nexport default {\n props: ['index', 'value', 'errors'],\n name: \"TransactionPiggyBank\",\n data() {\n return {\n piggyList: [],\n piggy_bank_id: this.value,\n emitEvent: true\n }\n },\n created() {\n this.collectData();\n },\n methods: {\n collectData() {\n this.piggyList.push(\n {\n id: 0,\n name_with_balance: this.$t('firefly.no_piggy_bank'),\n }\n );\n this.getPiggies();\n },\n getPiggies() {\n axios.get('./api/v1/autocomplete/piggy-banks-with-balance')\n .then(response => {\n this.parsePiggies(response.data);\n }\n );\n },\n parsePiggies(data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = data[key];\n this.piggyList.push(\n {\n id: parseInt(current.id),\n name_with_balance: current.name_with_balance\n }\n );\n }\n }\n },\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.piggy_bank_id = value;\n },\n piggy_bank_id: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'piggy_bank_id', index: this.index, value: value});\n }\n this.emitEvent = true;\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionPiggyBank.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionPiggyBank.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionPiggyBank.vue?vue&type=template&id=18931396&\"\nimport script from \"./TransactionPiggyBank.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionPiggyBank.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.piggy_bank'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.piggy_bank_id),expression:\"piggy_bank_id\"}],ref:\"piggy_bank_id\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"title\":_vm.$t('firefly.piggy_bank'),\"autocomplete\":\"off\",\"name\":\"piggy_bank_id[]\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.piggy_bank_id=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((this.piggyList),function(piggy){return _c('option',{attrs:{\"label\":piggy.name_with_balance},domProps:{\"value\":piggy.id}},[_vm._v(_vm._s(piggy.name_with_balance))])}),0)]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionInternalReference.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.internal_reference') }}\n </div>\n <div class=\"input-group\">\n <input\n v-model=\"reference\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.internal_reference')\"\n name=\"internal_reference[]\"\n type=\"text\"\n />\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors', 'customFields'],\n name: \"TransactionInternalReference\",\n data() {\n return {\n reference: this.value,\n availableFields: this.customFields,\n emitEvent: true\n }\n },\n computed: {\n showField: function () {\n if ('internal_reference' in this.availableFields) {\n return this.availableFields.internal_reference;\n }\n return false;\n }\n },\n methods: {},\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n value: function (value) {\n this.emitEvent = false;\n this.reference = value;\n },\n reference: function (value) {\n this.$emit('set-field', {field: 'internal_reference', index: this.index, value: value});\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionInternalReference.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionInternalReference.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionInternalReference.vue?vue&type=template&id=7f1b8c1d&\"\nimport script from \"./TransactionInternalReference.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionInternalReference.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.internal_reference'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.reference),expression:\"reference\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.internal_reference'),\"name\":\"internal_reference[]\",\"type\":\"text\"},domProps:{\"value\":(_vm.reference)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.reference=$event.target.value}}}),_vm._v(\" \"),_vm._m(0)])]):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])}]\n\nexport { render, staticRenderFns }","<!--\n - TransactionInternalReference.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.external_url') }}\n </div>\n <div class=\"input-group\">\n <input\n v-model=\"url\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.external_url')\"\n name=\"external_url[]\"\n type=\"url\"\n />\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors', 'customFields'],\n name: \"TransactionExternalUrl\",\n data() {\n return {\n url: this.value,\n availableFields: this.customFields,\n }\n },\n computed: {\n showField: function () {\n if ('external_uri' in this.availableFields) {\n return this.availableFields.external_uri;\n }\n return false;\n }\n },\n methods: {},\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n value: function (value) {\n this.url = value;\n },\n url: function (value) {\n this.$emit('set-field', {field: 'external_url', index: this.index, value: value});\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionExternalUrl.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionExternalUrl.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionExternalUrl.vue?vue&type=template&id=7f6746e6&scoped=true&\"\nimport script from \"./TransactionExternalUrl.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionExternalUrl.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7f6746e6\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.external_url'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.url),expression:\"url\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.external_url'),\"name\":\"external_url[]\",\"type\":\"url\"},domProps:{\"value\":(_vm.url)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.url=$event.target.value}}}),_vm._v(\" \"),_vm._m(0)])]):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])}]\n\nexport { render, staticRenderFns }","<!--\n - TransactionNotes.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.notes') }}\n </div>\n <div class=\"input-group\">\n <textarea\n v-model=\"notes\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.notes')\"\n ></textarea>\n </div>\n </div>\n\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors', 'customFields'],\n name: \"TransactionNotes\",\n data() {\n return {\n notes: this.value,\n availableFields: this.customFields,\n emitEvent: true\n }\n },\n computed: {\n showField: function () {\n if ('notes' in this.availableFields) {\n return this.availableFields.notes;\n }\n return false;\n }\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.notes = value;\n },\n customFields: function (value) {\n this.availableFields = value;\n },\n notes: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'notes', index: this.index, value: value});\n }\n this.emitEvent = true;\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionNotes.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionNotes.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionNotes.vue?vue&type=template&id=10b3ae7a&scoped=true&\"\nimport script from \"./TransactionNotes.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionNotes.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"10b3ae7a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.notes'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.notes),expression:\"notes\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.notes')},domProps:{\"value\":(_vm.notes)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.notes=$event.target.value}}})])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',[_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.journal_links'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[(_vm.links.length === 0)?_c('p',[_c('button',{staticClass:\"btn btn-default btn-xs\",attrs:{\"data-target\":\"#linkModal\",\"data-toggle\":\"modal\"},on:{\"click\":_vm.resetModal}},[_c('i',{staticClass:\"fas fa-plus\"}),_vm._v(\" Add transaction link\")])]):_vm._e(),_vm._v(\" \"),(_vm.links.length > 0)?_c('ul',{staticClass:\"list-group\"},_vm._l((_vm.links),function(transaction,index){return _c('li',{key:index,staticClass:\"list-group-item\"},[_c('em',[_vm._v(_vm._s(_vm.getTextForLinkType(transaction.link_type_id)))]),_vm._v(\" \"),_c('a',{attrs:{\"href\":\"./transaction/show/\" + transaction.transaction_group_id}},[_vm._v(_vm._s(transaction.description))]),_vm._v(\" \"),(transaction.type === 'withdrawal')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-danger\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount) * -1)))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(transaction.type === 'deposit')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-success\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(transaction.type === 'transfer')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-info\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"btn-group btn-group-xs float-right\"},[_c('button',{staticClass:\"btn btn-xs btn-danger\",attrs:{\"tabindex\":\"-1\"},on:{\"click\":function($event){return _vm.removeLink(index)}}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])}),0):_vm._e(),_vm._v(\" \"),(_vm.links.length > 0)?_c('div',{staticClass:\"form-text\"},[_c('button',{staticClass:\"btn btn-default\",attrs:{\"data-target\":\"#linkModal\",\"data-toggle\":\"modal\"},on:{\"click\":_vm.resetModal}},[_c('i',{staticClass:\"fas fa-plus\"})])]):_vm._e()])])]),_vm._v(\" \"),_c('div',{ref:\"linkModal\",staticClass:\"modal\",attrs:{\"id\":\"linkModal\",\"tabindex\":\"-1\"}},[_c('div',{staticClass:\"modal-dialog modal-lg\"},[_c('div',{staticClass:\"modal-content\"},[_vm._m(0),_vm._v(\" \"),_c('div',{staticClass:\"modal-body\"},[_c('div',{staticClass:\"container-fluid\"},[_vm._m(1),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.search($event)}}},[_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.query),expression:\"query\"}],staticClass:\"form-control\",attrs:{\"id\":\"query\",\"autocomplete\":\"off\",\"maxlength\":\"255\",\"name\":\"search\",\"placeholder\":\"Search query\",\"type\":\"text\"},domProps:{\"value\":(_vm.query)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.query=$event.target.value}}}),_vm._v(\" \"),_vm._m(2)])])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[(_vm.searching)?_c('span',[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e(),_vm._v(\" \"),(_vm.searchResults.length > 0)?_c('h4',[_vm._v(_vm._s(_vm.$t('firefly.search_results')))]):_vm._e(),_vm._v(\" \"),(_vm.searchResults.length > 0)?_c('table',{staticClass:\"table table-sm\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.search_results')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{staticStyle:{\"width\":\"33%\"},attrs:{\"scope\":\"col\",\"colspan\":\"2\"}},[_vm._v(_vm._s(_vm.$t('firefly.include')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.transaction')))])])]),_vm._v(\" \"),_c('tbody',_vm._l((_vm.searchResults),function(result){return _c('tr',[_c('td',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(result.selected),expression:\"result.selected\"}],staticClass:\"form-control\",attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(result.selected)?_vm._i(result.selected,null)>-1:(result.selected)},on:{\"change\":[function($event){var $$a=result.selected,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(result, \"selected\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(result, \"selected\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(result, \"selected\", $$c)}},function($event){return _vm.selectTransaction($event)}]}})]),_vm._v(\" \"),_c('td',[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(result.link_type_id),expression:\"result.link_type_id\"}],staticClass:\"form-control\",on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(result, \"link_type_id\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])},function($event){return _vm.selectLinkType($event)}]}},_vm._l((_vm.linkTypes),function(linkType){return _c('option',{attrs:{\"label\":linkType.type},domProps:{\"value\":linkType.id + '-' + linkType.direction}},[_vm._v(_vm._s(linkType.type)+\"\\n \")])}),0)]),_vm._v(\" \"),_c('td',[_c('a',{attrs:{\"href\":'./transactions/show/' + result.transaction_group_id}},[_vm._v(_vm._s(result.description))]),_vm._v(\" \"),(result.type === 'withdrawal')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-danger\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount) * -1)))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(result.type === 'deposit')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-success\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(result.type === 'transfer')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-info\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),_c('br'),_vm._v(\" \"),_c('em',[_c('a',{attrs:{\"href\":'./accounts/show/' + result.source_id}},[_vm._v(_vm._s(result.source_name))]),_vm._v(\"\\n →\\n \"),_c('a',{attrs:{\"href\":'./accounts/show/' + result.destination_id}},[_vm._v(_vm._s(result.destination_name))])])])])}),0)]):_vm._e()])])])]),_vm._v(\" \"),_vm._m(3)])])])]):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"modal-header\"},[_c('h5',{staticClass:\"modal-title\"},[_vm._v(\"Transaction thing dialog.\")]),_vm._v(\" \"),_c('button',{staticClass:\"close\",attrs:{\"aria-label\":\"Close\",\"data-dismiss\":\"modal\",\"type\":\"button\"}},[_c('span',{attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"×\")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('p',[_vm._v(\"\\n Use this form to search for transactions you wish to link to this one. When in doubt, use \"),_c('code',[_vm._v(\"id:*\")]),_vm._v(\" where the ID is the number from\\n the URL.\\n \")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-default\",attrs:{\"type\":\"submit\"}},[_c('i',{staticClass:\"fas fa-search\"}),_vm._v(\" Search\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"modal-footer\"},[_c('button',{staticClass:\"btn btn-secondary\",attrs:{\"data-dismiss\":\"modal\",\"type\":\"button\"}},[_vm._v(\"Close\")])])}]\n\nexport { render, staticRenderFns }","<!--\n - TransactionLinks.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\">\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.journal_links') }}\n </div>\n <div class=\"row\">\n <div class=\"col\">\n <p v-if=\"links.length === 0\">\n <button class=\"btn btn-default btn-xs\" data-target=\"#linkModal\" @click=\"resetModal\" data-toggle=\"modal\"><i class=\"fas fa-plus\"></i> Add transaction link</button>\n </p>\n <ul v-if=\"links.length > 0\" class=\"list-group\">\n <li v-for=\"(transaction, index) in links\" class=\"list-group-item\" v-bind:key=\"index\">\n <em>{{ getTextForLinkType(transaction.link_type_id) }}</em>\n <a :href='\"./transaction/show/\" + transaction.transaction_group_id'>{{ transaction.description }}</a>\n\n <span v-if=\"transaction.type === 'withdrawal'\">\n (<span class=\"text-danger\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount) * -1)\n }}</span>)\n </span>\n <span v-if=\"transaction.type === 'deposit'\">\n (<span class=\"text-success\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))\n }}</span>)\n </span>\n <span v-if=\"transaction.type === 'transfer'\">\n (<span class=\"text-info\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))\n }}</span>)\n </span>\n <div class=\"btn-group btn-group-xs float-right\">\n <button class=\"btn btn-xs btn-danger\" @click=\"removeLink(index)\" tabindex=\"-1\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </li>\n </ul>\n <div v-if=\"links.length > 0\" class=\"form-text\">\n <button class=\"btn btn-default\" @click=\"resetModal\" data-target=\"#linkModal\" data-toggle=\"modal\"><i class=\"fas fa-plus\"></i></button>\n </div>\n </div>\n </div>\n </div>\n <!-- modal -->\n <div id=\"linkModal\" class=\"modal\" tabindex=\"-1\" ref=\"linkModal\">\n <div class=\"modal-dialog modal-lg\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <h5 class=\"modal-title\">Transaction thing dialog.</h5>\n <button aria-label=\"Close\" class=\"close\" data-dismiss=\"modal\" type=\"button\">\n <span aria-hidden=\"true\">×</span>\n </button>\n </div>\n <div class=\"modal-body\">\n <div class=\"container-fluid\">\n <div class=\"row\">\n <div class=\"col\">\n <p>\n Use this form to search for transactions you wish to link to this one. When in doubt, use <code>id:*</code> where the ID is the number from\n the URL.\n </p>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col\">\n <form v-on:submit.prevent=\"search\">\n <div class=\"input-group\">\n <input id=\"query\" v-model=\"query\" autocomplete=\"off\" class=\"form-control\" maxlength=\"255\" name=\"search\"\n placeholder=\"Search query\" type=\"text\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-default\" type=\"submit\"><i class=\"fas fa-search\"></i> Search</button>\n </div>\n </div>\n </form>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col\">\n <span v-if=\"searching\"><i class=\"fas fa-spinner fa-spin\"></i></span>\n <h4 v-if=\"searchResults.length > 0\">{{ $t('firefly.search_results') }}</h4>\n <table v-if=\"searchResults.length > 0\" class=\"table table-sm\">\n <caption style=\"display:none;\">{{ $t('firefly.search_results') }}</caption>\n <thead>\n <tr>\n <th scope=\"col\" colspan=\"2\" style=\"width:33%\">{{ $t('firefly.include') }}</th>\n <th scope=\"col\">{{ $t('firefly.transaction') }}</th>\n </tr>\n </thead>\n <tbody>\n <tr v-for=\"result in searchResults\">\n <td>\n <input v-model=\"result.selected\" class=\"form-control\"\n type=\"checkbox\"\n @change=\"selectTransaction($event)\"\n />\n </td>\n <td>\n <select\n v-model=\"result.link_type_id\"\n class=\"form-control\"\n @change=\"selectLinkType($event)\"\n >\n <option v-for=\"linkType in linkTypes\" :label=\"linkType.type\" :value=\"linkType.id + '-' + linkType.direction\">{{\n linkType.type\n }}\n </option>\n </select>\n </td>\n <td>\n <a :href=\"'./transactions/show/' + result.transaction_group_id\">{{ result.description }}</a>\n <span v-if=\"result.type === 'withdrawal'\">\n (<span class=\"text-danger\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount) * -1)\n }}</span>)\n </span>\n <span v-if=\"result.type === 'deposit'\">\n (<span class=\"text-success\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount))\n }}</span>)\n </span>\n <span v-if=\"result.type === 'transfer'\">\n (<span class=\"text-info\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount))\n }}</span>)\n </span>\n <br/>\n <em>\n <a :href=\"'./accounts/show/' + result.source_id\">{{ result.source_name }}</a>\n →\n <a :href=\"'./accounts/show/' + result.destination_id\">{{ result.destination_name }}</a>\n </em>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n </div>\n <div class=\"modal-footer\">\n <button class=\"btn btn-secondary\" data-dismiss=\"modal\" type=\"button\">Close</button>\n </div>\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nconst lodashClonedeep = require('lodash.clonedeep');\n// TODO error handling\nexport default {\n props: ['index', 'value', 'errors', 'customFields'],\n name: \"TransactionLinks\",\n data() {\n return {\n searchResults: [],\n include: [],\n locale: 'en-US',\n linkTypes: [],\n query: '',\n searching: false,\n links: this.value,\n availableFields: this.customFields,\n emitEvent: true\n }\n },\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n this.emitEvent = false;\n this.links = lodashClonedeep(this.value);\n this.getLinkTypes();\n\n },\n computed: {\n showField: function () {\n if ('links' in this.availableFields) {\n return this.availableFields.links;\n }\n return false;\n }\n },\n watch: {\n value: function (value) {\n if (null !== value) {\n this.emitEvent = false;\n this.links = lodashClonedeep(value);\n }\n },\n links: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {index: this.index, field: 'links', value: lodashClonedeep(value)});\n }\n this.emitEvent = true;\n },\n customFields: function (value) {\n this.availableFields = value;\n }\n },\n methods: {\n removeLink: function (index) {\n this.links.splice(index, 1);\n },\n getTextForLinkType: function (linkTypeId) {\n let parts = linkTypeId.split('-');\n for (let i in this.linkTypes) {\n if (this.linkTypes.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.linkTypes[i];\n if (parts[0] === current.id && parts[1] === current.direction) {\n return current.type;\n }\n }\n }\n return 'text for #' + linkTypeId;\n },\n selectTransaction: function (event) {\n for (let i in this.searchResults) {\n if (this.searchResults.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.searchResults[i];\n if (current.selected) {\n this.addToSelected(current);\n }\n if (!current.selected) {\n // remove from\n this.removeFromSelected(current);\n }\n }\n }\n },\n selectLinkType: function (event) {\n for (let i in this.searchResults) {\n if (this.searchResults.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.searchResults[i];\n this.updateSelected(current.transaction_journal_id, current.link_type_id);\n }\n }\n },\n updateSelected(journalId, linkTypeId) {\n for (let i in this.links) {\n if (this.links.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.links[i];\n if (parseInt(current.transaction_journal_id) === journalId) {\n this.links[i].link_type_id = linkTypeId;\n }\n }\n }\n },\n addToSelected(journal) {\n let result = this.links.find(({transaction_journal_id}) => transaction_journal_id === journal.transaction_journal_id);\n if (typeof result === 'undefined') {\n this.links.push(journal);\n }\n },\n removeFromSelected(journal) {\n for (let i in this.links) {\n if (this.links.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.links[i];\n if (current.transaction_journal_id === journal.transaction_journal_id) {\n this.links.splice(parseInt(i), 1);\n }\n }\n }\n },\n getLinkTypes: function () {\n let url = './api/v1/link_types';\n axios.get(url)\n .then(response => {\n this.parseLinkTypes(response.data);\n }\n );\n },\n resetModal: function() {\n this.search();\n },\n parseLinkTypes: function (data) {\n for (let i in data.data) {\n if (data.data.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = data.data[i];\n let linkTypeInward = {\n id: current.id,\n type: current.attributes.inward,\n direction: 'inward'\n };\n let linkTypeOutward = {\n id: current.id,\n type: current.attributes.outward,\n direction: 'outward'\n };\n if (linkTypeInward.type === linkTypeOutward.type) {\n linkTypeInward.type = linkTypeInward.type + ' (←)';\n linkTypeOutward.type = linkTypeOutward.type + ' (→)';\n }\n this.linkTypes.push(linkTypeInward);\n this.linkTypes.push(linkTypeOutward);\n }\n }\n },\n search: function () {\n if('' === this.query) {\n this.searchResults = [];\n return;\n }\n this.searching = true;\n this.searchResults = [];\n let url = './api/v1/search/transactions?limit=10&query=' + this.query;\n axios.get(url)\n .then(response => {\n this.parseSearch(response.data);\n }\n );\n },\n parseSearch: function (data) {\n for (let i in data.data) {\n if (data.data.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n for (let ii in data.data[i].attributes.transactions) {\n if (data.data[i].attributes.transactions.hasOwnProperty(ii) && /^0$|^[1-9]\\d*$/.test(ii) && ii <= 4294967294) {\n let current = data.data[i].attributes.transactions[ii];\n current.transaction_group_id = parseInt(data.data[i].id);\n current.selected = this.isJournalSelected(current.transaction_journal_id);\n current.link_type_id = this.getJournalLinkType(current.transaction_journal_id);\n current.link_type_text = '';\n this.searchResults.push(current);\n }\n }\n }\n }\n this.searching = false;\n },\n getJournalLinkType: function (journalId) {\n for (let i in this.links) {\n if (this.links.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.links[i];\n if (current.transaction_journal_id === journalId) {\n return current.link_type_id;\n }\n }\n }\n return '1-inward';\n },\n isJournalSelected: function (journalId) {\n for (let i in this.links) {\n if (this.links.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.links[i];\n if (current.transaction_journal_id === journalId) {\n return true;\n }\n }\n }\n return false;\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionLinks.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionLinks.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionLinks.vue?vue&type=template&id=a69356e6&\"\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'],\n data() {\n return {\n availableFields: this.customFields\n }\n },\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n transaction_journal_id: function (value) {\n if (!this.showField) {\n // console.log('Field is hidden. Emit event!');\n this.$emit('uploaded-attachments', value);\n return;\n }\n // console.log('transaction_journal_id changed to ' + value);\n // do upload!\n if (0 !== value) {\n this.doUpload();\n }\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', this.transaction_journal_id);\n },\n doUpload: function () {\n // console.log('Now in doUpload() for ' + this.$refs.att.files.length + ' files.');\n for (let i in this.$refs.att.files) {\n if (this.$refs.att.files.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.$refs.att.files[i];\n let fileReader = new FileReader();\n let theParent = this; // dont ask me why i need to do this.\n fileReader.onloadend = function (evt) {\n if (evt.target.readyState === FileReader.DONE) {\n // do upload here\n const uri = './api/v1/attachments';\n const data = {\n filename: current.name,\n attachable_type: 'TransactionJournal',\n attachable_id: theParent.transaction_journal_id,\n };\n // create new attachment:\n axios.post(uri, data).then(response => {\n // upload actual file:\n const uploadUri = './api/v1/attachments/' + response.data.data.id + '/upload';\n axios\n .post(uploadUri, new Blob([evt.target.result]))\n .then(attachmentResponse => {\n // TODO feedback etc.\n // console.log('Uploaded a file. Emit event!');\n // console.log(attachmentResponse);\n theParent.$emit('uploaded-attachments', this.transaction_journal_id);\n });\n });\n }\n }\n fileReader.readAsArrayBuffer(current);\n }\n }\n if (0 === this.$refs.att.files.length) {\n // console.log('No files to upload. Emit event!');\n this.$emit('uploaded-attachments', this.transaction_journal_id);\n }\n }\n }\n\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAttachments.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAttachments.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionAttachments.vue?vue&type=template&id=c0a65b6c&scoped=true&\"\nimport script from \"./TransactionAttachments.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionAttachments.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c0a65b6c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.attachments'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{ref:\"att\",staticClass:\"form-control\",attrs:{\"multiple\":\"\",\"name\":\"attachments[]\",\"type\":\"file\"},on:{\"change\":_vm.selectedFile}})])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionLocation.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.location') }}\n </div>\n <div style=\"width:100%;height:300px;\">\n <l-map\n ref=\"myMap\"\n :center=\"center\"\n :zoom=\"zoom\" style=\"width:100%;height:300px;\"\n @ready=\"prepMap()\"\n @update:zoom=\"zoomUpdated\"\n @update:center=\"centerUpdated\"\n @update:bounds=\"boundsUpdated\"\n >\n <l-tile-layer :url=\"url\"></l-tile-layer>\n <l-marker :lat-lng=\"marker\" :visible=\"hasMarker\"></l-marker>\n </l-map>\n <span>\n <button class=\"btn btn-default btn-xs\" @click=\"clearLocation\">{{ $t('firefly.clear_location') }}</button>\n </span>\n </div>\n <p> </p>\n </div>\n</template>\n\n<script>\n\n// If you need to reference 'L', such as in 'L.icon', then be sure to\n// explicitly import 'leaflet' into your component\n// import L from 'leaflet';\nimport {LMap, LMarker, LTileLayer} from 'vue2-leaflet';\nimport 'leaflet/dist/leaflet.css';\n\nimport L from 'leaflet';\n\ndelete L.Icon.Default.prototype._getIconUrl;\n\nL.Icon.Default.mergeOptions({\n iconRetinaUrl: require('leaflet/dist/images/marker-icon-2x.png'),\n iconUrl: require('leaflet/dist/images/marker-icon.png'),\n shadowUrl: require('leaflet/dist/images/marker-shadow.png')\n });\n\nexport default {\n name: \"TransactionLocation\",\n props: {\n index: {},\n value: {\n type: Object,\n required: false\n },\n errors: {},\n customFields: {},\n },\n components: {\n LMap,\n LTileLayer,\n LMarker,\n },\n created() {\n if (null === this.value || typeof this.value === 'undefined') {\n axios.get('./api/v1/configuration/firefly.default_location').then(response => {\n this.zoom = parseInt(response.data.data.value.zoom_level);\n this.center =\n [\n parseFloat(response.data.data.value.latitude),\n parseFloat(response.data.data.value.longitude),\n ]\n ;\n });\n return;\n }\n if (null !== this.value.zoom_level && null !== this.value.latitude && null !== this.value.longitude) {\n this.zoom = this.value.zoom_level;\n this.center = [\n parseFloat(this.value.latitude),\n parseFloat(this.value.longitude),\n ];\n this.hasMarker = true;\n }\n },\n data() {\n return {\n availableFields: this.customFields,\n url: 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',\n zoom: 3,\n center: [0, 0],\n bounds: null,\n map: null,\n hasMarker: false,\n marker: [0, 0],\n }\n },\n methods: {\n prepMap: function () {\n this.map = this.$refs.myMap.mapObject;\n this.map.on('contextmenu', this.setObjectLocation);\n this.map.on('zoomend', this.saveZoomLevel);\n },\n setObjectLocation: function (event) {\n this.marker = [event.latlng.lat, event.latlng.lng];\n this.hasMarker = true;\n this.emitEvent();\n },\n saveZoomLevel: function () {\n this.emitEvent();\n },\n clearLocation: function () {\n this.hasMarker = false;\n this.emitEvent();\n },\n emitEvent() {\n this.$emit('set-marker-location', {\n index: this.index,\n zoomLevel: this.zoom,\n lat: this.marker[0],\n lng: this.marker[1],\n hasMarker: this.hasMarker\n }\n );\n },\n zoomUpdated(zoom) {\n this.zoom = zoom;\n },\n centerUpdated(center) {\n this.center = center;\n },\n boundsUpdated(bounds) {\n this.bounds = bounds;\n }\n },\n computed: {\n showField: function () {\n if ('location' in this.availableFields) {\n return this.availableFields.location;\n }\n return false;\n }\n },\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionLocation.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionLocation.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionLocation.vue?vue&type=template&id=3bafa3c9&scoped=true&\"\nimport script from \"./TransactionLocation.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionLocation.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3bafa3c9\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.location'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticStyle:{\"width\":\"100%\",\"height\":\"300px\"}},[_c('l-map',{ref:\"myMap\",staticStyle:{\"width\":\"100%\",\"height\":\"300px\"},attrs:{\"center\":_vm.center,\"zoom\":_vm.zoom},on:{\"ready\":function($event){return _vm.prepMap()},\"update:zoom\":_vm.zoomUpdated,\"update:center\":_vm.centerUpdated,\"update:bounds\":_vm.boundsUpdated}},[_c('l-tile-layer',{attrs:{\"url\":_vm.url}}),_vm._v(\" \"),_c('l-marker',{attrs:{\"lat-lng\":_vm.marker,\"visible\":_vm.hasMarker}})],1),_vm._v(\" \"),_c('span',[_c('button',{staticClass:\"btn btn-default btn-xs\",on:{\"click\":_vm.clearLocation}},[_vm._v(_vm._s(_vm.$t('firefly.clear_location')))])])],1),_vm._v(\" \"),_c('p',[_vm._v(\" \")])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitForm.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitForm.vue?vue&type=script&lang=js&\"","<!--\n - SplitForm.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div :id=\"'split_' + index\" :class=\"'tab-pane' + (0===index ? ' active' : '')\">\n <div class=\"row\">\n <div class=\"col\">\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">\n {{ $t('firefly.basic_journal_information') }}\n <span v-if=\"count > 1\">({{ index + 1 }} / {{ count }}) </span>\n </h3>\n <div v-if=\"count>1\" class=\"card-tools\">\n <button class=\"btn btn-danger btn-xs\" @click=\"removeTransaction\"><i class=\"fas fa-trash-alt\"></i></button>\n </div>\n </div>\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 :time=\"splitTime\"\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 :submitted_transaction=\"submittedTransaction\"\n :transaction_journal_id=\"transaction.transaction_journal_id\"\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: false\n },\n customFields: {\n type: Object,\n required: false\n },\n index: {\n type: Number,\n required: true\n },\n date: {\n type: Date,\n required: true\n },\n time: {\n type: Date,\n required: true\n },\n transactionType: {\n type: String,\n required: true\n },\n submittedTransaction: {\n type: Boolean,\n required: false,\n default: false\n }, // need to know if transaction is submitted.\n sourceAllowedTypes: {\n type: Array,\n required: false,\n default: []\n }, // allowed source account types.\n destinationAllowedTypes: {\n type: Array,\n required: false,\n default: []\n },\n // allow switch?\n allowSwitch: {\n type: Boolean,\n required: false,\n default: true\n }\n\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 splitTime: function () {\n return this.time;\n },\n sourceAccount: function () {\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 },\n destinationAccount: function () {\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 },\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=34da7e70&\"\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\">\n <li v-for=\"(transaction, index) in this.transactions\" class=\"nav-item\"><a :class=\"'nav-link' + (0===index ? ' active' : '')\" :href=\"'#split_' + index\"\n data-toggle=\"tab\">\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: ['transactions']\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=0e910ecf&\"\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\"},_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\":\"tab\"}},[('' !== transaction.description)?_c('span',[_vm._v(_vm._s(transaction.description))]):_vm._e(),_vm._v(\" \"),('' === transaction.description)?_c('span',[_vm._v(\"Split \"+_vm._s(index + 1))]):_vm._e()])])}),0)])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.split_transaction_title'))+\"\\n \")]),_vm._v(\" \"),_c('vue-typeahead-bootstrap',{attrs:{\"data\":_vm.descriptions,\"inputClass\":_vm.errors.length > 0 ? 'is-invalid' : '',\"minMatchingChars\":3,\"placeholder\":_vm.$t('firefly.split_transaction_title'),\"serializer\":function (item) { return item.description; },\"showOnFocus\":true,\"inputName\":\"group_title\"},on:{\"input\":_vm.lookupDescription},model:{value:(_vm.title),callback:function ($$v) {_vm.title=$$v},expression:\"title\"}},[_c('template',{slot:\"append\"},[_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"},on:{\"click\":_vm.clearDescription}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])],2),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionGroupTitle.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.split_transaction_title') }}\n </div>\n <vue-typeahead-bootstrap\n v-model=\"title\"\n :data=\"descriptions\"\n :inputClass=\"errors.length > 0 ? 'is-invalid' : ''\"\n :minMatchingChars=\"3\"\n :placeholder=\"$t('firefly.split_transaction_title')\"\n :serializer=\"item => item.description\"\n :showOnFocus=true\n inputName=\"group_title\"\n @input=\"lookupDescription\"\n >\n <template slot=\"append\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\" v-on:click=\"clearDescription\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </template>\n </vue-typeahead-bootstrap>\n\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n\n </div>\n</template>\n\n<script>\nimport VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';\nimport {debounce} from \"lodash\";\n\nexport default {\n props: ['value', 'errors'],\n name: \"TransactionGroupTitle\",\n components: {VueTypeaheadBootstrap},\n data() {\n return {\n descriptions: [],\n initialSet: [],\n title: this.value,\n emitEvent: true\n }\n },\n\n created() {\n axios.get(this.getACURL(''))\n .then(response => {\n this.descriptions = response.data;\n this.initialSet = response.data;\n });\n },\n watch: {\n value: function (value) {\n this.title = value;\n },\n title: function (value) {\n this.$emit('set-group-title', value);\n }\n },\n methods: {\n clearDescription: function () {\n this.title = '';\n },\n getACURL: function (query) {\n // update autocomplete URL:\n return document.getElementsByTagName('base')[0].href + 'api/v1/autocomplete/transactions?query=' + query;\n },\n lookupDescription: debounce(function () {\n // update autocomplete URL:\n axios.get(this.getACURL(this.title))\n .then(response => {\n this.descriptions = response.data;\n })\n }, 300)\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionGroupTitle.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionGroupTitle.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionGroupTitle.vue?vue&type=template&id=273271bf&scoped=true&\"\nimport script from \"./TransactionGroupTitle.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionGroupTitle.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"273271bf\",\n null\n \n)\n\nexport default component.exports","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[1]!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[2]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionTags.vue?vue&type=style&index=0&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"bf9ab7ac\", content, true, {});"],"sourceRoot":""}\ No newline at end of file