Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Clean up error display.
James Cole4035ac09ce76
diff --git a/frontend/src/components/transactions/Edit.vue b/frontend/src/components/transactions/Edit.vueindex f86b9c1df1..67baec6cc6 100644--- a/frontend/src/components/transactions/Edit.vue+++ b/frontend/src/components/transactions/Edit.vue@@ -483,11 +483,29 @@ export default {for (let ii in basicFields) {if (basicFields.hasOwnProperty(ii) && /^0$|^[1-9]\d*$/.test(ii) && ii <= 4294967294) {let fieldName = basicFields[ii];+ let submissionFieldName = fieldName;if (currentTransaction[fieldName] !== originalTransaction[fieldName]) {// console.log('Index ' + i + ': Field ' + fieldName + ' updated ("' + originalTransaction[fieldName] + '" > "' + currentTransaction[fieldName] + '")');// console.log(originalTransaction[fieldName]);// console.log(currentTransaction[fieldName]);- diff[fieldName] = currentTransaction[fieldName];++ // some field names may need to be different. little basic but it works:+ // console.log('pre: ' + submissionFieldName);+ if ('source_account_id' === submissionFieldName) {+ submissionFieldName = 'source_id';+ }+ if ('source_account_name' === submissionFieldName) {+ submissionFieldName = 'source_name';+ }+ if ('destination_account_id' === submissionFieldName) {+ submissionFieldName = 'destination_id';+ }+ if ('destination_account_name' === submissionFieldName) {+ submissionFieldName = 'destination_name';+ }+ // console.log('post: ' + submissionFieldName);++ diff[submissionFieldName] = currentTransaction[fieldName];shouldSubmit = true;}}@@ -507,10 +525,10 @@ export default {if (currentTransaction.tags.hasOwnProperty(ii) && /^0$|^[1-9]\d*$/.test(ii) && ii <= 4294967294) {// array.tagslet currentTag = currentTransaction.tags[ii];- if(typeof currentTag === 'object' && null !== currentTag) {+ if (typeof currentTag === 'object' && null !== currentTag) {diff.tags.push(currentTag.text);}- if(typeof currentTag === 'string') {+ if (typeof currentTag === 'string') {diff.tags.push(currentTag);}}diff --git a/public/v2/js/transactions/edit.js b/public/v2/js/transactions/edit.jsindex d063b5bb83..315cb26ebb 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:(t,e,a)=>{"use strict";a.r(e);var n=a(7760),s=a.n(n),i=a(7152),o=a(4605);window.$=window.jQuery=a(9755),window.axios=a(9669),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var r=document.head.querySelector('meta[name="csrf-token"]');r?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=r.content:console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token");var c=document.head.querySelector('meta[name="locale"]');localStorage.locale=c?c.content:"en_US",a(6891),a(3734),a(7632),a(5432),window.vuei18n=i.Z,window.uiv=o,s().use(vuei18n),s().use(o),window.Vue=s()},8923:(t,e,a)=>{"use strict";function n(){return{description:[],amount:[],source:[],destination:[],currency:[],foreign_currency:[],foreign_amount:[],date:[],custom_dates:[],budget:[],category:[],bill:[],tags:[],piggy_bank:[],internal_reference:[],external_url:[],notes:[],location:[]}}function 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 i(t){var e=t.getFullYear(),a=t.getMonth();++a<10&&(a="0"+a);var n=t.getDate();n<10&&(n="0"+n);var s=t.getHours();s<10&&(s="0"+s);var i=t.getMinutes();i<10&&(i="0"+i);var o=t.getSeconds();o<10&&(o="0"+o);var r=-t.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="-"),e+"-"+a+"-"+n+"T"+s+":"+i+":"+o+u+c+":"+l}a.d(e,{kQ:()=>n,f$:()=>s,u6:()=>i})},9899:(t,e,a)=>{"use strict";a.d(e,{Z:()=>h});var n=a(7760),s=a.n(n),i=a(629),o=a(8923),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,o.f$)(),defaultErrors:(0,o.kQ)()}},getters:{transactions:function(t){return t.transactions},groupTitle:function(t){return t.groupTitle},transactionType:function(t){return t.transactionType},accountToTransaction:function(t){return t.accountToTransaction},defaultTransaction:function(t){return t.defaultTransaction},sourceAllowedTypes:function(t){return t.sourceAllowedTypes},destinationAllowedTypes:function(t){return t.destinationAllowedTypes},allowedOpposingTypes:function(t){return t.allowedOpposingTypes},customDateFields:function(t){return t.customDateFields}},actions:{},mutations:{addTransaction:function(t){var e=r(t.defaultTransaction);e.errors=r(t.defaultErrors),t.transactions.push(e)},resetErrors:function(t,e){t.transactions[e.index].errors=r(t.defaultErrors)},resetTransactions:function(t){t.transactions=[]},setGroupTitle:function(t,e){t.groupTitle=e.groupTitle},setCustomDateFields:function(t,e){t.customDateFields=e},deleteTransaction:function(t,e){t.transactions.splice(e.index,1),t.transactions.length},setTransactionType:function(t,e){t.transactionType=e},setAllowedOpposingTypes:function(t,e){t.allowedOpposingTypes=e},setAccountToTransaction:function(t,e){t.accountToTransaction=e},updateField:function(t,e){t.transactions[e.index][e.field]=e.value},setTransactionError:function(t,e){t.transactions[e.index].errors[e.field]=e.errors},setDestinationAllowedTypes:function(t,e){t.destinationAllowedTypes=e},setSourceAllowedTypes:function(t,e){t.sourceAllowedTypes=e}}};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(t){return t.start},end:function(t){return t.end},defaultStart:function(t){return t.defaultStart},defaultEnd:function(t){return t.defaultEnd},viewRange:function(t){return t.viewRange}},actions:{initialiseStore:function(t){"default"===t.state.viewRange&&axios.get("./api/v1/preferences/viewRange").then((function(e){var a=e.data.data.attributes.data;t.commit("setViewRange",a),t.dispatch("setDatesFromViewRange")})).catch((function(e){t.commit("setViewRange","1M"),t.dispatch("setDatesFromViewRange")}))},setDatesFromViewRange:function(t){if(localStorage.viewRangeStart&&t.commit("setStart",new Date(localStorage.viewRangeStart)),localStorage.viewRangeEnd&&t.commit("setEnd",new Date(localStorage.viewRangeEnd)),localStorage.viewRangeDefaultStart&&t.commit("setDefaultStart",new Date(localStorage.viewRangeDefaultStart)),localStorage.viewRangeDefaultEnd&&t.commit("setDefaultEnd",new Date(localStorage.viewRangeDefaultEnd)),null===t.getters.end||null===t.getters.start){var e,a;switch(t.getters.viewRange){case"1D":e=new Date,a=new Date(e.getTime()),e.setHours(0,0,0,0),a.setHours(23,59,59,999);break;case"1W":e=new Date,a=new Date(e.getTime());var n=e.getDate()-e.getDay()+(0===e.getDay()?-6:1);e.setDate(n),e.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":e=new Date,(e=new Date(e.getFullYear(),e.getMonth(),1)).setHours(0,0,0,0),(a=new Date(e.getFullYear(),e.getMonth()+1,0)).setHours(23,59,59,999);break;case"3M":e=new Date,a=new Date;var i=Math.floor((e.getMonth()+3)/3)-1;(e=new Date(e.getFullYear(),[0,3,6,9][i],1)).setHours(0,0,0,0),a=new Date(a.getFullYear(),[2,5,8,11][i],1),(a=new Date(a.getFullYear(),a.getMonth()+1,0)).setHours(23,59,59,999);break;case"6M":e=new Date,a=new Date;var o=e.getMonth()<=5?0:1;(e=new Date(e.getFullYear(),[0,6][o],1)).setHours(0,0,0,0),a=new Date(a.getFullYear(),[5,11][o],1),(a=new Date(a.getFullYear(),a.getMonth()+1,0)).setHours(23,59,59,999);break;case"1Y":e=new Date,a=new Date,e=new Date(e.getFullYear(),0,1),a=new Date(a.getFullYear(),11,31),e.setHours(0,0,0,0),a.setHours(23,59,59,999)}t.commit("setStart",e),t.commit("setEnd",a),t.commit("setDefaultStart",e),t.commit("setDefaultEnd",a)}}},mutations:{setStart:function(t,e){t.start=e,window.localStorage.setItem("viewRangeStart",e)},setEnd:function(t,e){t.end=e,window.localStorage.setItem("viewRangeEnd",e)},setDefaultStart:function(t,e){t.defaultStart=e,window.localStorage.setItem("viewRangeDefaultStart",e)},setDefaultEnd:function(t,e){t.defaultEnd=e,window.localStorage.setItem("viewRangeDefaultEnd",e)},setViewRange:function(t,e){t.viewRange=e}}};var d=function(){return{listPageSize:33}},_={initialiseStore:function(t){localStorage.listPageSize&&(d.listPageSize=localStorage.listPageSize,t.commit("setListPageSize",{length:localStorage.listPageSize})),localStorage.listPageSize||axios.get("./api/v1/preferences/listPageSize").then((function(e){t.commit("setListPageSize",{length:parseInt(e.data.data.attributes.data)})}))}};const p={namespaced:!0,state:d,getters:{listPageSize:function(t){return t.listPageSize}},actions:_,mutations:{setListPageSize:function(t,e){var a=parseInt(e.length);0!==a&&(t.listPageSize=a)}}};const g={namespaced:!0,state:function(){return{orderMode:!1,activeFilter:1}},getters:{orderMode:function(t){return t.orderMode},activeFilter:function(t){return t.activeFilter}},actions:{},mutations:{setOrderMode:function(t,e){t.orderMode=e},setActiveFilter:function(t,e){t.activeFilter=e}}};s().use(i.ZP);const h=new i.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(t,e){t.currencyPreference=e.payload},initialiseStore:function(t){if(localStorage.locale)t.locale=localStorage.locale;else{var e=document.head.querySelector('meta[name="locale"]');e&&(t.locale=e.content,localStorage.locale=e.content)}}},getters:{currencyCode:function(t){return t.currencyPreference.code},currencyPreference:function(t){return t.currencyPreference},currencyId:function(t){return t.currencyPreference.id},locale:function(t){return t.locale}},actions:{updateCurrencyPreference:function(t){localStorage.currencyPreference?t.commit("setCurrencyPreference",{payload:JSON.parse(localStorage.currencyPreference)}):axios.get("./api/v1/currencies/default").then((function(e){var a={id:parseInt(e.data.data.id),name:e.data.data.attributes.name,symbol:e.data.data.attributes.symbol,code:e.data.data.attributes.code,decimal_places:parseInt(e.data.data.attributes.decimal_places)};localStorage.currencyPreference=JSON.stringify(a),t.commit("setCurrencyPreference",{payload:a})})).catch((function(e){console.error(e),t.commit("setCurrencyPreference",{payload:{id:1,name:"Euro",symbol:"€",code:"EUR",decimal_places:2}})}))}}})},157:(t,e,a)=>{t.exports=new vuei18n({locale:document.documentElement.lang,fallbackLocale:"en",messages:{bg:a(7154),cs:a(6407),de:a(4726),en:a(3340),"en-us":a(3340),"en-gb":a(6318),es:a(5394),el:a(3636),fr:a(2551),hu:a(995),it:a(9112),nl:a(4671),nb:a(9085),pl:a(6238),fi:a(7868),"pt-br":a(6586),"pt-pt":a(8664),ro:a(1102),ru:a(753),"zh-tw":a(1715),"zh-cn":a(4556),sk:a(7049),sv:a(7921),vi:a(1497)}})},843:(t,e,a)=>{"use strict";var n=a(9899),s=a(3324),i=a(7661),o=a(3044),r=a(5524),c=a(8923);function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var u=a(3465);const d={name:"Edit",created:function(){var t=window.location.pathname.split("/");this.groupId=parseInt(t[t.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:i.Z,SplitForm:o.Z,TransactionGroupTitle:r.Z},watch:{submittedTransaction:function(){this.finalizeSubmit()},submittedLinks:function(){this.finalizeSubmit()},submittedAttachments:function(){this.finalizeSubmit()}},methods:{getTransactionGroup:function(){var t=this;axios.get("./api/v1/transactions/"+this.groupId).then((function(e){t.parseTransactionGroup(e.data)})).catch((function(t){}))},parseTransactionGroup:function(t){var e=t.data.attributes,a=e.transactions.reverse();for(var n in this.groupTitle=e.group_title,this.originalGroupTitle=e.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(t,e){var a;0===t&&(this.transactionType=e.type.charAt(0).toUpperCase()+e.type.slice(1),this.sourceAllowedTypes=[e.source_type],this.destinationAllowedTypes=[e.destination_type],this.date=new Date(e.date),this.time=new Date(e.date),this.originalDate=new Date(e.date),this.originalTime=new Date(e.date));var n=(0,c.f$)();return n.description=e.description,n.transaction_journal_id=parseInt(e.transaction_journal_id),n.source_account_id=e.source_id,n.source_account_name=e.source_name,n.source_account_type=e.source_type,n.destination_account_id=e.destination_id,n.destination_account_name=e.destination_name,n.destination_account_type=e.destination_type,n.amount=e.amount,n.currency_id=e.currency_id,n.foreign_amount=e.foreign_amount,n.foreign_currency_id=e.foreign_currency_id,n.category=e.category_name,n.budget_id=e.budget_id,n.bill_id=null!==(a=e.bill_id)&&void 0!==a?a:0,n.tags=e.tags,n.interest_date=e.interest_date?e.interest_date.substr(0,10):"",n.book_date=e.book_date?e.book_date.substr(0,10):"",n.process_date=e.process_date?e.process_date.substr(0,10):"",n.due_date=e.due_date?e.due_date.substr(0,10):"",n.payment_date=e.payment_date?e.payment_date.substr(0,10):"",n.invoice_date=e.invoice_date?e.invoice_date.substr(0,10):"",n.internal_reference=e.internal_reference,n.external_url=e.external_uri,n.external_id=e.external_id,n.notes=e.notes,n.location={zoom_level:e.zoom_level,longitude:e.longitude,latitude:e.latitude},n.zoom_level=e.zoom_level,n.longitude=e.longitude,n.latitude=e.latitude,n.errors=(0,c.kQ)(),n},parseLinks:function(t,e){var a=this;axios.get("./api/v1/transaction-journals/"+t+"/links").then((function(n){var s=n.data.data;for(var i in s)s.hasOwnProperty(i)&&/^0$|^[1-9]\d*$/.test(i)&&i<=4294967294&&a.parseLink(s[i],t,e)}))},parseLink:function(t,e,a){var n=this,s=[],i=parseInt(t.attributes.inward_id),o="inward";i===e&&(i=parseInt(t.attributes.outward_id),o="outward"),s.push(new Promise((function(n){n({link:t,journalId:e,opposingId:i,index:a,direction:o})}))),s.push(axios.get("./api/v1/transaction-journals/"+i)),s.push(axios.get("./api/v1/transaction_links/"+t.attributes.link_type_id)),Promise.all(s).then((function(e){var a=e[1].data.data.attributes.transactions,s=e[0].opposingId,i={};for(var o in a)a.hasOwnProperty(o)&&/^0$|^[1-9]\d*$/.test(o)&&o<=4294967294&&a[o].transaction_journal_id===s&&(i=a[o]);var r=e[0].index,c=e[0].direction,l=e[2].data.data.id,u={id:t.id,link_type_id:l+"-"+c,transaction_group_id:e[1].data.data.id,transaction_journal_id:i.transaction_journal_id,description:i.description,type:i.type,currency_code:i.currency_code,amount:i.amount};n.transactions[r].links.push(u),n.originalTransactions[r].links.push(u)}))},getAllowedOpposingTypes:function(){var t=this;axios.get("./api/v1/configuration/firefly.allowed_opposing_types").then((function(e){t.allowedOpposingTypes=e.data.data.value}))},getCustomFields:function(){var t=this;axios.get("./api/v1/preferences/transaction_journal_optional_fields").then((function(e){t.customFields=e.data.data.attributes.data}))},uploadedAttachment:function(t){console.log("event: uploadedAttachment"),console.log(t)},storeLocation:function(t){this.transactions[t.index].zoom_level=t.zoomLevel,this.transactions[t.index].longitude=t.lng,this.transactions[t.index].latitude=t.lat},storeAccountValue:function(t){var e=t.direction,a=t.index;this.transactions[a][e+"_account_id"]=t.id,this.transactions[a][e+"_account_type"]=t.type,this.transactions[a][e+"_account_name"]=t.name},storeDate:function(t){this.date=t.date},storeTime:function(t){this.time=t.time},storeField:function(t){var e=t.field;"category"===e&&(e="category_name"),this.transactions[t.index][e]=t.value},removeTransaction:function(t){this.transactions.splice(t.index,1),this.originalTransactions=[]},storeGroupTitle:function(t){this.groupTitle=t},selectedAttachments:function(t){for(var e in this.transactions)this.transactions.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294&&parseInt(this.transactions[e].transaction_journal_id)===parseInt(t)&&(this.transactions[e].selectedAttachments=!0)},addTransaction:function(){var t=(0,c.f$)();t.errors=(0,c.kQ)(),this.transactions.push(t)},submitTransaction:function(){var t={transactions:[]},e=!1,a=!1,n=!1;this.groupTitle!==this.originalGroupTitle&&(t.group_title=this.groupTitle,e=!0);var s=this.originalTransactions.length;for(var i in this.transactions)if(this.transactions.hasOwnProperty(i)&&/^0$|^[1-9]\d*$/.test(i)&&i<=4294967294){var o=this.transactions[i],r=this.originalTransactions.hasOwnProperty(i)?this.originalTransactions[i]:{},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 _)if(_.hasOwnProperty(p)&&/^0$|^[1-9]\d*$/.test(p)&&p<=4294967294){var g=_[p];o[g]!==r[g]&&(d[g]=o[g],e=!0)}if(0!==o.piggy_bank_id&&(d.piggy_bank_id=o.piggy_bank_id,e=!0),JSON.stringify(o.tags)!==JSON.stringify(r.tags)){if(d.tags=[],0!==o.tags.length)for(var h in o.tags)if(o.tags.hasOwnProperty(h)&&/^0$|^[1-9]\d*$/.test(h)&&h<=4294967294){var m=o.tags[h];"object"===l(m)&&null!==m&&d.tags.push(m.text),"string"==typeof m&&d.tags.push(m)}e=!0}this.compareLinks(o.links)!==this.compareLinks(r.links)&&(a=!0),void 0!==o.selectedAttachments&&!0===o.selectedAttachments&&(n=!0);var f="invalid";if(this.date.toISOString()!==this.originalDate.toISOString()||this.time.toISOString()!==this.originalTime.toISOString()){console.log("Date and/or time is changed"),e=!0;var y=this.date;y.setHours(this.time.getHours()),y.setMinutes(this.time.getMinutes()),y.setSeconds(this.time.getSeconds()),f=(0,c.u6)(y),d.date=f}(0===Object.keys(d).length&&s>1||0!==Object.keys(d).length)&&(d.transaction_journal_id=r.transaction_journal_id,t.transactions.push(u(d)),e=!0)}console.log("submitTransaction"),console.log("shouldUpload : "+n),console.log("shouldLinks : "+a),console.log("shouldSubmit : "+e),e&&this.submitUpdate(t,a,n),e||(this.submittedTransaction=!0),a||(this.submittedLinks=!0),n||(this.submittedAttachments=!0),!e&&a&&this.submitTransactionLinks(),console.log("Done with submit methd.")},compareLinks:function(t){var e=[];for(var a in t)t.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294&&e.push({amount:t[a].amount,currency_code:t[a].currency_code,description:t[a].description,link_type_id:t[a].link_type_id,transaction_group_id:t[a].transaction_group_id,type:t[a].type});return JSON.stringify(e)},submitUpdate:function(t,e,a){var n=this;console.log("submitUpdate"),this.inError=!1;var s="./api/v1/transactions/"+this.groupId;console.log(t),axios.put(s,t).then((function(t){console.log("Response is OK!"),n.submittedTransaction=!0,e&&(console.log("Need to update links."),n.submitTransactionLinks()),e||console.log("No need to update links."),n.returnedGroupId=parseInt(t.data.data.id),n.returnedGroupTitle=null===t.data.data.attributes.group_title?t.data.data.attributes.transactions[0].description:t.data.data.attributes.group_title})).catch((function(t){console.log("error :("),console.log(t.response.data),n.enableSubmit=!0,n.submittedTransaction=!0,n.submittedAttachments=!0,n.submittedLinks=!0,n.inError=!0,n.parseErrors(t.response.data)}))},parseErrors:function(t){for(var e in this.transactions)this.transactions.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294&&this.resetErrors({index:e});var a,n,s;for(var i in this.successMessage="",this.errorMessage=this.$t("firefly.errors_submission"),void 0===t.errors&&(this.successMessage="",this.errorMessage=t.message),t.errors)if(t.errors.hasOwnProperty(i)){if("group_title"===i){this.groupTitleErrors=t.errors[i];continue}if("group_title"!==i)switch(n=parseInt(i.split(".")[1]),s=i.split(".")[2]){case"amount":case"description":case"date":case"tags":a={index:n,field:s,errors:t.errors[i]},this.setTransactionError(a);break;case"budget_id":a={index:n,field:"budget",errors:t.errors[i]},this.setTransactionError(a);break;case"bill_id":a={index:n,field:"bill",errors:t.errors[i]},this.setTransactionError(a);break;case"piggy_bank_id":a={index:n,field:"piggy_bank",errors:t.errors[i]},this.setTransactionError(a);break;case"category_name":a={index:n,field:"category",errors:t.errors[i]},this.setTransactionError(a);break;case"source_name":case"source_id":a={index:n,field:"source",errors:t.errors[i]},this.setTransactionError(a);break;case"destination_name":case"destination_id":a={index:n,field:"destination",errors:t.errors[i]},this.setTransactionError(a);break;case"foreign_amount":case"foreign_currency":a={index:n,field:"foreign_amount",errors:t.errors[i]},this.setTransactionError(a)}this.transactions[n]}},setTransactionError:function(t){this.transactions[t.index].errors[t.field]=t.errors},resetErrors:function(t){this.transactions[t.index].errors=u((0,c.kQ)())},deleteOriginalLinks:function(t){for(var e in console.log(t.links),t.links)if(t.links.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a="/api/v1/transaction_links/"+t.links[e].id;axios.delete(a).then((function(t){}))}},submitTransactionLinks:function(){var t=0,e=[];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]:{},i=this.compareLinks(n.links),o=this.compareLinks(s.links);if(i!==o)for(var r in"[]"!==o&&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),t++,e.push(axios.post("./api/v1/transaction_links",l).then((function(t){})))}}0!==t?Promise.all(e).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 t,e;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!==(t=window.previousURL)&&void 0!==t?t:"/")+"?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!==(e=window.previousURL)&&void 0!==e?e:"/")+"?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 _=(0,a(1900).Z)(d,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("Alert",{attrs:{message:t.errorMessage,type:"danger"}}),t._v(" "),a("Alert",{attrs:{message:t.successMessage,type:"success"}}),t._v(" "),a("Alert",{attrs:{message:t.warningMessage,type:"warning"}}),t._v(" "),a("SplitPills",{attrs:{transactions:t.transactions}}),t._v(" "),a("div",{staticClass:"tab-content"},t._l(this.transactions,(function(e,n){return a("SplitForm",{key:n,attrs:{count:t.transactions.length,transaction:e,"allowed-opposing-types":t.allowedOpposingTypes,"custom-fields":t.customFields,date:t.date,time:t.time,index:n,"transaction-type":t.transactionType,"destination-allowed-types":t.destinationAllowedTypes,"source-allowed-types":t.sourceAllowedTypes,"allow-switch":!1,"submitted-transaction":t.submittedTransaction},on:{"uploaded-attachments":function(e){return t.uploadedAttachment(e)},"set-marker-location":function(e){return t.storeLocation(e)},"set-account":function(e){return t.storeAccountValue(e)},"set-date":function(e){return t.storeDate(e)},"set-time":function(e){return t.storeTime(e)},"set-field":function(e){return t.storeField(e)},"remove-transaction":function(e){return t.removeTransaction(e)},"selected-attachments":function(e){return t.selectedAttachments(e)}}})})),1),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},[t.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(e){return t.storeGroupTitle(e)}},model:{value:this.groupTitle,callback:function(e){t.$set(this,"groupTitle",e)},expression:"this.groupTitle"}})],1)])])]):t._e()]),t._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"},[t._v("\n \n ")]),t._v(" "),a("button",{staticClass:"btn btn-outline-primary btn-block",on:{click:t.addTransaction}},[a("i",{staticClass:"far fa-clone"}),t._v(" "+t._s(t.$t("firefly.add_another_split"))+"\n ")])]),t._v(" "),a("div",{staticClass:"col"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n \n ")]),t._v(" "),a("button",{staticClass:"btn btn-info btn-block",attrs:{disabled:!t.enableSubmit},on:{click:t.submitTransaction}},[t.enableSubmit?a("span",[a("i",{staticClass:"far fa-save"}),t._v(" "+t._s(t.$t("firefly.update_transaction")))]):t._e(),t._v(" "),t.enableSubmit?t._e():a("span",[a("i",{staticClass:"fas fa-spinner fa-spin"})])])])]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[t._v("\n \n ")]),t._v(" "),a("div",{staticClass:"col"},[a("div",{staticClass:"form-check"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.stayHere,expression:"stayHere"}],staticClass:"form-check-input",attrs:{id:"stayHere",type:"checkbox"},domProps:{checked:Array.isArray(t.stayHere)?t._i(t.stayHere,null)>-1:t.stayHere},on:{change:function(e){var a=t.stayHere,n=e.target,s=!!n.checked;if(Array.isArray(a)){var i=t._i(a,null);n.checked?i<0&&(t.stayHere=a.concat([null])):i>-1&&(t.stayHere=a.slice(0,i).concat(a.slice(i+1)))}else t.stayHere=s}}}),t._v(" "),a("label",{staticClass:"form-check-label",attrs:{for:"stayHere"}},[a("span",{staticClass:"small"},[t._v(t._s(t.$t("firefly.after_update_create_another")))])])])])])])])])])],1)}),[],!1,null,"17cb1c2b",null).exports;var p=a(7760),g=a.n(p);a(232),g().config.productionTip=!1;var h=a(157),m={};new(g())({i18n:h,store:n.Z,render:function(t){return t(_,{props:m})},beforeCreate:function(){this.$store.commit("initialiseStore"),this.$store.dispatch("updateCurrencyPreference")}}).$mount("#transactions_edit")},6665:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>r});var n=a(4015),s=a.n(n),i=a(3645),o=a.n(i)()(s());o.push([t.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=o},3324:(t,e,a)=>{"use strict";a.d(e,{Z:()=>s});const n={name:"Alert",props:["message","type"]};const s=(0,a(1900).Z)(n,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.message.length>0?a("div",{class:"alert alert-"+t.type+" alert-dismissible"},[a("button",{staticClass:"close",attrs:{"aria-hidden":"true","data-dismiss":"alert",type:"button"}},[t._v("×")]),t._v(" "),a("h5",["danger"===t.type?a("i",{staticClass:"icon fas fa-ban"}):t._e(),t._v(" "),"success"===t.type?a("i",{staticClass:"icon fas fa-thumbs-up"}):t._e(),t._v(" "),"danger"===t.type?a("span",[t._v(t._s(t.$t("firefly.flash_error")))]):t._e(),t._v(" "),"success"===t.type?a("span",[t._v(t._s(t.$t("firefly.flash_success")))]):t._e()]),t._v(" "),a("span",{domProps:{innerHTML:t._s(t.message)}})]):t._e()}),[],!1,null,null,null).exports},3044:(t,e,a)=>{"use strict";a.d(e,{Z:()=>at});var n=a(662),s=a(6486);const i={props:["index","value","errors"],components:{VueTypeaheadBootstrap:n.Z},name:"TransactionDescription",data:function(){return{descriptions:[],initialSet:[],description:this.value}},created:function(){var t=this;axios.get(this.getACURL("")).then((function(e){t.descriptions=e.data,t.initialSet=e.data}))},methods:{clearDescription:function(){this.description=""},getACURL:function(t){return document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/transactions?query="+t},lookupDescription:(0,s.debounce)((function(){var t=this;axios.get(this.getACURL(this.value)).then((function(e){t.descriptions=e.data}))}),300)},watch:{value:function(t){this.description=t},description:function(t){this.$emit("set-field",{field:"description",index:this.index,value:t})}}};var o=a(1900);const r=(0,o.Z)(i,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("vue-typeahead-bootstrap",{attrs:{data:t.descriptions,inputClass:t.errors.length>0?"is-invalid":"",minMatchingChars:3,placeholder:t.$t("firefly.description"),serializer:function(t){return t.description},showOnFocus:!0,autofocus:"",inputName:"description[]"},on:{input:t.lookupDescription},model:{value:t.description,callback:function(e){t.description=e},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:t.clearDescription}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._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(t){if(""===t)return this.localDate=new Date,void this.$emit("set-date",{date:this.localDate});this.localDate=new Date(t),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(t){var e,a,n;if(""===t)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()),i=t.split(":"),o=null!==(e=i[0])&&void 0!==e?e:"0",r=null!==(a=i[1])&&void 0!==a?a:"0",c=null!==(n=i[2])&&void 0!==n?n:"0";o=3===o.length?o.substr(1,2):o,r=3===r.length?r.substr(1,2):r,c=3===c.length?c.substr(1,2):c,s.setHours(parseInt(o)),s.setMinutes(parseInt(r)),s.setSeconds(parseInt(c)),this.localTime=s,this.$emit("set-time",{time:this.localTime})}}}};const l=(0,o.Z)(c,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.date_and_time"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.dateStr,expression:"dateStr"}],ref:"date",class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{disabled:t.index>0,placeholder:t.dateStr,title:t.$t("firefly.date"),autocomplete:"off",name:"date[]",type:"date"},domProps:{value:t.dateStr},on:{input:function(e){e.target.composing||(t.dateStr=e.target.value)}}}),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.timeStr,expression:"timeStr"}],ref:"time",class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{disabled:t.index>0,placeholder:t.timeStr,title:t.$t("firefly.time"),autocomplete:"off",name:"time[]",type:"time"},domProps:{value:t.timeStr},on:{input:function(e){e.target.composing||(t.timeStr=e.target.value)}}})]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e(),t._v(" "),""!==t.timeZone?a("span",{staticClass:"text-muted small"},[t._v(t._s(t.timeZone))]):t._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 t=this;axios.get("./api/v1/budgets").then((function(e){t.parseBudgets(e.data)}))},parseBudgets:function(t){for(var e in t.data)if(t.data.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t.data[e];if(!a.attributes.active)continue;this.budgetList.push({id:parseInt(a.id),name:a.attributes.name})}}},watch:{value:function(t){this.emitEvent=!1,this.budget=t},budget:function(t){this.$emit("set-field",{field:"budget_id",index:this.index,value:t})}}};const d=(0,o.Z)(u,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.budget"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:t.budget,expression:"budget"}],ref:"budget",class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{title:t.$t("firefly.budget"),autocomplete:"off",name:"budget_id[]"},on:{submit:function(t){t.preventDefault()},change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.budget=e.target.multiple?a:a[0]}}},t._l(this.budgetList,(function(e){return a("option",{attrs:{label:e.name},domProps:{value:e.id}},[t._v(t._s(e.name))])})),0)]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()])}),[],!1,null,null,null).exports;const _={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[]}},allowedOpposingTypes:{type:Object,default:function(){return{}}},transactionType:{type:String,default:"any"}},data:function(){return{query:"",accounts:[],accountTypes:[],initialSet:[],selectedAccount:{},account:this.value,accountName:"",selectedAccountTrigger:!1}},created:function(){var t;this.selectedAccountTrigger=!0,this.accountName=null!==(t=this.account.name)&&void 0!==t?t:"",this.createInitialSet()},methods:{getACURL:function(t,e){return"./api/v1/autocomplete/accounts?types="+t.join(",")+"&query="+e},clearAccount:function(){this.accounts=this.initialSet,this.account={name:"",type:"no_type",id:null,currency_id:null,currency_code:null,currency_symbol:null},this.accountName=""},lookupAccount:(0,s.debounce)((function(){var t=this;0===this.accountTypes.length&&(this.accountTypes="source"===this.direction?this.sourceAllowedTypes:this.destinationAllowedTypes),axios.get(this.getACURL(this.accountTypes,this.accountName)).then((function(e){t.accounts=e.data}))}),300),createInitialSet:function(){var t=this,e=this.sourceAllowedTypes;"destination"===this.direction&&(e=this.destinationAllowedTypes),axios.get(this.getACURL(e,"")).then((function(e){t.accounts=e.data,t.initialSet=e.data}))}},watch:{sourceAllowedTypes:function(t){this.createInitialSet()},destinationAllowedTypes:function(t){this.createInitialSet()},selectedAccount:function(t){this.selectedAccountTrigger=!0,this.account=t,this.$emit("set-account",{index:this.index,direction:this.direction,id:t.id,type:t.type,name:t.name,currency_id:t.currency_id,currency_code:t.currency_code,currency_symbol:t.currency_symbol}),this.accountName=this.account.name_with_balance},accountName:function(t){!1===this.selectedAccountTrigger&&(this.$emit("set-account",{index:this.index,direction:this.direction,id:null,type:null,name:t,currency_id:null,currency_code:null,currency_symbol:null}),this.accountTrigger=!1,this.account={name:t,type:null,id:null,currency_id:null,currency_code:null,currency_symbol:null}),this.selectedAccountTrigger=!1},account:function(t){var e=[],a=t.type?t.type:"no_type";void 0!==this.allowedOpposingTypes[this.direction]&&void 0!==this.allowedOpposingTypes[this.direction][a]&&(e=this.allowedOpposingTypes[this.direction][a]),"source"===this.direction&&this.$emit("set-dest-types",e),"destination"===this.direction&&this.$emit("set-src-types",e)},value:function(t){var e;this.account=t,this.selectedAccountTrigger=!0,this.accountName=null!==(e=t.name)&&void 0!==e?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,o.Z)(_,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[t.visible?a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[0===this.index?a("span",[t._v(t._s(t.$t("firefly."+this.direction+"_account")))]):t._e(),t._v(" "),this.index>0?a("span",{staticClass:"text-warning"},[t._v(t._s(t.$t("firefly.first_split_overrules_"+this.direction)))]):t._e()]):t._e(),t._v(" "),t.visible?t._e():a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n \n ")]),t._v(" "),t.visible?a("vue-typeahead-bootstrap",{attrs:{data:t.accounts,inputClass:t.errors.length>0?"is-invalid":"",inputName:t.direction+"[]",minMatchingChars:3,placeholder:t.$t("firefly."+t.direction+"_account"),serializer:function(t){return t.name_with_balance},showOnFocus:!0},on:{hit:function(e){t.selectedAccount=e},input:t.lookupAccount},scopedSlots:t._u([{key:"suggestion",fn:function(e){var n=e.data,s=e.htmlText;return[a("div",{staticClass:"d-flex",attrs:{title:n.type}},[a("span",{domProps:{innerHTML:t._s(s)}}),a("br")])]}}],null,!1,1423807661),model:{value:t.accountName,callback:function(e){t.accountName=e},expression:"accountName"}},[t._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:t.clearAccount}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2):t._e(),t._v(" "),t.visible?t._e():a("div",{staticClass:"form-control-static"},[a("span",{staticClass:"small text-muted"},[a("em",[t._v(t._s(t.$t("firefly.first_split_decides")))])])]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()],1)}),[],!1,null,null,null).exports;const g={name:"SwitchAccount",props:["index","transactionType"],methods:{switchAccounts:function(){this.$emit("switch-accounts",this.index)}}};const h=(0,o.Z)(g,(function(){var t=this,e=t.$createElement,a=t._self._c||e;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"},[t._v("\n "+t._s(t.$t("firefly."+this.transactionType))+"\n ")]):t._e(),t._v(" "),"any"===this.transactionType?a("span",{staticClass:"text-muted"},[t._v(" ")]):t._e()]),t._v(" "),a("div",{staticClass:"btn-group d-flex"},[a("button",{staticClass:"btn btn-light",on:{click:t.switchAccounts}},[t._v("↔")])])])}),[],!1,null,"376bca8c",null).exports;const m={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(t){return parseFloat(t).toFixed(this.fractionDigits)}},data:function(){return{transactionAmount:this.amount,currencySymbol:null,srcCurrencySymbol:this.sourceCurrencySymbol,dstCurrencySymbol:this.destinationCurrencySymbol,emitEvent:!0}},watch:{transactionAmount:function(t){!0===this.emitEvent&&this.$emit("set-field",{field:"amount",index:this.index,value:t}),this.emitEvent=!0},amount:function(t){this.transactionAmount=t},sourceCurrencySymbol:function(t){this.srcCurrencySymbol=t},destinationCurrencySymbol:function(t){this.dstCurrencySymbol=t},transactionType:function(t){switch(t){case"Transfer":case"Withdrawal":this.currencySymbol=this.srcCurrencySymbol;break;case"Deposit":this.currencySymbol=this.dstCurrencySymbol}}}};const f=(0,o.Z)(m,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs"},[t._v(t._s(t.$t("firefly.amount")))]),t._v(" "),a("div",{staticClass:"input-group"},[t.currencySymbol?a("div",{staticClass:"input-group-prepend"},[a("div",{staticClass:"input-group-text"},[t._v(t._s(t.currencySymbol))])]):t._e(),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.transactionAmount,expression:"transactionAmount"}],class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:t.$t("firefly.amount"),title:t.$t("firefly.amount"),autocomplete:"off",name:"amount[]",type:"number"},domProps:{value:t.transactionAmount},on:{input:function(e){e.target.composing||(t.transactionAmount=e.target.value)}}})]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()])}),[],!1,null,"fadf3e90",null).exports;const y={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(t){return parseFloat(t).toFixed(this.fractionDigits)}},watch:{amount:function(t){!0===this.emitEvent&&this.$emit("set-field",{field:"foreign_amount",index:this.index,value:t}),this.emitEvent=!0},value:function(t){this.amount=t}},computed:{isVisible:{get:function(){return!("Transfer"===this.transactionType&&this.sourceCurrencyId===this.destinationCurrencyId)}}}};const v=(0,o.Z)(y,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.isVisible?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs"},[t._v(t._s(t.$t("form.foreign_amount")))]),t._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.amount,expression:"amount"}],class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:t.$t("form.foreign_amount"),title:t.$t("form.foreign_amount"),autocomplete:"off",name:"foreign_amount[]",type:"number"},domProps:{value:t.amount},on:{input:function(e){e.target.composing||(t.amount=e.target.value)}}})]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()]):t._e()}),[],!1,null,"d13f8bea",null).exports;const b={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(t){this.selectedCurrency=t},sourceCurrencyId:function(t){this.srcCurrencyId=t},destinationCurrencyId:function(t){this.dstCurrencyId=t},selectedCurrency:function(t){this.$emit("set-field",{field:"foreign_currency_id",index:this.index,value:t})},transactionType:function(t){this.lockedCurrency=0,"Transfer"===t&&(this.lockedCurrency=this.dstCurrencyId,this.selectedCurrency=this.dstCurrencyId),this.filterCurrencies()}},created:function(){this.getAllCurrencies()},methods:{getAllCurrencies:function(){var t=this;axios.get("./api/v1/autocomplete/currencies").then((function(e){t.allCurrencies=e.data,t.filterCurrencies()}))},filterCurrencies:function(){if(0===this.lockedCurrency){for(var t in this.selectableCurrencies=[{id:0,name:this.$t("firefly.no_currency")}],this.allCurrencies)if(this.allCurrencies.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var e=this.allCurrencies[t];this.selectableCurrencies.push(e)}}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,o.Z)(b,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.isVisible?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs"},[t._v(" ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:t.selectedCurrency,expression:"selectedCurrency"}],staticClass:"form-control",attrs:{name:"foreign_currency_id[]"},on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.selectedCurrency=e.target.multiple?a:a[0]}}},t._l(t.selectableCurrencies,(function(e){return a("option",{attrs:{label:e.name},domProps:{value:e.id}},[t._v(t._s(e.name))])})),0)])]):t._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(t){this.availableFields=t},interestDate:function(t){this.dates.interest_date=t},bookDate:function(t){this.dates.book_date=t},processDate:function(t){this.dates.process_date=t},dueDate:function(t){this.dates.due_date=t},paymentDate:function(t){this.dates.payment_date=t},invoiceDate:function(t){this.dates.invoice_date=t}},methods:{isDateField:function(t){return this.dateFields.includes(t)},getFieldValue:function(t){var e;return null!==(e=this.dates[t])&&void 0!==e?e:""},setFieldValue:function(t,e){this.$emit("set-field",{field:e,index:this.index,value:t.target.value})}}};const x=(0,o.Z)(w,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",t._l(t.availableFields,(function(e,n){return a("div",{staticClass:"form-group"},[e&&t.isDateField(n)?a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("form."+n))+"\n ")]):t._e(),t._v(" "),e&&t.isDateField(n)?a("div",{staticClass:"input-group"},[a("input",{ref:n,refInFor:!0,staticClass:"form-control",attrs:{name:n+"[]",placeholder:t.$t("form."+n),title:t.$t("form."+n),autocomplete:"off",type:"date"},domProps:{value:t.getFieldValue(n)},on:{change:function(e){return t.setFieldValue(e,n)},submit:function(t){t.preventDefault()}}})]):t._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 t=this;axios.get(this.getACURL("")).then((function(e){t.categories=e.data,t.initialSet=e.data}))},methods:{clearCategory:function(){this.category=""},getACURL:function(t){return document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/categories?query="+t},lookupCategory:(0,s.debounce)((function(){var t=this;axios.get(this.getACURL(this.value)).then((function(e){t.categories=e.data}))}),300)},watch:{value:function(t){this.emitEvent=!1,this.category=null!=t?t:""},category:function(t){this.$emit("set-field",{field:"category",index:this.index,value:t})}},computed:{selectedCategory:{get:function(){return this.categories[this.index].name},set:function(t){this.category=t.name}}}};const C=(0,o.Z)(T,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.category"))+"\n ")]),t._v(" "),a("vue-typeahead-bootstrap",{attrs:{data:t.categories,inputClass:t.errors.length>0?"is-invalid":"",minMatchingChars:3,placeholder:t.$t("firefly.category"),serializer:function(t){return t.name},showOnFocus:!0,inputName:"category[]"},on:{hit:function(e){t.selectedCategory=e},input:t.lookupCategory},model:{value:t.category,callback:function(e){t.category=e},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:t.clearCategory}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._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 t=this;axios.get("./api/v1/bills").then((function(e){t.parseBills(e.data)}))},parseBills:function(t){for(var e in t.data)if(t.data.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t.data[e];this.billList.push({id:parseInt(a.id),name:a.attributes.name})}}},watch:{value:function(t){this.emitEvent=!1,this.bill=t},bill:function(t){!0===this.emitEvent&&this.$emit("set-field",{field:"bill_id",index:this.index,value:t}),this.emitEvent=!0}}};const A=(0,o.Z)(D,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.bill"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:t.bill,expression:"bill"}],ref:"bill",class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{title:t.$t("firefly.bill"),autocomplete:"off",name:"bill_id[]"},on:{submit:function(t){t.preventDefault()},change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.bill=e.target.multiple?a:a[0]}}},t._l(this.billList,(function(e){return a("option",{attrs:{label:e.name},domProps:{value:e.id}},[t._v(t._s(e.name))])})),0)]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()])}),[],!1,null,null,null).exports;var S=a(1310),z=a.n(S),I=a(9669),j=a.n(I);const P={name:"TransactionTags",components:{VueTagsInput:z()},props:["value","index","errors"],data:function(){return{autocompleteItems:[],debounce:null,tags:[],currentTag:"",updateTags:!0,tagList:this.value,emitEvent:!0}},created:function(){var t=[];for(var e in this.value)this.value.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294&&t.push({text:this.value[e]});this.updateTags=!1,this.tags=t},watch:{currentTag:"initItems",value:function(t){this.emitEvent=!1,this.tagList=t},tagList:function(t){console.log("watch tagList"),!0===this.emitEvent&&this.$emit("set-field",{field:"tags",index:this.index,value:t}),this.emitEvent=!0,this.updateTags=!1,this.tags=t},tags:function(t){if(this.updateTags){var e=[];for(var a in t)t.hasOwnProperty(a)&&e.push({text:t[a].text});this.tagList=e}this.updateTags=!0}},methods:{initItems:function(){var t=this;if(!(this.currentTag.length<2)){var e=document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/tags?query=".concat(this.currentTag);clearTimeout(this.debounce),this.debounce=setTimeout((function(){j().get(e).then((function(e){t.autocompleteItems=e.data.map((function(t){return{text:t.tag}}))})).catch((function(){return console.warn("Oh. Something went wrong loading tags.")}))}),300)}}}};a(4936);const $=(0,o.Z)(P,(function(){var t=this,e=this,a=e.$createElement,n=e._self._c||a;return n("div",{staticClass:"form-group"},[n("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.tags"))+"\n ")]),e._v(" "),n("div",{staticClass:"input-group"},[n("vue-tags-input",{attrs:{"add-only-from-autocomplete":!1,"autocomplete-items":e.autocompleteItems,tags:e.tags,title:e.$t("firefly.tags"),placeholder:e.$t("firefly.tags")},on:{"tags-changed":function(e){return t.tags=e}},model:{value:e.currentTag,callback:function(t){e.currentTag=t},expression:"currentTag"}})],1),e._v(" "),e.errors.length>0?n("span",e._l(e.errors,(function(t){return n("span",{staticClass:"text-danger small"},[e._v(e._s(t)),n("br")])})),0):e._e()])}),[],!1,null,null,null).exports;const F={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 t=this;axios.get("./api/v1/autocomplete/piggy-banks-with-balance").then((function(e){t.parsePiggies(e.data)}))},parsePiggies:function(t){for(var e in t)if(t.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t[e];this.piggyList.push({id:parseInt(a.id),name_with_balance:a.name_with_balance})}}},watch:{value:function(t){this.emitEvent=!1,this.piggy_bank_id=t},piggy_bank_id:function(t){!0===this.emitEvent&&this.$emit("set-field",{field:"piggy_bank_id",index:this.index,value:t}),this.emitEvent=!0}}};const B=(0,o.Z)(F,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.piggy_bank"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:t.piggy_bank_id,expression:"piggy_bank_id"}],ref:"piggy_bank_id",class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{title:t.$t("firefly.piggy_bank"),autocomplete:"off",name:"piggy_bank_id[]"},on:{submit:function(t){t.preventDefault()},change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.piggy_bank_id=e.target.multiple?a:a[0]}}},t._l(this.piggyList,(function(e){return a("option",{attrs:{label:e.name_with_balance},domProps:{value:e.id}},[t._v(t._s(e.name_with_balance))])})),0)]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()])}),[],!1,null,null,null).exports;const E={props:["index","value","errors","customFields"],name:"TransactionInternalReference",data:function(){return{reference:this.value,availableFields:this.customFields,emitEvent:!0}},computed:{showField:function(){return"internal_reference"in this.availableFields&&this.availableFields.internal_reference}},methods:{},watch:{customFields:function(t){this.availableFields=t},value:function(t){this.emitEvent=!1,this.reference=t},reference:function(t){this.$emit("set-field",{field:"internal_reference",index:this.index,value:t})}}};const R=(0,o.Z)(E,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.internal_reference"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.reference,expression:"reference"}],class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:t.$t("firefly.internal_reference"),name:"internal_reference[]",type:"text"},domProps:{value:t.reference},on:{input:function(e){e.target.composing||(t.reference=e.target.value)}}}),t._v(" "),t._m(0)])]):t._e()}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"input-group-append"},[e("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"}},[e("i",{staticClass:"far fa-trash-alt"})])])}],!1,null,null,null).exports;const L={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(t){this.availableFields=t},value:function(t){this.url=t},url:function(t){this.$emit("set-field",{field:"external_url",index:this.index,value:t})}}};const N=(0,o.Z)(L,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.external_url"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.url,expression:"url"}],class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:t.$t("firefly.external_url"),name:"external_url[]",type:"url"},domProps:{value:t.url},on:{input:function(e){e.target.composing||(t.url=e.target.value)}}}),t._v(" "),t._m(0)])]):t._e()}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"input-group-append"},[e("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"}},[e("i",{staticClass:"far fa-trash-alt"})])])}],!1,null,"7f6746e6",null).exports;const O={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(t){this.emitEvent=!1,this.notes=t},customFields:function(t){this.availableFields=t},notes:function(t){!0===this.emitEvent&&this.$emit("set-field",{field:"notes",index:this.index,value:t}),this.emitEvent=!0}}};const M=(0,o.Z)(O,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.notes"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.notes,expression:"notes"}],class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:t.$t("firefly.notes")},domProps:{value:t.notes},on:{input:function(e){e.target.composing||(t.notes=e.target.value)}}})])]):t._e()}),[],!1,null,"10b3ae7a",null).exports;var U=a(3465);const G={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 t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"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(t){null!==t&&(this.emitEvent=!1,this.links=U(t))},links:function(t){!0===this.emitEvent&&this.$emit("set-field",{index:this.index,field:"links",value:U(t)}),this.emitEvent=!0},customFields:function(t){this.availableFields=t}},methods:{removeLink:function(t){this.links.splice(t,1)},getTextForLinkType:function(t){var e=t.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(e[0]===n.id&&e[1]===n.direction)return n.type}return"text for #"+t},selectTransaction:function(t){for(var e in this.searchResults)if(this.searchResults.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=this.searchResults[e];a.selected&&this.addToSelected(a),a.selected||this.removeFromSelected(a)}},selectLinkType:function(t){for(var e in this.searchResults)if(this.searchResults.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=this.searchResults[e];this.updateSelected(a.transaction_journal_id,a.link_type_id)}},updateSelected:function(t,e){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)===t&&(this.links[a].link_type_id=e)}},addToSelected:function(t){void 0===this.links.find((function(e){return e.transaction_journal_id===t.transaction_journal_id}))&&this.links.push(t)},removeFromSelected:function(t){for(var e in this.links){if(this.links.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294)this.links[e].transaction_journal_id===t.transaction_journal_id&&this.links.splice(parseInt(e),1)}},getLinkTypes:function(){var t=this;axios.get("./api/v1/link_types").then((function(e){t.parseLinkTypes(e.data)}))},resetModal:function(){this.search()},parseLinkTypes:function(t){for(var e in t.data)if(t.data.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t.data[e],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 t=this;if(""!==this.query){this.searching=!0,this.searchResults=[];var e="./api/v1/search/transactions?limit=10&query="+this.query;axios.get(e).then((function(e){t.parseSearch(e.data)}))}else this.searchResults=[]},parseSearch:function(t){for(var e in t.data)if(t.data.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294)for(var a in t.data[e].attributes.transactions)if(t.data[e].attributes.transactions.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=t.data[e].attributes.transactions[a];n.transaction_group_id=parseInt(t.data[e].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(t){for(var e in this.links)if(this.links.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=this.links[e];if(a.transaction_journal_id===t)return a.link_type_id}return"1-inward"},isJournalSelected:function(t){for(var e in this.links){if(this.links.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294)if(this.links[e].transaction_journal_id===t)return!0}return!1}}};const V=(0,o.Z)(G,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showField?a("div",[a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.journal_links"))+"\n ")]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[0===t.links.length?a("p",[a("button",{staticClass:"btn btn-default btn-xs",attrs:{"data-target":"#linkModal","data-toggle":"modal"},on:{click:t.resetModal}},[a("i",{staticClass:"fas fa-plus"}),t._v(" Add transaction link")])]):t._e(),t._v(" "),t.links.length>0?a("ul",{staticClass:"list-group"},t._l(t.links,(function(e,n){return a("li",{key:n,staticClass:"list-group-item"},[a("em",[t._v(t._s(t.getTextForLinkType(e.link_type_id)))]),t._v(" "),a("a",{attrs:{href:"./transaction/show/"+e.transaction_group_id}},[t._v(t._s(e.description))]),t._v(" "),"withdrawal"===e.type?a("span",[t._v("\n ("),a("span",{staticClass:"text-danger"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(-1*parseFloat(e.amount))))]),t._v(")\n ")]):t._e(),t._v(" "),"deposit"===e.type?a("span",[t._v("\n ("),a("span",{staticClass:"text-success"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(parseFloat(e.amount))))]),t._v(")\n ")]):t._e(),t._v(" "),"transfer"===e.type?a("span",[t._v("\n ("),a("span",{staticClass:"text-info"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(parseFloat(e.amount))))]),t._v(")\n ")]):t._e(),t._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(e){return t.removeLink(n)}}},[a("i",{staticClass:"far fa-trash-alt"})])])])})),0):t._e(),t._v(" "),t.links.length>0?a("div",{staticClass:"form-text"},[a("button",{staticClass:"btn btn-default",attrs:{"data-target":"#linkModal","data-toggle":"modal"},on:{click:t.resetModal}},[a("i",{staticClass:"fas fa-plus"})])]):t._e()])])]),t._v(" "),a("div",{ref:"linkModal",staticClass:"modal",attrs:{id:"linkModal",tabindex:"-1"}},[a("div",{staticClass:"modal-dialog modal-lg"},[a("div",{staticClass:"modal-content"},[t._m(0),t._v(" "),a("div",{staticClass:"modal-body"},[a("div",{staticClass:"container-fluid"},[t._m(1),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("form",{on:{submit:function(e){return e.preventDefault(),t.search(e)}}},[a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.query,expression:"query"}],staticClass:"form-control",attrs:{id:"query",autocomplete:"off",maxlength:"255",name:"search",placeholder:"Search query",type:"text"},domProps:{value:t.query},on:{input:function(e){e.target.composing||(t.query=e.target.value)}}}),t._v(" "),t._m(2)])])])]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[t.searching?a("span",[a("i",{staticClass:"fas fa-spinner fa-spin"})]):t._e(),t._v(" "),t.searchResults.length>0?a("h4",[t._v(t._s(t.$t("firefly.search_results")))]):t._e(),t._v(" "),t.searchResults.length>0?a("table",{staticClass:"table table-sm"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("firefly.search_results")))]),t._v(" "),a("thead",[a("tr",[a("th",{staticStyle:{width:"33%"},attrs:{scope:"col",colspan:"2"}},[t._v(t._s(t.$t("firefly.include")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.transaction")))])])]),t._v(" "),a("tbody",t._l(t.searchResults,(function(e){return a("tr",[a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.selected,expression:"result.selected"}],staticClass:"form-control",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.selected)?t._i(e.selected,null)>-1:e.selected},on:{change:[function(a){var n=e.selected,s=a.target,i=!!s.checked;if(Array.isArray(n)){var o=t._i(n,null);s.checked?o<0&&t.$set(e,"selected",n.concat([null])):o>-1&&t.$set(e,"selected",n.slice(0,o).concat(n.slice(o+1)))}else t.$set(e,"selected",i)},function(e){return t.selectTransaction(e)}]}})]),t._v(" "),a("td",[a("select",{directives:[{name:"model",rawName:"v-model",value:e.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(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(e,"link_type_id",a.target.multiple?n:n[0])},function(e){return t.selectLinkType(e)}]}},t._l(t.linkTypes,(function(e){return a("option",{attrs:{label:e.type},domProps:{value:e.id+"-"+e.direction}},[t._v(t._s(e.type)+"\n ")])})),0)]),t._v(" "),a("td",[a("a",{attrs:{href:"./transactions/show/"+e.transaction_group_id}},[t._v(t._s(e.description))]),t._v(" "),"withdrawal"===e.type?a("span",[t._v("\n ("),a("span",{staticClass:"text-danger"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(-1*parseFloat(e.amount))))]),t._v(")\n ")]):t._e(),t._v(" "),"deposit"===e.type?a("span",[t._v("\n ("),a("span",{staticClass:"text-success"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(parseFloat(e.amount))))]),t._v(")\n ")]):t._e(),t._v(" "),"transfer"===e.type?a("span",[t._v("\n ("),a("span",{staticClass:"text-info"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(parseFloat(e.amount))))]),t._v(")\n ")]):t._e(),t._v(" "),a("br"),t._v(" "),a("em",[a("a",{attrs:{href:"./accounts/show/"+e.source_id}},[t._v(t._s(e.source_name))]),t._v("\n →\n "),a("a",{attrs:{href:"./accounts/show/"+e.destination_id}},[t._v(t._s(e.destination_name))])])])])})),0)]):t._e()])])])]),t._v(" "),t._m(3)])])])]):t._e()}),[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"modal-header"},[a("h5",{staticClass:"modal-title"},[t._v("Transaction thing dialog.")]),t._v(" "),a("button",{staticClass:"close",attrs:{"aria-label":"Close","data-dismiss":"modal",type:"button"}},[a("span",{attrs:{"aria-hidden":"true"}},[t._v("×")])])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("p",[t._v("\n Use this form to search for transactions you wish to link to this one. When in doubt, use "),a("code",[t._v("id:*")]),t._v(" where the ID is the number from\n the URL.\n ")])])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-default",attrs:{type:"submit"}},[a("i",{staticClass:"fas fa-search"}),t._v(" Search")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"modal-footer"},[a("button",{staticClass:"btn btn-secondary",attrs:{"data-dismiss":"modal",type:"button"}},[t._v("Close")])])}],!1,null,null,null).exports;const Z={name:"TransactionAttachments",props:["transaction_journal_id","customFields"],data:function(){return{availableFields:this.customFields}},watch:{customFields:function(t){this.availableFields=t},transaction_journal_id:function(t){this.showField?0!==t&&this.doUpload():this.$emit("uploaded-attachments",t)}},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 t=this;for(var e in this.$refs.att.files)this.$refs.att.files.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294&&function(){var a=t.$refs.att.files[e],n=new FileReader,s=t;n.onloadend=function(t){var e=this;if(t.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([t.target.result])).then((function(t){s.$emit("uploaded-attachments",e.transaction_journal_id)}))}))}},n.readAsArrayBuffer(a)}();0===this.$refs.att.files.length&&this.$emit("uploaded-attachments",this.transaction_journal_id)}}};const q=(0,o.Z)(Z,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.attachments"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("input",{ref:"att",staticClass:"form-control",attrs:{multiple:"",name:"attachments[]",type:"file"},on:{change:t.selectedFile}})])]):t._e()}),[],!1,null,"c0a65b6c",null).exports;var W=a(7661),H=a(5352),K=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(3940),shadowUrl:a(4645)});const X={name:"TransactionLocation",props:{index:{},value:{type:Object,required:!1},errors:{},customFields:{}},components:{LMap:H.Z,LTileLayer:K.Z,LMarker:J.Z},created:function(){var t=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(e){t.zoom=parseInt(e.data.data.value.zoom_level),t.center=[parseFloat(e.data.data.value.latitude),parseFloat(e.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(t){this.marker=[t.latlng.lat,t.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(t){this.zoom=t},centerUpdated:function(t){this.center=t},boundsUpdated:function(t){this.bounds=t}},computed:{showField:function(){return"location"in this.availableFields&&this.availableFields.location}},watch:{customFields:function(t){this.availableFields=t}}};const tt=(0,o.Z)(X,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.location"))+"\n ")]),t._v(" "),a("div",{staticStyle:{width:"100%",height:"300px"}},[a("l-map",{ref:"myMap",staticStyle:{width:"100%",height:"300px"},attrs:{center:t.center,zoom:t.zoom},on:{ready:function(e){return t.prepMap()},"update:zoom":t.zoomUpdated,"update:center":t.centerUpdated,"update:bounds":t.boundsUpdated}},[a("l-tile-layer",{attrs:{url:t.url}}),t._v(" "),a("l-marker",{attrs:{"lat-lng":t.marker,visible:t.hasMarker}})],1),t._v(" "),a("span",[a("button",{staticClass:"btn btn-default btn-xs",on:{click:t.clearLocation}},[t._v(t._s(t.$t("firefly.clear_location")))])])],1),t._v(" "),a("p",[t._v(" ")])]):t._e()}),[],!1,null,"3bafa3c9",null).exports,et={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:[]},allowedOpposingTypes:{type:Object,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 t=["internal_reference","notes","attachments","external_uri","location","links"];for(var e in this.customFields)if(this.customFields.hasOwnProperty(e)&&t.includes(e)&&!0===this.customFields[e])return!0;return!1}},components:{TransactionLocation:tt,SplitPills:W.Z,TransactionAttachments:q,TransactionNotes:M,TransactionExternalUrl:N,TransactionInternalReference:R,TransactionPiggyBank:B,TransactionTags:$,TransactionLinks:V,TransactionBill:A,TransactionCategory:C,TransactionCustomDates:x,TransactionForeignCurrency:k,TransactionForeignAmount:v,TransactionAmount:f,SwitchAccount:h,TransactionAccount:p,TransactionBudget:d,TransactionDescription:r,TransactionDate:l}};const at=(0,o.Z)(et,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{class:"tab-pane"+(0===t.index?" active":""),attrs:{id:"split_"+t.index}},[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v("\n "+t._s(t.$t("firefly.basic_journal_information"))+"\n "),t.count>1?a("span",[t._v("("+t._s(t.index+1)+" / "+t._s(t.count)+") ")]):t._e()]),t._v(" "),t.count>1?a("div",{staticClass:"card-tools"},[a("button",{staticClass:"btn btn-danger btn-xs",on:{click:t.removeTransaction}},[a("i",{staticClass:"fas fa-trash-alt"})])]):t._e()]),t._v(" "),a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("TransactionDescription",t._g({attrs:{errors:t.transaction.errors.description,index:t.index},model:{value:t.transaction.description,callback:function(e){t.$set(t.transaction,"description",e)},expression:"transaction.description"}},t.$listeners))],1)]),t._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",t._g({attrs:{"allowed-opposing-types":t.allowedOpposingTypes,"destination-allowed-types":t.destinationAllowedTypes,errors:t.transaction.errors.source,index:t.index,"source-allowed-types":t.sourceAllowedTypes,"transaction-type":t.transactionType,direction:"source"},model:{value:t.sourceAccount,callback:function(e){t.sourceAccount=e},expression:"sourceAccount"}},t.$listeners))],1),t._v(" "),a("div",{staticClass:"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block"},[0===t.index&&t.allowSwitch?a("SwitchAccount",t._g({attrs:{index:t.index,"transaction-type":t.transactionType}},t.$listeners)):t._e()],1),t._v(" "),a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12"},[a("TransactionAccount",t._g({attrs:{"allowed-opposing-types":t.allowedOpposingTypes,"destination-allowed-types":t.destinationAllowedTypes,errors:t.transaction.errors.destination,index:t.index,"transaction-type":t.transactionType,"source-allowed-types":t.sourceAllowedTypes,direction:"destination"},model:{value:t.destinationAccount,callback:function(e){t.destinationAccount=e},expression:"destinationAccount"}},t.$listeners))],1)]),t._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",t._g({attrs:{amount:t.transaction.amount,"destination-currency-symbol":this.transaction.destination_account_currency_symbol,errors:t.transaction.errors.amount,index:t.index,"source-currency-symbol":this.transaction.source_account_currency_symbol,"transaction-type":this.transactionType}},t.$listeners))],1),t._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",t._g({attrs:{"destination-currency-id":this.transaction.destination_account_currency_id,index:t.index,"selected-currency-id":this.transaction.foreign_currency_id,"source-currency-id":this.transaction.source_account_currency_id,"transaction-type":this.transactionType},model:{value:t.transaction.foreign_currency_id,callback:function(e){t.$set(t.transaction,"foreign_currency_id",e)},expression:"transaction.foreign_currency_id"}},t.$listeners))],1),t._v(" "),a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12"},[a("TransactionForeignAmount",t._g({attrs:{"destination-currency-id":this.transaction.destination_account_currency_id,errors:t.transaction.errors.foreign_amount,index:t.index,"selected-currency-id":this.transaction.foreign_currency_id,"source-currency-id":this.transaction.source_account_currency_id,"transaction-type":this.transactionType},model:{value:t.transaction.foreign_amount,callback:function(e){t.$set(t.transaction,"foreign_amount",e)},expression:"transaction.foreign_amount"}},t.$listeners))],1)]),t._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",t._g({attrs:{date:t.splitDate,errors:t.transaction.errors.date,index:t.index,time:t.splitTime}},t.$listeners))],1),t._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",t._g({attrs:{"book-date":t.transaction.book_date,"custom-fields":t.customFields,"due-date":t.transaction.due_date,errors:t.transaction.errors.custom_dates,index:t.index,"interest-date":t.transaction.interest_date,"invoice-date":t.transaction.invoice_date,"payment-date":t.transaction.payment_date,"process-date":t.transaction.process_date},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}}},t.$listeners))],1)])])])])]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v("\n "+t._s(t.$t("firefly.transaction_journal_meta"))+"\n "),t.count>1?a("span",[t._v("("+t._s(t.index+1)+" / "+t._s(t.count)+") ")]):t._e()])]),t._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"!==t.transactionType&&"Deposit"!==t.transactionType?a("TransactionBudget",t._g({attrs:{errors:t.transaction.errors.budget,index:t.index},model:{value:t.transaction.budget_id,callback:function(e){t.$set(t.transaction,"budget_id",e)},expression:"transaction.budget_id"}},t.$listeners)):t._e(),t._v(" "),a("TransactionCategory",t._g({attrs:{errors:t.transaction.errors.category,index:t.index},model:{value:t.transaction.category,callback:function(e){t.$set(t.transaction,"category",e)},expression:"transaction.category"}},t.$listeners))],1),t._v(" "),a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},["Transfer"!==t.transactionType&&"Deposit"!==t.transactionType?a("TransactionBill",t._g({attrs:{errors:t.transaction.errors.bill,index:t.index},model:{value:t.transaction.bill_id,callback:function(e){t.$set(t.transaction,"bill_id",e)},expression:"transaction.bill_id"}},t.$listeners)):t._e(),t._v(" "),a("TransactionTags",t._g({attrs:{errors:t.transaction.errors.tags,index:t.index},model:{value:t.transaction.tags,callback:function(e){t.$set(t.transaction,"tags",e)},expression:"transaction.tags"}},t.$listeners)),t._v(" "),"Withdrawal"!==t.transactionType&&"Deposit"!==t.transactionType?a("TransactionPiggyBank",t._g({attrs:{errors:t.transaction.errors.piggy_bank,index:t.index},model:{value:t.transaction.piggy_bank_id,callback:function(e){t.$set(t.transaction,"piggy_bank_id",e)},expression:"transaction.piggy_bank_id"}},t.$listeners)):t._e()],1)])])])])]),t._v(" "),t.hasMetaFields?a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v("\n "+t._s(t.$t("firefly.transaction_journal_extra"))+"\n "),t.count>1?a("span",[t._v("("+t._s(t.index+1)+" / "+t._s(t.count)+") ")]):t._e()])]),t._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",t._g({attrs:{"custom-fields":t.customFields,errors:t.transaction.errors.internal_reference,index:t.index},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}},model:{value:t.transaction.internal_reference,callback:function(e){t.$set(t.transaction,"internal_reference",e)},expression:"transaction.internal_reference"}},t.$listeners)),t._v(" "),a("TransactionExternalUrl",t._g({attrs:{"custom-fields":t.customFields,errors:t.transaction.errors.external_url,index:t.index},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}},model:{value:t.transaction.external_url,callback:function(e){t.$set(t.transaction,"external_url",e)},expression:"transaction.external_url"}},t.$listeners)),t._v(" "),a("TransactionNotes",t._g({attrs:{"custom-fields":t.customFields,errors:t.transaction.errors.notes,index:t.index},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}},model:{value:t.transaction.notes,callback:function(e){t.$set(t.transaction,"notes",e)},expression:"transaction.notes"}},t.$listeners))],1),t._v(" "),a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("TransactionAttachments",t._g({ref:"attachments",attrs:{"custom-fields":t.customFields,index:t.index,submitted_transaction:t.submittedTransaction,transaction_journal_id:t.transaction.transaction_journal_id},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}},model:{value:t.transaction.attachments,callback:function(e){t.$set(t.transaction,"attachments",e)},expression:"transaction.attachments"}},t.$listeners)),t._v(" "),a("TransactionLocation",t._g({attrs:{"custom-fields":t.customFields,errors:t.transaction.errors.location,index:t.index},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}},model:{value:t.transaction.location,callback:function(e){t.$set(t.transaction,"location",e)},expression:"transaction.location"}},t.$listeners)),t._v(" "),a("TransactionLinks",t._g({attrs:{"custom-fields":t.customFields,index:t.index},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}},model:{value:t.transaction.links,callback:function(e){t.$set(t.transaction,"links",e)},expression:"transaction.links"}},t.$listeners))],1)])])])])]):t._e()])}),[],!1,null,null,null).exports},7661:(t,e,a)=>{"use strict";a.d(e,{Z:()=>s});const n={name:"SplitPills",props:["transactions"]};const s=(0,a(1900).Z)(n,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.transactions.length>1?a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("ul",{staticClass:"nav nav-pills ml-auto p-2"},t._l(this.transactions,(function(e,n){return a("li",{staticClass:"nav-item"},[a("a",{class:"nav-link"+(0===n?" active":""),attrs:{href:"#split_"+n,"data-toggle":"tab"}},[""!==e.description?a("span",[t._v(t._s(e.description))]):t._e(),t._v(" "),""===e.description?a("span",[t._v("Split "+t._s(n+1))]):t._e()])])})),0)])]):t._e()}),[],!1,null,null,null).exports},5524:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(662),s=a(6486);const i={props:["value","errors"],name:"TransactionGroupTitle",components:{VueTypeaheadBootstrap:n.Z},data:function(){return{descriptions:[],initialSet:[],title:this.value,emitEvent:!0}},created:function(){var t=this;axios.get(this.getACURL("")).then((function(e){t.descriptions=e.data,t.initialSet=e.data}))},watch:{value:function(t){this.title=t},title:function(t){this.$emit("set-group-title",t)}},methods:{clearDescription:function(){this.title=""},getACURL:function(t){return document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/transactions?query="+t},lookupDescription:(0,s.debounce)((function(){var t=this;axios.get(this.getACURL(this.title)).then((function(e){t.descriptions=e.data}))}),300)}};const o=(0,a(1900).Z)(i,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.split_transaction_title"))+"\n ")]),t._v(" "),a("vue-typeahead-bootstrap",{attrs:{data:t.descriptions,inputClass:t.errors.length>0?"is-invalid":"",minMatchingChars:3,placeholder:t.$t("firefly.split_transaction_title"),serializer:function(t){return t.description},showOnFocus:!0,inputName:"group_title"},on:{input:t.lookupDescription},model:{value:t.title,callback:function(e){t.title=e},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:t.clearDescription}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()],1)}),[],!1,null,"273271bf",null).exports},4936:(t,e,a)=>{var n=a(6665);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);(0,a(5346).Z)("bf9ab7ac",n,!0,{})},7154:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Прехвърляне","Withdrawal":"Теглене","Deposit":"Депозит","date_and_time":"Date and time","no_currency":"(без валута)","date":"Дата","time":"Time","no_budget":"(без бюджет)","destination_account":"Приходна сметка","source_account":"Разходна сметка","single_split":"Раздел","create_new_transaction":"Create a new transaction","balance":"Салдо","transaction_journal_extra":"Extra information","transaction_journal_meta":"Мета информация","basic_journal_information":"Basic transaction information","bills_to_pay":"Сметки за плащане","left_to_spend":"Останали за харчене","attachments":"Прикачени файлове","net_worth":"Нетна стойност","bill":"Сметка","no_bill":"(няма сметка)","tags":"Етикети","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(без касичка)","paid":"Платени","notes":"Бележки","yourAccounts":"Вашите сметки","go_to_asset_accounts":"Вижте активите си","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":"Промени","delete":"Изтрий","reconcile_this_account":"Съгласувай тази сметка"},"list":{"piggy_bank":"Касичка","percentage":"%","amount":"Сума","name":"Име","role":"Привилегии","iban":"IBAN","currentBalance":"Текущ баланс","next_expected_match":"Следващo очакванo съвпадение"},"config":{"html_language":"bg"},"form":{"foreign_amount":"Сума във валута","interest_date":"Падеж на лихва","book_date":"Дата на осчетоводяване","process_date":"Дата на обработка","due_date":"Дата на падеж","payment_date":"Дата на плащане","invoice_date":"Дата на фактура"}}')},6407:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Převod","Withdrawal":"Výběr","Deposit":"Vklad","date_and_time":"Datum a čas","no_currency":"(žádná měna)","date":"Datum","time":"Čas","no_budget":"(žádný rozpočet)","destination_account":"Cílový účet","source_account":"Zdrojový účet","single_split":"Rozdělit","create_new_transaction":"Vytvořit novou transakci","balance":"Zůstatek","transaction_journal_extra":"Více informací","transaction_journal_meta":"Meta informace","basic_journal_information":"Basic transaction information","bills_to_pay":"Faktury k zaplacení","left_to_spend":"Zbývá k utracení","attachments":"Přílohy","net_worth":"Čisté jmění","bill":"Účet","no_bill":"(no bill)","tags":"Štítky","internal_reference":"Interní odkaz","external_url":"Externí URL adresa","no_piggy_bank":"(žádná pokladnička)","paid":"Zaplaceno","notes":"Poznámky","yourAccounts":"Vaše účty","go_to_asset_accounts":"Zobrazit účty s aktivy","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","delete":"Odstranit","reconcile_this_account":"Vyúčtovat tento účet"},"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","book_date":"Datum rezervace","process_date":"Datum zpracování","due_date":"Datum splatnosti","payment_date":"Datum zaplacení","invoice_date":"Datum vystavení"}}')},4726:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Umbuchung","Withdrawal":"Ausgabe","Deposit":"Einnahme","date_and_time":"Datum und Uhrzeit","no_currency":"(ohne Währung)","date":"Datum","time":"Uhrzeit","no_budget":"(kein Budget)","destination_account":"Zielkonto","source_account":"Quellkonto","single_split":"Teil","create_new_transaction":"Neue Buchung erstellen","balance":"Kontostand","transaction_journal_extra":"Zusätzliche Informationen","transaction_journal_meta":"Metainformationen","basic_journal_information":"Allgemeine Buchungsinformationen","bills_to_pay":"Unbezahlte Rechnungen","left_to_spend":"Verbleibend zum Ausgeben","attachments":"Anhänge","net_worth":"Eigenkapital","bill":"Rechnung","no_bill":"(keine Belege)","tags":"Schlagwörter","internal_reference":"Interner Verweis","external_url":"Externe URL","no_piggy_bank":"(kein Sparschwein)","paid":"Bezahlt","notes":"Notizen","yourAccounts":"Deine Konten","go_to_asset_accounts":"Bestandskonten anzeigen","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","delete":"Löschen","reconcile_this_account":"Dieses Konto abgleichen"},"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","book_date":"Buchungsdatum","process_date":"Bearbeitungsdatum","due_date":"Fälligkeitstermin","payment_date":"Zahlungsdatum","invoice_date":"Rechnungsdatum"}}')},3636:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Μεταφορά","Withdrawal":"Ανάληψη","Deposit":"Κατάθεση","date_and_time":"Ημερομηνία και ώρα","no_currency":"(χωρίς νόμισμα)","date":"Ημερομηνία","time":"Ώρα","no_budget":"(χωρίς προϋπολογισμό)","destination_account":"Λογαριασμός προορισμού","source_account":"Λογαριασμός προέλευσης","single_split":"Διαχωρισμός","create_new_transaction":"Δημιουργία μιας νέας συναλλαγής","balance":"Ισοζύγιο","transaction_journal_extra":"Περισσότερες πληροφορίες","transaction_journal_meta":"Πληροφορίες μεταδεδομένων","basic_journal_information":"Βασικές πληροφορίες συναλλαγής","bills_to_pay":"Πάγια έξοδα προς πληρωμή","left_to_spend":"Διαθέσιμα προϋπολογισμών","attachments":"Συνημμένα","net_worth":"Καθαρή αξία","bill":"Πάγιο έξοδο","no_bill":"(χωρίς πάγιο έξοδο)","tags":"Ετικέτες","internal_reference":"Εσωτερική αναφορά","external_url":"Εξωτερικό URL","no_piggy_bank":"(χωρίς κουμπαρά)","paid":"Πληρωμένο","notes":"Σημειώσεις","yourAccounts":"Οι λογαριασμοί σας","go_to_asset_accounts":"Δείτε τους λογαριασμούς κεφαλαίου σας","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":"Επεξεργασία","delete":"Διαγραφή","reconcile_this_account":"Τακτοποίηση αυτού του λογαριασμού"},"list":{"piggy_bank":"Κουμπαράς","percentage":"pct.","amount":"Ποσό","name":"Όνομα","role":"Ρόλος","iban":"IBAN","currentBalance":"Τρέχον υπόλοιπο","next_expected_match":"Επόμενη αναμενόμενη αντιστοίχιση"},"config":{"html_language":"el"},"form":{"foreign_amount":"Ποσό σε ξένο νόμισμα","interest_date":"Ημερομηνία τοκισμού","book_date":"Ημερομηνία εγγραφής","process_date":"Ημερομηνία επεξεργασίας","due_date":"Ημερομηνία προθεσμίας","payment_date":"Ημερομηνία πληρωμής","invoice_date":"Ημερομηνία τιμολόγησης"}}')},6318:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Withdrawal","Deposit":"Deposit","date_and_time":"Date and time","no_currency":"(no currency)","date":"Date","time":"Time","no_budget":"(no budget)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Balance","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta information","basic_journal_information":"Basic transaction information","bills_to_pay":"Bills to pay","left_to_spend":"Left to spend","attachments":"Attachments","net_worth":"Net worth","bill":"Bill","no_bill":"(no bill)","tags":"Tags","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Paid","notes":"Notes","yourAccounts":"Your accounts","go_to_asset_accounts":"View your asset accounts","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","delete":"Delete","reconcile_this_account":"Reconcile this account"},"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","book_date":"Book date","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},3340:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Withdrawal","Deposit":"Deposit","date_and_time":"Date and time","no_currency":"(no currency)","date":"Date","time":"Time","no_budget":"(no budget)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Balance","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta information","basic_journal_information":"Basic transaction information","bills_to_pay":"Bills to pay","left_to_spend":"Left to spend","attachments":"Attachments","net_worth":"Net worth","bill":"Bill","no_bill":"(no bill)","tags":"Tags","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Paid","notes":"Notes","yourAccounts":"Your accounts","go_to_asset_accounts":"View your asset accounts","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","delete":"Delete","reconcile_this_account":"Reconcile this account"},"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","book_date":"Book date","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},5394:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transferencia","Withdrawal":"Retiro","Deposit":"Depósito","date_and_time":"Fecha y hora","no_currency":"(sin moneda)","date":"Fecha","time":"Hora","no_budget":"(sin presupuesto)","destination_account":"Cuenta destino","source_account":"Cuenta origen","single_split":"División","create_new_transaction":"Crear una nueva transacción","balance":"Balance","transaction_journal_extra":"Información adicional","transaction_journal_meta":"Información Meta","basic_journal_information":"Información básica de transacción","bills_to_pay":"Facturas por pagar","left_to_spend":"Disponible para gastar","attachments":"Archivos adjuntos","net_worth":"Valor Neto","bill":"Factura","no_bill":"(sin factura)","tags":"Etiquetas","internal_reference":"Referencia interna","external_url":"URL externa","no_piggy_bank":"(sin hucha)","paid":"Pagado","notes":"Notas","yourAccounts":"Tus cuentas","go_to_asset_accounts":"Ver tus cuentas de activos","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","delete":"Eliminar","reconcile_this_account":"Reconciliar esta cuenta"},"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","book_date":"Fecha de registro","process_date":"Fecha de procesamiento","due_date":"Fecha de vencimiento","payment_date":"Fecha de pago","invoice_date":"Fecha de la factura"}}')},7868:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Siirto","Withdrawal":"Nosto","Deposit":"Talletus","date_and_time":"Date and time","no_currency":"(ei valuuttaa)","date":"Päivämäärä","time":"Time","no_budget":"(ei budjettia)","destination_account":"Kohdetili","source_account":"Lähdetili","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metatiedot","basic_journal_information":"Basic transaction information","bills_to_pay":"Laskuja maksettavana","left_to_spend":"Käytettävissä","attachments":"Liitteet","net_worth":"Varallisuus","bill":"Lasku","no_bill":"(no bill)","tags":"Tägit","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(ei säästöpossu)","paid":"Maksettu","notes":"Muistiinpanot","yourAccounts":"Omat tilisi","go_to_asset_accounts":"Tarkastele omaisuustilejäsi","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","delete":"Poista","reconcile_this_account":"Täsmäytä tämä tili"},"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ä","book_date":"Kirjauspäivä","process_date":"Käsittelypäivä","due_date":"Eräpäivä","payment_date":"Maksupäivä","invoice_date":"Laskun päivämäärä"}}')},2551:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfert","Withdrawal":"Dépense","Deposit":"Dépôt","date_and_time":"Date et heure","no_currency":"(pas de devise)","date":"Date","time":"Heure","no_budget":"(pas de budget)","destination_account":"Compte de destination","source_account":"Compte source","single_split":"Ventilation","create_new_transaction":"Créer une nouvelle opération","balance":"Solde","transaction_journal_extra":"Informations supplémentaires","transaction_journal_meta":"Méta informations","basic_journal_information":"Informations de base sur l\'opération","bills_to_pay":"Factures à payer","left_to_spend":"Reste à dépenser","attachments":"Pièces jointes","net_worth":"Avoir net","bill":"Facture","no_bill":"(aucune facture)","tags":"Tags","internal_reference":"Référence interne","external_url":"URL externe","no_piggy_bank":"(aucune tirelire)","paid":"Payé","notes":"Notes","yourAccounts":"Vos comptes","go_to_asset_accounts":"Afficher vos comptes d\'actifs","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","delete":"Supprimer","reconcile_this_account":"Rapprocher ce compte"},"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)","book_date":"Date de réservation","process_date":"Date de traitement","due_date":"Échéance","payment_date":"Date de paiement","invoice_date":"Date de facturation"}}')},995:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Átvezetés","Withdrawal":"Költség","Deposit":"Bevétel","date_and_time":"Date and time","no_currency":"(nincs pénznem)","date":"Dátum","time":"Time","no_budget":"(nincs költségkeret)","destination_account":"Célszámla","source_account":"Forrás számla","single_split":"Felosztás","create_new_transaction":"Create a new transaction","balance":"Egyenleg","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta-információ","basic_journal_information":"Basic transaction information","bills_to_pay":"Fizetendő számlák","left_to_spend":"Elkölthető","attachments":"Mellékletek","net_worth":"Nettó érték","bill":"Számla","no_bill":"(no bill)","tags":"Címkék","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(nincs malacpersely)","paid":"Kifizetve","notes":"Megjegyzések","yourAccounts":"Bankszámlák","go_to_asset_accounts":"Eszközszámlák megtekintése","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","delete":"Törlés","reconcile_this_account":"Számla egyeztetése"},"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","book_date":"Könyvelés dátuma","process_date":"Feldolgozás dátuma","due_date":"Lejárati időpont","payment_date":"Fizetés dátuma","invoice_date":"Számla dátuma"}}')},9112:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Trasferimento","Withdrawal":"Prelievo","Deposit":"Entrata","date_and_time":"Data e ora","no_currency":"(nessuna valuta)","date":"Data","time":"Ora","no_budget":"(nessun budget)","destination_account":"Conto destinazione","source_account":"Conto di origine","single_split":"Divisione","create_new_transaction":"Crea una nuova transazione","balance":"Saldo","transaction_journal_extra":"Informazioni aggiuntive","transaction_journal_meta":"Meta informazioni","basic_journal_information":"Informazioni di base sulla transazione","bills_to_pay":"Bollette da pagare","left_to_spend":"Altro da spendere","attachments":"Allegati","net_worth":"Patrimonio","bill":"Bolletta","no_bill":"(nessuna bolletta)","tags":"Etichette","internal_reference":"Riferimento interno","external_url":"URL esterno","no_piggy_bank":"(nessun salvadanaio)","paid":"Pagati","notes":"Note","yourAccounts":"I tuoi conti","go_to_asset_accounts":"Visualizza i tuoi conti attività","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","delete":"Elimina","reconcile_this_account":"Riconcilia questo conto"},"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","book_date":"Data contabile","process_date":"Data elaborazione","due_date":"Data scadenza","payment_date":"Data pagamento","invoice_date":"Data fatturazione"}}')},9085:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Overføring","Withdrawal":"Uttak","Deposit":"Innskudd","date_and_time":"Date and time","no_currency":"(ingen valuta)","date":"Dato","time":"Time","no_budget":"(ingen budsjett)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metainformasjon","basic_journal_information":"Basic transaction information","bills_to_pay":"Regninger å betale","left_to_spend":"Igjen å bruke","attachments":"Vedlegg","net_worth":"Formue","bill":"Regning","no_bill":"(no bill)","tags":"Tagger","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Betalt","notes":"Notater","yourAccounts":"Dine kontoer","go_to_asset_accounts":"Se aktivakontoene dine","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","delete":"Slett","reconcile_this_account":"Avstem denne kontoen"},"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","book_date":"Bokføringsdato","process_date":"Prosesseringsdato","due_date":"Forfallsdato","payment_date":"Betalingsdato","invoice_date":"Fakturadato"}}')},4671:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Overschrijving","Withdrawal":"Uitgave","Deposit":"Inkomsten","date_and_time":"Datum en tijd","no_currency":"(geen valuta)","date":"Datum","time":"Tijd","no_budget":"(geen budget)","destination_account":"Doelrekening","source_account":"Bronrekening","single_split":"Split","create_new_transaction":"Maak een nieuwe transactie","balance":"Saldo","transaction_journal_extra":"Extra informatie","transaction_journal_meta":"Metainformatie","basic_journal_information":"Standaard transactieinformatie","bills_to_pay":"Openstaande contracten","left_to_spend":"Over om uit te geven","attachments":"Bijlagen","net_worth":"Kapitaal","bill":"Contract","no_bill":"(geen contract)","tags":"Tags","internal_reference":"Interne referentie","external_url":"Externe URL","no_piggy_bank":"(geen spaarpotje)","paid":"Betaald","notes":"Notities","yourAccounts":"Je betaalrekeningen","go_to_asset_accounts":"Bekijk je betaalrekeningen","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","delete":"Verwijder","reconcile_this_account":"Stem deze rekening af"},"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","book_date":"Boekdatum","process_date":"Verwerkingsdatum","due_date":"Vervaldatum","payment_date":"Betalingsdatum","invoice_date":"Factuurdatum"}}')},6238:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Wypłata","Deposit":"Wpłata","date_and_time":"Data i czas","no_currency":"(brak waluty)","date":"Data","time":"Czas","no_budget":"(brak budżetu)","destination_account":"Konto docelowe","source_account":"Konto źródłowe","single_split":"Podział","create_new_transaction":"Stwórz nową transakcję","balance":"Saldo","transaction_journal_extra":"Dodatkowe informacje","transaction_journal_meta":"Meta informacje","basic_journal_information":"Podstawowe informacje o transakcji","bills_to_pay":"Rachunki do zapłacenia","left_to_spend":"Pozostało do wydania","attachments":"Załączniki","net_worth":"Wartość netto","bill":"Rachunek","no_bill":"(brak rachunku)","tags":"Tagi","internal_reference":"Wewnętrzny nr referencyjny","external_url":"Zewnętrzny adres URL","no_piggy_bank":"(brak skarbonki)","paid":"Zapłacone","notes":"Notatki","yourAccounts":"Twoje konta","go_to_asset_accounts":"Zobacz swoje konta aktywów","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","delete":"Usuń","reconcile_this_account":"Uzgodnij to konto"},"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","book_date":"Data księgowania","process_date":"Data przetworzenia","due_date":"Termin realizacji","payment_date":"Data płatności","invoice_date":"Data faktury"}}')},6586:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transferência","Withdrawal":"Retirada","Deposit":"Depósito","date_and_time":"Data e hora","no_currency":"(sem moeda)","date":"Data","time":"Horário","no_budget":"(sem orçamento)","destination_account":"Conta destino","source_account":"Conta origem","single_split":"Divisão","create_new_transaction":"Criar nova transação","balance":"Saldo","transaction_journal_extra":"Informação extra","transaction_journal_meta":"Meta-informação","basic_journal_information":"Informações básicas de transação","bills_to_pay":"Contas a pagar","left_to_spend":"Restante para gastar","attachments":"Anexos","net_worth":"Valor Líquido","bill":"Fatura","no_bill":"(sem conta)","tags":"Tags","internal_reference":"Referência interna","external_url":"URL externa","no_piggy_bank":"(nenhum cofrinho)","paid":"Pago","notes":"Notas","yourAccounts":"Suas contas","go_to_asset_accounts":"Veja suas contas ativas","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","delete":"Apagar","reconcile_this_account":"Concilie esta conta"},"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","book_date":"Data reserva","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da Fatura"}}')},8664:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transferência","Withdrawal":"Levantamento","Deposit":"Depósito","date_and_time":"Data e hora","no_currency":"(sem moeda)","date":"Data","time":"Hora","no_budget":"(sem 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","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":"Include?","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","delete":"Apagar","reconcile_this_account":"Reconciliar esta conta"},"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","book_date":"Data de registo","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da factura"}}')},1102:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Retragere","Deposit":"Depozit","date_and_time":"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","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ă","delete":"Șterge","reconcile_this_account":"Reconciliați acest cont"},"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","book_date":"Rezervă dată","process_date":"Data procesării","due_date":"Data scadentă","payment_date":"Data de plată","invoice_date":"Data facturii"}}')},753:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Перевод","Withdrawal":"Расход","Deposit":"Доход","date_and_time":"Дата и время","no_currency":"(нет валюты)","date":"Дата","time":"Время","no_budget":"(вне бюджета)","destination_account":"Счёт назначения","source_account":"Счёт-источник","single_split":"Разделённая транзакция","create_new_transaction":"Создать новую транзакцию","balance":"Бaлaнc","transaction_journal_extra":"Дополнительные сведения","transaction_journal_meta":"Дополнительная информация","basic_journal_information":"Основная информация о транзакции","bills_to_pay":"Счета к оплате","left_to_spend":"Осталось потратить","attachments":"Вложения","net_worth":"Мои сбережения","bill":"Счёт к оплате","no_bill":"(нет счёта на оплату)","tags":"Метки","internal_reference":"Внутренняя ссылка","external_url":"Внешний URL-адрес","no_piggy_bank":"(нет копилки)","paid":"Оплачено","notes":"Заметки","yourAccounts":"Ваши счета","go_to_asset_accounts":"Просмотр ваших основных счетов","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":"Изменить","delete":"Удалить","reconcile_this_account":"Произвести сверку данного счёта"},"list":{"piggy_bank":"Копилка","percentage":"процентов","amount":"Сумма","name":"Имя","role":"Роль","iban":"IBAN","currentBalance":"Текущий баланс","next_expected_match":"Следующий ожидаемый результат"},"config":{"html_language":"ru"},"form":{"foreign_amount":"Сумма в иностранной валюте","interest_date":"Дата начисления процентов","book_date":"Дата бронирования","process_date":"Дата обработки","due_date":"Срок оплаты","payment_date":"Дата платежа","invoice_date":"Дата выставления счёта"}}')},7049:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Prevod","Withdrawal":"Výber","Deposit":"Vklad","date_and_time":"Dátum a čas","no_currency":"(žiadna mena)","date":"Dátum","time":"Čas","no_budget":"(žiadny rozpočet)","destination_account":"Cieľový účet","source_account":"Zdrojový účet","single_split":"Rozúčtovať","create_new_transaction":"Vytvoriť novú transakciu","balance":"Zostatok","transaction_journal_extra":"Ďalšie informácie","transaction_journal_meta":"Meta informácie","basic_journal_information":"Základné Informácie o transakcii","bills_to_pay":"Účty na úhradu","left_to_spend":"Zostáva k útrate","attachments":"Prílohy","net_worth":"Čisté imanie","bill":"Účet","no_bill":"(žiadny účet)","tags":"Štítky","internal_reference":"Interná referencia","external_url":"Externá URL","no_piggy_bank":"(žiadna pokladnička)","paid":"Uhradené","notes":"Poznámky","yourAccounts":"Vaše účty","go_to_asset_accounts":"Zobraziť účty aktív","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ť","delete":"Odstrániť","reconcile_this_account":"Vyúčtovat tento účet"},"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","book_date":"Dátum rezervácie","process_date":"Dátum spracovania","due_date":"Dátum splatnosti","payment_date":"Dátum úhrady","invoice_date":"Dátum vystavenia"}}')},7921:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Överföring","Withdrawal":"Uttag","Deposit":"Insättning","date_and_time":"Datum och tid","no_currency":"(ingen valuta)","date":"Datum","time":"Tid","no_budget":"(ingen budget)","destination_account":"Till konto","source_account":"Källkonto","single_split":"Dela","create_new_transaction":"Skapa en ny transaktion","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metadata","basic_journal_information":"Grundläggande transaktionsinformation","bills_to_pay":"Notor att betala","left_to_spend":"Återstår att spendera","attachments":"Bilagor","net_worth":"Nettoförmögenhet","bill":"Nota","no_bill":"(ingen räkning)","tags":"Etiketter","internal_reference":"Intern referens","external_url":"Extern URL","no_piggy_bank":"(ingen spargris)","paid":"Betald","notes":"Noteringar","yourAccounts":"Dina konton","go_to_asset_accounts":"Visa dina tillgångskonton","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":"Include?","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","delete":"Ta bort","reconcile_this_account":"Stäm av detta konto"},"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","book_date":"Bokföringsdatum","process_date":"Behandlingsdatum","due_date":"Förfallodatum","payment_date":"Betalningsdatum","invoice_date":"Fakturadatum"}}')},1497:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Chuyển khoản","Withdrawal":"Rút tiền","Deposit":"Tiền gửi","date_and_time":"Date and time","no_currency":"(không có tiền tệ)","date":"Ngày","time":"Time","no_budget":"(không có ngân sách)","destination_account":"Tài khoản đích","source_account":"Nguồn tài khoản","single_split":"Chia ra","create_new_transaction":"Tạo giao dịch mới","balance":"Tiền còn lại","transaction_journal_extra":"Extra information","transaction_journal_meta":"Thông tin tổng hợp","basic_journal_information":"Basic transaction information","bills_to_pay":"Hóa đơn phải trả","left_to_spend":"Còn lại để chi tiêu","attachments":"Tệp đính kèm","net_worth":"Tài sản thực","bill":"Hóa đơn","no_bill":"(no bill)","tags":"Nhãn","internal_reference":"Tài liệu tham khảo nội bộ","external_url":"URL bên ngoài","no_piggy_bank":"(chưa có heo đất)","paid":"Đã thanh toán","notes":"Ghi chú","yourAccounts":"Tài khoản của bạn","go_to_asset_accounts":"Xem tài khoản của bạn","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","delete":"Xóa","reconcile_this_account":"Điều chỉnh tài khoản này"},"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","book_date":"Ngày đặt sách","process_date":"Ngày xử lý","due_date":"Ngày đáo hạn","payment_date":"Ngày thanh toán","invoice_date":"Ngày hóa đơn"}}')},4556:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"转账","Withdrawal":"提款","Deposit":"收入","date_and_time":"日期和时间","no_currency":"(没有货币)","date":"日期","time":"时间","no_budget":"(无预算)","destination_account":"目标账户","source_account":"来源账户","single_split":"拆分","create_new_transaction":"创建新交易","balance":"余额","transaction_journal_extra":"额外信息","transaction_journal_meta":"元信息","basic_journal_information":"基础交易信息","bills_to_pay":"待付账单","left_to_spend":"剩余支出","attachments":"附件","net_worth":"净资产","bill":"账单","no_bill":"(无账单)","tags":"标签","internal_reference":"内部引用","external_url":"外部链接","no_piggy_bank":"(无存钱罐)","paid":"已付款","notes":"备注","yourAccounts":"您的账户","go_to_asset_accounts":"查看您的资产账户","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":"编辑","delete":"删除","reconcile_this_account":"对账此账户"},"list":{"piggy_bank":"存钱罐","percentage":"%","amount":"金额","name":"名称","role":"角色","iban":"国际银行账户号码(IBAN)","currentBalance":"目前余额","next_expected_match":"预期下次支付"},"config":{"html_language":"zh-cn"},"form":{"foreign_amount":"外币金额","interest_date":"利息日期","book_date":"登记日期","process_date":"处理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"发票日期"}}')},1715:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"轉帳","Withdrawal":"提款","Deposit":"存款","date_and_time":"Date and time","no_currency":"(沒有貨幣)","date":"日期","time":"Time","no_budget":"(無預算)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"餘額","transaction_journal_extra":"Extra information","transaction_journal_meta":"後設資訊","basic_journal_information":"Basic transaction information","bills_to_pay":"待付帳單","left_to_spend":"剩餘可花費","attachments":"附加檔案","net_worth":"淨值","bill":"帳單","no_bill":"(no bill)","tags":"標籤","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"已付款","notes":"備註","yourAccounts":"您的帳戶","go_to_asset_accounts":"檢視您的資產帳戶","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":"編輯","delete":"刪除","reconcile_this_account":"對帳此帳戶"},"list":{"piggy_bank":"小豬撲滿","percentage":"pct.","amount":"金額","name":"名稱","role":"角色","iban":"國際銀行帳戶號碼 (IBAN)","currentBalance":"目前餘額","next_expected_match":"下一個預期的配對"},"config":{"html_language":"zh-tw"},"form":{"foreign_amount":"外幣金額","interest_date":"利率日期","book_date":"登記日期","process_date":"處理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"發票日期"}}')}},t=>{"use strict";t.O(0,[228],(()=>{return e=843,t(t.s=e);var e}));t.O()}]);+(self.webpackChunk=self.webpackChunk||[]).push([[847],{232:(t,e,a)=>{"use strict";a.r(e);var n=a(7760),s=a.n(n),i=a(7152),o=a(4605);window.$=window.jQuery=a(9755),window.axios=a(9669),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var r=document.head.querySelector('meta[name="csrf-token"]');r?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=r.content:console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token");var c=document.head.querySelector('meta[name="locale"]');localStorage.locale=c?c.content:"en_US",a(6891),a(3734),a(7632),a(5432),window.vuei18n=i.Z,window.uiv=o,s().use(vuei18n),s().use(o),window.Vue=s()},8923:(t,e,a)=>{"use strict";function n(){return{description:[],amount:[],source:[],destination:[],currency:[],foreign_currency:[],foreign_amount:[],date:[],custom_dates:[],budget:[],category:[],bill:[],tags:[],piggy_bank:[],internal_reference:[],external_url:[],notes:[],location:[]}}function 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 i(t){var e=t.getFullYear(),a=t.getMonth();++a<10&&(a="0"+a);var n=t.getDate();n<10&&(n="0"+n);var s=t.getHours();s<10&&(s="0"+s);var i=t.getMinutes();i<10&&(i="0"+i);var o=t.getSeconds();o<10&&(o="0"+o);var r=-t.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="-"),e+"-"+a+"-"+n+"T"+s+":"+i+":"+o+u+c+":"+l}a.d(e,{kQ:()=>n,f$:()=>s,u6:()=>i})},9899:(t,e,a)=>{"use strict";a.d(e,{Z:()=>h});var n=a(7760),s=a.n(n),i=a(629),o=a(8923),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,o.f$)(),defaultErrors:(0,o.kQ)()}},getters:{transactions:function(t){return t.transactions},groupTitle:function(t){return t.groupTitle},transactionType:function(t){return t.transactionType},accountToTransaction:function(t){return t.accountToTransaction},defaultTransaction:function(t){return t.defaultTransaction},sourceAllowedTypes:function(t){return t.sourceAllowedTypes},destinationAllowedTypes:function(t){return t.destinationAllowedTypes},allowedOpposingTypes:function(t){return t.allowedOpposingTypes},customDateFields:function(t){return t.customDateFields}},actions:{},mutations:{addTransaction:function(t){var e=r(t.defaultTransaction);e.errors=r(t.defaultErrors),t.transactions.push(e)},resetErrors:function(t,e){t.transactions[e.index].errors=r(t.defaultErrors)},resetTransactions:function(t){t.transactions=[]},setGroupTitle:function(t,e){t.groupTitle=e.groupTitle},setCustomDateFields:function(t,e){t.customDateFields=e},deleteTransaction:function(t,e){t.transactions.splice(e.index,1),t.transactions.length},setTransactionType:function(t,e){t.transactionType=e},setAllowedOpposingTypes:function(t,e){t.allowedOpposingTypes=e},setAccountToTransaction:function(t,e){t.accountToTransaction=e},updateField:function(t,e){t.transactions[e.index][e.field]=e.value},setTransactionError:function(t,e){t.transactions[e.index].errors[e.field]=e.errors},setDestinationAllowedTypes:function(t,e){t.destinationAllowedTypes=e},setSourceAllowedTypes:function(t,e){t.sourceAllowedTypes=e}}};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(t){return t.start},end:function(t){return t.end},defaultStart:function(t){return t.defaultStart},defaultEnd:function(t){return t.defaultEnd},viewRange:function(t){return t.viewRange}},actions:{initialiseStore:function(t){"default"===t.state.viewRange&&axios.get("./api/v1/preferences/viewRange").then((function(e){var a=e.data.data.attributes.data;t.commit("setViewRange",a),t.dispatch("setDatesFromViewRange")})).catch((function(e){t.commit("setViewRange","1M"),t.dispatch("setDatesFromViewRange")}))},setDatesFromViewRange:function(t){if(localStorage.viewRangeStart&&t.commit("setStart",new Date(localStorage.viewRangeStart)),localStorage.viewRangeEnd&&t.commit("setEnd",new Date(localStorage.viewRangeEnd)),localStorage.viewRangeDefaultStart&&t.commit("setDefaultStart",new Date(localStorage.viewRangeDefaultStart)),localStorage.viewRangeDefaultEnd&&t.commit("setDefaultEnd",new Date(localStorage.viewRangeDefaultEnd)),null===t.getters.end||null===t.getters.start){var e,a;switch(t.getters.viewRange){case"1D":e=new Date,a=new Date(e.getTime()),e.setHours(0,0,0,0),a.setHours(23,59,59,999);break;case"1W":e=new Date,a=new Date(e.getTime());var n=e.getDate()-e.getDay()+(0===e.getDay()?-6:1);e.setDate(n),e.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":e=new Date,(e=new Date(e.getFullYear(),e.getMonth(),1)).setHours(0,0,0,0),(a=new Date(e.getFullYear(),e.getMonth()+1,0)).setHours(23,59,59,999);break;case"3M":e=new Date,a=new Date;var i=Math.floor((e.getMonth()+3)/3)-1;(e=new Date(e.getFullYear(),[0,3,6,9][i],1)).setHours(0,0,0,0),a=new Date(a.getFullYear(),[2,5,8,11][i],1),(a=new Date(a.getFullYear(),a.getMonth()+1,0)).setHours(23,59,59,999);break;case"6M":e=new Date,a=new Date;var o=e.getMonth()<=5?0:1;(e=new Date(e.getFullYear(),[0,6][o],1)).setHours(0,0,0,0),a=new Date(a.getFullYear(),[5,11][o],1),(a=new Date(a.getFullYear(),a.getMonth()+1,0)).setHours(23,59,59,999);break;case"1Y":e=new Date,a=new Date,e=new Date(e.getFullYear(),0,1),a=new Date(a.getFullYear(),11,31),e.setHours(0,0,0,0),a.setHours(23,59,59,999)}t.commit("setStart",e),t.commit("setEnd",a),t.commit("setDefaultStart",e),t.commit("setDefaultEnd",a)}}},mutations:{setStart:function(t,e){t.start=e,window.localStorage.setItem("viewRangeStart",e)},setEnd:function(t,e){t.end=e,window.localStorage.setItem("viewRangeEnd",e)},setDefaultStart:function(t,e){t.defaultStart=e,window.localStorage.setItem("viewRangeDefaultStart",e)},setDefaultEnd:function(t,e){t.defaultEnd=e,window.localStorage.setItem("viewRangeDefaultEnd",e)},setViewRange:function(t,e){t.viewRange=e}}};var d=function(){return{listPageSize:33}},_={initialiseStore:function(t){localStorage.listPageSize&&(d.listPageSize=localStorage.listPageSize,t.commit("setListPageSize",{length:localStorage.listPageSize})),localStorage.listPageSize||axios.get("./api/v1/preferences/listPageSize").then((function(e){t.commit("setListPageSize",{length:parseInt(e.data.data.attributes.data)})}))}};const p={namespaced:!0,state:d,getters:{listPageSize:function(t){return t.listPageSize}},actions:_,mutations:{setListPageSize:function(t,e){var a=parseInt(e.length);0!==a&&(t.listPageSize=a)}}};const g={namespaced:!0,state:function(){return{orderMode:!1,activeFilter:1}},getters:{orderMode:function(t){return t.orderMode},activeFilter:function(t){return t.activeFilter}},actions:{},mutations:{setOrderMode:function(t,e){t.orderMode=e},setActiveFilter:function(t,e){t.activeFilter=e}}};s().use(i.ZP);const h=new i.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(t,e){t.currencyPreference=e.payload},initialiseStore:function(t){if(localStorage.locale)t.locale=localStorage.locale;else{var e=document.head.querySelector('meta[name="locale"]');e&&(t.locale=e.content,localStorage.locale=e.content)}}},getters:{currencyCode:function(t){return t.currencyPreference.code},currencyPreference:function(t){return t.currencyPreference},currencyId:function(t){return t.currencyPreference.id},locale:function(t){return t.locale}},actions:{updateCurrencyPreference:function(t){localStorage.currencyPreference?t.commit("setCurrencyPreference",{payload:JSON.parse(localStorage.currencyPreference)}):axios.get("./api/v1/currencies/default").then((function(e){var a={id:parseInt(e.data.data.id),name:e.data.data.attributes.name,symbol:e.data.data.attributes.symbol,code:e.data.data.attributes.code,decimal_places:parseInt(e.data.data.attributes.decimal_places)};localStorage.currencyPreference=JSON.stringify(a),t.commit("setCurrencyPreference",{payload:a})})).catch((function(e){console.error(e),t.commit("setCurrencyPreference",{payload:{id:1,name:"Euro",symbol:"€",code:"EUR",decimal_places:2}})}))}}})},157:(t,e,a)=>{t.exports=new vuei18n({locale:document.documentElement.lang,fallbackLocale:"en",messages:{bg:a(7154),cs:a(6407),de:a(4726),en:a(3340),"en-us":a(3340),"en-gb":a(6318),es:a(5394),el:a(3636),fr:a(2551),hu:a(995),it:a(9112),nl:a(4671),nb:a(9085),pl:a(6238),fi:a(7868),"pt-br":a(6586),"pt-pt":a(8664),ro:a(1102),ru:a(753),"zh-tw":a(1715),"zh-cn":a(4556),sk:a(7049),sv:a(7921),vi:a(1497)}})},4640:(t,e,a)=>{"use strict";var n=a(9899),s=a(3324),i=a(7661),o=a(3044),r=a(5524),c=a(8923);function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var u=a(3465);const d={name:"Edit",created:function(){var t=window.location.pathname.split("/");this.groupId=parseInt(t[t.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:i.Z,SplitForm:o.Z,TransactionGroupTitle:r.Z},watch:{submittedTransaction:function(){this.finalizeSubmit()},submittedLinks:function(){this.finalizeSubmit()},submittedAttachments:function(){this.finalizeSubmit()}},methods:{getTransactionGroup:function(){var t=this;axios.get("./api/v1/transactions/"+this.groupId).then((function(e){t.parseTransactionGroup(e.data)})).catch((function(t){}))},parseTransactionGroup:function(t){var e=t.data.attributes,a=e.transactions.reverse();for(var n in this.groupTitle=e.group_title,this.originalGroupTitle=e.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(t,e){var a;0===t&&(this.transactionType=e.type.charAt(0).toUpperCase()+e.type.slice(1),this.sourceAllowedTypes=[e.source_type],this.destinationAllowedTypes=[e.destination_type],this.date=new Date(e.date),this.time=new Date(e.date),this.originalDate=new Date(e.date),this.originalTime=new Date(e.date));var n=(0,c.f$)();return n.description=e.description,n.transaction_journal_id=parseInt(e.transaction_journal_id),n.source_account_id=e.source_id,n.source_account_name=e.source_name,n.source_account_type=e.source_type,n.destination_account_id=e.destination_id,n.destination_account_name=e.destination_name,n.destination_account_type=e.destination_type,n.amount=e.amount,n.currency_id=e.currency_id,n.foreign_amount=e.foreign_amount,n.foreign_currency_id=e.foreign_currency_id,n.category=e.category_name,n.budget_id=e.budget_id,n.bill_id=null!==(a=e.bill_id)&&void 0!==a?a:0,n.tags=e.tags,n.interest_date=e.interest_date?e.interest_date.substr(0,10):"",n.book_date=e.book_date?e.book_date.substr(0,10):"",n.process_date=e.process_date?e.process_date.substr(0,10):"",n.due_date=e.due_date?e.due_date.substr(0,10):"",n.payment_date=e.payment_date?e.payment_date.substr(0,10):"",n.invoice_date=e.invoice_date?e.invoice_date.substr(0,10):"",n.internal_reference=e.internal_reference,n.external_url=e.external_uri,n.external_id=e.external_id,n.notes=e.notes,n.location={zoom_level:e.zoom_level,longitude:e.longitude,latitude:e.latitude},n.zoom_level=e.zoom_level,n.longitude=e.longitude,n.latitude=e.latitude,n.errors=(0,c.kQ)(),n},parseLinks:function(t,e){var a=this;axios.get("./api/v1/transaction-journals/"+t+"/links").then((function(n){var s=n.data.data;for(var i in s)s.hasOwnProperty(i)&&/^0$|^[1-9]\d*$/.test(i)&&i<=4294967294&&a.parseLink(s[i],t,e)}))},parseLink:function(t,e,a){var n=this,s=[],i=parseInt(t.attributes.inward_id),o="inward";i===e&&(i=parseInt(t.attributes.outward_id),o="outward"),s.push(new Promise((function(n){n({link:t,journalId:e,opposingId:i,index:a,direction:o})}))),s.push(axios.get("./api/v1/transaction-journals/"+i)),s.push(axios.get("./api/v1/transaction_links/"+t.attributes.link_type_id)),Promise.all(s).then((function(e){var a=e[1].data.data.attributes.transactions,s=e[0].opposingId,i={};for(var o in a)a.hasOwnProperty(o)&&/^0$|^[1-9]\d*$/.test(o)&&o<=4294967294&&a[o].transaction_journal_id===s&&(i=a[o]);var r=e[0].index,c=e[0].direction,l=e[2].data.data.id,u={id:t.id,link_type_id:l+"-"+c,transaction_group_id:e[1].data.data.id,transaction_journal_id:i.transaction_journal_id,description:i.description,type:i.type,currency_code:i.currency_code,amount:i.amount};n.transactions[r].links.push(u),n.originalTransactions[r].links.push(u)}))},getAllowedOpposingTypes:function(){var t=this;axios.get("./api/v1/configuration/firefly.allowed_opposing_types").then((function(e){t.allowedOpposingTypes=e.data.data.value}))},getCustomFields:function(){var t=this;axios.get("./api/v1/preferences/transaction_journal_optional_fields").then((function(e){t.customFields=e.data.data.attributes.data}))},uploadedAttachment:function(t){console.log("event: uploadedAttachment"),console.log(t)},storeLocation:function(t){this.transactions[t.index].zoom_level=t.zoomLevel,this.transactions[t.index].longitude=t.lng,this.transactions[t.index].latitude=t.lat},storeAccountValue:function(t){var e=t.direction,a=t.index;this.transactions[a][e+"_account_id"]=t.id,this.transactions[a][e+"_account_type"]=t.type,this.transactions[a][e+"_account_name"]=t.name},storeDate:function(t){this.date=t.date},storeTime:function(t){this.time=t.time},storeField:function(t){var e=t.field;"category"===e&&(e="category_name"),this.transactions[t.index][e]=t.value},removeTransaction:function(t){this.transactions.splice(t.index,1),this.originalTransactions=[]},storeGroupTitle:function(t){this.groupTitle=t},selectedAttachments:function(t){for(var e in this.transactions)this.transactions.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294&&parseInt(this.transactions[e].transaction_journal_id)===parseInt(t)&&(this.transactions[e].selectedAttachments=!0)},addTransaction:function(){var t=(0,c.f$)();t.errors=(0,c.kQ)(),this.transactions.push(t)},submitTransaction:function(){var t={transactions:[]},e=!1,a=!1,n=!1;this.groupTitle!==this.originalGroupTitle&&(t.group_title=this.groupTitle,e=!0);var s=this.originalTransactions.length;for(var i in this.transactions)if(this.transactions.hasOwnProperty(i)&&/^0$|^[1-9]\d*$/.test(i)&&i<=4294967294){var o=this.transactions[i],r=this.originalTransactions.hasOwnProperty(i)?this.originalTransactions[i]:{},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 _)if(_.hasOwnProperty(p)&&/^0$|^[1-9]\d*$/.test(p)&&p<=4294967294){var g=_[p],h=g;o[g]!==r[g]&&("source_account_id"===h&&(h="source_id"),"source_account_name"===h&&(h="source_name"),"destination_account_id"===h&&(h="destination_id"),"destination_account_name"===h&&(h="destination_name"),d[h]=o[g],e=!0)}if(0!==o.piggy_bank_id&&(d.piggy_bank_id=o.piggy_bank_id,e=!0),JSON.stringify(o.tags)!==JSON.stringify(r.tags)){if(d.tags=[],0!==o.tags.length)for(var m in o.tags)if(o.tags.hasOwnProperty(m)&&/^0$|^[1-9]\d*$/.test(m)&&m<=4294967294){var f=o.tags[m];"object"===l(f)&&null!==f&&d.tags.push(f.text),"string"==typeof f&&d.tags.push(f)}e=!0}this.compareLinks(o.links)!==this.compareLinks(r.links)&&(a=!0),void 0!==o.selectedAttachments&&!0===o.selectedAttachments&&(n=!0);var y="invalid";if(this.date.toISOString()!==this.originalDate.toISOString()||this.time.toISOString()!==this.originalTime.toISOString()){console.log("Date and/or time is changed"),e=!0;var v=this.date;v.setHours(this.time.getHours()),v.setMinutes(this.time.getMinutes()),v.setSeconds(this.time.getSeconds()),y=(0,c.u6)(v),d.date=y}(0===Object.keys(d).length&&s>1||0!==Object.keys(d).length)&&(d.transaction_journal_id=r.transaction_journal_id,t.transactions.push(u(d)),e=!0)}console.log("submitTransaction"),console.log("shouldUpload : "+n),console.log("shouldLinks : "+a),console.log("shouldSubmit : "+e),e&&this.submitUpdate(t,a,n),e||(this.submittedTransaction=!0),a||(this.submittedLinks=!0),n||(this.submittedAttachments=!0),!e&&a&&this.submitTransactionLinks(),console.log("Done with submit methd.")},compareLinks:function(t){var e=[];for(var a in t)t.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294&&e.push({amount:t[a].amount,currency_code:t[a].currency_code,description:t[a].description,link_type_id:t[a].link_type_id,transaction_group_id:t[a].transaction_group_id,type:t[a].type});return JSON.stringify(e)},submitUpdate:function(t,e,a){var n=this;console.log("submitUpdate"),this.inError=!1;var s="./api/v1/transactions/"+this.groupId;console.log(t),axios.put(s,t).then((function(t){console.log("Response is OK!"),n.submittedTransaction=!0,e&&(console.log("Need to update links."),n.submitTransactionLinks()),e||console.log("No need to update links."),n.returnedGroupId=parseInt(t.data.data.id),n.returnedGroupTitle=null===t.data.data.attributes.group_title?t.data.data.attributes.transactions[0].description:t.data.data.attributes.group_title})).catch((function(t){console.log("error :("),console.log(t.response.data),n.enableSubmit=!0,n.submittedTransaction=!0,n.submittedAttachments=!0,n.submittedLinks=!0,n.inError=!0,n.parseErrors(t.response.data)}))},parseErrors:function(t){for(var e in this.transactions)this.transactions.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294&&this.resetErrors({index:e});var a,n,s;for(var i in this.successMessage="",this.errorMessage=this.$t("firefly.errors_submission"),void 0===t.errors&&(this.successMessage="",this.errorMessage=t.message),t.errors)if(t.errors.hasOwnProperty(i)){if("group_title"===i){this.groupTitleErrors=t.errors[i];continue}if("group_title"!==i)switch(n=parseInt(i.split(".")[1]),s=i.split(".")[2]){case"amount":case"description":case"date":case"tags":a={index:n,field:s,errors:t.errors[i]},this.setTransactionError(a);break;case"budget_id":a={index:n,field:"budget",errors:t.errors[i]},this.setTransactionError(a);break;case"bill_id":a={index:n,field:"bill",errors:t.errors[i]},this.setTransactionError(a);break;case"piggy_bank_id":a={index:n,field:"piggy_bank",errors:t.errors[i]},this.setTransactionError(a);break;case"category_name":a={index:n,field:"category",errors:t.errors[i]},this.setTransactionError(a);break;case"source_name":case"source_id":a={index:n,field:"source",errors:t.errors[i]},this.setTransactionError(a);break;case"destination_name":case"destination_id":a={index:n,field:"destination",errors:t.errors[i]},this.setTransactionError(a);break;case"foreign_amount":case"foreign_currency":a={index:n,field:"foreign_amount",errors:t.errors[i]},this.setTransactionError(a)}this.transactions[n]}},setTransactionError:function(t){this.transactions[t.index].errors[t.field]=t.errors},resetErrors:function(t){this.transactions[t.index].errors=u((0,c.kQ)())},deleteOriginalLinks:function(t){for(var e in console.log(t.links),t.links)if(t.links.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a="/api/v1/transaction_links/"+t.links[e].id;axios.delete(a).then((function(t){}))}},submitTransactionLinks:function(){var t=0,e=[];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]:{},i=this.compareLinks(n.links),o=this.compareLinks(s.links);if(i!==o)for(var r in"[]"!==o&&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),t++,e.push(axios.post("./api/v1/transaction_links",l).then((function(t){})))}}0!==t?Promise.all(e).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 t,e;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!==(t=window.previousURL)&&void 0!==t?t:"/")+"?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!==(e=window.previousURL)&&void 0!==e?e:"/")+"?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 _=(0,a(1900).Z)(d,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("Alert",{attrs:{message:t.errorMessage,type:"danger"}}),t._v(" "),a("Alert",{attrs:{message:t.successMessage,type:"success"}}),t._v(" "),a("Alert",{attrs:{message:t.warningMessage,type:"warning"}}),t._v(" "),a("SplitPills",{attrs:{transactions:t.transactions}}),t._v(" "),a("div",{staticClass:"tab-content"},t._l(this.transactions,(function(e,n){return a("SplitForm",{key:n,attrs:{count:t.transactions.length,transaction:e,"allowed-opposing-types":t.allowedOpposingTypes,"custom-fields":t.customFields,date:t.date,time:t.time,index:n,"transaction-type":t.transactionType,"destination-allowed-types":t.destinationAllowedTypes,"source-allowed-types":t.sourceAllowedTypes,"allow-switch":!1,"submitted-transaction":t.submittedTransaction},on:{"uploaded-attachments":function(e){return t.uploadedAttachment(e)},"set-marker-location":function(e){return t.storeLocation(e)},"set-account":function(e){return t.storeAccountValue(e)},"set-date":function(e){return t.storeDate(e)},"set-time":function(e){return t.storeTime(e)},"set-field":function(e){return t.storeField(e)},"remove-transaction":function(e){return t.removeTransaction(e)},"selected-attachments":function(e){return t.selectedAttachments(e)}}})})),1),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},[t.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(e){return t.storeGroupTitle(e)}},model:{value:this.groupTitle,callback:function(e){t.$set(this,"groupTitle",e)},expression:"this.groupTitle"}})],1)])])]):t._e()]),t._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"},[t._v("\n \n ")]),t._v(" "),a("button",{staticClass:"btn btn-outline-primary btn-block",on:{click:t.addTransaction}},[a("i",{staticClass:"far fa-clone"}),t._v(" "+t._s(t.$t("firefly.add_another_split"))+"\n ")])]),t._v(" "),a("div",{staticClass:"col"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n \n ")]),t._v(" "),a("button",{staticClass:"btn btn-info btn-block",attrs:{disabled:!t.enableSubmit},on:{click:t.submitTransaction}},[t.enableSubmit?a("span",[a("i",{staticClass:"far fa-save"}),t._v(" "+t._s(t.$t("firefly.update_transaction")))]):t._e(),t._v(" "),t.enableSubmit?t._e():a("span",[a("i",{staticClass:"fas fa-spinner fa-spin"})])])])]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[t._v("\n \n ")]),t._v(" "),a("div",{staticClass:"col"},[a("div",{staticClass:"form-check"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.stayHere,expression:"stayHere"}],staticClass:"form-check-input",attrs:{id:"stayHere",type:"checkbox"},domProps:{checked:Array.isArray(t.stayHere)?t._i(t.stayHere,null)>-1:t.stayHere},on:{change:function(e){var a=t.stayHere,n=e.target,s=!!n.checked;if(Array.isArray(a)){var i=t._i(a,null);n.checked?i<0&&(t.stayHere=a.concat([null])):i>-1&&(t.stayHere=a.slice(0,i).concat(a.slice(i+1)))}else t.stayHere=s}}}),t._v(" "),a("label",{staticClass:"form-check-label",attrs:{for:"stayHere"}},[a("span",{staticClass:"small"},[t._v(t._s(t.$t("firefly.after_update_create_another")))])])])])])])])])])],1)}),[],!1,null,"522ea559",null).exports;var p=a(7760),g=a.n(p);a(232),g().config.productionTip=!1;var h=a(157),m={};new(g())({i18n:h,store:n.Z,render:function(t){return t(_,{props:m})},beforeCreate:function(){this.$store.commit("initialiseStore"),this.$store.dispatch("updateCurrencyPreference")}}).$mount("#transactions_edit")},6665:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>r});var n=a(4015),s=a.n(n),i=a(3645),o=a.n(i)()(s());o.push([t.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=o},3324:(t,e,a)=>{"use strict";a.d(e,{Z:()=>s});const n={name:"Alert",props:["message","type"]};const s=(0,a(1900).Z)(n,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.message.length>0?a("div",{class:"alert alert-"+t.type+" alert-dismissible"},[a("button",{staticClass:"close",attrs:{"aria-hidden":"true","data-dismiss":"alert",type:"button"}},[t._v("×")]),t._v(" "),a("h5",["danger"===t.type?a("i",{staticClass:"icon fas fa-ban"}):t._e(),t._v(" "),"success"===t.type?a("i",{staticClass:"icon fas fa-thumbs-up"}):t._e(),t._v(" "),"danger"===t.type?a("span",[t._v(t._s(t.$t("firefly.flash_error")))]):t._e(),t._v(" "),"success"===t.type?a("span",[t._v(t._s(t.$t("firefly.flash_success")))]):t._e()]),t._v(" "),a("span",{domProps:{innerHTML:t._s(t.message)}})]):t._e()}),[],!1,null,null,null).exports},3044:(t,e,a)=>{"use strict";a.d(e,{Z:()=>at});var n=a(662),s=a(6486);const i={props:["index","value","errors"],components:{VueTypeaheadBootstrap:n.Z},name:"TransactionDescription",data:function(){return{descriptions:[],initialSet:[],description:this.value}},created:function(){var t=this;axios.get(this.getACURL("")).then((function(e){t.descriptions=e.data,t.initialSet=e.data}))},methods:{clearDescription:function(){this.description=""},getACURL:function(t){return document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/transactions?query="+t},lookupDescription:(0,s.debounce)((function(){var t=this;axios.get(this.getACURL(this.value)).then((function(e){t.descriptions=e.data}))}),300)},watch:{value:function(t){this.description=t},description:function(t){this.$emit("set-field",{field:"description",index:this.index,value:t})}}};var o=a(1900);const r=(0,o.Z)(i,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("vue-typeahead-bootstrap",{attrs:{data:t.descriptions,inputClass:t.errors.length>0?"is-invalid":"",minMatchingChars:3,placeholder:t.$t("firefly.description"),serializer:function(t){return t.description},showOnFocus:!0,autofocus:"",inputName:"description[]"},on:{input:t.lookupDescription},model:{value:t.description,callback:function(e){t.description=e},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:t.clearDescription}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._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(t){if(""===t)return this.localDate=new Date,void this.$emit("set-date",{date:this.localDate});this.localDate=new Date(t),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(t){var e,a,n;if(""===t)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()),i=t.split(":"),o=null!==(e=i[0])&&void 0!==e?e:"0",r=null!==(a=i[1])&&void 0!==a?a:"0",c=null!==(n=i[2])&&void 0!==n?n:"0";o=3===o.length?o.substr(1,2):o,r=3===r.length?r.substr(1,2):r,c=3===c.length?c.substr(1,2):c,s.setHours(parseInt(o)),s.setMinutes(parseInt(r)),s.setSeconds(parseInt(c)),this.localTime=s,this.$emit("set-time",{time:this.localTime})}}}};const l=(0,o.Z)(c,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.date_and_time"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.dateStr,expression:"dateStr"}],ref:"date",class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{disabled:t.index>0,placeholder:t.dateStr,title:t.$t("firefly.date"),autocomplete:"off",name:"date[]",type:"date"},domProps:{value:t.dateStr},on:{input:function(e){e.target.composing||(t.dateStr=e.target.value)}}}),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.timeStr,expression:"timeStr"}],ref:"time",class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{disabled:t.index>0,placeholder:t.timeStr,title:t.$t("firefly.time"),autocomplete:"off",name:"time[]",type:"time"},domProps:{value:t.timeStr},on:{input:function(e){e.target.composing||(t.timeStr=e.target.value)}}})]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e(),t._v(" "),""!==t.timeZone?a("span",{staticClass:"text-muted small"},[t._v(t._s(t.timeZone))]):t._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 t=this;axios.get("./api/v1/budgets").then((function(e){t.parseBudgets(e.data)}))},parseBudgets:function(t){for(var e in t.data)if(t.data.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t.data[e];if(!a.attributes.active)continue;this.budgetList.push({id:parseInt(a.id),name:a.attributes.name})}}},watch:{value:function(t){this.emitEvent=!1,this.budget=t},budget:function(t){this.$emit("set-field",{field:"budget_id",index:this.index,value:t})}}};const d=(0,o.Z)(u,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.budget"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:t.budget,expression:"budget"}],ref:"budget",class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{title:t.$t("firefly.budget"),autocomplete:"off",name:"budget_id[]"},on:{submit:function(t){t.preventDefault()},change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.budget=e.target.multiple?a:a[0]}}},t._l(this.budgetList,(function(e){return a("option",{attrs:{label:e.name},domProps:{value:e.id}},[t._v(t._s(e.name))])})),0)]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()])}),[],!1,null,null,null).exports;const _={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[]}},allowedOpposingTypes:{type:Object,default:function(){return{}}},transactionType:{type:String,default:"any"}},data:function(){return{query:"",accounts:[],accountTypes:[],initialSet:[],selectedAccount:{},account:this.value,accountName:"",selectedAccountTrigger:!1}},created:function(){var t;this.selectedAccountTrigger=!0,this.accountName=null!==(t=this.account.name)&&void 0!==t?t:"",this.createInitialSet()},methods:{getACURL:function(t,e){return"./api/v1/autocomplete/accounts?types="+t.join(",")+"&query="+e},clearAccount:function(){this.accounts=this.initialSet,this.account={name:"",type:"no_type",id:null,currency_id:null,currency_code:null,currency_symbol:null},this.accountName=""},lookupAccount:(0,s.debounce)((function(){var t=this;0===this.accountTypes.length&&(this.accountTypes="source"===this.direction?this.sourceAllowedTypes:this.destinationAllowedTypes),axios.get(this.getACURL(this.accountTypes,this.accountName)).then((function(e){t.accounts=e.data}))}),300),createInitialSet:function(){var t=this,e=this.sourceAllowedTypes;"destination"===this.direction&&(e=this.destinationAllowedTypes),axios.get(this.getACURL(e,"")).then((function(e){t.accounts=e.data,t.initialSet=e.data}))}},watch:{sourceAllowedTypes:function(t){this.createInitialSet()},destinationAllowedTypes:function(t){this.createInitialSet()},selectedAccount:function(t){this.selectedAccountTrigger=!0,this.account=t,this.$emit("set-account",{index:this.index,direction:this.direction,id:t.id,type:t.type,name:t.name,currency_id:t.currency_id,currency_code:t.currency_code,currency_symbol:t.currency_symbol}),this.accountName=this.account.name_with_balance},accountName:function(t){!1===this.selectedAccountTrigger&&(this.$emit("set-account",{index:this.index,direction:this.direction,id:null,type:null,name:t,currency_id:null,currency_code:null,currency_symbol:null}),this.accountTrigger=!1,this.account={name:t,type:null,id:null,currency_id:null,currency_code:null,currency_symbol:null}),this.selectedAccountTrigger=!1},account:function(t){var e=[],a=t.type?t.type:"no_type";void 0!==this.allowedOpposingTypes[this.direction]&&void 0!==this.allowedOpposingTypes[this.direction][a]&&(e=this.allowedOpposingTypes[this.direction][a]),"source"===this.direction&&this.$emit("set-dest-types",e),"destination"===this.direction&&this.$emit("set-src-types",e)},value:function(t){var e;this.account=t,this.selectedAccountTrigger=!0,this.accountName=null!==(e=t.name)&&void 0!==e?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,o.Z)(_,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[t.visible?a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[0===this.index?a("span",[t._v(t._s(t.$t("firefly."+this.direction+"_account")))]):t._e(),t._v(" "),this.index>0?a("span",{staticClass:"text-warning"},[t._v(t._s(t.$t("firefly.first_split_overrules_"+this.direction)))]):t._e()]):t._e(),t._v(" "),t.visible?t._e():a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n \n ")]),t._v(" "),t.visible?a("vue-typeahead-bootstrap",{attrs:{data:t.accounts,inputClass:t.errors.length>0?"is-invalid":"",inputName:t.direction+"[]",minMatchingChars:3,placeholder:t.$t("firefly."+t.direction+"_account"),serializer:function(t){return t.name_with_balance},showOnFocus:!0},on:{hit:function(e){t.selectedAccount=e},input:t.lookupAccount},scopedSlots:t._u([{key:"suggestion",fn:function(e){var n=e.data,s=e.htmlText;return[a("div",{staticClass:"d-flex",attrs:{title:n.type}},[a("span",{domProps:{innerHTML:t._s(s)}}),a("br")])]}}],null,!1,1423807661),model:{value:t.accountName,callback:function(e){t.accountName=e},expression:"accountName"}},[t._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:t.clearAccount}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2):t._e(),t._v(" "),t.visible?t._e():a("div",{staticClass:"form-control-static"},[a("span",{staticClass:"small text-muted"},[a("em",[t._v(t._s(t.$t("firefly.first_split_decides")))])])]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()],1)}),[],!1,null,null,null).exports;const g={name:"SwitchAccount",props:["index","transactionType"],methods:{switchAccounts:function(){this.$emit("switch-accounts",this.index)}}};const h=(0,o.Z)(g,(function(){var t=this,e=t.$createElement,a=t._self._c||e;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"},[t._v("\n "+t._s(t.$t("firefly."+this.transactionType))+"\n ")]):t._e(),t._v(" "),"any"===this.transactionType?a("span",{staticClass:"text-muted"},[t._v(" ")]):t._e()]),t._v(" "),a("div",{staticClass:"btn-group d-flex"},[a("button",{staticClass:"btn btn-light",on:{click:t.switchAccounts}},[t._v("↔")])])])}),[],!1,null,"376bca8c",null).exports;const m={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(t){return parseFloat(t).toFixed(this.fractionDigits)}},data:function(){return{transactionAmount:this.amount,currencySymbol:null,srcCurrencySymbol:this.sourceCurrencySymbol,dstCurrencySymbol:this.destinationCurrencySymbol,emitEvent:!0}},watch:{transactionAmount:function(t){!0===this.emitEvent&&this.$emit("set-field",{field:"amount",index:this.index,value:t}),this.emitEvent=!0},amount:function(t){this.transactionAmount=t},sourceCurrencySymbol:function(t){this.srcCurrencySymbol=t},destinationCurrencySymbol:function(t){this.dstCurrencySymbol=t},transactionType:function(t){switch(t){case"Transfer":case"Withdrawal":this.currencySymbol=this.srcCurrencySymbol;break;case"Deposit":this.currencySymbol=this.dstCurrencySymbol}}}};const f=(0,o.Z)(m,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs"},[t._v(t._s(t.$t("firefly.amount")))]),t._v(" "),a("div",{staticClass:"input-group"},[t.currencySymbol?a("div",{staticClass:"input-group-prepend"},[a("div",{staticClass:"input-group-text"},[t._v(t._s(t.currencySymbol))])]):t._e(),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.transactionAmount,expression:"transactionAmount"}],class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:t.$t("firefly.amount"),title:t.$t("firefly.amount"),autocomplete:"off",name:"amount[]",type:"number"},domProps:{value:t.transactionAmount},on:{input:function(e){e.target.composing||(t.transactionAmount=e.target.value)}}})]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()])}),[],!1,null,"fadf3e90",null).exports;const y={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(t){return parseFloat(t).toFixed(this.fractionDigits)}},watch:{amount:function(t){!0===this.emitEvent&&this.$emit("set-field",{field:"foreign_amount",index:this.index,value:t}),this.emitEvent=!0},value:function(t){this.amount=t}},computed:{isVisible:{get:function(){return!("Transfer"===this.transactionType&&this.sourceCurrencyId===this.destinationCurrencyId)}}}};const v=(0,o.Z)(y,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.isVisible?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs"},[t._v(t._s(t.$t("form.foreign_amount")))]),t._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.amount,expression:"amount"}],class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:t.$t("form.foreign_amount"),title:t.$t("form.foreign_amount"),autocomplete:"off",name:"foreign_amount[]",type:"number"},domProps:{value:t.amount},on:{input:function(e){e.target.composing||(t.amount=e.target.value)}}})]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()]):t._e()}),[],!1,null,"d13f8bea",null).exports;const b={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(t){this.selectedCurrency=t},sourceCurrencyId:function(t){this.srcCurrencyId=t},destinationCurrencyId:function(t){this.dstCurrencyId=t},selectedCurrency:function(t){this.$emit("set-field",{field:"foreign_currency_id",index:this.index,value:t})},transactionType:function(t){this.lockedCurrency=0,"Transfer"===t&&(this.lockedCurrency=this.dstCurrencyId,this.selectedCurrency=this.dstCurrencyId),this.filterCurrencies()}},created:function(){this.getAllCurrencies()},methods:{getAllCurrencies:function(){var t=this;axios.get("./api/v1/autocomplete/currencies").then((function(e){t.allCurrencies=e.data,t.filterCurrencies()}))},filterCurrencies:function(){if(0===this.lockedCurrency){for(var t in this.selectableCurrencies=[{id:0,name:this.$t("firefly.no_currency")}],this.allCurrencies)if(this.allCurrencies.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var e=this.allCurrencies[t];this.selectableCurrencies.push(e)}}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,o.Z)(b,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.isVisible?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs"},[t._v(" ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:t.selectedCurrency,expression:"selectedCurrency"}],staticClass:"form-control",attrs:{name:"foreign_currency_id[]"},on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.selectedCurrency=e.target.multiple?a:a[0]}}},t._l(t.selectableCurrencies,(function(e){return a("option",{attrs:{label:e.name},domProps:{value:e.id}},[t._v(t._s(e.name))])})),0)])]):t._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(t){this.availableFields=t},interestDate:function(t){this.dates.interest_date=t},bookDate:function(t){this.dates.book_date=t},processDate:function(t){this.dates.process_date=t},dueDate:function(t){this.dates.due_date=t},paymentDate:function(t){this.dates.payment_date=t},invoiceDate:function(t){this.dates.invoice_date=t}},methods:{isDateField:function(t){return this.dateFields.includes(t)},getFieldValue:function(t){var e;return null!==(e=this.dates[t])&&void 0!==e?e:""},setFieldValue:function(t,e){this.$emit("set-field",{field:e,index:this.index,value:t.target.value})}}};const x=(0,o.Z)(w,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",t._l(t.availableFields,(function(e,n){return a("div",{staticClass:"form-group"},[e&&t.isDateField(n)?a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("form."+n))+"\n ")]):t._e(),t._v(" "),e&&t.isDateField(n)?a("div",{staticClass:"input-group"},[a("input",{ref:n,refInFor:!0,staticClass:"form-control",attrs:{name:n+"[]",placeholder:t.$t("form."+n),title:t.$t("form."+n),autocomplete:"off",type:"date"},domProps:{value:t.getFieldValue(n)},on:{change:function(e){return t.setFieldValue(e,n)},submit:function(t){t.preventDefault()}}})]):t._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 t=this;axios.get(this.getACURL("")).then((function(e){t.categories=e.data,t.initialSet=e.data}))},methods:{clearCategory:function(){this.category=""},getACURL:function(t){return document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/categories?query="+t},lookupCategory:(0,s.debounce)((function(){var t=this;axios.get(this.getACURL(this.value)).then((function(e){t.categories=e.data}))}),300)},watch:{value:function(t){this.emitEvent=!1,this.category=null!=t?t:""},category:function(t){this.$emit("set-field",{field:"category",index:this.index,value:t})}},computed:{selectedCategory:{get:function(){return this.categories[this.index].name},set:function(t){this.category=t.name}}}};const C=(0,o.Z)(T,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.category"))+"\n ")]),t._v(" "),a("vue-typeahead-bootstrap",{attrs:{data:t.categories,inputClass:t.errors.length>0?"is-invalid":"",minMatchingChars:3,placeholder:t.$t("firefly.category"),serializer:function(t){return t.name},showOnFocus:!0,inputName:"category[]"},on:{hit:function(e){t.selectedCategory=e},input:t.lookupCategory},model:{value:t.category,callback:function(e){t.category=e},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:t.clearCategory}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._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 t=this;axios.get("./api/v1/bills").then((function(e){t.parseBills(e.data)}))},parseBills:function(t){for(var e in t.data)if(t.data.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t.data[e];this.billList.push({id:parseInt(a.id),name:a.attributes.name})}}},watch:{value:function(t){this.emitEvent=!1,this.bill=t},bill:function(t){!0===this.emitEvent&&this.$emit("set-field",{field:"bill_id",index:this.index,value:t}),this.emitEvent=!0}}};const A=(0,o.Z)(D,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.bill"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:t.bill,expression:"bill"}],ref:"bill",class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{title:t.$t("firefly.bill"),autocomplete:"off",name:"bill_id[]"},on:{submit:function(t){t.preventDefault()},change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.bill=e.target.multiple?a:a[0]}}},t._l(this.billList,(function(e){return a("option",{attrs:{label:e.name},domProps:{value:e.id}},[t._v(t._s(e.name))])})),0)]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()])}),[],!1,null,null,null).exports;var S=a(1310),z=a.n(S),I=a(9669),j=a.n(I);const P={name:"TransactionTags",components:{VueTagsInput:z()},props:["value","index","errors"],data:function(){return{autocompleteItems:[],debounce:null,tags:[],currentTag:"",updateTags:!0,tagList:this.value,emitEvent:!0}},created:function(){var t=[];for(var e in this.value)this.value.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294&&t.push({text:this.value[e]});this.updateTags=!1,this.tags=t},watch:{currentTag:"initItems",value:function(t){this.emitEvent=!1,this.tagList=t},tagList:function(t){console.log("watch tagList"),!0===this.emitEvent&&this.$emit("set-field",{field:"tags",index:this.index,value:t}),this.emitEvent=!0,this.updateTags=!1,this.tags=t},tags:function(t){if(this.updateTags){var e=[];for(var a in t)t.hasOwnProperty(a)&&e.push({text:t[a].text});this.tagList=e}this.updateTags=!0}},methods:{initItems:function(){var t=this;if(!(this.currentTag.length<2)){var e=document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/tags?query=".concat(this.currentTag);clearTimeout(this.debounce),this.debounce=setTimeout((function(){j().get(e).then((function(e){t.autocompleteItems=e.data.map((function(t){return{text:t.tag}}))})).catch((function(){return console.warn("Oh. Something went wrong loading tags.")}))}),300)}}}};a(4936);const $=(0,o.Z)(P,(function(){var t=this,e=this,a=e.$createElement,n=e._self._c||a;return n("div",{staticClass:"form-group"},[n("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.tags"))+"\n ")]),e._v(" "),n("div",{staticClass:"input-group"},[n("vue-tags-input",{attrs:{"add-only-from-autocomplete":!1,"autocomplete-items":e.autocompleteItems,tags:e.tags,title:e.$t("firefly.tags"),placeholder:e.$t("firefly.tags")},on:{"tags-changed":function(e){return t.tags=e}},model:{value:e.currentTag,callback:function(t){e.currentTag=t},expression:"currentTag"}})],1),e._v(" "),e.errors.length>0?n("span",e._l(e.errors,(function(t){return n("span",{staticClass:"text-danger small"},[e._v(e._s(t)),n("br")])})),0):e._e()])}),[],!1,null,null,null).exports;const F={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 t=this;axios.get("./api/v1/autocomplete/piggy-banks-with-balance").then((function(e){t.parsePiggies(e.data)}))},parsePiggies:function(t){for(var e in t)if(t.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t[e];this.piggyList.push({id:parseInt(a.id),name_with_balance:a.name_with_balance})}}},watch:{value:function(t){this.emitEvent=!1,this.piggy_bank_id=t},piggy_bank_id:function(t){!0===this.emitEvent&&this.$emit("set-field",{field:"piggy_bank_id",index:this.index,value:t}),this.emitEvent=!0}}};const B=(0,o.Z)(F,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.piggy_bank"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:t.piggy_bank_id,expression:"piggy_bank_id"}],ref:"piggy_bank_id",class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{title:t.$t("firefly.piggy_bank"),autocomplete:"off",name:"piggy_bank_id[]"},on:{submit:function(t){t.preventDefault()},change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.piggy_bank_id=e.target.multiple?a:a[0]}}},t._l(this.piggyList,(function(e){return a("option",{attrs:{label:e.name_with_balance},domProps:{value:e.id}},[t._v(t._s(e.name_with_balance))])})),0)]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()])}),[],!1,null,null,null).exports;const E={props:["index","value","errors","customFields"],name:"TransactionInternalReference",data:function(){return{reference:this.value,availableFields:this.customFields,emitEvent:!0}},computed:{showField:function(){return"internal_reference"in this.availableFields&&this.availableFields.internal_reference}},methods:{},watch:{customFields:function(t){this.availableFields=t},value:function(t){this.emitEvent=!1,this.reference=t},reference:function(t){this.$emit("set-field",{field:"internal_reference",index:this.index,value:t})}}};const R=(0,o.Z)(E,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.internal_reference"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.reference,expression:"reference"}],class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:t.$t("firefly.internal_reference"),name:"internal_reference[]",type:"text"},domProps:{value:t.reference},on:{input:function(e){e.target.composing||(t.reference=e.target.value)}}}),t._v(" "),t._m(0)])]):t._e()}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"input-group-append"},[e("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"}},[e("i",{staticClass:"far fa-trash-alt"})])])}],!1,null,null,null).exports;const L={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(t){this.availableFields=t},value:function(t){this.url=t},url:function(t){this.$emit("set-field",{field:"external_url",index:this.index,value:t})}}};const N=(0,o.Z)(L,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.external_url"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.url,expression:"url"}],class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:t.$t("firefly.external_url"),name:"external_url[]",type:"url"},domProps:{value:t.url},on:{input:function(e){e.target.composing||(t.url=e.target.value)}}}),t._v(" "),t._m(0)])]):t._e()}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"input-group-append"},[e("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"}},[e("i",{staticClass:"far fa-trash-alt"})])])}],!1,null,"7f6746e6",null).exports;const O={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(t){this.emitEvent=!1,this.notes=t},customFields:function(t){this.availableFields=t},notes:function(t){!0===this.emitEvent&&this.$emit("set-field",{field:"notes",index:this.index,value:t}),this.emitEvent=!0}}};const M=(0,o.Z)(O,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.notes"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.notes,expression:"notes"}],class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:t.$t("firefly.notes")},domProps:{value:t.notes},on:{input:function(e){e.target.composing||(t.notes=e.target.value)}}})])]):t._e()}),[],!1,null,"10b3ae7a",null).exports;var U=a(3465);const G={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 t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"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(t){null!==t&&(this.emitEvent=!1,this.links=U(t))},links:function(t){!0===this.emitEvent&&this.$emit("set-field",{index:this.index,field:"links",value:U(t)}),this.emitEvent=!0},customFields:function(t){this.availableFields=t}},methods:{removeLink:function(t){this.links.splice(t,1)},getTextForLinkType:function(t){var e=t.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(e[0]===n.id&&e[1]===n.direction)return n.type}return"text for #"+t},selectTransaction:function(t){for(var e in this.searchResults)if(this.searchResults.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=this.searchResults[e];a.selected&&this.addToSelected(a),a.selected||this.removeFromSelected(a)}},selectLinkType:function(t){for(var e in this.searchResults)if(this.searchResults.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=this.searchResults[e];this.updateSelected(a.transaction_journal_id,a.link_type_id)}},updateSelected:function(t,e){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)===t&&(this.links[a].link_type_id=e)}},addToSelected:function(t){void 0===this.links.find((function(e){return e.transaction_journal_id===t.transaction_journal_id}))&&this.links.push(t)},removeFromSelected:function(t){for(var e in this.links){if(this.links.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294)this.links[e].transaction_journal_id===t.transaction_journal_id&&this.links.splice(parseInt(e),1)}},getLinkTypes:function(){var t=this;axios.get("./api/v1/link_types").then((function(e){t.parseLinkTypes(e.data)}))},resetModal:function(){this.search()},parseLinkTypes:function(t){for(var e in t.data)if(t.data.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t.data[e],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 t=this;if(""!==this.query){this.searching=!0,this.searchResults=[];var e="./api/v1/search/transactions?limit=10&query="+this.query;axios.get(e).then((function(e){t.parseSearch(e.data)}))}else this.searchResults=[]},parseSearch:function(t){for(var e in t.data)if(t.data.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294)for(var a in t.data[e].attributes.transactions)if(t.data[e].attributes.transactions.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=t.data[e].attributes.transactions[a];n.transaction_group_id=parseInt(t.data[e].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(t){for(var e in this.links)if(this.links.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=this.links[e];if(a.transaction_journal_id===t)return a.link_type_id}return"1-inward"},isJournalSelected:function(t){for(var e in this.links){if(this.links.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294)if(this.links[e].transaction_journal_id===t)return!0}return!1}}};const V=(0,o.Z)(G,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showField?a("div",[a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.journal_links"))+"\n ")]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[0===t.links.length?a("p",[a("button",{staticClass:"btn btn-default btn-xs",attrs:{"data-target":"#linkModal","data-toggle":"modal"},on:{click:t.resetModal}},[a("i",{staticClass:"fas fa-plus"}),t._v(" Add transaction link")])]):t._e(),t._v(" "),t.links.length>0?a("ul",{staticClass:"list-group"},t._l(t.links,(function(e,n){return a("li",{key:n,staticClass:"list-group-item"},[a("em",[t._v(t._s(t.getTextForLinkType(e.link_type_id)))]),t._v(" "),a("a",{attrs:{href:"./transaction/show/"+e.transaction_group_id}},[t._v(t._s(e.description))]),t._v(" "),"withdrawal"===e.type?a("span",[t._v("\n ("),a("span",{staticClass:"text-danger"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(-1*parseFloat(e.amount))))]),t._v(")\n ")]):t._e(),t._v(" "),"deposit"===e.type?a("span",[t._v("\n ("),a("span",{staticClass:"text-success"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(parseFloat(e.amount))))]),t._v(")\n ")]):t._e(),t._v(" "),"transfer"===e.type?a("span",[t._v("\n ("),a("span",{staticClass:"text-info"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(parseFloat(e.amount))))]),t._v(")\n ")]):t._e(),t._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(e){return t.removeLink(n)}}},[a("i",{staticClass:"far fa-trash-alt"})])])])})),0):t._e(),t._v(" "),t.links.length>0?a("div",{staticClass:"form-text"},[a("button",{staticClass:"btn btn-default",attrs:{"data-target":"#linkModal","data-toggle":"modal"},on:{click:t.resetModal}},[a("i",{staticClass:"fas fa-plus"})])]):t._e()])])]),t._v(" "),a("div",{ref:"linkModal",staticClass:"modal",attrs:{id:"linkModal",tabindex:"-1"}},[a("div",{staticClass:"modal-dialog modal-lg"},[a("div",{staticClass:"modal-content"},[t._m(0),t._v(" "),a("div",{staticClass:"modal-body"},[a("div",{staticClass:"container-fluid"},[t._m(1),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("form",{on:{submit:function(e){return e.preventDefault(),t.search(e)}}},[a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.query,expression:"query"}],staticClass:"form-control",attrs:{id:"query",autocomplete:"off",maxlength:"255",name:"search",placeholder:"Search query",type:"text"},domProps:{value:t.query},on:{input:function(e){e.target.composing||(t.query=e.target.value)}}}),t._v(" "),t._m(2)])])])]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[t.searching?a("span",[a("i",{staticClass:"fas fa-spinner fa-spin"})]):t._e(),t._v(" "),t.searchResults.length>0?a("h4",[t._v(t._s(t.$t("firefly.search_results")))]):t._e(),t._v(" "),t.searchResults.length>0?a("table",{staticClass:"table table-sm"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("firefly.search_results")))]),t._v(" "),a("thead",[a("tr",[a("th",{staticStyle:{width:"33%"},attrs:{scope:"col",colspan:"2"}},[t._v(t._s(t.$t("firefly.include")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.transaction")))])])]),t._v(" "),a("tbody",t._l(t.searchResults,(function(e){return a("tr",[a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.selected,expression:"result.selected"}],staticClass:"form-control",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.selected)?t._i(e.selected,null)>-1:e.selected},on:{change:[function(a){var n=e.selected,s=a.target,i=!!s.checked;if(Array.isArray(n)){var o=t._i(n,null);s.checked?o<0&&t.$set(e,"selected",n.concat([null])):o>-1&&t.$set(e,"selected",n.slice(0,o).concat(n.slice(o+1)))}else t.$set(e,"selected",i)},function(e){return t.selectTransaction(e)}]}})]),t._v(" "),a("td",[a("select",{directives:[{name:"model",rawName:"v-model",value:e.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(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(e,"link_type_id",a.target.multiple?n:n[0])},function(e){return t.selectLinkType(e)}]}},t._l(t.linkTypes,(function(e){return a("option",{attrs:{label:e.type},domProps:{value:e.id+"-"+e.direction}},[t._v(t._s(e.type)+"\n ")])})),0)]),t._v(" "),a("td",[a("a",{attrs:{href:"./transactions/show/"+e.transaction_group_id}},[t._v(t._s(e.description))]),t._v(" "),"withdrawal"===e.type?a("span",[t._v("\n ("),a("span",{staticClass:"text-danger"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(-1*parseFloat(e.amount))))]),t._v(")\n ")]):t._e(),t._v(" "),"deposit"===e.type?a("span",[t._v("\n ("),a("span",{staticClass:"text-success"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(parseFloat(e.amount))))]),t._v(")\n ")]):t._e(),t._v(" "),"transfer"===e.type?a("span",[t._v("\n ("),a("span",{staticClass:"text-info"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(parseFloat(e.amount))))]),t._v(")\n ")]):t._e(),t._v(" "),a("br"),t._v(" "),a("em",[a("a",{attrs:{href:"./accounts/show/"+e.source_id}},[t._v(t._s(e.source_name))]),t._v("\n →\n "),a("a",{attrs:{href:"./accounts/show/"+e.destination_id}},[t._v(t._s(e.destination_name))])])])])})),0)]):t._e()])])])]),t._v(" "),t._m(3)])])])]):t._e()}),[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"modal-header"},[a("h5",{staticClass:"modal-title"},[t._v("Transaction thing dialog.")]),t._v(" "),a("button",{staticClass:"close",attrs:{"aria-label":"Close","data-dismiss":"modal",type:"button"}},[a("span",{attrs:{"aria-hidden":"true"}},[t._v("×")])])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("p",[t._v("\n Use this form to search for transactions you wish to link to this one. When in doubt, use "),a("code",[t._v("id:*")]),t._v(" where the ID is the number from\n the URL.\n ")])])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-default",attrs:{type:"submit"}},[a("i",{staticClass:"fas fa-search"}),t._v(" Search")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"modal-footer"},[a("button",{staticClass:"btn btn-secondary",attrs:{"data-dismiss":"modal",type:"button"}},[t._v("Close")])])}],!1,null,null,null).exports;const Z={name:"TransactionAttachments",props:["transaction_journal_id","customFields"],data:function(){return{availableFields:this.customFields}},watch:{customFields:function(t){this.availableFields=t},transaction_journal_id:function(t){this.showField?0!==t&&this.doUpload():this.$emit("uploaded-attachments",t)}},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 t=this;for(var e in this.$refs.att.files)this.$refs.att.files.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294&&function(){var a=t.$refs.att.files[e],n=new FileReader,s=t;n.onloadend=function(t){var e=this;if(t.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([t.target.result])).then((function(t){s.$emit("uploaded-attachments",e.transaction_journal_id)}))}))}},n.readAsArrayBuffer(a)}();0===this.$refs.att.files.length&&this.$emit("uploaded-attachments",this.transaction_journal_id)}}};const q=(0,o.Z)(Z,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.attachments"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("input",{ref:"att",staticClass:"form-control",attrs:{multiple:"",name:"attachments[]",type:"file"},on:{change:t.selectedFile}})])]):t._e()}),[],!1,null,"c0a65b6c",null).exports;var W=a(7661),H=a(5352),K=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(3940),shadowUrl:a(4645)});const X={name:"TransactionLocation",props:{index:{},value:{type:Object,required:!1},errors:{},customFields:{}},components:{LMap:H.Z,LTileLayer:K.Z,LMarker:J.Z},created:function(){var t=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(e){t.zoom=parseInt(e.data.data.value.zoom_level),t.center=[parseFloat(e.data.data.value.latitude),parseFloat(e.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(t){this.marker=[t.latlng.lat,t.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(t){this.zoom=t},centerUpdated:function(t){this.center=t},boundsUpdated:function(t){this.bounds=t}},computed:{showField:function(){return"location"in this.availableFields&&this.availableFields.location}},watch:{customFields:function(t){this.availableFields=t}}};const tt=(0,o.Z)(X,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.location"))+"\n ")]),t._v(" "),a("div",{staticStyle:{width:"100%",height:"300px"}},[a("l-map",{ref:"myMap",staticStyle:{width:"100%",height:"300px"},attrs:{center:t.center,zoom:t.zoom},on:{ready:function(e){return t.prepMap()},"update:zoom":t.zoomUpdated,"update:center":t.centerUpdated,"update:bounds":t.boundsUpdated}},[a("l-tile-layer",{attrs:{url:t.url}}),t._v(" "),a("l-marker",{attrs:{"lat-lng":t.marker,visible:t.hasMarker}})],1),t._v(" "),a("span",[a("button",{staticClass:"btn btn-default btn-xs",on:{click:t.clearLocation}},[t._v(t._s(t.$t("firefly.clear_location")))])])],1),t._v(" "),a("p",[t._v(" ")])]):t._e()}),[],!1,null,"3bafa3c9",null).exports,et={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:[]},allowedOpposingTypes:{type:Object,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 t=["internal_reference","notes","attachments","external_uri","location","links"];for(var e in this.customFields)if(this.customFields.hasOwnProperty(e)&&t.includes(e)&&!0===this.customFields[e])return!0;return!1}},components:{TransactionLocation:tt,SplitPills:W.Z,TransactionAttachments:q,TransactionNotes:M,TransactionExternalUrl:N,TransactionInternalReference:R,TransactionPiggyBank:B,TransactionTags:$,TransactionLinks:V,TransactionBill:A,TransactionCategory:C,TransactionCustomDates:x,TransactionForeignCurrency:k,TransactionForeignAmount:v,TransactionAmount:f,SwitchAccount:h,TransactionAccount:p,TransactionBudget:d,TransactionDescription:r,TransactionDate:l}};const at=(0,o.Z)(et,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{class:"tab-pane"+(0===t.index?" active":""),attrs:{id:"split_"+t.index}},[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v("\n "+t._s(t.$t("firefly.basic_journal_information"))+"\n "),t.count>1?a("span",[t._v("("+t._s(t.index+1)+" / "+t._s(t.count)+") ")]):t._e()]),t._v(" "),t.count>1?a("div",{staticClass:"card-tools"},[a("button",{staticClass:"btn btn-danger btn-xs",on:{click:t.removeTransaction}},[a("i",{staticClass:"fas fa-trash-alt"})])]):t._e()]),t._v(" "),a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("TransactionDescription",t._g({attrs:{errors:t.transaction.errors.description,index:t.index},model:{value:t.transaction.description,callback:function(e){t.$set(t.transaction,"description",e)},expression:"transaction.description"}},t.$listeners))],1)]),t._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",t._g({attrs:{"allowed-opposing-types":t.allowedOpposingTypes,"destination-allowed-types":t.destinationAllowedTypes,errors:t.transaction.errors.source,index:t.index,"source-allowed-types":t.sourceAllowedTypes,"transaction-type":t.transactionType,direction:"source"},model:{value:t.sourceAccount,callback:function(e){t.sourceAccount=e},expression:"sourceAccount"}},t.$listeners))],1),t._v(" "),a("div",{staticClass:"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block"},[0===t.index&&t.allowSwitch?a("SwitchAccount",t._g({attrs:{index:t.index,"transaction-type":t.transactionType}},t.$listeners)):t._e()],1),t._v(" "),a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12"},[a("TransactionAccount",t._g({attrs:{"allowed-opposing-types":t.allowedOpposingTypes,"destination-allowed-types":t.destinationAllowedTypes,errors:t.transaction.errors.destination,index:t.index,"transaction-type":t.transactionType,"source-allowed-types":t.sourceAllowedTypes,direction:"destination"},model:{value:t.destinationAccount,callback:function(e){t.destinationAccount=e},expression:"destinationAccount"}},t.$listeners))],1)]),t._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",t._g({attrs:{amount:t.transaction.amount,"destination-currency-symbol":this.transaction.destination_account_currency_symbol,errors:t.transaction.errors.amount,index:t.index,"source-currency-symbol":this.transaction.source_account_currency_symbol,"transaction-type":this.transactionType}},t.$listeners))],1),t._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",t._g({attrs:{"destination-currency-id":this.transaction.destination_account_currency_id,index:t.index,"selected-currency-id":this.transaction.foreign_currency_id,"source-currency-id":this.transaction.source_account_currency_id,"transaction-type":this.transactionType},model:{value:t.transaction.foreign_currency_id,callback:function(e){t.$set(t.transaction,"foreign_currency_id",e)},expression:"transaction.foreign_currency_id"}},t.$listeners))],1),t._v(" "),a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12"},[a("TransactionForeignAmount",t._g({attrs:{"destination-currency-id":this.transaction.destination_account_currency_id,errors:t.transaction.errors.foreign_amount,index:t.index,"selected-currency-id":this.transaction.foreign_currency_id,"source-currency-id":this.transaction.source_account_currency_id,"transaction-type":this.transactionType},model:{value:t.transaction.foreign_amount,callback:function(e){t.$set(t.transaction,"foreign_amount",e)},expression:"transaction.foreign_amount"}},t.$listeners))],1)]),t._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",t._g({attrs:{date:t.splitDate,errors:t.transaction.errors.date,index:t.index,time:t.splitTime}},t.$listeners))],1),t._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",t._g({attrs:{"book-date":t.transaction.book_date,"custom-fields":t.customFields,"due-date":t.transaction.due_date,errors:t.transaction.errors.custom_dates,index:t.index,"interest-date":t.transaction.interest_date,"invoice-date":t.transaction.invoice_date,"payment-date":t.transaction.payment_date,"process-date":t.transaction.process_date},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}}},t.$listeners))],1)])])])])]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v("\n "+t._s(t.$t("firefly.transaction_journal_meta"))+"\n "),t.count>1?a("span",[t._v("("+t._s(t.index+1)+" / "+t._s(t.count)+") ")]):t._e()])]),t._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"!==t.transactionType&&"Deposit"!==t.transactionType?a("TransactionBudget",t._g({attrs:{errors:t.transaction.errors.budget,index:t.index},model:{value:t.transaction.budget_id,callback:function(e){t.$set(t.transaction,"budget_id",e)},expression:"transaction.budget_id"}},t.$listeners)):t._e(),t._v(" "),a("TransactionCategory",t._g({attrs:{errors:t.transaction.errors.category,index:t.index},model:{value:t.transaction.category,callback:function(e){t.$set(t.transaction,"category",e)},expression:"transaction.category"}},t.$listeners))],1),t._v(" "),a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},["Transfer"!==t.transactionType&&"Deposit"!==t.transactionType?a("TransactionBill",t._g({attrs:{errors:t.transaction.errors.bill,index:t.index},model:{value:t.transaction.bill_id,callback:function(e){t.$set(t.transaction,"bill_id",e)},expression:"transaction.bill_id"}},t.$listeners)):t._e(),t._v(" "),a("TransactionTags",t._g({attrs:{errors:t.transaction.errors.tags,index:t.index},model:{value:t.transaction.tags,callback:function(e){t.$set(t.transaction,"tags",e)},expression:"transaction.tags"}},t.$listeners)),t._v(" "),"Withdrawal"!==t.transactionType&&"Deposit"!==t.transactionType?a("TransactionPiggyBank",t._g({attrs:{errors:t.transaction.errors.piggy_bank,index:t.index},model:{value:t.transaction.piggy_bank_id,callback:function(e){t.$set(t.transaction,"piggy_bank_id",e)},expression:"transaction.piggy_bank_id"}},t.$listeners)):t._e()],1)])])])])]),t._v(" "),t.hasMetaFields?a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v("\n "+t._s(t.$t("firefly.transaction_journal_extra"))+"\n "),t.count>1?a("span",[t._v("("+t._s(t.index+1)+" / "+t._s(t.count)+") ")]):t._e()])]),t._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",t._g({attrs:{"custom-fields":t.customFields,errors:t.transaction.errors.internal_reference,index:t.index},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}},model:{value:t.transaction.internal_reference,callback:function(e){t.$set(t.transaction,"internal_reference",e)},expression:"transaction.internal_reference"}},t.$listeners)),t._v(" "),a("TransactionExternalUrl",t._g({attrs:{"custom-fields":t.customFields,errors:t.transaction.errors.external_url,index:t.index},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}},model:{value:t.transaction.external_url,callback:function(e){t.$set(t.transaction,"external_url",e)},expression:"transaction.external_url"}},t.$listeners)),t._v(" "),a("TransactionNotes",t._g({attrs:{"custom-fields":t.customFields,errors:t.transaction.errors.notes,index:t.index},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}},model:{value:t.transaction.notes,callback:function(e){t.$set(t.transaction,"notes",e)},expression:"transaction.notes"}},t.$listeners))],1),t._v(" "),a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("TransactionAttachments",t._g({ref:"attachments",attrs:{"custom-fields":t.customFields,index:t.index,submitted_transaction:t.submittedTransaction,transaction_journal_id:t.transaction.transaction_journal_id},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}},model:{value:t.transaction.attachments,callback:function(e){t.$set(t.transaction,"attachments",e)},expression:"transaction.attachments"}},t.$listeners)),t._v(" "),a("TransactionLocation",t._g({attrs:{"custom-fields":t.customFields,errors:t.transaction.errors.location,index:t.index},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}},model:{value:t.transaction.location,callback:function(e){t.$set(t.transaction,"location",e)},expression:"transaction.location"}},t.$listeners)),t._v(" "),a("TransactionLinks",t._g({attrs:{"custom-fields":t.customFields,index:t.index},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}},model:{value:t.transaction.links,callback:function(e){t.$set(t.transaction,"links",e)},expression:"transaction.links"}},t.$listeners))],1)])])])])]):t._e()])}),[],!1,null,null,null).exports},7661:(t,e,a)=>{"use strict";a.d(e,{Z:()=>s});const n={name:"SplitPills",props:["transactions"]};const s=(0,a(1900).Z)(n,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.transactions.length>1?a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("ul",{staticClass:"nav nav-pills ml-auto p-2"},t._l(this.transactions,(function(e,n){return a("li",{staticClass:"nav-item"},[a("a",{class:"nav-link"+(0===n?" active":""),attrs:{href:"#split_"+n,"data-toggle":"tab"}},[""!==e.description?a("span",[t._v(t._s(e.description))]):t._e(),t._v(" "),""===e.description?a("span",[t._v("Split "+t._s(n+1))]):t._e()])])})),0)])]):t._e()}),[],!1,null,null,null).exports},5524:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(662),s=a(6486);const i={props:["value","errors"],name:"TransactionGroupTitle",components:{VueTypeaheadBootstrap:n.Z},data:function(){return{descriptions:[],initialSet:[],title:this.value,emitEvent:!0}},created:function(){var t=this;axios.get(this.getACURL("")).then((function(e){t.descriptions=e.data,t.initialSet=e.data}))},watch:{value:function(t){this.title=t},title:function(t){this.$emit("set-group-title",t)}},methods:{clearDescription:function(){this.title=""},getACURL:function(t){return document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/transactions?query="+t},lookupDescription:(0,s.debounce)((function(){var t=this;axios.get(this.getACURL(this.title)).then((function(e){t.descriptions=e.data}))}),300)}};const o=(0,a(1900).Z)(i,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.split_transaction_title"))+"\n ")]),t._v(" "),a("vue-typeahead-bootstrap",{attrs:{data:t.descriptions,inputClass:t.errors.length>0?"is-invalid":"",minMatchingChars:3,placeholder:t.$t("firefly.split_transaction_title"),serializer:function(t){return t.description},showOnFocus:!0,inputName:"group_title"},on:{input:t.lookupDescription},model:{value:t.title,callback:function(e){t.title=e},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:t.clearDescription}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()],1)}),[],!1,null,"273271bf",null).exports},4936:(t,e,a)=>{var n=a(6665);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);(0,a(5346).Z)("bf9ab7ac",n,!0,{})},7154:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Прехвърляне","Withdrawal":"Теглене","Deposit":"Депозит","date_and_time":"Date and time","no_currency":"(без валута)","date":"Дата","time":"Time","no_budget":"(без бюджет)","destination_account":"Приходна сметка","source_account":"Разходна сметка","single_split":"Раздел","create_new_transaction":"Create a new transaction","balance":"Салдо","transaction_journal_extra":"Extra information","transaction_journal_meta":"Мета информация","basic_journal_information":"Basic transaction information","bills_to_pay":"Сметки за плащане","left_to_spend":"Останали за харчене","attachments":"Прикачени файлове","net_worth":"Нетна стойност","bill":"Сметка","no_bill":"(няма сметка)","tags":"Етикети","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(без касичка)","paid":"Платени","notes":"Бележки","yourAccounts":"Вашите сметки","go_to_asset_accounts":"Вижте активите си","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":"Промени","delete":"Изтрий","reconcile_this_account":"Съгласувай тази сметка"},"list":{"piggy_bank":"Касичка","percentage":"%","amount":"Сума","name":"Име","role":"Привилегии","iban":"IBAN","currentBalance":"Текущ баланс","next_expected_match":"Следващo очакванo съвпадение"},"config":{"html_language":"bg"},"form":{"foreign_amount":"Сума във валута","interest_date":"Падеж на лихва","book_date":"Дата на осчетоводяване","process_date":"Дата на обработка","due_date":"Дата на падеж","payment_date":"Дата на плащане","invoice_date":"Дата на фактура"}}')},6407:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Převod","Withdrawal":"Výběr","Deposit":"Vklad","date_and_time":"Datum a čas","no_currency":"(žádná měna)","date":"Datum","time":"Čas","no_budget":"(žádný rozpočet)","destination_account":"Cílový účet","source_account":"Zdrojový účet","single_split":"Rozdělit","create_new_transaction":"Vytvořit novou transakci","balance":"Zůstatek","transaction_journal_extra":"Více informací","transaction_journal_meta":"Meta informace","basic_journal_information":"Basic transaction information","bills_to_pay":"Faktury k zaplacení","left_to_spend":"Zbývá k utracení","attachments":"Přílohy","net_worth":"Čisté jmění","bill":"Účet","no_bill":"(no bill)","tags":"Štítky","internal_reference":"Interní odkaz","external_url":"Externí URL adresa","no_piggy_bank":"(žádná pokladnička)","paid":"Zaplaceno","notes":"Poznámky","yourAccounts":"Vaše účty","go_to_asset_accounts":"Zobrazit účty s aktivy","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","delete":"Odstranit","reconcile_this_account":"Vyúčtovat tento účet"},"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","book_date":"Datum rezervace","process_date":"Datum zpracování","due_date":"Datum splatnosti","payment_date":"Datum zaplacení","invoice_date":"Datum vystavení"}}')},4726:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Umbuchung","Withdrawal":"Ausgabe","Deposit":"Einnahme","date_and_time":"Datum und Uhrzeit","no_currency":"(ohne Währung)","date":"Datum","time":"Uhrzeit","no_budget":"(kein Budget)","destination_account":"Zielkonto","source_account":"Quellkonto","single_split":"Teil","create_new_transaction":"Neue Buchung erstellen","balance":"Kontostand","transaction_journal_extra":"Zusätzliche Informationen","transaction_journal_meta":"Metainformationen","basic_journal_information":"Allgemeine Buchungsinformationen","bills_to_pay":"Unbezahlte Rechnungen","left_to_spend":"Verbleibend zum Ausgeben","attachments":"Anhänge","net_worth":"Eigenkapital","bill":"Rechnung","no_bill":"(keine Belege)","tags":"Schlagwörter","internal_reference":"Interner Verweis","external_url":"Externe URL","no_piggy_bank":"(kein Sparschwein)","paid":"Bezahlt","notes":"Notizen","yourAccounts":"Deine Konten","go_to_asset_accounts":"Bestandskonten anzeigen","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","delete":"Löschen","reconcile_this_account":"Dieses Konto abgleichen"},"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","book_date":"Buchungsdatum","process_date":"Bearbeitungsdatum","due_date":"Fälligkeitstermin","payment_date":"Zahlungsdatum","invoice_date":"Rechnungsdatum"}}')},3636:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Μεταφορά","Withdrawal":"Ανάληψη","Deposit":"Κατάθεση","date_and_time":"Ημερομηνία και ώρα","no_currency":"(χωρίς νόμισμα)","date":"Ημερομηνία","time":"Ώρα","no_budget":"(χωρίς προϋπολογισμό)","destination_account":"Λογαριασμός προορισμού","source_account":"Λογαριασμός προέλευσης","single_split":"Διαχωρισμός","create_new_transaction":"Δημιουργία μιας νέας συναλλαγής","balance":"Ισοζύγιο","transaction_journal_extra":"Περισσότερες πληροφορίες","transaction_journal_meta":"Πληροφορίες μεταδεδομένων","basic_journal_information":"Βασικές πληροφορίες συναλλαγής","bills_to_pay":"Πάγια έξοδα προς πληρωμή","left_to_spend":"Διαθέσιμα προϋπολογισμών","attachments":"Συνημμένα","net_worth":"Καθαρή αξία","bill":"Πάγιο έξοδο","no_bill":"(χωρίς πάγιο έξοδο)","tags":"Ετικέτες","internal_reference":"Εσωτερική αναφορά","external_url":"Εξωτερικό URL","no_piggy_bank":"(χωρίς κουμπαρά)","paid":"Πληρωμένο","notes":"Σημειώσεις","yourAccounts":"Οι λογαριασμοί σας","go_to_asset_accounts":"Δείτε τους λογαριασμούς κεφαλαίου σας","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":"Επεξεργασία","delete":"Διαγραφή","reconcile_this_account":"Τακτοποίηση αυτού του λογαριασμού"},"list":{"piggy_bank":"Κουμπαράς","percentage":"pct.","amount":"Ποσό","name":"Όνομα","role":"Ρόλος","iban":"IBAN","currentBalance":"Τρέχον υπόλοιπο","next_expected_match":"Επόμενη αναμενόμενη αντιστοίχιση"},"config":{"html_language":"el"},"form":{"foreign_amount":"Ποσό σε ξένο νόμισμα","interest_date":"Ημερομηνία τοκισμού","book_date":"Ημερομηνία εγγραφής","process_date":"Ημερομηνία επεξεργασίας","due_date":"Ημερομηνία προθεσμίας","payment_date":"Ημερομηνία πληρωμής","invoice_date":"Ημερομηνία τιμολόγησης"}}')},6318:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Withdrawal","Deposit":"Deposit","date_and_time":"Date and time","no_currency":"(no currency)","date":"Date","time":"Time","no_budget":"(no budget)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Balance","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta information","basic_journal_information":"Basic transaction information","bills_to_pay":"Bills to pay","left_to_spend":"Left to spend","attachments":"Attachments","net_worth":"Net worth","bill":"Bill","no_bill":"(no bill)","tags":"Tags","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Paid","notes":"Notes","yourAccounts":"Your accounts","go_to_asset_accounts":"View your asset accounts","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","delete":"Delete","reconcile_this_account":"Reconcile this account"},"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","book_date":"Book date","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},3340:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Withdrawal","Deposit":"Deposit","date_and_time":"Date and time","no_currency":"(no currency)","date":"Date","time":"Time","no_budget":"(no budget)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Balance","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta information","basic_journal_information":"Basic transaction information","bills_to_pay":"Bills to pay","left_to_spend":"Left to spend","attachments":"Attachments","net_worth":"Net worth","bill":"Bill","no_bill":"(no bill)","tags":"Tags","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Paid","notes":"Notes","yourAccounts":"Your accounts","go_to_asset_accounts":"View your asset accounts","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","delete":"Delete","reconcile_this_account":"Reconcile this account"},"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","book_date":"Book date","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},5394:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transferencia","Withdrawal":"Retiro","Deposit":"Depósito","date_and_time":"Fecha y hora","no_currency":"(sin moneda)","date":"Fecha","time":"Hora","no_budget":"(sin presupuesto)","destination_account":"Cuenta destino","source_account":"Cuenta origen","single_split":"División","create_new_transaction":"Crear una nueva transacción","balance":"Balance","transaction_journal_extra":"Información adicional","transaction_journal_meta":"Información Meta","basic_journal_information":"Información básica de transacción","bills_to_pay":"Facturas por pagar","left_to_spend":"Disponible para gastar","attachments":"Archivos adjuntos","net_worth":"Valor Neto","bill":"Factura","no_bill":"(sin factura)","tags":"Etiquetas","internal_reference":"Referencia interna","external_url":"URL externa","no_piggy_bank":"(sin hucha)","paid":"Pagado","notes":"Notas","yourAccounts":"Tus cuentas","go_to_asset_accounts":"Ver tus cuentas de activos","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","delete":"Eliminar","reconcile_this_account":"Reconciliar esta cuenta"},"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","book_date":"Fecha de registro","process_date":"Fecha de procesamiento","due_date":"Fecha de vencimiento","payment_date":"Fecha de pago","invoice_date":"Fecha de la factura"}}')},7868:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Siirto","Withdrawal":"Nosto","Deposit":"Talletus","date_and_time":"Date and time","no_currency":"(ei valuuttaa)","date":"Päivämäärä","time":"Time","no_budget":"(ei budjettia)","destination_account":"Kohdetili","source_account":"Lähdetili","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metatiedot","basic_journal_information":"Basic transaction information","bills_to_pay":"Laskuja maksettavana","left_to_spend":"Käytettävissä","attachments":"Liitteet","net_worth":"Varallisuus","bill":"Lasku","no_bill":"(no bill)","tags":"Tägit","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(ei säästöpossu)","paid":"Maksettu","notes":"Muistiinpanot","yourAccounts":"Omat tilisi","go_to_asset_accounts":"Tarkastele omaisuustilejäsi","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","delete":"Poista","reconcile_this_account":"Täsmäytä tämä tili"},"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ä","book_date":"Kirjauspäivä","process_date":"Käsittelypäivä","due_date":"Eräpäivä","payment_date":"Maksupäivä","invoice_date":"Laskun päivämäärä"}}')},2551:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfert","Withdrawal":"Dépense","Deposit":"Dépôt","date_and_time":"Date et heure","no_currency":"(pas de devise)","date":"Date","time":"Heure","no_budget":"(pas de budget)","destination_account":"Compte de destination","source_account":"Compte source","single_split":"Ventilation","create_new_transaction":"Créer une nouvelle opération","balance":"Solde","transaction_journal_extra":"Informations supplémentaires","transaction_journal_meta":"Méta informations","basic_journal_information":"Informations de base sur l\'opération","bills_to_pay":"Factures à payer","left_to_spend":"Reste à dépenser","attachments":"Pièces jointes","net_worth":"Avoir net","bill":"Facture","no_bill":"(aucune facture)","tags":"Tags","internal_reference":"Référence interne","external_url":"URL externe","no_piggy_bank":"(aucune tirelire)","paid":"Payé","notes":"Notes","yourAccounts":"Vos comptes","go_to_asset_accounts":"Afficher vos comptes d\'actifs","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","delete":"Supprimer","reconcile_this_account":"Rapprocher ce compte"},"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)","book_date":"Date de réservation","process_date":"Date de traitement","due_date":"Échéance","payment_date":"Date de paiement","invoice_date":"Date de facturation"}}')},995:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Átvezetés","Withdrawal":"Költség","Deposit":"Bevétel","date_and_time":"Date and time","no_currency":"(nincs pénznem)","date":"Dátum","time":"Time","no_budget":"(nincs költségkeret)","destination_account":"Célszámla","source_account":"Forrás számla","single_split":"Felosztás","create_new_transaction":"Create a new transaction","balance":"Egyenleg","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta-információ","basic_journal_information":"Basic transaction information","bills_to_pay":"Fizetendő számlák","left_to_spend":"Elkölthető","attachments":"Mellékletek","net_worth":"Nettó érték","bill":"Számla","no_bill":"(no bill)","tags":"Címkék","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(nincs malacpersely)","paid":"Kifizetve","notes":"Megjegyzések","yourAccounts":"Bankszámlák","go_to_asset_accounts":"Eszközszámlák megtekintése","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","delete":"Törlés","reconcile_this_account":"Számla egyeztetése"},"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","book_date":"Könyvelés dátuma","process_date":"Feldolgozás dátuma","due_date":"Lejárati időpont","payment_date":"Fizetés dátuma","invoice_date":"Számla dátuma"}}')},9112:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Trasferimento","Withdrawal":"Prelievo","Deposit":"Entrata","date_and_time":"Data e ora","no_currency":"(nessuna valuta)","date":"Data","time":"Ora","no_budget":"(nessun budget)","destination_account":"Conto destinazione","source_account":"Conto di origine","single_split":"Divisione","create_new_transaction":"Crea una nuova transazione","balance":"Saldo","transaction_journal_extra":"Informazioni aggiuntive","transaction_journal_meta":"Meta informazioni","basic_journal_information":"Informazioni di base sulla transazione","bills_to_pay":"Bollette da pagare","left_to_spend":"Altro da spendere","attachments":"Allegati","net_worth":"Patrimonio","bill":"Bolletta","no_bill":"(nessuna bolletta)","tags":"Etichette","internal_reference":"Riferimento interno","external_url":"URL esterno","no_piggy_bank":"(nessun salvadanaio)","paid":"Pagati","notes":"Note","yourAccounts":"I tuoi conti","go_to_asset_accounts":"Visualizza i tuoi conti attività","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","delete":"Elimina","reconcile_this_account":"Riconcilia questo conto"},"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","book_date":"Data contabile","process_date":"Data elaborazione","due_date":"Data scadenza","payment_date":"Data pagamento","invoice_date":"Data fatturazione"}}')},9085:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Overføring","Withdrawal":"Uttak","Deposit":"Innskudd","date_and_time":"Date and time","no_currency":"(ingen valuta)","date":"Dato","time":"Time","no_budget":"(ingen budsjett)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metainformasjon","basic_journal_information":"Basic transaction information","bills_to_pay":"Regninger å betale","left_to_spend":"Igjen å bruke","attachments":"Vedlegg","net_worth":"Formue","bill":"Regning","no_bill":"(no bill)","tags":"Tagger","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Betalt","notes":"Notater","yourAccounts":"Dine kontoer","go_to_asset_accounts":"Se aktivakontoene dine","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","delete":"Slett","reconcile_this_account":"Avstem denne kontoen"},"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","book_date":"Bokføringsdato","process_date":"Prosesseringsdato","due_date":"Forfallsdato","payment_date":"Betalingsdato","invoice_date":"Fakturadato"}}')},4671:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Overschrijving","Withdrawal":"Uitgave","Deposit":"Inkomsten","date_and_time":"Datum en tijd","no_currency":"(geen valuta)","date":"Datum","time":"Tijd","no_budget":"(geen budget)","destination_account":"Doelrekening","source_account":"Bronrekening","single_split":"Split","create_new_transaction":"Maak een nieuwe transactie","balance":"Saldo","transaction_journal_extra":"Extra informatie","transaction_journal_meta":"Metainformatie","basic_journal_information":"Standaard transactieinformatie","bills_to_pay":"Openstaande contracten","left_to_spend":"Over om uit te geven","attachments":"Bijlagen","net_worth":"Kapitaal","bill":"Contract","no_bill":"(geen contract)","tags":"Tags","internal_reference":"Interne referentie","external_url":"Externe URL","no_piggy_bank":"(geen spaarpotje)","paid":"Betaald","notes":"Notities","yourAccounts":"Je betaalrekeningen","go_to_asset_accounts":"Bekijk je betaalrekeningen","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","delete":"Verwijder","reconcile_this_account":"Stem deze rekening af"},"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","book_date":"Boekdatum","process_date":"Verwerkingsdatum","due_date":"Vervaldatum","payment_date":"Betalingsdatum","invoice_date":"Factuurdatum"}}')},6238:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Wypłata","Deposit":"Wpłata","date_and_time":"Data i czas","no_currency":"(brak waluty)","date":"Data","time":"Czas","no_budget":"(brak budżetu)","destination_account":"Konto docelowe","source_account":"Konto źródłowe","single_split":"Podział","create_new_transaction":"Stwórz nową transakcję","balance":"Saldo","transaction_journal_extra":"Dodatkowe informacje","transaction_journal_meta":"Meta informacje","basic_journal_information":"Podstawowe informacje o transakcji","bills_to_pay":"Rachunki do zapłacenia","left_to_spend":"Pozostało do wydania","attachments":"Załączniki","net_worth":"Wartość netto","bill":"Rachunek","no_bill":"(brak rachunku)","tags":"Tagi","internal_reference":"Wewnętrzny nr referencyjny","external_url":"Zewnętrzny adres URL","no_piggy_bank":"(brak skarbonki)","paid":"Zapłacone","notes":"Notatki","yourAccounts":"Twoje konta","go_to_asset_accounts":"Zobacz swoje konta aktywów","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","delete":"Usuń","reconcile_this_account":"Uzgodnij to konto"},"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","book_date":"Data księgowania","process_date":"Data przetworzenia","due_date":"Termin realizacji","payment_date":"Data płatności","invoice_date":"Data faktury"}}')},6586:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transferência","Withdrawal":"Retirada","Deposit":"Depósito","date_and_time":"Data e hora","no_currency":"(sem moeda)","date":"Data","time":"Horário","no_budget":"(sem orçamento)","destination_account":"Conta destino","source_account":"Conta origem","single_split":"Divisão","create_new_transaction":"Criar nova transação","balance":"Saldo","transaction_journal_extra":"Informação extra","transaction_journal_meta":"Meta-informação","basic_journal_information":"Informações básicas de transação","bills_to_pay":"Contas a pagar","left_to_spend":"Restante para gastar","attachments":"Anexos","net_worth":"Valor Líquido","bill":"Fatura","no_bill":"(sem conta)","tags":"Tags","internal_reference":"Referência interna","external_url":"URL externa","no_piggy_bank":"(nenhum cofrinho)","paid":"Pago","notes":"Notas","yourAccounts":"Suas contas","go_to_asset_accounts":"Veja suas contas ativas","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","delete":"Apagar","reconcile_this_account":"Concilie esta conta"},"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","book_date":"Data reserva","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da Fatura"}}')},8664:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transferência","Withdrawal":"Levantamento","Deposit":"Depósito","date_and_time":"Data e hora","no_currency":"(sem moeda)","date":"Data","time":"Hora","no_budget":"(sem 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","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":"Include?","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","delete":"Apagar","reconcile_this_account":"Reconciliar esta conta"},"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","book_date":"Data de registo","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da factura"}}')},1102:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Retragere","Deposit":"Depozit","date_and_time":"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","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ă","delete":"Șterge","reconcile_this_account":"Reconciliați acest cont"},"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","book_date":"Rezervă dată","process_date":"Data procesării","due_date":"Data scadentă","payment_date":"Data de plată","invoice_date":"Data facturii"}}')},753:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Перевод","Withdrawal":"Расход","Deposit":"Доход","date_and_time":"Дата и время","no_currency":"(нет валюты)","date":"Дата","time":"Время","no_budget":"(вне бюджета)","destination_account":"Счёт назначения","source_account":"Счёт-источник","single_split":"Разделённая транзакция","create_new_transaction":"Создать новую транзакцию","balance":"Бaлaнc","transaction_journal_extra":"Дополнительные сведения","transaction_journal_meta":"Дополнительная информация","basic_journal_information":"Основная информация о транзакции","bills_to_pay":"Счета к оплате","left_to_spend":"Осталось потратить","attachments":"Вложения","net_worth":"Мои сбережения","bill":"Счёт к оплате","no_bill":"(нет счёта на оплату)","tags":"Метки","internal_reference":"Внутренняя ссылка","external_url":"Внешний URL-адрес","no_piggy_bank":"(нет копилки)","paid":"Оплачено","notes":"Заметки","yourAccounts":"Ваши счета","go_to_asset_accounts":"Просмотр ваших основных счетов","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":"Изменить","delete":"Удалить","reconcile_this_account":"Произвести сверку данного счёта"},"list":{"piggy_bank":"Копилка","percentage":"процентов","amount":"Сумма","name":"Имя","role":"Роль","iban":"IBAN","currentBalance":"Текущий баланс","next_expected_match":"Следующий ожидаемый результат"},"config":{"html_language":"ru"},"form":{"foreign_amount":"Сумма в иностранной валюте","interest_date":"Дата начисления процентов","book_date":"Дата бронирования","process_date":"Дата обработки","due_date":"Срок оплаты","payment_date":"Дата платежа","invoice_date":"Дата выставления счёта"}}')},7049:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Prevod","Withdrawal":"Výber","Deposit":"Vklad","date_and_time":"Dátum a čas","no_currency":"(žiadna mena)","date":"Dátum","time":"Čas","no_budget":"(žiadny rozpočet)","destination_account":"Cieľový účet","source_account":"Zdrojový účet","single_split":"Rozúčtovať","create_new_transaction":"Vytvoriť novú transakciu","balance":"Zostatok","transaction_journal_extra":"Ďalšie informácie","transaction_journal_meta":"Meta informácie","basic_journal_information":"Základné Informácie o transakcii","bills_to_pay":"Účty na úhradu","left_to_spend":"Zostáva k útrate","attachments":"Prílohy","net_worth":"Čisté imanie","bill":"Účet","no_bill":"(žiadny účet)","tags":"Štítky","internal_reference":"Interná referencia","external_url":"Externá URL","no_piggy_bank":"(žiadna pokladnička)","paid":"Uhradené","notes":"Poznámky","yourAccounts":"Vaše účty","go_to_asset_accounts":"Zobraziť účty aktív","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ť","delete":"Odstrániť","reconcile_this_account":"Vyúčtovat tento účet"},"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","book_date":"Dátum rezervácie","process_date":"Dátum spracovania","due_date":"Dátum splatnosti","payment_date":"Dátum úhrady","invoice_date":"Dátum vystavenia"}}')},7921:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Överföring","Withdrawal":"Uttag","Deposit":"Insättning","date_and_time":"Datum och tid","no_currency":"(ingen valuta)","date":"Datum","time":"Tid","no_budget":"(ingen budget)","destination_account":"Till konto","source_account":"Källkonto","single_split":"Dela","create_new_transaction":"Skapa en ny transaktion","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metadata","basic_journal_information":"Grundläggande transaktionsinformation","bills_to_pay":"Notor att betala","left_to_spend":"Återstår att spendera","attachments":"Bilagor","net_worth":"Nettoförmögenhet","bill":"Nota","no_bill":"(ingen räkning)","tags":"Etiketter","internal_reference":"Intern referens","external_url":"Extern URL","no_piggy_bank":"(ingen spargris)","paid":"Betald","notes":"Noteringar","yourAccounts":"Dina konton","go_to_asset_accounts":"Visa dina tillgångskonton","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":"Include?","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","delete":"Ta bort","reconcile_this_account":"Stäm av detta konto"},"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","book_date":"Bokföringsdatum","process_date":"Behandlingsdatum","due_date":"Förfallodatum","payment_date":"Betalningsdatum","invoice_date":"Fakturadatum"}}')},1497:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Chuyển khoản","Withdrawal":"Rút tiền","Deposit":"Tiền gửi","date_and_time":"Date and time","no_currency":"(không có tiền tệ)","date":"Ngày","time":"Time","no_budget":"(không có ngân sách)","destination_account":"Tài khoản đích","source_account":"Nguồn tài khoản","single_split":"Chia ra","create_new_transaction":"Tạo giao dịch mới","balance":"Tiền còn lại","transaction_journal_extra":"Extra information","transaction_journal_meta":"Thông tin tổng hợp","basic_journal_information":"Basic transaction information","bills_to_pay":"Hóa đơn phải trả","left_to_spend":"Còn lại để chi tiêu","attachments":"Tệp đính kèm","net_worth":"Tài sản thực","bill":"Hóa đơn","no_bill":"(no bill)","tags":"Nhãn","internal_reference":"Tài liệu tham khảo nội bộ","external_url":"URL bên ngoài","no_piggy_bank":"(chưa có heo đất)","paid":"Đã thanh toán","notes":"Ghi chú","yourAccounts":"Tài khoản của bạn","go_to_asset_accounts":"Xem tài khoản của bạn","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","delete":"Xóa","reconcile_this_account":"Điều chỉnh tài khoản này"},"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","book_date":"Ngày đặt sách","process_date":"Ngày xử lý","due_date":"Ngày đáo hạn","payment_date":"Ngày thanh toán","invoice_date":"Ngày hóa đơn"}}')},4556:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"转账","Withdrawal":"提款","Deposit":"收入","date_and_time":"日期和时间","no_currency":"(没有货币)","date":"日期","time":"时间","no_budget":"(无预算)","destination_account":"目标账户","source_account":"来源账户","single_split":"拆分","create_new_transaction":"创建新交易","balance":"余额","transaction_journal_extra":"额外信息","transaction_journal_meta":"元信息","basic_journal_information":"基础交易信息","bills_to_pay":"待付账单","left_to_spend":"剩余支出","attachments":"附件","net_worth":"净资产","bill":"账单","no_bill":"(无账单)","tags":"标签","internal_reference":"内部引用","external_url":"外部链接","no_piggy_bank":"(无存钱罐)","paid":"已付款","notes":"备注","yourAccounts":"您的账户","go_to_asset_accounts":"查看您的资产账户","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":"编辑","delete":"删除","reconcile_this_account":"对账此账户"},"list":{"piggy_bank":"存钱罐","percentage":"%","amount":"金额","name":"名称","role":"角色","iban":"国际银行账户号码(IBAN)","currentBalance":"目前余额","next_expected_match":"预期下次支付"},"config":{"html_language":"zh-cn"},"form":{"foreign_amount":"外币金额","interest_date":"利息日期","book_date":"登记日期","process_date":"处理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"发票日期"}}')},1715:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"轉帳","Withdrawal":"提款","Deposit":"存款","date_and_time":"Date and time","no_currency":"(沒有貨幣)","date":"日期","time":"Time","no_budget":"(無預算)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"餘額","transaction_journal_extra":"Extra information","transaction_journal_meta":"後設資訊","basic_journal_information":"Basic transaction information","bills_to_pay":"待付帳單","left_to_spend":"剩餘可花費","attachments":"附加檔案","net_worth":"淨值","bill":"帳單","no_bill":"(no bill)","tags":"標籤","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"已付款","notes":"備註","yourAccounts":"您的帳戶","go_to_asset_accounts":"檢視您的資產帳戶","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":"編輯","delete":"刪除","reconcile_this_account":"對帳此帳戶"},"list":{"piggy_bank":"小豬撲滿","percentage":"pct.","amount":"金額","name":"名稱","role":"角色","iban":"國際銀行帳戶號碼 (IBAN)","currentBalance":"目前餘額","next_expected_match":"下一個預期的配對"},"config":{"html_language":"zh-tw"},"form":{"foreign_amount":"外幣金額","interest_date":"利率日期","book_date":"登記日期","process_date":"處理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"發票日期"}}')}},t=>{"use strict";t.O(0,[228],(()=>{return e=4640,t(t.s=e);var e}));t.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 5f2ae48b9f..eb4140bf69 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/shared/transactions.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?872f","webpack:///./src/pages/transactions/edit.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?f826","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?0ae7","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?a67c","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?a3d9","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?653e","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?e9f4","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?bcbd","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?82eb","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?43d9","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","getDefaultErrors","description","amount","source","destination","currency","foreign_currency","foreign_amount","date","custom_dates","budget","category","bill","tags","piggy_bank","internal_reference","external_url","notes","location","getDefaultTransaction","transaction_journal_id","source_account_id","source_account_name","source_account_type","source_account_currency_id","source_account_currency_code","source_account_currency_symbol","destination_account_id","destination_account_name","destination_account_type","destination_account_currency_id","destination_account_currency_code","destination_account_currency_symbol","source_account","id","name","name_with_balance","type","currency_id","currency_name","currency_code","currency_decimal_places","destination_account","foreign_currency_id","budget_id","bill_id","piggy_bank_id","interest_date","book_date","process_date","due_date","payment_date","invoice_date","external_id","links","attachments","zoom_level","longitude","latitude","errors","toW3CString","year","getFullYear","month","getMonth","day","getDate","hours","getHours","minutes","getMinutes","seconds","getSeconds","offset","getTimezoneOffset","offsetHours","Math","abs","floor","offsetMinutes","offsetSign","lodashClonedeep","namespaced","state","transactionType","groupTitle","transactions","customDateFields","defaultTransaction","defaultErrors","getters","accountToTransaction","sourceAllowedTypes","destinationAllowedTypes","allowedOpposingTypes","actions","mutations","addTransaction","newTransaction","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","getDay","setDate","lastday","quarter","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","updateCurrencyPreference","JSON","parse","currencyResponse","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","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","parseTransaction","array","charAt","toUpperCase","slice","source_type","destination_type","source_id","source_name","destination_id","destination_name","category_name","substr","external_uri","journalId","parseLink","opposingId","link","outward_id","linkDirection","promises","Promise","resolve","link_type_id","all","journals","journal","linkTypeId","direction","transaction_group_id","responses","uploadedAttachment","log","storeLocation","zoomLevel","lng","lat","storeAccountValue","storeDate","storeTime","storeField","removeTransaction","storeGroupTitle","selectedAttachments","submitTransaction","submission","shouldSubmit","basicFields","ii","currentTransaction","fieldName","originalTransaction","currentTag","text","shouldLinks","shouldUpload","theDate","setMinutes","setSeconds","dateStr","Object","keys","transactionCount","submitUpdate","submitTransactionLinks","compareLinks","compare","put","url","parseErrors","$t","message","key","transactionIndex","split","deleteOriginalLinks","transaction","newLinks","originalLinks","inward_id","linkObject","currentLink","total","post","href","_vm","_h","$createElement","_c","_self","attrs","_v","staticClass","_l","on","$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","___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","preventDefault","$$selectedVal","prototype","filter","call","options","o","selected","map","_value","multiple","Number","String","default","accountTypes","selectedAccount","account","accountName","selectedAccountTrigger","createInitialSet","types","join","clearAccount","lookupAccount","accountTrigger","opposingAccounts","accountKey","visible","scopedSlots","_u","fn","htmlText","switchAccounts","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","event","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,OAAOI,MAAMC,SAASC,QAAQC,OAAO,gBAAkBC,EAAMI,QAE7DC,QAAQC,MAAM,yEAIlB,IAAIC,EAAcN,SAASC,KAAKC,cAAc,uBAG1CK,aAAaC,OADbF,EACsBA,EAAYH,QAEZ,QAI1BT,EAAQ,MACRA,EAAQ,MAERA,EAAQ,MACRA,EAAQ,MAIRH,OAAOkB,QAAUC,IACjBnB,OAAOoB,IAAMA,EACbC,QAAQH,SACRG,QAAQD,GACRpB,OAAOqB,IAAMA,K,4BC3CN,SAASC,IACZ,MAAO,CACHC,YAAa,GACbC,OAAQ,GAC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,EAAOC,QAAUxM,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 * 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}","/*\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 <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 </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 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 for (let ii in basicFields) {\n if (basicFields.hasOwnProperty(ii) && /^0$|^[1-9]\\d*$/.test(ii) && ii <= 4294967294) {\n let fieldName = basicFields[ii];\n if (currentTransaction[fieldName] !== originalTransaction[fieldName]) {\n // console.log('Index ' + i + ': Field ' + fieldName + ' updated (\"' + originalTransaction[fieldName] + '\" > \"' + currentTransaction[fieldName] + '\")');\n // console.log(originalTransaction[fieldName]);\n // console.log(currentTransaction[fieldName]);\n diff[fieldName] = 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 if (Object.keys(diff).length === 0 && transactionCount > 1) {\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;\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(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=17cb1c2b&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 \"17cb1c2b\",\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('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)}\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","// 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:{\"allowed-opposing-types\":_vm.allowedOpposingTypes,\"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:{\"allowed-opposing-types\":_vm.allowedOpposingTypes,\"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 <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 </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=7d040c44&\"\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(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.timeStr),expression:\"timeStr\"}],ref:\"time\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"disabled\":_vm.index > 0,\"placeholder\":_vm.timeStr,\"title\":_vm.$t('firefly.time'),\"autocomplete\":\"off\",\"name\":\"time[]\",\"type\":\"time\"},domProps:{\"value\":(_vm.timeStr)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.timeStr=$event.target.value}}})]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e(),_vm._v(\" \"),('' !== _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 v-on:submit.prevent\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=478aaf7f&\"\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:{\"submit\":function($event){$event.preventDefault();},\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.budget=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((this.budgetList),function(budget){return _c('option',{attrs:{\"label\":budget.name},domProps:{\"value\":budget.id}},[_vm._v(_vm._s(budget.name))])}),0)]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionAccount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div v-if=\"visible\" class=\"text-xs d-none d-lg-block d-xl-block\">\n <span v-if=\"0 === this.index\">{{ $t('firefly.' + this.direction + '_account') }}</span>\n <span v-if=\"this.index > 0\" class=\"text-warning\">{{ $t('firefly.first_split_overrules_' + this.direction) }}</span>\n </div>\n <div v-if=\"!visible\" class=\"text-xs d-none d-lg-block d-xl-block\">\n \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 @hit=\"selectedAccount = $event\"\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 allowedOpposingTypes: {\n type: Object,\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 this.selectedAccountTrigger = true;\n this.accountName = this.account.name ?? '';\n this.createInitialSet();\n },\n methods: {\n getACURL: function (types, query) {\n return './api/v1/autocomplete/accounts?types=' + types.join(',') + '&query=' + query;\n },\n clearAccount: function () {\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('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 let types = this.sourceAllowedTypes;\n if ('destination' === this.direction) {\n types = this.destinationAllowedTypes;\n }\n // console.log(this.direction + ' initial set searches for');\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 // allowedOpposingTypes: function () {\n // console.log(this.direction + ' account noticed change in allowedOpposingTypes');\n // },\n sourceAllowedTypes: function (value) {\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(this.direction + ' account noticed change in destinationAllowedTypes');\n // console.log(value);\n this.createInitialSet();\n },\n selectedAccount: function (value) {\n this.selectedAccountTrigger = true;\n this.account = value;\n\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 this.accountName = this.account.name_with_balance;\n },\n accountName: function (value) {\n if (false === this.selectedAccountTrigger) {\n // console.log('Save to change name!');\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.accountTrigger = false;\n this.account = {name: value, type: null, id: null, currency_id: null, currency_code: null, currency_symbol: null};\n }\n this.selectedAccountTrigger = false;\n },\n account: function (value) {\n let opposingAccounts = [];\n let type = value.type ? value.type : 'no_type';\n if ('undefined' !== typeof this.allowedOpposingTypes[this.direction]) {\n if ('undefined' !== typeof this.allowedOpposingTypes[this.direction][type]) {\n opposingAccounts = this.allowedOpposingTypes[this.direction][type];\n }\n }\n\n if ('source' === this.direction) {\n this.$emit('set-dest-types', opposingAccounts);\n }\n if ('destination' === this.direction) {\n this.$emit('set-src-types', opposingAccounts);\n }\n },\n value: function (value) {\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 }\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=44e9f764&\"\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},on:{\"hit\":function($event){_vm.selectedAccount = $event},\"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 <div class=\"btn-group d-flex\">\n <button class=\"btn btn-light\" @click=\"switchAccounts\">↔</button>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"SwitchAccount\",\n props: ['index', 'transactionType'],\n methods: {\n switchAccounts() {\n this.$emit('switch-accounts', this.index);\n }\n }\n}\n</script>\n\n<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=376bca8c&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 \"376bca8c\",\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()]),_vm._v(\" \"),_c('div',{staticClass:\"btn-group d-flex\"},[_c('button',{staticClass:\"btn btn-light\",on:{\"click\":_vm.switchAccounts}},[_vm._v(\"↔\")])])])}\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 >\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=fadf3e90&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 \"fadf3e90\",\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\"},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 v-on:submit.prevent\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=7c0f4f0c&\"\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)},\"submit\":function($event){$event.preventDefault();}}})]):_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 v-on:submit.prevent\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=7c81d840&\"\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:{\"submit\":function($event){$event.preventDefault();},\"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 v-on:submit.prevent\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=f88cfd4e&\"\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:{\"submit\":function($event){$event.preventDefault();},\"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 :allowed-opposing-types=\"allowedOpposingTypes\"\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 :allowed-opposing-types=\"allowedOpposingTypes\"\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 allowedOpposingTypes: {\n type: Object,\n required: false,\n default: {}\n },\n // allow switch?\n allowSwitch: {\n type: Boolean,\n required: false,\n default: true\n }\n\n },\n // watch: {\n // allowedOpposingTypes: function() {\n // console.log('SplitForm noticed change in allowedOpposingTypes');\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=5433c0d4&\"\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/shared/transactions.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?1e71","webpack:///./src/pages/transactions/edit.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?f826","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?0ae7","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?a67c","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?a3d9","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?653e","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?e9f4","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?bcbd","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?82eb","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?43d9","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","getDefaultErrors","description","amount","source","destination","currency","foreign_currency","foreign_amount","date","custom_dates","budget","category","bill","tags","piggy_bank","internal_reference","external_url","notes","location","getDefaultTransaction","transaction_journal_id","source_account_id","source_account_name","source_account_type","source_account_currency_id","source_account_currency_code","source_account_currency_symbol","destination_account_id","destination_account_name","destination_account_type","destination_account_currency_id","destination_account_currency_code","destination_account_currency_symbol","source_account","id","name","name_with_balance","type","currency_id","currency_name","currency_code","currency_decimal_places","destination_account","foreign_currency_id","budget_id","bill_id","piggy_bank_id","interest_date","book_date","process_date","due_date","payment_date","invoice_date","external_id","links","attachments","zoom_level","longitude","latitude","errors","toW3CString","year","getFullYear","month","getMonth","day","getDate","hours","getHours","minutes","getMinutes","seconds","getSeconds","offset","getTimezoneOffset","offsetHours","Math","abs","floor","offsetMinutes","offsetSign","lodashClonedeep","namespaced","state","transactionType","groupTitle","transactions","customDateFields","defaultTransaction","defaultErrors","getters","accountToTransaction","sourceAllowedTypes","destinationAllowedTypes","allowedOpposingTypes","actions","mutations","addTransaction","newTransaction","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","getDay","setDate","lastday","quarter","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","updateCurrencyPreference","JSON","parse","currencyResponse","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","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","parseTransaction","array","charAt","toUpperCase","slice","source_type","destination_type","source_id","source_name","destination_id","destination_name","category_name","substr","external_uri","journalId","parseLink","opposingId","link","outward_id","linkDirection","promises","Promise","resolve","link_type_id","all","journals","journal","linkTypeId","direction","transaction_group_id","responses","uploadedAttachment","log","storeLocation","zoomLevel","lng","lat","storeAccountValue","storeDate","storeTime","storeField","removeTransaction","storeGroupTitle","selectedAttachments","submitTransaction","submission","shouldSubmit","basicFields","ii","currentTransaction","fieldName","originalTransaction","submissionFieldName","currentTag","text","shouldLinks","shouldUpload","theDate","setMinutes","setSeconds","dateStr","Object","keys","transactionCount","submitUpdate","submitTransactionLinks","compareLinks","compare","put","url","parseErrors","$t","message","key","transactionIndex","split","deleteOriginalLinks","transaction","newLinks","originalLinks","inward_id","linkObject","currentLink","total","post","href","_vm","_h","$createElement","_c","_self","attrs","_v","staticClass","_l","on","$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","___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","preventDefault","$$selectedVal","prototype","filter","call","options","o","selected","map","_value","multiple","Number","String","default","accountTypes","selectedAccount","account","accountName","selectedAccountTrigger","createInitialSet","types","join","clearAccount","lookupAccount","accountTrigger","opposingAccounts","accountKey","visible","scopedSlots","_u","fn","htmlText","switchAccounts","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","event","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,OAAOI,MAAMC,SAASC,QAAQC,OAAO,gBAAkBC,EAAMI,QAE7DC,QAAQC,MAAM,yEAIlB,IAAIC,EAAcN,SAASC,KAAKC,cAAc,uBAG1CK,aAAaC,OADbF,EACsBA,EAAYH,QAEZ,QAI1BT,EAAQ,MACRA,EAAQ,MAERA,EAAQ,MACRA,EAAQ,MAIRH,OAAOkB,QAAUC,IACjBnB,OAAOoB,IAAMA,EACbC,QAAQH,SACRG,QAAQD,GACRpB,OAAOqB,IAAMA,K,4BC3CN,SAASC,IACZ,MAAO,CACHC,YAAa,GACbC,OAAQ,GACRC,OAAQ,GACRC,YAAa,GACbC,SAAU,GACVC,iBA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I5C,EAAS,MAC7DA,EAAQ0kB,SAAQnY,EAAOC,QAAUxM,EAAQ0kB,SAG/BC,EADH,WACO,WAAY3kB,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 * 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}","/*\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 <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 </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 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 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 if (currentTransaction[fieldName] !== originalTransaction[fieldName]) {\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 // console.log('post: ' + submissionFieldName);\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 if (Object.keys(diff).length === 0 && transactionCount > 1) {\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;\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(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=522ea559&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 \"522ea559\",\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('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)}\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","// 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:{\"allowed-opposing-types\":_vm.allowedOpposingTypes,\"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:{\"allowed-opposing-types\":_vm.allowedOpposingTypes,\"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 <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 </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=7d040c44&\"\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(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.timeStr),expression:\"timeStr\"}],ref:\"time\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"disabled\":_vm.index > 0,\"placeholder\":_vm.timeStr,\"title\":_vm.$t('firefly.time'),\"autocomplete\":\"off\",\"name\":\"time[]\",\"type\":\"time\"},domProps:{\"value\":(_vm.timeStr)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.timeStr=$event.target.value}}})]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e(),_vm._v(\" \"),('' !== _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 v-on:submit.prevent\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=478aaf7f&\"\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:{\"submit\":function($event){$event.preventDefault();},\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.budget=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((this.budgetList),function(budget){return _c('option',{attrs:{\"label\":budget.name},domProps:{\"value\":budget.id}},[_vm._v(_vm._s(budget.name))])}),0)]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionAccount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div v-if=\"visible\" class=\"text-xs d-none d-lg-block d-xl-block\">\n <span v-if=\"0 === this.index\">{{ $t('firefly.' + this.direction + '_account') }}</span>\n <span v-if=\"this.index > 0\" class=\"text-warning\">{{ $t('firefly.first_split_overrules_' + this.direction) }}</span>\n </div>\n <div v-if=\"!visible\" class=\"text-xs d-none d-lg-block d-xl-block\">\n \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 @hit=\"selectedAccount = $event\"\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 allowedOpposingTypes: {\n type: Object,\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 this.selectedAccountTrigger = true;\n this.accountName = this.account.name ?? '';\n this.createInitialSet();\n },\n methods: {\n getACURL: function (types, query) {\n return './api/v1/autocomplete/accounts?types=' + types.join(',') + '&query=' + query;\n },\n clearAccount: function () {\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('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 let types = this.sourceAllowedTypes;\n if ('destination' === this.direction) {\n types = this.destinationAllowedTypes;\n }\n // console.log(this.direction + ' initial set searches for');\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 // allowedOpposingTypes: function () {\n // console.log(this.direction + ' account noticed change in allowedOpposingTypes');\n // },\n sourceAllowedTypes: function (value) {\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(this.direction + ' account noticed change in destinationAllowedTypes');\n // console.log(value);\n this.createInitialSet();\n },\n selectedAccount: function (value) {\n this.selectedAccountTrigger = true;\n this.account = value;\n\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 this.accountName = this.account.name_with_balance;\n },\n accountName: function (value) {\n if (false === this.selectedAccountTrigger) {\n // console.log('Save to change name!');\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.accountTrigger = false;\n this.account = {name: value, type: null, id: null, currency_id: null, currency_code: null, currency_symbol: null};\n }\n this.selectedAccountTrigger = false;\n },\n account: function (value) {\n let opposingAccounts = [];\n let type = value.type ? value.type : 'no_type';\n if ('undefined' !== typeof this.allowedOpposingTypes[this.direction]) {\n if ('undefined' !== typeof this.allowedOpposingTypes[this.direction][type]) {\n opposingAccounts = this.allowedOpposingTypes[this.direction][type];\n }\n }\n\n if ('source' === this.direction) {\n this.$emit('set-dest-types', opposingAccounts);\n }\n if ('destination' === this.direction) {\n this.$emit('set-src-types', opposingAccounts);\n }\n },\n value: function (value) {\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 }\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=44e9f764&\"\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},on:{\"hit\":function($event){_vm.selectedAccount = $event},\"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 <div class=\"btn-group d-flex\">\n <button class=\"btn btn-light\" @click=\"switchAccounts\">↔</button>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"SwitchAccount\",\n props: ['index', 'transactionType'],\n methods: {\n switchAccounts() {\n this.$emit('switch-accounts', this.index);\n }\n }\n}\n</script>\n\n<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=376bca8c&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 \"376bca8c\",\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()]),_vm._v(\" \"),_c('div',{staticClass:\"btn-group d-flex\"},[_c('button',{staticClass:\"btn btn-light\",on:{\"click\":_vm.switchAccounts}},[_vm._v(\"↔\")])])])}\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 >\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=fadf3e90&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 \"fadf3e90\",\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\"},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 v-on:submit.prevent\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=7c0f4f0c&\"\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)},\"submit\":function($event){$event.preventDefault();}}})]):_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 v-on:submit.prevent\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=7c81d840&\"\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:{\"submit\":function($event){$event.preventDefault();},\"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 v-on:submit.prevent\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=f88cfd4e&\"\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:{\"submit\":function($event){$event.preventDefault();},\"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 :allowed-opposing-types=\"allowedOpposingTypes\"\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 :allowed-opposing-types=\"allowedOpposingTypes\"\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 allowedOpposingTypes: {\n type: Object,\n required: false,\n default: {}\n },\n // allow switch?\n allowSwitch: {\n type: Boolean,\n required: false,\n default: true\n }\n\n },\n // watch: {\n // allowedOpposingTypes: function() {\n // console.log('SplitForm noticed change in allowedOpposingTypes');\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=5433c0d4&\"\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 filediff --git a/resources/views/errors/503.twig b/resources/views/errors/503.twignew file mode 100644index 0000000000..e2e4a96da9--- /dev/null+++ b/resources/views/errors/503.twig@@ -0,0 +1,35 @@+<!DOCTYPE html>+<html>+<head>+ <base href="{{ route('index') }}/">+ <meta charset="utf-8">+ <meta http-equiv="X-UA-Compatible" content="IE=edge">+ <title>Firefly III | Maintenance Mode</title>+ <!-- Tell the browser to be responsive to screen width -->+ <meta name="viewport" content="width=device-width, initial-scale=1">++ <link rel="stylesheet" href="v2/plugins/local-fonts/gf-source.css">+ <link rel="stylesheet" href="v2/css/app.css">++</head>+<body>++<div class="container-fluid">+ <div class="row">+ <div class="col-12">+ <div class="error-page">+ <h2 class="headline text-info">503</h2>++ <div class="error-content">+ <h3><i class="fas fa-robot text-info"></i> {{ trans('errors.maintenance_mode') }}</h3>+ <p>+ {{ trans('errors.check_back') }}+ </p>+ </div>+ </div>+ </div>+ </div>+</div>+</body>+</html>+diff --git a/resources/views/errors/FireflyException.twig b/resources/views/errors/FireflyException.twigindex 5617c4994f..2844d6d9a6 100644--- a/resources/views/errors/FireflyException.twig+++ b/resources/views/errors/FireflyException.twig@@ -4,7 +4,7 @@<base href="{{ route('index') }}/"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge">- <title>AdminLTE 3 | 500 Error</title>+ <title>Firefly III | 500 Error</title><!-- Tell the browser to be responsive to screen width --><meta name="viewport" content="width=device-width, initial-scale=1">