Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix issue in date format.
James Cole3376e1e66354
diff --git a/frontend/src/components/transactions/Create.vue b/frontend/src/components/transactions/Create.vueindex f66f2918dc..7804ae4d70 100644--- a/frontend/src/components/transactions/Create.vue+++ b/frontend/src/components/transactions/Create.vue@@ -117,6 +117,7 @@ import TransactionGroupTitle from "./TransactionGroupTitle";import SplitForm from "./SplitForm";import {mapGetters, mapMutations} from "vuex";+export default {name: "Create",components: {@@ -135,8 +136,9 @@ export default {let type = parts[parts.length - 1];// set a basic date-time string:- this.date = format(new Date, "yyyy-MM-dd'T'00:00");- console.log('Date is set to "' + this.date + '"');++ this.date = (new Date).toISOString().split('T')[0] + 'T00:00';+ //console.log('Date is set to "' + this.date + '"');this.setTransactionType(type[0].toUpperCase() + type.substring(1));this.getExpectedSourceTypes();diff --git a/public/v2/js/transactions/create.js b/public/v2/js/transactions/create.jsindex 5d4a911dd0..cb8111cf56 100755--- a/public/v2/js/transactions/create.js+++ b/public/v2/js/transactions/create.js@@ -1,2 +1,2 @@-(self.webpackChunk=self.webpackChunk||[]).push([[282],{232:(e,t,a)=>{"use strict";a.r(t);var n=a(7760),o=a.n(n),s=a(7152),i=a(4605);window.$=window.jQuery=a(9755),window.axios=a(9669),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var r=document.head.querySelector('meta[name="csrf-token"]');r?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=r.content:console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token");var c=document.head.querySelector('meta[name="locale"]');localStorage.locale=c?c.content:"en_US",a(6891),a(3734),a(7632),a(5432),window.vuei18n=s.Z,window.uiv=i,o().use(vuei18n),o().use(i),window.Vue=o()},9899:(e,t,a)=>{"use strict";a.d(t,{Z:()=>m});var n=a(7760),o=a.n(n),s=a(629),i=a(4478),r=a(3465);const c={namespaced:!0,state:function(){return{transactionType:"any",groupTitle:"",transactions:[],customDateFields:{interest_date:!1,book_date:!1,process_date:!1,due_date:!1,payment_date:!1,invoice_date:!1},defaultTransaction:(0,i.f$)(),defaultErrors:(0,i.kQ)()}},getters:{transactions:function(e){return e.transactions},groupTitle:function(e){return e.groupTitle},transactionType:function(e){return e.transactionType},accountToTransaction:function(e){return e.accountToTransaction},defaultTransaction:function(e){return e.defaultTransaction},sourceAllowedTypes:function(e){return e.sourceAllowedTypes},destinationAllowedTypes:function(e){return e.destinationAllowedTypes},allowedOpposingTypes:function(e){return e.allowedOpposingTypes},customDateFields:function(e){return e.customDateFields}},actions:{},mutations:{addTransaction:function(e){var t=r(e.defaultTransaction);t.errors=r(e.defaultErrors),e.transactions.push(t)},resetErrors:function(e,t){e.transactions[t.index].errors=r(e.defaultErrors)},resetTransactions:function(e){e.transactions=[]},setGroupTitle:function(e,t){e.groupTitle=t.groupTitle},setCustomDateFields:function(e,t){e.customDateFields=t},deleteTransaction:function(e,t){e.transactions.splice(t.index,1),e.transactions.length},setTransactionType:function(e,t){e.transactionType=t},setAllowedOpposingTypes:function(e,t){e.allowedOpposingTypes=t},setAccountToTransaction:function(e,t){e.accountToTransaction=t},updateField:function(e,t){e.transactions[t.index][t.field]=t.value},setTransactionError:function(e,t){e.transactions[t.index].errors[t.field]=t.errors},setDestinationAllowedTypes:function(e,t){e.destinationAllowedTypes=t},setSourceAllowedTypes:function(e,t){e.sourceAllowedTypes=t}}};const l={namespaced:!0,state:function(){return{}},getters:{},actions:{},mutations:{}};const u={namespaced:!0,state:function(){return{viewRange:"default",start:null,end:null,defaultStart:null,defaultEnd:null}},getters:{start:function(e){return e.start},end:function(e){return e.end},defaultStart:function(e){return e.defaultStart},defaultEnd:function(e){return e.defaultEnd},viewRange:function(e){return e.viewRange}},actions:{initialiseStore:function(e){"default"===e.state.viewRange&&axios.get("./api/v1/preferences/viewRange").then((function(t){var a=t.data.data.attributes.data;e.commit("setViewRange",a),e.dispatch("setDatesFromViewRange")})).catch((function(t){e.commit("setViewRange","1M"),e.dispatch("setDatesFromViewRange")}))},setDatesFromViewRange:function(e){if(localStorage.viewRangeStart&&e.commit("setStart",new Date(localStorage.viewRangeStart)),localStorage.viewRangeEnd&&e.commit("setEnd",new Date(localStorage.viewRangeEnd)),localStorage.viewRangeDefaultStart&&e.commit("setDefaultStart",new Date(localStorage.viewRangeDefaultStart)),localStorage.viewRangeDefaultEnd&&e.commit("setDefaultEnd",new Date(localStorage.viewRangeDefaultEnd)),null===e.getters.end||null===e.getters.start){var t,a;switch(e.getters.viewRange){case"1D":t=new Date,a=new Date(t.getTime()),t.setHours(0,0,0,0),a.setHours(23,59,59,999);break;case"1W":t=new Date,a=new Date(t.getTime());var n=t.getDate()-t.getDay()+(0===t.getDay()?-6:1);t.setDate(n),t.setHours(0,0,0,0);var o=a.getDate()-(a.getDay()-1)+6;a.setDate(o),a.setHours(23,59,59,999);break;case"1M":t=new Date,(t=new Date(t.getFullYear(),t.getMonth(),1)).setHours(0,0,0,0),(a=new Date(t.getFullYear(),t.getMonth()+1,0)).setHours(23,59,59,999);break;case"3M":t=new Date,a=new Date;var s=Math.floor((t.getMonth()+3)/3)-1;(t=new Date(t.getFullYear(),[0,3,6,9][s],1)).setHours(0,0,0,0),a=new Date(a.getFullYear(),[2,5,8,11][s],1),(a=new Date(a.getFullYear(),a.getMonth()+1,0)).setHours(23,59,59,999);break;case"6M":t=new Date,a=new Date;var i=t.getMonth()<=5?0:1;(t=new Date(t.getFullYear(),[0,6][i],1)).setHours(0,0,0,0),a=new Date(a.getFullYear(),[5,11][i],1),(a=new Date(a.getFullYear(),a.getMonth()+1,0)).setHours(23,59,59,999);break;case"1Y":t=new Date,a=new Date,t=new Date(t.getFullYear(),0,1),a=new Date(a.getFullYear(),11,31),t.setHours(0,0,0,0),a.setHours(23,59,59,999)}e.commit("setStart",t),e.commit("setEnd",a),e.commit("setDefaultStart",t),e.commit("setDefaultEnd",a)}}},mutations:{setStart:function(e,t){e.start=t,window.localStorage.setItem("viewRangeStart",t)},setEnd:function(e,t){e.end=t,window.localStorage.setItem("viewRangeEnd",t)},setDefaultStart:function(e,t){e.defaultStart=t,window.localStorage.setItem("viewRangeDefaultStart",t)},setDefaultEnd:function(e,t){e.defaultEnd=t,window.localStorage.setItem("viewRangeDefaultEnd",t)},setViewRange:function(e,t){e.viewRange=t}}};var d=function(){return{listPageSize:33}},_={initialiseStore:function(e){localStorage.listPageSize&&(d.listPageSize=localStorage.listPageSize,e.commit("setListPageSize",{length:localStorage.listPageSize})),localStorage.listPageSize||axios.get("./api/v1/preferences/listPageSize").then((function(t){e.commit("setListPageSize",{length:parseInt(t.data.data.attributes.data)})}))}};const p={namespaced:!0,state:d,getters:{listPageSize:function(e){return e.listPageSize}},actions:_,mutations:{setListPageSize:function(e,t){var a=parseInt(t.length);0!==a&&(e.listPageSize=a,localStorage.listPageSize=a)}}};const g={namespaced:!0,state:function(){return{orderMode:!1,activeFilter:1}},getters:{orderMode:function(e){return e.orderMode},activeFilter:function(e){return e.activeFilter}},actions:{},mutations:{setOrderMode:function(e,t){e.orderMode=t},setActiveFilter:function(e,t){e.activeFilter=t}}};o().use(s.ZP);const m=new s.ZP.Store({namespaced:!0,modules:{root:p,transactions:{namespaced:!0,modules:{create:c,edit:l}},accounts:{namespaced:!0,modules:{index:g}},dashboard:{namespaced:!0,modules:{index:u}}},strict:false,plugins:[],state:{currencyPreference:{},locale:"en-US",listPageSize:50},mutations:{setCurrencyPreference:function(e,t){e.currencyPreference=t.payload},initialiseStore:function(e){if(localStorage.locale)e.locale=localStorage.locale;else{var t=document.head.querySelector('meta[name="locale"]');t&&(e.locale=t.content,localStorage.locale=t.content)}}},getters:{currencyCode:function(e){return e.currencyPreference.code},currencyPreference:function(e){return e.currencyPreference},currencyId:function(e){return e.currencyPreference.id},locale:function(e){return e.locale}},actions:{updateCurrencyPreference:function(e){localStorage.currencyPreference?e.commit("setCurrencyPreference",{payload:JSON.parse(localStorage.currencyPreference)}):axios.get("./api/v1/currencies/default").then((function(t){var a={id:parseInt(t.data.data.id),name:t.data.data.attributes.name,symbol:t.data.data.attributes.symbol,code:t.data.data.attributes.code,decimal_places:parseInt(t.data.data.attributes.decimal_places)};localStorage.currencyPreference=JSON.stringify(a),e.commit("setCurrencyPreference",{payload:a})})).catch((function(t){console.error(t),e.commit("setCurrencyPreference",{payload:{id:1,name:"Euro",symbol:"€",code:"EUR",decimal_places:2}})}))}}})},157:(e,t,a)=>{e.exports=new vuei18n({locale:document.documentElement.lang,fallbackLocale:"en",messages:{bg:a(7154),cs:a(6407),de:a(4726),en:a(3340),"en-us":a(3340),"en-gb":a(6318),es:a(5394),el:a(3636),fr:a(2551),hu:a(995),it:a(9112),nl:a(4671),nb:a(9085),pl:a(6238),fi:a(7868),"pt-br":a(6586),"pt-pt":a(8664),ro:a(1102),ru:a(753),"zh-tw":a(1715),"zh-cn":a(4556),sk:a(7049),sv:a(7921),vi:a(1497)}})},4654:(e,t,a)=>{"use strict";var n=a(9899),o=a(3324),s=a(7661),i=a(5524),r=a(7629),c=a(629);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function d(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?u(Object(a),!0).forEach((function(t){_(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):u(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function _(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const p={name:"Create",components:{SplitForm:r.Z,Alert:o.Z,SplitPills:s.Z,TransactionGroupTitle:i.Z},created:function(){var e=window.location.pathname.split("/"),t=e[e.length-1];this.date=format(new Date,"yyyy-MM-dd'T'00:00"),console.log('Date is set to "'+this.date+'"'),this.setTransactionType(t[0].toUpperCase()+t.substring(1)),this.getExpectedSourceTypes(),this.getAccountToTransaction(),this.getCustomFields(),this.addTransaction()},data:function(){return{errorMessage:"",successMessage:"",customFields:{},enableSubmit:!0,createAnother:!1,resetFormAfter:!1,submittedTransaction:!1,submittedLinks:!1,submittedAttachments:!1,inError:!1,submittedAttCount:{},groupTitleErrors:[],returnedGroupId:0,returnedGroupTitle:"",accountToTransaction:{},allowedOpposingTypes:{},sourceAllowedTypes:["Asset account","Loan","Debt","Mortgage","Revenue account"],destinationAllowedTypes:["Asset account","Loan","Debt","Mortgage","Expense account"],date:""}},computed:d(d({},(0,c.Se)("transactions/create",["transactionType","transactions","groupTitle"])),(0,c.Se)("root",["listPageSize"])),watch:{submittedTransaction:function(){this.finalizeSubmit()},submittedLinks:function(){this.finalizeSubmit()},submittedAttachments:function(){this.finalizeSubmit()}},methods:d(d({},(0,c.OI)("transactions/create",["setGroupTitle","addTransaction","deleteTransaction","setTransactionError","setTransactionType","resetErrors","updateField","resetTransactions"])),{},{removeTransaction:function(e){this.$store.commit("transactions/create/deleteTransaction",e)},finalizeSubmit:function(){var e=this;if(this.submittedTransaction&&this.submittedAttachments&&this.submittedLinks){var t;if(!1===this.createAnother&&!1===this.inError)return void(window.location.href=(null!==(t=window.previousURL)&&void 0!==t?t:"/")+"?transaction_group_id="+this.returnedGroupId+"&message=created");for(var a in!1===this.inError&&(this.errorMessage="",this.successMessage=this.$t("firefly.transaction_stored_link",{ID:this.returnedGroupId,title:this.returnedGroupTitle})),this.enableSubmit=!0,this.submittedTransaction=!1,this.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)&&this.updateField({index:a,field:"transaction_journal_id",value:0});this.submittedAttCount=[],this.resetFormAfter&&(this.resetTransactions(),setTimeout((function(){return e.addTransaction()}),50))}},submitTransaction:function(e){var t=this;e.preventDefault(),this.enableSubmit=!1;var a=this.convertData();axios.post("./api/v1/transactions",a).then((function(e){t.submittedTransaction=!0,t.submitTransactionLinks(a,e),t.submitAttachments(a,e),t.returnedGroupId=parseInt(e.data.data.id),t.returnedGroupTitle=null===e.data.data.attributes.group_title?e.data.data.attributes.transactions[0].description:e.data.data.attributes.group_title})).catch((function(e){t.enableSubmit=!0,t.submittedTransaction=!0,t.submittedAttachments=!0,t.submittedLinks=!0,t.inError=!0,t.parseErrors(e.response.data)}))},submitAttachments:function(e,t){var a=t.data.data.attributes.transactions;for(var n in e.transactions)e.transactions.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&a.hasOwnProperty(n)&&this.updateField({index:n,field:"transaction_journal_id",value:a[n].transaction_journal_id})},uploadedAttachment:function(e){var t="str"+e;this.submittedAttCount[t]=1,Object.keys(this.submittedAttCount).length===this.transactions.length&&(this.submittedAttachments=!0)},storeLocation:function(e){var t=e.hasMarker?e.zoomLevel:null,a=e.hasMarker?e.lat:null,n=e.hasMarker?e.lng:null;this.updateField({index:e.index,field:"zoom_level",value:t}),this.updateField({index:e.index,field:"latitude",value:a}),this.updateField({index:e.index,field:"longitude",value:n})},storeAccountValue:function(e){this.updateField({index:e.index,field:e.direction+"_account_id",value:e.id}),this.updateField({index:e.index,field:e.direction+"_account_type",value:e.type}),this.updateField({index:e.index,field:e.direction+"_account_name",value:e.name}),this.updateField({index:e.index,field:e.direction+"_account_currency_id",value:e.currency_id}),this.updateField({index:e.index,field:e.direction+"_account_currency_code",value:e.currency_code}),this.updateField({index:e.index,field:e.direction+"_account_currency_symbol",value:e.currency_symbol})},storeField:function(e){this.updateField(e)},storeDate:function(e){this.date=e.date},storeGroupTitle:function(e){this.setGroupTitle({groupTitle:e})},submitTransactionLinks:function(e,t){var a=[],n=t.data.data.attributes.transactions,o=0;for(var s in e.transactions)if(e.transactions.hasOwnProperty(s)&&/^0$|^[1-9]\d*$/.test(s)&&s<=4294967294){var i=e.transactions[s];if(n.hasOwnProperty(s)){var r=n[s];for(var c in i.links)if(i.links.hasOwnProperty(c)&&/^0$|^[1-9]\d*$/.test(c)&&c<=4294967294){var l=i.links[c];o++,0===l.outward_id&&(l.outward_id=r.transaction_journal_id),0===l.inward_id&&(l.inward_id=r.transaction_journal_id),a.push(axios.post("./api/v1/transaction_links",l).then((function(e){})))}}}0!==o?Promise.all(a).then((function(){this.submittedLinks=!0})):this.submittedLinks=!0},parseErrors:function(e){for(var t in this.transactions)this.resetErrors({index:t});var a,n,o;for(var s in this.successMessage="",this.errorMessage=this.$t("firefly.errors_submission"),void 0===e.errors&&(this.successMessage="",this.errorMessage=e.message),e.errors)if(e.errors.hasOwnProperty(s)){if("group_title"===s){this.groupTitleErrors=e.errors[s];continue}if("group_title"!==s)switch(n=parseInt(s.split(".")[1]),o=s.split(".")[2]){case"amount":case"description":case"date":case"tags":a={index:n,field:o,errors:e.errors[s]},this.setTransactionError(a);break;case"budget_id":a={index:n,field:"budget",errors:e.errors[s]},this.setTransactionError(a);break;case"bill_id":a={index:n,field:"bill",errors:e.errors[s]},this.setTransactionError(a);break;case"piggy_bank_id":a={index:n,field:"piggy_bank",errors:e.errors[s]},this.setTransactionError(a);break;case"category_name":a={index:n,field:"category",errors:e.errors[s]},this.setTransactionError(a);break;case"source_name":case"source_id":a={index:n,field:"source",errors:e.errors[s]},this.setTransactionError(a);break;case"destination_name":case"destination_id":a={index:n,field:"destination",errors:e.errors[s]},this.setTransactionError(a);break;case"foreign_amount":case"foreign_currency":a={index:n,field:"foreign_amount",errors:e.errors[s]},this.setTransactionError(a)}this.transactions[n]}},convertData:function(){var e={transactions:[]};for(var t in this.groupTitle.length>0&&(e.group_title=this.groupTitle),this.transactions)this.transactions.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294&&e.transactions.push(this.convertSplit(t,this.transactions[t]));return e.transactions.length>1&&""!==e.transactions[0].description&&(e.group_title=e.transactions[0].description),e.transactions.length>1&&(e=this.synchronizeAccounts(e)),e},synchronizeAccounts:function(e){for(var t in e.transactions)e.transactions.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294&&("Transfer"===this.transactionType&&(e.transactions[t].source_name=null,e.transactions[t].destination_name=null,t>0&&(e.transactions[t].source_id=e.transactions[0].source_id,e.transactions[t].destination_id=e.transactions[0].destination_id)),"Deposit"===this.transactionType&&(e.transactions[t].destination_name=null,t>0&&(e.transactions[t].destination_id=e.transactions[0].destination_id)),"Withdrawal"===this.transactionType&&(e.transactions[t].source_name=null,t>0&&(e.transactions[t].source_id=e.transactions[0].source_id)));return e},convertSplit:function(e,t){var a,n,o,s;""===t.destination_account_name&&(t.destination_account_name=null),0===t.destination_account_id&&(t.destination_account_name=null),""===t.source_account_name&&(t.source_account_name=null),0===t.source_account_id&&(t.source_account_id=null);var i={description:t.description,date:this.date,type:this.transactionType.toLowerCase(),source_id:null!==(a=t.source_account_id)&&void 0!==a?a:null,source_name:null!==(n=t.source_account_name)&&void 0!==n?n:null,destination_id:null!==(o=t.destination_account_id)&&void 0!==o?o:null,destination_name:null!==(s=t.destination_account_name)&&void 0!==s?s:null,currency_id:t.currency_id,amount:t.amount,budget_id:t.budget_id,category_name:t.category,interest_date:t.interest_date,book_date:t.book_date,process_date:t.process_date,due_date:t.due_date,payment_date:t.payment_date,invoice_date:t.invoice_date,internal_reference:t.internal_reference,external_url:t.external_url,notes:t.notes,external_id:t.external_id,zoom_level:t.zoom_level,longitude:t.longitude,latitude:t.latitude,tags:[],order:0,reconciled:!1};if(0!==t.tags.length)for(var r in t.tags)if(t.tags.hasOwnProperty(r)&&/^0$|^[1-9]\d*$/.test(r)&&r<=4294967294){var c=t.tags[r];"object"===l(c)&&null!==c&&i.tags.push(c.text),"string"==typeof c&&i.tags.push(c)}0!==t.piggy_bank_id&&(i.piggy_bank_id=t.piggy_bank_id),0!==t.bill_id&&(i.bill_id=t.bill_id),0!==t.foreign_currency_id&&""!==t.foreign_amount&&(i.foreign_currency_id=t.foreign_currency_id),""!==t.foreign_amount&&(i.foreign_amount=t.foreign_amount),i.currency_id=t.source_account_currency_id,"Deposit"===this.transactionType&&(i.currency_id=t.destination_account_currency_id);var u=[];for(var d in t.links)if(t.links.hasOwnProperty(d)&&/^0$|^[1-9]\d*$/.test(d)&&d<=4294967294){var _=t.links[d],p=_.link_type_id.split("-"),g="outward"===p[1]?0:parseInt(_.transaction_journal_id),m="inward"===p[1]?0:parseInt(_.transaction_journal_id),h={link_type_id:parseInt(p[0]),inward_id:g,outward_id:m};u.push(h)}return i.links=u,null===i.source_id&&delete i.source_id,null===i.source_name&&delete i.source_name,null===i.destination_id&&delete i.destination_id,null===i.destination_name&&delete i.destination_name,i},getAllowedOpposingTypes:function(){var e=this;axios.get("./api/v1/configuration/firefly.allowed_opposing_types").then((function(t){console.log("opposing types things."),console.log(t.data.data.value),e.allowedOpposingTypes=t.data.data.value}))},getExpectedSourceTypes:function(){var e=this;axios.get("./api/v1/configuration/firefly.expected_source_types").then((function(t){e.sourceAllowedTypes=t.data.data.value.source[e.transactionType],e.destinationAllowedTypes=t.data.data.value.destination[e.transactionType]}))},getAccountToTransaction:function(){var e=this;axios.get("./api/v1/configuration/firefly.account_to_transaction").then((function(t){e.accountToTransaction=t.data.data.value}))},getCustomFields:function(){var e=this;axios.get("./api/v1/preferences/transaction_journal_optional_fields").then((function(t){e.customFields=t.data.data.attributes.data}))},setDestinationAllowedTypes:function(e){0!==e.length?this.destinationAllowedTypes=e:this.destinationAllowedTypes=this.defaultDestinationAllowedTypes},setSourceAllowedTypes:function(e){0!==e.length?this.sourceAllowedTypes=e:this.sourceAllowedTypes=this.defaultSourceAllowedTypes}})};const g=(0,a(1900).Z)(p,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("alert",{attrs:{message:e.errorMessage,type:"danger"}}),e._v(" "),a("alert",{attrs:{message:e.successMessage,type:"success"}}),e._v(" "),a("form",{on:{submit:e.submitTransaction}},[a("SplitPills",{attrs:{transactions:e.transactions}}),e._v(" "),a("div",{staticClass:"tab-content"},e._l(this.transactions,(function(t,n){return a("SplitForm",{key:n,attrs:{count:e.transactions.length,"custom-fields":e.customFields,date:e.date,"destination-allowed-types":e.destinationAllowedTypes,index:n,"source-allowed-types":e.sourceAllowedTypes,"submitted-transaction":e.submittedTransaction,transaction:t,"transaction-type":e.transactionType},on:{"uploaded-attachments":function(t){return e.uploadedAttachment(t)},"set-marker-location":function(t){return e.storeLocation(t)},"set-account":function(t){return e.storeAccountValue(t)},"set-date":function(t){return e.storeDate(t)},"set-field":function(t){return e.storeField(t)},"remove-transaction":function(t){return e.removeTransaction(t)}}})})),1),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},[e.transactions.length>1?a("div",{staticClass:"card"},[a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("TransactionGroupTitle",{attrs:{errors:this.groupTitleErrors},on:{"set-group-title":function(t){return e.storeGroupTitle(t)}},model:{value:this.groupTitle,callback:function(t){e.$set(this,"groupTitle",t)},expression:"this.groupTitle"}})],1)])])]):e._e()]),e._v(" "),a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("div",{staticClass:"card card-primary"},[a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n \n ")]),e._v(" "),a("button",{staticClass:"btn btn-outline-primary btn-block",on:{click:e.addTransaction}},[a("i",{staticClass:"far fa-clone"}),e._v(" "+e._s(e.$t("firefly.add_another_split"))+"\n ")])]),e._v(" "),a("div",{staticClass:"col"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n \n ")]),e._v(" "),a("button",{staticClass:"btn btn-success btn-block",attrs:{disabled:!e.enableSubmit},on:{click:e.submitTransaction}},[e.enableSubmit?a("span",[a("i",{staticClass:"far fa-save"}),e._v(" "+e._s(e.$t("firefly.store_transaction")))]):e._e(),e._v(" "),e.enableSubmit?e._e():a("span",[a("i",{staticClass:"fas fa-spinner fa-spin"})])])])]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[e._v("\n \n ")]),e._v(" "),a("div",{staticClass:"col"},[a("div",{staticClass:"form-check"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.createAnother,expression:"createAnother"}],staticClass:"form-check-input",attrs:{id:"createAnother",type:"checkbox"},domProps:{checked:Array.isArray(e.createAnother)?e._i(e.createAnother,null)>-1:e.createAnother},on:{change:function(t){var a=e.createAnother,n=t.target,o=!!n.checked;if(Array.isArray(a)){var s=e._i(a,null);n.checked?s<0&&(e.createAnother=a.concat([null])):s>-1&&(e.createAnother=a.slice(0,s).concat(a.slice(s+1)))}else e.createAnother=o}}}),e._v(" "),a("label",{staticClass:"form-check-label",attrs:{for:"createAnother"}},[a("span",{staticClass:"small"},[e._v(e._s(e.$t("firefly.create_another")))])])]),e._v(" "),a("div",{staticClass:"form-check"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.resetFormAfter,expression:"resetFormAfter"}],staticClass:"form-check-input",attrs:{id:"resetFormAfter",disabled:!e.createAnother,type:"checkbox"},domProps:{checked:Array.isArray(e.resetFormAfter)?e._i(e.resetFormAfter,null)>-1:e.resetFormAfter},on:{change:function(t){var a=e.resetFormAfter,n=t.target,o=!!n.checked;if(Array.isArray(a)){var s=e._i(a,null);n.checked?s<0&&(e.resetFormAfter=a.concat([null])):s>-1&&(e.resetFormAfter=a.slice(0,s).concat(a.slice(s+1)))}else e.resetFormAfter=o}}}),e._v(" "),a("label",{staticClass:"form-check-label",attrs:{for:"resetFormAfter"}},[a("span",{staticClass:"small"},[e._v(e._s(e.$t("firefly.reset_after")))])])])])])])])])])],1)],1)}),[],!1,null,"21b013ea",null).exports;var m=a(7760),h=a.n(m);a(232),h().config.productionTip=!1;var y=a(157),f={};new(h())({i18n:y,store:n.Z,render:function(e){return e(g,{props:f})},beforeCreate:function(){this.$store.dispatch("root/initialiseStore"),this.$store.commit("initialiseStore"),this.$store.dispatch("updateCurrencyPreference")}}).$mount("#transactions_create")},4478:(e,t,a)=>{"use strict";function n(){return{description:[],amount:[],source:[],destination:[],currency:[],foreign_currency:[],foreign_amount:[],date:[],custom_dates:[],budget:[],category:[],bill:[],tags:[],piggy_bank:[],internal_reference:[],external_url:[],notes:[],location:[]}}function o(){return{description:"",transaction_journal_id:0,source_account_id:null,source_account_name:null,source_account_type:null,source_account_currency_id:null,source_account_currency_code:null,source_account_currency_symbol:null,destination_account_id:null,destination_account_name:null,destination_account_type:null,destination_account_currency_id:null,destination_account_currency_code:null,destination_account_currency_symbol:null,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:{}}}a.d(t,{kQ:()=>n,f$:()=>o})},6665:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>r});var n=a(4015),o=a.n(n),s=a(3645),i=a.n(s)()(o());i.push([e.id,".vue-tags-input{max-width:100%!important;display:block}.ti-input,.vue-tags-input{width:100%;border-radius:.25rem}.ti-input{max-width:100%}.ti-new-tag-input{font-size:1rem}","",{version:3,sources:["webpack://./src/components/transactions/TransactionTags.vue"],names:[],mappings:"AA2HA,gBAEA,wBAAA,CACA,aAEA,CAEA,0BANA,UAAA,CAGA,oBAOA,CAJA,UAEA,cAEA,CAEA,kBACA,cACA",sourcesContent:['\x3c!--\n - TransactionTags.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n --\x3e\n\n<template>\n <div class="form-group">\n <div class="text-xs d-none d-lg-block d-xl-block">\n {{ $t(\'firefly.tags\') }}\n </div>\n <div class="input-group">\n <vue-tags-input\n v-model="currentTag"\n :add-only-from-autocomplete="false"\n :autocomplete-items="autocompleteItems"\n :tags="tags"\n :title="$t(\'firefly.tags\')"\n v-bind:placeholder="$t(\'firefly.tags\')"\n @tags-changed="newTags => this.tags = newTags"\n />\n </div>\n <span v-if="errors.length > 0">\n <span v-for="error in errors" class="text-danger small">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nimport VueTagsInput from "@johmun/vue-tags-input";\nimport axios from "axios";\n\nexport default {\n name: "TransactionTags",\n components: {\n VueTagsInput\n },\n props: [\'value\', \'index\', \'errors\'],\n data() {\n return {\n autocompleteItems: [],\n debounce: null,\n tags: [],\n currentTag: \'\',\n updateTags: true, // the idea is that this is always true, except when the tags-function sets the value.\n tagList: this.value,\n emitEvent: true\n };\n },\n created() {\n let tags = [];\n for (let i in this.value) {\n if (this.value.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n tags.push({text: this.value[i]});\n }\n }\n this.updateTags = false;\n this.tags = tags;\n },\n watch: {\n \'currentTag\': \'initItems\',\n value: function (value) {\n this.emitEvent = false;\n this.tagList = value;\n },\n tagList: function (value) {\n console.log(\'watch tagList\');\n if (true === this.emitEvent) {\n this.$emit(\'set-field\', {field: \'tags\', index: this.index, value: value});\n }\n this.emitEvent = true;\n this.updateTags = false;\n this.tags = value;\n },\n tags: function (value) {\n if (this.updateTags) {\n let shortList = [];\n for (let key in value) {\n if (value.hasOwnProperty(key)) {\n shortList.push({text: value[key].text});\n }\n }\n this.tagList = shortList;\n }\n this.updateTags = true;\n }\n },\n methods: {\n initItems() {\n if (this.currentTag.length < 2) {\n return;\n }\n const url = document.getElementsByTagName(\'base\')[0].href + `api/v1/autocomplete/tags?query=${this.currentTag}`;\n\n clearTimeout(this.debounce);\n this.debounce = setTimeout(() => {\n axios.get(url).then(response => {\n this.autocompleteItems = response.data.map(item => {\n return {text: item.tag};\n });\n }).catch(() => console.warn(\'Oh. Something went wrong loading tags.\'));\n }, 300);\n },\n },\n\n\n}\n<\/script>\n<style>\n.vue-tags-input {\n width: 100%;\n max-width: 100% !important;\n display: block;\n border-radius: 0.25rem;\n}\n\n.ti-input {\n border-radius: 0.25rem;\n max-width: 100%;\n width: 100%;\n}\n\n.ti-new-tag-input {\n font-size: 1rem;\n}\n</style>\n'],sourceRoot:""}]);const r=i},3324:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});const n={name:"Alert",props:["message","type"]};const o=(0,a(1900).Z)(n,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.message.length>0?a("div",{class:"alert alert-"+e.type+" alert-dismissible"},[a("button",{staticClass:"close",attrs:{"aria-hidden":"true","data-dismiss":"alert",type:"button"}},[e._v("×")]),e._v(" "),a("h5",["danger"===e.type?a("i",{staticClass:"icon fas fa-ban"}):e._e(),e._v(" "),"success"===e.type?a("i",{staticClass:"icon fas fa-thumbs-up"}):e._e(),e._v(" "),"danger"===e.type?a("span",[e._v(e._s(e.$t("firefly.flash_error")))]):e._e(),e._v(" "),"success"===e.type?a("span",[e._v(e._s(e.$t("firefly.flash_success")))]):e._e()]),e._v(" "),a("span",{domProps:{innerHTML:e._s(e.message)}})]):e._e()}),[],!1,null,null,null).exports},7629:(e,t,a)=>{"use strict";a.d(t,{Z:()=>oe});var n=a(3533),o=a(6486);const s={props:["index","value","errors"],components:{VueTypeaheadBootstrap:n.Z},name:"TransactionDescription",data:function(){return{descriptions:[],initialSet:[],description:this.value}},created:function(){var e=this;axios.get(this.getACURL("")).then((function(t){e.descriptions=t.data,e.initialSet=t.data}))},methods:{clearDescription:function(){this.description=""},getACURL:function(e){return document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/transactions?query="+e},lookupDescription:(0,o.debounce)((function(){var e=this;axios.get(this.getACURL(this.value)).then((function(t){e.descriptions=t.data}))}),300)},watch:{value:function(e){this.description=e},description:function(e){this.$emit("set-field",{field:"description",index:this.index,value:e})}}};var i=a(1900);const r=(0,i.Z)(s,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("vue-typeahead-bootstrap",{attrs:{data:e.descriptions,inputClass:e.errors.length>0?"is-invalid":"",minMatchingChars:3,placeholder:e.$t("firefly.description"),serializer:function(e){return e.description},showOnFocus:!0,autofocus:"",inputName:"description[]"},on:{input:e.lookupDescription},model:{value:e.description,callback:function(t){e.description=t},expression:"description"}},[a("template",{slot:"append"},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"},on:{click:e.clearDescription}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()],1)}),[],!1,null,null,null).exports;function c(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function l(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const u={props:["index","errors","date"],name:"TransactionDate",created:function(){this.localTimeZone=Intl.DateTimeFormat().resolvedOptions().timeZone,this.systemTimeZone=this.timezone,console.log("TransactionDate: "+this.date);var e=this.date.split("T");this.dateStr=e[0],this.timeStr=e[1]},data:function(){return{localDate:this.date,localTimeZone:"",systemTimeZone:"",timeStr:"",dateStr:""}},watch:{dateStr:function(e){this.$emit("set-date",{date:e+"T"+this.timeStr})},timeStr:function(e){this.$emit("set-date",{date:this.dateStr+"T"+e})}},methods:{},computed:function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?c(Object(a),!0).forEach((function(t){l(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):c(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}({},(0,a(629).Se)("root",["timezone"]))};const d=(0,i.Z)(u,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.date_and_time"))+"\n ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.dateStr,expression:"dateStr"}],ref:"date",class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{disabled:e.index>0,placeholder:e.dateStr,title:e.$t("firefly.date"),autocomplete:"off",name:"date[]",type:"date"},domProps:{value:e.dateStr},on:{input:function(t){t.target.composing||(e.dateStr=t.target.value)}}}),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.timeStr,expression:"timeStr"}],ref:"time",class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{disabled:e.index>0,placeholder:e.timeStr,title:e.$t("firefly.time"),autocomplete:"off",name:"time[]",type:"time"},domProps:{value:e.timeStr},on:{input:function(t){t.target.composing||(e.timeStr=t.target.value)}}})]),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e(),e._v(" "),a("span",{staticClass:"text-muted small"},[e._v(e._s(e.localTimeZone)+":"+e._s(e.systemTimeZone))])])}),[],!1,null,null,null).exports;const _={props:["index","value","errors"],name:"TransactionBudget",data:function(){return{budgetList:[],budget:this.value,emitEvent:!0}},created:function(){this.collectData()},methods:{collectData:function(){this.budgetList.push({id:0,name:this.$t("firefly.no_budget")}),this.getBudgets()},getBudgets:function(){var e=this;axios.get("./api/v1/budgets").then((function(t){e.parseBudgets(t.data)}))},parseBudgets:function(e){for(var t in e.data)if(e.data.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=e.data[t];if(!a.attributes.active)continue;this.budgetList.push({id:parseInt(a.id),name:a.attributes.name})}}},watch:{value:function(e){this.emitEvent=!1,this.budget=e},budget:function(e){this.$emit("set-field",{field:"budget_id",index:this.index,value:e})}}};const p=(0,i.Z)(_,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.budget"))+"\n ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:e.budget,expression:"budget"}],ref:"budget",class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{title:e.$t("firefly.budget"),autocomplete:"off",name:"budget_id[]"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.budget=t.target.multiple?a:a[0]}}},e._l(this.budgetList,(function(t){return a("option",{attrs:{label:t.name},domProps:{value:t.id}},[e._v(e._s(t.name))])})),0)]),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()])}),[],!1,null,null,null).exports;const g={name:"TransactionAccount",components:{VueTypeaheadBootstrap:n.Z},props:{index:{type:Number},direction:{type:String},value:{type:Object,default:function(){return{}}},errors:{type:Array,default:function(){return[]}},sourceAllowedTypes:{type:Array,default:function(){return[]}},destinationAllowedTypes:{type:Array,default:function(){return[]}},transactionType:{type:String,default:"any"}},data:function(){return{query:"",accounts:[],accountTypes:[],initialSet:[],selectedAccount:{},accountName:"",selectedAccountTrigger:!1}},created:function(){var e;this.accountName=null!==(e=this.value.name)&&void 0!==e?e:"",this.selectedAccountTrigger=!0},methods:{getACURL:function(e,t){return"./api/v1/autocomplete/accounts?types="+e.join(",")+"&query="+t},userSelectedAccount:function(e){this.selectedAccountTrigger=!0,this.selectedAccount=e},systemReturnedAccount:function(e){this.selectedAccountTrigger=!1,this.selectedAccount=e},clearAccount:function(){this.accounts=this.initialSet,this.accountName=""},lookupAccount:(0,o.debounce)((function(){var e=this;0===this.accountTypes.length&&(this.accountTypes="source"===this.direction?this.sourceAllowedTypes:this.destinationAllowedTypes),axios.get(this.getACURL(this.accountTypes,this.accountName)).then((function(t){e.accounts=t.data}))}),300),createInitialSet:function(){var e=this,t=this.sourceAllowedTypes;"destination"===this.direction&&(t=this.destinationAllowedTypes),axios.get(this.getACURL(t,"")).then((function(t){e.accounts=t.data,e.initialSet=t.data}))}},watch:{sourceAllowedTypes:function(e){this.createInitialSet()},destinationAllowedTypes:function(e){this.createInitialSet()},selectedAccount:function(e){console.log("TransactionAccount::watch selectedAccount()"),console.log(e),!0===this.selectedAccountTrigger&&(console.log("$emit alles!"),this.$emit("set-account",{index:this.index,direction:this.direction,id:e.id,type:e.type,name:e.name,currency_id:e.currency_id,currency_code:e.currency_code,currency_symbol:e.currency_symbol}),console.log("watch::selectedAccount() will now set accountName because selectedAccountTrigger = true"),this.accountName=e.name)},accountName:function(e){console.log('now at watch accountName("'+e+'")'),console.log(this.selectedAccountTrigger),!0===this.selectedAccountTrigger&&console.log("Do nothing because selectedAccountTrigger = true"),!1===this.selectedAccountTrigger&&(console.log("$emit name from watch::accountName() because selectedAccountTrigger = false"),this.$emit("set-account",{index:this.index,direction:this.direction,id:null,type:null,name:e,currency_id:null,currency_code:null,currency_symbol:null})),console.log("set selectedAccountTrigger to be FALSE"),this.selectedAccountTrigger=!1},value:function(e){console.log("TransactionAccount::watch value("+JSON.stringify(e)+")"),this.systemReturnedAccount(e)}},computed:{accountKey:{get:function(){return"source"===this.direction?"source_account":"destination_account"}},visible:{get:function(){return 0===this.index||("source"===this.direction?"any"===this.transactionType||"Deposit"===this.transactionType||void 0===this.transactionType:"destination"===this.direction&&("any"===this.transactionType||"Withdrawal"===this.transactionType||void 0===this.transactionType))}}}};const m=(0,i.Z)(g,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[e.visible?a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[0===this.index?a("span",[e._v(e._s(e.$t("firefly."+this.direction+"_account")))]):e._e(),e._v(" "),this.index>0?a("span",{staticClass:"text-warning"},[e._v(e._s(e.$t("firefly.first_split_overrules_"+this.direction)))]):e._e(),e._v(" "),a("br"),a("span",[e._v(e._s(e.selectedAccount))])]):e._e(),e._v(" "),e.visible?e._e():a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n \n ")]),e._v(" "),e.visible?a("vue-typeahead-bootstrap",{attrs:{data:e.accounts,inputClass:e.errors.length>0?"is-invalid":"",inputName:e.direction+"[]",minMatchingChars:3,placeholder:e.$t("firefly."+e.direction+"_account"),serializer:function(e){return e.name_with_balance},showOnFocus:!0,"aria-autocomplete":"none",autocomplete:"off"},on:{hit:e.userSelectedAccount,input:e.lookupAccount},scopedSlots:e._u([{key:"suggestion",fn:function(t){var n=t.data,o=t.htmlText;return[a("div",{staticClass:"d-flex",attrs:{title:n.type}},[a("span",{domProps:{innerHTML:e._s(o)}}),a("br")])]}}],null,!1,1423807661),model:{value:e.accountName,callback:function(t){e.accountName=t},expression:"accountName"}},[e._v(" "),a("template",{slot:"append"},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"},on:{click:e.clearAccount}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2):e._e(),e._v(" "),e.visible?e._e():a("div",{staticClass:"form-control-static"},[a("span",{staticClass:"small text-muted"},[a("em",[e._v(e._s(e.$t("firefly.first_split_decides")))])])]),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()],1)}),[],!1,null,null,null).exports;const h={name:"SwitchAccount",props:["index","transactionType"],methods:{}};const y=(0,i.Z)(h,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},["any"!==this.transactionType?a("span",{staticClass:"text-muted"},[e._v("\n "+e._s(e.$t("firefly."+this.transactionType))+"\n ")]):e._e(),e._v(" "),"any"===this.transactionType?a("span",{staticClass:"text-muted"},[e._v(" ")]):e._e()])])}),[],!1,null,"66a3afa9",null).exports;const f={name:"TransactionAmount",props:{index:{type:Number,default:0,required:!0},errors:{},amount:{},transactionType:{},sourceCurrencySymbol:{},destinationCurrencySymbol:{},fractionDigits:{default:2,required:!1}},created:function(){""!==this.amount&&(this.emitEvent=!1,this.transactionAmount=this.formatNumber(this.amount))},methods:{formatNumber:function(e){return parseFloat(e).toFixed(this.fractionDigits)}},data:function(){return{transactionAmount:this.amount,currencySymbol:null,srcCurrencySymbol:this.sourceCurrencySymbol,dstCurrencySymbol:this.destinationCurrencySymbol,emitEvent:!0}},watch:{transactionAmount:function(e){!0===this.emitEvent&&this.$emit("set-field",{field:"amount",index:this.index,value:e}),this.emitEvent=!0},amount:function(e){this.transactionAmount=e},sourceCurrencySymbol:function(e){this.srcCurrencySymbol=e},destinationCurrencySymbol:function(e){this.dstCurrencySymbol=e},transactionType:function(e){switch(e){case"Transfer":case"Withdrawal":this.currencySymbol=this.srcCurrencySymbol;break;case"Deposit":this.currencySymbol=this.dstCurrencySymbol}}}};const b=(0,i.Z)(f,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs"},[e._v(e._s(e.$t("firefly.amount")))]),e._v(" "),a("div",{staticClass:"input-group"},[e.currencySymbol?a("div",{staticClass:"input-group-prepend"},[a("div",{staticClass:"input-group-text"},[e._v(e._s(e.currencySymbol))])]):e._e(),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.transactionAmount,expression:"transactionAmount"}],class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:e.$t("firefly.amount"),title:e.$t("firefly.amount"),autocomplete:"off",name:"amount[]",type:"number",step:"any"},domProps:{value:e.transactionAmount},on:{input:function(t){t.target.composing||(e.transactionAmount=t.target.value)}}})]),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()])}),[],!1,null,"571f2c0a",null).exports;const v={name:"TransactionForeignAmount",props:{index:{},errors:{},value:{},transactionType:{},sourceCurrencyId:{},destinationCurrencyId:{},fractionDigits:{type:Number,default:2}},data:function(){return{amount:this.value,emitEvent:!0}},created:function(){""!==this.amount&&(this.emitEvent=!1,this.amount=this.formatNumber(this.amount))},methods:{formatNumber:function(e){return parseFloat(e).toFixed(this.fractionDigits)}},watch:{amount:function(e){!0===this.emitEvent&&this.$emit("set-field",{field:"foreign_amount",index:this.index,value:e}),this.emitEvent=!0},value:function(e){this.amount=e}},computed:{isVisible:{get:function(){return!("Transfer"===this.transactionType&&this.sourceCurrencyId===this.destinationCurrencyId)}}}};const k=(0,i.Z)(v,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.isVisible?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs"},[e._v(e._s(e.$t("form.foreign_amount")))]),e._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.amount,expression:"amount"}],class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:e.$t("form.foreign_amount"),title:e.$t("form.foreign_amount"),autocomplete:"off",name:"foreign_amount[]",type:"number"},domProps:{value:e.amount},on:{input:function(t){t.target.composing||(e.amount=t.target.value)}}})]),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()]):e._e()}),[],!1,null,"d13f8bea",null).exports;const w={name:"TransactionForeignCurrency",props:["index","transactionType","sourceCurrencyId","destinationCurrencyId","selectedCurrencyId","value"],data:function(){return{selectedCurrency:this.value,allCurrencies:[],selectableCurrencies:[],dstCurrencyId:this.destinationCurrencyId,srcCurrencyId:this.sourceCurrencyId,lockedCurrency:0,emitEvent:!0}},watch:{value:function(e){this.selectedCurrency=e},sourceCurrencyId:function(e){this.srcCurrencyId=e},destinationCurrencyId:function(e){this.dstCurrencyId=e},selectedCurrency:function(e){this.$emit("set-field",{field:"foreign_currency_id",index:this.index,value:e})},transactionType:function(e){this.lockedCurrency=0,"Transfer"===e&&(this.lockedCurrency=this.dstCurrencyId,this.selectedCurrency=this.dstCurrencyId),this.filterCurrencies()}},created:function(){this.getAllCurrencies()},methods:{getAllCurrencies:function(){var e=this;axios.get("./api/v1/autocomplete/currencies").then((function(t){e.allCurrencies=t.data,e.filterCurrencies()}))},filterCurrencies:function(){if(0===this.lockedCurrency){for(var e in this.selectableCurrencies=[{id:0,name:this.$t("firefly.no_currency")}],this.allCurrencies)if(this.allCurrencies.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var t=this.allCurrencies[e];this.selectableCurrencies.push(t)}}else for(var a in this.allCurrencies)if(this.allCurrencies.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=this.allCurrencies[a];n.id===this.lockedCurrency&&(this.selectableCurrencies=[n],this.selectedCurrency=n.id)}}},computed:{isVisible:function(){return!("Transfer"===this.transactionType&&this.srcCurrencyId===this.dstCurrencyId)}}};const x=(0,i.Z)(w,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.isVisible?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs"},[e._v(" ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedCurrency,expression:"selectedCurrency"}],staticClass:"form-control",attrs:{name:"foreign_currency_id[]"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.selectedCurrency=t.target.multiple?a:a[0]}}},e._l(e.selectableCurrencies,(function(t){return a("option",{attrs:{label:t.name},domProps:{value:t.id}},[e._v(e._s(t.name))])})),0)])]):e._e()}),[],!1,null,"3ee4efa5",null).exports;const T={name:"TransactionCustomDates",props:["index","errors","customFields","interestDate","bookDate","processDate","dueDate","paymentDate","invoiceDate"],data:function(){return{dateFields:["interest_date","book_date","process_date","due_date","payment_date","invoice_date"],availableFields:this.customFields,dates:{interest_date:this.interestDate,book_date:this.bookDate,process_date:this.processDate,due_date:this.dueDate,payment_date:this.paymentDate,invoice_date:this.invoiceDate}}},watch:{customFields:function(e){this.availableFields=e},interestDate:function(e){this.dates.interest_date=e},bookDate:function(e){this.dates.book_date=e},processDate:function(e){this.dates.process_date=e},dueDate:function(e){this.dates.due_date=e},paymentDate:function(e){this.dates.payment_date=e},invoiceDate:function(e){this.dates.invoice_date=e}},methods:{isDateField:function(e){return this.dateFields.includes(e)},getFieldValue:function(e){var t;return null!==(t=this.dates[e])&&void 0!==t?t:""},setFieldValue:function(e,t){this.$emit("set-field",{field:t,index:this.index,value:e.target.value})}}};const A=(0,i.Z)(T,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",e._l(e.availableFields,(function(t,n){return a("div",{staticClass:"form-group"},[t&&e.isDateField(n)?a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("form."+n))+"\n ")]):e._e(),e._v(" "),t&&e.isDateField(n)?a("div",{staticClass:"input-group"},[a("input",{ref:n,refInFor:!0,staticClass:"form-control",attrs:{name:n+"[]",placeholder:e.$t("form."+n),title:e.$t("form."+n),autocomplete:"off",type:"date"},domProps:{value:e.getFieldValue(n)},on:{change:function(t){return e.setFieldValue(t,n)}}})]):e._e()])})),0)}),[],!1,null,null,null).exports;const C={props:["value","index","errors"],components:{VueTypeaheadBootstrap:n.Z},name:"TransactionCategory",data:function(){return{categories:[],initialSet:[],category:this.value,emitEvent:!0}},created:function(){var e=this;axios.get(this.getACURL("")).then((function(t){e.categories=t.data,e.initialSet=t.data}))},methods:{clearCategory:function(){this.category=""},getACURL:function(e){return document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/categories?query="+e},lookupCategory:(0,o.debounce)((function(){var e=this;axios.get(this.getACURL(this.value)).then((function(t){e.categories=t.data}))}),300)},watch:{value:function(e){this.emitEvent=!1,this.category=null!=e?e:""},category:function(e){this.$emit("set-field",{field:"category",index:this.index,value:e})}},computed:{selectedCategory:{get:function(){return this.categories[this.index].name},set:function(e){this.category=e.name}}}};const D=(0,i.Z)(C,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.category"))+"\n ")]),e._v(" "),a("vue-typeahead-bootstrap",{attrs:{data:e.categories,inputClass:e.errors.length>0?"is-invalid":"",minMatchingChars:3,placeholder:e.$t("firefly.category"),serializer:function(e){return e.name},showOnFocus:!0,inputName:"category[]"},on:{hit:function(t){e.selectedCategory=t},input:e.lookupCategory},model:{value:e.category,callback:function(t){e.category=t},expression:"category"}},[a("template",{slot:"append"},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"},on:{click:e.clearCategory}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()],1)}),[],!1,null,null,null).exports;const I={props:["value","index","errors"],name:"TransactionBill",data:function(){return{billList:[],bill:this.value,emitEvent:!0}},created:function(){this.collectData()},methods:{collectData:function(){this.billList.push({id:0,name:this.$t("firefly.no_bill")}),this.getBills()},getBills:function(){var e=this;axios.get("./api/v1/bills").then((function(t){e.parseBills(t.data)}))},parseBills:function(e){for(var t in e.data)if(e.data.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=e.data[t];this.billList.push({id:parseInt(a.id),name:a.attributes.name})}}},watch:{value:function(e){this.emitEvent=!1,this.bill=e},bill:function(e){!0===this.emitEvent&&this.$emit("set-field",{field:"bill_id",index:this.index,value:e}),this.emitEvent=!0}}};const S=(0,i.Z)(I,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.bill"))+"\n ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:e.bill,expression:"bill"}],ref:"bill",class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{title:e.$t("firefly.bill"),autocomplete:"off",name:"bill_id[]"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.bill=t.target.multiple?a:a[0]}}},e._l(this.billList,(function(t){return a("option",{attrs:{label:t.name},domProps:{value:t.id}},[e._v(e._s(t.name))])})),0)]),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()])}),[],!1,null,null,null).exports;var z=a(1310),j=a.n(z),P=a(9669),B=a.n(P);const F={name:"TransactionTags",components:{VueTagsInput:j()},props:["value","index","errors"],data:function(){return{autocompleteItems:[],debounce:null,tags:[],currentTag:"",updateTags:!0,tagList:this.value,emitEvent:!0}},created:function(){var e=[];for(var t in this.value)this.value.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294&&e.push({text:this.value[t]});this.updateTags=!1,this.tags=e},watch:{currentTag:"initItems",value:function(e){this.emitEvent=!1,this.tagList=e},tagList:function(e){console.log("watch tagList"),!0===this.emitEvent&&this.$emit("set-field",{field:"tags",index:this.index,value:e}),this.emitEvent=!0,this.updateTags=!1,this.tags=e},tags:function(e){if(this.updateTags){var t=[];for(var a in e)e.hasOwnProperty(a)&&t.push({text:e[a].text});this.tagList=t}this.updateTags=!0}},methods:{initItems:function(){var e=this;if(!(this.currentTag.length<2)){var t=document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/tags?query=".concat(this.currentTag);clearTimeout(this.debounce),this.debounce=setTimeout((function(){B().get(t).then((function(t){e.autocompleteItems=t.data.map((function(e){return{text:e.tag}}))})).catch((function(){return console.warn("Oh. Something went wrong loading tags.")}))}),300)}}}};a(4936);const N=(0,i.Z)(F,(function(){var e=this,t=this,a=t.$createElement,n=t._self._c||a;return n("div",{staticClass:"form-group"},[n("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.tags"))+"\n ")]),t._v(" "),n("div",{staticClass:"input-group"},[n("vue-tags-input",{attrs:{"add-only-from-autocomplete":!1,"autocomplete-items":t.autocompleteItems,tags:t.tags,title:t.$t("firefly.tags"),placeholder:t.$t("firefly.tags")},on:{"tags-changed":function(t){return e.tags=t}},model:{value:t.currentTag,callback:function(e){t.currentTag=e},expression:"currentTag"}})],1),t._v(" "),t.errors.length>0?n("span",t._l(t.errors,(function(e){return n("span",{staticClass:"text-danger small"},[t._v(t._s(e)),n("br")])})),0):t._e()])}),[],!1,null,null,null).exports;const L={props:["index","value","errors"],name:"TransactionPiggyBank",data:function(){return{piggyList:[],piggy_bank_id:this.value,emitEvent:!0}},created:function(){this.collectData()},methods:{collectData:function(){this.piggyList.push({id:0,name_with_balance:this.$t("firefly.no_piggy_bank")}),this.getPiggies()},getPiggies:function(){var e=this;axios.get("./api/v1/autocomplete/piggy-banks-with-balance").then((function(t){e.parsePiggies(t.data)}))},parsePiggies:function(e){for(var t in e)if(e.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=e[t];this.piggyList.push({id:parseInt(a.id),name_with_balance:a.name_with_balance})}}},watch:{value:function(e){this.emitEvent=!1,this.piggy_bank_id=e},piggy_bank_id:function(e){!0===this.emitEvent&&this.$emit("set-field",{field:"piggy_bank_id",index:this.index,value:e}),this.emitEvent=!0}}};const E=(0,i.Z)(L,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.piggy_bank"))+"\n ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:e.piggy_bank_id,expression:"piggy_bank_id"}],ref:"piggy_bank_id",class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{title:e.$t("firefly.piggy_bank"),autocomplete:"off",name:"piggy_bank_id[]"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.piggy_bank_id=t.target.multiple?a:a[0]}}},e._l(this.piggyList,(function(t){return a("option",{attrs:{label:t.name_with_balance},domProps:{value:t.id}},[e._v(e._s(t.name_with_balance))])})),0)]),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()])}),[],!1,null,null,null).exports;const $={props:["index","value","errors","customFields"],name:"TransactionInternalReference",data:function(){return{reference:this.value,availableFields:this.customFields,emitEvent:!0}},computed:{showField:function(){return"internal_reference"in this.availableFields&&this.availableFields.internal_reference}},methods:{},watch:{customFields:function(e){this.availableFields=e},value:function(e){this.emitEvent=!1,this.reference=e},reference:function(e){this.$emit("set-field",{field:"internal_reference",index:this.index,value:e})}}};const R=(0,i.Z)($,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.internal_reference"))+"\n ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.reference,expression:"reference"}],class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:e.$t("firefly.internal_reference"),name:"internal_reference[]",type:"text"},domProps:{value:e.reference},on:{input:function(t){t.target.composing||(e.reference=t.target.value)}}}),e._v(" "),e._m(0)])]):e._e()}),[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"input-group-append"},[t("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"}},[t("i",{staticClass:"far fa-trash-alt"})])])}],!1,null,null,null).exports;const O={props:["index","value","errors","customFields"],name:"TransactionExternalUrl",data:function(){return{url:this.value,availableFields:this.customFields}},computed:{showField:function(){return"external_uri"in this.availableFields&&this.availableFields.external_uri}},methods:{},watch:{customFields:function(e){this.availableFields=e},value:function(e){this.url=e},url:function(e){this.$emit("set-field",{field:"external_url",index:this.index,value:e})}}};const M=(0,i.Z)(O,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.external_url"))+"\n ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.url,expression:"url"}],class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:e.$t("firefly.external_url"),name:"external_url[]",type:"url"},domProps:{value:e.url},on:{input:function(t){t.target.composing||(e.url=t.target.value)}}}),e._v(" "),e._m(0)])]):e._e()}),[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"input-group-append"},[t("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"}},[t("i",{staticClass:"far fa-trash-alt"})])])}],!1,null,"7f6746e6",null).exports;const q={props:["index","value","errors","customFields"],name:"TransactionNotes",data:function(){return{notes:this.value,availableFields:this.customFields,emitEvent:!0}},computed:{showField:function(){return"notes"in this.availableFields&&this.availableFields.notes}},watch:{value:function(e){this.emitEvent=!1,this.notes=e},customFields:function(e){this.availableFields=e},notes:function(e){!0===this.emitEvent&&this.$emit("set-field",{field:"notes",index:this.index,value:e}),this.emitEvent=!0}}};const U=(0,i.Z)(q,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.notes"))+"\n ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.notes,expression:"notes"}],class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:e.$t("firefly.notes")},domProps:{value:e.notes},on:{input:function(t){t.target.composing||(e.notes=t.target.value)}}})])]):e._e()}),[],!1,null,"10b3ae7a",null).exports;var V=a(3465);const W={props:["index","value","errors","customFields"],name:"TransactionLinks",data:function(){return{searchResults:[],include:[],locale:"en-US",linkTypes:[],query:"",searching:!1,links:this.value,availableFields:this.customFields,emitEvent:!0}},created:function(){var e;this.locale=null!==(e=localStorage.locale)&&void 0!==e?e:"en-US",this.emitEvent=!1,this.links=V(this.value),this.getLinkTypes()},computed:{showField:function(){return"links"in this.availableFields&&this.availableFields.links}},watch:{value:function(e){null!==e&&(this.emitEvent=!1,this.links=V(e))},links:function(e){!0===this.emitEvent&&this.$emit("set-field",{index:this.index,field:"links",value:V(e)}),this.emitEvent=!0},customFields:function(e){this.availableFields=e}},methods:{removeLink:function(e){this.links.splice(e,1)},getTextForLinkType:function(e){var t=e.split("-");for(var a in this.linkTypes)if(this.linkTypes.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=this.linkTypes[a];if(t[0]===n.id&&t[1]===n.direction)return n.type}return"text for #"+e},selectTransaction:function(e){for(var t in this.searchResults)if(this.searchResults.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=this.searchResults[t];a.selected&&this.addToSelected(a),a.selected||this.removeFromSelected(a)}},selectLinkType:function(e){for(var t in this.searchResults)if(this.searchResults.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=this.searchResults[t];this.updateSelected(a.transaction_journal_id,a.link_type_id)}},updateSelected:function(e,t){for(var a in this.links)if(this.links.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=this.links[a];parseInt(n.transaction_journal_id)===e&&(this.links[a].link_type_id=t)}},addToSelected:function(e){void 0===this.links.find((function(t){return t.transaction_journal_id===e.transaction_journal_id}))&&this.links.push(e)},removeFromSelected:function(e){for(var t in this.links){if(this.links.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294)this.links[t].transaction_journal_id===e.transaction_journal_id&&this.links.splice(parseInt(t),1)}},getLinkTypes:function(){var e=this;axios.get("./api/v1/link_types").then((function(t){e.parseLinkTypes(t.data)}))},resetModal:function(){this.search()},parseLinkTypes:function(e){for(var t in e.data)if(e.data.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=e.data[t],n={id:a.id,type:a.attributes.inward,direction:"inward"},o={id:a.id,type:a.attributes.outward,direction:"outward"};n.type===o.type&&(n.type=n.type+" (←)",o.type=o.type+" (→)"),this.linkTypes.push(n),this.linkTypes.push(o)}},search:function(){var e=this;if(""!==this.query){this.searching=!0,this.searchResults=[];var t="./api/v1/search/transactions?limit=10&query="+this.query;axios.get(t).then((function(t){e.parseSearch(t.data)}))}else this.searchResults=[]},parseSearch:function(e){for(var t in e.data)if(e.data.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294)for(var a in e.data[t].attributes.transactions)if(e.data[t].attributes.transactions.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=e.data[t].attributes.transactions[a];n.transaction_group_id=parseInt(e.data[t].id),n.selected=this.isJournalSelected(n.transaction_journal_id),n.link_type_id=this.getJournalLinkType(n.transaction_journal_id),n.link_type_text="",this.searchResults.push(n)}this.searching=!1},getJournalLinkType:function(e){for(var t in this.links)if(this.links.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=this.links[t];if(a.transaction_journal_id===e)return a.link_type_id}return"1-inward"},isJournalSelected:function(e){for(var t in this.links){if(this.links.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294)if(this.links[t].transaction_journal_id===e)return!0}return!1}}};const Z=(0,i.Z)(W,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.showField?a("div",[a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.journal_links"))+"\n ")]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[0===e.links.length?a("p",[a("button",{staticClass:"btn btn-default btn-xs",attrs:{"data-target":"#linkModal","data-toggle":"modal"},on:{click:e.resetModal}},[a("i",{staticClass:"fas fa-plus"}),e._v(" Add transaction link")])]):e._e(),e._v(" "),e.links.length>0?a("ul",{staticClass:"list-group"},e._l(e.links,(function(t,n){return a("li",{key:n,staticClass:"list-group-item"},[a("em",[e._v(e._s(e.getTextForLinkType(t.link_type_id)))]),e._v(" "),a("a",{attrs:{href:"./transaction/show/"+t.transaction_group_id}},[e._v(e._s(t.description))]),e._v(" "),"withdrawal"===t.type?a("span",[e._v("\n ("),a("span",{staticClass:"text-danger"},[e._v(e._s(Intl.NumberFormat(e.locale,{style:"currency",currency:t.currency_code}).format(-1*parseFloat(t.amount))))]),e._v(")\n ")]):e._e(),e._v(" "),"deposit"===t.type?a("span",[e._v("\n ("),a("span",{staticClass:"text-success"},[e._v(e._s(Intl.NumberFormat(e.locale,{style:"currency",currency:t.currency_code}).format(parseFloat(t.amount))))]),e._v(")\n ")]):e._e(),e._v(" "),"transfer"===t.type?a("span",[e._v("\n ("),a("span",{staticClass:"text-info"},[e._v(e._s(Intl.NumberFormat(e.locale,{style:"currency",currency:t.currency_code}).format(parseFloat(t.amount))))]),e._v(")\n ")]):e._e(),e._v(" "),a("div",{staticClass:"btn-group btn-group-xs float-right"},[a("button",{staticClass:"btn btn-xs btn-danger",attrs:{tabindex:"-1"},on:{click:function(t){return e.removeLink(n)}}},[a("i",{staticClass:"far fa-trash-alt"})])])])})),0):e._e(),e._v(" "),e.links.length>0?a("div",{staticClass:"form-text"},[a("button",{staticClass:"btn btn-default",attrs:{"data-target":"#linkModal","data-toggle":"modal"},on:{click:e.resetModal}},[a("i",{staticClass:"fas fa-plus"})])]):e._e()])])]),e._v(" "),a("div",{ref:"linkModal",staticClass:"modal",attrs:{id:"linkModal",tabindex:"-1"}},[a("div",{staticClass:"modal-dialog modal-lg"},[a("div",{staticClass:"modal-content"},[e._m(0),e._v(" "),a("div",{staticClass:"modal-body"},[a("div",{staticClass:"container-fluid"},[e._m(1),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("form",{on:{submit:function(t){return t.preventDefault(),e.search(t)}}},[a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.query,expression:"query"}],staticClass:"form-control",attrs:{id:"query",autocomplete:"off",maxlength:"255",name:"search",placeholder:"Search query",type:"text"},domProps:{value:e.query},on:{input:function(t){t.target.composing||(e.query=t.target.value)}}}),e._v(" "),e._m(2)])])])]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[e.searching?a("span",[a("i",{staticClass:"fas fa-spinner fa-spin"})]):e._e(),e._v(" "),e.searchResults.length>0?a("h4",[e._v(e._s(e.$t("firefly.search_results")))]):e._e(),e._v(" "),e.searchResults.length>0?a("table",{staticClass:"table table-sm"},[a("caption",{staticStyle:{display:"none"}},[e._v(e._s(e.$t("firefly.search_results")))]),e._v(" "),a("thead",[a("tr",[a("th",{staticStyle:{width:"33%"},attrs:{scope:"col",colspan:"2"}},[e._v(e._s(e.$t("firefly.include")))]),e._v(" "),a("th",{attrs:{scope:"col"}},[e._v(e._s(e.$t("firefly.transaction")))])])]),e._v(" "),a("tbody",e._l(e.searchResults,(function(t){return a("tr",[a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"result.selected"}],staticClass:"form-control",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.selected)?e._i(t.selected,null)>-1:t.selected},on:{change:[function(a){var n=t.selected,o=a.target,s=!!o.checked;if(Array.isArray(n)){var i=e._i(n,null);o.checked?i<0&&e.$set(t,"selected",n.concat([null])):i>-1&&e.$set(t,"selected",n.slice(0,i).concat(n.slice(i+1)))}else e.$set(t,"selected",s)},function(t){return e.selectTransaction(t)}]}})]),e._v(" "),a("td",[a("select",{directives:[{name:"model",rawName:"v-model",value:t.link_type_id,expression:"result.link_type_id"}],staticClass:"form-control",on:{change:[function(a){var n=Array.prototype.filter.call(a.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(t,"link_type_id",a.target.multiple?n:n[0])},function(t){return e.selectLinkType(t)}]}},e._l(e.linkTypes,(function(t){return a("option",{attrs:{label:t.type},domProps:{value:t.id+"-"+t.direction}},[e._v(e._s(t.type)+"\n ")])})),0)]),e._v(" "),a("td",[a("a",{attrs:{href:"./transactions/show/"+t.transaction_group_id}},[e._v(e._s(t.description))]),e._v(" "),"withdrawal"===t.type?a("span",[e._v("\n ("),a("span",{staticClass:"text-danger"},[e._v(e._s(Intl.NumberFormat(e.locale,{style:"currency",currency:t.currency_code}).format(-1*parseFloat(t.amount))))]),e._v(")\n ")]):e._e(),e._v(" "),"deposit"===t.type?a("span",[e._v("\n ("),a("span",{staticClass:"text-success"},[e._v(e._s(Intl.NumberFormat(e.locale,{style:"currency",currency:t.currency_code}).format(parseFloat(t.amount))))]),e._v(")\n ")]):e._e(),e._v(" "),"transfer"===t.type?a("span",[e._v("\n ("),a("span",{staticClass:"text-info"},[e._v(e._s(Intl.NumberFormat(e.locale,{style:"currency",currency:t.currency_code}).format(parseFloat(t.amount))))]),e._v(")\n ")]):e._e(),e._v(" "),a("br"),e._v(" "),a("em",[a("a",{attrs:{href:"./accounts/show/"+t.source_id}},[e._v(e._s(t.source_name))]),e._v("\n →\n "),a("a",{attrs:{href:"./accounts/show/"+t.destination_id}},[e._v(e._s(t.destination_name))])])])])})),0)]):e._e()])])])]),e._v(" "),e._m(3)])])])]):e._e()}),[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"modal-header"},[a("h5",{staticClass:"modal-title"},[e._v("Transaction thing dialog.")]),e._v(" "),a("button",{staticClass:"close",attrs:{"aria-label":"Close","data-dismiss":"modal",type:"button"}},[a("span",{attrs:{"aria-hidden":"true"}},[e._v("×")])])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("p",[e._v("\n Use this form to search for transactions you wish to link to this one. When in doubt, use "),a("code",[e._v("id:*")]),e._v(" where the ID is the number from\n the URL.\n ")])])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-default",attrs:{type:"submit"}},[a("i",{staticClass:"fas fa-search"}),e._v(" Search")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"modal-footer"},[a("button",{staticClass:"btn btn-secondary",attrs:{"data-dismiss":"modal",type:"button"}},[e._v("Close")])])}],!1,null,null,null).exports;const G={name:"TransactionAttachments",props:["transaction_journal_id","customFields"],data:function(){return{availableFields:this.customFields}},watch:{customFields:function(e){this.availableFields=e},transaction_journal_id:function(e){this.showField?0!==e&&this.doUpload():this.$emit("uploaded-attachments",e)}},computed:{showField:function(){return"attachments"in this.availableFields&&this.availableFields.attachments}},methods:{selectedFile:function(){this.$emit("selected-attachments",this.transaction_journal_id)},doUpload:function(){var e=this;for(var t in this.$refs.att.files)this.$refs.att.files.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294&&function(){var a=e.$refs.att.files[t],n=new FileReader,o=e;n.onloadend=function(e){var t=this;if(e.target.readyState===FileReader.DONE){var n={filename:a.name,attachable_type:"TransactionJournal",attachable_id:o.transaction_journal_id};axios.post("./api/v1/attachments",n).then((function(a){var n="./api/v1/attachments/"+a.data.data.id+"/upload";axios.post(n,new Blob([e.target.result])).then((function(e){o.$emit("uploaded-attachments",t.transaction_journal_id)}))}))}},n.readAsArrayBuffer(a)}();0===this.$refs.att.files.length&&this.$emit("uploaded-attachments",this.transaction_journal_id)}}};const K=(0,i.Z)(G,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.attachments"))+"\n ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("input",{ref:"att",staticClass:"form-control",attrs:{multiple:"",name:"attachments[]",type:"file"},on:{change:e.selectedFile}})])]):e._e()}),[],!1,null,"c0a65b6c",null).exports;var H=a(7661),J=a(5352),Y=a(2727),Q=a(8380),X=(a(5802),a(5243)),ee=a.n(X);delete ee().Icon.Default.prototype._getIconUrl,ee().Icon.Default.mergeOptions({iconRetinaUrl:a(9895),iconUrl:a(3448),shadowUrl:a(4645)});const te={name:"TransactionLocation",props:{index:{},value:{type:Object,required:!1},errors:{},customFields:{}},components:{LMap:J.Z,LTileLayer:Y.Z,LMarker:Q.Z},created:function(){var e=this;null!==this.value&&void 0!==this.value?null!==this.value.zoom_level&&null!==this.value.latitude&&null!==this.value.longitude&&(this.zoom=this.value.zoom_level,this.center=[parseFloat(this.value.latitude),parseFloat(this.value.longitude)],this.hasMarker=!0):axios.get("./api/v1/configuration/firefly.default_location").then((function(t){e.zoom=parseInt(t.data.data.value.zoom_level),e.center=[parseFloat(t.data.data.value.latitude),parseFloat(t.data.data.value.longitude)]}))},data:function(){return{availableFields:this.customFields,url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",zoom:3,center:[0,0],bounds:null,map:null,hasMarker:!1,marker:[0,0]}},methods:{prepMap:function(){this.map=this.$refs.myMap.mapObject,this.map.on("contextmenu",this.setObjectLocation),this.map.on("zoomend",this.saveZoomLevel)},setObjectLocation:function(e){this.marker=[e.latlng.lat,e.latlng.lng],this.hasMarker=!0,this.emitEvent()},saveZoomLevel:function(){this.emitEvent()},clearLocation:function(){this.hasMarker=!1,this.emitEvent()},emitEvent:function(){this.$emit("set-marker-location",{index:this.index,zoomLevel:this.zoom,lat:this.marker[0],lng:this.marker[1],hasMarker:this.hasMarker})},zoomUpdated:function(e){this.zoom=e},centerUpdated:function(e){this.center=e},boundsUpdated:function(e){this.bounds=e}},computed:{showField:function(){return"location"in this.availableFields&&this.availableFields.location}},watch:{customFields:function(e){this.availableFields=e}}};const ae=(0,i.Z)(te,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.location"))+"\n ")]),e._v(" "),a("div",{staticStyle:{width:"100%",height:"300px"}},[a("l-map",{ref:"myMap",staticStyle:{width:"100%",height:"300px"},attrs:{center:e.center,zoom:e.zoom},on:{ready:function(t){return e.prepMap()},"update:zoom":e.zoomUpdated,"update:center":e.centerUpdated,"update:bounds":e.boundsUpdated}},[a("l-tile-layer",{attrs:{url:e.url}}),e._v(" "),a("l-marker",{attrs:{"lat-lng":e.marker,visible:e.hasMarker}})],1),e._v(" "),a("span",[a("button",{staticClass:"btn btn-default btn-xs",on:{click:e.clearLocation}},[e._v(e._s(e.$t("firefly.clear_location")))])])],1),e._v(" "),a("p",[e._v(" ")])]):e._e()}),[],!1,null,"3bafa3c9",null).exports,ne={name:"SplitForm",props:{transaction:{type:Object,required:!0},count:{type:Number,required:!1},customFields:{type:Object,required:!1},index:{type:Number,required:!0},date:{type:String,required:!0},transactionType:{type:String,required:!0},submittedTransaction:{type:Boolean,required:!1,default:!1},sourceAllowedTypes:{type:Array,required:!1,default:[]},destinationAllowedTypes:{type:Array,required:!1,default:[]},allowSwitch:{type:Boolean,required:!1,default:!0}},methods:{removeTransaction:function(){this.$emit("remove-transaction",{index:this.index})}},computed:{splitDate:function(){return this.date},sourceAccount:function(){console.log("computed::sourceAccount");var e={id:this.transaction.source_account_id,name:this.transaction.source_account_name,type:this.transaction.source_account_type};return console.log(JSON.stringify(e)),e},destinationAccount:function(){return{id:this.transaction.destination_account_id,name:this.transaction.destination_account_name,type:this.transaction.destination_account_type}},hasMetaFields:function(){var e=["internal_reference","notes","attachments","external_uri","location","links"];for(var t in this.customFields)if(this.customFields.hasOwnProperty(t)&&e.includes(t)&&!0===this.customFields[t])return!0;return!1}},components:{TransactionLocation:ae,SplitPills:H.Z,TransactionAttachments:K,TransactionNotes:U,TransactionExternalUrl:M,TransactionInternalReference:R,TransactionPiggyBank:E,TransactionTags:N,TransactionLinks:Z,TransactionBill:S,TransactionCategory:D,TransactionCustomDates:A,TransactionForeignCurrency:x,TransactionForeignAmount:k,TransactionAmount:b,SwitchAccount:y,TransactionAccount:m,TransactionBudget:p,TransactionDescription:r,TransactionDate:d}};const oe=(0,i.Z)(ne,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:"tab-pane"+(0===e.index?" active":""),attrs:{id:"split_"+e.index}},[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[e._v("\n "+e._s(e.$t("firefly.basic_journal_information"))+"\n "),e.count>1?a("span",[e._v("("+e._s(e.index+1)+" / "+e._s(e.count)+") ")]):e._e()]),e._v(" "),e.count>1?a("div",{staticClass:"card-tools"},[a("button",{staticClass:"btn btn-danger btn-xs",on:{click:e.removeTransaction}},[a("i",{staticClass:"fas fa-trash-alt"})])]):e._e()]),e._v(" "),a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("TransactionDescription",e._g({attrs:{errors:e.transaction.errors.description,index:e.index},model:{value:e.transaction.description,callback:function(t){e.$set(e.transaction,"description",t)},expression:"transaction.description"}},e.$listeners))],1)]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12"},[a("TransactionAccount",e._g({attrs:{"destination-allowed-types":e.destinationAllowedTypes,errors:e.transaction.errors.source,index:e.index,"source-allowed-types":e.sourceAllowedTypes,"transaction-type":e.transactionType,direction:"source"},model:{value:e.sourceAccount,callback:function(t){e.sourceAccount=t},expression:"sourceAccount"}},e.$listeners))],1),e._v(" "),a("div",{staticClass:"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block"},[0===e.index&&e.allowSwitch?a("SwitchAccount",e._g({attrs:{index:e.index,"transaction-type":e.transactionType}},e.$listeners)):e._e()],1),e._v(" "),a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12"},[a("TransactionAccount",e._g({attrs:{"destination-allowed-types":e.destinationAllowedTypes,errors:e.transaction.errors.destination,index:e.index,"transaction-type":e.transactionType,"source-allowed-types":e.sourceAllowedTypes,direction:"destination"},model:{value:e.destinationAccount,callback:function(t){e.destinationAccount=t},expression:"destinationAccount"}},e.$listeners))],1)]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12"},[a("TransactionAmount",e._g({attrs:{amount:e.transaction.amount,"destination-currency-symbol":this.transaction.destination_account_currency_symbol,errors:e.transaction.errors.amount,index:e.index,"source-currency-symbol":this.transaction.source_account_currency_symbol,"transaction-type":this.transactionType}},e.$listeners))],1),e._v(" "),a("div",{staticClass:"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block"},[a("TransactionForeignCurrency",e._g({attrs:{"destination-currency-id":this.transaction.destination_account_currency_id,index:e.index,"selected-currency-id":this.transaction.foreign_currency_id,"source-currency-id":this.transaction.source_account_currency_id,"transaction-type":this.transactionType},model:{value:e.transaction.foreign_currency_id,callback:function(t){e.$set(e.transaction,"foreign_currency_id",t)},expression:"transaction.foreign_currency_id"}},e.$listeners))],1),e._v(" "),a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12"},[a("TransactionForeignAmount",e._g({attrs:{"destination-currency-id":this.transaction.destination_account_currency_id,errors:e.transaction.errors.foreign_amount,index:e.index,"selected-currency-id":this.transaction.foreign_currency_id,"source-currency-id":this.transaction.source_account_currency_id,"transaction-type":this.transactionType},model:{value:e.transaction.foreign_amount,callback:function(t){e.$set(e.transaction,"foreign_amount",t)},expression:"transaction.foreign_amount"}},e.$listeners))],1)]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12"},[a("TransactionDate",e._g({attrs:{date:e.splitDate,errors:e.transaction.errors.date,index:e.index}},e.$listeners))],1),e._v(" "),a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12 offset-xl-2 offset-lg-2"},[a("TransactionCustomDates",e._g({attrs:{"book-date":e.transaction.book_date,"custom-fields":e.customFields,"due-date":e.transaction.due_date,errors:e.transaction.errors.custom_dates,index:e.index,"interest-date":e.transaction.interest_date,"invoice-date":e.transaction.invoice_date,"payment-date":e.transaction.payment_date,"process-date":e.transaction.process_date},on:{"update:customFields":function(t){e.customFields=t},"update:custom-fields":function(t){e.customFields=t}}},e.$listeners))],1)])])])])]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[e._v("\n "+e._s(e.$t("firefly.transaction_journal_meta"))+"\n "),e.count>1?a("span",[e._v("("+e._s(e.index+1)+" / "+e._s(e.count)+") ")]):e._e()])]),e._v(" "),a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},["Transfer"!==e.transactionType&&"Deposit"!==e.transactionType?a("TransactionBudget",e._g({attrs:{errors:e.transaction.errors.budget,index:e.index},model:{value:e.transaction.budget_id,callback:function(t){e.$set(e.transaction,"budget_id",t)},expression:"transaction.budget_id"}},e.$listeners)):e._e(),e._v(" "),a("TransactionCategory",e._g({attrs:{errors:e.transaction.errors.category,index:e.index},model:{value:e.transaction.category,callback:function(t){e.$set(e.transaction,"category",t)},expression:"transaction.category"}},e.$listeners))],1),e._v(" "),a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},["Transfer"!==e.transactionType&&"Deposit"!==e.transactionType?a("TransactionBill",e._g({attrs:{errors:e.transaction.errors.bill,index:e.index},model:{value:e.transaction.bill_id,callback:function(t){e.$set(e.transaction,"bill_id",t)},expression:"transaction.bill_id"}},e.$listeners)):e._e(),e._v(" "),a("TransactionTags",e._g({attrs:{errors:e.transaction.errors.tags,index:e.index},model:{value:e.transaction.tags,callback:function(t){e.$set(e.transaction,"tags",t)},expression:"transaction.tags"}},e.$listeners)),e._v(" "),"Withdrawal"!==e.transactionType&&"Deposit"!==e.transactionType?a("TransactionPiggyBank",e._g({attrs:{errors:e.transaction.errors.piggy_bank,index:e.index},model:{value:e.transaction.piggy_bank_id,callback:function(t){e.$set(e.transaction,"piggy_bank_id",t)},expression:"transaction.piggy_bank_id"}},e.$listeners)):e._e()],1)])])])])]),e._v(" "),e.hasMetaFields?a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[e._v("\n "+e._s(e.$t("firefly.transaction_journal_extra"))+"\n "),e.count>1?a("span",[e._v("("+e._s(e.index+1)+" / "+e._s(e.count)+") ")]):e._e()])]),e._v(" "),a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("TransactionInternalReference",e._g({attrs:{"custom-fields":e.customFields,errors:e.transaction.errors.internal_reference,index:e.index},on:{"update:customFields":function(t){e.customFields=t},"update:custom-fields":function(t){e.customFields=t}},model:{value:e.transaction.internal_reference,callback:function(t){e.$set(e.transaction,"internal_reference",t)},expression:"transaction.internal_reference"}},e.$listeners)),e._v(" "),a("TransactionExternalUrl",e._g({attrs:{"custom-fields":e.customFields,errors:e.transaction.errors.external_url,index:e.index},on:{"update:customFields":function(t){e.customFields=t},"update:custom-fields":function(t){e.customFields=t}},model:{value:e.transaction.external_url,callback:function(t){e.$set(e.transaction,"external_url",t)},expression:"transaction.external_url"}},e.$listeners)),e._v(" "),a("TransactionNotes",e._g({attrs:{"custom-fields":e.customFields,errors:e.transaction.errors.notes,index:e.index},on:{"update:customFields":function(t){e.customFields=t},"update:custom-fields":function(t){e.customFields=t}},model:{value:e.transaction.notes,callback:function(t){e.$set(e.transaction,"notes",t)},expression:"transaction.notes"}},e.$listeners))],1),e._v(" "),a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("TransactionAttachments",e._g({ref:"attachments",attrs:{"custom-fields":e.customFields,index:e.index,submitted_transaction:e.submittedTransaction,transaction_journal_id:e.transaction.transaction_journal_id},on:{"update:customFields":function(t){e.customFields=t},"update:custom-fields":function(t){e.customFields=t}},model:{value:e.transaction.attachments,callback:function(t){e.$set(e.transaction,"attachments",t)},expression:"transaction.attachments"}},e.$listeners)),e._v(" "),a("TransactionLocation",e._g({attrs:{"custom-fields":e.customFields,errors:e.transaction.errors.location,index:e.index},on:{"update:customFields":function(t){e.customFields=t},"update:custom-fields":function(t){e.customFields=t}},model:{value:e.transaction.location,callback:function(t){e.$set(e.transaction,"location",t)},expression:"transaction.location"}},e.$listeners)),e._v(" "),a("TransactionLinks",e._g({attrs:{"custom-fields":e.customFields,index:e.index},on:{"update:customFields":function(t){e.customFields=t},"update:custom-fields":function(t){e.customFields=t}},model:{value:e.transaction.links,callback:function(t){e.$set(e.transaction,"links",t)},expression:"transaction.links"}},e.$listeners))],1)])])])])]):e._e()])}),[],!1,null,null,null).exports},7661:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});const n={name:"SplitPills",props:["transactions"]};const o=(0,a(1900).Z)(n,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.transactions.length>1?a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("ul",{staticClass:"nav nav-pills ml-auto p-2"},e._l(this.transactions,(function(t,n){return a("li",{staticClass:"nav-item"},[a("a",{class:"nav-link"+(0===n?" active":""),attrs:{href:"#split_"+n,"data-toggle":"tab"}},[""!==t.description?a("span",[e._v(e._s(t.description))]):e._e(),e._v(" "),""===t.description?a("span",[e._v("Split "+e._s(n+1))]):e._e()])])})),0)])]):e._e()}),[],!1,null,null,null).exports},5524:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(3533),o=a(6486);const s={props:["value","errors"],name:"TransactionGroupTitle",components:{VueTypeaheadBootstrap:n.Z},data:function(){return{descriptions:[],initialSet:[],title:this.value,emitEvent:!0}},created:function(){var e=this;axios.get(this.getACURL("")).then((function(t){e.descriptions=t.data,e.initialSet=t.data}))},watch:{value:function(e){this.title=e},title:function(e){this.$emit("set-group-title",e)}},methods:{clearDescription:function(){this.title=""},getACURL:function(e){return document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/transactions?query="+e},lookupDescription:(0,o.debounce)((function(){var e=this;axios.get(this.getACURL(this.title)).then((function(t){e.descriptions=t.data}))}),300)}};const i=(0,a(1900).Z)(s,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.split_transaction_title"))+"\n ")]),e._v(" "),a("vue-typeahead-bootstrap",{attrs:{data:e.descriptions,inputClass:e.errors.length>0?"is-invalid":"",minMatchingChars:3,placeholder:e.$t("firefly.split_transaction_title"),serializer:function(e){return e.description},showOnFocus:!0,inputName:"group_title"},on:{input:e.lookupDescription},model:{value:e.title,callback:function(t){e.title=t},expression:"title"}},[a("template",{slot:"append"},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"},on:{click:e.clearDescription}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()],1)}),[],!1,null,"273271bf",null).exports},4936:(e,t,a)=>{var n=a(6665);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,a(5346).Z)("bf9ab7ac",n,!0,{})},7154:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Прехвърляне","Withdrawal":"Теглене","Deposit":"Депозит","date_and_time":"Date and time","no_currency":"(без валута)","date":"Дата","time":"Time","no_budget":"(без бюджет)","destination_account":"Приходна сметка","source_account":"Разходна сметка","single_split":"Раздел","create_new_transaction":"Create a new transaction","balance":"Салдо","transaction_journal_extra":"Extra information","transaction_journal_meta":"Мета информация","basic_journal_information":"Basic transaction information","bills_to_pay":"Сметки за плащане","left_to_spend":"Останали за харчене","attachments":"Прикачени файлове","net_worth":"Нетна стойност","bill":"Сметка","no_bill":"(няма сметка)","tags":"Етикети","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(без касичка)","paid":"Платени","notes":"Бележки","yourAccounts":"Вашите сметки","go_to_asset_accounts":"Вижте активите си","delete_account":"Изтриване на профил","transaction_table_description":"Таблица съдържаща вашите транзакции","account":"Сметка","description":"Описание","amount":"Сума","budget":"Бюджет","category":"Категория","opposing_account":"Противоположна сметка","budgets":"Бюджети","categories":"Категории","go_to_budgets":"Вижте бюджетите си","income":"Приходи","go_to_deposits":"Отиди в депозити","go_to_categories":"Виж категориите си","expense_accounts":"Сметки за разходи","go_to_expenses":"Отиди в Разходи","go_to_bills":"Виж сметките си","bills":"Сметки","last_thirty_days":"Последните трийсет дни","last_seven_days":"Последните седем дни","go_to_piggies":"Виж касичките си","saved":"Записан","piggy_banks":"Касички","piggy_bank":"Касичка","amounts":"Суми","left":"Останали","spent":"Похарчени","Default asset account":"Сметка за активи по подразбиране","search_results":"Резултати от търсенето","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Сметка за активи по подразбиране","account_role_savingAsset":"Спестовна сметка","account_role_sharedAsset":"Сметка за споделени активи","clear_location":"Изчисти местоположението","account_role_ccAsset":"Кредитна карта","account_role_cashWalletAsset":"Паричен портфейл","daily_budgets":"Дневни бюджети","weekly_budgets":"Седмични бюджети","monthly_budgets":"Месечни бюджети","quarterly_budgets":"Тримесечни бюджети","create_new_expense":"Създай нова сметка за разходи","create_new_revenue":"Създай нова сметка за приходи","create_new_liabilities":"Create new liability","half_year_budgets":"Шестмесечни бюджети","yearly_budgets":"Годишни бюджети","split_transaction_title":"Описание на разделена транзакция","errors_submission":"Имаше нещо нередно с вашите данни. Моля, проверете грешките.","flash_error":"Грешка!","store_transaction":"Store transaction","flash_success":"Успех!","create_another":"След съхраняването се върнете тук, за да създадете нова.","update_transaction":"Обнови транзакцията","after_update_create_another":"След обновяването се върнете тук, за да продължите с редакцията.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Търсене","create_new_asset":"Създай нова сметка за активи","asset_accounts":"Сметки за активи","reset_after":"Изчистване на формуляра след изпращане","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID}(\\"{title}\\")</a> беше записана.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Местоположение","other_budgets":"Времево персонализирани бюджети","journal_links":"Връзки на транзакция","go_to_withdrawals":"Вижте тегленията си","revenue_accounts":"Сметки за приходи","add_another_split":"Добавяне на друг раздел","actions":"Действия","edit":"Промени","account_type_Loan":"Заем","account_type_Mortgage":"Ипотека","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Дълг","delete":"Изтрий","store_new_asset_account":"Запамети нова сметка за активи","store_new_expense_account":"Запамети нова сметка за разходи","store_new_liabilities_account":"Запамети ново задължение","store_new_revenue_account":"Запамети нова сметка за приходи","mandatoryFields":"Задължителни полета","optionalFields":"Незадължителни полета","reconcile_this_account":"Съгласувай тази сметка","interest_calc_weekly":"Per week","interest_calc_monthly":"На месец","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Годишно","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(нищо)"},"list":{"piggy_bank":"Касичка","percentage":"%","amount":"Сума","name":"Име","role":"Привилегии","iban":"IBAN","currentBalance":"Текущ баланс","next_expected_match":"Следващo очакванo съвпадение"},"config":{"html_language":"bg"},"form":{"foreign_amount":"Сума във валута","interest_date":"Падеж на лихва","name":"Име","amount":"Сума","iban":"IBAN","BIC":"BIC","notes":"Бележки","location":"Местоположение","attachments":"Прикачени файлове","active":"Активен","include_net_worth":"Включи в общото богатство","account_number":"Номер на сметка","virtual_balance":"Виртуален баланс","opening_balance":"Начално салдо","opening_balance_date":"Дата на началното салдо","date":"Дата","interest":"Лихва","interest_period":"Лихвен период","currency_id":"Валута","liability_type":"Liability type","account_role":"Роля на сметката","liability_direction":"Liability in/out","book_date":"Дата на осчетоводяване","permDeleteWarning":"Изтриването на неща от Firefly III е постоянно и не може да бъде възстановено.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Дата на обработка","due_date":"Дата на падеж","payment_date":"Дата на плащане","invoice_date":"Дата на фактура"}}')},6407:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Převod","Withdrawal":"Výběr","Deposit":"Vklad","date_and_time":"Datum a čas","no_currency":"(žádná měna)","date":"Datum","time":"Čas","no_budget":"(žádný rozpočet)","destination_account":"Cílový účet","source_account":"Zdrojový účet","single_split":"Rozdělit","create_new_transaction":"Vytvořit novou transakci","balance":"Zůstatek","transaction_journal_extra":"Více informací","transaction_journal_meta":"Meta informace","basic_journal_information":"Basic transaction information","bills_to_pay":"Faktury k zaplacení","left_to_spend":"Zbývá k utracení","attachments":"Přílohy","net_worth":"Čisté jmění","bill":"Účet","no_bill":"(no bill)","tags":"Štítky","internal_reference":"Interní odkaz","external_url":"Externí URL adresa","no_piggy_bank":"(žádná pokladnička)","paid":"Zaplaceno","notes":"Poznámky","yourAccounts":"Vaše účty","go_to_asset_accounts":"Zobrazit účty s aktivy","delete_account":"Smazat účet","transaction_table_description":"A table containing your transactions","account":"Účet","description":"Popis","amount":"Částka","budget":"Rozpočet","category":"Kategorie","opposing_account":"Protiúčet","budgets":"Rozpočty","categories":"Kategorie","go_to_budgets":"Přejít k rozpočtům","income":"Odměna/příjem","go_to_deposits":"Přejít na vklady","go_to_categories":"Přejít ke kategoriím","expense_accounts":"Výdajové účty","go_to_expenses":"Přejít na výdaje","go_to_bills":"Přejít k účtům","bills":"Účty","last_thirty_days":"Uplynulých 30 dní","last_seven_days":"Uplynulých 7 dnů","go_to_piggies":"Přejít k pokladničkám","saved":"Uloženo","piggy_banks":"Pokladničky","piggy_bank":"Pokladnička","amounts":"Amounts","left":"Zbývá","spent":"Utraceno","Default asset account":"Výchozí účet s aktivy","search_results":"Výsledky hledání","include":"Include?","transaction":"Transakce","account_role_defaultAsset":"Výchozí účet aktiv","account_role_savingAsset":"Spořicí účet","account_role_sharedAsset":"Sdílený účet aktiv","clear_location":"Vymazat umístění","account_role_ccAsset":"Kreditní karta","account_role_cashWalletAsset":"Peněženka","daily_budgets":"Denní rozpočty","weekly_budgets":"Týdenní rozpočty","monthly_budgets":"Měsíční rozpočty","quarterly_budgets":"Čtvrtletní rozpočty","create_new_expense":"Vytvořit výdajový účet","create_new_revenue":"Vytvořit nový příjmový účet","create_new_liabilities":"Create new liability","half_year_budgets":"Pololetní rozpočty","yearly_budgets":"Roční rozpočty","split_transaction_title":"Popis rozúčtování","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Chyba!","store_transaction":"Store transaction","flash_success":"Úspěšně dokončeno!","create_another":"After storing, return here to create another one.","update_transaction":"Aktualizovat transakci","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hledat","create_new_asset":"Vytvořit nový účet aktiv","asset_accounts":"Účty aktiv","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Vlastní období","reset_to_current":"Obnovit aktuální období","select_period":"Vyberte období","location":"Umístění","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Přejít na výběry","revenue_accounts":"Příjmové účty","add_another_split":"Přidat další rozúčtování","actions":"Akce","edit":"Upravit","account_type_Loan":"Půjčka","account_type_Mortgage":"Hypotéka","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Dluh","delete":"Odstranit","store_new_asset_account":"Uložit nový účet aktiv","store_new_expense_account":"Uložit nový výdajový účet","store_new_liabilities_account":"Uložit nový závazek","store_new_revenue_account":"Uložit nový příjmový účet","mandatoryFields":"Povinné kolonky","optionalFields":"Volitelné kolonky","reconcile_this_account":"Vyúčtovat tento účet","interest_calc_weekly":"Per week","interest_calc_monthly":"Za měsíc","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Za rok","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(žádné)"},"list":{"piggy_bank":"Pokladnička","percentage":"%","amount":"Částka","name":"Jméno","role":"Role","iban":"IBAN","currentBalance":"Aktuální zůstatek","next_expected_match":"Další očekávaná shoda"},"config":{"html_language":"cs"},"form":{"foreign_amount":"Částka v cizí měně","interest_date":"Úrokové datum","name":"Název","amount":"Částka","iban":"IBAN","BIC":"BIC","notes":"Poznámky","location":"Údaje o poloze","attachments":"Přílohy","active":"Aktivní","include_net_worth":"Zahrnout do čistého jmění","account_number":"Číslo účtu","virtual_balance":"Virtuální zůstatek","opening_balance":"Počáteční zůstatek","opening_balance_date":"Datum počátečního zůstatku","date":"Datum","interest":"Úrok","interest_period":"Úrokové období","currency_id":"Měna","liability_type":"Liability type","account_role":"Role účtu","liability_direction":"Liability in/out","book_date":"Datum rezervace","permDeleteWarning":"Odstranění věcí z Firefly III je trvalé a nelze vrátit zpět.","account_areYouSure_js":"Jste si jisti, že chcete odstranit účet s názvem \\"{name}\\"?","also_delete_piggyBanks_js":"Žádné pokladničky|Jediná pokladnička připojená k tomuto účtu bude také odstraněna. Všech {count} pokladniček, které jsou připojeny k tomuto účtu, bude také odstraněno.","also_delete_transactions_js":"Žádné transakce|Jediná transakce připojená k tomuto účtu bude také smazána.|Všech {count} transakcí připojených k tomuto účtu bude také odstraněno.","process_date":"Datum zpracování","due_date":"Datum splatnosti","payment_date":"Datum zaplacení","invoice_date":"Datum vystavení"}}')},4726:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Umbuchung","Withdrawal":"Ausgabe","Deposit":"Einnahme","date_and_time":"Datum und Uhrzeit","no_currency":"(ohne Währung)","date":"Datum","time":"Uhrzeit","no_budget":"(kein Budget)","destination_account":"Zielkonto","source_account":"Quellkonto","single_split":"Teil","create_new_transaction":"Neue Buchung erstellen","balance":"Kontostand","transaction_journal_extra":"Zusätzliche Informationen","transaction_journal_meta":"Metainformationen","basic_journal_information":"Allgemeine Buchungsinformationen","bills_to_pay":"Unbezahlte Rechnungen","left_to_spend":"Verbleibend zum Ausgeben","attachments":"Anhänge","net_worth":"Eigenkapital","bill":"Rechnung","no_bill":"(keine Belege)","tags":"Schlagwörter","internal_reference":"Interner Verweis","external_url":"Externe URL","no_piggy_bank":"(kein Sparschwein)","paid":"Bezahlt","notes":"Notizen","yourAccounts":"Deine Konten","go_to_asset_accounts":"Bestandskonten anzeigen","delete_account":"Konto löschen","transaction_table_description":"Eine Tabelle mit Ihren Buchungen","account":"Konto","description":"Beschreibung","amount":"Betrag","budget":"Budget","category":"Kategorie","opposing_account":"Gegenkonto","budgets":"Budgets","categories":"Kategorien","go_to_budgets":"Budgets anzeigen","income":"Einnahmen / Einkommen","go_to_deposits":"Zu Einlagen wechseln","go_to_categories":"Kategorien anzeigen","expense_accounts":"Ausgabekonten","go_to_expenses":"Zu Ausgaben wechseln","go_to_bills":"Rechnungen anzeigen","bills":"Rechnungen","last_thirty_days":"Letzte 30 Tage","last_seven_days":"Letzte sieben Tage","go_to_piggies":"Sparschweine anzeigen","saved":"Gespeichert","piggy_banks":"Sparschweine","piggy_bank":"Sparschwein","amounts":"Beträge","left":"Übrig","spent":"Ausgegeben","Default asset account":"Standard-Bestandskonto","search_results":"Suchergebnisse","include":"Inbegriffen?","transaction":"Überweisung","account_role_defaultAsset":"Standard-Bestandskonto","account_role_savingAsset":"Sparkonto","account_role_sharedAsset":"Gemeinsames Bestandskonto","clear_location":"Ort leeren","account_role_ccAsset":"Kreditkarte","account_role_cashWalletAsset":"Geldbörse","daily_budgets":"Tagesbudgets","weekly_budgets":"Wochenbudgets","monthly_budgets":"Monatsbudgets","quarterly_budgets":"Quartalsbudgets","create_new_expense":"Neues Ausgabenkonto erstellen","create_new_revenue":"Neues Einnahmenkonto erstellen","create_new_liabilities":"Neue Verbindlichkeit anlegen","half_year_budgets":"Halbjahresbudgets","yearly_budgets":"Jahresbudgets","split_transaction_title":"Beschreibung der Splittbuchung","errors_submission":"Ihre Übermittlung ist fehlgeschlagen. Bitte überprüfen Sie die Fehler.","flash_error":"Fehler!","store_transaction":"Buchung speichern","flash_success":"Geschafft!","create_another":"Nach dem Speichern hierher zurückkehren, um ein weiteres zu erstellen.","update_transaction":"Buchung aktualisieren","after_update_create_another":"Nach dem Aktualisieren hierher zurückkehren, um weiter zu bearbeiten.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde nicht verändert.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde aktualisiert.","spent_x_of_y":"{amount} von {total} ausgegeben","search":"Suche","create_new_asset":"Neues Bestandskonto erstellen","asset_accounts":"Bestandskonten","reset_after":"Formular nach der Übermittlung zurücksetzen","bill_paid_on":"Bezahlt am {date}","first_split_decides":"Die erste Aufteilung bestimmt den Wert dieses Feldes","first_split_overrules_source":"Die erste Aufteilung könnte das Quellkonto überschreiben","first_split_overrules_destination":"Die erste Aufteilung könnte das Zielkonto überschreiben","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Buchung #{ID} (\\"{title}\\")</a> wurde gespeichert.","custom_period":"Benutzerdefinierter Zeitraum","reset_to_current":"Auf aktuellen Zeitraum zurücksetzen","select_period":"Zeitraum auswählen","location":"Standort","other_budgets":"Zeitlich befristete Budgets","journal_links":"Buchungsverknüpfungen","go_to_withdrawals":"Ausgaben anzeigen","revenue_accounts":"Einnahmekonten","add_another_split":"Eine weitere Aufteilung hinzufügen","actions":"Aktionen","edit":"Bearbeiten","account_type_Loan":"Darlehen","account_type_Mortgage":"Hypothek","stored_new_account_js":"Neues Konto \\"<a href=\\"accounts/show/{ID}\\">„{name}”</a>\\" gespeichert!","account_type_Debt":"Schuld","delete":"Löschen","store_new_asset_account":"Neues Bestandskonto speichern","store_new_expense_account":"Neues Ausgabenkonto speichern","store_new_liabilities_account":"Neue Verbindlichkeit speichern","store_new_revenue_account":"Neues Einnahmenkonto speichern","mandatoryFields":"Pflichtfelder","optionalFields":"Optionale Felder","reconcile_this_account":"Dieses Konto abgleichen","interest_calc_weekly":"Pro Woche","interest_calc_monthly":"Monatlich","interest_calc_quarterly":"Vierteljährlich","interest_calc_half-year":"Halbjährlich","interest_calc_yearly":"Jährlich","liability_direction_credit":"Mir wird dies geschuldet","liability_direction_debit":"Ich schulde dies jemandem","save_transactions_by_moving_js":"Keine Buchungen|Speichern Sie diese Buchung, indem Sie sie auf ein anderes Konto verschieben. |Speichern Sie diese Buchungen, indem Sie sie auf ein anderes Konto verschieben.","none_in_select_list":"(Keine)"},"list":{"piggy_bank":"Sparschwein","percentage":"%","amount":"Betrag","name":"Name","role":"Rolle","iban":"IBAN","currentBalance":"Aktueller Kontostand","next_expected_match":"Nächste erwartete Übereinstimmung"},"config":{"html_language":"de"},"form":{"foreign_amount":"Ausländischer Betrag","interest_date":"Zinstermin","name":"Name","amount":"Betrag","iban":"IBAN","BIC":"BIC","notes":"Notizen","location":"Herkunft","attachments":"Anhänge","active":"Aktiv","include_net_worth":"Im Eigenkapital enthalten","account_number":"Kontonummer","virtual_balance":"Virtueller Kontostand","opening_balance":"Eröffnungsbilanz","opening_balance_date":"Eröffnungsbilanzdatum","date":"Datum","interest":"Zinsen","interest_period":"Verzinsungszeitraum","currency_id":"Währung","liability_type":"Art der Verbindlichkeit","account_role":"Kontenfunktion","liability_direction":"Verbindlichkeit Ein/Aus","book_date":"Buchungsdatum","permDeleteWarning":"Das Löschen von Dingen in Firefly III ist dauerhaft und kann nicht rückgängig gemacht werden.","account_areYouSure_js":"Möchten Sie das Konto „{name}” wirklich löschen?","also_delete_piggyBanks_js":"Keine Sparschweine|Das einzige Sparschwein, welches mit diesem Konto verbunden ist, wird ebenfalls gelöscht.|Alle {count} Sparschweine, welche mit diesem Konto verbunden sind, werden ebenfalls gelöscht.","also_delete_transactions_js":"Keine Buchungen|Die einzige Buchung, die mit diesem Konto verbunden ist, wird ebenfalls gelöscht.|Alle {count} Buchungen, die mit diesem Konto verbunden sind, werden ebenfalls gelöscht.","process_date":"Bearbeitungsdatum","due_date":"Fälligkeitstermin","payment_date":"Zahlungsdatum","invoice_date":"Rechnungsdatum"}}')},3636:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Μεταφορά","Withdrawal":"Ανάληψη","Deposit":"Κατάθεση","date_and_time":"Ημερομηνία και ώρα","no_currency":"(χωρίς νόμισμα)","date":"Ημερομηνία","time":"Ώρα","no_budget":"(χωρίς προϋπολογισμό)","destination_account":"Λογαριασμός προορισμού","source_account":"Λογαριασμός προέλευσης","single_split":"Διαχωρισμός","create_new_transaction":"Δημιουργία μιας νέας συναλλαγής","balance":"Ισοζύγιο","transaction_journal_extra":"Περισσότερες πληροφορίες","transaction_journal_meta":"Πληροφορίες μεταδεδομένων","basic_journal_information":"Βασικές πληροφορίες συναλλαγής","bills_to_pay":"Πάγια έξοδα προς πληρωμή","left_to_spend":"Διαθέσιμα προϋπολογισμών","attachments":"Συνημμένα","net_worth":"Καθαρή αξία","bill":"Πάγιο έξοδο","no_bill":"(χωρίς πάγιο έξοδο)","tags":"Ετικέτες","internal_reference":"Εσωτερική αναφορά","external_url":"Εξωτερικό URL","no_piggy_bank":"(χωρίς κουμπαρά)","paid":"Πληρωμένο","notes":"Σημειώσεις","yourAccounts":"Οι λογαριασμοί σας","go_to_asset_accounts":"Δείτε τους λογαριασμούς κεφαλαίου σας","delete_account":"Διαγραφή λογαριασμού","transaction_table_description":"Ένας πίνακας με τις συναλλαγές σας","account":"Λογαριασμός","description":"Περιγραφή","amount":"Ποσό","budget":"Προϋπολογισμός","category":"Κατηγορία","opposing_account":"Έναντι λογαριασμός","budgets":"Προϋπολογισμοί","categories":"Κατηγορίες","go_to_budgets":"Πηγαίνετε στους προϋπολογισμούς σας","income":"Έσοδα","go_to_deposits":"Πηγαίνετε στις καταθέσεις","go_to_categories":"Πηγαίνετε στις κατηγορίες σας","expense_accounts":"Δαπάνες","go_to_expenses":"Πηγαίνετε στις δαπάνες","go_to_bills":"Πηγαίνετε στα πάγια έξοδα","bills":"Πάγια έξοδα","last_thirty_days":"Τελευταίες τριάντα ημέρες","last_seven_days":"Τελευταίες επτά ημέρες","go_to_piggies":"Πηγαίνετε στους κουμπαράδες σας","saved":"Αποθηκεύτηκε","piggy_banks":"Κουμπαράδες","piggy_bank":"Κουμπαράς","amounts":"Ποσά","left":"Απομένουν","spent":"Δαπανήθηκαν","Default asset account":"Βασικός λογαριασμός κεφαλαίου","search_results":"Αποτελέσματα αναζήτησης","include":"Include?","transaction":"Συναλλαγή","account_role_defaultAsset":"Βασικός λογαριασμός κεφαλαίου","account_role_savingAsset":"Λογαριασμός αποταμίευσης","account_role_sharedAsset":"Κοινός λογαριασμός κεφαλαίου","clear_location":"Εκκαθάριση τοποθεσίας","account_role_ccAsset":"Πιστωτική κάρτα","account_role_cashWalletAsset":"Πορτοφόλι μετρητών","daily_budgets":"Ημερήσιοι προϋπολογισμοί","weekly_budgets":"Εβδομαδιαίοι προϋπολογισμοί","monthly_budgets":"Μηνιαίοι προϋπολογισμοί","quarterly_budgets":"Τριμηνιαίοι προϋπολογισμοί","create_new_expense":"Δημιουργία νέου λογαριασμού δαπανών","create_new_revenue":"Δημιουργία νέου λογαριασμού εσόδων","create_new_liabilities":"Create new liability","half_year_budgets":"Εξαμηνιαίοι προϋπολογισμοί","yearly_budgets":"Ετήσιοι προϋπολογισμοί","split_transaction_title":"Περιγραφή της συναλλαγής με διαχωρισμό","errors_submission":"Υπήρξε κάποιο λάθος με την υποβολή σας. Παρακαλώ ελέγξτε τα σφάλματα.","flash_error":"Σφάλμα!","store_transaction":"Αποθήκευση συναλλαγής","flash_success":"Επιτυχία!","create_another":"Μετά την αποθήκευση, επιστρέψτε εδώ για να δημιουργήσετε ακόμη ένα.","update_transaction":"Ενημέρωση συναλλαγής","after_update_create_another":"Μετά την ενημέρωση, επιστρέψτε εδώ για να συνεχίσετε την επεξεργασία.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID}</a> (\\"{title}\\") παρέμεινε χωρίς καμία αλλαγή.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID}</a> (\\"{title}\\") έχει ενημερωθεί.","spent_x_of_y":"Spent {amount} of {total}","search":"Αναζήτηση","create_new_asset":"Δημιουργία νέου λογαριασμού κεφαλαίου","asset_accounts":"Κεφάλαια","reset_after":"Επαναφορά φόρμας μετά την υποβολή","bill_paid_on":"Πληρώθηκε στις {date}","first_split_decides":"Ο πρώτος διαχωρισμός καθορίζει την τιμή αυτού του πεδίου","first_split_overrules_source":"Ο πρώτος διαχωρισμός ενδέχεται να παρακάμψει τον λογαριασμό προέλευσης","first_split_overrules_destination":"Ο πρώτος διαχωρισμός ενδέχεται να παρακάμψει τον λογαριασμό προορισμού","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID} (\\"{title}\\")</a> έχει αποθηκευτεί.","custom_period":"Προσαρμοσμένη περίοδος","reset_to_current":"Επαναφορά στην τρέχουσα περίοδο","select_period":"Επιλέξτε περίοδο","location":"Τοποθεσία","other_budgets":"Προϋπολογισμοί με χρονική προσαρμογή","journal_links":"Συνδέσεις συναλλαγών","go_to_withdrawals":"Πηγαίνετε στις αναλήψεις σας","revenue_accounts":"Έσοδα","add_another_split":"Προσθήκη ενός ακόμα διαχωρισμού","actions":"Ενέργειες","edit":"Επεξεργασία","account_type_Loan":"Δάνειο","account_type_Mortgage":"Υποθήκη","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Χρέος","delete":"Διαγραφή","store_new_asset_account":"Αποθήκευση νέου λογαριασμού κεφαλαίου","store_new_expense_account":"Αποθήκευση νέου λογαριασμού δαπανών","store_new_liabilities_account":"Αποθήκευση νέας υποχρέωσης","store_new_revenue_account":"Αποθήκευση νέου λογαριασμού εσόδων","mandatoryFields":"Υποχρεωτικά πεδία","optionalFields":"Προαιρετικά πεδία","reconcile_this_account":"Τακτοποίηση αυτού του λογαριασμού","interest_calc_weekly":"Per week","interest_calc_monthly":"Ανά μήνα","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Ανά έτος","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(τίποτα)"},"list":{"piggy_bank":"Κουμπαράς","percentage":"pct.","amount":"Ποσό","name":"Όνομα","role":"Ρόλος","iban":"IBAN","currentBalance":"Τρέχον υπόλοιπο","next_expected_match":"Επόμενη αναμενόμενη αντιστοίχιση"},"config":{"html_language":"el"},"form":{"foreign_amount":"Ποσό σε ξένο νόμισμα","interest_date":"Ημερομηνία τοκισμού","name":"Όνομα","amount":"Ποσό","iban":"IBAN","BIC":"BIC","notes":"Σημειώσεις","location":"Τοποθεσία","attachments":"Συνημμένα","active":"Ενεργό","include_net_worth":"Εντός καθαρής αξίας","account_number":"Αριθμός λογαριασμού","virtual_balance":"Εικονικό υπόλοιπο","opening_balance":"Υπόλοιπο έναρξης","opening_balance_date":"Ημερομηνία υπολοίπου έναρξης","date":"Ημερομηνία","interest":"Τόκος","interest_period":"Τοκιζόμενη περίοδος","currency_id":"Νόμισμα","liability_type":"Liability type","account_role":"Ρόλος λογαριασμού","liability_direction":"Liability in/out","book_date":"Ημερομηνία εγγραφής","permDeleteWarning":"Η διαγραφή στοιχείων από το Firefly III είναι μόνιμη και δεν μπορεί να αναιρεθεί.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Ημερομηνία επεξεργασίας","due_date":"Ημερομηνία προθεσμίας","payment_date":"Ημερομηνία πληρωμής","invoice_date":"Ημερομηνία τιμολόγησης"}}')},6318:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Withdrawal","Deposit":"Deposit","date_and_time":"Date and time","no_currency":"(no currency)","date":"Date","time":"Time","no_budget":"(no budget)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Balance","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta information","basic_journal_information":"Basic transaction information","bills_to_pay":"Bills to pay","left_to_spend":"Left to spend","attachments":"Attachments","net_worth":"Net worth","bill":"Bill","no_bill":"(no bill)","tags":"Tags","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Paid","notes":"Notes","yourAccounts":"Your accounts","go_to_asset_accounts":"View your asset accounts","delete_account":"Delete account","transaction_table_description":"A table containing your transactions","account":"Account","description":"Description","amount":"Amount","budget":"Budget","category":"Category","opposing_account":"Opposing account","budgets":"Budgets","categories":"Categories","go_to_budgets":"Go to your budgets","income":"Revenue / income","go_to_deposits":"Go to deposits","go_to_categories":"Go to your categories","expense_accounts":"Expense accounts","go_to_expenses":"Go to expenses","go_to_bills":"Go to your bills","bills":"Bills","last_thirty_days":"Last thirty days","last_seven_days":"Last seven days","go_to_piggies":"Go to your piggy banks","saved":"Saved","piggy_banks":"Piggy banks","piggy_bank":"Piggy bank","amounts":"Amounts","left":"Left","spent":"Spent","Default asset account":"Default asset account","search_results":"Search results","include":"Include?","transaction":"Transaction","account_role_defaultAsset":"Default asset account","account_role_savingAsset":"Savings account","account_role_sharedAsset":"Shared asset account","clear_location":"Clear location","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash wallet","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Create new expense account","create_new_revenue":"Create new revenue account","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Error!","store_transaction":"Store transaction","flash_success":"Success!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Search","create_new_asset":"Create new asset account","asset_accounts":"Asset accounts","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Location","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Revenue accounts","add_another_split":"Add another split","actions":"Actions","edit":"Edit","account_type_Loan":"Loan","account_type_Mortgage":"Mortgage","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Debt","delete":"Delete","store_new_asset_account":"Store new asset account","store_new_expense_account":"Store new expense account","store_new_liabilities_account":"Store new liability","store_new_revenue_account":"Store new revenue account","mandatoryFields":"Mandatory fields","optionalFields":"Optional fields","reconcile_this_account":"Reconcile this account","interest_calc_weekly":"Per week","interest_calc_monthly":"Per month","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Per year","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(none)"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","name":"Name","role":"Role","iban":"IBAN","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en-gb"},"form":{"foreign_amount":"Foreign amount","interest_date":"Interest date","name":"Name","amount":"Amount","iban":"IBAN","BIC":"BIC","notes":"Notes","location":"Location","attachments":"Attachments","active":"Active","include_net_worth":"Include in net worth","account_number":"Account number","virtual_balance":"Virtual balance","opening_balance":"Opening balance","opening_balance_date":"Opening balance date","date":"Date","interest":"Interest","interest_period":"Interest period","currency_id":"Currency","liability_type":"Liability type","account_role":"Account role","liability_direction":"Liability in/out","book_date":"Book date","permDeleteWarning":"Deleting stuff from Firefly III is permanent and cannot be undone.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},3340:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Withdrawal","Deposit":"Deposit","date_and_time":"Date and time","no_currency":"(no currency)","date":"Date","time":"Time","no_budget":"(no budget)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Balance","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta information","basic_journal_information":"Basic transaction information","bills_to_pay":"Bills to pay","left_to_spend":"Left to spend","attachments":"Attachments","net_worth":"Net worth","bill":"Bill","no_bill":"(no bill)","tags":"Tags","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Paid","notes":"Notes","yourAccounts":"Your accounts","go_to_asset_accounts":"View your asset accounts","delete_account":"Delete account","transaction_table_description":"A table containing your transactions","account":"Account","description":"Description","amount":"Amount","budget":"Budget","category":"Category","opposing_account":"Opposing account","budgets":"Budgets","categories":"Categories","go_to_budgets":"Go to your budgets","income":"Revenue / income","go_to_deposits":"Go to deposits","go_to_categories":"Go to your categories","expense_accounts":"Expense accounts","go_to_expenses":"Go to expenses","go_to_bills":"Go to your bills","bills":"Bills","last_thirty_days":"Last thirty days","last_seven_days":"Last seven days","go_to_piggies":"Go to your piggy banks","saved":"Saved","piggy_banks":"Piggy banks","piggy_bank":"Piggy bank","amounts":"Amounts","left":"Left","spent":"Spent","Default asset account":"Default asset account","search_results":"Search results","include":"Include?","transaction":"Transaction","account_role_defaultAsset":"Default asset account","account_role_savingAsset":"Savings account","account_role_sharedAsset":"Shared asset account","clear_location":"Clear location","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash wallet","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Create new expense account","create_new_revenue":"Create new revenue account","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Error!","store_transaction":"Store transaction","flash_success":"Success!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Search","create_new_asset":"Create new asset account","asset_accounts":"Asset accounts","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Location","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Revenue accounts","add_another_split":"Add another split","actions":"Actions","edit":"Edit","account_type_Loan":"Loan","account_type_Mortgage":"Mortgage","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Debt","delete":"Delete","store_new_asset_account":"Store new asset account","store_new_expense_account":"Store new expense account","store_new_liabilities_account":"Store new liability","store_new_revenue_account":"Store new revenue account","mandatoryFields":"Mandatory fields","optionalFields":"Optional fields","reconcile_this_account":"Reconcile this account","interest_calc_weekly":"Per week","interest_calc_monthly":"Per month","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Per year","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(none)"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","name":"Name","role":"Role","iban":"IBAN","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en"},"form":{"foreign_amount":"Foreign amount","interest_date":"Interest date","name":"Name","amount":"Amount","iban":"IBAN","BIC":"BIC","notes":"Notes","location":"Location","attachments":"Attachments","active":"Active","include_net_worth":"Include in net worth","account_number":"Account number","virtual_balance":"Virtual balance","opening_balance":"Opening balance","opening_balance_date":"Opening balance date","date":"Date","interest":"Interest","interest_period":"Interest period","currency_id":"Currency","liability_type":"Liability type","account_role":"Account role","liability_direction":"Liability in/out","book_date":"Book date","permDeleteWarning":"Deleting stuff from Firefly III is permanent and cannot be undone.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},5394:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Transferencia","Withdrawal":"Retiro","Deposit":"Depósito","date_and_time":"Fecha y hora","no_currency":"(sin moneda)","date":"Fecha","time":"Hora","no_budget":"(sin presupuesto)","destination_account":"Cuenta destino","source_account":"Cuenta origen","single_split":"División","create_new_transaction":"Crear una nueva transacción","balance":"Balance","transaction_journal_extra":"Información adicional","transaction_journal_meta":"Información Meta","basic_journal_information":"Información básica de transacción","bills_to_pay":"Facturas por pagar","left_to_spend":"Disponible para gastar","attachments":"Archivos adjuntos","net_worth":"Valor Neto","bill":"Factura","no_bill":"(sin factura)","tags":"Etiquetas","internal_reference":"Referencia interna","external_url":"URL externa","no_piggy_bank":"(sin hucha)","paid":"Pagado","notes":"Notas","yourAccounts":"Tus cuentas","go_to_asset_accounts":"Ver tus cuentas de activos","delete_account":"Eliminar cuenta","transaction_table_description":"Una tabla que contiene sus transacciones","account":"Cuenta","description":"Descripción","amount":"Cantidad","budget":"Presupuesto","category":"Categoria","opposing_account":"Cuenta opuesta","budgets":"Presupuestos","categories":"Categorías","go_to_budgets":"Ir a tus presupuestos","income":"Ingresos / salarios","go_to_deposits":"Ir a depósitos","go_to_categories":"Ir a tus categorías","expense_accounts":"Cuentas de gastos","go_to_expenses":"Ir a gastos","go_to_bills":"Ir a tus cuentas","bills":"Facturas","last_thirty_days":"Últimos treinta días","last_seven_days":"Últimos siete días","go_to_piggies":"Ir a tu hucha","saved":"Guardado","piggy_banks":"Huchas","piggy_bank":"Hucha","amounts":"Importes","left":"Disponible","spent":"Gastado","Default asset account":"Cuenta de ingresos por defecto","search_results":"Buscar resultados","include":"Include?","transaction":"Transaccion","account_role_defaultAsset":"Cuentas de ingresos por defecto","account_role_savingAsset":"Cuentas de ahorros","account_role_sharedAsset":"Cuenta de ingresos compartida","clear_location":"Eliminar ubicación","account_role_ccAsset":"Tarjeta de Crédito","account_role_cashWalletAsset":"Billetera de efectivo","daily_budgets":"Presupuestos diarios","weekly_budgets":"Presupuestos semanales","monthly_budgets":"Presupuestos mensuales","quarterly_budgets":"Presupuestos trimestrales","create_new_expense":"Crear nueva cuenta de gastos","create_new_revenue":"Crear nueva cuenta de ingresos","create_new_liabilities":"Crear nuevo pasivo","half_year_budgets":"Presupuestos semestrales","yearly_budgets":"Presupuestos anuales","split_transaction_title":"Descripción de la transacción dividida","errors_submission":"Hubo un problema con su envío. Por favor, compruebe los errores.","flash_error":"¡Error!","store_transaction":"Guardar transacción","flash_success":"¡Operación correcta!","create_another":"Después de guardar, vuelve aquí para crear otro.","update_transaction":"Actualizar transacción","after_update_create_another":"Después de actualizar, vuelve aquí para continuar editando.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID}</a> (\\"{title}\\") no recibió ningún cambio.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID}</a> (\\"{title}\\") ha sido actualizada.","spent_x_of_y":"{amount} gastado de {total}","search":"Buscar","create_new_asset":"Crear nueva cuenta de activos","asset_accounts":"Cuenta de activos","reset_after":"Restablecer formulario después del envío","bill_paid_on":"Pagado el {date}","first_split_decides":"La primera división determina el valor de este campo","first_split_overrules_source":"La primera división puede anular la cuenta de origen","first_split_overrules_destination":"La primera división puede anular la cuenta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID} (\\"{title}\\")</a> ha sido almacenada.","custom_period":"Período personalizado","reset_to_current":"Restablecer al período actual","select_period":"Seleccione un período","location":"Ubicación","other_budgets":"Presupuestos de tiempo personalizado","journal_links":"Enlaces de transacciones","go_to_withdrawals":"Ir a tus retiradas","revenue_accounts":"Cuentas de ingresos","add_another_split":"Añadir otra división","actions":"Acciones","edit":"Editar","account_type_Loan":"Préstamo","account_type_Mortgage":"Hipoteca","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Deuda","delete":"Eliminar","store_new_asset_account":"Crear cuenta de activos","store_new_expense_account":"Crear cuenta de gastos","store_new_liabilities_account":"Crear nuevo pasivo","store_new_revenue_account":"Crear cuenta de ingresos","mandatoryFields":"Campos obligatorios","optionalFields":"Campos opcionales","reconcile_this_account":"Reconciliar esta cuenta","interest_calc_weekly":"Per week","interest_calc_monthly":"Por mes","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Por año","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(ninguno)"},"list":{"piggy_bank":"Alcancilla","percentage":"pct.","amount":"Monto","name":"Nombre","role":"Rol","iban":"IBAN","currentBalance":"Balance actual","next_expected_match":"Próxima coincidencia esperada"},"config":{"html_language":"es"},"form":{"foreign_amount":"Cantidad extranjera","interest_date":"Fecha de interés","name":"Nombre","amount":"Importe","iban":"IBAN","BIC":"BIC","notes":"Notas","location":"Ubicación","attachments":"Adjuntos","active":"Activo","include_net_worth":"Incluir en valor neto","account_number":"Número de cuenta","virtual_balance":"Saldo virtual","opening_balance":"Saldo inicial","opening_balance_date":"Fecha del saldo inicial","date":"Fecha","interest":"Interés","interest_period":"Período de interés","currency_id":"Divisa","liability_type":"Liability type","account_role":"Rol de cuenta","liability_direction":"Liability in/out","book_date":"Fecha de registro","permDeleteWarning":"Eliminar cosas de Firefly III es permanente y no se puede deshacer.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Fecha de procesamiento","due_date":"Fecha de vencimiento","payment_date":"Fecha de pago","invoice_date":"Fecha de la factura"}}')},7868:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Siirto","Withdrawal":"Nosto","Deposit":"Talletus","date_and_time":"Date and time","no_currency":"(ei valuuttaa)","date":"Päivämäärä","time":"Time","no_budget":"(ei budjettia)","destination_account":"Kohdetili","source_account":"Lähdetili","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metatiedot","basic_journal_information":"Basic transaction information","bills_to_pay":"Laskuja maksettavana","left_to_spend":"Käytettävissä","attachments":"Liitteet","net_worth":"Varallisuus","bill":"Lasku","no_bill":"(no bill)","tags":"Tägit","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(ei säästöpossu)","paid":"Maksettu","notes":"Muistiinpanot","yourAccounts":"Omat tilisi","go_to_asset_accounts":"Tarkastele omaisuustilejäsi","delete_account":"Poista käyttäjätili","transaction_table_description":"A table containing your transactions","account":"Tili","description":"Kuvaus","amount":"Summa","budget":"Budjetti","category":"Kategoria","opposing_account":"Vastatili","budgets":"Budjetit","categories":"Kategoriat","go_to_budgets":"Avaa omat budjetit","income":"Tuotto / ansio","go_to_deposits":"Go to deposits","go_to_categories":"Avaa omat kategoriat","expense_accounts":"Kulutustilit","go_to_expenses":"Go to expenses","go_to_bills":"Avaa omat laskut","bills":"Laskut","last_thirty_days":"Viimeiset 30 päivää","last_seven_days":"Viimeiset 7 päivää","go_to_piggies":"Tarkastele säästöpossujasi","saved":"Saved","piggy_banks":"Säästöpossut","piggy_bank":"Säästöpossu","amounts":"Amounts","left":"Jäljellä","spent":"Käytetty","Default asset account":"Oletusomaisuustili","search_results":"Haun tulokset","include":"Include?","transaction":"Tapahtuma","account_role_defaultAsset":"Oletuskäyttötili","account_role_savingAsset":"Säästötili","account_role_sharedAsset":"Jaettu käyttötili","clear_location":"Tyhjennä sijainti","account_role_ccAsset":"Luottokortti","account_role_cashWalletAsset":"Käteinen","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Luo uusi maksutili","create_new_revenue":"Luo uusi tuottotili","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Jaetun tapahtuman kuvaus","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Virhe!","store_transaction":"Store transaction","flash_success":"Valmista tuli!","create_another":"Tallennuksen jälkeen, palaa takaisin luomaan uusi tapahtuma.","update_transaction":"Päivitä tapahtuma","after_update_create_another":"Päivityksen jälkeen, palaa takaisin jatkamaan muokkausta.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hae","create_new_asset":"Luo uusi omaisuustili","asset_accounts":"Käyttötilit","reset_after":"Tyhjennä lomake lähetyksen jälkeen","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Sijainti","other_budgets":"Custom timed budgets","journal_links":"Tapahtuman linkit","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Tuottotilit","add_another_split":"Lisää tapahtumaan uusi osa","actions":"Toiminnot","edit":"Muokkaa","account_type_Loan":"Laina","account_type_Mortgage":"Kiinnelaina","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Velka","delete":"Poista","store_new_asset_account":"Tallenna uusi omaisuustili","store_new_expense_account":"Tallenna uusi kulutustili","store_new_liabilities_account":"Tallenna uusi vastuu","store_new_revenue_account":"Tallenna uusi tuottotili","mandatoryFields":"Pakolliset kentät","optionalFields":"Valinnaiset kentät","reconcile_this_account":"Täsmäytä tämä tili","interest_calc_weekly":"Per week","interest_calc_monthly":"Kuukaudessa","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Vuodessa","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(ei mitään)"},"list":{"piggy_bank":"Säästöpossu","percentage":"pros.","amount":"Summa","name":"Nimi","role":"Rooli","iban":"IBAN","currentBalance":"Tämänhetkinen saldo","next_expected_match":"Seuraava lasku odotettavissa"},"config":{"html_language":"fi"},"form":{"foreign_amount":"Ulkomaan summa","interest_date":"Korkopäivä","name":"Nimi","amount":"Summa","iban":"IBAN","BIC":"BIC","notes":"Muistiinpanot","location":"Sijainti","attachments":"Liitteet","active":"Aktiivinen","include_net_worth":"Sisällytä varallisuuteen","account_number":"Tilinumero","virtual_balance":"Virtuaalinen saldo","opening_balance":"Alkusaldo","opening_balance_date":"Alkusaldon päivämäärä","date":"Päivämäärä","interest":"Korko","interest_period":"Korkojakso","currency_id":"Valuutta","liability_type":"Liability type","account_role":"Tilin tyyppi","liability_direction":"Liability in/out","book_date":"Kirjauspäivä","permDeleteWarning":"Asioiden poistaminen Firefly III:sta on lopullista eikä poistoa pysty perumaan.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Käsittelypäivä","due_date":"Eräpäivä","payment_date":"Maksupäivä","invoice_date":"Laskun päivämäärä"}}')},2551:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Transfert","Withdrawal":"Dépense","Deposit":"Dépôt","date_and_time":"Date et heure","no_currency":"(pas de devise)","date":"Date","time":"Heure","no_budget":"(pas de budget)","destination_account":"Compte de destination","source_account":"Compte source","single_split":"Ventilation","create_new_transaction":"Créer une nouvelle opération","balance":"Solde","transaction_journal_extra":"Informations supplémentaires","transaction_journal_meta":"Méta informations","basic_journal_information":"Informations de base sur l\'opération","bills_to_pay":"Factures à payer","left_to_spend":"Reste à dépenser","attachments":"Pièces jointes","net_worth":"Avoir net","bill":"Facture","no_bill":"(aucune facture)","tags":"Tags","internal_reference":"Référence interne","external_url":"URL externe","no_piggy_bank":"(aucune tirelire)","paid":"Payé","notes":"Notes","yourAccounts":"Vos comptes","go_to_asset_accounts":"Afficher vos comptes d\'actifs","delete_account":"Supprimer le compte","transaction_table_description":"Une table contenant vos opérations","account":"Compte","description":"Description","amount":"Montant","budget":"Budget","category":"Catégorie","opposing_account":"Compte opposé","budgets":"Budgets","categories":"Catégories","go_to_budgets":"Gérer vos budgets","income":"Recette / revenu","go_to_deposits":"Aller aux dépôts","go_to_categories":"Gérer vos catégories","expense_accounts":"Comptes de dépenses","go_to_expenses":"Aller aux dépenses","go_to_bills":"Gérer vos factures","bills":"Factures","last_thirty_days":"Trente derniers jours","last_seven_days":"7 Derniers Jours","go_to_piggies":"Gérer vos tirelires","saved":"Sauvegardé","piggy_banks":"Tirelires","piggy_bank":"Tirelire","amounts":"Montants","left":"Reste","spent":"Dépensé","Default asset account":"Compte d’actif par défaut","search_results":"Résultats de la recherche","include":"Inclure ?","transaction":"Opération","account_role_defaultAsset":"Compte d\'actif par défaut","account_role_savingAsset":"Compte d’épargne","account_role_sharedAsset":"Compte d\'actif partagé","clear_location":"Effacer la localisation","account_role_ccAsset":"Carte de crédit","account_role_cashWalletAsset":"Porte-monnaie","daily_budgets":"Budgets quotidiens","weekly_budgets":"Budgets hebdomadaires","monthly_budgets":"Budgets mensuels","quarterly_budgets":"Budgets trimestriels","create_new_expense":"Créer nouveau compte de dépenses","create_new_revenue":"Créer nouveau compte de recettes","create_new_liabilities":"Créer un nouveau passif","half_year_budgets":"Budgets semestriels","yearly_budgets":"Budgets annuels","split_transaction_title":"Description de l\'opération ventilée","errors_submission":"Certaines informations ne sont pas correctes dans votre formulaire. Veuillez vérifier les erreurs.","flash_error":"Erreur !","store_transaction":"Enregistrer l\'opération","flash_success":"Super !","create_another":"Après enregistrement, revenir ici pour en créer un nouveau.","update_transaction":"Mettre à jour l\'opération","after_update_create_another":"Après la mise à jour, revenir ici pour continuer l\'édition.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID}</a> (\\"{title}\\") n\'a pas été modifiée.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID}</a> (\\"{title}\\") a été mise à jour.","spent_x_of_y":"Dépensé {amount} sur {total}","search":"Rechercher","create_new_asset":"Créer un nouveau compte d’actif","asset_accounts":"Comptes d’actif","reset_after":"Réinitialiser le formulaire après soumission","bill_paid_on":"Payé le {date}","first_split_decides":"La première ventilation détermine la valeur de ce champ","first_split_overrules_source":"La première ventilation peut remplacer le compte source","first_split_overrules_destination":"La première ventilation peut remplacer le compte de destination","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID} (\\"{title}\\")</a> a été enregistrée.","custom_period":"Période personnalisée","reset_to_current":"Réinitialiser à la période en cours","select_period":"Sélectionnez une période","location":"Emplacement","other_budgets":"Budgets à période personnalisée","journal_links":"Liens d\'opération","go_to_withdrawals":"Accéder à vos retraits","revenue_accounts":"Comptes de recettes","add_another_split":"Ajouter une autre fraction","actions":"Actions","edit":"Modifier","account_type_Loan":"Prêt","account_type_Mortgage":"Prêt hypothécaire","stored_new_account_js":"Nouveau compte \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" enregistré !","account_type_Debt":"Dette","delete":"Supprimer","store_new_asset_account":"Créer un nouveau compte d’actif","store_new_expense_account":"Créer un nouveau compte de dépenses","store_new_liabilities_account":"Enregistrer un nouveau passif","store_new_revenue_account":"Créer un compte de recettes","mandatoryFields":"Champs obligatoires","optionalFields":"Champs optionnels","reconcile_this_account":"Rapprocher ce compte","interest_calc_weekly":"Par semaine","interest_calc_monthly":"Par mois","interest_calc_quarterly":"Par trimestre","interest_calc_half-year":"Par semestre","interest_calc_yearly":"Par an","liability_direction_credit":"On me doit cette dette","liability_direction_debit":"Je dois cette dette à quelqu\'un d\'autre","save_transactions_by_moving_js":"Aucune opération|Conserver cette opération en la déplaçant vers un autre compte. |Conserver ces opérations en les déplaçant vers un autre compte.","none_in_select_list":"(aucun)"},"list":{"piggy_bank":"Tirelire","percentage":"pct.","amount":"Montant","name":"Nom","role":"Rôle","iban":"Numéro IBAN","currentBalance":"Solde courant","next_expected_match":"Prochaine association attendue"},"config":{"html_language":"fr"},"form":{"foreign_amount":"Montant en devise étrangère","interest_date":"Date de valeur (intérêts)","name":"Nom","amount":"Montant","iban":"Numéro IBAN","BIC":"Code BIC","notes":"Notes","location":"Emplacement","attachments":"Documents joints","active":"Actif","include_net_worth":"Inclure dans l\'avoir net","account_number":"Numéro de compte","virtual_balance":"Solde virtuel","opening_balance":"Solde initial","opening_balance_date":"Date du solde initial","date":"Date","interest":"Intérêt","interest_period":"Période d’intérêt","currency_id":"Devise","liability_type":"Type de passif","account_role":"Rôle du compte","liability_direction":"Liability in/out","book_date":"Date de réservation","permDeleteWarning":"Supprimer quelque chose dans Firefly est permanent et ne peut pas être annulé.","account_areYouSure_js":"Êtes-vous sûr de vouloir supprimer le compte nommé \\"{name}\\" ?","also_delete_piggyBanks_js":"Aucune tirelire|La seule tirelire liée à ce compte sera aussi supprimée.|Les {count} tirelires liées à ce compte seront aussi supprimées.","also_delete_transactions_js":"Aucune opération|La seule opération liée à ce compte sera aussi supprimée.|Les {count} opérations liées à ce compte seront aussi supprimées.","process_date":"Date de traitement","due_date":"Échéance","payment_date":"Date de paiement","invoice_date":"Date de facturation"}}')},995:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Átvezetés","Withdrawal":"Költség","Deposit":"Bevétel","date_and_time":"Date and time","no_currency":"(nincs pénznem)","date":"Dátum","time":"Time","no_budget":"(nincs költségkeret)","destination_account":"Célszámla","source_account":"Forrás számla","single_split":"Felosztás","create_new_transaction":"Create a new transaction","balance":"Egyenleg","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta-információ","basic_journal_information":"Basic transaction information","bills_to_pay":"Fizetendő számlák","left_to_spend":"Elkölthető","attachments":"Mellékletek","net_worth":"Nettó érték","bill":"Számla","no_bill":"(no bill)","tags":"Címkék","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(nincs malacpersely)","paid":"Kifizetve","notes":"Megjegyzések","yourAccounts":"Bankszámlák","go_to_asset_accounts":"Eszközszámlák megtekintése","delete_account":"Fiók törlése","transaction_table_description":"Tranzakciókat tartalmazó táblázat","account":"Bankszámla","description":"Leírás","amount":"Összeg","budget":"Költségkeret","category":"Kategória","opposing_account":"Ellenoldali számla","budgets":"Költségkeretek","categories":"Kategóriák","go_to_budgets":"Ugrás a költségkeretekhez","income":"Jövedelem / bevétel","go_to_deposits":"Ugrás a bevételekre","go_to_categories":"Ugrás a kategóriákhoz","expense_accounts":"Költségszámlák","go_to_expenses":"Ugrás a kiadásokra","go_to_bills":"Ugrás a számlákhoz","bills":"Számlák","last_thirty_days":"Elmúlt harminc nap","last_seven_days":"Utolsó hét nap","go_to_piggies":"Ugrás a malacperselyekhez","saved":"Mentve","piggy_banks":"Malacperselyek","piggy_bank":"Malacpersely","amounts":"Mennyiségek","left":"Maradvány","spent":"Elköltött","Default asset account":"Alapértelmezett eszközszámla","search_results":"Keresési eredmények","include":"Include?","transaction":"Tranzakció","account_role_defaultAsset":"Alapértelmezett eszközszámla","account_role_savingAsset":"Megtakarítási számla","account_role_sharedAsset":"Megosztott eszközszámla","clear_location":"Hely törlése","account_role_ccAsset":"Hitelkártya","account_role_cashWalletAsset":"Készpénz","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Új költségszámla létrehozása","create_new_revenue":"Új jövedelemszámla létrehozása","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Felosztott tranzakció leírása","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Hiba!","store_transaction":"Store transaction","flash_success":"Siker!","create_another":"A tárolás után térjen vissza ide új létrehozásához.","update_transaction":"Tranzakció frissítése","after_update_create_another":"A frissítés után térjen vissza ide a szerkesztés folytatásához.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Keresés","create_new_asset":"Új eszközszámla létrehozása","asset_accounts":"Eszközszámlák","reset_after":"Űrlap törlése a beküldés után","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> mentve.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Hely","other_budgets":"Custom timed budgets","journal_links":"Tranzakció összekapcsolások","go_to_withdrawals":"Ugrás a költségekhez","revenue_accounts":"Jövedelemszámlák","add_another_split":"Másik felosztás hozzáadása","actions":"Műveletek","edit":"Szerkesztés","account_type_Loan":"Hitel","account_type_Mortgage":"Jelzálog","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Adósság","delete":"Törlés","store_new_asset_account":"Új eszközszámla tárolása","store_new_expense_account":"Új költségszámla tárolása","store_new_liabilities_account":"Új kötelezettség eltárolása","store_new_revenue_account":"Új jövedelemszámla létrehozása","mandatoryFields":"Kötelező mezők","optionalFields":"Nem kötelező mezők","reconcile_this_account":"Számla egyeztetése","interest_calc_weekly":"Per week","interest_calc_monthly":"Havonta","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Évente","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(nincs)"},"list":{"piggy_bank":"Malacpersely","percentage":"%","amount":"Összeg","name":"Név","role":"Szerepkör","iban":"IBAN","currentBalance":"Aktuális egyenleg","next_expected_match":"Következő várható egyezés"},"config":{"html_language":"hu"},"form":{"foreign_amount":"Külföldi összeg","interest_date":"Kamatfizetési időpont","name":"Név","amount":"Összeg","iban":"IBAN","BIC":"BIC","notes":"Megjegyzések","location":"Hely","attachments":"Mellékletek","active":"Aktív","include_net_worth":"Befoglalva a nettó értékbe","account_number":"Számlaszám","virtual_balance":"Virtuális egyenleg","opening_balance":"Nyitó egyenleg","opening_balance_date":"Nyitó egyenleg dátuma","date":"Dátum","interest":"Kamat","interest_period":"Kamatperiódus","currency_id":"Pénznem","liability_type":"Liability type","account_role":"Bankszámla szerepköre","liability_direction":"Liability in/out","book_date":"Könyvelés dátuma","permDeleteWarning":"A Firefly III-ból történő törlés végleges és nem vonható vissza.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Feldolgozás dátuma","due_date":"Lejárati időpont","payment_date":"Fizetés dátuma","invoice_date":"Számla dátuma"}}')},9112:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Trasferimento","Withdrawal":"Prelievo","Deposit":"Entrata","date_and_time":"Data e ora","no_currency":"(nessuna valuta)","date":"Data","time":"Ora","no_budget":"(nessun budget)","destination_account":"Conto destinazione","source_account":"Conto di origine","single_split":"Divisione","create_new_transaction":"Crea una nuova transazione","balance":"Saldo","transaction_journal_extra":"Informazioni aggiuntive","transaction_journal_meta":"Meta informazioni","basic_journal_information":"Informazioni di base sulla transazione","bills_to_pay":"Bollette da pagare","left_to_spend":"Altro da spendere","attachments":"Allegati","net_worth":"Patrimonio","bill":"Bolletta","no_bill":"(nessuna bolletta)","tags":"Etichette","internal_reference":"Riferimento interno","external_url":"URL esterno","no_piggy_bank":"(nessun salvadanaio)","paid":"Pagati","notes":"Note","yourAccounts":"I tuoi conti","go_to_asset_accounts":"Visualizza i tuoi conti attività","delete_account":"Elimina account","transaction_table_description":"Una tabella contenente le tue transazioni","account":"Conto","description":"Descrizione","amount":"Importo","budget":"Budget","category":"Categoria","opposing_account":"Conto beneficiario","budgets":"Budget","categories":"Categorie","go_to_budgets":"Vai ai tuoi budget","income":"Redditi / entrate","go_to_deposits":"Vai ai depositi","go_to_categories":"Vai alle tue categorie","expense_accounts":"Conti uscite","go_to_expenses":"Vai alle spese","go_to_bills":"Vai alle tue bollette","bills":"Bollette","last_thirty_days":"Ultimi trenta giorni","last_seven_days":"Ultimi sette giorni","go_to_piggies":"Vai ai tuoi salvadanai","saved":"Salvata","piggy_banks":"Salvadanai","piggy_bank":"Salvadanaio","amounts":"Importi","left":"Resto","spent":"Speso","Default asset account":"Conto attività predefinito","search_results":"Risultati ricerca","include":"Includere?","transaction":"Transazione","account_role_defaultAsset":"Conto attività predefinito","account_role_savingAsset":"Conto risparmio","account_role_sharedAsset":"Conto attività condiviso","clear_location":"Rimuovi dalla posizione","account_role_ccAsset":"Carta di credito","account_role_cashWalletAsset":"Portafoglio","daily_budgets":"Budget giornalieri","weekly_budgets":"Budget settimanali","monthly_budgets":"Budget mensili","quarterly_budgets":"Bilanci trimestrali","create_new_expense":"Crea un nuovo conto di spesa","create_new_revenue":"Crea un nuovo conto entrate","create_new_liabilities":"Crea nuova passività","half_year_budgets":"Bilanci semestrali","yearly_budgets":"Budget annuali","split_transaction_title":"Descrizione della transazione suddivisa","errors_submission":"Errore durante l\'invio. Controlla gli errori segnalati qui sotto.","flash_error":"Errore!","store_transaction":"Salva transazione","flash_success":"Successo!","create_another":"Dopo il salvataggio, torna qui per crearne un\'altra.","update_transaction":"Aggiorna transazione","after_update_create_another":"Dopo l\'aggiornamento, torna qui per continuare la modifica.","transaction_updated_no_changes":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID}</a> (\\"{title}\\") non ha avuto cambiamenti.","transaction_updated_link":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID}</a> (\\"{title}\\") è stata aggiornata.","spent_x_of_y":"Spesi {amount} di {total}","search":"Cerca","create_new_asset":"Crea un nuovo conto attività","asset_accounts":"Conti attività","reset_after":"Resetta il modulo dopo l\'invio","bill_paid_on":"Pagata il {date}","first_split_decides":"La prima suddivisione determina il valore di questo campo","first_split_overrules_source":"La prima suddivisione potrebbe sovrascrivere l\'account di origine","first_split_overrules_destination":"La prima suddivisione potrebbe sovrascrivere l\'account di destinazione","transaction_stored_link":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID} (\\"{title}\\")</a> è stata salvata.","custom_period":"Periodo personalizzato","reset_to_current":"Ripristina il periodo corrente","select_period":"Seleziona il periodo","location":"Posizione","other_budgets":"Budget a periodi personalizzati","journal_links":"Collegamenti della transazione","go_to_withdrawals":"Vai ai tuoi prelievi","revenue_accounts":"Conti entrate","add_another_split":"Aggiungi un\'altra divisione","actions":"Azioni","edit":"Modifica","account_type_Loan":"Prestito","account_type_Mortgage":"Mutuo","stored_new_account_js":"Nuovo conto \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" salvato!","account_type_Debt":"Debito","delete":"Elimina","store_new_asset_account":"Salva nuovo conto attività","store_new_expense_account":"Salva il nuovo conto uscite","store_new_liabilities_account":"Memorizza nuova passività","store_new_revenue_account":"Salva il nuovo conto entrate","mandatoryFields":"Campi obbligatori","optionalFields":"Campi opzionali","reconcile_this_account":"Riconcilia questo conto","interest_calc_weekly":"Settimanale","interest_calc_monthly":"Al mese","interest_calc_quarterly":"Trimestrale","interest_calc_half-year":"Semestrale","interest_calc_yearly":"All\'anno","liability_direction_credit":"Questo debito mi è dovuto","liability_direction_debit":"Devo questo debito a qualcun altro","save_transactions_by_moving_js":"Nessuna transazione|Salva questa transazione spostandola in un altro conto.|Salva queste transazioni spostandole in un altro conto.","none_in_select_list":"(nessuna)"},"list":{"piggy_bank":"Salvadanaio","percentage":"perc.","amount":"Importo","name":"Nome","role":"Ruolo","iban":"IBAN","currentBalance":"Saldo corrente","next_expected_match":"Prossimo abbinamento previsto"},"config":{"html_language":"it"},"form":{"foreign_amount":"Importo estero","interest_date":"Data di valuta","name":"Nome","amount":"Importo","iban":"IBAN","BIC":"BIC","notes":"Note","location":"Posizione","attachments":"Allegati","active":"Attivo","include_net_worth":"Includi nel patrimonio","account_number":"Numero conto","virtual_balance":"Saldo virtuale","opening_balance":"Saldo di apertura","opening_balance_date":"Data saldo di apertura","date":"Data","interest":"Interesse","interest_period":"Periodo di interesse","currency_id":"Valuta","liability_type":"Tipo passività","account_role":"Ruolo del conto","liability_direction":"Passività in entrata/uscita","book_date":"Data contabile","permDeleteWarning":"L\'eliminazione dei dati da Firefly III è definitiva e non può essere annullata.","account_areYouSure_js":"Sei sicuro di voler eliminare il conto \\"{name}\\"?","also_delete_piggyBanks_js":"Nessun salvadanaio|Anche l\'unico salvadanaio collegato a questo conto verrà eliminato.|Anche tutti i {count} salvadanai collegati a questo conto verranno eliminati.","also_delete_transactions_js":"Nessuna transazioni|Anche l\'unica transazione collegata al conto verrà eliminata.|Anche tutte le {count} transazioni collegati a questo conto verranno eliminate.","process_date":"Data elaborazione","due_date":"Data scadenza","payment_date":"Data pagamento","invoice_date":"Data fatturazione"}}')},9085:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Overføring","Withdrawal":"Uttak","Deposit":"Innskudd","date_and_time":"Date and time","no_currency":"(ingen valuta)","date":"Dato","time":"Time","no_budget":"(ingen budsjett)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metainformasjon","basic_journal_information":"Basic transaction information","bills_to_pay":"Regninger å betale","left_to_spend":"Igjen å bruke","attachments":"Vedlegg","net_worth":"Formue","bill":"Regning","no_bill":"(no bill)","tags":"Tagger","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Betalt","notes":"Notater","yourAccounts":"Dine kontoer","go_to_asset_accounts":"Se aktivakontoene dine","delete_account":"Slett konto","transaction_table_description":"A table containing your transactions","account":"Konto","description":"Beskrivelse","amount":"Beløp","budget":"Busjett","category":"Kategori","opposing_account":"Opposing account","budgets":"Budsjetter","categories":"Kategorier","go_to_budgets":"Gå til budsjettene dine","income":"Inntekt","go_to_deposits":"Go to deposits","go_to_categories":"Gå til kategoriene dine","expense_accounts":"Utgiftskontoer","go_to_expenses":"Go to expenses","go_to_bills":"Gå til regningene dine","bills":"Regninger","last_thirty_days":"Tredve siste dager","last_seven_days":"Syv siste dager","go_to_piggies":"Gå til sparegrisene dine","saved":"Saved","piggy_banks":"Sparegriser","piggy_bank":"Sparegris","amounts":"Amounts","left":"Gjenværende","spent":"Brukt","Default asset account":"Standard aktivakonto","search_results":"Søkeresultater","include":"Include?","transaction":"Transaksjon","account_role_defaultAsset":"Standard aktivakonto","account_role_savingAsset":"Sparekonto","account_role_sharedAsset":"Delt aktivakonto","clear_location":"Tøm lokasjon","account_role_ccAsset":"Kredittkort","account_role_cashWalletAsset":"Kontant lommebok","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Opprett ny utgiftskonto","create_new_revenue":"Opprett ny inntektskonto","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Feil!","store_transaction":"Store transaction","flash_success":"Suksess!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Søk","create_new_asset":"Opprett ny aktivakonto","asset_accounts":"Aktivakontoer","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Sted","other_budgets":"Custom timed budgets","journal_links":"Transaksjonskoblinger","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Inntektskontoer","add_another_split":"Legg til en oppdeling til","actions":"Handlinger","edit":"Rediger","account_type_Loan":"Lån","account_type_Mortgage":"Boliglån","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Gjeld","delete":"Slett","store_new_asset_account":"Lagre ny brukskonto","store_new_expense_account":"Lagre ny utgiftskonto","store_new_liabilities_account":"Lagre ny gjeld","store_new_revenue_account":"Lagre ny inntektskonto","mandatoryFields":"Obligatoriske felter","optionalFields":"Valgfrie felter","reconcile_this_account":"Avstem denne kontoen","interest_calc_weekly":"Per week","interest_calc_monthly":"Per måned","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Per år","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(ingen)"},"list":{"piggy_bank":"Sparegris","percentage":"pct.","amount":"Beløp","name":"Navn","role":"Rolle","iban":"IBAN","currentBalance":"Nåværende saldo","next_expected_match":"Neste forventede treff"},"config":{"html_language":"nb"},"form":{"foreign_amount":"Utenlandske beløp","interest_date":"Rentedato","name":"Navn","amount":"Beløp","iban":"IBAN","BIC":"BIC","notes":"Notater","location":"Location","attachments":"Vedlegg","active":"Aktiv","include_net_worth":"Inkluder i formue","account_number":"Account number","virtual_balance":"Virtual balance","opening_balance":"Opening balance","opening_balance_date":"Opening balance date","date":"Dato","interest":"Rente","interest_period":"Renteperiode","currency_id":"Valuta","liability_type":"Liability type","account_role":"Account role","liability_direction":"Liability in/out","book_date":"Bokføringsdato","permDeleteWarning":"Sletting av data fra Firefly III er permanent, og kan ikke angres.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Prosesseringsdato","due_date":"Forfallsdato","payment_date":"Betalingsdato","invoice_date":"Fakturadato"}}')},4671:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Overschrijving","Withdrawal":"Uitgave","Deposit":"Inkomsten","date_and_time":"Datum en tijd","no_currency":"(geen valuta)","date":"Datum","time":"Tijd","no_budget":"(geen budget)","destination_account":"Doelrekening","source_account":"Bronrekening","single_split":"Split","create_new_transaction":"Maak een nieuwe transactie","balance":"Saldo","transaction_journal_extra":"Extra informatie","transaction_journal_meta":"Metainformatie","basic_journal_information":"Standaard transactieinformatie","bills_to_pay":"Openstaande contracten","left_to_spend":"Over om uit te geven","attachments":"Bijlagen","net_worth":"Kapitaal","bill":"Contract","no_bill":"(geen contract)","tags":"Tags","internal_reference":"Interne referentie","external_url":"Externe URL","no_piggy_bank":"(geen spaarpotje)","paid":"Betaald","notes":"Notities","yourAccounts":"Je betaalrekeningen","go_to_asset_accounts":"Bekijk je betaalrekeningen","delete_account":"Verwijder je account","transaction_table_description":"Een tabel met je transacties","account":"Rekening","description":"Omschrijving","amount":"Bedrag","budget":"Budget","category":"Categorie","opposing_account":"Tegenrekening","budgets":"Budgetten","categories":"Categorieën","go_to_budgets":"Ga naar je budgetten","income":"Inkomsten","go_to_deposits":"Ga naar je inkomsten","go_to_categories":"Ga naar je categorieën","expense_accounts":"Crediteuren","go_to_expenses":"Ga naar je uitgaven","go_to_bills":"Ga naar je contracten","bills":"Contracten","last_thirty_days":"Laatste dertig dagen","last_seven_days":"Laatste zeven dagen","go_to_piggies":"Ga naar je spaarpotjes","saved":"Opgeslagen","piggy_banks":"Spaarpotjes","piggy_bank":"Spaarpotje","amounts":"Bedragen","left":"Over","spent":"Uitgegeven","Default asset account":"Standaard betaalrekening","search_results":"Zoekresultaten","include":"Opnemen?","transaction":"Transactie","account_role_defaultAsset":"Standaard betaalrekening","account_role_savingAsset":"Spaarrekening","account_role_sharedAsset":"Gedeelde betaalrekening","clear_location":"Wis locatie","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash","daily_budgets":"Dagelijkse budgetten","weekly_budgets":"Wekelijkse budgetten","monthly_budgets":"Maandelijkse budgetten","quarterly_budgets":"Driemaandelijkse budgetten","create_new_expense":"Nieuwe crediteur","create_new_revenue":"Nieuwe debiteur","create_new_liabilities":"Maak nieuwe passiva","half_year_budgets":"Halfjaarlijkse budgetten","yearly_budgets":"Jaarlijkse budgetten","split_transaction_title":"Beschrijving van de gesplitste transactie","errors_submission":"Er ging iets mis. Check de errors.","flash_error":"Fout!","store_transaction":"Transactie opslaan","flash_success":"Gelukt!","create_another":"Terug naar deze pagina voor een nieuwe transactie.","update_transaction":"Update transactie","after_update_create_another":"Na het opslaan terug om door te gaan met wijzigen.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID}</a> (\\"{title}\\") is niet gewijzigd.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID}</a> (\\"{title}\\") is geüpdatet.","spent_x_of_y":"{amount} van {total} uitgegeven","search":"Zoeken","create_new_asset":"Nieuwe betaalrekening","asset_accounts":"Betaalrekeningen","reset_after":"Reset formulier na opslaan","bill_paid_on":"Betaald op {date}","first_split_decides":"De eerste split bepaalt wat hier staat","first_split_overrules_source":"De eerste split kan de bronrekening overschrijven","first_split_overrules_destination":"De eerste split kan de doelrekening overschrijven","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID} (\\"{title}\\")</a> is opgeslagen.","custom_period":"Aangepaste periode","reset_to_current":"Reset naar huidige periode","select_period":"Selecteer een periode","location":"Plaats","other_budgets":"Aangepaste budgetten","journal_links":"Transactiekoppelingen","go_to_withdrawals":"Ga naar je uitgaven","revenue_accounts":"Debiteuren","add_another_split":"Voeg een split toe","actions":"Acties","edit":"Wijzig","account_type_Loan":"Lening","account_type_Mortgage":"Hypotheek","stored_new_account_js":"Nieuwe account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" opgeslagen!","account_type_Debt":"Schuld","delete":"Verwijder","store_new_asset_account":"Sla nieuwe betaalrekening op","store_new_expense_account":"Sla nieuwe crediteur op","store_new_liabilities_account":"Nieuwe passiva opslaan","store_new_revenue_account":"Sla nieuwe debiteur op","mandatoryFields":"Verplichte velden","optionalFields":"Optionele velden","reconcile_this_account":"Stem deze rekening af","interest_calc_weekly":"Per week","interest_calc_monthly":"Per maand","interest_calc_quarterly":"Per kwartaal","interest_calc_half-year":"Per half jaar","interest_calc_yearly":"Per jaar","liability_direction_credit":"Ik krijg dit bedrag terug","liability_direction_debit":"Ik moet dit bedrag terugbetalen","save_transactions_by_moving_js":"Geen transacties|Bewaar deze transactie door ze aan een andere rekening te koppelen.|Bewaar deze transacties door ze aan een andere rekening te koppelen.","none_in_select_list":"(geen)"},"list":{"piggy_bank":"Spaarpotje","percentage":"pct","amount":"Bedrag","name":"Naam","role":"Rol","iban":"IBAN","currentBalance":"Huidig saldo","next_expected_match":"Volgende verwachte match"},"config":{"html_language":"nl"},"form":{"foreign_amount":"Bedrag in vreemde valuta","interest_date":"Rentedatum","name":"Naam","amount":"Bedrag","iban":"IBAN","BIC":"BIC","notes":"Notities","location":"Locatie","attachments":"Bijlagen","active":"Actief","include_net_worth":"Meetellen in kapitaal","account_number":"Rekeningnummer","virtual_balance":"Virtueel saldo","opening_balance":"Startsaldo","opening_balance_date":"Startsaldodatum","date":"Datum","interest":"Rente","interest_period":"Renteperiode","currency_id":"Valuta","liability_type":"Passivasoort","account_role":"Rol van rekening","liability_direction":"Passiva in- of uitgaand","book_date":"Boekdatum","permDeleteWarning":"Dingen verwijderen uit Firefly III is permanent en kan niet ongedaan gemaakt worden.","account_areYouSure_js":"Weet je zeker dat je de rekening met naam \\"{name}\\" wilt verwijderen?","also_delete_piggyBanks_js":"Geen spaarpotjes|Ook het spaarpotje verbonden aan deze rekening wordt verwijderd.|Ook alle {count} spaarpotjes verbonden aan deze rekening worden verwijderd.","also_delete_transactions_js":"Geen transacties|Ook de enige transactie verbonden aan deze rekening wordt verwijderd.|Ook alle {count} transacties verbonden aan deze rekening worden verwijderd.","process_date":"Verwerkingsdatum","due_date":"Vervaldatum","payment_date":"Betalingsdatum","invoice_date":"Factuurdatum"}}')},6238:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Wypłata","Deposit":"Wpłata","date_and_time":"Data i czas","no_currency":"(brak waluty)","date":"Data","time":"Czas","no_budget":"(brak budżetu)","destination_account":"Konto docelowe","source_account":"Konto źródłowe","single_split":"Podział","create_new_transaction":"Stwórz nową transakcję","balance":"Saldo","transaction_journal_extra":"Dodatkowe informacje","transaction_journal_meta":"Meta informacje","basic_journal_information":"Podstawowe informacje o transakcji","bills_to_pay":"Rachunki do zapłacenia","left_to_spend":"Pozostało do wydania","attachments":"Załączniki","net_worth":"Wartość netto","bill":"Rachunek","no_bill":"(brak rachunku)","tags":"Tagi","internal_reference":"Wewnętrzny nr referencyjny","external_url":"Zewnętrzny adres URL","no_piggy_bank":"(brak skarbonki)","paid":"Zapłacone","notes":"Notatki","yourAccounts":"Twoje konta","go_to_asset_accounts":"Zobacz swoje konta aktywów","delete_account":"Usuń konto","transaction_table_description":"Tabela zawierająca Twoje transakcje","account":"Konto","description":"Opis","amount":"Kwota","budget":"Budżet","category":"Kategoria","opposing_account":"Konto przeciwstawne","budgets":"Budżety","categories":"Kategorie","go_to_budgets":"Przejdź do swoich budżetów","income":"Przychody / dochody","go_to_deposits":"Przejdź do wpłat","go_to_categories":"Przejdź do swoich kategorii","expense_accounts":"Konta wydatków","go_to_expenses":"Przejdź do wydatków","go_to_bills":"Przejdź do swoich rachunków","bills":"Rachunki","last_thirty_days":"Ostanie 30 dni","last_seven_days":"Ostatnie 7 dni","go_to_piggies":"Przejdź do swoich skarbonek","saved":"Zapisano","piggy_banks":"Skarbonki","piggy_bank":"Skarbonka","amounts":"Kwoty","left":"Pozostało","spent":"Wydano","Default asset account":"Domyślne konto aktywów","search_results":"Wyniki wyszukiwania","include":"Include?","transaction":"Transakcja","account_role_defaultAsset":"Domyślne konto aktywów","account_role_savingAsset":"Konto oszczędnościowe","account_role_sharedAsset":"Współdzielone konto aktywów","clear_location":"Wyczyść lokalizację","account_role_ccAsset":"Karta kredytowa","account_role_cashWalletAsset":"Portfel gotówkowy","daily_budgets":"Budżety dzienne","weekly_budgets":"Budżety tygodniowe","monthly_budgets":"Budżety miesięczne","quarterly_budgets":"Budżety kwartalne","create_new_expense":"Utwórz nowe konto wydatków","create_new_revenue":"Utwórz nowe konto przychodów","create_new_liabilities":"Utwórz nowe zobowiązanie","half_year_budgets":"Budżety półroczne","yearly_budgets":"Budżety roczne","split_transaction_title":"Opis podzielonej transakcji","errors_submission":"Coś poszło nie tak w czasie zapisu. Proszę sprawdź błędy.","flash_error":"Błąd!","store_transaction":"Zapisz transakcję","flash_success":"Sukces!","create_another":"Po zapisaniu wróć tutaj, aby utworzyć kolejny.","update_transaction":"Zaktualizuj transakcję","after_update_create_another":"Po aktualizacji wróć tutaj, aby kontynuować edycję.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID}</a> (\\"{title}\\") nie została zmieniona.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID}</a> (\\"{title}\\") została zaktualizowana.","spent_x_of_y":"Wydano {amount} z {total}","search":"Szukaj","create_new_asset":"Utwórz nowe konto aktywów","asset_accounts":"Konta aktywów","reset_after":"Wyczyść formularz po zapisaniu","bill_paid_on":"Zapłacone {date}","first_split_decides":"Pierwszy podział określa wartość tego pola","first_split_overrules_source":"Pierwszy podział może nadpisać konto źródłowe","first_split_overrules_destination":"Pierwszy podział może nadpisać konto docelowe","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID} (\\"{title}\\")</a> została zapisana.","custom_period":"Okres niestandardowy","reset_to_current":"Przywróć do bieżącego okresu","select_period":"Wybierz okres","location":"Lokalizacja","other_budgets":"Budżety niestandardowe","journal_links":"Powiązane transakcje","go_to_withdrawals":"Przejdź do swoich wydatków","revenue_accounts":"Konta przychodów","add_another_split":"Dodaj kolejny podział","actions":"Akcje","edit":"Modyfikuj","account_type_Loan":"Pożyczka","account_type_Mortgage":"Hipoteka","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Dług","delete":"Usuń","store_new_asset_account":"Zapisz nowe konto aktywów","store_new_expense_account":"Zapisz nowe konto wydatków","store_new_liabilities_account":"Zapisz nowe zobowiązanie","store_new_revenue_account":"Zapisz nowe konto przychodów","mandatoryFields":"Pola wymagane","optionalFields":"Pola opcjonalne","reconcile_this_account":"Uzgodnij to konto","interest_calc_weekly":"Per week","interest_calc_monthly":"Co miesiąc","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Co rok","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"Brak transakcji|Zapisz tę transakcję, przenosząc ją na inne konto.|Zapisz te transakcje przenosząc je na inne konto.","none_in_select_list":"(żadne)"},"list":{"piggy_bank":"Skarbonka","percentage":"%","amount":"Kwota","name":"Nazwa","role":"Rola","iban":"IBAN","currentBalance":"Bieżące saldo","next_expected_match":"Następne oczekiwane dopasowanie"},"config":{"html_language":"pl"},"form":{"foreign_amount":"Kwota zagraniczna","interest_date":"Data odsetek","name":"Nazwa","amount":"Kwota","iban":"IBAN","BIC":"BIC","notes":"Notatki","location":"Lokalizacja","attachments":"Załączniki","active":"Aktywny","include_net_worth":"Uwzględnij w wartości netto","account_number":"Numer konta","virtual_balance":"Wirtualne saldo","opening_balance":"Saldo początkowe","opening_balance_date":"Data salda otwarcia","date":"Data","interest":"Odsetki","interest_period":"Okres odsetkowy","currency_id":"Waluta","liability_type":"Liability type","account_role":"Rola konta","liability_direction":"Liability in/out","book_date":"Data księgowania","permDeleteWarning":"Usuwanie rzeczy z Firefly III jest trwałe i nie można tego cofnąć.","account_areYouSure_js":"Czy na pewno chcesz usunąć konto o nazwie \\"{name}\\"?","also_delete_piggyBanks_js":"Brak skarbonek|Jedyna skarbonka połączona z tym kontem również zostanie usunięta.|Wszystkie {count} skarbonki połączone z tym kontem zostaną również usunięte.","also_delete_transactions_js":"Brak transakcji|Jedyna transakcja połączona z tym kontem również zostanie usunięta.|Wszystkie {count} transakcje połączone z tym kontem również zostaną usunięte.","process_date":"Data przetworzenia","due_date":"Termin realizacji","payment_date":"Data płatności","invoice_date":"Data faktury"}}')},6586:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Transferência","Withdrawal":"Retirada","Deposit":"Depósito","date_and_time":"Data e hora","no_currency":"(sem moeda)","date":"Data","time":"Horário","no_budget":"(sem orçamento)","destination_account":"Conta destino","source_account":"Conta origem","single_split":"Divisão","create_new_transaction":"Criar nova transação","balance":"Saldo","transaction_journal_extra":"Informação extra","transaction_journal_meta":"Meta-informação","basic_journal_information":"Informações básicas de transação","bills_to_pay":"Contas a pagar","left_to_spend":"Restante para gastar","attachments":"Anexos","net_worth":"Valor Líquido","bill":"Fatura","no_bill":"(sem conta)","tags":"Tags","internal_reference":"Referência interna","external_url":"URL externa","no_piggy_bank":"(nenhum cofrinho)","paid":"Pago","notes":"Notas","yourAccounts":"Suas contas","go_to_asset_accounts":"Veja suas contas ativas","delete_account":"Apagar conta","transaction_table_description":"Uma tabela contendo suas transações","account":"Conta","description":"Descrição","amount":"Valor","budget":"Orçamento","category":"Categoria","opposing_account":"Conta oposta","budgets":"Orçamentos","categories":"Categorias","go_to_budgets":"Vá para seus orçamentos","income":"Receita / Renda","go_to_deposits":"Ir para as entradas","go_to_categories":"Vá para suas categorias","expense_accounts":"Contas de despesas","go_to_expenses":"Ir para despesas","go_to_bills":"Vá para suas contas","bills":"Faturas","last_thirty_days":"Últimos 30 dias","last_seven_days":"Últimos sete dias","go_to_piggies":"Vá para sua poupança","saved":"Salvo","piggy_banks":"Cofrinhos","piggy_bank":"Cofrinho","amounts":"Quantias","left":"Restante","spent":"Gasto","Default asset account":"Conta padrão","search_results":"Resultados da pesquisa","include":"Incluir?","transaction":"Transação","account_role_defaultAsset":"Conta padrão","account_role_savingAsset":"Conta poupança","account_role_sharedAsset":"Contas de ativos compartilhadas","clear_location":"Limpar localização","account_role_ccAsset":"Cartão de crédito","account_role_cashWalletAsset":"Carteira de dinheiro","daily_budgets":"Orçamentos diários","weekly_budgets":"Orçamentos semanais","monthly_budgets":"Orçamentos mensais","quarterly_budgets":"Orçamentos trimestrais","create_new_expense":"Criar nova conta de despesa","create_new_revenue":"Criar nova conta de receita","create_new_liabilities":"Criar novo passivo","half_year_budgets":"Orçamentos semestrais","yearly_budgets":"Orçamentos anuais","split_transaction_title":"Descrição da transação dividida","errors_submission":"Há algo de errado com o seu envio. Por favor, verifique os erros abaixo.","flash_error":"Erro!","store_transaction":"Salvar transação","flash_success":"Sucesso!","create_another":"Depois de armazenar, retorne aqui para criar outro.","update_transaction":"Atualizar transação","after_update_create_another":"Depois de atualizar, retorne aqui para continuar editando.","transaction_updated_no_changes":"A <a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") não recebeu nenhuma alteração.","transaction_updated_link":"A <a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") foi atualizada.","spent_x_of_y":"Gasto {amount} de {total}","search":"Pesquisa","create_new_asset":"Criar nova conta de ativo","asset_accounts":"Contas de ativo","reset_after":"Resetar o formulário após o envio","bill_paid_on":"Pago em {date}","first_split_decides":"A primeira divisão determina o valor deste campo","first_split_overrules_source":"A primeira divisão pode anular a conta de origem","first_split_overrules_destination":"A primeira divisão pode anular a conta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID} (\\"{title}\\")</a> foi salva.","custom_period":"Período personalizado","reset_to_current":"Redefinir para o período atual","select_period":"Selecione um período","location":"Localização","other_budgets":"Orçamentos de períodos personalizados","journal_links":"Transações ligadas","go_to_withdrawals":"Vá para seus saques","revenue_accounts":"Contas de receitas","add_another_split":"Adicionar outra divisão","actions":"Ações","edit":"Editar","account_type_Loan":"Empréstimo","account_type_Mortgage":"Hipoteca","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Dívida","delete":"Apagar","store_new_asset_account":"Armazenar nova conta de ativo","store_new_expense_account":"Armazenar nova conta de despesa","store_new_liabilities_account":"Guardar novo passivo","store_new_revenue_account":"Armazenar nova conta de receita","mandatoryFields":"Campos obrigatórios","optionalFields":"Campos opcionais","reconcile_this_account":"Concilie esta conta","interest_calc_weekly":"Por semana","interest_calc_monthly":"Por mês","interest_calc_quarterly":"Por trimestre","interest_calc_half-year":"Por semestre","interest_calc_yearly":"Por ano","liability_direction_credit":"Devo este débito","liability_direction_debit":"Devo este débito a outra pessoa","save_transactions_by_moving_js":"Nenhuma transação.|Salve esta transação movendo-a para outra conta.|Salve essas transações movendo-as para outra conta.","none_in_select_list":"(nenhum)"},"list":{"piggy_bank":"Cofrinho","percentage":"pct.","amount":"Total","name":"Nome","role":"Papel","iban":"IBAN","currentBalance":"Saldo atual","next_expected_match":"Próximo correspondente esperado"},"config":{"html_language":"pt-br"},"form":{"foreign_amount":"Montante em moeda estrangeira","interest_date":"Data de interesse","name":"Nome","amount":"Valor","iban":"IBAN","BIC":"BIC","notes":"Notas","location":"Localização","attachments":"Anexos","active":"Ativar","include_net_worth":"Incluir no patrimonio liquido","account_number":"Número de conta","virtual_balance":"Saldo virtual","opening_balance":"Saldo inicial","opening_balance_date":"Data do saldo inicial","date":"Data","interest":"Juros","interest_period":"Período de juros","currency_id":"Moeda","liability_type":"Tipo de passivo","account_role":"Função de conta","liability_direction":"Liability in/out","book_date":"Data reserva","permDeleteWarning":"Exclusão de dados do Firefly III são permanentes e não podem ser desfeitos.","account_areYouSure_js":"Tem certeza que deseja excluir a conta \\"{name}\\"?","also_delete_piggyBanks_js":"Sem cofrinhos|O único cofrinho conectado a esta conta também será excluído.|Todos os {count} cofrinhos conectados a esta conta também serão excluídos.","also_delete_transactions_js":"Sem transações|A única transação conectada a esta conta também será excluída.|Todas as {count} transações conectadas a essa conta também serão excluídas.","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da Fatura"}}')},8664:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Transferência","Withdrawal":"Levantamento","Deposit":"Depósito","date_and_time":"Data e hora","no_currency":"(sem moeda)","date":"Data","time":"Hora","no_budget":"(sem orcamento)","destination_account":"Conta de destino","source_account":"Conta de origem","single_split":"Dividir","create_new_transaction":"Criar uma nova transação","balance":"Saldo","transaction_journal_extra":"Informações extra","transaction_journal_meta":"Meta informação","basic_journal_information":"Informações básicas de transação","bills_to_pay":"Contas por pagar","left_to_spend":"Restante para gastar","attachments":"Anexos","net_worth":"Patrimonio liquido","bill":"Conta","no_bill":"(sem contas)","tags":"Etiquetas","internal_reference":"Referência interna","external_url":"URL Externo","no_piggy_bank":"(nenhum mealheiro)","paid":"Pago","notes":"Notas","yourAccounts":"As suas contas","go_to_asset_accounts":"Ver as contas de activos","delete_account":"Apagar conta de utilizador","transaction_table_description":"Uma tabela com as suas transacções","account":"Conta","description":"Descricao","amount":"Montante","budget":"Orcamento","category":"Categoria","opposing_account":"Conta oposta","budgets":"Orçamentos","categories":"Categorias","go_to_budgets":"Ir para os seus orçamentos","income":"Receita / renda","go_to_deposits":"Ir para depósitos","go_to_categories":"Ir para categorias","expense_accounts":"Conta de despesas","go_to_expenses":"Ir para despesas","go_to_bills":"Ir para contas","bills":"Contas","last_thirty_days":"Últimos trinta dias","last_seven_days":"Últimos sete dias","go_to_piggies":"Ir para mealheiros","saved":"Guardado","piggy_banks":"Mealheiros","piggy_bank":"Mealheiro","amounts":"Montantes","left":"Em falta","spent":"Gasto","Default asset account":"Conta de activos padrão","search_results":"Resultados da pesquisa","include":"Incluir?","transaction":"Transacção","account_role_defaultAsset":"Conta de activos padrão","account_role_savingAsset":"Conta poupança","account_role_sharedAsset":"Conta de activos partilhados","clear_location":"Limpar localização","account_role_ccAsset":"Cartão de credito","account_role_cashWalletAsset":"Carteira de dinheiro","daily_budgets":"Orçamento diário","weekly_budgets":"Orçamento semanal","monthly_budgets":"Orçamento mensal","quarterly_budgets":"Orçamento trimestral","create_new_expense":"Criar nova conta de despesas","create_new_revenue":"Criar nova conta de receitas","create_new_liabilities":"Criar novo passivo","half_year_budgets":"Orçamento semestral","yearly_budgets":"Orçamento anual","split_transaction_title":"Descrição da transacção dividida","errors_submission":"Aconteceu algo errado com a sua submissão. Por favor, verifique os erros.","flash_error":"Erro!","store_transaction":"Guardar transação","flash_success":"Sucesso!","create_another":"Depois de guardar, voltar aqui para criar outra.","update_transaction":"Actualizar transacção","after_update_create_another":"Após a atualização, regresse aqui para continuar a editar.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") não recebeu nenhuma alteração.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") foi atualizada.","spent_x_of_y":"Gasto {amount} de {total}","search":"Procurar","create_new_asset":"Criar nova conta de activos","asset_accounts":"Conta de activos","reset_after":"Repor o formulário após o envio","bill_paid_on":"Pago a {date}","first_split_decides":"A primeira divisão determina o valor deste campo","first_split_overrules_source":"A primeira divisão pode anular a conta de origem","first_split_overrules_destination":"A primeira divisão pode anular a conta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID} (\\"{title}\\")</a> foi guardada.","custom_period":"Período personalizado","reset_to_current":"Reiniciar o período personalizado","select_period":"Selecionar um período","location":"Localização","other_budgets":"Orçamentos de tempo personalizado","journal_links":"Ligações de transacção","go_to_withdrawals":"Ir para os seus levantamentos","revenue_accounts":"Conta de receitas","add_another_split":"Adicionar outra divisão","actions":"Ações","edit":"Alterar","account_type_Loan":"Emprestimo","account_type_Mortgage":"Hipoteca","stored_new_account_js":"Nova conta \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" armazenada!","account_type_Debt":"Debito","delete":"Apagar","store_new_asset_account":"Guardar nova conta de activos","store_new_expense_account":"Guardar nova conta de despesas","store_new_liabilities_account":"Guardar novo passivo","store_new_revenue_account":"Guardar nova conta de receitas","mandatoryFields":"Campos obrigatorios","optionalFields":"Campos opcionais","reconcile_this_account":"Reconciliar esta conta","interest_calc_weekly":"Por semana","interest_calc_monthly":"Mensal","interest_calc_quarterly":"Por trimestre","interest_calc_half-year":"Por meio ano","interest_calc_yearly":"Anual","liability_direction_credit":"Esta dívida é-me devida","liability_direction_debit":"Devo esta dívida a outra pessoa","save_transactions_by_moving_js":"Nenhuma transação| Guarde esta transação movendo-a para outra conta| Guarde estas transações movendo-as para outra conta.","none_in_select_list":"(nenhum)"},"list":{"piggy_bank":"Mealheiro","percentage":"%.","amount":"Montante","name":"Nome","role":"Regra","iban":"IBAN","currentBalance":"Saldo actual","next_expected_match":"Proxima correspondencia esperada"},"config":{"html_language":"pt"},"form":{"foreign_amount":"Montante estrangeiro","interest_date":"Data de juros","name":"Nome","amount":"Montante","iban":"IBAN","BIC":"BIC","notes":"Notas","location":"Localização","attachments":"Anexos","active":"Activo","include_net_worth":"Incluir no patrimonio liquido","account_number":"Número de conta","virtual_balance":"Saldo virtual","opening_balance":"Saldo inicial","opening_balance_date":"Data do saldo inicial","date":"Data","interest":"Juro","interest_period":"Periodo de juros","currency_id":"Divisa","liability_type":"Tipo de responsabilidade","account_role":"Tipo de conta","liability_direction":"Responsabilidade entrada/saída","book_date":"Data de registo","permDeleteWarning":"Apagar as tuas coisas do Firefly III e permanente e nao pode ser desfeito.","account_areYouSure_js":"Tem a certeza que deseja eliminar a conta denominada por \\"{name}?","also_delete_piggyBanks_js":"Nenhum mealheiro|O único mealheiro ligado a esta conta será também eliminado.|Todos os {count} mealheiros ligados a esta conta serão também eliminados.","also_delete_transactions_js":"Nenhuma transação| A única transação ligada a esta conta será também excluída.|Todas as {count} transações ligadas a esta conta serão também excluídas.","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da factura"}}')},1102:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Retragere","Deposit":"Depozit","date_and_time":"Date and time","no_currency":"(nici o monedă)","date":"Dată","time":"Time","no_budget":"(nici un buget)","destination_account":"Contul de destinație","source_account":"Contul sursă","single_split":"Împarte","create_new_transaction":"Create a new transaction","balance":"Balantă","transaction_journal_extra":"Extra information","transaction_journal_meta":"Informații meta","basic_journal_information":"Basic transaction information","bills_to_pay":"Facturile de plată","left_to_spend":"Ramas de cheltuit","attachments":"Atașamente","net_worth":"Valoarea netă","bill":"Factură","no_bill":"(no bill)","tags":"Etichete","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(nicio pușculiță)","paid":"Plătit","notes":"Notițe","yourAccounts":"Conturile dvs.","go_to_asset_accounts":"Vizualizați conturile de active","delete_account":"Șterge account","transaction_table_description":"A table containing your transactions","account":"Cont","description":"Descriere","amount":"Sumă","budget":"Buget","category":"Categorie","opposing_account":"Opposing account","budgets":"Buget","categories":"Categorii","go_to_budgets":"Mergi la bugete","income":"Venituri","go_to_deposits":"Go to deposits","go_to_categories":"Mergi la categorii","expense_accounts":"Conturi de cheltuieli","go_to_expenses":"Go to expenses","go_to_bills":"Mergi la facturi","bills":"Facturi","last_thirty_days":"Ultimele 30 de zile","last_seven_days":"Ultimele 7 zile","go_to_piggies":"Mergi la pușculiță","saved":"Salvat","piggy_banks":"Pușculiță","piggy_bank":"Pușculiță","amounts":"Amounts","left":"Rămas","spent":"Cheltuit","Default asset account":"Cont de active implicit","search_results":"Rezultatele căutarii","include":"Include?","transaction":"Tranzacţie","account_role_defaultAsset":"Contul implicit activ","account_role_savingAsset":"Cont de economii","account_role_sharedAsset":"Contul de active partajat","clear_location":"Ștergeți locația","account_role_ccAsset":"Card de credit","account_role_cashWalletAsset":"Cash - Numerar","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Creați un nou cont de cheltuieli","create_new_revenue":"Creați un nou cont de venituri","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Descrierea tranzacției divizate","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Eroare!","store_transaction":"Store transaction","flash_success":"Succes!","create_another":"După stocare, reveniți aici pentru a crea alta.","update_transaction":"Actualizați tranzacția","after_update_create_another":"După actualizare, reveniți aici pentru a continua editarea.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Caută","create_new_asset":"Creați un nou cont de active","asset_accounts":"Conturile de active","reset_after":"Resetați formularul după trimitere","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Tranzacția #{ID} (\\"{title}\\")</a> a fost stocată.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Locație","other_budgets":"Custom timed budgets","journal_links":"Link-uri de tranzacții","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Conturi de venituri","add_another_split":"Adăugați o divizare","actions":"Acțiuni","edit":"Editează","account_type_Loan":"Împrumut","account_type_Mortgage":"Credit ipotecar","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Datorie","delete":"Șterge","store_new_asset_account":"Salvați un nou cont de active","store_new_expense_account":"Salvați un nou cont de cheltuieli","store_new_liabilities_account":"Salvați provizion nou","store_new_revenue_account":"Salvați un nou cont de venituri","mandatoryFields":"Câmpuri obligatorii","optionalFields":"Câmpuri opționale","reconcile_this_account":"Reconciliați acest cont","interest_calc_weekly":"Per week","interest_calc_monthly":"Pe lună","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Pe an","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(nici unul)"},"list":{"piggy_bank":"Pușculiță","percentage":"procent %","amount":"Sumă","name":"Nume","role":"Rol","iban":"IBAN","currentBalance":"Sold curent","next_expected_match":"Următoarea potrivire așteptată"},"config":{"html_language":"ro"},"form":{"foreign_amount":"Sumă străină","interest_date":"Data de interes","name":"Nume","amount":"Sumă","iban":"IBAN","BIC":"BIC","notes":"Notițe","location":"Locație","attachments":"Fișiere atașate","active":"Activ","include_net_worth":"Includeți în valoare netă","account_number":"Număr de cont","virtual_balance":"Soldul virtual","opening_balance":"Soldul de deschidere","opening_balance_date":"Data soldului de deschidere","date":"Dată","interest":"Interes","interest_period":"Perioadă de interes","currency_id":"Monedă","liability_type":"Liability type","account_role":"Rolul contului","liability_direction":"Liability in/out","book_date":"Rezervă dată","permDeleteWarning":"Ștergerea este permanentă și nu poate fi anulată.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Data procesării","due_date":"Data scadentă","payment_date":"Data de plată","invoice_date":"Data facturii"}}')},753:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Перевод","Withdrawal":"Расход","Deposit":"Доход","date_and_time":"Дата и время","no_currency":"(нет валюты)","date":"Дата","time":"Время","no_budget":"(вне бюджета)","destination_account":"Счёт назначения","source_account":"Счёт-источник","single_split":"Разделённая транзакция","create_new_transaction":"Создать новую транзакцию","balance":"Бaлaнc","transaction_journal_extra":"Дополнительные сведения","transaction_journal_meta":"Дополнительная информация","basic_journal_information":"Основная информация о транзакции","bills_to_pay":"Счета к оплате","left_to_spend":"Осталось потратить","attachments":"Вложения","net_worth":"Мои сбережения","bill":"Счёт к оплате","no_bill":"(нет счёта на оплату)","tags":"Метки","internal_reference":"Внутренняя ссылка","external_url":"Внешний URL-адрес","no_piggy_bank":"(нет копилки)","paid":"Оплачено","notes":"Заметки","yourAccounts":"Ваши счета","go_to_asset_accounts":"Просмотр ваших основных счетов","delete_account":"Удалить профиль","transaction_table_description":"Таблица, содержащая ваши транзакции","account":"Счёт","description":"Описание","amount":"Сумма","budget":"Бюджет","category":"Категория","opposing_account":"Противодействующий счёт","budgets":"Бюджет","categories":"Категории","go_to_budgets":"Перейти к вашим бюджетам","income":"Мои доходы","go_to_deposits":"Перейти ко вкладам","go_to_categories":"Перейти к вашим категориям","expense_accounts":"Счета расходов","go_to_expenses":"Перейти к расходам","go_to_bills":"Перейти к вашим счетам на оплату","bills":"Счета к оплате","last_thirty_days":"Последние 30 дней","last_seven_days":"Последние 7 дней","go_to_piggies":"Перейти к вашим копилкам","saved":"Сохранено","piggy_banks":"Копилки","piggy_bank":"Копилка","amounts":"Сумма","left":"Осталось","spent":"Расход","Default asset account":"Счёт по умолчанию","search_results":"Результаты поиска","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Счёт по умолчанию","account_role_savingAsset":"Сберегательный счет","account_role_sharedAsset":"Общий основной счёт","clear_location":"Очистить местоположение","account_role_ccAsset":"Кредитная карта","account_role_cashWalletAsset":"Наличные","daily_budgets":"Бюджеты на день","weekly_budgets":"Бюджеты на неделю","monthly_budgets":"Бюджеты на месяц","quarterly_budgets":"Бюджеты на квартал","create_new_expense":"Создать новый счёт расхода","create_new_revenue":"Создать новый счёт дохода","create_new_liabilities":"Create new liability","half_year_budgets":"Бюджеты на полгода","yearly_budgets":"Годовые бюджеты","split_transaction_title":"Описание разделённой транзакции","errors_submission":"При отправке что-то пошло не так. Пожалуйста, проверьте ошибки ниже.","flash_error":"Ошибка!","store_transaction":"Сохранить транзакцию","flash_success":"Успешно!","create_another":"После сохранения вернуться сюда и создать ещё одну аналогичную запись.","update_transaction":"Обновить транзакцию","after_update_create_another":"После обновления вернитесь сюда, чтобы продолжить редактирование.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Поиск","create_new_asset":"Создать новый активный счёт","asset_accounts":"Основные счета","reset_after":"Сбросить форму после отправки","bill_paid_on":"Оплачено {date}","first_split_decides":"В данном поле используется значение из первой части разделенной транзакции","first_split_overrules_source":"Значение из первой части транзакции может изменить счет источника","first_split_overrules_destination":"Значение из первой части транзакции может изменить счет назначения","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID} (\\"{title}\\")</a> сохранена.","custom_period":"Пользовательский период","reset_to_current":"Сброс к текущему периоду","select_period":"Выберите период","location":"Размещение","other_budgets":"Бюджеты на произвольный отрезок времени","journal_links":"Связи транзакции","go_to_withdrawals":"Перейти к вашим расходам","revenue_accounts":"Счета доходов","add_another_split":"Добавить еще одну часть","actions":"Действия","edit":"Изменить","account_type_Loan":"Заём","account_type_Mortgage":"Ипотека","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Дебит","delete":"Удалить","store_new_asset_account":"Сохранить новый основной счёт","store_new_expense_account":"Сохранить новый счёт расхода","store_new_liabilities_account":"Сохранить новое обязательство","store_new_revenue_account":"Сохранить новый счёт дохода","mandatoryFields":"Обязательные поля","optionalFields":"Дополнительные поля","reconcile_this_account":"Произвести сверку данного счёта","interest_calc_weekly":"Per week","interest_calc_monthly":"В месяц","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"В год","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(нет)"},"list":{"piggy_bank":"Копилка","percentage":"процентов","amount":"Сумма","name":"Имя","role":"Роль","iban":"IBAN","currentBalance":"Текущий баланс","next_expected_match":"Следующий ожидаемый результат"},"config":{"html_language":"ru"},"form":{"foreign_amount":"Сумма в иностранной валюте","interest_date":"Дата начисления процентов","name":"Название","amount":"Сумма","iban":"IBAN","BIC":"BIC","notes":"Заметки","location":"Местоположение","attachments":"Вложения","active":"Активный","include_net_worth":"Включать в \\"Мои сбережения\\"","account_number":"Номер счёта","virtual_balance":"Виртуальный баланс","opening_balance":"Начальный баланс","opening_balance_date":"Дата начального баланса","date":"Дата","interest":"Процентная ставка","interest_period":"Период начисления процентов","currency_id":"Валюта","liability_type":"Liability type","account_role":"Тип счета","liability_direction":"Liability in/out","book_date":"Дата бронирования","permDeleteWarning":"Удаление информации из Firefly III является постоянным и не может быть отменено.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Дата обработки","due_date":"Срок оплаты","payment_date":"Дата платежа","invoice_date":"Дата выставления счёта"}}')},7049:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Prevod","Withdrawal":"Výber","Deposit":"Vklad","date_and_time":"Dátum a čas","no_currency":"(žiadna mena)","date":"Dátum","time":"Čas","no_budget":"(žiadny rozpočet)","destination_account":"Cieľový účet","source_account":"Zdrojový účet","single_split":"Rozúčtovať","create_new_transaction":"Vytvoriť novú transakciu","balance":"Zostatok","transaction_journal_extra":"Ďalšie informácie","transaction_journal_meta":"Meta informácie","basic_journal_information":"Základné Informácie o transakcii","bills_to_pay":"Účty na úhradu","left_to_spend":"Zostáva k útrate","attachments":"Prílohy","net_worth":"Čisté imanie","bill":"Účet","no_bill":"(žiadny účet)","tags":"Štítky","internal_reference":"Interná referencia","external_url":"Externá URL","no_piggy_bank":"(žiadna pokladnička)","paid":"Uhradené","notes":"Poznámky","yourAccounts":"Vaše účty","go_to_asset_accounts":"Zobraziť účty aktív","delete_account":"Odstrániť účet","transaction_table_description":"Tabuľka obsahujúca vaše transakcie","account":"Účet","description":"Popis","amount":"Suma","budget":"Rozpočet","category":"Kategória","opposing_account":"Cieľový účet","budgets":"Rozpočty","categories":"Kategórie","go_to_budgets":"Zobraziť rozpočty","income":"Zisky / príjmy","go_to_deposits":"Zobraziť vklady","go_to_categories":"Zobraziť kategórie","expense_accounts":"Výdavkové účty","go_to_expenses":"Zobraziť výdavky","go_to_bills":"Zobraziť účty","bills":"Účty","last_thirty_days":"Uplynulých 30 dní","last_seven_days":"Uplynulých 7 dní","go_to_piggies":"Zobraziť pokladničky","saved":"Uložené","piggy_banks":"Pokladničky","piggy_bank":"Pokladnička","amounts":"Suma","left":"Zostáva","spent":"Utratené","Default asset account":"Prednastavený účet aktív","search_results":"Výsledky vyhľadávania","include":"Include?","transaction":"Transakcia","account_role_defaultAsset":"Predvolený účet aktív","account_role_savingAsset":"Šetriaci účet","account_role_sharedAsset":"Zdieľaný účet aktív","clear_location":"Odstrániť pozíciu","account_role_ccAsset":"Kreditná karta","account_role_cashWalletAsset":"Peňaženka","daily_budgets":"Denné rozpočty","weekly_budgets":"Týždenné rozpočty","monthly_budgets":"Mesačné rozpočty","quarterly_budgets":"Štvrťročné rozpočty","create_new_expense":"Vytvoriť výdavkoý účet","create_new_revenue":"Vytvoriť nový príjmový účet","create_new_liabilities":"Create new liability","half_year_budgets":"Polročné rozpočty","yearly_budgets":"Ročné rozpočty","split_transaction_title":"Popis rozúčtovania","errors_submission":"Pri odosielaní sa niečo nepodarilo. Skontrolujte prosím chyby.","flash_error":"Chyba!","store_transaction":"Uložiť transakciu","flash_success":"Hotovo!","create_another":"Po uložení sa vrátiť späť sem a vytvoriť ďalší.","update_transaction":"Upraviť transakciu","after_update_create_another":"Po aktualizácii sa vrátiť späť a pokračovať v úpravách.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hľadať","create_new_asset":"Vytvoriť nový účet aktív","asset_accounts":"Účty aktív","reset_after":"Po odoslaní vynulovať formulár","bill_paid_on":"Uhradené {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transakcia #{ID} (\\"{title}\\")</a> bola uložená.","custom_period":"Vlastné obdobie","reset_to_current":"Obnoviť na aktuálne obdobie","select_period":"Vyberte obdobie","location":"Poloha","other_budgets":"Špecifické časované rozpočty","journal_links":"Prepojenia transakcie","go_to_withdrawals":"Zobraziť výbery","revenue_accounts":"Výnosové účty","add_another_split":"Pridať ďalšie rozúčtovanie","actions":"Akcie","edit":"Upraviť","account_type_Loan":"Pôžička","account_type_Mortgage":"Hypotéka","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Dlh","delete":"Odstrániť","store_new_asset_account":"Uložiť nový účet aktív","store_new_expense_account":"Uložiť nový výdavkový účet","store_new_liabilities_account":"Uložiť nový záväzok","store_new_revenue_account":"Uložiť nový príjmový účet","mandatoryFields":"Povinné údaje","optionalFields":"Voliteľné údaje","reconcile_this_account":"Vyúčtovat tento účet","interest_calc_weekly":"Per week","interest_calc_monthly":"Za mesiac","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Za rok","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(žiadne)"},"list":{"piggy_bank":"Pokladnička","percentage":"perc.","amount":"Suma","name":"Meno/Názov","role":"Rola","iban":"IBAN","currentBalance":"Aktuálny zostatok","next_expected_match":"Ďalšia očakávaná zhoda"},"config":{"html_language":"sk"},"form":{"foreign_amount":"Suma v cudzej mene","interest_date":"Úrokový dátum","name":"Názov","amount":"Suma","iban":"IBAN","BIC":"BIC","notes":"Poznámky","location":"Údaje o polohe","attachments":"Prílohy","active":"Aktívne","include_net_worth":"Zahrnúť do čistého majetku","account_number":"Číslo účtu","virtual_balance":"Virtuálnu zostatok","opening_balance":"Počiatočný zostatok","opening_balance_date":"Dátum počiatočného zostatku","date":"Dátum","interest":"Úrok","interest_period":"Úrokové obdobie","currency_id":"Mena","liability_type":"Liability type","account_role":"Rola účtu","liability_direction":"Liability in/out","book_date":"Dátum rezervácie","permDeleteWarning":"Odstránenie údajov z Firefly III je trvalé a nie je možné ich vrátiť späť.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Dátum spracovania","due_date":"Dátum splatnosti","payment_date":"Dátum úhrady","invoice_date":"Dátum vystavenia"}}')},7921:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Överföring","Withdrawal":"Uttag","Deposit":"Insättning","date_and_time":"Datum och tid","no_currency":"(ingen valuta)","date":"Datum","time":"Tid","no_budget":"(ingen budget)","destination_account":"Till konto","source_account":"Källkonto","single_split":"Dela","create_new_transaction":"Skapa en ny transaktion","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metadata","basic_journal_information":"Grundläggande transaktionsinformation","bills_to_pay":"Notor att betala","left_to_spend":"Återstår att spendera","attachments":"Bilagor","net_worth":"Nettoförmögenhet","bill":"Nota","no_bill":"(ingen räkning)","tags":"Etiketter","internal_reference":"Intern referens","external_url":"Extern URL","no_piggy_bank":"(ingen spargris)","paid":"Betald","notes":"Noteringar","yourAccounts":"Dina konton","go_to_asset_accounts":"Visa dina tillgångskonton","delete_account":"Ta bort konto","transaction_table_description":"En tabell som innehåller dina transaktioner","account":"Konto","description":"Beskrivning","amount":"Belopp","budget":"Budget","category":"Kategori","opposing_account":"Motsatt konto","budgets":"Budgetar","categories":"Kategorier","go_to_budgets":"Gå till dina budgetar","income":"Intäkter / inkomster","go_to_deposits":"Gå till insättningar","go_to_categories":"Gå till dina kategorier","expense_accounts":"Kostnadskonto","go_to_expenses":"Gå till utgifter","go_to_bills":"Gå till dina notor","bills":"Notor","last_thirty_days":"Senaste 30 dagarna","last_seven_days":"Senaste 7 dagarna","go_to_piggies":"Gå till dina sparbössor","saved":"Sparad","piggy_banks":"Spargrisar","piggy_bank":"Spargris","amounts":"Belopp","left":"Återstår","spent":"Spenderat","Default asset account":"Förvalt tillgångskonto","search_results":"Sökresultat","include":"Inkludera?","transaction":"Transaktion","account_role_defaultAsset":"Förvalt tillgångskonto","account_role_savingAsset":"Sparkonto","account_role_sharedAsset":"Delat tillgångskonto","clear_location":"Rena plats","account_role_ccAsset":"Kreditkort","account_role_cashWalletAsset":"Plånbok","daily_budgets":"Dagliga budgetar","weekly_budgets":"Veckovis budgetar","monthly_budgets":"Månatliga budgetar","quarterly_budgets":"Kvartalsbudgetar","create_new_expense":"Skapa ett nytt utgiftskonto","create_new_revenue":"Skapa ett nytt intäktskonto","create_new_liabilities":"Skapa ny skuld","half_year_budgets":"Halvårsbudgetar","yearly_budgets":"Årliga budgetar","split_transaction_title":"Beskrivning av delad transaktion","errors_submission":"Något fel uppstod med inskickningen. Vänligen kontrollera felen nedan.","flash_error":"Fel!","store_transaction":"Lagra transaktion","flash_success":"Slutförd!","create_another":"Efter sparat, återkom hit för att skapa ytterligare en.","update_transaction":"Uppdatera transaktion","after_update_create_another":"Efter uppdaterat, återkom hit för att fortsätta redigera.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID}</a> (\\"{title}\\") fick inga ändringar.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID}</a> (\\"{title}\\") uppdaterades.","spent_x_of_y":"Spenderade {amount} av {total}","search":"Sök","create_new_asset":"Skapa ett nytt tillgångskonto","asset_accounts":"Tillgångskonton","reset_after":"Återställ formulär efter inskickat","bill_paid_on":"Betalad den {date}","first_split_decides":"Första delningen bestämmer värdet på detta fält","first_split_overrules_source":"Den första delningen kan åsidosätta källkontot","first_split_overrules_destination":"Den första delningen kan åsidosätta målkontot","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID} (\\"{title}\\")</a> sparades.","custom_period":"Anpassad period","reset_to_current":"Återställ till nuvarande period","select_period":"Välj en period","location":"Plats","other_budgets":"Anpassade tidsinställda budgetar","journal_links":"Transaktionslänkar","go_to_withdrawals":"Gå till dina uttag","revenue_accounts":"Intäktskonton","add_another_split":"Lägga till en annan delning","actions":"Åtgärder","edit":"Redigera","account_type_Loan":"Lån","account_type_Mortgage":"Bolån","stored_new_account_js":"Nytt konto \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" lagrat!","account_type_Debt":"Skuld","delete":"Ta bort","store_new_asset_account":"Lagra nytt tillgångskonto","store_new_expense_account":"Spara nytt utgiftskonto","store_new_liabilities_account":"Spara en ny skuld","store_new_revenue_account":"Spara nytt intäktskonto","mandatoryFields":"Obligatoriska fält","optionalFields":"Valfria fält","reconcile_this_account":"Stäm av detta konto","interest_calc_weekly":"Per vecka","interest_calc_monthly":"Per månad","interest_calc_quarterly":"Per kvartal","interest_calc_half-year":"Per halvår","interest_calc_yearly":"Per år","liability_direction_credit":"Jag är skyldig denna skuld","liability_direction_debit":"Jag är skyldig någon annan denna skuld","save_transactions_by_moving_js":"Inga transaktioner|Spara denna transaktion genom att flytta den till ett annat konto.|Spara dessa transaktioner genom att flytta dem till ett annat konto.","none_in_select_list":"(Ingen)"},"list":{"piggy_bank":"Spargris","percentage":"procent","amount":"Belopp","name":"Namn","role":"Roll","iban":"IBAN","currentBalance":"Nuvarande saldo","next_expected_match":"Nästa förväntade träff"},"config":{"html_language":"sv"},"form":{"foreign_amount":"Utländskt belopp","interest_date":"Räntedatum","name":"Namn","amount":"Belopp","iban":"IBAN","BIC":"BIC","notes":"Anteckningar","location":"Plats","attachments":"Bilagor","active":"Aktiv","include_net_worth":"Inkludera i nettovärde","account_number":"Kontonummer","virtual_balance":"Virtuell balans","opening_balance":"Ingående balans","opening_balance_date":"Ingående balans datum","date":"Datum","interest":"Ränta","interest_period":"Ränteperiod","currency_id":"Valuta","liability_type":"Typ av ansvar","account_role":"Konto roll","liability_direction":"Ansvar in/ut","book_date":"Bokföringsdatum","permDeleteWarning":"Att ta bort saker från Firefly III är permanent och kan inte ångras.","account_areYouSure_js":"Är du säker du vill ta bort kontot \\"{name}\\"?","also_delete_piggyBanks_js":"Inga spargrisar|Den enda spargrisen som är ansluten till detta konto kommer också att tas bort.|Alla {count} spargrisar anslutna till detta konto kommer också att tas bort.","also_delete_transactions_js":"Inga transaktioner|Den enda transaktionen som är ansluten till detta konto kommer också att tas bort.|Alla {count} transaktioner som är kopplade till detta konto kommer också att tas bort.","process_date":"Behandlingsdatum","due_date":"Förfallodatum","payment_date":"Betalningsdatum","invoice_date":"Fakturadatum"}}')},1497:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Chuyển khoản","Withdrawal":"Rút tiền","Deposit":"Tiền gửi","date_and_time":"Date and time","no_currency":"(không có tiền tệ)","date":"Ngày","time":"Time","no_budget":"(không có ngân sách)","destination_account":"Tài khoản đích","source_account":"Nguồn tài khoản","single_split":"Chia ra","create_new_transaction":"Tạo giao dịch mới","balance":"Tiền còn lại","transaction_journal_extra":"Extra information","transaction_journal_meta":"Thông tin tổng hợp","basic_journal_information":"Basic transaction information","bills_to_pay":"Hóa đơn phải trả","left_to_spend":"Còn lại để chi tiêu","attachments":"Tệp đính kèm","net_worth":"Tài sản thực","bill":"Hóa đơn","no_bill":"(no bill)","tags":"Nhãn","internal_reference":"Tài liệu tham khảo nội bộ","external_url":"URL bên ngoài","no_piggy_bank":"(chưa có heo đất)","paid":"Đã thanh toán","notes":"Ghi chú","yourAccounts":"Tài khoản của bạn","go_to_asset_accounts":"Xem tài khoản của bạn","delete_account":"Xóa tài khoản","transaction_table_description":"A table containing your transactions","account":"Tài khoản","description":"Sự miêu tả","amount":"Số tiền","budget":"Ngân sách","category":"Danh mục","opposing_account":"Opposing account","budgets":"Ngân sách","categories":"Danh mục","go_to_budgets":"Chuyển đến ngân sách của bạn","income":"Thu nhập doanh thu","go_to_deposits":"Go to deposits","go_to_categories":"Đi đến danh mục của bạn","expense_accounts":"Tài khoản chi phí","go_to_expenses":"Go to expenses","go_to_bills":"Đi đến hóa đơn của bạn","bills":"Hóa đơn","last_thirty_days":"Ba mươi ngày gần đây","last_seven_days":"Bảy ngày gần đây","go_to_piggies":"Tới heo đất của bạn","saved":"Đã lưu","piggy_banks":"Heo đất","piggy_bank":"Heo đất","amounts":"Amounts","left":"Còn lại","spent":"Đã chi","Default asset account":"Mặc định tài khoản","search_results":"Kết quả tìm kiếm","include":"Include?","transaction":"Giao dịch","account_role_defaultAsset":"tài khoản mặc định","account_role_savingAsset":"Tài khoản tiết kiệm","account_role_sharedAsset":"tài khoản dùng chung","clear_location":"Xóa vị trí","account_role_ccAsset":"Thẻ tín dụng","account_role_cashWalletAsset":"Ví tiền mặt","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Tạo tài khoản chi phí mới","create_new_revenue":"Tạo tài khoản doanh thu mới","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Mô tả giao dịch tách","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Lỗi!","store_transaction":"Store transaction","flash_success":"Thành công!","create_another":"Sau khi lưu trữ, quay trở lại đây để tạo một cái khác.","update_transaction":"Cập nhật giao dịch","after_update_create_another":"Sau khi cập nhật, quay lại đây để tiếp tục chỉnh sửa.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Tìm kiếm","create_new_asset":"Tạo tài khoản mới","asset_accounts":"tài khoản","reset_after":"Đặt lại mẫu sau khi gửi","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Giao dịch #{ID} (\\"{title}\\")</a> đã được lưu trữ.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Vị trí","other_budgets":"Custom timed budgets","journal_links":"Liên kết giao dịch","go_to_withdrawals":"Chuyển đến mục rút tiền của bạn","revenue_accounts":"Tài khoản doanh thu","add_another_split":"Thêm một phân chia khác","actions":"Hành động","edit":"Sửa","account_type_Loan":"Tiền vay","account_type_Mortgage":"Thế chấp","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Món nợ","delete":"Xóa","store_new_asset_account":"Lưu trữ tài khoản mới","store_new_expense_account":"Lưu trữ tài khoản chi phí mới","store_new_liabilities_account":"Lưu trữ nợ mới","store_new_revenue_account":"Lưu trữ tài khoản doanh thu mới","mandatoryFields":"Các trường bắt buộc","optionalFields":"Các trường tùy chọn","reconcile_this_account":"Điều chỉnh tài khoản này","interest_calc_weekly":"Per week","interest_calc_monthly":"Mỗi tháng","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Mỗi năm","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(Trống)"},"list":{"piggy_bank":"Ống heo con","percentage":"phần trăm.","amount":"Số tiền","name":"Tên","role":"Quy tắc","iban":"IBAN","currentBalance":"Số dư hiện tại","next_expected_match":"Trận đấu dự kiến tiếp theo"},"config":{"html_language":"vi"},"form":{"foreign_amount":"Ngoại tệ","interest_date":"Ngày lãi","name":"Tên","amount":"Số tiền","iban":"IBAN","BIC":"BIC","notes":"Ghi chú","location":"Vị trí","attachments":"Tài liệu đính kèm","active":"Hành động","include_net_worth":"Bao gồm trong giá trị ròng","account_number":"Số tài khoản","virtual_balance":"Cân bằng ảo","opening_balance":"Số dư đầu kỳ","opening_balance_date":"Ngày mở số dư","date":"Ngày","interest":"Lãi","interest_period":"Chu kỳ lãi","currency_id":"Tiền tệ","liability_type":"Liability type","account_role":"Vai trò tài khoản","liability_direction":"Liability in/out","book_date":"Ngày đặt sách","permDeleteWarning":"Xóa nội dung khỏi Firefly III là vĩnh viễn và không thể hoàn tác.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Ngày xử lý","due_date":"Ngày đáo hạn","payment_date":"Ngày thanh toán","invoice_date":"Ngày hóa đơn"}}')},4556:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"转账","Withdrawal":"提款","Deposit":"收入","date_and_time":"日期和时间","no_currency":"(没有货币)","date":"日期","time":"时间","no_budget":"(无预算)","destination_account":"目标账户","source_account":"来源账户","single_split":"拆分","create_new_transaction":"创建新交易","balance":"余额","transaction_journal_extra":"额外信息","transaction_journal_meta":"元信息","basic_journal_information":"基础交易信息","bills_to_pay":"待付账单","left_to_spend":"剩余支出","attachments":"附件","net_worth":"净资产","bill":"账单","no_bill":"(无账单)","tags":"标签","internal_reference":"内部引用","external_url":"外部链接","no_piggy_bank":"(无存钱罐)","paid":"已付款","notes":"备注","yourAccounts":"您的账户","go_to_asset_accounts":"查看您的资产账户","delete_account":"删除账户","transaction_table_description":"包含您交易的表格","account":"账户","description":"描述","amount":"金额","budget":"预算","category":"分类","opposing_account":"对方账户","budgets":"预算","categories":"分类","go_to_budgets":"前往您的预算","income":"收入","go_to_deposits":"前往收入","go_to_categories":"前往您的分类","expense_accounts":"支出账户","go_to_expenses":"前往支出","go_to_bills":"前往账单","bills":"账单","last_thirty_days":"最近 30 天","last_seven_days":"最近 7 天","go_to_piggies":"前往您的存钱罐","saved":"已保存","piggy_banks":"存钱罐","piggy_bank":"存钱罐","amounts":"金额","left":"剩余","spent":"支出","Default asset account":"默认资产账户","search_results":"搜索结果","include":"Include?","transaction":"交易","account_role_defaultAsset":"默认资产账户","account_role_savingAsset":"储蓄账户","account_role_sharedAsset":"共用资产账户","clear_location":"清除位置","account_role_ccAsset":"信用卡","account_role_cashWalletAsset":"现金钱包","daily_budgets":"每日预算","weekly_budgets":"每周预算","monthly_budgets":"每月预算","quarterly_budgets":"每季度预算","create_new_expense":"创建新支出账户","create_new_revenue":"创建新收入账户","create_new_liabilities":"Create new liability","half_year_budgets":"每半年预算","yearly_budgets":"每年预算","split_transaction_title":"拆分交易的描述","errors_submission":"您提交的内容有误,请检查错误信息。","flash_error":"错误!","store_transaction":"保存交易","flash_success":"成功!","create_another":"保存后,返回此页面以创建新记录","update_transaction":"更新交易","after_update_create_another":"更新后,返回此页面继续编辑。","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"搜索","create_new_asset":"创建新资产账户","asset_accounts":"资产账户","reset_after":"提交后重置表单","bill_paid_on":"支付于 {date}","first_split_decides":"首笔拆分决定此字段的值","first_split_overrules_source":"首笔拆分可能覆盖来源账户","first_split_overrules_destination":"首笔拆分可能覆盖目标账户","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">交易 #{ID} (“{title}”)</a> 已保存。","custom_period":"自定义周期","reset_to_current":"重置为当前周期","select_period":"选择周期","location":"位置","other_budgets":"自定义区间预算","journal_links":"交易关联","go_to_withdrawals":"前往支出","revenue_accounts":"收入账户","add_another_split":"增加另一笔拆分","actions":"操作","edit":"编辑","account_type_Loan":"贷款","account_type_Mortgage":"抵押","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"欠款","delete":"删除","store_new_asset_account":"保存新资产账户","store_new_expense_account":"保存新支出账户","store_new_liabilities_account":"保存新债务账户","store_new_revenue_account":"保存新收入账户","mandatoryFields":"必填字段","optionalFields":"选填字段","reconcile_this_account":"对账此账户","interest_calc_weekly":"Per week","interest_calc_monthly":"每月","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"每年","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(空)"},"list":{"piggy_bank":"存钱罐","percentage":"%","amount":"金额","name":"名称","role":"角色","iban":"国际银行账户号码(IBAN)","currentBalance":"目前余额","next_expected_match":"预期下次支付"},"config":{"html_language":"zh-cn"},"form":{"foreign_amount":"外币金额","interest_date":"利息日期","name":"名称","amount":"金额","iban":"国际银行账户号码 IBAN","BIC":"银行识别代码 BIC","notes":"备注","location":"位置","attachments":"附件","active":"启用","include_net_worth":"包含于净资产","account_number":"账户号码","virtual_balance":"虚拟账户余额","opening_balance":"初始余额","opening_balance_date":"开户日期","date":"日期","interest":"利息","interest_period":"利息期","currency_id":"货币","liability_type":"Liability type","account_role":"账户角色","liability_direction":"Liability in/out","book_date":"登记日期","permDeleteWarning":"从 Firefly III 删除内容是永久且无法恢复的。","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"处理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"发票日期"}}')},1715:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"轉帳","Withdrawal":"提款","Deposit":"存款","date_and_time":"Date and time","no_currency":"(沒有貨幣)","date":"日期","time":"Time","no_budget":"(無預算)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"餘額","transaction_journal_extra":"Extra information","transaction_journal_meta":"後設資訊","basic_journal_information":"Basic transaction information","bills_to_pay":"待付帳單","left_to_spend":"剩餘可花費","attachments":"附加檔案","net_worth":"淨值","bill":"帳單","no_bill":"(no bill)","tags":"標籤","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"已付款","notes":"備註","yourAccounts":"您的帳戶","go_to_asset_accounts":"檢視您的資產帳戶","delete_account":"移除帳號","transaction_table_description":"A table containing your transactions","account":"帳戶","description":"描述","amount":"金額","budget":"預算","category":"分類","opposing_account":"Opposing account","budgets":"預算","categories":"分類","go_to_budgets":"前往您的預算","income":"收入 / 所得","go_to_deposits":"Go to deposits","go_to_categories":"前往您的分類","expense_accounts":"支出帳戶","go_to_expenses":"Go to expenses","go_to_bills":"前往您的帳單","bills":"帳單","last_thirty_days":"最近30天","last_seven_days":"最近7天","go_to_piggies":"前往您的小豬撲滿","saved":"Saved","piggy_banks":"小豬撲滿","piggy_bank":"小豬撲滿","amounts":"Amounts","left":"剩餘","spent":"支出","Default asset account":"預設資產帳戶","search_results":"搜尋結果","include":"Include?","transaction":"交易","account_role_defaultAsset":"預設資產帳戶","account_role_savingAsset":"儲蓄帳戶","account_role_sharedAsset":"共用資產帳戶","clear_location":"清除位置","account_role_ccAsset":"信用卡","account_role_cashWalletAsset":"現金錢包","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"建立新支出帳戶","create_new_revenue":"建立新收入帳戶","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"拆分交易的描述","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"錯誤!","store_transaction":"Store transaction","flash_success":"成功!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"搜尋","create_new_asset":"建立新資產帳戶","asset_accounts":"資產帳戶","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"位置","other_budgets":"Custom timed budgets","journal_links":"交易連結","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"收入帳戶","add_another_split":"增加拆分","actions":"操作","edit":"編輯","account_type_Loan":"貸款","account_type_Mortgage":"抵押","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"負債","delete":"刪除","store_new_asset_account":"儲存新資產帳戶","store_new_expense_account":"儲存新支出帳戶","store_new_liabilities_account":"儲存新債務","store_new_revenue_account":"儲存新收入帳戶","mandatoryFields":"必要欄位","optionalFields":"選填欄位","reconcile_this_account":"對帳此帳戶","interest_calc_weekly":"Per week","interest_calc_monthly":"每月","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"每年","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(空)"},"list":{"piggy_bank":"小豬撲滿","percentage":"pct.","amount":"金額","name":"名稱","role":"角色","iban":"國際銀行帳戶號碼 (IBAN)","currentBalance":"目前餘額","next_expected_match":"下一個預期的配對"},"config":{"html_language":"zh-tw"},"form":{"foreign_amount":"外幣金額","interest_date":"利率日期","name":"名稱","amount":"金額","iban":"國際銀行帳戶號碼 (IBAN)","BIC":"BIC","notes":"備註","location":"Location","attachments":"附加檔案","active":"啟用","include_net_worth":"包括淨值","account_number":"帳戶號碼","virtual_balance":"虛擬餘額","opening_balance":"初始餘額","opening_balance_date":"初始餘額日期","date":"日期","interest":"利率","interest_period":"利率期","currency_id":"貨幣","liability_type":"Liability type","account_role":"帳戶角色","liability_direction":"Liability in/out","book_date":"登記日期","permDeleteWarning":"自 Firefly III 刪除項目是永久且不可撤銷的。","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"處理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"發票日期"}}')}},e=>{"use strict";e.O(0,[228],(()=>{return t=4654,e(e.s=t);var t}));e.O()}]);+(self.webpackChunk=self.webpackChunk||[]).push([[282],{232:(e,t,a)=>{"use strict";a.r(t);var n=a(7760),o=a.n(n),s=a(7152),i=a(4605);window.$=window.jQuery=a(9755),window.axios=a(9669),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var r=document.head.querySelector('meta[name="csrf-token"]');r?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=r.content:console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token");var c=document.head.querySelector('meta[name="locale"]');localStorage.locale=c?c.content:"en_US",a(6891),a(3734),a(7632),a(5432),window.vuei18n=s.Z,window.uiv=i,o().use(vuei18n),o().use(i),window.Vue=o()},9899:(e,t,a)=>{"use strict";a.d(t,{Z:()=>m});var n=a(7760),o=a.n(n),s=a(629),i=a(4478),r=a(3465);const c={namespaced:!0,state:function(){return{transactionType:"any",groupTitle:"",transactions:[],customDateFields:{interest_date:!1,book_date:!1,process_date:!1,due_date:!1,payment_date:!1,invoice_date:!1},defaultTransaction:(0,i.f$)(),defaultErrors:(0,i.kQ)()}},getters:{transactions:function(e){return e.transactions},groupTitle:function(e){return e.groupTitle},transactionType:function(e){return e.transactionType},accountToTransaction:function(e){return e.accountToTransaction},defaultTransaction:function(e){return e.defaultTransaction},sourceAllowedTypes:function(e){return e.sourceAllowedTypes},destinationAllowedTypes:function(e){return e.destinationAllowedTypes},allowedOpposingTypes:function(e){return e.allowedOpposingTypes},customDateFields:function(e){return e.customDateFields}},actions:{},mutations:{addTransaction:function(e){var t=r(e.defaultTransaction);t.errors=r(e.defaultErrors),e.transactions.push(t)},resetErrors:function(e,t){e.transactions[t.index].errors=r(e.defaultErrors)},resetTransactions:function(e){e.transactions=[]},setGroupTitle:function(e,t){e.groupTitle=t.groupTitle},setCustomDateFields:function(e,t){e.customDateFields=t},deleteTransaction:function(e,t){e.transactions.splice(t.index,1),e.transactions.length},setTransactionType:function(e,t){e.transactionType=t},setAllowedOpposingTypes:function(e,t){e.allowedOpposingTypes=t},setAccountToTransaction:function(e,t){e.accountToTransaction=t},updateField:function(e,t){e.transactions[t.index][t.field]=t.value},setTransactionError:function(e,t){e.transactions[t.index].errors[t.field]=t.errors},setDestinationAllowedTypes:function(e,t){e.destinationAllowedTypes=t},setSourceAllowedTypes:function(e,t){e.sourceAllowedTypes=t}}};const l={namespaced:!0,state:function(){return{}},getters:{},actions:{},mutations:{}};const u={namespaced:!0,state:function(){return{viewRange:"default",start:null,end:null,defaultStart:null,defaultEnd:null}},getters:{start:function(e){return e.start},end:function(e){return e.end},defaultStart:function(e){return e.defaultStart},defaultEnd:function(e){return e.defaultEnd},viewRange:function(e){return e.viewRange}},actions:{initialiseStore:function(e){"default"===e.state.viewRange&&axios.get("./api/v1/preferences/viewRange").then((function(t){var a=t.data.data.attributes.data;e.commit("setViewRange",a),e.dispatch("setDatesFromViewRange")})).catch((function(t){e.commit("setViewRange","1M"),e.dispatch("setDatesFromViewRange")}))},setDatesFromViewRange:function(e){if(localStorage.viewRangeStart&&e.commit("setStart",new Date(localStorage.viewRangeStart)),localStorage.viewRangeEnd&&e.commit("setEnd",new Date(localStorage.viewRangeEnd)),localStorage.viewRangeDefaultStart&&e.commit("setDefaultStart",new Date(localStorage.viewRangeDefaultStart)),localStorage.viewRangeDefaultEnd&&e.commit("setDefaultEnd",new Date(localStorage.viewRangeDefaultEnd)),null===e.getters.end||null===e.getters.start){var t,a;switch(e.getters.viewRange){case"1D":t=new Date,a=new Date(t.getTime()),t.setHours(0,0,0,0),a.setHours(23,59,59,999);break;case"1W":t=new Date,a=new Date(t.getTime());var n=t.getDate()-t.getDay()+(0===t.getDay()?-6:1);t.setDate(n),t.setHours(0,0,0,0);var o=a.getDate()-(a.getDay()-1)+6;a.setDate(o),a.setHours(23,59,59,999);break;case"1M":t=new Date,(t=new Date(t.getFullYear(),t.getMonth(),1)).setHours(0,0,0,0),(a=new Date(t.getFullYear(),t.getMonth()+1,0)).setHours(23,59,59,999);break;case"3M":t=new Date,a=new Date;var s=Math.floor((t.getMonth()+3)/3)-1;(t=new Date(t.getFullYear(),[0,3,6,9][s],1)).setHours(0,0,0,0),a=new Date(a.getFullYear(),[2,5,8,11][s],1),(a=new Date(a.getFullYear(),a.getMonth()+1,0)).setHours(23,59,59,999);break;case"6M":t=new Date,a=new Date;var i=t.getMonth()<=5?0:1;(t=new Date(t.getFullYear(),[0,6][i],1)).setHours(0,0,0,0),a=new Date(a.getFullYear(),[5,11][i],1),(a=new Date(a.getFullYear(),a.getMonth()+1,0)).setHours(23,59,59,999);break;case"1Y":t=new Date,a=new Date,t=new Date(t.getFullYear(),0,1),a=new Date(a.getFullYear(),11,31),t.setHours(0,0,0,0),a.setHours(23,59,59,999)}e.commit("setStart",t),e.commit("setEnd",a),e.commit("setDefaultStart",t),e.commit("setDefaultEnd",a)}}},mutations:{setStart:function(e,t){e.start=t,window.localStorage.setItem("viewRangeStart",t)},setEnd:function(e,t){e.end=t,window.localStorage.setItem("viewRangeEnd",t)},setDefaultStart:function(e,t){e.defaultStart=t,window.localStorage.setItem("viewRangeDefaultStart",t)},setDefaultEnd:function(e,t){e.defaultEnd=t,window.localStorage.setItem("viewRangeDefaultEnd",t)},setViewRange:function(e,t){e.viewRange=t}}};var d=function(){return{listPageSize:33}},_={initialiseStore:function(e){localStorage.listPageSize&&(d.listPageSize=localStorage.listPageSize,e.commit("setListPageSize",{length:localStorage.listPageSize})),localStorage.listPageSize||axios.get("./api/v1/preferences/listPageSize").then((function(t){e.commit("setListPageSize",{length:parseInt(t.data.data.attributes.data)})}))}};const p={namespaced:!0,state:d,getters:{listPageSize:function(e){return e.listPageSize}},actions:_,mutations:{setListPageSize:function(e,t){var a=parseInt(t.length);0!==a&&(e.listPageSize=a,localStorage.listPageSize=a)}}};const g={namespaced:!0,state:function(){return{orderMode:!1,activeFilter:1}},getters:{orderMode:function(e){return e.orderMode},activeFilter:function(e){return e.activeFilter}},actions:{},mutations:{setOrderMode:function(e,t){e.orderMode=t},setActiveFilter:function(e,t){e.activeFilter=t}}};o().use(s.ZP);const m=new s.ZP.Store({namespaced:!0,modules:{root:p,transactions:{namespaced:!0,modules:{create:c,edit:l}},accounts:{namespaced:!0,modules:{index:g}},dashboard:{namespaced:!0,modules:{index:u}}},strict:false,plugins:[],state:{currencyPreference:{},locale:"en-US",listPageSize:50},mutations:{setCurrencyPreference:function(e,t){e.currencyPreference=t.payload},initialiseStore:function(e){if(localStorage.locale)e.locale=localStorage.locale;else{var t=document.head.querySelector('meta[name="locale"]');t&&(e.locale=t.content,localStorage.locale=t.content)}}},getters:{currencyCode:function(e){return e.currencyPreference.code},currencyPreference:function(e){return e.currencyPreference},currencyId:function(e){return e.currencyPreference.id},locale:function(e){return e.locale}},actions:{updateCurrencyPreference:function(e){localStorage.currencyPreference?e.commit("setCurrencyPreference",{payload:JSON.parse(localStorage.currencyPreference)}):axios.get("./api/v1/currencies/default").then((function(t){var a={id:parseInt(t.data.data.id),name:t.data.data.attributes.name,symbol:t.data.data.attributes.symbol,code:t.data.data.attributes.code,decimal_places:parseInt(t.data.data.attributes.decimal_places)};localStorage.currencyPreference=JSON.stringify(a),e.commit("setCurrencyPreference",{payload:a})})).catch((function(t){console.error(t),e.commit("setCurrencyPreference",{payload:{id:1,name:"Euro",symbol:"€",code:"EUR",decimal_places:2}})}))}}})},157:(e,t,a)=>{e.exports=new vuei18n({locale:document.documentElement.lang,fallbackLocale:"en",messages:{bg:a(7154),cs:a(6407),de:a(4726),en:a(3340),"en-us":a(3340),"en-gb":a(6318),es:a(5394),el:a(3636),fr:a(2551),hu:a(995),it:a(9112),nl:a(4671),nb:a(9085),pl:a(6238),fi:a(7868),"pt-br":a(6586),"pt-pt":a(8664),ro:a(1102),ru:a(753),"zh-tw":a(1715),"zh-cn":a(4556),sk:a(7049),sv:a(7921),vi:a(1497)}})},6395:(e,t,a)=>{"use strict";var n=a(9899),o=a(3324),s=a(7661),i=a(5524),r=a(7629),c=a(629);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function d(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?u(Object(a),!0).forEach((function(t){_(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):u(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function _(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const p={name:"Create",components:{SplitForm:r.Z,Alert:o.Z,SplitPills:s.Z,TransactionGroupTitle:i.Z},created:function(){var e=window.location.pathname.split("/"),t=e[e.length-1];this.date=(new Date).toISOString().split("T")[0]+"T00:00",this.setTransactionType(t[0].toUpperCase()+t.substring(1)),this.getExpectedSourceTypes(),this.getAccountToTransaction(),this.getCustomFields(),this.addTransaction()},data:function(){return{errorMessage:"",successMessage:"",customFields:{},enableSubmit:!0,createAnother:!1,resetFormAfter:!1,submittedTransaction:!1,submittedLinks:!1,submittedAttachments:!1,inError:!1,submittedAttCount:{},groupTitleErrors:[],returnedGroupId:0,returnedGroupTitle:"",accountToTransaction:{},allowedOpposingTypes:{},sourceAllowedTypes:["Asset account","Loan","Debt","Mortgage","Revenue account"],destinationAllowedTypes:["Asset account","Loan","Debt","Mortgage","Expense account"],date:""}},computed:d(d({},(0,c.Se)("transactions/create",["transactionType","transactions","groupTitle"])),(0,c.Se)("root",["listPageSize"])),watch:{submittedTransaction:function(){this.finalizeSubmit()},submittedLinks:function(){this.finalizeSubmit()},submittedAttachments:function(){this.finalizeSubmit()}},methods:d(d({},(0,c.OI)("transactions/create",["setGroupTitle","addTransaction","deleteTransaction","setTransactionError","setTransactionType","resetErrors","updateField","resetTransactions"])),{},{removeTransaction:function(e){this.$store.commit("transactions/create/deleteTransaction",e)},finalizeSubmit:function(){var e=this;if(this.submittedTransaction&&this.submittedAttachments&&this.submittedLinks){var t;if(!1===this.createAnother&&!1===this.inError)return void(window.location.href=(null!==(t=window.previousURL)&&void 0!==t?t:"/")+"?transaction_group_id="+this.returnedGroupId+"&message=created");for(var a in!1===this.inError&&(this.errorMessage="",this.successMessage=this.$t("firefly.transaction_stored_link",{ID:this.returnedGroupId,title:this.returnedGroupTitle})),this.enableSubmit=!0,this.submittedTransaction=!1,this.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)&&this.updateField({index:a,field:"transaction_journal_id",value:0});this.submittedAttCount=[],this.resetFormAfter&&(this.resetTransactions(),setTimeout((function(){return e.addTransaction()}),50))}},submitTransaction:function(e){var t=this;e.preventDefault(),this.enableSubmit=!1;var a=this.convertData();axios.post("./api/v1/transactions",a).then((function(e){t.submittedTransaction=!0,t.submitTransactionLinks(a,e),t.submitAttachments(a,e),t.returnedGroupId=parseInt(e.data.data.id),t.returnedGroupTitle=null===e.data.data.attributes.group_title?e.data.data.attributes.transactions[0].description:e.data.data.attributes.group_title})).catch((function(e){t.enableSubmit=!0,t.submittedTransaction=!0,t.submittedAttachments=!0,t.submittedLinks=!0,t.inError=!0,t.parseErrors(e.response.data)}))},submitAttachments:function(e,t){var a=t.data.data.attributes.transactions;for(var n in e.transactions)e.transactions.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&a.hasOwnProperty(n)&&this.updateField({index:n,field:"transaction_journal_id",value:a[n].transaction_journal_id})},uploadedAttachment:function(e){var t="str"+e;this.submittedAttCount[t]=1,Object.keys(this.submittedAttCount).length===this.transactions.length&&(this.submittedAttachments=!0)},storeLocation:function(e){var t=e.hasMarker?e.zoomLevel:null,a=e.hasMarker?e.lat:null,n=e.hasMarker?e.lng:null;this.updateField({index:e.index,field:"zoom_level",value:t}),this.updateField({index:e.index,field:"latitude",value:a}),this.updateField({index:e.index,field:"longitude",value:n})},storeAccountValue:function(e){this.updateField({index:e.index,field:e.direction+"_account_id",value:e.id}),this.updateField({index:e.index,field:e.direction+"_account_type",value:e.type}),this.updateField({index:e.index,field:e.direction+"_account_name",value:e.name}),this.updateField({index:e.index,field:e.direction+"_account_currency_id",value:e.currency_id}),this.updateField({index:e.index,field:e.direction+"_account_currency_code",value:e.currency_code}),this.updateField({index:e.index,field:e.direction+"_account_currency_symbol",value:e.currency_symbol})},storeField:function(e){this.updateField(e)},storeDate:function(e){this.date=e.date},storeGroupTitle:function(e){this.setGroupTitle({groupTitle:e})},submitTransactionLinks:function(e,t){var a=[],n=t.data.data.attributes.transactions,o=0;for(var s in e.transactions)if(e.transactions.hasOwnProperty(s)&&/^0$|^[1-9]\d*$/.test(s)&&s<=4294967294){var i=e.transactions[s];if(n.hasOwnProperty(s)){var r=n[s];for(var c in i.links)if(i.links.hasOwnProperty(c)&&/^0$|^[1-9]\d*$/.test(c)&&c<=4294967294){var l=i.links[c];o++,0===l.outward_id&&(l.outward_id=r.transaction_journal_id),0===l.inward_id&&(l.inward_id=r.transaction_journal_id),a.push(axios.post("./api/v1/transaction_links",l).then((function(e){})))}}}0!==o?Promise.all(a).then((function(){this.submittedLinks=!0})):this.submittedLinks=!0},parseErrors:function(e){for(var t in this.transactions)this.resetErrors({index:t});var a,n,o;for(var s in this.successMessage="",this.errorMessage=this.$t("firefly.errors_submission"),void 0===e.errors&&(this.successMessage="",this.errorMessage=e.message),e.errors)if(e.errors.hasOwnProperty(s)){if("group_title"===s){this.groupTitleErrors=e.errors[s];continue}if("group_title"!==s)switch(n=parseInt(s.split(".")[1]),o=s.split(".")[2]){case"amount":case"description":case"date":case"tags":a={index:n,field:o,errors:e.errors[s]},this.setTransactionError(a);break;case"budget_id":a={index:n,field:"budget",errors:e.errors[s]},this.setTransactionError(a);break;case"bill_id":a={index:n,field:"bill",errors:e.errors[s]},this.setTransactionError(a);break;case"piggy_bank_id":a={index:n,field:"piggy_bank",errors:e.errors[s]},this.setTransactionError(a);break;case"category_name":a={index:n,field:"category",errors:e.errors[s]},this.setTransactionError(a);break;case"source_name":case"source_id":a={index:n,field:"source",errors:e.errors[s]},this.setTransactionError(a);break;case"destination_name":case"destination_id":a={index:n,field:"destination",errors:e.errors[s]},this.setTransactionError(a);break;case"foreign_amount":case"foreign_currency":a={index:n,field:"foreign_amount",errors:e.errors[s]},this.setTransactionError(a)}this.transactions[n]}},convertData:function(){var e={transactions:[]};for(var t in this.groupTitle.length>0&&(e.group_title=this.groupTitle),this.transactions)this.transactions.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294&&e.transactions.push(this.convertSplit(t,this.transactions[t]));return e.transactions.length>1&&""!==e.transactions[0].description&&(e.group_title=e.transactions[0].description),e.transactions.length>1&&(e=this.synchronizeAccounts(e)),e},synchronizeAccounts:function(e){for(var t in e.transactions)e.transactions.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294&&("Transfer"===this.transactionType&&(e.transactions[t].source_name=null,e.transactions[t].destination_name=null,t>0&&(e.transactions[t].source_id=e.transactions[0].source_id,e.transactions[t].destination_id=e.transactions[0].destination_id)),"Deposit"===this.transactionType&&(e.transactions[t].destination_name=null,t>0&&(e.transactions[t].destination_id=e.transactions[0].destination_id)),"Withdrawal"===this.transactionType&&(e.transactions[t].source_name=null,t>0&&(e.transactions[t].source_id=e.transactions[0].source_id)));return e},convertSplit:function(e,t){var a,n,o,s;""===t.destination_account_name&&(t.destination_account_name=null),0===t.destination_account_id&&(t.destination_account_name=null),""===t.source_account_name&&(t.source_account_name=null),0===t.source_account_id&&(t.source_account_id=null);var i={description:t.description,date:this.date,type:this.transactionType.toLowerCase(),source_id:null!==(a=t.source_account_id)&&void 0!==a?a:null,source_name:null!==(n=t.source_account_name)&&void 0!==n?n:null,destination_id:null!==(o=t.destination_account_id)&&void 0!==o?o:null,destination_name:null!==(s=t.destination_account_name)&&void 0!==s?s:null,currency_id:t.currency_id,amount:t.amount,budget_id:t.budget_id,category_name:t.category,interest_date:t.interest_date,book_date:t.book_date,process_date:t.process_date,due_date:t.due_date,payment_date:t.payment_date,invoice_date:t.invoice_date,internal_reference:t.internal_reference,external_url:t.external_url,notes:t.notes,external_id:t.external_id,zoom_level:t.zoom_level,longitude:t.longitude,latitude:t.latitude,tags:[],order:0,reconciled:!1};if(0!==t.tags.length)for(var r in t.tags)if(t.tags.hasOwnProperty(r)&&/^0$|^[1-9]\d*$/.test(r)&&r<=4294967294){var c=t.tags[r];"object"===l(c)&&null!==c&&i.tags.push(c.text),"string"==typeof c&&i.tags.push(c)}0!==t.piggy_bank_id&&(i.piggy_bank_id=t.piggy_bank_id),0!==t.bill_id&&(i.bill_id=t.bill_id),0!==t.foreign_currency_id&&""!==t.foreign_amount&&(i.foreign_currency_id=t.foreign_currency_id),""!==t.foreign_amount&&(i.foreign_amount=t.foreign_amount),i.currency_id=t.source_account_currency_id,"Deposit"===this.transactionType&&(i.currency_id=t.destination_account_currency_id);var u=[];for(var d in t.links)if(t.links.hasOwnProperty(d)&&/^0$|^[1-9]\d*$/.test(d)&&d<=4294967294){var _=t.links[d],p=_.link_type_id.split("-"),g="outward"===p[1]?0:parseInt(_.transaction_journal_id),m="inward"===p[1]?0:parseInt(_.transaction_journal_id),h={link_type_id:parseInt(p[0]),inward_id:g,outward_id:m};u.push(h)}return i.links=u,null===i.source_id&&delete i.source_id,null===i.source_name&&delete i.source_name,null===i.destination_id&&delete i.destination_id,null===i.destination_name&&delete i.destination_name,i},getAllowedOpposingTypes:function(){var e=this;axios.get("./api/v1/configuration/firefly.allowed_opposing_types").then((function(t){console.log("opposing types things."),console.log(t.data.data.value),e.allowedOpposingTypes=t.data.data.value}))},getExpectedSourceTypes:function(){var e=this;axios.get("./api/v1/configuration/firefly.expected_source_types").then((function(t){e.sourceAllowedTypes=t.data.data.value.source[e.transactionType],e.destinationAllowedTypes=t.data.data.value.destination[e.transactionType]}))},getAccountToTransaction:function(){var e=this;axios.get("./api/v1/configuration/firefly.account_to_transaction").then((function(t){e.accountToTransaction=t.data.data.value}))},getCustomFields:function(){var e=this;axios.get("./api/v1/preferences/transaction_journal_optional_fields").then((function(t){e.customFields=t.data.data.attributes.data}))},setDestinationAllowedTypes:function(e){0!==e.length?this.destinationAllowedTypes=e:this.destinationAllowedTypes=this.defaultDestinationAllowedTypes},setSourceAllowedTypes:function(e){0!==e.length?this.sourceAllowedTypes=e:this.sourceAllowedTypes=this.defaultSourceAllowedTypes}})};const g=(0,a(1900).Z)(p,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("alert",{attrs:{message:e.errorMessage,type:"danger"}}),e._v(" "),a("alert",{attrs:{message:e.successMessage,type:"success"}}),e._v(" "),a("form",{on:{submit:e.submitTransaction}},[a("SplitPills",{attrs:{transactions:e.transactions}}),e._v(" "),a("div",{staticClass:"tab-content"},e._l(this.transactions,(function(t,n){return a("SplitForm",{key:n,attrs:{count:e.transactions.length,"custom-fields":e.customFields,date:e.date,"destination-allowed-types":e.destinationAllowedTypes,index:n,"source-allowed-types":e.sourceAllowedTypes,"submitted-transaction":e.submittedTransaction,transaction:t,"transaction-type":e.transactionType},on:{"uploaded-attachments":function(t){return e.uploadedAttachment(t)},"set-marker-location":function(t){return e.storeLocation(t)},"set-account":function(t){return e.storeAccountValue(t)},"set-date":function(t){return e.storeDate(t)},"set-field":function(t){return e.storeField(t)},"remove-transaction":function(t){return e.removeTransaction(t)}}})})),1),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},[e.transactions.length>1?a("div",{staticClass:"card"},[a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("TransactionGroupTitle",{attrs:{errors:this.groupTitleErrors},on:{"set-group-title":function(t){return e.storeGroupTitle(t)}},model:{value:this.groupTitle,callback:function(t){e.$set(this,"groupTitle",t)},expression:"this.groupTitle"}})],1)])])]):e._e()]),e._v(" "),a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("div",{staticClass:"card card-primary"},[a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n \n ")]),e._v(" "),a("button",{staticClass:"btn btn-outline-primary btn-block",on:{click:e.addTransaction}},[a("i",{staticClass:"far fa-clone"}),e._v(" "+e._s(e.$t("firefly.add_another_split"))+"\n ")])]),e._v(" "),a("div",{staticClass:"col"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n \n ")]),e._v(" "),a("button",{staticClass:"btn btn-success btn-block",attrs:{disabled:!e.enableSubmit},on:{click:e.submitTransaction}},[e.enableSubmit?a("span",[a("i",{staticClass:"far fa-save"}),e._v(" "+e._s(e.$t("firefly.store_transaction")))]):e._e(),e._v(" "),e.enableSubmit?e._e():a("span",[a("i",{staticClass:"fas fa-spinner fa-spin"})])])])]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[e._v("\n \n ")]),e._v(" "),a("div",{staticClass:"col"},[a("div",{staticClass:"form-check"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.createAnother,expression:"createAnother"}],staticClass:"form-check-input",attrs:{id:"createAnother",type:"checkbox"},domProps:{checked:Array.isArray(e.createAnother)?e._i(e.createAnother,null)>-1:e.createAnother},on:{change:function(t){var a=e.createAnother,n=t.target,o=!!n.checked;if(Array.isArray(a)){var s=e._i(a,null);n.checked?s<0&&(e.createAnother=a.concat([null])):s>-1&&(e.createAnother=a.slice(0,s).concat(a.slice(s+1)))}else e.createAnother=o}}}),e._v(" "),a("label",{staticClass:"form-check-label",attrs:{for:"createAnother"}},[a("span",{staticClass:"small"},[e._v(e._s(e.$t("firefly.create_another")))])])]),e._v(" "),a("div",{staticClass:"form-check"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.resetFormAfter,expression:"resetFormAfter"}],staticClass:"form-check-input",attrs:{id:"resetFormAfter",disabled:!e.createAnother,type:"checkbox"},domProps:{checked:Array.isArray(e.resetFormAfter)?e._i(e.resetFormAfter,null)>-1:e.resetFormAfter},on:{change:function(t){var a=e.resetFormAfter,n=t.target,o=!!n.checked;if(Array.isArray(a)){var s=e._i(a,null);n.checked?s<0&&(e.resetFormAfter=a.concat([null])):s>-1&&(e.resetFormAfter=a.slice(0,s).concat(a.slice(s+1)))}else e.resetFormAfter=o}}}),e._v(" "),a("label",{staticClass:"form-check-label",attrs:{for:"resetFormAfter"}},[a("span",{staticClass:"small"},[e._v(e._s(e.$t("firefly.reset_after")))])])])])])])])])])],1)],1)}),[],!1,null,"73895ea8",null).exports;var m=a(7760),h=a.n(m);a(232),h().config.productionTip=!1;var y=a(157),f={};new(h())({i18n:y,store:n.Z,render:function(e){return e(g,{props:f})},beforeCreate:function(){this.$store.dispatch("root/initialiseStore"),this.$store.commit("initialiseStore"),this.$store.dispatch("updateCurrencyPreference")}}).$mount("#transactions_create")},4478:(e,t,a)=>{"use strict";function n(){return{description:[],amount:[],source:[],destination:[],currency:[],foreign_currency:[],foreign_amount:[],date:[],custom_dates:[],budget:[],category:[],bill:[],tags:[],piggy_bank:[],internal_reference:[],external_url:[],notes:[],location:[]}}function o(){return{description:"",transaction_journal_id:0,source_account_id:null,source_account_name:null,source_account_type:null,source_account_currency_id:null,source_account_currency_code:null,source_account_currency_symbol:null,destination_account_id:null,destination_account_name:null,destination_account_type:null,destination_account_currency_id:null,destination_account_currency_code:null,destination_account_currency_symbol:null,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:{}}}a.d(t,{kQ:()=>n,f$:()=>o})},6665:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>r});var n=a(4015),o=a.n(n),s=a(3645),i=a.n(s)()(o());i.push([e.id,".vue-tags-input{max-width:100%!important;display:block}.ti-input,.vue-tags-input{width:100%;border-radius:.25rem}.ti-input{max-width:100%}.ti-new-tag-input{font-size:1rem}","",{version:3,sources:["webpack://./src/components/transactions/TransactionTags.vue"],names:[],mappings:"AA2HA,gBAEA,wBAAA,CACA,aAEA,CAEA,0BANA,UAAA,CAGA,oBAOA,CAJA,UAEA,cAEA,CAEA,kBACA,cACA",sourcesContent:['\x3c!--\n - TransactionTags.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n --\x3e\n\n<template>\n <div class="form-group">\n <div class="text-xs d-none d-lg-block d-xl-block">\n {{ $t(\'firefly.tags\') }}\n </div>\n <div class="input-group">\n <vue-tags-input\n v-model="currentTag"\n :add-only-from-autocomplete="false"\n :autocomplete-items="autocompleteItems"\n :tags="tags"\n :title="$t(\'firefly.tags\')"\n v-bind:placeholder="$t(\'firefly.tags\')"\n @tags-changed="newTags => this.tags = newTags"\n />\n </div>\n <span v-if="errors.length > 0">\n <span v-for="error in errors" class="text-danger small">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nimport VueTagsInput from "@johmun/vue-tags-input";\nimport axios from "axios";\n\nexport default {\n name: "TransactionTags",\n components: {\n VueTagsInput\n },\n props: [\'value\', \'index\', \'errors\'],\n data() {\n return {\n autocompleteItems: [],\n debounce: null,\n tags: [],\n currentTag: \'\',\n updateTags: true, // the idea is that this is always true, except when the tags-function sets the value.\n tagList: this.value,\n emitEvent: true\n };\n },\n created() {\n let tags = [];\n for (let i in this.value) {\n if (this.value.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n tags.push({text: this.value[i]});\n }\n }\n this.updateTags = false;\n this.tags = tags;\n },\n watch: {\n \'currentTag\': \'initItems\',\n value: function (value) {\n this.emitEvent = false;\n this.tagList = value;\n },\n tagList: function (value) {\n console.log(\'watch tagList\');\n if (true === this.emitEvent) {\n this.$emit(\'set-field\', {field: \'tags\', index: this.index, value: value});\n }\n this.emitEvent = true;\n this.updateTags = false;\n this.tags = value;\n },\n tags: function (value) {\n if (this.updateTags) {\n let shortList = [];\n for (let key in value) {\n if (value.hasOwnProperty(key)) {\n shortList.push({text: value[key].text});\n }\n }\n this.tagList = shortList;\n }\n this.updateTags = true;\n }\n },\n methods: {\n initItems() {\n if (this.currentTag.length < 2) {\n return;\n }\n const url = document.getElementsByTagName(\'base\')[0].href + `api/v1/autocomplete/tags?query=${this.currentTag}`;\n\n clearTimeout(this.debounce);\n this.debounce = setTimeout(() => {\n axios.get(url).then(response => {\n this.autocompleteItems = response.data.map(item => {\n return {text: item.tag};\n });\n }).catch(() => console.warn(\'Oh. Something went wrong loading tags.\'));\n }, 300);\n },\n },\n\n\n}\n<\/script>\n<style>\n.vue-tags-input {\n width: 100%;\n max-width: 100% !important;\n display: block;\n border-radius: 0.25rem;\n}\n\n.ti-input {\n border-radius: 0.25rem;\n max-width: 100%;\n width: 100%;\n}\n\n.ti-new-tag-input {\n font-size: 1rem;\n}\n</style>\n'],sourceRoot:""}]);const r=i},3324:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});const n={name:"Alert",props:["message","type"]};const o=(0,a(1900).Z)(n,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.message.length>0?a("div",{class:"alert alert-"+e.type+" alert-dismissible"},[a("button",{staticClass:"close",attrs:{"aria-hidden":"true","data-dismiss":"alert",type:"button"}},[e._v("×")]),e._v(" "),a("h5",["danger"===e.type?a("i",{staticClass:"icon fas fa-ban"}):e._e(),e._v(" "),"success"===e.type?a("i",{staticClass:"icon fas fa-thumbs-up"}):e._e(),e._v(" "),"danger"===e.type?a("span",[e._v(e._s(e.$t("firefly.flash_error")))]):e._e(),e._v(" "),"success"===e.type?a("span",[e._v(e._s(e.$t("firefly.flash_success")))]):e._e()]),e._v(" "),a("span",{domProps:{innerHTML:e._s(e.message)}})]):e._e()}),[],!1,null,null,null).exports},7629:(e,t,a)=>{"use strict";a.d(t,{Z:()=>oe});var n=a(3533),o=a(6486);const s={props:["index","value","errors"],components:{VueTypeaheadBootstrap:n.Z},name:"TransactionDescription",data:function(){return{descriptions:[],initialSet:[],description:this.value}},created:function(){var e=this;axios.get(this.getACURL("")).then((function(t){e.descriptions=t.data,e.initialSet=t.data}))},methods:{clearDescription:function(){this.description=""},getACURL:function(e){return document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/transactions?query="+e},lookupDescription:(0,o.debounce)((function(){var e=this;axios.get(this.getACURL(this.value)).then((function(t){e.descriptions=t.data}))}),300)},watch:{value:function(e){this.description=e},description:function(e){this.$emit("set-field",{field:"description",index:this.index,value:e})}}};var i=a(1900);const r=(0,i.Z)(s,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("vue-typeahead-bootstrap",{attrs:{data:e.descriptions,inputClass:e.errors.length>0?"is-invalid":"",minMatchingChars:3,placeholder:e.$t("firefly.description"),serializer:function(e){return e.description},showOnFocus:!0,autofocus:"",inputName:"description[]"},on:{input:e.lookupDescription},model:{value:e.description,callback:function(t){e.description=t},expression:"description"}},[a("template",{slot:"append"},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"},on:{click:e.clearDescription}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()],1)}),[],!1,null,null,null).exports;function c(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function l(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const u={props:["index","errors","date"],name:"TransactionDate",created:function(){this.localTimeZone=Intl.DateTimeFormat().resolvedOptions().timeZone,this.systemTimeZone=this.timezone,console.log("TransactionDate: "+this.date);var e=this.date.split("T");this.dateStr=e[0],this.timeStr=e[1]},data:function(){return{localDate:this.date,localTimeZone:"",systemTimeZone:"",timeStr:"",dateStr:""}},watch:{dateStr:function(e){this.$emit("set-date",{date:e+"T"+this.timeStr})},timeStr:function(e){this.$emit("set-date",{date:this.dateStr+"T"+e})}},methods:{},computed:function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?c(Object(a),!0).forEach((function(t){l(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):c(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}({},(0,a(629).Se)("root",["timezone"]))};const d=(0,i.Z)(u,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.date_and_time"))+"\n ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.dateStr,expression:"dateStr"}],ref:"date",class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{disabled:e.index>0,placeholder:e.dateStr,title:e.$t("firefly.date"),autocomplete:"off",name:"date[]",type:"date"},domProps:{value:e.dateStr},on:{input:function(t){t.target.composing||(e.dateStr=t.target.value)}}}),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.timeStr,expression:"timeStr"}],ref:"time",class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{disabled:e.index>0,placeholder:e.timeStr,title:e.$t("firefly.time"),autocomplete:"off",name:"time[]",type:"time"},domProps:{value:e.timeStr},on:{input:function(t){t.target.composing||(e.timeStr=t.target.value)}}})]),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e(),e._v(" "),a("span",{staticClass:"text-muted small"},[e._v(e._s(e.localTimeZone)+":"+e._s(e.systemTimeZone))])])}),[],!1,null,null,null).exports;const _={props:["index","value","errors"],name:"TransactionBudget",data:function(){return{budgetList:[],budget:this.value,emitEvent:!0}},created:function(){this.collectData()},methods:{collectData:function(){this.budgetList.push({id:0,name:this.$t("firefly.no_budget")}),this.getBudgets()},getBudgets:function(){var e=this;axios.get("./api/v1/budgets").then((function(t){e.parseBudgets(t.data)}))},parseBudgets:function(e){for(var t in e.data)if(e.data.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=e.data[t];if(!a.attributes.active)continue;this.budgetList.push({id:parseInt(a.id),name:a.attributes.name})}}},watch:{value:function(e){this.emitEvent=!1,this.budget=e},budget:function(e){this.$emit("set-field",{field:"budget_id",index:this.index,value:e})}}};const p=(0,i.Z)(_,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.budget"))+"\n ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:e.budget,expression:"budget"}],ref:"budget",class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{title:e.$t("firefly.budget"),autocomplete:"off",name:"budget_id[]"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.budget=t.target.multiple?a:a[0]}}},e._l(this.budgetList,(function(t){return a("option",{attrs:{label:t.name},domProps:{value:t.id}},[e._v(e._s(t.name))])})),0)]),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()])}),[],!1,null,null,null).exports;const g={name:"TransactionAccount",components:{VueTypeaheadBootstrap:n.Z},props:{index:{type:Number},direction:{type:String},value:{type:Object,default:function(){return{}}},errors:{type:Array,default:function(){return[]}},sourceAllowedTypes:{type:Array,default:function(){return[]}},destinationAllowedTypes:{type:Array,default:function(){return[]}},transactionType:{type:String,default:"any"}},data:function(){return{query:"",accounts:[],accountTypes:[],initialSet:[],selectedAccount:{},accountName:"",selectedAccountTrigger:!1}},created:function(){var e;this.accountName=null!==(e=this.value.name)&&void 0!==e?e:"",this.selectedAccountTrigger=!0},methods:{getACURL:function(e,t){return"./api/v1/autocomplete/accounts?types="+e.join(",")+"&query="+t},userSelectedAccount:function(e){this.selectedAccountTrigger=!0,this.selectedAccount=e},systemReturnedAccount:function(e){this.selectedAccountTrigger=!1,this.selectedAccount=e},clearAccount:function(){this.accounts=this.initialSet,this.accountName=""},lookupAccount:(0,o.debounce)((function(){var e=this;0===this.accountTypes.length&&(this.accountTypes="source"===this.direction?this.sourceAllowedTypes:this.destinationAllowedTypes),axios.get(this.getACURL(this.accountTypes,this.accountName)).then((function(t){e.accounts=t.data}))}),300),createInitialSet:function(){var e=this,t=this.sourceAllowedTypes;"destination"===this.direction&&(t=this.destinationAllowedTypes),axios.get(this.getACURL(t,"")).then((function(t){e.accounts=t.data,e.initialSet=t.data}))}},watch:{sourceAllowedTypes:function(e){this.createInitialSet()},destinationAllowedTypes:function(e){this.createInitialSet()},selectedAccount:function(e){console.log("TransactionAccount::watch selectedAccount()"),console.log(e),!0===this.selectedAccountTrigger&&(console.log("$emit alles!"),this.$emit("set-account",{index:this.index,direction:this.direction,id:e.id,type:e.type,name:e.name,currency_id:e.currency_id,currency_code:e.currency_code,currency_symbol:e.currency_symbol}),console.log("watch::selectedAccount() will now set accountName because selectedAccountTrigger = true"),this.accountName=e.name)},accountName:function(e){console.log('now at watch accountName("'+e+'")'),console.log(this.selectedAccountTrigger),!0===this.selectedAccountTrigger&&console.log("Do nothing because selectedAccountTrigger = true"),!1===this.selectedAccountTrigger&&(console.log("$emit name from watch::accountName() because selectedAccountTrigger = false"),this.$emit("set-account",{index:this.index,direction:this.direction,id:null,type:null,name:e,currency_id:null,currency_code:null,currency_symbol:null})),console.log("set selectedAccountTrigger to be FALSE"),this.selectedAccountTrigger=!1},value:function(e){console.log("TransactionAccount::watch value("+JSON.stringify(e)+")"),this.systemReturnedAccount(e)}},computed:{accountKey:{get:function(){return"source"===this.direction?"source_account":"destination_account"}},visible:{get:function(){return 0===this.index||("source"===this.direction?"any"===this.transactionType||"Deposit"===this.transactionType||void 0===this.transactionType:"destination"===this.direction&&("any"===this.transactionType||"Withdrawal"===this.transactionType||void 0===this.transactionType))}}}};const m=(0,i.Z)(g,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[e.visible?a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[0===this.index?a("span",[e._v(e._s(e.$t("firefly."+this.direction+"_account")))]):e._e(),e._v(" "),this.index>0?a("span",{staticClass:"text-warning"},[e._v(e._s(e.$t("firefly.first_split_overrules_"+this.direction)))]):e._e(),e._v(" "),a("br"),a("span",[e._v(e._s(e.selectedAccount))])]):e._e(),e._v(" "),e.visible?e._e():a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n \n ")]),e._v(" "),e.visible?a("vue-typeahead-bootstrap",{attrs:{data:e.accounts,inputClass:e.errors.length>0?"is-invalid":"",inputName:e.direction+"[]",minMatchingChars:3,placeholder:e.$t("firefly."+e.direction+"_account"),serializer:function(e){return e.name_with_balance},showOnFocus:!0,"aria-autocomplete":"none",autocomplete:"off"},on:{hit:e.userSelectedAccount,input:e.lookupAccount},scopedSlots:e._u([{key:"suggestion",fn:function(t){var n=t.data,o=t.htmlText;return[a("div",{staticClass:"d-flex",attrs:{title:n.type}},[a("span",{domProps:{innerHTML:e._s(o)}}),a("br")])]}}],null,!1,1423807661),model:{value:e.accountName,callback:function(t){e.accountName=t},expression:"accountName"}},[e._v(" "),a("template",{slot:"append"},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"},on:{click:e.clearAccount}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2):e._e(),e._v(" "),e.visible?e._e():a("div",{staticClass:"form-control-static"},[a("span",{staticClass:"small text-muted"},[a("em",[e._v(e._s(e.$t("firefly.first_split_decides")))])])]),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()],1)}),[],!1,null,null,null).exports;const h={name:"SwitchAccount",props:["index","transactionType"],methods:{}};const y=(0,i.Z)(h,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},["any"!==this.transactionType?a("span",{staticClass:"text-muted"},[e._v("\n "+e._s(e.$t("firefly."+this.transactionType))+"\n ")]):e._e(),e._v(" "),"any"===this.transactionType?a("span",{staticClass:"text-muted"},[e._v(" ")]):e._e()])])}),[],!1,null,"66a3afa9",null).exports;const f={name:"TransactionAmount",props:{index:{type:Number,default:0,required:!0},errors:{},amount:{},transactionType:{},sourceCurrencySymbol:{},destinationCurrencySymbol:{},fractionDigits:{default:2,required:!1}},created:function(){""!==this.amount&&(this.emitEvent=!1,this.transactionAmount=this.formatNumber(this.amount))},methods:{formatNumber:function(e){return parseFloat(e).toFixed(this.fractionDigits)}},data:function(){return{transactionAmount:this.amount,currencySymbol:null,srcCurrencySymbol:this.sourceCurrencySymbol,dstCurrencySymbol:this.destinationCurrencySymbol,emitEvent:!0}},watch:{transactionAmount:function(e){!0===this.emitEvent&&this.$emit("set-field",{field:"amount",index:this.index,value:e}),this.emitEvent=!0},amount:function(e){this.transactionAmount=e},sourceCurrencySymbol:function(e){this.srcCurrencySymbol=e},destinationCurrencySymbol:function(e){this.dstCurrencySymbol=e},transactionType:function(e){switch(e){case"Transfer":case"Withdrawal":this.currencySymbol=this.srcCurrencySymbol;break;case"Deposit":this.currencySymbol=this.dstCurrencySymbol}}}};const b=(0,i.Z)(f,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs"},[e._v(e._s(e.$t("firefly.amount")))]),e._v(" "),a("div",{staticClass:"input-group"},[e.currencySymbol?a("div",{staticClass:"input-group-prepend"},[a("div",{staticClass:"input-group-text"},[e._v(e._s(e.currencySymbol))])]):e._e(),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.transactionAmount,expression:"transactionAmount"}],class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:e.$t("firefly.amount"),title:e.$t("firefly.amount"),autocomplete:"off",name:"amount[]",type:"number",step:"any"},domProps:{value:e.transactionAmount},on:{input:function(t){t.target.composing||(e.transactionAmount=t.target.value)}}})]),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()])}),[],!1,null,"571f2c0a",null).exports;const v={name:"TransactionForeignAmount",props:{index:{},errors:{},value:{},transactionType:{},sourceCurrencyId:{},destinationCurrencyId:{},fractionDigits:{type:Number,default:2}},data:function(){return{amount:this.value,emitEvent:!0}},created:function(){""!==this.amount&&(this.emitEvent=!1,this.amount=this.formatNumber(this.amount))},methods:{formatNumber:function(e){return parseFloat(e).toFixed(this.fractionDigits)}},watch:{amount:function(e){!0===this.emitEvent&&this.$emit("set-field",{field:"foreign_amount",index:this.index,value:e}),this.emitEvent=!0},value:function(e){this.amount=e}},computed:{isVisible:{get:function(){return!("Transfer"===this.transactionType&&this.sourceCurrencyId===this.destinationCurrencyId)}}}};const k=(0,i.Z)(v,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.isVisible?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs"},[e._v(e._s(e.$t("form.foreign_amount")))]),e._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.amount,expression:"amount"}],class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:e.$t("form.foreign_amount"),title:e.$t("form.foreign_amount"),autocomplete:"off",name:"foreign_amount[]",type:"number"},domProps:{value:e.amount},on:{input:function(t){t.target.composing||(e.amount=t.target.value)}}})]),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()]):e._e()}),[],!1,null,"d13f8bea",null).exports;const w={name:"TransactionForeignCurrency",props:["index","transactionType","sourceCurrencyId","destinationCurrencyId","selectedCurrencyId","value"],data:function(){return{selectedCurrency:this.value,allCurrencies:[],selectableCurrencies:[],dstCurrencyId:this.destinationCurrencyId,srcCurrencyId:this.sourceCurrencyId,lockedCurrency:0,emitEvent:!0}},watch:{value:function(e){this.selectedCurrency=e},sourceCurrencyId:function(e){this.srcCurrencyId=e},destinationCurrencyId:function(e){this.dstCurrencyId=e},selectedCurrency:function(e){this.$emit("set-field",{field:"foreign_currency_id",index:this.index,value:e})},transactionType:function(e){this.lockedCurrency=0,"Transfer"===e&&(this.lockedCurrency=this.dstCurrencyId,this.selectedCurrency=this.dstCurrencyId),this.filterCurrencies()}},created:function(){this.getAllCurrencies()},methods:{getAllCurrencies:function(){var e=this;axios.get("./api/v1/autocomplete/currencies").then((function(t){e.allCurrencies=t.data,e.filterCurrencies()}))},filterCurrencies:function(){if(0===this.lockedCurrency){for(var e in this.selectableCurrencies=[{id:0,name:this.$t("firefly.no_currency")}],this.allCurrencies)if(this.allCurrencies.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var t=this.allCurrencies[e];this.selectableCurrencies.push(t)}}else for(var a in this.allCurrencies)if(this.allCurrencies.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=this.allCurrencies[a];n.id===this.lockedCurrency&&(this.selectableCurrencies=[n],this.selectedCurrency=n.id)}}},computed:{isVisible:function(){return!("Transfer"===this.transactionType&&this.srcCurrencyId===this.dstCurrencyId)}}};const x=(0,i.Z)(w,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.isVisible?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs"},[e._v(" ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedCurrency,expression:"selectedCurrency"}],staticClass:"form-control",attrs:{name:"foreign_currency_id[]"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.selectedCurrency=t.target.multiple?a:a[0]}}},e._l(e.selectableCurrencies,(function(t){return a("option",{attrs:{label:t.name},domProps:{value:t.id}},[e._v(e._s(t.name))])})),0)])]):e._e()}),[],!1,null,"3ee4efa5",null).exports;const T={name:"TransactionCustomDates",props:["index","errors","customFields","interestDate","bookDate","processDate","dueDate","paymentDate","invoiceDate"],data:function(){return{dateFields:["interest_date","book_date","process_date","due_date","payment_date","invoice_date"],availableFields:this.customFields,dates:{interest_date:this.interestDate,book_date:this.bookDate,process_date:this.processDate,due_date:this.dueDate,payment_date:this.paymentDate,invoice_date:this.invoiceDate}}},watch:{customFields:function(e){this.availableFields=e},interestDate:function(e){this.dates.interest_date=e},bookDate:function(e){this.dates.book_date=e},processDate:function(e){this.dates.process_date=e},dueDate:function(e){this.dates.due_date=e},paymentDate:function(e){this.dates.payment_date=e},invoiceDate:function(e){this.dates.invoice_date=e}},methods:{isDateField:function(e){return this.dateFields.includes(e)},getFieldValue:function(e){var t;return null!==(t=this.dates[e])&&void 0!==t?t:""},setFieldValue:function(e,t){this.$emit("set-field",{field:t,index:this.index,value:e.target.value})}}};const A=(0,i.Z)(T,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",e._l(e.availableFields,(function(t,n){return a("div",{staticClass:"form-group"},[t&&e.isDateField(n)?a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("form."+n))+"\n ")]):e._e(),e._v(" "),t&&e.isDateField(n)?a("div",{staticClass:"input-group"},[a("input",{ref:n,refInFor:!0,staticClass:"form-control",attrs:{name:n+"[]",placeholder:e.$t("form."+n),title:e.$t("form."+n),autocomplete:"off",type:"date"},domProps:{value:e.getFieldValue(n)},on:{change:function(t){return e.setFieldValue(t,n)}}})]):e._e()])})),0)}),[],!1,null,null,null).exports;const C={props:["value","index","errors"],components:{VueTypeaheadBootstrap:n.Z},name:"TransactionCategory",data:function(){return{categories:[],initialSet:[],category:this.value,emitEvent:!0}},created:function(){var e=this;axios.get(this.getACURL("")).then((function(t){e.categories=t.data,e.initialSet=t.data}))},methods:{clearCategory:function(){this.category=""},getACURL:function(e){return document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/categories?query="+e},lookupCategory:(0,o.debounce)((function(){var e=this;axios.get(this.getACURL(this.value)).then((function(t){e.categories=t.data}))}),300)},watch:{value:function(e){this.emitEvent=!1,this.category=null!=e?e:""},category:function(e){this.$emit("set-field",{field:"category",index:this.index,value:e})}},computed:{selectedCategory:{get:function(){return this.categories[this.index].name},set:function(e){this.category=e.name}}}};const D=(0,i.Z)(C,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.category"))+"\n ")]),e._v(" "),a("vue-typeahead-bootstrap",{attrs:{data:e.categories,inputClass:e.errors.length>0?"is-invalid":"",minMatchingChars:3,placeholder:e.$t("firefly.category"),serializer:function(e){return e.name},showOnFocus:!0,inputName:"category[]"},on:{hit:function(t){e.selectedCategory=t},input:e.lookupCategory},model:{value:e.category,callback:function(t){e.category=t},expression:"category"}},[a("template",{slot:"append"},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"},on:{click:e.clearCategory}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()],1)}),[],!1,null,null,null).exports;const I={props:["value","index","errors"],name:"TransactionBill",data:function(){return{billList:[],bill:this.value,emitEvent:!0}},created:function(){this.collectData()},methods:{collectData:function(){this.billList.push({id:0,name:this.$t("firefly.no_bill")}),this.getBills()},getBills:function(){var e=this;axios.get("./api/v1/bills").then((function(t){e.parseBills(t.data)}))},parseBills:function(e){for(var t in e.data)if(e.data.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=e.data[t];this.billList.push({id:parseInt(a.id),name:a.attributes.name})}}},watch:{value:function(e){this.emitEvent=!1,this.bill=e},bill:function(e){!0===this.emitEvent&&this.$emit("set-field",{field:"bill_id",index:this.index,value:e}),this.emitEvent=!0}}};const S=(0,i.Z)(I,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.bill"))+"\n ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:e.bill,expression:"bill"}],ref:"bill",class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{title:e.$t("firefly.bill"),autocomplete:"off",name:"bill_id[]"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.bill=t.target.multiple?a:a[0]}}},e._l(this.billList,(function(t){return a("option",{attrs:{label:t.name},domProps:{value:t.id}},[e._v(e._s(t.name))])})),0)]),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()])}),[],!1,null,null,null).exports;var z=a(1310),j=a.n(z),P=a(9669),B=a.n(P);const F={name:"TransactionTags",components:{VueTagsInput:j()},props:["value","index","errors"],data:function(){return{autocompleteItems:[],debounce:null,tags:[],currentTag:"",updateTags:!0,tagList:this.value,emitEvent:!0}},created:function(){var e=[];for(var t in this.value)this.value.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294&&e.push({text:this.value[t]});this.updateTags=!1,this.tags=e},watch:{currentTag:"initItems",value:function(e){this.emitEvent=!1,this.tagList=e},tagList:function(e){console.log("watch tagList"),!0===this.emitEvent&&this.$emit("set-field",{field:"tags",index:this.index,value:e}),this.emitEvent=!0,this.updateTags=!1,this.tags=e},tags:function(e){if(this.updateTags){var t=[];for(var a in e)e.hasOwnProperty(a)&&t.push({text:e[a].text});this.tagList=t}this.updateTags=!0}},methods:{initItems:function(){var e=this;if(!(this.currentTag.length<2)){var t=document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/tags?query=".concat(this.currentTag);clearTimeout(this.debounce),this.debounce=setTimeout((function(){B().get(t).then((function(t){e.autocompleteItems=t.data.map((function(e){return{text:e.tag}}))})).catch((function(){return console.warn("Oh. Something went wrong loading tags.")}))}),300)}}}};a(4936);const N=(0,i.Z)(F,(function(){var e=this,t=this,a=t.$createElement,n=t._self._c||a;return n("div",{staticClass:"form-group"},[n("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.tags"))+"\n ")]),t._v(" "),n("div",{staticClass:"input-group"},[n("vue-tags-input",{attrs:{"add-only-from-autocomplete":!1,"autocomplete-items":t.autocompleteItems,tags:t.tags,title:t.$t("firefly.tags"),placeholder:t.$t("firefly.tags")},on:{"tags-changed":function(t){return e.tags=t}},model:{value:t.currentTag,callback:function(e){t.currentTag=e},expression:"currentTag"}})],1),t._v(" "),t.errors.length>0?n("span",t._l(t.errors,(function(e){return n("span",{staticClass:"text-danger small"},[t._v(t._s(e)),n("br")])})),0):t._e()])}),[],!1,null,null,null).exports;const L={props:["index","value","errors"],name:"TransactionPiggyBank",data:function(){return{piggyList:[],piggy_bank_id:this.value,emitEvent:!0}},created:function(){this.collectData()},methods:{collectData:function(){this.piggyList.push({id:0,name_with_balance:this.$t("firefly.no_piggy_bank")}),this.getPiggies()},getPiggies:function(){var e=this;axios.get("./api/v1/autocomplete/piggy-banks-with-balance").then((function(t){e.parsePiggies(t.data)}))},parsePiggies:function(e){for(var t in e)if(e.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=e[t];this.piggyList.push({id:parseInt(a.id),name_with_balance:a.name_with_balance})}}},watch:{value:function(e){this.emitEvent=!1,this.piggy_bank_id=e},piggy_bank_id:function(e){!0===this.emitEvent&&this.$emit("set-field",{field:"piggy_bank_id",index:this.index,value:e}),this.emitEvent=!0}}};const E=(0,i.Z)(L,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.piggy_bank"))+"\n ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:e.piggy_bank_id,expression:"piggy_bank_id"}],ref:"piggy_bank_id",class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{title:e.$t("firefly.piggy_bank"),autocomplete:"off",name:"piggy_bank_id[]"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.piggy_bank_id=t.target.multiple?a:a[0]}}},e._l(this.piggyList,(function(t){return a("option",{attrs:{label:t.name_with_balance},domProps:{value:t.id}},[e._v(e._s(t.name_with_balance))])})),0)]),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()])}),[],!1,null,null,null).exports;const $={props:["index","value","errors","customFields"],name:"TransactionInternalReference",data:function(){return{reference:this.value,availableFields:this.customFields,emitEvent:!0}},computed:{showField:function(){return"internal_reference"in this.availableFields&&this.availableFields.internal_reference}},methods:{},watch:{customFields:function(e){this.availableFields=e},value:function(e){this.emitEvent=!1,this.reference=e},reference:function(e){this.$emit("set-field",{field:"internal_reference",index:this.index,value:e})}}};const R=(0,i.Z)($,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.internal_reference"))+"\n ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.reference,expression:"reference"}],class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:e.$t("firefly.internal_reference"),name:"internal_reference[]",type:"text"},domProps:{value:e.reference},on:{input:function(t){t.target.composing||(e.reference=t.target.value)}}}),e._v(" "),e._m(0)])]):e._e()}),[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"input-group-append"},[t("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"}},[t("i",{staticClass:"far fa-trash-alt"})])])}],!1,null,null,null).exports;const O={props:["index","value","errors","customFields"],name:"TransactionExternalUrl",data:function(){return{url:this.value,availableFields:this.customFields}},computed:{showField:function(){return"external_uri"in this.availableFields&&this.availableFields.external_uri}},methods:{},watch:{customFields:function(e){this.availableFields=e},value:function(e){this.url=e},url:function(e){this.$emit("set-field",{field:"external_url",index:this.index,value:e})}}};const M=(0,i.Z)(O,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.external_url"))+"\n ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.url,expression:"url"}],class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:e.$t("firefly.external_url"),name:"external_url[]",type:"url"},domProps:{value:e.url},on:{input:function(t){t.target.composing||(e.url=t.target.value)}}}),e._v(" "),e._m(0)])]):e._e()}),[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"input-group-append"},[t("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"}},[t("i",{staticClass:"far fa-trash-alt"})])])}],!1,null,"7f6746e6",null).exports;const q={props:["index","value","errors","customFields"],name:"TransactionNotes",data:function(){return{notes:this.value,availableFields:this.customFields,emitEvent:!0}},computed:{showField:function(){return"notes"in this.availableFields&&this.availableFields.notes}},watch:{value:function(e){this.emitEvent=!1,this.notes=e},customFields:function(e){this.availableFields=e},notes:function(e){!0===this.emitEvent&&this.$emit("set-field",{field:"notes",index:this.index,value:e}),this.emitEvent=!0}}};const U=(0,i.Z)(q,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.notes"))+"\n ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.notes,expression:"notes"}],class:e.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:e.$t("firefly.notes")},domProps:{value:e.notes},on:{input:function(t){t.target.composing||(e.notes=t.target.value)}}})])]):e._e()}),[],!1,null,"10b3ae7a",null).exports;var V=a(3465);const W={props:["index","value","errors","customFields"],name:"TransactionLinks",data:function(){return{searchResults:[],include:[],locale:"en-US",linkTypes:[],query:"",searching:!1,links:this.value,availableFields:this.customFields,emitEvent:!0}},created:function(){var e;this.locale=null!==(e=localStorage.locale)&&void 0!==e?e:"en-US",this.emitEvent=!1,this.links=V(this.value),this.getLinkTypes()},computed:{showField:function(){return"links"in this.availableFields&&this.availableFields.links}},watch:{value:function(e){null!==e&&(this.emitEvent=!1,this.links=V(e))},links:function(e){!0===this.emitEvent&&this.$emit("set-field",{index:this.index,field:"links",value:V(e)}),this.emitEvent=!0},customFields:function(e){this.availableFields=e}},methods:{removeLink:function(e){this.links.splice(e,1)},getTextForLinkType:function(e){var t=e.split("-");for(var a in this.linkTypes)if(this.linkTypes.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=this.linkTypes[a];if(t[0]===n.id&&t[1]===n.direction)return n.type}return"text for #"+e},selectTransaction:function(e){for(var t in this.searchResults)if(this.searchResults.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=this.searchResults[t];a.selected&&this.addToSelected(a),a.selected||this.removeFromSelected(a)}},selectLinkType:function(e){for(var t in this.searchResults)if(this.searchResults.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=this.searchResults[t];this.updateSelected(a.transaction_journal_id,a.link_type_id)}},updateSelected:function(e,t){for(var a in this.links)if(this.links.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=this.links[a];parseInt(n.transaction_journal_id)===e&&(this.links[a].link_type_id=t)}},addToSelected:function(e){void 0===this.links.find((function(t){return t.transaction_journal_id===e.transaction_journal_id}))&&this.links.push(e)},removeFromSelected:function(e){for(var t in this.links){if(this.links.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294)this.links[t].transaction_journal_id===e.transaction_journal_id&&this.links.splice(parseInt(t),1)}},getLinkTypes:function(){var e=this;axios.get("./api/v1/link_types").then((function(t){e.parseLinkTypes(t.data)}))},resetModal:function(){this.search()},parseLinkTypes:function(e){for(var t in e.data)if(e.data.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=e.data[t],n={id:a.id,type:a.attributes.inward,direction:"inward"},o={id:a.id,type:a.attributes.outward,direction:"outward"};n.type===o.type&&(n.type=n.type+" (←)",o.type=o.type+" (→)"),this.linkTypes.push(n),this.linkTypes.push(o)}},search:function(){var e=this;if(""!==this.query){this.searching=!0,this.searchResults=[];var t="./api/v1/search/transactions?limit=10&query="+this.query;axios.get(t).then((function(t){e.parseSearch(t.data)}))}else this.searchResults=[]},parseSearch:function(e){for(var t in e.data)if(e.data.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294)for(var a in e.data[t].attributes.transactions)if(e.data[t].attributes.transactions.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=e.data[t].attributes.transactions[a];n.transaction_group_id=parseInt(e.data[t].id),n.selected=this.isJournalSelected(n.transaction_journal_id),n.link_type_id=this.getJournalLinkType(n.transaction_journal_id),n.link_type_text="",this.searchResults.push(n)}this.searching=!1},getJournalLinkType:function(e){for(var t in this.links)if(this.links.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=this.links[t];if(a.transaction_journal_id===e)return a.link_type_id}return"1-inward"},isJournalSelected:function(e){for(var t in this.links){if(this.links.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294)if(this.links[t].transaction_journal_id===e)return!0}return!1}}};const Z=(0,i.Z)(W,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.showField?a("div",[a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.journal_links"))+"\n ")]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[0===e.links.length?a("p",[a("button",{staticClass:"btn btn-default btn-xs",attrs:{"data-target":"#linkModal","data-toggle":"modal"},on:{click:e.resetModal}},[a("i",{staticClass:"fas fa-plus"}),e._v(" Add transaction link")])]):e._e(),e._v(" "),e.links.length>0?a("ul",{staticClass:"list-group"},e._l(e.links,(function(t,n){return a("li",{key:n,staticClass:"list-group-item"},[a("em",[e._v(e._s(e.getTextForLinkType(t.link_type_id)))]),e._v(" "),a("a",{attrs:{href:"./transaction/show/"+t.transaction_group_id}},[e._v(e._s(t.description))]),e._v(" "),"withdrawal"===t.type?a("span",[e._v("\n ("),a("span",{staticClass:"text-danger"},[e._v(e._s(Intl.NumberFormat(e.locale,{style:"currency",currency:t.currency_code}).format(-1*parseFloat(t.amount))))]),e._v(")\n ")]):e._e(),e._v(" "),"deposit"===t.type?a("span",[e._v("\n ("),a("span",{staticClass:"text-success"},[e._v(e._s(Intl.NumberFormat(e.locale,{style:"currency",currency:t.currency_code}).format(parseFloat(t.amount))))]),e._v(")\n ")]):e._e(),e._v(" "),"transfer"===t.type?a("span",[e._v("\n ("),a("span",{staticClass:"text-info"},[e._v(e._s(Intl.NumberFormat(e.locale,{style:"currency",currency:t.currency_code}).format(parseFloat(t.amount))))]),e._v(")\n ")]):e._e(),e._v(" "),a("div",{staticClass:"btn-group btn-group-xs float-right"},[a("button",{staticClass:"btn btn-xs btn-danger",attrs:{tabindex:"-1"},on:{click:function(t){return e.removeLink(n)}}},[a("i",{staticClass:"far fa-trash-alt"})])])])})),0):e._e(),e._v(" "),e.links.length>0?a("div",{staticClass:"form-text"},[a("button",{staticClass:"btn btn-default",attrs:{"data-target":"#linkModal","data-toggle":"modal"},on:{click:e.resetModal}},[a("i",{staticClass:"fas fa-plus"})])]):e._e()])])]),e._v(" "),a("div",{ref:"linkModal",staticClass:"modal",attrs:{id:"linkModal",tabindex:"-1"}},[a("div",{staticClass:"modal-dialog modal-lg"},[a("div",{staticClass:"modal-content"},[e._m(0),e._v(" "),a("div",{staticClass:"modal-body"},[a("div",{staticClass:"container-fluid"},[e._m(1),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("form",{on:{submit:function(t){return t.preventDefault(),e.search(t)}}},[a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.query,expression:"query"}],staticClass:"form-control",attrs:{id:"query",autocomplete:"off",maxlength:"255",name:"search",placeholder:"Search query",type:"text"},domProps:{value:e.query},on:{input:function(t){t.target.composing||(e.query=t.target.value)}}}),e._v(" "),e._m(2)])])])]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[e.searching?a("span",[a("i",{staticClass:"fas fa-spinner fa-spin"})]):e._e(),e._v(" "),e.searchResults.length>0?a("h4",[e._v(e._s(e.$t("firefly.search_results")))]):e._e(),e._v(" "),e.searchResults.length>0?a("table",{staticClass:"table table-sm"},[a("caption",{staticStyle:{display:"none"}},[e._v(e._s(e.$t("firefly.search_results")))]),e._v(" "),a("thead",[a("tr",[a("th",{staticStyle:{width:"33%"},attrs:{scope:"col",colspan:"2"}},[e._v(e._s(e.$t("firefly.include")))]),e._v(" "),a("th",{attrs:{scope:"col"}},[e._v(e._s(e.$t("firefly.transaction")))])])]),e._v(" "),a("tbody",e._l(e.searchResults,(function(t){return a("tr",[a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"result.selected"}],staticClass:"form-control",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.selected)?e._i(t.selected,null)>-1:t.selected},on:{change:[function(a){var n=t.selected,o=a.target,s=!!o.checked;if(Array.isArray(n)){var i=e._i(n,null);o.checked?i<0&&e.$set(t,"selected",n.concat([null])):i>-1&&e.$set(t,"selected",n.slice(0,i).concat(n.slice(i+1)))}else e.$set(t,"selected",s)},function(t){return e.selectTransaction(t)}]}})]),e._v(" "),a("td",[a("select",{directives:[{name:"model",rawName:"v-model",value:t.link_type_id,expression:"result.link_type_id"}],staticClass:"form-control",on:{change:[function(a){var n=Array.prototype.filter.call(a.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(t,"link_type_id",a.target.multiple?n:n[0])},function(t){return e.selectLinkType(t)}]}},e._l(e.linkTypes,(function(t){return a("option",{attrs:{label:t.type},domProps:{value:t.id+"-"+t.direction}},[e._v(e._s(t.type)+"\n ")])})),0)]),e._v(" "),a("td",[a("a",{attrs:{href:"./transactions/show/"+t.transaction_group_id}},[e._v(e._s(t.description))]),e._v(" "),"withdrawal"===t.type?a("span",[e._v("\n ("),a("span",{staticClass:"text-danger"},[e._v(e._s(Intl.NumberFormat(e.locale,{style:"currency",currency:t.currency_code}).format(-1*parseFloat(t.amount))))]),e._v(")\n ")]):e._e(),e._v(" "),"deposit"===t.type?a("span",[e._v("\n ("),a("span",{staticClass:"text-success"},[e._v(e._s(Intl.NumberFormat(e.locale,{style:"currency",currency:t.currency_code}).format(parseFloat(t.amount))))]),e._v(")\n ")]):e._e(),e._v(" "),"transfer"===t.type?a("span",[e._v("\n ("),a("span",{staticClass:"text-info"},[e._v(e._s(Intl.NumberFormat(e.locale,{style:"currency",currency:t.currency_code}).format(parseFloat(t.amount))))]),e._v(")\n ")]):e._e(),e._v(" "),a("br"),e._v(" "),a("em",[a("a",{attrs:{href:"./accounts/show/"+t.source_id}},[e._v(e._s(t.source_name))]),e._v("\n →\n "),a("a",{attrs:{href:"./accounts/show/"+t.destination_id}},[e._v(e._s(t.destination_name))])])])])})),0)]):e._e()])])])]),e._v(" "),e._m(3)])])])]):e._e()}),[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"modal-header"},[a("h5",{staticClass:"modal-title"},[e._v("Transaction thing dialog.")]),e._v(" "),a("button",{staticClass:"close",attrs:{"aria-label":"Close","data-dismiss":"modal",type:"button"}},[a("span",{attrs:{"aria-hidden":"true"}},[e._v("×")])])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("p",[e._v("\n Use this form to search for transactions you wish to link to this one. When in doubt, use "),a("code",[e._v("id:*")]),e._v(" where the ID is the number from\n the URL.\n ")])])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-default",attrs:{type:"submit"}},[a("i",{staticClass:"fas fa-search"}),e._v(" Search")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"modal-footer"},[a("button",{staticClass:"btn btn-secondary",attrs:{"data-dismiss":"modal",type:"button"}},[e._v("Close")])])}],!1,null,null,null).exports;const G={name:"TransactionAttachments",props:["transaction_journal_id","customFields"],data:function(){return{availableFields:this.customFields}},watch:{customFields:function(e){this.availableFields=e},transaction_journal_id:function(e){this.showField?0!==e&&this.doUpload():this.$emit("uploaded-attachments",e)}},computed:{showField:function(){return"attachments"in this.availableFields&&this.availableFields.attachments}},methods:{selectedFile:function(){this.$emit("selected-attachments",this.transaction_journal_id)},doUpload:function(){var e=this;for(var t in this.$refs.att.files)this.$refs.att.files.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294&&function(){var a=e.$refs.att.files[t],n=new FileReader,o=e;n.onloadend=function(e){var t=this;if(e.target.readyState===FileReader.DONE){var n={filename:a.name,attachable_type:"TransactionJournal",attachable_id:o.transaction_journal_id};axios.post("./api/v1/attachments",n).then((function(a){var n="./api/v1/attachments/"+a.data.data.id+"/upload";axios.post(n,new Blob([e.target.result])).then((function(e){o.$emit("uploaded-attachments",t.transaction_journal_id)}))}))}},n.readAsArrayBuffer(a)}();0===this.$refs.att.files.length&&this.$emit("uploaded-attachments",this.transaction_journal_id)}}};const K=(0,i.Z)(G,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.attachments"))+"\n ")]),e._v(" "),a("div",{staticClass:"input-group"},[a("input",{ref:"att",staticClass:"form-control",attrs:{multiple:"",name:"attachments[]",type:"file"},on:{change:e.selectedFile}})])]):e._e()}),[],!1,null,"c0a65b6c",null).exports;var H=a(7661),J=a(5352),Y=a(2727),Q=a(8380),X=(a(5802),a(5243)),ee=a.n(X);delete ee().Icon.Default.prototype._getIconUrl,ee().Icon.Default.mergeOptions({iconRetinaUrl:a(9895),iconUrl:a(3448),shadowUrl:a(4645)});const te={name:"TransactionLocation",props:{index:{},value:{type:Object,required:!1},errors:{},customFields:{}},components:{LMap:J.Z,LTileLayer:Y.Z,LMarker:Q.Z},created:function(){var e=this;null!==this.value&&void 0!==this.value?null!==this.value.zoom_level&&null!==this.value.latitude&&null!==this.value.longitude&&(this.zoom=this.value.zoom_level,this.center=[parseFloat(this.value.latitude),parseFloat(this.value.longitude)],this.hasMarker=!0):axios.get("./api/v1/configuration/firefly.default_location").then((function(t){e.zoom=parseInt(t.data.data.value.zoom_level),e.center=[parseFloat(t.data.data.value.latitude),parseFloat(t.data.data.value.longitude)]}))},data:function(){return{availableFields:this.customFields,url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",zoom:3,center:[0,0],bounds:null,map:null,hasMarker:!1,marker:[0,0]}},methods:{prepMap:function(){this.map=this.$refs.myMap.mapObject,this.map.on("contextmenu",this.setObjectLocation),this.map.on("zoomend",this.saveZoomLevel)},setObjectLocation:function(e){this.marker=[e.latlng.lat,e.latlng.lng],this.hasMarker=!0,this.emitEvent()},saveZoomLevel:function(){this.emitEvent()},clearLocation:function(){this.hasMarker=!1,this.emitEvent()},emitEvent:function(){this.$emit("set-marker-location",{index:this.index,zoomLevel:this.zoom,lat:this.marker[0],lng:this.marker[1],hasMarker:this.hasMarker})},zoomUpdated:function(e){this.zoom=e},centerUpdated:function(e){this.center=e},boundsUpdated:function(e){this.bounds=e}},computed:{showField:function(){return"location"in this.availableFields&&this.availableFields.location}},watch:{customFields:function(e){this.availableFields=e}}};const ae=(0,i.Z)(te,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.location"))+"\n ")]),e._v(" "),a("div",{staticStyle:{width:"100%",height:"300px"}},[a("l-map",{ref:"myMap",staticStyle:{width:"100%",height:"300px"},attrs:{center:e.center,zoom:e.zoom},on:{ready:function(t){return e.prepMap()},"update:zoom":e.zoomUpdated,"update:center":e.centerUpdated,"update:bounds":e.boundsUpdated}},[a("l-tile-layer",{attrs:{url:e.url}}),e._v(" "),a("l-marker",{attrs:{"lat-lng":e.marker,visible:e.hasMarker}})],1),e._v(" "),a("span",[a("button",{staticClass:"btn btn-default btn-xs",on:{click:e.clearLocation}},[e._v(e._s(e.$t("firefly.clear_location")))])])],1),e._v(" "),a("p",[e._v(" ")])]):e._e()}),[],!1,null,"3bafa3c9",null).exports,ne={name:"SplitForm",props:{transaction:{type:Object,required:!0},count:{type:Number,required:!1},customFields:{type:Object,required:!1},index:{type:Number,required:!0},date:{type:String,required:!0},transactionType:{type:String,required:!0},submittedTransaction:{type:Boolean,required:!1,default:!1},sourceAllowedTypes:{type:Array,required:!1,default:[]},destinationAllowedTypes:{type:Array,required:!1,default:[]},allowSwitch:{type:Boolean,required:!1,default:!0}},methods:{removeTransaction:function(){this.$emit("remove-transaction",{index:this.index})}},computed:{splitDate:function(){return this.date},sourceAccount:function(){console.log("computed::sourceAccount");var e={id:this.transaction.source_account_id,name:this.transaction.source_account_name,type:this.transaction.source_account_type};return console.log(JSON.stringify(e)),e},destinationAccount:function(){return{id:this.transaction.destination_account_id,name:this.transaction.destination_account_name,type:this.transaction.destination_account_type}},hasMetaFields:function(){var e=["internal_reference","notes","attachments","external_uri","location","links"];for(var t in this.customFields)if(this.customFields.hasOwnProperty(t)&&e.includes(t)&&!0===this.customFields[t])return!0;return!1}},components:{TransactionLocation:ae,SplitPills:H.Z,TransactionAttachments:K,TransactionNotes:U,TransactionExternalUrl:M,TransactionInternalReference:R,TransactionPiggyBank:E,TransactionTags:N,TransactionLinks:Z,TransactionBill:S,TransactionCategory:D,TransactionCustomDates:A,TransactionForeignCurrency:x,TransactionForeignAmount:k,TransactionAmount:b,SwitchAccount:y,TransactionAccount:m,TransactionBudget:p,TransactionDescription:r,TransactionDate:d}};const oe=(0,i.Z)(ne,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:"tab-pane"+(0===e.index?" active":""),attrs:{id:"split_"+e.index}},[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[e._v("\n "+e._s(e.$t("firefly.basic_journal_information"))+"\n "),e.count>1?a("span",[e._v("("+e._s(e.index+1)+" / "+e._s(e.count)+") ")]):e._e()]),e._v(" "),e.count>1?a("div",{staticClass:"card-tools"},[a("button",{staticClass:"btn btn-danger btn-xs",on:{click:e.removeTransaction}},[a("i",{staticClass:"fas fa-trash-alt"})])]):e._e()]),e._v(" "),a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("TransactionDescription",e._g({attrs:{errors:e.transaction.errors.description,index:e.index},model:{value:e.transaction.description,callback:function(t){e.$set(e.transaction,"description",t)},expression:"transaction.description"}},e.$listeners))],1)]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12"},[a("TransactionAccount",e._g({attrs:{"destination-allowed-types":e.destinationAllowedTypes,errors:e.transaction.errors.source,index:e.index,"source-allowed-types":e.sourceAllowedTypes,"transaction-type":e.transactionType,direction:"source"},model:{value:e.sourceAccount,callback:function(t){e.sourceAccount=t},expression:"sourceAccount"}},e.$listeners))],1),e._v(" "),a("div",{staticClass:"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block"},[0===e.index&&e.allowSwitch?a("SwitchAccount",e._g({attrs:{index:e.index,"transaction-type":e.transactionType}},e.$listeners)):e._e()],1),e._v(" "),a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12"},[a("TransactionAccount",e._g({attrs:{"destination-allowed-types":e.destinationAllowedTypes,errors:e.transaction.errors.destination,index:e.index,"transaction-type":e.transactionType,"source-allowed-types":e.sourceAllowedTypes,direction:"destination"},model:{value:e.destinationAccount,callback:function(t){e.destinationAccount=t},expression:"destinationAccount"}},e.$listeners))],1)]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12"},[a("TransactionAmount",e._g({attrs:{amount:e.transaction.amount,"destination-currency-symbol":this.transaction.destination_account_currency_symbol,errors:e.transaction.errors.amount,index:e.index,"source-currency-symbol":this.transaction.source_account_currency_symbol,"transaction-type":this.transactionType}},e.$listeners))],1),e._v(" "),a("div",{staticClass:"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block"},[a("TransactionForeignCurrency",e._g({attrs:{"destination-currency-id":this.transaction.destination_account_currency_id,index:e.index,"selected-currency-id":this.transaction.foreign_currency_id,"source-currency-id":this.transaction.source_account_currency_id,"transaction-type":this.transactionType},model:{value:e.transaction.foreign_currency_id,callback:function(t){e.$set(e.transaction,"foreign_currency_id",t)},expression:"transaction.foreign_currency_id"}},e.$listeners))],1),e._v(" "),a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12"},[a("TransactionForeignAmount",e._g({attrs:{"destination-currency-id":this.transaction.destination_account_currency_id,errors:e.transaction.errors.foreign_amount,index:e.index,"selected-currency-id":this.transaction.foreign_currency_id,"source-currency-id":this.transaction.source_account_currency_id,"transaction-type":this.transactionType},model:{value:e.transaction.foreign_amount,callback:function(t){e.$set(e.transaction,"foreign_amount",t)},expression:"transaction.foreign_amount"}},e.$listeners))],1)]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12"},[a("TransactionDate",e._g({attrs:{date:e.splitDate,errors:e.transaction.errors.date,index:e.index}},e.$listeners))],1),e._v(" "),a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12 offset-xl-2 offset-lg-2"},[a("TransactionCustomDates",e._g({attrs:{"book-date":e.transaction.book_date,"custom-fields":e.customFields,"due-date":e.transaction.due_date,errors:e.transaction.errors.custom_dates,index:e.index,"interest-date":e.transaction.interest_date,"invoice-date":e.transaction.invoice_date,"payment-date":e.transaction.payment_date,"process-date":e.transaction.process_date},on:{"update:customFields":function(t){e.customFields=t},"update:custom-fields":function(t){e.customFields=t}}},e.$listeners))],1)])])])])]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[e._v("\n "+e._s(e.$t("firefly.transaction_journal_meta"))+"\n "),e.count>1?a("span",[e._v("("+e._s(e.index+1)+" / "+e._s(e.count)+") ")]):e._e()])]),e._v(" "),a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},["Transfer"!==e.transactionType&&"Deposit"!==e.transactionType?a("TransactionBudget",e._g({attrs:{errors:e.transaction.errors.budget,index:e.index},model:{value:e.transaction.budget_id,callback:function(t){e.$set(e.transaction,"budget_id",t)},expression:"transaction.budget_id"}},e.$listeners)):e._e(),e._v(" "),a("TransactionCategory",e._g({attrs:{errors:e.transaction.errors.category,index:e.index},model:{value:e.transaction.category,callback:function(t){e.$set(e.transaction,"category",t)},expression:"transaction.category"}},e.$listeners))],1),e._v(" "),a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},["Transfer"!==e.transactionType&&"Deposit"!==e.transactionType?a("TransactionBill",e._g({attrs:{errors:e.transaction.errors.bill,index:e.index},model:{value:e.transaction.bill_id,callback:function(t){e.$set(e.transaction,"bill_id",t)},expression:"transaction.bill_id"}},e.$listeners)):e._e(),e._v(" "),a("TransactionTags",e._g({attrs:{errors:e.transaction.errors.tags,index:e.index},model:{value:e.transaction.tags,callback:function(t){e.$set(e.transaction,"tags",t)},expression:"transaction.tags"}},e.$listeners)),e._v(" "),"Withdrawal"!==e.transactionType&&"Deposit"!==e.transactionType?a("TransactionPiggyBank",e._g({attrs:{errors:e.transaction.errors.piggy_bank,index:e.index},model:{value:e.transaction.piggy_bank_id,callback:function(t){e.$set(e.transaction,"piggy_bank_id",t)},expression:"transaction.piggy_bank_id"}},e.$listeners)):e._e()],1)])])])])]),e._v(" "),e.hasMetaFields?a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[e._v("\n "+e._s(e.$t("firefly.transaction_journal_extra"))+"\n "),e.count>1?a("span",[e._v("("+e._s(e.index+1)+" / "+e._s(e.count)+") ")]):e._e()])]),e._v(" "),a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("TransactionInternalReference",e._g({attrs:{"custom-fields":e.customFields,errors:e.transaction.errors.internal_reference,index:e.index},on:{"update:customFields":function(t){e.customFields=t},"update:custom-fields":function(t){e.customFields=t}},model:{value:e.transaction.internal_reference,callback:function(t){e.$set(e.transaction,"internal_reference",t)},expression:"transaction.internal_reference"}},e.$listeners)),e._v(" "),a("TransactionExternalUrl",e._g({attrs:{"custom-fields":e.customFields,errors:e.transaction.errors.external_url,index:e.index},on:{"update:customFields":function(t){e.customFields=t},"update:custom-fields":function(t){e.customFields=t}},model:{value:e.transaction.external_url,callback:function(t){e.$set(e.transaction,"external_url",t)},expression:"transaction.external_url"}},e.$listeners)),e._v(" "),a("TransactionNotes",e._g({attrs:{"custom-fields":e.customFields,errors:e.transaction.errors.notes,index:e.index},on:{"update:customFields":function(t){e.customFields=t},"update:custom-fields":function(t){e.customFields=t}},model:{value:e.transaction.notes,callback:function(t){e.$set(e.transaction,"notes",t)},expression:"transaction.notes"}},e.$listeners))],1),e._v(" "),a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("TransactionAttachments",e._g({ref:"attachments",attrs:{"custom-fields":e.customFields,index:e.index,submitted_transaction:e.submittedTransaction,transaction_journal_id:e.transaction.transaction_journal_id},on:{"update:customFields":function(t){e.customFields=t},"update:custom-fields":function(t){e.customFields=t}},model:{value:e.transaction.attachments,callback:function(t){e.$set(e.transaction,"attachments",t)},expression:"transaction.attachments"}},e.$listeners)),e._v(" "),a("TransactionLocation",e._g({attrs:{"custom-fields":e.customFields,errors:e.transaction.errors.location,index:e.index},on:{"update:customFields":function(t){e.customFields=t},"update:custom-fields":function(t){e.customFields=t}},model:{value:e.transaction.location,callback:function(t){e.$set(e.transaction,"location",t)},expression:"transaction.location"}},e.$listeners)),e._v(" "),a("TransactionLinks",e._g({attrs:{"custom-fields":e.customFields,index:e.index},on:{"update:customFields":function(t){e.customFields=t},"update:custom-fields":function(t){e.customFields=t}},model:{value:e.transaction.links,callback:function(t){e.$set(e.transaction,"links",t)},expression:"transaction.links"}},e.$listeners))],1)])])])])]):e._e()])}),[],!1,null,null,null).exports},7661:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});const n={name:"SplitPills",props:["transactions"]};const o=(0,a(1900).Z)(n,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.transactions.length>1?a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("ul",{staticClass:"nav nav-pills ml-auto p-2"},e._l(this.transactions,(function(t,n){return a("li",{staticClass:"nav-item"},[a("a",{class:"nav-link"+(0===n?" active":""),attrs:{href:"#split_"+n,"data-toggle":"tab"}},[""!==t.description?a("span",[e._v(e._s(t.description))]):e._e(),e._v(" "),""===t.description?a("span",[e._v("Split "+e._s(n+1))]):e._e()])])})),0)])]):e._e()}),[],!1,null,null,null).exports},5524:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(3533),o=a(6486);const s={props:["value","errors"],name:"TransactionGroupTitle",components:{VueTypeaheadBootstrap:n.Z},data:function(){return{descriptions:[],initialSet:[],title:this.value,emitEvent:!0}},created:function(){var e=this;axios.get(this.getACURL("")).then((function(t){e.descriptions=t.data,e.initialSet=t.data}))},watch:{value:function(e){this.title=e},title:function(e){this.$emit("set-group-title",e)}},methods:{clearDescription:function(){this.title=""},getACURL:function(e){return document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/transactions?query="+e},lookupDescription:(0,o.debounce)((function(){var e=this;axios.get(this.getACURL(this.title)).then((function(t){e.descriptions=t.data}))}),300)}};const i=(0,a(1900).Z)(s,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.split_transaction_title"))+"\n ")]),e._v(" "),a("vue-typeahead-bootstrap",{attrs:{data:e.descriptions,inputClass:e.errors.length>0?"is-invalid":"",minMatchingChars:3,placeholder:e.$t("firefly.split_transaction_title"),serializer:function(e){return e.description},showOnFocus:!0,inputName:"group_title"},on:{input:e.lookupDescription},model:{value:e.title,callback:function(t){e.title=t},expression:"title"}},[a("template",{slot:"append"},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"},on:{click:e.clearDescription}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2),e._v(" "),e.errors.length>0?a("span",e._l(e.errors,(function(t){return a("span",{staticClass:"text-danger small"},[e._v(e._s(t)),a("br")])})),0):e._e()],1)}),[],!1,null,"273271bf",null).exports},4936:(e,t,a)=>{var n=a(6665);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,a(5346).Z)("bf9ab7ac",n,!0,{})},7154:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Прехвърляне","Withdrawal":"Теглене","Deposit":"Депозит","date_and_time":"Date and time","no_currency":"(без валута)","date":"Дата","time":"Time","no_budget":"(без бюджет)","destination_account":"Приходна сметка","source_account":"Разходна сметка","single_split":"Раздел","create_new_transaction":"Create a new transaction","balance":"Салдо","transaction_journal_extra":"Extra information","transaction_journal_meta":"Мета информация","basic_journal_information":"Basic transaction information","bills_to_pay":"Сметки за плащане","left_to_spend":"Останали за харчене","attachments":"Прикачени файлове","net_worth":"Нетна стойност","bill":"Сметка","no_bill":"(няма сметка)","tags":"Етикети","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(без касичка)","paid":"Платени","notes":"Бележки","yourAccounts":"Вашите сметки","go_to_asset_accounts":"Вижте активите си","delete_account":"Изтриване на профил","transaction_table_description":"Таблица съдържаща вашите транзакции","account":"Сметка","description":"Описание","amount":"Сума","budget":"Бюджет","category":"Категория","opposing_account":"Противоположна сметка","budgets":"Бюджети","categories":"Категории","go_to_budgets":"Вижте бюджетите си","income":"Приходи","go_to_deposits":"Отиди в депозити","go_to_categories":"Виж категориите си","expense_accounts":"Сметки за разходи","go_to_expenses":"Отиди в Разходи","go_to_bills":"Виж сметките си","bills":"Сметки","last_thirty_days":"Последните трийсет дни","last_seven_days":"Последните седем дни","go_to_piggies":"Виж касичките си","saved":"Записан","piggy_banks":"Касички","piggy_bank":"Касичка","amounts":"Суми","left":"Останали","spent":"Похарчени","Default asset account":"Сметка за активи по подразбиране","search_results":"Резултати от търсенето","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Сметка за активи по подразбиране","account_role_savingAsset":"Спестовна сметка","account_role_sharedAsset":"Сметка за споделени активи","clear_location":"Изчисти местоположението","account_role_ccAsset":"Кредитна карта","account_role_cashWalletAsset":"Паричен портфейл","daily_budgets":"Дневни бюджети","weekly_budgets":"Седмични бюджети","monthly_budgets":"Месечни бюджети","quarterly_budgets":"Тримесечни бюджети","create_new_expense":"Създай нова сметка за разходи","create_new_revenue":"Създай нова сметка за приходи","create_new_liabilities":"Create new liability","half_year_budgets":"Шестмесечни бюджети","yearly_budgets":"Годишни бюджети","split_transaction_title":"Описание на разделена транзакция","errors_submission":"Имаше нещо нередно с вашите данни. Моля, проверете грешките.","flash_error":"Грешка!","store_transaction":"Store transaction","flash_success":"Успех!","create_another":"След съхраняването се върнете тук, за да създадете нова.","update_transaction":"Обнови транзакцията","after_update_create_another":"След обновяването се върнете тук, за да продължите с редакцията.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Търсене","create_new_asset":"Създай нова сметка за активи","asset_accounts":"Сметки за активи","reset_after":"Изчистване на формуляра след изпращане","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID}(\\"{title}\\")</a> беше записана.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Местоположение","other_budgets":"Времево персонализирани бюджети","journal_links":"Връзки на транзакция","go_to_withdrawals":"Вижте тегленията си","revenue_accounts":"Сметки за приходи","add_another_split":"Добавяне на друг раздел","actions":"Действия","edit":"Промени","account_type_Loan":"Заем","account_type_Mortgage":"Ипотека","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Дълг","delete":"Изтрий","store_new_asset_account":"Запамети нова сметка за активи","store_new_expense_account":"Запамети нова сметка за разходи","store_new_liabilities_account":"Запамети ново задължение","store_new_revenue_account":"Запамети нова сметка за приходи","mandatoryFields":"Задължителни полета","optionalFields":"Незадължителни полета","reconcile_this_account":"Съгласувай тази сметка","interest_calc_weekly":"Per week","interest_calc_monthly":"На месец","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Годишно","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(нищо)"},"list":{"piggy_bank":"Касичка","percentage":"%","amount":"Сума","name":"Име","role":"Привилегии","iban":"IBAN","currentBalance":"Текущ баланс","next_expected_match":"Следващo очакванo съвпадение"},"config":{"html_language":"bg"},"form":{"foreign_amount":"Сума във валута","interest_date":"Падеж на лихва","name":"Име","amount":"Сума","iban":"IBAN","BIC":"BIC","notes":"Бележки","location":"Местоположение","attachments":"Прикачени файлове","active":"Активен","include_net_worth":"Включи в общото богатство","account_number":"Номер на сметка","virtual_balance":"Виртуален баланс","opening_balance":"Начално салдо","opening_balance_date":"Дата на началното салдо","date":"Дата","interest":"Лихва","interest_period":"Лихвен период","currency_id":"Валута","liability_type":"Liability type","account_role":"Роля на сметката","liability_direction":"Liability in/out","book_date":"Дата на осчетоводяване","permDeleteWarning":"Изтриването на неща от Firefly III е постоянно и не може да бъде възстановено.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Дата на обработка","due_date":"Дата на падеж","payment_date":"Дата на плащане","invoice_date":"Дата на фактура"}}')},6407:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Převod","Withdrawal":"Výběr","Deposit":"Vklad","date_and_time":"Datum a čas","no_currency":"(žádná měna)","date":"Datum","time":"Čas","no_budget":"(žádný rozpočet)","destination_account":"Cílový účet","source_account":"Zdrojový účet","single_split":"Rozdělit","create_new_transaction":"Vytvořit novou transakci","balance":"Zůstatek","transaction_journal_extra":"Více informací","transaction_journal_meta":"Meta informace","basic_journal_information":"Basic transaction information","bills_to_pay":"Faktury k zaplacení","left_to_spend":"Zbývá k utracení","attachments":"Přílohy","net_worth":"Čisté jmění","bill":"Účet","no_bill":"(no bill)","tags":"Štítky","internal_reference":"Interní odkaz","external_url":"Externí URL adresa","no_piggy_bank":"(žádná pokladnička)","paid":"Zaplaceno","notes":"Poznámky","yourAccounts":"Vaše účty","go_to_asset_accounts":"Zobrazit účty s aktivy","delete_account":"Smazat účet","transaction_table_description":"A table containing your transactions","account":"Účet","description":"Popis","amount":"Částka","budget":"Rozpočet","category":"Kategorie","opposing_account":"Protiúčet","budgets":"Rozpočty","categories":"Kategorie","go_to_budgets":"Přejít k rozpočtům","income":"Odměna/příjem","go_to_deposits":"Přejít na vklady","go_to_categories":"Přejít ke kategoriím","expense_accounts":"Výdajové účty","go_to_expenses":"Přejít na výdaje","go_to_bills":"Přejít k účtům","bills":"Účty","last_thirty_days":"Uplynulých 30 dní","last_seven_days":"Uplynulých 7 dnů","go_to_piggies":"Přejít k pokladničkám","saved":"Uloženo","piggy_banks":"Pokladničky","piggy_bank":"Pokladnička","amounts":"Amounts","left":"Zbývá","spent":"Utraceno","Default asset account":"Výchozí účet s aktivy","search_results":"Výsledky hledání","include":"Include?","transaction":"Transakce","account_role_defaultAsset":"Výchozí účet aktiv","account_role_savingAsset":"Spořicí účet","account_role_sharedAsset":"Sdílený účet aktiv","clear_location":"Vymazat umístění","account_role_ccAsset":"Kreditní karta","account_role_cashWalletAsset":"Peněženka","daily_budgets":"Denní rozpočty","weekly_budgets":"Týdenní rozpočty","monthly_budgets":"Měsíční rozpočty","quarterly_budgets":"Čtvrtletní rozpočty","create_new_expense":"Vytvořit výdajový účet","create_new_revenue":"Vytvořit nový příjmový účet","create_new_liabilities":"Create new liability","half_year_budgets":"Pololetní rozpočty","yearly_budgets":"Roční rozpočty","split_transaction_title":"Popis rozúčtování","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Chyba!","store_transaction":"Store transaction","flash_success":"Úspěšně dokončeno!","create_another":"After storing, return here to create another one.","update_transaction":"Aktualizovat transakci","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hledat","create_new_asset":"Vytvořit nový účet aktiv","asset_accounts":"Účty aktiv","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Vlastní období","reset_to_current":"Obnovit aktuální období","select_period":"Vyberte období","location":"Umístění","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Přejít na výběry","revenue_accounts":"Příjmové účty","add_another_split":"Přidat další rozúčtování","actions":"Akce","edit":"Upravit","account_type_Loan":"Půjčka","account_type_Mortgage":"Hypotéka","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Dluh","delete":"Odstranit","store_new_asset_account":"Uložit nový účet aktiv","store_new_expense_account":"Uložit nový výdajový účet","store_new_liabilities_account":"Uložit nový závazek","store_new_revenue_account":"Uložit nový příjmový účet","mandatoryFields":"Povinné kolonky","optionalFields":"Volitelné kolonky","reconcile_this_account":"Vyúčtovat tento účet","interest_calc_weekly":"Per week","interest_calc_monthly":"Za měsíc","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Za rok","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(žádné)"},"list":{"piggy_bank":"Pokladnička","percentage":"%","amount":"Částka","name":"Jméno","role":"Role","iban":"IBAN","currentBalance":"Aktuální zůstatek","next_expected_match":"Další očekávaná shoda"},"config":{"html_language":"cs"},"form":{"foreign_amount":"Částka v cizí měně","interest_date":"Úrokové datum","name":"Název","amount":"Částka","iban":"IBAN","BIC":"BIC","notes":"Poznámky","location":"Údaje o poloze","attachments":"Přílohy","active":"Aktivní","include_net_worth":"Zahrnout do čistého jmění","account_number":"Číslo účtu","virtual_balance":"Virtuální zůstatek","opening_balance":"Počáteční zůstatek","opening_balance_date":"Datum počátečního zůstatku","date":"Datum","interest":"Úrok","interest_period":"Úrokové období","currency_id":"Měna","liability_type":"Liability type","account_role":"Role účtu","liability_direction":"Liability in/out","book_date":"Datum rezervace","permDeleteWarning":"Odstranění věcí z Firefly III je trvalé a nelze vrátit zpět.","account_areYouSure_js":"Jste si jisti, že chcete odstranit účet s názvem \\"{name}\\"?","also_delete_piggyBanks_js":"Žádné pokladničky|Jediná pokladnička připojená k tomuto účtu bude také odstraněna. Všech {count} pokladniček, které jsou připojeny k tomuto účtu, bude také odstraněno.","also_delete_transactions_js":"Žádné transakce|Jediná transakce připojená k tomuto účtu bude také smazána.|Všech {count} transakcí připojených k tomuto účtu bude také odstraněno.","process_date":"Datum zpracování","due_date":"Datum splatnosti","payment_date":"Datum zaplacení","invoice_date":"Datum vystavení"}}')},4726:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Umbuchung","Withdrawal":"Ausgabe","Deposit":"Einnahme","date_and_time":"Datum und Uhrzeit","no_currency":"(ohne Währung)","date":"Datum","time":"Uhrzeit","no_budget":"(kein Budget)","destination_account":"Zielkonto","source_account":"Quellkonto","single_split":"Teil","create_new_transaction":"Neue Buchung erstellen","balance":"Kontostand","transaction_journal_extra":"Zusätzliche Informationen","transaction_journal_meta":"Metainformationen","basic_journal_information":"Allgemeine Buchungsinformationen","bills_to_pay":"Unbezahlte Rechnungen","left_to_spend":"Verbleibend zum Ausgeben","attachments":"Anhänge","net_worth":"Eigenkapital","bill":"Rechnung","no_bill":"(keine Belege)","tags":"Schlagwörter","internal_reference":"Interner Verweis","external_url":"Externe URL","no_piggy_bank":"(kein Sparschwein)","paid":"Bezahlt","notes":"Notizen","yourAccounts":"Deine Konten","go_to_asset_accounts":"Bestandskonten anzeigen","delete_account":"Konto löschen","transaction_table_description":"Eine Tabelle mit Ihren Buchungen","account":"Konto","description":"Beschreibung","amount":"Betrag","budget":"Budget","category":"Kategorie","opposing_account":"Gegenkonto","budgets":"Budgets","categories":"Kategorien","go_to_budgets":"Budgets anzeigen","income":"Einnahmen / Einkommen","go_to_deposits":"Zu Einlagen wechseln","go_to_categories":"Kategorien anzeigen","expense_accounts":"Ausgabekonten","go_to_expenses":"Zu Ausgaben wechseln","go_to_bills":"Rechnungen anzeigen","bills":"Rechnungen","last_thirty_days":"Letzte 30 Tage","last_seven_days":"Letzte sieben Tage","go_to_piggies":"Sparschweine anzeigen","saved":"Gespeichert","piggy_banks":"Sparschweine","piggy_bank":"Sparschwein","amounts":"Beträge","left":"Übrig","spent":"Ausgegeben","Default asset account":"Standard-Bestandskonto","search_results":"Suchergebnisse","include":"Inbegriffen?","transaction":"Überweisung","account_role_defaultAsset":"Standard-Bestandskonto","account_role_savingAsset":"Sparkonto","account_role_sharedAsset":"Gemeinsames Bestandskonto","clear_location":"Ort leeren","account_role_ccAsset":"Kreditkarte","account_role_cashWalletAsset":"Geldbörse","daily_budgets":"Tagesbudgets","weekly_budgets":"Wochenbudgets","monthly_budgets":"Monatsbudgets","quarterly_budgets":"Quartalsbudgets","create_new_expense":"Neues Ausgabenkonto erstellen","create_new_revenue":"Neues Einnahmenkonto erstellen","create_new_liabilities":"Neue Verbindlichkeit anlegen","half_year_budgets":"Halbjahresbudgets","yearly_budgets":"Jahresbudgets","split_transaction_title":"Beschreibung der Splittbuchung","errors_submission":"Ihre Übermittlung ist fehlgeschlagen. Bitte überprüfen Sie die Fehler.","flash_error":"Fehler!","store_transaction":"Buchung speichern","flash_success":"Geschafft!","create_another":"Nach dem Speichern hierher zurückkehren, um ein weiteres zu erstellen.","update_transaction":"Buchung aktualisieren","after_update_create_another":"Nach dem Aktualisieren hierher zurückkehren, um weiter zu bearbeiten.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde nicht verändert.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde aktualisiert.","spent_x_of_y":"{amount} von {total} ausgegeben","search":"Suche","create_new_asset":"Neues Bestandskonto erstellen","asset_accounts":"Bestandskonten","reset_after":"Formular nach der Übermittlung zurücksetzen","bill_paid_on":"Bezahlt am {date}","first_split_decides":"Die erste Aufteilung bestimmt den Wert dieses Feldes","first_split_overrules_source":"Die erste Aufteilung könnte das Quellkonto überschreiben","first_split_overrules_destination":"Die erste Aufteilung könnte das Zielkonto überschreiben","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Buchung #{ID} (\\"{title}\\")</a> wurde gespeichert.","custom_period":"Benutzerdefinierter Zeitraum","reset_to_current":"Auf aktuellen Zeitraum zurücksetzen","select_period":"Zeitraum auswählen","location":"Standort","other_budgets":"Zeitlich befristete Budgets","journal_links":"Buchungsverknüpfungen","go_to_withdrawals":"Ausgaben anzeigen","revenue_accounts":"Einnahmekonten","add_another_split":"Eine weitere Aufteilung hinzufügen","actions":"Aktionen","edit":"Bearbeiten","account_type_Loan":"Darlehen","account_type_Mortgage":"Hypothek","stored_new_account_js":"Neues Konto \\"<a href=\\"accounts/show/{ID}\\">„{name}”</a>\\" gespeichert!","account_type_Debt":"Schuld","delete":"Löschen","store_new_asset_account":"Neues Bestandskonto speichern","store_new_expense_account":"Neues Ausgabenkonto speichern","store_new_liabilities_account":"Neue Verbindlichkeit speichern","store_new_revenue_account":"Neues Einnahmenkonto speichern","mandatoryFields":"Pflichtfelder","optionalFields":"Optionale Felder","reconcile_this_account":"Dieses Konto abgleichen","interest_calc_weekly":"Pro Woche","interest_calc_monthly":"Monatlich","interest_calc_quarterly":"Vierteljährlich","interest_calc_half-year":"Halbjährlich","interest_calc_yearly":"Jährlich","liability_direction_credit":"Mir wird dies geschuldet","liability_direction_debit":"Ich schulde dies jemandem","save_transactions_by_moving_js":"Keine Buchungen|Speichern Sie diese Buchung, indem Sie sie auf ein anderes Konto verschieben. |Speichern Sie diese Buchungen, indem Sie sie auf ein anderes Konto verschieben.","none_in_select_list":"(Keine)"},"list":{"piggy_bank":"Sparschwein","percentage":"%","amount":"Betrag","name":"Name","role":"Rolle","iban":"IBAN","currentBalance":"Aktueller Kontostand","next_expected_match":"Nächste erwartete Übereinstimmung"},"config":{"html_language":"de"},"form":{"foreign_amount":"Ausländischer Betrag","interest_date":"Zinstermin","name":"Name","amount":"Betrag","iban":"IBAN","BIC":"BIC","notes":"Notizen","location":"Herkunft","attachments":"Anhänge","active":"Aktiv","include_net_worth":"Im Eigenkapital enthalten","account_number":"Kontonummer","virtual_balance":"Virtueller Kontostand","opening_balance":"Eröffnungsbilanz","opening_balance_date":"Eröffnungsbilanzdatum","date":"Datum","interest":"Zinsen","interest_period":"Verzinsungszeitraum","currency_id":"Währung","liability_type":"Art der Verbindlichkeit","account_role":"Kontenfunktion","liability_direction":"Verbindlichkeit Ein/Aus","book_date":"Buchungsdatum","permDeleteWarning":"Das Löschen von Dingen in Firefly III ist dauerhaft und kann nicht rückgängig gemacht werden.","account_areYouSure_js":"Möchten Sie das Konto „{name}” wirklich löschen?","also_delete_piggyBanks_js":"Keine Sparschweine|Das einzige Sparschwein, welches mit diesem Konto verbunden ist, wird ebenfalls gelöscht.|Alle {count} Sparschweine, welche mit diesem Konto verbunden sind, werden ebenfalls gelöscht.","also_delete_transactions_js":"Keine Buchungen|Die einzige Buchung, die mit diesem Konto verbunden ist, wird ebenfalls gelöscht.|Alle {count} Buchungen, die mit diesem Konto verbunden sind, werden ebenfalls gelöscht.","process_date":"Bearbeitungsdatum","due_date":"Fälligkeitstermin","payment_date":"Zahlungsdatum","invoice_date":"Rechnungsdatum"}}')},3636:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Μεταφορά","Withdrawal":"Ανάληψη","Deposit":"Κατάθεση","date_and_time":"Ημερομηνία και ώρα","no_currency":"(χωρίς νόμισμα)","date":"Ημερομηνία","time":"Ώρα","no_budget":"(χωρίς προϋπολογισμό)","destination_account":"Λογαριασμός προορισμού","source_account":"Λογαριασμός προέλευσης","single_split":"Διαχωρισμός","create_new_transaction":"Δημιουργία μιας νέας συναλλαγής","balance":"Ισοζύγιο","transaction_journal_extra":"Περισσότερες πληροφορίες","transaction_journal_meta":"Πληροφορίες μεταδεδομένων","basic_journal_information":"Βασικές πληροφορίες συναλλαγής","bills_to_pay":"Πάγια έξοδα προς πληρωμή","left_to_spend":"Διαθέσιμα προϋπολογισμών","attachments":"Συνημμένα","net_worth":"Καθαρή αξία","bill":"Πάγιο έξοδο","no_bill":"(χωρίς πάγιο έξοδο)","tags":"Ετικέτες","internal_reference":"Εσωτερική αναφορά","external_url":"Εξωτερικό URL","no_piggy_bank":"(χωρίς κουμπαρά)","paid":"Πληρωμένο","notes":"Σημειώσεις","yourAccounts":"Οι λογαριασμοί σας","go_to_asset_accounts":"Δείτε τους λογαριασμούς κεφαλαίου σας","delete_account":"Διαγραφή λογαριασμού","transaction_table_description":"Ένας πίνακας με τις συναλλαγές σας","account":"Λογαριασμός","description":"Περιγραφή","amount":"Ποσό","budget":"Προϋπολογισμός","category":"Κατηγορία","opposing_account":"Έναντι λογαριασμός","budgets":"Προϋπολογισμοί","categories":"Κατηγορίες","go_to_budgets":"Πηγαίνετε στους προϋπολογισμούς σας","income":"Έσοδα","go_to_deposits":"Πηγαίνετε στις καταθέσεις","go_to_categories":"Πηγαίνετε στις κατηγορίες σας","expense_accounts":"Δαπάνες","go_to_expenses":"Πηγαίνετε στις δαπάνες","go_to_bills":"Πηγαίνετε στα πάγια έξοδα","bills":"Πάγια έξοδα","last_thirty_days":"Τελευταίες τριάντα ημέρες","last_seven_days":"Τελευταίες επτά ημέρες","go_to_piggies":"Πηγαίνετε στους κουμπαράδες σας","saved":"Αποθηκεύτηκε","piggy_banks":"Κουμπαράδες","piggy_bank":"Κουμπαράς","amounts":"Ποσά","left":"Απομένουν","spent":"Δαπανήθηκαν","Default asset account":"Βασικός λογαριασμός κεφαλαίου","search_results":"Αποτελέσματα αναζήτησης","include":"Include?","transaction":"Συναλλαγή","account_role_defaultAsset":"Βασικός λογαριασμός κεφαλαίου","account_role_savingAsset":"Λογαριασμός αποταμίευσης","account_role_sharedAsset":"Κοινός λογαριασμός κεφαλαίου","clear_location":"Εκκαθάριση τοποθεσίας","account_role_ccAsset":"Πιστωτική κάρτα","account_role_cashWalletAsset":"Πορτοφόλι μετρητών","daily_budgets":"Ημερήσιοι προϋπολογισμοί","weekly_budgets":"Εβδομαδιαίοι προϋπολογισμοί","monthly_budgets":"Μηνιαίοι προϋπολογισμοί","quarterly_budgets":"Τριμηνιαίοι προϋπολογισμοί","create_new_expense":"Δημιουργία νέου λογαριασμού δαπανών","create_new_revenue":"Δημιουργία νέου λογαριασμού εσόδων","create_new_liabilities":"Create new liability","half_year_budgets":"Εξαμηνιαίοι προϋπολογισμοί","yearly_budgets":"Ετήσιοι προϋπολογισμοί","split_transaction_title":"Περιγραφή της συναλλαγής με διαχωρισμό","errors_submission":"Υπήρξε κάποιο λάθος με την υποβολή σας. Παρακαλώ ελέγξτε τα σφάλματα.","flash_error":"Σφάλμα!","store_transaction":"Αποθήκευση συναλλαγής","flash_success":"Επιτυχία!","create_another":"Μετά την αποθήκευση, επιστρέψτε εδώ για να δημιουργήσετε ακόμη ένα.","update_transaction":"Ενημέρωση συναλλαγής","after_update_create_another":"Μετά την ενημέρωση, επιστρέψτε εδώ για να συνεχίσετε την επεξεργασία.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID}</a> (\\"{title}\\") παρέμεινε χωρίς καμία αλλαγή.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID}</a> (\\"{title}\\") έχει ενημερωθεί.","spent_x_of_y":"Spent {amount} of {total}","search":"Αναζήτηση","create_new_asset":"Δημιουργία νέου λογαριασμού κεφαλαίου","asset_accounts":"Κεφάλαια","reset_after":"Επαναφορά φόρμας μετά την υποβολή","bill_paid_on":"Πληρώθηκε στις {date}","first_split_decides":"Ο πρώτος διαχωρισμός καθορίζει την τιμή αυτού του πεδίου","first_split_overrules_source":"Ο πρώτος διαχωρισμός ενδέχεται να παρακάμψει τον λογαριασμό προέλευσης","first_split_overrules_destination":"Ο πρώτος διαχωρισμός ενδέχεται να παρακάμψει τον λογαριασμό προορισμού","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID} (\\"{title}\\")</a> έχει αποθηκευτεί.","custom_period":"Προσαρμοσμένη περίοδος","reset_to_current":"Επαναφορά στην τρέχουσα περίοδο","select_period":"Επιλέξτε περίοδο","location":"Τοποθεσία","other_budgets":"Προϋπολογισμοί με χρονική προσαρμογή","journal_links":"Συνδέσεις συναλλαγών","go_to_withdrawals":"Πηγαίνετε στις αναλήψεις σας","revenue_accounts":"Έσοδα","add_another_split":"Προσθήκη ενός ακόμα διαχωρισμού","actions":"Ενέργειες","edit":"Επεξεργασία","account_type_Loan":"Δάνειο","account_type_Mortgage":"Υποθήκη","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Χρέος","delete":"Διαγραφή","store_new_asset_account":"Αποθήκευση νέου λογαριασμού κεφαλαίου","store_new_expense_account":"Αποθήκευση νέου λογαριασμού δαπανών","store_new_liabilities_account":"Αποθήκευση νέας υποχρέωσης","store_new_revenue_account":"Αποθήκευση νέου λογαριασμού εσόδων","mandatoryFields":"Υποχρεωτικά πεδία","optionalFields":"Προαιρετικά πεδία","reconcile_this_account":"Τακτοποίηση αυτού του λογαριασμού","interest_calc_weekly":"Per week","interest_calc_monthly":"Ανά μήνα","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Ανά έτος","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(τίποτα)"},"list":{"piggy_bank":"Κουμπαράς","percentage":"pct.","amount":"Ποσό","name":"Όνομα","role":"Ρόλος","iban":"IBAN","currentBalance":"Τρέχον υπόλοιπο","next_expected_match":"Επόμενη αναμενόμενη αντιστοίχιση"},"config":{"html_language":"el"},"form":{"foreign_amount":"Ποσό σε ξένο νόμισμα","interest_date":"Ημερομηνία τοκισμού","name":"Όνομα","amount":"Ποσό","iban":"IBAN","BIC":"BIC","notes":"Σημειώσεις","location":"Τοποθεσία","attachments":"Συνημμένα","active":"Ενεργό","include_net_worth":"Εντός καθαρής αξίας","account_number":"Αριθμός λογαριασμού","virtual_balance":"Εικονικό υπόλοιπο","opening_balance":"Υπόλοιπο έναρξης","opening_balance_date":"Ημερομηνία υπολοίπου έναρξης","date":"Ημερομηνία","interest":"Τόκος","interest_period":"Τοκιζόμενη περίοδος","currency_id":"Νόμισμα","liability_type":"Liability type","account_role":"Ρόλος λογαριασμού","liability_direction":"Liability in/out","book_date":"Ημερομηνία εγγραφής","permDeleteWarning":"Η διαγραφή στοιχείων από το Firefly III είναι μόνιμη και δεν μπορεί να αναιρεθεί.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Ημερομηνία επεξεργασίας","due_date":"Ημερομηνία προθεσμίας","payment_date":"Ημερομηνία πληρωμής","invoice_date":"Ημερομηνία τιμολόγησης"}}')},6318:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Withdrawal","Deposit":"Deposit","date_and_time":"Date and time","no_currency":"(no currency)","date":"Date","time":"Time","no_budget":"(no budget)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Balance","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta information","basic_journal_information":"Basic transaction information","bills_to_pay":"Bills to pay","left_to_spend":"Left to spend","attachments":"Attachments","net_worth":"Net worth","bill":"Bill","no_bill":"(no bill)","tags":"Tags","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Paid","notes":"Notes","yourAccounts":"Your accounts","go_to_asset_accounts":"View your asset accounts","delete_account":"Delete account","transaction_table_description":"A table containing your transactions","account":"Account","description":"Description","amount":"Amount","budget":"Budget","category":"Category","opposing_account":"Opposing account","budgets":"Budgets","categories":"Categories","go_to_budgets":"Go to your budgets","income":"Revenue / income","go_to_deposits":"Go to deposits","go_to_categories":"Go to your categories","expense_accounts":"Expense accounts","go_to_expenses":"Go to expenses","go_to_bills":"Go to your bills","bills":"Bills","last_thirty_days":"Last thirty days","last_seven_days":"Last seven days","go_to_piggies":"Go to your piggy banks","saved":"Saved","piggy_banks":"Piggy banks","piggy_bank":"Piggy bank","amounts":"Amounts","left":"Left","spent":"Spent","Default asset account":"Default asset account","search_results":"Search results","include":"Include?","transaction":"Transaction","account_role_defaultAsset":"Default asset account","account_role_savingAsset":"Savings account","account_role_sharedAsset":"Shared asset account","clear_location":"Clear location","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash wallet","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Create new expense account","create_new_revenue":"Create new revenue account","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Error!","store_transaction":"Store transaction","flash_success":"Success!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Search","create_new_asset":"Create new asset account","asset_accounts":"Asset accounts","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Location","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Revenue accounts","add_another_split":"Add another split","actions":"Actions","edit":"Edit","account_type_Loan":"Loan","account_type_Mortgage":"Mortgage","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Debt","delete":"Delete","store_new_asset_account":"Store new asset account","store_new_expense_account":"Store new expense account","store_new_liabilities_account":"Store new liability","store_new_revenue_account":"Store new revenue account","mandatoryFields":"Mandatory fields","optionalFields":"Optional fields","reconcile_this_account":"Reconcile this account","interest_calc_weekly":"Per week","interest_calc_monthly":"Per month","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Per year","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(none)"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","name":"Name","role":"Role","iban":"IBAN","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en-gb"},"form":{"foreign_amount":"Foreign amount","interest_date":"Interest date","name":"Name","amount":"Amount","iban":"IBAN","BIC":"BIC","notes":"Notes","location":"Location","attachments":"Attachments","active":"Active","include_net_worth":"Include in net worth","account_number":"Account number","virtual_balance":"Virtual balance","opening_balance":"Opening balance","opening_balance_date":"Opening balance date","date":"Date","interest":"Interest","interest_period":"Interest period","currency_id":"Currency","liability_type":"Liability type","account_role":"Account role","liability_direction":"Liability in/out","book_date":"Book date","permDeleteWarning":"Deleting stuff from Firefly III is permanent and cannot be undone.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},3340:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Withdrawal","Deposit":"Deposit","date_and_time":"Date and time","no_currency":"(no currency)","date":"Date","time":"Time","no_budget":"(no budget)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Balance","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta information","basic_journal_information":"Basic transaction information","bills_to_pay":"Bills to pay","left_to_spend":"Left to spend","attachments":"Attachments","net_worth":"Net worth","bill":"Bill","no_bill":"(no bill)","tags":"Tags","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Paid","notes":"Notes","yourAccounts":"Your accounts","go_to_asset_accounts":"View your asset accounts","delete_account":"Delete account","transaction_table_description":"A table containing your transactions","account":"Account","description":"Description","amount":"Amount","budget":"Budget","category":"Category","opposing_account":"Opposing account","budgets":"Budgets","categories":"Categories","go_to_budgets":"Go to your budgets","income":"Revenue / income","go_to_deposits":"Go to deposits","go_to_categories":"Go to your categories","expense_accounts":"Expense accounts","go_to_expenses":"Go to expenses","go_to_bills":"Go to your bills","bills":"Bills","last_thirty_days":"Last thirty days","last_seven_days":"Last seven days","go_to_piggies":"Go to your piggy banks","saved":"Saved","piggy_banks":"Piggy banks","piggy_bank":"Piggy bank","amounts":"Amounts","left":"Left","spent":"Spent","Default asset account":"Default asset account","search_results":"Search results","include":"Include?","transaction":"Transaction","account_role_defaultAsset":"Default asset account","account_role_savingAsset":"Savings account","account_role_sharedAsset":"Shared asset account","clear_location":"Clear location","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash wallet","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Create new expense account","create_new_revenue":"Create new revenue account","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Error!","store_transaction":"Store transaction","flash_success":"Success!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Search","create_new_asset":"Create new asset account","asset_accounts":"Asset accounts","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Location","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Revenue accounts","add_another_split":"Add another split","actions":"Actions","edit":"Edit","account_type_Loan":"Loan","account_type_Mortgage":"Mortgage","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Debt","delete":"Delete","store_new_asset_account":"Store new asset account","store_new_expense_account":"Store new expense account","store_new_liabilities_account":"Store new liability","store_new_revenue_account":"Store new revenue account","mandatoryFields":"Mandatory fields","optionalFields":"Optional fields","reconcile_this_account":"Reconcile this account","interest_calc_weekly":"Per week","interest_calc_monthly":"Per month","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Per year","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(none)"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","name":"Name","role":"Role","iban":"IBAN","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en"},"form":{"foreign_amount":"Foreign amount","interest_date":"Interest date","name":"Name","amount":"Amount","iban":"IBAN","BIC":"BIC","notes":"Notes","location":"Location","attachments":"Attachments","active":"Active","include_net_worth":"Include in net worth","account_number":"Account number","virtual_balance":"Virtual balance","opening_balance":"Opening balance","opening_balance_date":"Opening balance date","date":"Date","interest":"Interest","interest_period":"Interest period","currency_id":"Currency","liability_type":"Liability type","account_role":"Account role","liability_direction":"Liability in/out","book_date":"Book date","permDeleteWarning":"Deleting stuff from Firefly III is permanent and cannot be undone.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},5394:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Transferencia","Withdrawal":"Retiro","Deposit":"Depósito","date_and_time":"Fecha y hora","no_currency":"(sin moneda)","date":"Fecha","time":"Hora","no_budget":"(sin presupuesto)","destination_account":"Cuenta destino","source_account":"Cuenta origen","single_split":"División","create_new_transaction":"Crear una nueva transacción","balance":"Balance","transaction_journal_extra":"Información adicional","transaction_journal_meta":"Información Meta","basic_journal_information":"Información básica de transacción","bills_to_pay":"Facturas por pagar","left_to_spend":"Disponible para gastar","attachments":"Archivos adjuntos","net_worth":"Valor Neto","bill":"Factura","no_bill":"(sin factura)","tags":"Etiquetas","internal_reference":"Referencia interna","external_url":"URL externa","no_piggy_bank":"(sin hucha)","paid":"Pagado","notes":"Notas","yourAccounts":"Tus cuentas","go_to_asset_accounts":"Ver tus cuentas de activos","delete_account":"Eliminar cuenta","transaction_table_description":"Una tabla que contiene sus transacciones","account":"Cuenta","description":"Descripción","amount":"Cantidad","budget":"Presupuesto","category":"Categoria","opposing_account":"Cuenta opuesta","budgets":"Presupuestos","categories":"Categorías","go_to_budgets":"Ir a tus presupuestos","income":"Ingresos / salarios","go_to_deposits":"Ir a depósitos","go_to_categories":"Ir a tus categorías","expense_accounts":"Cuentas de gastos","go_to_expenses":"Ir a gastos","go_to_bills":"Ir a tus cuentas","bills":"Facturas","last_thirty_days":"Últimos treinta días","last_seven_days":"Últimos siete días","go_to_piggies":"Ir a tu hucha","saved":"Guardado","piggy_banks":"Huchas","piggy_bank":"Hucha","amounts":"Importes","left":"Disponible","spent":"Gastado","Default asset account":"Cuenta de ingresos por defecto","search_results":"Buscar resultados","include":"Include?","transaction":"Transaccion","account_role_defaultAsset":"Cuentas de ingresos por defecto","account_role_savingAsset":"Cuentas de ahorros","account_role_sharedAsset":"Cuenta de ingresos compartida","clear_location":"Eliminar ubicación","account_role_ccAsset":"Tarjeta de Crédito","account_role_cashWalletAsset":"Billetera de efectivo","daily_budgets":"Presupuestos diarios","weekly_budgets":"Presupuestos semanales","monthly_budgets":"Presupuestos mensuales","quarterly_budgets":"Presupuestos trimestrales","create_new_expense":"Crear nueva cuenta de gastos","create_new_revenue":"Crear nueva cuenta de ingresos","create_new_liabilities":"Crear nuevo pasivo","half_year_budgets":"Presupuestos semestrales","yearly_budgets":"Presupuestos anuales","split_transaction_title":"Descripción de la transacción dividida","errors_submission":"Hubo un problema con su envío. Por favor, compruebe los errores.","flash_error":"¡Error!","store_transaction":"Guardar transacción","flash_success":"¡Operación correcta!","create_another":"Después de guardar, vuelve aquí para crear otro.","update_transaction":"Actualizar transacción","after_update_create_another":"Después de actualizar, vuelve aquí para continuar editando.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID}</a> (\\"{title}\\") no recibió ningún cambio.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID}</a> (\\"{title}\\") ha sido actualizada.","spent_x_of_y":"{amount} gastado de {total}","search":"Buscar","create_new_asset":"Crear nueva cuenta de activos","asset_accounts":"Cuenta de activos","reset_after":"Restablecer formulario después del envío","bill_paid_on":"Pagado el {date}","first_split_decides":"La primera división determina el valor de este campo","first_split_overrules_source":"La primera división puede anular la cuenta de origen","first_split_overrules_destination":"La primera división puede anular la cuenta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID} (\\"{title}\\")</a> ha sido almacenada.","custom_period":"Período personalizado","reset_to_current":"Restablecer al período actual","select_period":"Seleccione un período","location":"Ubicación","other_budgets":"Presupuestos de tiempo personalizado","journal_links":"Enlaces de transacciones","go_to_withdrawals":"Ir a tus retiradas","revenue_accounts":"Cuentas de ingresos","add_another_split":"Añadir otra división","actions":"Acciones","edit":"Editar","account_type_Loan":"Préstamo","account_type_Mortgage":"Hipoteca","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Deuda","delete":"Eliminar","store_new_asset_account":"Crear cuenta de activos","store_new_expense_account":"Crear cuenta de gastos","store_new_liabilities_account":"Crear nuevo pasivo","store_new_revenue_account":"Crear cuenta de ingresos","mandatoryFields":"Campos obligatorios","optionalFields":"Campos opcionales","reconcile_this_account":"Reconciliar esta cuenta","interest_calc_weekly":"Per week","interest_calc_monthly":"Por mes","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Por año","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(ninguno)"},"list":{"piggy_bank":"Alcancilla","percentage":"pct.","amount":"Monto","name":"Nombre","role":"Rol","iban":"IBAN","currentBalance":"Balance actual","next_expected_match":"Próxima coincidencia esperada"},"config":{"html_language":"es"},"form":{"foreign_amount":"Cantidad extranjera","interest_date":"Fecha de interés","name":"Nombre","amount":"Importe","iban":"IBAN","BIC":"BIC","notes":"Notas","location":"Ubicación","attachments":"Adjuntos","active":"Activo","include_net_worth":"Incluir en valor neto","account_number":"Número de cuenta","virtual_balance":"Saldo virtual","opening_balance":"Saldo inicial","opening_balance_date":"Fecha del saldo inicial","date":"Fecha","interest":"Interés","interest_period":"Período de interés","currency_id":"Divisa","liability_type":"Liability type","account_role":"Rol de cuenta","liability_direction":"Liability in/out","book_date":"Fecha de registro","permDeleteWarning":"Eliminar cosas de Firefly III es permanente y no se puede deshacer.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Fecha de procesamiento","due_date":"Fecha de vencimiento","payment_date":"Fecha de pago","invoice_date":"Fecha de la factura"}}')},7868:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Siirto","Withdrawal":"Nosto","Deposit":"Talletus","date_and_time":"Date and time","no_currency":"(ei valuuttaa)","date":"Päivämäärä","time":"Time","no_budget":"(ei budjettia)","destination_account":"Kohdetili","source_account":"Lähdetili","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metatiedot","basic_journal_information":"Basic transaction information","bills_to_pay":"Laskuja maksettavana","left_to_spend":"Käytettävissä","attachments":"Liitteet","net_worth":"Varallisuus","bill":"Lasku","no_bill":"(no bill)","tags":"Tägit","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(ei säästöpossu)","paid":"Maksettu","notes":"Muistiinpanot","yourAccounts":"Omat tilisi","go_to_asset_accounts":"Tarkastele omaisuustilejäsi","delete_account":"Poista käyttäjätili","transaction_table_description":"A table containing your transactions","account":"Tili","description":"Kuvaus","amount":"Summa","budget":"Budjetti","category":"Kategoria","opposing_account":"Vastatili","budgets":"Budjetit","categories":"Kategoriat","go_to_budgets":"Avaa omat budjetit","income":"Tuotto / ansio","go_to_deposits":"Go to deposits","go_to_categories":"Avaa omat kategoriat","expense_accounts":"Kulutustilit","go_to_expenses":"Go to expenses","go_to_bills":"Avaa omat laskut","bills":"Laskut","last_thirty_days":"Viimeiset 30 päivää","last_seven_days":"Viimeiset 7 päivää","go_to_piggies":"Tarkastele säästöpossujasi","saved":"Saved","piggy_banks":"Säästöpossut","piggy_bank":"Säästöpossu","amounts":"Amounts","left":"Jäljellä","spent":"Käytetty","Default asset account":"Oletusomaisuustili","search_results":"Haun tulokset","include":"Include?","transaction":"Tapahtuma","account_role_defaultAsset":"Oletuskäyttötili","account_role_savingAsset":"Säästötili","account_role_sharedAsset":"Jaettu käyttötili","clear_location":"Tyhjennä sijainti","account_role_ccAsset":"Luottokortti","account_role_cashWalletAsset":"Käteinen","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Luo uusi maksutili","create_new_revenue":"Luo uusi tuottotili","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Jaetun tapahtuman kuvaus","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Virhe!","store_transaction":"Store transaction","flash_success":"Valmista tuli!","create_another":"Tallennuksen jälkeen, palaa takaisin luomaan uusi tapahtuma.","update_transaction":"Päivitä tapahtuma","after_update_create_another":"Päivityksen jälkeen, palaa takaisin jatkamaan muokkausta.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hae","create_new_asset":"Luo uusi omaisuustili","asset_accounts":"Käyttötilit","reset_after":"Tyhjennä lomake lähetyksen jälkeen","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Sijainti","other_budgets":"Custom timed budgets","journal_links":"Tapahtuman linkit","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Tuottotilit","add_another_split":"Lisää tapahtumaan uusi osa","actions":"Toiminnot","edit":"Muokkaa","account_type_Loan":"Laina","account_type_Mortgage":"Kiinnelaina","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Velka","delete":"Poista","store_new_asset_account":"Tallenna uusi omaisuustili","store_new_expense_account":"Tallenna uusi kulutustili","store_new_liabilities_account":"Tallenna uusi vastuu","store_new_revenue_account":"Tallenna uusi tuottotili","mandatoryFields":"Pakolliset kentät","optionalFields":"Valinnaiset kentät","reconcile_this_account":"Täsmäytä tämä tili","interest_calc_weekly":"Per week","interest_calc_monthly":"Kuukaudessa","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Vuodessa","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(ei mitään)"},"list":{"piggy_bank":"Säästöpossu","percentage":"pros.","amount":"Summa","name":"Nimi","role":"Rooli","iban":"IBAN","currentBalance":"Tämänhetkinen saldo","next_expected_match":"Seuraava lasku odotettavissa"},"config":{"html_language":"fi"},"form":{"foreign_amount":"Ulkomaan summa","interest_date":"Korkopäivä","name":"Nimi","amount":"Summa","iban":"IBAN","BIC":"BIC","notes":"Muistiinpanot","location":"Sijainti","attachments":"Liitteet","active":"Aktiivinen","include_net_worth":"Sisällytä varallisuuteen","account_number":"Tilinumero","virtual_balance":"Virtuaalinen saldo","opening_balance":"Alkusaldo","opening_balance_date":"Alkusaldon päivämäärä","date":"Päivämäärä","interest":"Korko","interest_period":"Korkojakso","currency_id":"Valuutta","liability_type":"Liability type","account_role":"Tilin tyyppi","liability_direction":"Liability in/out","book_date":"Kirjauspäivä","permDeleteWarning":"Asioiden poistaminen Firefly III:sta on lopullista eikä poistoa pysty perumaan.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Käsittelypäivä","due_date":"Eräpäivä","payment_date":"Maksupäivä","invoice_date":"Laskun päivämäärä"}}')},2551:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Transfert","Withdrawal":"Dépense","Deposit":"Dépôt","date_and_time":"Date et heure","no_currency":"(pas de devise)","date":"Date","time":"Heure","no_budget":"(pas de budget)","destination_account":"Compte de destination","source_account":"Compte source","single_split":"Ventilation","create_new_transaction":"Créer une nouvelle opération","balance":"Solde","transaction_journal_extra":"Informations supplémentaires","transaction_journal_meta":"Méta informations","basic_journal_information":"Informations de base sur l\'opération","bills_to_pay":"Factures à payer","left_to_spend":"Reste à dépenser","attachments":"Pièces jointes","net_worth":"Avoir net","bill":"Facture","no_bill":"(aucune facture)","tags":"Tags","internal_reference":"Référence interne","external_url":"URL externe","no_piggy_bank":"(aucune tirelire)","paid":"Payé","notes":"Notes","yourAccounts":"Vos comptes","go_to_asset_accounts":"Afficher vos comptes d\'actifs","delete_account":"Supprimer le compte","transaction_table_description":"Une table contenant vos opérations","account":"Compte","description":"Description","amount":"Montant","budget":"Budget","category":"Catégorie","opposing_account":"Compte opposé","budgets":"Budgets","categories":"Catégories","go_to_budgets":"Gérer vos budgets","income":"Recette / revenu","go_to_deposits":"Aller aux dépôts","go_to_categories":"Gérer vos catégories","expense_accounts":"Comptes de dépenses","go_to_expenses":"Aller aux dépenses","go_to_bills":"Gérer vos factures","bills":"Factures","last_thirty_days":"Trente derniers jours","last_seven_days":"7 Derniers Jours","go_to_piggies":"Gérer vos tirelires","saved":"Sauvegardé","piggy_banks":"Tirelires","piggy_bank":"Tirelire","amounts":"Montants","left":"Reste","spent":"Dépensé","Default asset account":"Compte d’actif par défaut","search_results":"Résultats de la recherche","include":"Inclure ?","transaction":"Opération","account_role_defaultAsset":"Compte d\'actif par défaut","account_role_savingAsset":"Compte d’épargne","account_role_sharedAsset":"Compte d\'actif partagé","clear_location":"Effacer la localisation","account_role_ccAsset":"Carte de crédit","account_role_cashWalletAsset":"Porte-monnaie","daily_budgets":"Budgets quotidiens","weekly_budgets":"Budgets hebdomadaires","monthly_budgets":"Budgets mensuels","quarterly_budgets":"Budgets trimestriels","create_new_expense":"Créer nouveau compte de dépenses","create_new_revenue":"Créer nouveau compte de recettes","create_new_liabilities":"Créer un nouveau passif","half_year_budgets":"Budgets semestriels","yearly_budgets":"Budgets annuels","split_transaction_title":"Description de l\'opération ventilée","errors_submission":"Certaines informations ne sont pas correctes dans votre formulaire. Veuillez vérifier les erreurs.","flash_error":"Erreur !","store_transaction":"Enregistrer l\'opération","flash_success":"Super !","create_another":"Après enregistrement, revenir ici pour en créer un nouveau.","update_transaction":"Mettre à jour l\'opération","after_update_create_another":"Après la mise à jour, revenir ici pour continuer l\'édition.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID}</a> (\\"{title}\\") n\'a pas été modifiée.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID}</a> (\\"{title}\\") a été mise à jour.","spent_x_of_y":"Dépensé {amount} sur {total}","search":"Rechercher","create_new_asset":"Créer un nouveau compte d’actif","asset_accounts":"Comptes d’actif","reset_after":"Réinitialiser le formulaire après soumission","bill_paid_on":"Payé le {date}","first_split_decides":"La première ventilation détermine la valeur de ce champ","first_split_overrules_source":"La première ventilation peut remplacer le compte source","first_split_overrules_destination":"La première ventilation peut remplacer le compte de destination","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID} (\\"{title}\\")</a> a été enregistrée.","custom_period":"Période personnalisée","reset_to_current":"Réinitialiser à la période en cours","select_period":"Sélectionnez une période","location":"Emplacement","other_budgets":"Budgets à période personnalisée","journal_links":"Liens d\'opération","go_to_withdrawals":"Accéder à vos retraits","revenue_accounts":"Comptes de recettes","add_another_split":"Ajouter une autre fraction","actions":"Actions","edit":"Modifier","account_type_Loan":"Prêt","account_type_Mortgage":"Prêt hypothécaire","stored_new_account_js":"Nouveau compte \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" enregistré !","account_type_Debt":"Dette","delete":"Supprimer","store_new_asset_account":"Créer un nouveau compte d’actif","store_new_expense_account":"Créer un nouveau compte de dépenses","store_new_liabilities_account":"Enregistrer un nouveau passif","store_new_revenue_account":"Créer un compte de recettes","mandatoryFields":"Champs obligatoires","optionalFields":"Champs optionnels","reconcile_this_account":"Rapprocher ce compte","interest_calc_weekly":"Par semaine","interest_calc_monthly":"Par mois","interest_calc_quarterly":"Par trimestre","interest_calc_half-year":"Par semestre","interest_calc_yearly":"Par an","liability_direction_credit":"On me doit cette dette","liability_direction_debit":"Je dois cette dette à quelqu\'un d\'autre","save_transactions_by_moving_js":"Aucune opération|Conserver cette opération en la déplaçant vers un autre compte. |Conserver ces opérations en les déplaçant vers un autre compte.","none_in_select_list":"(aucun)"},"list":{"piggy_bank":"Tirelire","percentage":"pct.","amount":"Montant","name":"Nom","role":"Rôle","iban":"Numéro IBAN","currentBalance":"Solde courant","next_expected_match":"Prochaine association attendue"},"config":{"html_language":"fr"},"form":{"foreign_amount":"Montant en devise étrangère","interest_date":"Date de valeur (intérêts)","name":"Nom","amount":"Montant","iban":"Numéro IBAN","BIC":"Code BIC","notes":"Notes","location":"Emplacement","attachments":"Documents joints","active":"Actif","include_net_worth":"Inclure dans l\'avoir net","account_number":"Numéro de compte","virtual_balance":"Solde virtuel","opening_balance":"Solde initial","opening_balance_date":"Date du solde initial","date":"Date","interest":"Intérêt","interest_period":"Période d’intérêt","currency_id":"Devise","liability_type":"Type de passif","account_role":"Rôle du compte","liability_direction":"Liability in/out","book_date":"Date de réservation","permDeleteWarning":"Supprimer quelque chose dans Firefly est permanent et ne peut pas être annulé.","account_areYouSure_js":"Êtes-vous sûr de vouloir supprimer le compte nommé \\"{name}\\" ?","also_delete_piggyBanks_js":"Aucune tirelire|La seule tirelire liée à ce compte sera aussi supprimée.|Les {count} tirelires liées à ce compte seront aussi supprimées.","also_delete_transactions_js":"Aucune opération|La seule opération liée à ce compte sera aussi supprimée.|Les {count} opérations liées à ce compte seront aussi supprimées.","process_date":"Date de traitement","due_date":"Échéance","payment_date":"Date de paiement","invoice_date":"Date de facturation"}}')},995:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Átvezetés","Withdrawal":"Költség","Deposit":"Bevétel","date_and_time":"Date and time","no_currency":"(nincs pénznem)","date":"Dátum","time":"Time","no_budget":"(nincs költségkeret)","destination_account":"Célszámla","source_account":"Forrás számla","single_split":"Felosztás","create_new_transaction":"Create a new transaction","balance":"Egyenleg","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta-információ","basic_journal_information":"Basic transaction information","bills_to_pay":"Fizetendő számlák","left_to_spend":"Elkölthető","attachments":"Mellékletek","net_worth":"Nettó érték","bill":"Számla","no_bill":"(no bill)","tags":"Címkék","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(nincs malacpersely)","paid":"Kifizetve","notes":"Megjegyzések","yourAccounts":"Bankszámlák","go_to_asset_accounts":"Eszközszámlák megtekintése","delete_account":"Fiók törlése","transaction_table_description":"Tranzakciókat tartalmazó táblázat","account":"Bankszámla","description":"Leírás","amount":"Összeg","budget":"Költségkeret","category":"Kategória","opposing_account":"Ellenoldali számla","budgets":"Költségkeretek","categories":"Kategóriák","go_to_budgets":"Ugrás a költségkeretekhez","income":"Jövedelem / bevétel","go_to_deposits":"Ugrás a bevételekre","go_to_categories":"Ugrás a kategóriákhoz","expense_accounts":"Költségszámlák","go_to_expenses":"Ugrás a kiadásokra","go_to_bills":"Ugrás a számlákhoz","bills":"Számlák","last_thirty_days":"Elmúlt harminc nap","last_seven_days":"Utolsó hét nap","go_to_piggies":"Ugrás a malacperselyekhez","saved":"Mentve","piggy_banks":"Malacperselyek","piggy_bank":"Malacpersely","amounts":"Mennyiségek","left":"Maradvány","spent":"Elköltött","Default asset account":"Alapértelmezett eszközszámla","search_results":"Keresési eredmények","include":"Include?","transaction":"Tranzakció","account_role_defaultAsset":"Alapértelmezett eszközszámla","account_role_savingAsset":"Megtakarítási számla","account_role_sharedAsset":"Megosztott eszközszámla","clear_location":"Hely törlése","account_role_ccAsset":"Hitelkártya","account_role_cashWalletAsset":"Készpénz","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Új költségszámla létrehozása","create_new_revenue":"Új jövedelemszámla létrehozása","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Felosztott tranzakció leírása","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Hiba!","store_transaction":"Store transaction","flash_success":"Siker!","create_another":"A tárolás után térjen vissza ide új létrehozásához.","update_transaction":"Tranzakció frissítése","after_update_create_another":"A frissítés után térjen vissza ide a szerkesztés folytatásához.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Keresés","create_new_asset":"Új eszközszámla létrehozása","asset_accounts":"Eszközszámlák","reset_after":"Űrlap törlése a beküldés után","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> mentve.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Hely","other_budgets":"Custom timed budgets","journal_links":"Tranzakció összekapcsolások","go_to_withdrawals":"Ugrás a költségekhez","revenue_accounts":"Jövedelemszámlák","add_another_split":"Másik felosztás hozzáadása","actions":"Műveletek","edit":"Szerkesztés","account_type_Loan":"Hitel","account_type_Mortgage":"Jelzálog","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Adósság","delete":"Törlés","store_new_asset_account":"Új eszközszámla tárolása","store_new_expense_account":"Új költségszámla tárolása","store_new_liabilities_account":"Új kötelezettség eltárolása","store_new_revenue_account":"Új jövedelemszámla létrehozása","mandatoryFields":"Kötelező mezők","optionalFields":"Nem kötelező mezők","reconcile_this_account":"Számla egyeztetése","interest_calc_weekly":"Per week","interest_calc_monthly":"Havonta","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Évente","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(nincs)"},"list":{"piggy_bank":"Malacpersely","percentage":"%","amount":"Összeg","name":"Név","role":"Szerepkör","iban":"IBAN","currentBalance":"Aktuális egyenleg","next_expected_match":"Következő várható egyezés"},"config":{"html_language":"hu"},"form":{"foreign_amount":"Külföldi összeg","interest_date":"Kamatfizetési időpont","name":"Név","amount":"Összeg","iban":"IBAN","BIC":"BIC","notes":"Megjegyzések","location":"Hely","attachments":"Mellékletek","active":"Aktív","include_net_worth":"Befoglalva a nettó értékbe","account_number":"Számlaszám","virtual_balance":"Virtuális egyenleg","opening_balance":"Nyitó egyenleg","opening_balance_date":"Nyitó egyenleg dátuma","date":"Dátum","interest":"Kamat","interest_period":"Kamatperiódus","currency_id":"Pénznem","liability_type":"Liability type","account_role":"Bankszámla szerepköre","liability_direction":"Liability in/out","book_date":"Könyvelés dátuma","permDeleteWarning":"A Firefly III-ból történő törlés végleges és nem vonható vissza.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Feldolgozás dátuma","due_date":"Lejárati időpont","payment_date":"Fizetés dátuma","invoice_date":"Számla dátuma"}}')},9112:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Trasferimento","Withdrawal":"Prelievo","Deposit":"Entrata","date_and_time":"Data e ora","no_currency":"(nessuna valuta)","date":"Data","time":"Ora","no_budget":"(nessun budget)","destination_account":"Conto destinazione","source_account":"Conto di origine","single_split":"Divisione","create_new_transaction":"Crea una nuova transazione","balance":"Saldo","transaction_journal_extra":"Informazioni aggiuntive","transaction_journal_meta":"Meta informazioni","basic_journal_information":"Informazioni di base sulla transazione","bills_to_pay":"Bollette da pagare","left_to_spend":"Altro da spendere","attachments":"Allegati","net_worth":"Patrimonio","bill":"Bolletta","no_bill":"(nessuna bolletta)","tags":"Etichette","internal_reference":"Riferimento interno","external_url":"URL esterno","no_piggy_bank":"(nessun salvadanaio)","paid":"Pagati","notes":"Note","yourAccounts":"I tuoi conti","go_to_asset_accounts":"Visualizza i tuoi conti attività","delete_account":"Elimina account","transaction_table_description":"Una tabella contenente le tue transazioni","account":"Conto","description":"Descrizione","amount":"Importo","budget":"Budget","category":"Categoria","opposing_account":"Conto beneficiario","budgets":"Budget","categories":"Categorie","go_to_budgets":"Vai ai tuoi budget","income":"Redditi / entrate","go_to_deposits":"Vai ai depositi","go_to_categories":"Vai alle tue categorie","expense_accounts":"Conti uscite","go_to_expenses":"Vai alle spese","go_to_bills":"Vai alle tue bollette","bills":"Bollette","last_thirty_days":"Ultimi trenta giorni","last_seven_days":"Ultimi sette giorni","go_to_piggies":"Vai ai tuoi salvadanai","saved":"Salvata","piggy_banks":"Salvadanai","piggy_bank":"Salvadanaio","amounts":"Importi","left":"Resto","spent":"Speso","Default asset account":"Conto attività predefinito","search_results":"Risultati ricerca","include":"Includere?","transaction":"Transazione","account_role_defaultAsset":"Conto attività predefinito","account_role_savingAsset":"Conto risparmio","account_role_sharedAsset":"Conto attività condiviso","clear_location":"Rimuovi dalla posizione","account_role_ccAsset":"Carta di credito","account_role_cashWalletAsset":"Portafoglio","daily_budgets":"Budget giornalieri","weekly_budgets":"Budget settimanali","monthly_budgets":"Budget mensili","quarterly_budgets":"Bilanci trimestrali","create_new_expense":"Crea un nuovo conto di spesa","create_new_revenue":"Crea un nuovo conto entrate","create_new_liabilities":"Crea nuova passività","half_year_budgets":"Bilanci semestrali","yearly_budgets":"Budget annuali","split_transaction_title":"Descrizione della transazione suddivisa","errors_submission":"Errore durante l\'invio. Controlla gli errori segnalati qui sotto.","flash_error":"Errore!","store_transaction":"Salva transazione","flash_success":"Successo!","create_another":"Dopo il salvataggio, torna qui per crearne un\'altra.","update_transaction":"Aggiorna transazione","after_update_create_another":"Dopo l\'aggiornamento, torna qui per continuare la modifica.","transaction_updated_no_changes":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID}</a> (\\"{title}\\") non ha avuto cambiamenti.","transaction_updated_link":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID}</a> (\\"{title}\\") è stata aggiornata.","spent_x_of_y":"Spesi {amount} di {total}","search":"Cerca","create_new_asset":"Crea un nuovo conto attività","asset_accounts":"Conti attività","reset_after":"Resetta il modulo dopo l\'invio","bill_paid_on":"Pagata il {date}","first_split_decides":"La prima suddivisione determina il valore di questo campo","first_split_overrules_source":"La prima suddivisione potrebbe sovrascrivere l\'account di origine","first_split_overrules_destination":"La prima suddivisione potrebbe sovrascrivere l\'account di destinazione","transaction_stored_link":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID} (\\"{title}\\")</a> è stata salvata.","custom_period":"Periodo personalizzato","reset_to_current":"Ripristina il periodo corrente","select_period":"Seleziona il periodo","location":"Posizione","other_budgets":"Budget a periodi personalizzati","journal_links":"Collegamenti della transazione","go_to_withdrawals":"Vai ai tuoi prelievi","revenue_accounts":"Conti entrate","add_another_split":"Aggiungi un\'altra divisione","actions":"Azioni","edit":"Modifica","account_type_Loan":"Prestito","account_type_Mortgage":"Mutuo","stored_new_account_js":"Nuovo conto \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" salvato!","account_type_Debt":"Debito","delete":"Elimina","store_new_asset_account":"Salva nuovo conto attività","store_new_expense_account":"Salva il nuovo conto uscite","store_new_liabilities_account":"Memorizza nuova passività","store_new_revenue_account":"Salva il nuovo conto entrate","mandatoryFields":"Campi obbligatori","optionalFields":"Campi opzionali","reconcile_this_account":"Riconcilia questo conto","interest_calc_weekly":"Settimanale","interest_calc_monthly":"Al mese","interest_calc_quarterly":"Trimestrale","interest_calc_half-year":"Semestrale","interest_calc_yearly":"All\'anno","liability_direction_credit":"Questo debito mi è dovuto","liability_direction_debit":"Devo questo debito a qualcun altro","save_transactions_by_moving_js":"Nessuna transazione|Salva questa transazione spostandola in un altro conto.|Salva queste transazioni spostandole in un altro conto.","none_in_select_list":"(nessuna)"},"list":{"piggy_bank":"Salvadanaio","percentage":"perc.","amount":"Importo","name":"Nome","role":"Ruolo","iban":"IBAN","currentBalance":"Saldo corrente","next_expected_match":"Prossimo abbinamento previsto"},"config":{"html_language":"it"},"form":{"foreign_amount":"Importo estero","interest_date":"Data di valuta","name":"Nome","amount":"Importo","iban":"IBAN","BIC":"BIC","notes":"Note","location":"Posizione","attachments":"Allegati","active":"Attivo","include_net_worth":"Includi nel patrimonio","account_number":"Numero conto","virtual_balance":"Saldo virtuale","opening_balance":"Saldo di apertura","opening_balance_date":"Data saldo di apertura","date":"Data","interest":"Interesse","interest_period":"Periodo di interesse","currency_id":"Valuta","liability_type":"Tipo passività","account_role":"Ruolo del conto","liability_direction":"Passività in entrata/uscita","book_date":"Data contabile","permDeleteWarning":"L\'eliminazione dei dati da Firefly III è definitiva e non può essere annullata.","account_areYouSure_js":"Sei sicuro di voler eliminare il conto \\"{name}\\"?","also_delete_piggyBanks_js":"Nessun salvadanaio|Anche l\'unico salvadanaio collegato a questo conto verrà eliminato.|Anche tutti i {count} salvadanai collegati a questo conto verranno eliminati.","also_delete_transactions_js":"Nessuna transazioni|Anche l\'unica transazione collegata al conto verrà eliminata.|Anche tutte le {count} transazioni collegati a questo conto verranno eliminate.","process_date":"Data elaborazione","due_date":"Data scadenza","payment_date":"Data pagamento","invoice_date":"Data fatturazione"}}')},9085:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Overføring","Withdrawal":"Uttak","Deposit":"Innskudd","date_and_time":"Date and time","no_currency":"(ingen valuta)","date":"Dato","time":"Time","no_budget":"(ingen budsjett)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metainformasjon","basic_journal_information":"Basic transaction information","bills_to_pay":"Regninger å betale","left_to_spend":"Igjen å bruke","attachments":"Vedlegg","net_worth":"Formue","bill":"Regning","no_bill":"(no bill)","tags":"Tagger","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Betalt","notes":"Notater","yourAccounts":"Dine kontoer","go_to_asset_accounts":"Se aktivakontoene dine","delete_account":"Slett konto","transaction_table_description":"A table containing your transactions","account":"Konto","description":"Beskrivelse","amount":"Beløp","budget":"Busjett","category":"Kategori","opposing_account":"Opposing account","budgets":"Budsjetter","categories":"Kategorier","go_to_budgets":"Gå til budsjettene dine","income":"Inntekt","go_to_deposits":"Go to deposits","go_to_categories":"Gå til kategoriene dine","expense_accounts":"Utgiftskontoer","go_to_expenses":"Go to expenses","go_to_bills":"Gå til regningene dine","bills":"Regninger","last_thirty_days":"Tredve siste dager","last_seven_days":"Syv siste dager","go_to_piggies":"Gå til sparegrisene dine","saved":"Saved","piggy_banks":"Sparegriser","piggy_bank":"Sparegris","amounts":"Amounts","left":"Gjenværende","spent":"Brukt","Default asset account":"Standard aktivakonto","search_results":"Søkeresultater","include":"Include?","transaction":"Transaksjon","account_role_defaultAsset":"Standard aktivakonto","account_role_savingAsset":"Sparekonto","account_role_sharedAsset":"Delt aktivakonto","clear_location":"Tøm lokasjon","account_role_ccAsset":"Kredittkort","account_role_cashWalletAsset":"Kontant lommebok","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Opprett ny utgiftskonto","create_new_revenue":"Opprett ny inntektskonto","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Feil!","store_transaction":"Store transaction","flash_success":"Suksess!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Søk","create_new_asset":"Opprett ny aktivakonto","asset_accounts":"Aktivakontoer","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Sted","other_budgets":"Custom timed budgets","journal_links":"Transaksjonskoblinger","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Inntektskontoer","add_another_split":"Legg til en oppdeling til","actions":"Handlinger","edit":"Rediger","account_type_Loan":"Lån","account_type_Mortgage":"Boliglån","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Gjeld","delete":"Slett","store_new_asset_account":"Lagre ny brukskonto","store_new_expense_account":"Lagre ny utgiftskonto","store_new_liabilities_account":"Lagre ny gjeld","store_new_revenue_account":"Lagre ny inntektskonto","mandatoryFields":"Obligatoriske felter","optionalFields":"Valgfrie felter","reconcile_this_account":"Avstem denne kontoen","interest_calc_weekly":"Per week","interest_calc_monthly":"Per måned","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Per år","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(ingen)"},"list":{"piggy_bank":"Sparegris","percentage":"pct.","amount":"Beløp","name":"Navn","role":"Rolle","iban":"IBAN","currentBalance":"Nåværende saldo","next_expected_match":"Neste forventede treff"},"config":{"html_language":"nb"},"form":{"foreign_amount":"Utenlandske beløp","interest_date":"Rentedato","name":"Navn","amount":"Beløp","iban":"IBAN","BIC":"BIC","notes":"Notater","location":"Location","attachments":"Vedlegg","active":"Aktiv","include_net_worth":"Inkluder i formue","account_number":"Account number","virtual_balance":"Virtual balance","opening_balance":"Opening balance","opening_balance_date":"Opening balance date","date":"Dato","interest":"Rente","interest_period":"Renteperiode","currency_id":"Valuta","liability_type":"Liability type","account_role":"Account role","liability_direction":"Liability in/out","book_date":"Bokføringsdato","permDeleteWarning":"Sletting av data fra Firefly III er permanent, og kan ikke angres.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Prosesseringsdato","due_date":"Forfallsdato","payment_date":"Betalingsdato","invoice_date":"Fakturadato"}}')},4671:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Overschrijving","Withdrawal":"Uitgave","Deposit":"Inkomsten","date_and_time":"Datum en tijd","no_currency":"(geen valuta)","date":"Datum","time":"Tijd","no_budget":"(geen budget)","destination_account":"Doelrekening","source_account":"Bronrekening","single_split":"Split","create_new_transaction":"Maak een nieuwe transactie","balance":"Saldo","transaction_journal_extra":"Extra informatie","transaction_journal_meta":"Metainformatie","basic_journal_information":"Standaard transactieinformatie","bills_to_pay":"Openstaande contracten","left_to_spend":"Over om uit te geven","attachments":"Bijlagen","net_worth":"Kapitaal","bill":"Contract","no_bill":"(geen contract)","tags":"Tags","internal_reference":"Interne referentie","external_url":"Externe URL","no_piggy_bank":"(geen spaarpotje)","paid":"Betaald","notes":"Notities","yourAccounts":"Je betaalrekeningen","go_to_asset_accounts":"Bekijk je betaalrekeningen","delete_account":"Verwijder je account","transaction_table_description":"Een tabel met je transacties","account":"Rekening","description":"Omschrijving","amount":"Bedrag","budget":"Budget","category":"Categorie","opposing_account":"Tegenrekening","budgets":"Budgetten","categories":"Categorieën","go_to_budgets":"Ga naar je budgetten","income":"Inkomsten","go_to_deposits":"Ga naar je inkomsten","go_to_categories":"Ga naar je categorieën","expense_accounts":"Crediteuren","go_to_expenses":"Ga naar je uitgaven","go_to_bills":"Ga naar je contracten","bills":"Contracten","last_thirty_days":"Laatste dertig dagen","last_seven_days":"Laatste zeven dagen","go_to_piggies":"Ga naar je spaarpotjes","saved":"Opgeslagen","piggy_banks":"Spaarpotjes","piggy_bank":"Spaarpotje","amounts":"Bedragen","left":"Over","spent":"Uitgegeven","Default asset account":"Standaard betaalrekening","search_results":"Zoekresultaten","include":"Opnemen?","transaction":"Transactie","account_role_defaultAsset":"Standaard betaalrekening","account_role_savingAsset":"Spaarrekening","account_role_sharedAsset":"Gedeelde betaalrekening","clear_location":"Wis locatie","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash","daily_budgets":"Dagelijkse budgetten","weekly_budgets":"Wekelijkse budgetten","monthly_budgets":"Maandelijkse budgetten","quarterly_budgets":"Driemaandelijkse budgetten","create_new_expense":"Nieuwe crediteur","create_new_revenue":"Nieuwe debiteur","create_new_liabilities":"Maak nieuwe passiva","half_year_budgets":"Halfjaarlijkse budgetten","yearly_budgets":"Jaarlijkse budgetten","split_transaction_title":"Beschrijving van de gesplitste transactie","errors_submission":"Er ging iets mis. Check de errors.","flash_error":"Fout!","store_transaction":"Transactie opslaan","flash_success":"Gelukt!","create_another":"Terug naar deze pagina voor een nieuwe transactie.","update_transaction":"Update transactie","after_update_create_another":"Na het opslaan terug om door te gaan met wijzigen.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID}</a> (\\"{title}\\") is niet gewijzigd.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID}</a> (\\"{title}\\") is geüpdatet.","spent_x_of_y":"{amount} van {total} uitgegeven","search":"Zoeken","create_new_asset":"Nieuwe betaalrekening","asset_accounts":"Betaalrekeningen","reset_after":"Reset formulier na opslaan","bill_paid_on":"Betaald op {date}","first_split_decides":"De eerste split bepaalt wat hier staat","first_split_overrules_source":"De eerste split kan de bronrekening overschrijven","first_split_overrules_destination":"De eerste split kan de doelrekening overschrijven","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID} (\\"{title}\\")</a> is opgeslagen.","custom_period":"Aangepaste periode","reset_to_current":"Reset naar huidige periode","select_period":"Selecteer een periode","location":"Plaats","other_budgets":"Aangepaste budgetten","journal_links":"Transactiekoppelingen","go_to_withdrawals":"Ga naar je uitgaven","revenue_accounts":"Debiteuren","add_another_split":"Voeg een split toe","actions":"Acties","edit":"Wijzig","account_type_Loan":"Lening","account_type_Mortgage":"Hypotheek","stored_new_account_js":"Nieuwe account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" opgeslagen!","account_type_Debt":"Schuld","delete":"Verwijder","store_new_asset_account":"Sla nieuwe betaalrekening op","store_new_expense_account":"Sla nieuwe crediteur op","store_new_liabilities_account":"Nieuwe passiva opslaan","store_new_revenue_account":"Sla nieuwe debiteur op","mandatoryFields":"Verplichte velden","optionalFields":"Optionele velden","reconcile_this_account":"Stem deze rekening af","interest_calc_weekly":"Per week","interest_calc_monthly":"Per maand","interest_calc_quarterly":"Per kwartaal","interest_calc_half-year":"Per half jaar","interest_calc_yearly":"Per jaar","liability_direction_credit":"Ik krijg dit bedrag terug","liability_direction_debit":"Ik moet dit bedrag terugbetalen","save_transactions_by_moving_js":"Geen transacties|Bewaar deze transactie door ze aan een andere rekening te koppelen.|Bewaar deze transacties door ze aan een andere rekening te koppelen.","none_in_select_list":"(geen)"},"list":{"piggy_bank":"Spaarpotje","percentage":"pct","amount":"Bedrag","name":"Naam","role":"Rol","iban":"IBAN","currentBalance":"Huidig saldo","next_expected_match":"Volgende verwachte match"},"config":{"html_language":"nl"},"form":{"foreign_amount":"Bedrag in vreemde valuta","interest_date":"Rentedatum","name":"Naam","amount":"Bedrag","iban":"IBAN","BIC":"BIC","notes":"Notities","location":"Locatie","attachments":"Bijlagen","active":"Actief","include_net_worth":"Meetellen in kapitaal","account_number":"Rekeningnummer","virtual_balance":"Virtueel saldo","opening_balance":"Startsaldo","opening_balance_date":"Startsaldodatum","date":"Datum","interest":"Rente","interest_period":"Renteperiode","currency_id":"Valuta","liability_type":"Passivasoort","account_role":"Rol van rekening","liability_direction":"Passiva in- of uitgaand","book_date":"Boekdatum","permDeleteWarning":"Dingen verwijderen uit Firefly III is permanent en kan niet ongedaan gemaakt worden.","account_areYouSure_js":"Weet je zeker dat je de rekening met naam \\"{name}\\" wilt verwijderen?","also_delete_piggyBanks_js":"Geen spaarpotjes|Ook het spaarpotje verbonden aan deze rekening wordt verwijderd.|Ook alle {count} spaarpotjes verbonden aan deze rekening worden verwijderd.","also_delete_transactions_js":"Geen transacties|Ook de enige transactie verbonden aan deze rekening wordt verwijderd.|Ook alle {count} transacties verbonden aan deze rekening worden verwijderd.","process_date":"Verwerkingsdatum","due_date":"Vervaldatum","payment_date":"Betalingsdatum","invoice_date":"Factuurdatum"}}')},6238:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Wypłata","Deposit":"Wpłata","date_and_time":"Data i czas","no_currency":"(brak waluty)","date":"Data","time":"Czas","no_budget":"(brak budżetu)","destination_account":"Konto docelowe","source_account":"Konto źródłowe","single_split":"Podział","create_new_transaction":"Stwórz nową transakcję","balance":"Saldo","transaction_journal_extra":"Dodatkowe informacje","transaction_journal_meta":"Meta informacje","basic_journal_information":"Podstawowe informacje o transakcji","bills_to_pay":"Rachunki do zapłacenia","left_to_spend":"Pozostało do wydania","attachments":"Załączniki","net_worth":"Wartość netto","bill":"Rachunek","no_bill":"(brak rachunku)","tags":"Tagi","internal_reference":"Wewnętrzny nr referencyjny","external_url":"Zewnętrzny adres URL","no_piggy_bank":"(brak skarbonki)","paid":"Zapłacone","notes":"Notatki","yourAccounts":"Twoje konta","go_to_asset_accounts":"Zobacz swoje konta aktywów","delete_account":"Usuń konto","transaction_table_description":"Tabela zawierająca Twoje transakcje","account":"Konto","description":"Opis","amount":"Kwota","budget":"Budżet","category":"Kategoria","opposing_account":"Konto przeciwstawne","budgets":"Budżety","categories":"Kategorie","go_to_budgets":"Przejdź do swoich budżetów","income":"Przychody / dochody","go_to_deposits":"Przejdź do wpłat","go_to_categories":"Przejdź do swoich kategorii","expense_accounts":"Konta wydatków","go_to_expenses":"Przejdź do wydatków","go_to_bills":"Przejdź do swoich rachunków","bills":"Rachunki","last_thirty_days":"Ostanie 30 dni","last_seven_days":"Ostatnie 7 dni","go_to_piggies":"Przejdź do swoich skarbonek","saved":"Zapisano","piggy_banks":"Skarbonki","piggy_bank":"Skarbonka","amounts":"Kwoty","left":"Pozostało","spent":"Wydano","Default asset account":"Domyślne konto aktywów","search_results":"Wyniki wyszukiwania","include":"Include?","transaction":"Transakcja","account_role_defaultAsset":"Domyślne konto aktywów","account_role_savingAsset":"Konto oszczędnościowe","account_role_sharedAsset":"Współdzielone konto aktywów","clear_location":"Wyczyść lokalizację","account_role_ccAsset":"Karta kredytowa","account_role_cashWalletAsset":"Portfel gotówkowy","daily_budgets":"Budżety dzienne","weekly_budgets":"Budżety tygodniowe","monthly_budgets":"Budżety miesięczne","quarterly_budgets":"Budżety kwartalne","create_new_expense":"Utwórz nowe konto wydatków","create_new_revenue":"Utwórz nowe konto przychodów","create_new_liabilities":"Utwórz nowe zobowiązanie","half_year_budgets":"Budżety półroczne","yearly_budgets":"Budżety roczne","split_transaction_title":"Opis podzielonej transakcji","errors_submission":"Coś poszło nie tak w czasie zapisu. Proszę sprawdź błędy.","flash_error":"Błąd!","store_transaction":"Zapisz transakcję","flash_success":"Sukces!","create_another":"Po zapisaniu wróć tutaj, aby utworzyć kolejny.","update_transaction":"Zaktualizuj transakcję","after_update_create_another":"Po aktualizacji wróć tutaj, aby kontynuować edycję.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID}</a> (\\"{title}\\") nie została zmieniona.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID}</a> (\\"{title}\\") została zaktualizowana.","spent_x_of_y":"Wydano {amount} z {total}","search":"Szukaj","create_new_asset":"Utwórz nowe konto aktywów","asset_accounts":"Konta aktywów","reset_after":"Wyczyść formularz po zapisaniu","bill_paid_on":"Zapłacone {date}","first_split_decides":"Pierwszy podział określa wartość tego pola","first_split_overrules_source":"Pierwszy podział może nadpisać konto źródłowe","first_split_overrules_destination":"Pierwszy podział może nadpisać konto docelowe","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID} (\\"{title}\\")</a> została zapisana.","custom_period":"Okres niestandardowy","reset_to_current":"Przywróć do bieżącego okresu","select_period":"Wybierz okres","location":"Lokalizacja","other_budgets":"Budżety niestandardowe","journal_links":"Powiązane transakcje","go_to_withdrawals":"Przejdź do swoich wydatków","revenue_accounts":"Konta przychodów","add_another_split":"Dodaj kolejny podział","actions":"Akcje","edit":"Modyfikuj","account_type_Loan":"Pożyczka","account_type_Mortgage":"Hipoteka","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Dług","delete":"Usuń","store_new_asset_account":"Zapisz nowe konto aktywów","store_new_expense_account":"Zapisz nowe konto wydatków","store_new_liabilities_account":"Zapisz nowe zobowiązanie","store_new_revenue_account":"Zapisz nowe konto przychodów","mandatoryFields":"Pola wymagane","optionalFields":"Pola opcjonalne","reconcile_this_account":"Uzgodnij to konto","interest_calc_weekly":"Per week","interest_calc_monthly":"Co miesiąc","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Co rok","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"Brak transakcji|Zapisz tę transakcję, przenosząc ją na inne konto.|Zapisz te transakcje przenosząc je na inne konto.","none_in_select_list":"(żadne)"},"list":{"piggy_bank":"Skarbonka","percentage":"%","amount":"Kwota","name":"Nazwa","role":"Rola","iban":"IBAN","currentBalance":"Bieżące saldo","next_expected_match":"Następne oczekiwane dopasowanie"},"config":{"html_language":"pl"},"form":{"foreign_amount":"Kwota zagraniczna","interest_date":"Data odsetek","name":"Nazwa","amount":"Kwota","iban":"IBAN","BIC":"BIC","notes":"Notatki","location":"Lokalizacja","attachments":"Załączniki","active":"Aktywny","include_net_worth":"Uwzględnij w wartości netto","account_number":"Numer konta","virtual_balance":"Wirtualne saldo","opening_balance":"Saldo początkowe","opening_balance_date":"Data salda otwarcia","date":"Data","interest":"Odsetki","interest_period":"Okres odsetkowy","currency_id":"Waluta","liability_type":"Liability type","account_role":"Rola konta","liability_direction":"Liability in/out","book_date":"Data księgowania","permDeleteWarning":"Usuwanie rzeczy z Firefly III jest trwałe i nie można tego cofnąć.","account_areYouSure_js":"Czy na pewno chcesz usunąć konto o nazwie \\"{name}\\"?","also_delete_piggyBanks_js":"Brak skarbonek|Jedyna skarbonka połączona z tym kontem również zostanie usunięta.|Wszystkie {count} skarbonki połączone z tym kontem zostaną również usunięte.","also_delete_transactions_js":"Brak transakcji|Jedyna transakcja połączona z tym kontem również zostanie usunięta.|Wszystkie {count} transakcje połączone z tym kontem również zostaną usunięte.","process_date":"Data przetworzenia","due_date":"Termin realizacji","payment_date":"Data płatności","invoice_date":"Data faktury"}}')},6586:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Transferência","Withdrawal":"Retirada","Deposit":"Depósito","date_and_time":"Data e hora","no_currency":"(sem moeda)","date":"Data","time":"Horário","no_budget":"(sem orçamento)","destination_account":"Conta destino","source_account":"Conta origem","single_split":"Divisão","create_new_transaction":"Criar nova transação","balance":"Saldo","transaction_journal_extra":"Informação extra","transaction_journal_meta":"Meta-informação","basic_journal_information":"Informações básicas de transação","bills_to_pay":"Contas a pagar","left_to_spend":"Restante para gastar","attachments":"Anexos","net_worth":"Valor Líquido","bill":"Fatura","no_bill":"(sem conta)","tags":"Tags","internal_reference":"Referência interna","external_url":"URL externa","no_piggy_bank":"(nenhum cofrinho)","paid":"Pago","notes":"Notas","yourAccounts":"Suas contas","go_to_asset_accounts":"Veja suas contas ativas","delete_account":"Apagar conta","transaction_table_description":"Uma tabela contendo suas transações","account":"Conta","description":"Descrição","amount":"Valor","budget":"Orçamento","category":"Categoria","opposing_account":"Conta oposta","budgets":"Orçamentos","categories":"Categorias","go_to_budgets":"Vá para seus orçamentos","income":"Receita / Renda","go_to_deposits":"Ir para as entradas","go_to_categories":"Vá para suas categorias","expense_accounts":"Contas de despesas","go_to_expenses":"Ir para despesas","go_to_bills":"Vá para suas contas","bills":"Faturas","last_thirty_days":"Últimos 30 dias","last_seven_days":"Últimos sete dias","go_to_piggies":"Vá para sua poupança","saved":"Salvo","piggy_banks":"Cofrinhos","piggy_bank":"Cofrinho","amounts":"Quantias","left":"Restante","spent":"Gasto","Default asset account":"Conta padrão","search_results":"Resultados da pesquisa","include":"Incluir?","transaction":"Transação","account_role_defaultAsset":"Conta padrão","account_role_savingAsset":"Conta poupança","account_role_sharedAsset":"Contas de ativos compartilhadas","clear_location":"Limpar localização","account_role_ccAsset":"Cartão de crédito","account_role_cashWalletAsset":"Carteira de dinheiro","daily_budgets":"Orçamentos diários","weekly_budgets":"Orçamentos semanais","monthly_budgets":"Orçamentos mensais","quarterly_budgets":"Orçamentos trimestrais","create_new_expense":"Criar nova conta de despesa","create_new_revenue":"Criar nova conta de receita","create_new_liabilities":"Criar novo passivo","half_year_budgets":"Orçamentos semestrais","yearly_budgets":"Orçamentos anuais","split_transaction_title":"Descrição da transação dividida","errors_submission":"Há algo de errado com o seu envio. Por favor, verifique os erros abaixo.","flash_error":"Erro!","store_transaction":"Salvar transação","flash_success":"Sucesso!","create_another":"Depois de armazenar, retorne aqui para criar outro.","update_transaction":"Atualizar transação","after_update_create_another":"Depois de atualizar, retorne aqui para continuar editando.","transaction_updated_no_changes":"A <a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") não recebeu nenhuma alteração.","transaction_updated_link":"A <a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") foi atualizada.","spent_x_of_y":"Gasto {amount} de {total}","search":"Pesquisa","create_new_asset":"Criar nova conta de ativo","asset_accounts":"Contas de ativo","reset_after":"Resetar o formulário após o envio","bill_paid_on":"Pago em {date}","first_split_decides":"A primeira divisão determina o valor deste campo","first_split_overrules_source":"A primeira divisão pode anular a conta de origem","first_split_overrules_destination":"A primeira divisão pode anular a conta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID} (\\"{title}\\")</a> foi salva.","custom_period":"Período personalizado","reset_to_current":"Redefinir para o período atual","select_period":"Selecione um período","location":"Localização","other_budgets":"Orçamentos de períodos personalizados","journal_links":"Transações ligadas","go_to_withdrawals":"Vá para seus saques","revenue_accounts":"Contas de receitas","add_another_split":"Adicionar outra divisão","actions":"Ações","edit":"Editar","account_type_Loan":"Empréstimo","account_type_Mortgage":"Hipoteca","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Dívida","delete":"Apagar","store_new_asset_account":"Armazenar nova conta de ativo","store_new_expense_account":"Armazenar nova conta de despesa","store_new_liabilities_account":"Guardar novo passivo","store_new_revenue_account":"Armazenar nova conta de receita","mandatoryFields":"Campos obrigatórios","optionalFields":"Campos opcionais","reconcile_this_account":"Concilie esta conta","interest_calc_weekly":"Por semana","interest_calc_monthly":"Por mês","interest_calc_quarterly":"Por trimestre","interest_calc_half-year":"Por semestre","interest_calc_yearly":"Por ano","liability_direction_credit":"Devo este débito","liability_direction_debit":"Devo este débito a outra pessoa","save_transactions_by_moving_js":"Nenhuma transação.|Salve esta transação movendo-a para outra conta.|Salve essas transações movendo-as para outra conta.","none_in_select_list":"(nenhum)"},"list":{"piggy_bank":"Cofrinho","percentage":"pct.","amount":"Total","name":"Nome","role":"Papel","iban":"IBAN","currentBalance":"Saldo atual","next_expected_match":"Próximo correspondente esperado"},"config":{"html_language":"pt-br"},"form":{"foreign_amount":"Montante em moeda estrangeira","interest_date":"Data de interesse","name":"Nome","amount":"Valor","iban":"IBAN","BIC":"BIC","notes":"Notas","location":"Localização","attachments":"Anexos","active":"Ativar","include_net_worth":"Incluir no patrimonio liquido","account_number":"Número de conta","virtual_balance":"Saldo virtual","opening_balance":"Saldo inicial","opening_balance_date":"Data do saldo inicial","date":"Data","interest":"Juros","interest_period":"Período de juros","currency_id":"Moeda","liability_type":"Tipo de passivo","account_role":"Função de conta","liability_direction":"Liability in/out","book_date":"Data reserva","permDeleteWarning":"Exclusão de dados do Firefly III são permanentes e não podem ser desfeitos.","account_areYouSure_js":"Tem certeza que deseja excluir a conta \\"{name}\\"?","also_delete_piggyBanks_js":"Sem cofrinhos|O único cofrinho conectado a esta conta também será excluído.|Todos os {count} cofrinhos conectados a esta conta também serão excluídos.","also_delete_transactions_js":"Sem transações|A única transação conectada a esta conta também será excluída.|Todas as {count} transações conectadas a essa conta também serão excluídas.","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da Fatura"}}')},8664:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Transferência","Withdrawal":"Levantamento","Deposit":"Depósito","date_and_time":"Data e hora","no_currency":"(sem moeda)","date":"Data","time":"Hora","no_budget":"(sem orcamento)","destination_account":"Conta de destino","source_account":"Conta de origem","single_split":"Dividir","create_new_transaction":"Criar uma nova transação","balance":"Saldo","transaction_journal_extra":"Informações extra","transaction_journal_meta":"Meta informação","basic_journal_information":"Informações básicas de transação","bills_to_pay":"Contas por pagar","left_to_spend":"Restante para gastar","attachments":"Anexos","net_worth":"Patrimonio liquido","bill":"Conta","no_bill":"(sem contas)","tags":"Etiquetas","internal_reference":"Referência interna","external_url":"URL Externo","no_piggy_bank":"(nenhum mealheiro)","paid":"Pago","notes":"Notas","yourAccounts":"As suas contas","go_to_asset_accounts":"Ver as contas de activos","delete_account":"Apagar conta de utilizador","transaction_table_description":"Uma tabela com as suas transacções","account":"Conta","description":"Descricao","amount":"Montante","budget":"Orcamento","category":"Categoria","opposing_account":"Conta oposta","budgets":"Orçamentos","categories":"Categorias","go_to_budgets":"Ir para os seus orçamentos","income":"Receita / renda","go_to_deposits":"Ir para depósitos","go_to_categories":"Ir para categorias","expense_accounts":"Conta de despesas","go_to_expenses":"Ir para despesas","go_to_bills":"Ir para contas","bills":"Contas","last_thirty_days":"Últimos trinta dias","last_seven_days":"Últimos sete dias","go_to_piggies":"Ir para mealheiros","saved":"Guardado","piggy_banks":"Mealheiros","piggy_bank":"Mealheiro","amounts":"Montantes","left":"Em falta","spent":"Gasto","Default asset account":"Conta de activos padrão","search_results":"Resultados da pesquisa","include":"Incluir?","transaction":"Transacção","account_role_defaultAsset":"Conta de activos padrão","account_role_savingAsset":"Conta poupança","account_role_sharedAsset":"Conta de activos partilhados","clear_location":"Limpar localização","account_role_ccAsset":"Cartão de credito","account_role_cashWalletAsset":"Carteira de dinheiro","daily_budgets":"Orçamento diário","weekly_budgets":"Orçamento semanal","monthly_budgets":"Orçamento mensal","quarterly_budgets":"Orçamento trimestral","create_new_expense":"Criar nova conta de despesas","create_new_revenue":"Criar nova conta de receitas","create_new_liabilities":"Criar novo passivo","half_year_budgets":"Orçamento semestral","yearly_budgets":"Orçamento anual","split_transaction_title":"Descrição da transacção dividida","errors_submission":"Aconteceu algo errado com a sua submissão. Por favor, verifique os erros.","flash_error":"Erro!","store_transaction":"Guardar transação","flash_success":"Sucesso!","create_another":"Depois de guardar, voltar aqui para criar outra.","update_transaction":"Actualizar transacção","after_update_create_another":"Após a atualização, regresse aqui para continuar a editar.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") não recebeu nenhuma alteração.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") foi atualizada.","spent_x_of_y":"Gasto {amount} de {total}","search":"Procurar","create_new_asset":"Criar nova conta de activos","asset_accounts":"Conta de activos","reset_after":"Repor o formulário após o envio","bill_paid_on":"Pago a {date}","first_split_decides":"A primeira divisão determina o valor deste campo","first_split_overrules_source":"A primeira divisão pode anular a conta de origem","first_split_overrules_destination":"A primeira divisão pode anular a conta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID} (\\"{title}\\")</a> foi guardada.","custom_period":"Período personalizado","reset_to_current":"Reiniciar o período personalizado","select_period":"Selecionar um período","location":"Localização","other_budgets":"Orçamentos de tempo personalizado","journal_links":"Ligações de transacção","go_to_withdrawals":"Ir para os seus levantamentos","revenue_accounts":"Conta de receitas","add_another_split":"Adicionar outra divisão","actions":"Ações","edit":"Alterar","account_type_Loan":"Emprestimo","account_type_Mortgage":"Hipoteca","stored_new_account_js":"Nova conta \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" armazenada!","account_type_Debt":"Debito","delete":"Apagar","store_new_asset_account":"Guardar nova conta de activos","store_new_expense_account":"Guardar nova conta de despesas","store_new_liabilities_account":"Guardar novo passivo","store_new_revenue_account":"Guardar nova conta de receitas","mandatoryFields":"Campos obrigatorios","optionalFields":"Campos opcionais","reconcile_this_account":"Reconciliar esta conta","interest_calc_weekly":"Por semana","interest_calc_monthly":"Mensal","interest_calc_quarterly":"Por trimestre","interest_calc_half-year":"Por meio ano","interest_calc_yearly":"Anual","liability_direction_credit":"Esta dívida é-me devida","liability_direction_debit":"Devo esta dívida a outra pessoa","save_transactions_by_moving_js":"Nenhuma transação| Guarde esta transação movendo-a para outra conta| Guarde estas transações movendo-as para outra conta.","none_in_select_list":"(nenhum)"},"list":{"piggy_bank":"Mealheiro","percentage":"%.","amount":"Montante","name":"Nome","role":"Regra","iban":"IBAN","currentBalance":"Saldo actual","next_expected_match":"Proxima correspondencia esperada"},"config":{"html_language":"pt"},"form":{"foreign_amount":"Montante estrangeiro","interest_date":"Data de juros","name":"Nome","amount":"Montante","iban":"IBAN","BIC":"BIC","notes":"Notas","location":"Localização","attachments":"Anexos","active":"Activo","include_net_worth":"Incluir no patrimonio liquido","account_number":"Número de conta","virtual_balance":"Saldo virtual","opening_balance":"Saldo inicial","opening_balance_date":"Data do saldo inicial","date":"Data","interest":"Juro","interest_period":"Periodo de juros","currency_id":"Divisa","liability_type":"Tipo de responsabilidade","account_role":"Tipo de conta","liability_direction":"Responsabilidade entrada/saída","book_date":"Data de registo","permDeleteWarning":"Apagar as tuas coisas do Firefly III e permanente e nao pode ser desfeito.","account_areYouSure_js":"Tem a certeza que deseja eliminar a conta denominada por \\"{name}?","also_delete_piggyBanks_js":"Nenhum mealheiro|O único mealheiro ligado a esta conta será também eliminado.|Todos os {count} mealheiros ligados a esta conta serão também eliminados.","also_delete_transactions_js":"Nenhuma transação| A única transação ligada a esta conta será também excluída.|Todas as {count} transações ligadas a esta conta serão também excluídas.","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da factura"}}')},1102:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Retragere","Deposit":"Depozit","date_and_time":"Date and time","no_currency":"(nici o monedă)","date":"Dată","time":"Time","no_budget":"(nici un buget)","destination_account":"Contul de destinație","source_account":"Contul sursă","single_split":"Împarte","create_new_transaction":"Create a new transaction","balance":"Balantă","transaction_journal_extra":"Extra information","transaction_journal_meta":"Informații meta","basic_journal_information":"Basic transaction information","bills_to_pay":"Facturile de plată","left_to_spend":"Ramas de cheltuit","attachments":"Atașamente","net_worth":"Valoarea netă","bill":"Factură","no_bill":"(no bill)","tags":"Etichete","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(nicio pușculiță)","paid":"Plătit","notes":"Notițe","yourAccounts":"Conturile dvs.","go_to_asset_accounts":"Vizualizați conturile de active","delete_account":"Șterge account","transaction_table_description":"A table containing your transactions","account":"Cont","description":"Descriere","amount":"Sumă","budget":"Buget","category":"Categorie","opposing_account":"Opposing account","budgets":"Buget","categories":"Categorii","go_to_budgets":"Mergi la bugete","income":"Venituri","go_to_deposits":"Go to deposits","go_to_categories":"Mergi la categorii","expense_accounts":"Conturi de cheltuieli","go_to_expenses":"Go to expenses","go_to_bills":"Mergi la facturi","bills":"Facturi","last_thirty_days":"Ultimele 30 de zile","last_seven_days":"Ultimele 7 zile","go_to_piggies":"Mergi la pușculiță","saved":"Salvat","piggy_banks":"Pușculiță","piggy_bank":"Pușculiță","amounts":"Amounts","left":"Rămas","spent":"Cheltuit","Default asset account":"Cont de active implicit","search_results":"Rezultatele căutarii","include":"Include?","transaction":"Tranzacţie","account_role_defaultAsset":"Contul implicit activ","account_role_savingAsset":"Cont de economii","account_role_sharedAsset":"Contul de active partajat","clear_location":"Ștergeți locația","account_role_ccAsset":"Card de credit","account_role_cashWalletAsset":"Cash - Numerar","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Creați un nou cont de cheltuieli","create_new_revenue":"Creați un nou cont de venituri","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Descrierea tranzacției divizate","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Eroare!","store_transaction":"Store transaction","flash_success":"Succes!","create_another":"După stocare, reveniți aici pentru a crea alta.","update_transaction":"Actualizați tranzacția","after_update_create_another":"După actualizare, reveniți aici pentru a continua editarea.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Caută","create_new_asset":"Creați un nou cont de active","asset_accounts":"Conturile de active","reset_after":"Resetați formularul după trimitere","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Tranzacția #{ID} (\\"{title}\\")</a> a fost stocată.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Locație","other_budgets":"Custom timed budgets","journal_links":"Link-uri de tranzacții","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Conturi de venituri","add_another_split":"Adăugați o divizare","actions":"Acțiuni","edit":"Editează","account_type_Loan":"Împrumut","account_type_Mortgage":"Credit ipotecar","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Datorie","delete":"Șterge","store_new_asset_account":"Salvați un nou cont de active","store_new_expense_account":"Salvați un nou cont de cheltuieli","store_new_liabilities_account":"Salvați provizion nou","store_new_revenue_account":"Salvați un nou cont de venituri","mandatoryFields":"Câmpuri obligatorii","optionalFields":"Câmpuri opționale","reconcile_this_account":"Reconciliați acest cont","interest_calc_weekly":"Per week","interest_calc_monthly":"Pe lună","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Pe an","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(nici unul)"},"list":{"piggy_bank":"Pușculiță","percentage":"procent %","amount":"Sumă","name":"Nume","role":"Rol","iban":"IBAN","currentBalance":"Sold curent","next_expected_match":"Următoarea potrivire așteptată"},"config":{"html_language":"ro"},"form":{"foreign_amount":"Sumă străină","interest_date":"Data de interes","name":"Nume","amount":"Sumă","iban":"IBAN","BIC":"BIC","notes":"Notițe","location":"Locație","attachments":"Fișiere atașate","active":"Activ","include_net_worth":"Includeți în valoare netă","account_number":"Număr de cont","virtual_balance":"Soldul virtual","opening_balance":"Soldul de deschidere","opening_balance_date":"Data soldului de deschidere","date":"Dată","interest":"Interes","interest_period":"Perioadă de interes","currency_id":"Monedă","liability_type":"Liability type","account_role":"Rolul contului","liability_direction":"Liability in/out","book_date":"Rezervă dată","permDeleteWarning":"Ștergerea este permanentă și nu poate fi anulată.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Data procesării","due_date":"Data scadentă","payment_date":"Data de plată","invoice_date":"Data facturii"}}')},753:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Перевод","Withdrawal":"Расход","Deposit":"Доход","date_and_time":"Дата и время","no_currency":"(нет валюты)","date":"Дата","time":"Время","no_budget":"(вне бюджета)","destination_account":"Счёт назначения","source_account":"Счёт-источник","single_split":"Разделённая транзакция","create_new_transaction":"Создать новую транзакцию","balance":"Бaлaнc","transaction_journal_extra":"Дополнительные сведения","transaction_journal_meta":"Дополнительная информация","basic_journal_information":"Основная информация о транзакции","bills_to_pay":"Счета к оплате","left_to_spend":"Осталось потратить","attachments":"Вложения","net_worth":"Мои сбережения","bill":"Счёт к оплате","no_bill":"(нет счёта на оплату)","tags":"Метки","internal_reference":"Внутренняя ссылка","external_url":"Внешний URL-адрес","no_piggy_bank":"(нет копилки)","paid":"Оплачено","notes":"Заметки","yourAccounts":"Ваши счета","go_to_asset_accounts":"Просмотр ваших основных счетов","delete_account":"Удалить профиль","transaction_table_description":"Таблица, содержащая ваши транзакции","account":"Счёт","description":"Описание","amount":"Сумма","budget":"Бюджет","category":"Категория","opposing_account":"Противодействующий счёт","budgets":"Бюджет","categories":"Категории","go_to_budgets":"Перейти к вашим бюджетам","income":"Мои доходы","go_to_deposits":"Перейти ко вкладам","go_to_categories":"Перейти к вашим категориям","expense_accounts":"Счета расходов","go_to_expenses":"Перейти к расходам","go_to_bills":"Перейти к вашим счетам на оплату","bills":"Счета к оплате","last_thirty_days":"Последние 30 дней","last_seven_days":"Последние 7 дней","go_to_piggies":"Перейти к вашим копилкам","saved":"Сохранено","piggy_banks":"Копилки","piggy_bank":"Копилка","amounts":"Сумма","left":"Осталось","spent":"Расход","Default asset account":"Счёт по умолчанию","search_results":"Результаты поиска","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Счёт по умолчанию","account_role_savingAsset":"Сберегательный счет","account_role_sharedAsset":"Общий основной счёт","clear_location":"Очистить местоположение","account_role_ccAsset":"Кредитная карта","account_role_cashWalletAsset":"Наличные","daily_budgets":"Бюджеты на день","weekly_budgets":"Бюджеты на неделю","monthly_budgets":"Бюджеты на месяц","quarterly_budgets":"Бюджеты на квартал","create_new_expense":"Создать новый счёт расхода","create_new_revenue":"Создать новый счёт дохода","create_new_liabilities":"Create new liability","half_year_budgets":"Бюджеты на полгода","yearly_budgets":"Годовые бюджеты","split_transaction_title":"Описание разделённой транзакции","errors_submission":"При отправке что-то пошло не так. Пожалуйста, проверьте ошибки ниже.","flash_error":"Ошибка!","store_transaction":"Сохранить транзакцию","flash_success":"Успешно!","create_another":"После сохранения вернуться сюда и создать ещё одну аналогичную запись.","update_transaction":"Обновить транзакцию","after_update_create_another":"После обновления вернитесь сюда, чтобы продолжить редактирование.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Поиск","create_new_asset":"Создать новый активный счёт","asset_accounts":"Основные счета","reset_after":"Сбросить форму после отправки","bill_paid_on":"Оплачено {date}","first_split_decides":"В данном поле используется значение из первой части разделенной транзакции","first_split_overrules_source":"Значение из первой части транзакции может изменить счет источника","first_split_overrules_destination":"Значение из первой части транзакции может изменить счет назначения","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID} (\\"{title}\\")</a> сохранена.","custom_period":"Пользовательский период","reset_to_current":"Сброс к текущему периоду","select_period":"Выберите период","location":"Размещение","other_budgets":"Бюджеты на произвольный отрезок времени","journal_links":"Связи транзакции","go_to_withdrawals":"Перейти к вашим расходам","revenue_accounts":"Счета доходов","add_another_split":"Добавить еще одну часть","actions":"Действия","edit":"Изменить","account_type_Loan":"Заём","account_type_Mortgage":"Ипотека","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Дебит","delete":"Удалить","store_new_asset_account":"Сохранить новый основной счёт","store_new_expense_account":"Сохранить новый счёт расхода","store_new_liabilities_account":"Сохранить новое обязательство","store_new_revenue_account":"Сохранить новый счёт дохода","mandatoryFields":"Обязательные поля","optionalFields":"Дополнительные поля","reconcile_this_account":"Произвести сверку данного счёта","interest_calc_weekly":"Per week","interest_calc_monthly":"В месяц","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"В год","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(нет)"},"list":{"piggy_bank":"Копилка","percentage":"процентов","amount":"Сумма","name":"Имя","role":"Роль","iban":"IBAN","currentBalance":"Текущий баланс","next_expected_match":"Следующий ожидаемый результат"},"config":{"html_language":"ru"},"form":{"foreign_amount":"Сумма в иностранной валюте","interest_date":"Дата начисления процентов","name":"Название","amount":"Сумма","iban":"IBAN","BIC":"BIC","notes":"Заметки","location":"Местоположение","attachments":"Вложения","active":"Активный","include_net_worth":"Включать в \\"Мои сбережения\\"","account_number":"Номер счёта","virtual_balance":"Виртуальный баланс","opening_balance":"Начальный баланс","opening_balance_date":"Дата начального баланса","date":"Дата","interest":"Процентная ставка","interest_period":"Период начисления процентов","currency_id":"Валюта","liability_type":"Liability type","account_role":"Тип счета","liability_direction":"Liability in/out","book_date":"Дата бронирования","permDeleteWarning":"Удаление информации из Firefly III является постоянным и не может быть отменено.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Дата обработки","due_date":"Срок оплаты","payment_date":"Дата платежа","invoice_date":"Дата выставления счёта"}}')},7049:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Prevod","Withdrawal":"Výber","Deposit":"Vklad","date_and_time":"Dátum a čas","no_currency":"(žiadna mena)","date":"Dátum","time":"Čas","no_budget":"(žiadny rozpočet)","destination_account":"Cieľový účet","source_account":"Zdrojový účet","single_split":"Rozúčtovať","create_new_transaction":"Vytvoriť novú transakciu","balance":"Zostatok","transaction_journal_extra":"Ďalšie informácie","transaction_journal_meta":"Meta informácie","basic_journal_information":"Základné Informácie o transakcii","bills_to_pay":"Účty na úhradu","left_to_spend":"Zostáva k útrate","attachments":"Prílohy","net_worth":"Čisté imanie","bill":"Účet","no_bill":"(žiadny účet)","tags":"Štítky","internal_reference":"Interná referencia","external_url":"Externá URL","no_piggy_bank":"(žiadna pokladnička)","paid":"Uhradené","notes":"Poznámky","yourAccounts":"Vaše účty","go_to_asset_accounts":"Zobraziť účty aktív","delete_account":"Odstrániť účet","transaction_table_description":"Tabuľka obsahujúca vaše transakcie","account":"Účet","description":"Popis","amount":"Suma","budget":"Rozpočet","category":"Kategória","opposing_account":"Cieľový účet","budgets":"Rozpočty","categories":"Kategórie","go_to_budgets":"Zobraziť rozpočty","income":"Zisky / príjmy","go_to_deposits":"Zobraziť vklady","go_to_categories":"Zobraziť kategórie","expense_accounts":"Výdavkové účty","go_to_expenses":"Zobraziť výdavky","go_to_bills":"Zobraziť účty","bills":"Účty","last_thirty_days":"Uplynulých 30 dní","last_seven_days":"Uplynulých 7 dní","go_to_piggies":"Zobraziť pokladničky","saved":"Uložené","piggy_banks":"Pokladničky","piggy_bank":"Pokladnička","amounts":"Suma","left":"Zostáva","spent":"Utratené","Default asset account":"Prednastavený účet aktív","search_results":"Výsledky vyhľadávania","include":"Include?","transaction":"Transakcia","account_role_defaultAsset":"Predvolený účet aktív","account_role_savingAsset":"Šetriaci účet","account_role_sharedAsset":"Zdieľaný účet aktív","clear_location":"Odstrániť pozíciu","account_role_ccAsset":"Kreditná karta","account_role_cashWalletAsset":"Peňaženka","daily_budgets":"Denné rozpočty","weekly_budgets":"Týždenné rozpočty","monthly_budgets":"Mesačné rozpočty","quarterly_budgets":"Štvrťročné rozpočty","create_new_expense":"Vytvoriť výdavkoý účet","create_new_revenue":"Vytvoriť nový príjmový účet","create_new_liabilities":"Create new liability","half_year_budgets":"Polročné rozpočty","yearly_budgets":"Ročné rozpočty","split_transaction_title":"Popis rozúčtovania","errors_submission":"Pri odosielaní sa niečo nepodarilo. Skontrolujte prosím chyby.","flash_error":"Chyba!","store_transaction":"Uložiť transakciu","flash_success":"Hotovo!","create_another":"Po uložení sa vrátiť späť sem a vytvoriť ďalší.","update_transaction":"Upraviť transakciu","after_update_create_another":"Po aktualizácii sa vrátiť späť a pokračovať v úpravách.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hľadať","create_new_asset":"Vytvoriť nový účet aktív","asset_accounts":"Účty aktív","reset_after":"Po odoslaní vynulovať formulár","bill_paid_on":"Uhradené {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transakcia #{ID} (\\"{title}\\")</a> bola uložená.","custom_period":"Vlastné obdobie","reset_to_current":"Obnoviť na aktuálne obdobie","select_period":"Vyberte obdobie","location":"Poloha","other_budgets":"Špecifické časované rozpočty","journal_links":"Prepojenia transakcie","go_to_withdrawals":"Zobraziť výbery","revenue_accounts":"Výnosové účty","add_another_split":"Pridať ďalšie rozúčtovanie","actions":"Akcie","edit":"Upraviť","account_type_Loan":"Pôžička","account_type_Mortgage":"Hypotéka","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Dlh","delete":"Odstrániť","store_new_asset_account":"Uložiť nový účet aktív","store_new_expense_account":"Uložiť nový výdavkový účet","store_new_liabilities_account":"Uložiť nový záväzok","store_new_revenue_account":"Uložiť nový príjmový účet","mandatoryFields":"Povinné údaje","optionalFields":"Voliteľné údaje","reconcile_this_account":"Vyúčtovat tento účet","interest_calc_weekly":"Per week","interest_calc_monthly":"Za mesiac","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Za rok","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(žiadne)"},"list":{"piggy_bank":"Pokladnička","percentage":"perc.","amount":"Suma","name":"Meno/Názov","role":"Rola","iban":"IBAN","currentBalance":"Aktuálny zostatok","next_expected_match":"Ďalšia očakávaná zhoda"},"config":{"html_language":"sk"},"form":{"foreign_amount":"Suma v cudzej mene","interest_date":"Úrokový dátum","name":"Názov","amount":"Suma","iban":"IBAN","BIC":"BIC","notes":"Poznámky","location":"Údaje o polohe","attachments":"Prílohy","active":"Aktívne","include_net_worth":"Zahrnúť do čistého majetku","account_number":"Číslo účtu","virtual_balance":"Virtuálnu zostatok","opening_balance":"Počiatočný zostatok","opening_balance_date":"Dátum počiatočného zostatku","date":"Dátum","interest":"Úrok","interest_period":"Úrokové obdobie","currency_id":"Mena","liability_type":"Liability type","account_role":"Rola účtu","liability_direction":"Liability in/out","book_date":"Dátum rezervácie","permDeleteWarning":"Odstránenie údajov z Firefly III je trvalé a nie je možné ich vrátiť späť.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Dátum spracovania","due_date":"Dátum splatnosti","payment_date":"Dátum úhrady","invoice_date":"Dátum vystavenia"}}')},7921:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Överföring","Withdrawal":"Uttag","Deposit":"Insättning","date_and_time":"Datum och tid","no_currency":"(ingen valuta)","date":"Datum","time":"Tid","no_budget":"(ingen budget)","destination_account":"Till konto","source_account":"Källkonto","single_split":"Dela","create_new_transaction":"Skapa en ny transaktion","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metadata","basic_journal_information":"Grundläggande transaktionsinformation","bills_to_pay":"Notor att betala","left_to_spend":"Återstår att spendera","attachments":"Bilagor","net_worth":"Nettoförmögenhet","bill":"Nota","no_bill":"(ingen räkning)","tags":"Etiketter","internal_reference":"Intern referens","external_url":"Extern URL","no_piggy_bank":"(ingen spargris)","paid":"Betald","notes":"Noteringar","yourAccounts":"Dina konton","go_to_asset_accounts":"Visa dina tillgångskonton","delete_account":"Ta bort konto","transaction_table_description":"En tabell som innehåller dina transaktioner","account":"Konto","description":"Beskrivning","amount":"Belopp","budget":"Budget","category":"Kategori","opposing_account":"Motsatt konto","budgets":"Budgetar","categories":"Kategorier","go_to_budgets":"Gå till dina budgetar","income":"Intäkter / inkomster","go_to_deposits":"Gå till insättningar","go_to_categories":"Gå till dina kategorier","expense_accounts":"Kostnadskonto","go_to_expenses":"Gå till utgifter","go_to_bills":"Gå till dina notor","bills":"Notor","last_thirty_days":"Senaste 30 dagarna","last_seven_days":"Senaste 7 dagarna","go_to_piggies":"Gå till dina sparbössor","saved":"Sparad","piggy_banks":"Spargrisar","piggy_bank":"Spargris","amounts":"Belopp","left":"Återstår","spent":"Spenderat","Default asset account":"Förvalt tillgångskonto","search_results":"Sökresultat","include":"Inkludera?","transaction":"Transaktion","account_role_defaultAsset":"Förvalt tillgångskonto","account_role_savingAsset":"Sparkonto","account_role_sharedAsset":"Delat tillgångskonto","clear_location":"Rena plats","account_role_ccAsset":"Kreditkort","account_role_cashWalletAsset":"Plånbok","daily_budgets":"Dagliga budgetar","weekly_budgets":"Veckovis budgetar","monthly_budgets":"Månatliga budgetar","quarterly_budgets":"Kvartalsbudgetar","create_new_expense":"Skapa ett nytt utgiftskonto","create_new_revenue":"Skapa ett nytt intäktskonto","create_new_liabilities":"Skapa ny skuld","half_year_budgets":"Halvårsbudgetar","yearly_budgets":"Årliga budgetar","split_transaction_title":"Beskrivning av delad transaktion","errors_submission":"Något fel uppstod med inskickningen. Vänligen kontrollera felen nedan.","flash_error":"Fel!","store_transaction":"Lagra transaktion","flash_success":"Slutförd!","create_another":"Efter sparat, återkom hit för att skapa ytterligare en.","update_transaction":"Uppdatera transaktion","after_update_create_another":"Efter uppdaterat, återkom hit för att fortsätta redigera.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID}</a> (\\"{title}\\") fick inga ändringar.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID}</a> (\\"{title}\\") uppdaterades.","spent_x_of_y":"Spenderade {amount} av {total}","search":"Sök","create_new_asset":"Skapa ett nytt tillgångskonto","asset_accounts":"Tillgångskonton","reset_after":"Återställ formulär efter inskickat","bill_paid_on":"Betalad den {date}","first_split_decides":"Första delningen bestämmer värdet på detta fält","first_split_overrules_source":"Den första delningen kan åsidosätta källkontot","first_split_overrules_destination":"Den första delningen kan åsidosätta målkontot","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID} (\\"{title}\\")</a> sparades.","custom_period":"Anpassad period","reset_to_current":"Återställ till nuvarande period","select_period":"Välj en period","location":"Plats","other_budgets":"Anpassade tidsinställda budgetar","journal_links":"Transaktionslänkar","go_to_withdrawals":"Gå till dina uttag","revenue_accounts":"Intäktskonton","add_another_split":"Lägga till en annan delning","actions":"Åtgärder","edit":"Redigera","account_type_Loan":"Lån","account_type_Mortgage":"Bolån","stored_new_account_js":"Nytt konto \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" lagrat!","account_type_Debt":"Skuld","delete":"Ta bort","store_new_asset_account":"Lagra nytt tillgångskonto","store_new_expense_account":"Spara nytt utgiftskonto","store_new_liabilities_account":"Spara en ny skuld","store_new_revenue_account":"Spara nytt intäktskonto","mandatoryFields":"Obligatoriska fält","optionalFields":"Valfria fält","reconcile_this_account":"Stäm av detta konto","interest_calc_weekly":"Per vecka","interest_calc_monthly":"Per månad","interest_calc_quarterly":"Per kvartal","interest_calc_half-year":"Per halvår","interest_calc_yearly":"Per år","liability_direction_credit":"Jag är skyldig denna skuld","liability_direction_debit":"Jag är skyldig någon annan denna skuld","save_transactions_by_moving_js":"Inga transaktioner|Spara denna transaktion genom att flytta den till ett annat konto.|Spara dessa transaktioner genom att flytta dem till ett annat konto.","none_in_select_list":"(Ingen)"},"list":{"piggy_bank":"Spargris","percentage":"procent","amount":"Belopp","name":"Namn","role":"Roll","iban":"IBAN","currentBalance":"Nuvarande saldo","next_expected_match":"Nästa förväntade träff"},"config":{"html_language":"sv"},"form":{"foreign_amount":"Utländskt belopp","interest_date":"Räntedatum","name":"Namn","amount":"Belopp","iban":"IBAN","BIC":"BIC","notes":"Anteckningar","location":"Plats","attachments":"Bilagor","active":"Aktiv","include_net_worth":"Inkludera i nettovärde","account_number":"Kontonummer","virtual_balance":"Virtuell balans","opening_balance":"Ingående balans","opening_balance_date":"Ingående balans datum","date":"Datum","interest":"Ränta","interest_period":"Ränteperiod","currency_id":"Valuta","liability_type":"Typ av ansvar","account_role":"Konto roll","liability_direction":"Ansvar in/ut","book_date":"Bokföringsdatum","permDeleteWarning":"Att ta bort saker från Firefly III är permanent och kan inte ångras.","account_areYouSure_js":"Är du säker du vill ta bort kontot \\"{name}\\"?","also_delete_piggyBanks_js":"Inga spargrisar|Den enda spargrisen som är ansluten till detta konto kommer också att tas bort.|Alla {count} spargrisar anslutna till detta konto kommer också att tas bort.","also_delete_transactions_js":"Inga transaktioner|Den enda transaktionen som är ansluten till detta konto kommer också att tas bort.|Alla {count} transaktioner som är kopplade till detta konto kommer också att tas bort.","process_date":"Behandlingsdatum","due_date":"Förfallodatum","payment_date":"Betalningsdatum","invoice_date":"Fakturadatum"}}')},1497:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"Chuyển khoản","Withdrawal":"Rút tiền","Deposit":"Tiền gửi","date_and_time":"Date and time","no_currency":"(không có tiền tệ)","date":"Ngày","time":"Time","no_budget":"(không có ngân sách)","destination_account":"Tài khoản đích","source_account":"Nguồn tài khoản","single_split":"Chia ra","create_new_transaction":"Tạo giao dịch mới","balance":"Tiền còn lại","transaction_journal_extra":"Extra information","transaction_journal_meta":"Thông tin tổng hợp","basic_journal_information":"Basic transaction information","bills_to_pay":"Hóa đơn phải trả","left_to_spend":"Còn lại để chi tiêu","attachments":"Tệp đính kèm","net_worth":"Tài sản thực","bill":"Hóa đơn","no_bill":"(no bill)","tags":"Nhãn","internal_reference":"Tài liệu tham khảo nội bộ","external_url":"URL bên ngoài","no_piggy_bank":"(chưa có heo đất)","paid":"Đã thanh toán","notes":"Ghi chú","yourAccounts":"Tài khoản của bạn","go_to_asset_accounts":"Xem tài khoản của bạn","delete_account":"Xóa tài khoản","transaction_table_description":"A table containing your transactions","account":"Tài khoản","description":"Sự miêu tả","amount":"Số tiền","budget":"Ngân sách","category":"Danh mục","opposing_account":"Opposing account","budgets":"Ngân sách","categories":"Danh mục","go_to_budgets":"Chuyển đến ngân sách của bạn","income":"Thu nhập doanh thu","go_to_deposits":"Go to deposits","go_to_categories":"Đi đến danh mục của bạn","expense_accounts":"Tài khoản chi phí","go_to_expenses":"Go to expenses","go_to_bills":"Đi đến hóa đơn của bạn","bills":"Hóa đơn","last_thirty_days":"Ba mươi ngày gần đây","last_seven_days":"Bảy ngày gần đây","go_to_piggies":"Tới heo đất của bạn","saved":"Đã lưu","piggy_banks":"Heo đất","piggy_bank":"Heo đất","amounts":"Amounts","left":"Còn lại","spent":"Đã chi","Default asset account":"Mặc định tài khoản","search_results":"Kết quả tìm kiếm","include":"Include?","transaction":"Giao dịch","account_role_defaultAsset":"tài khoản mặc định","account_role_savingAsset":"Tài khoản tiết kiệm","account_role_sharedAsset":"tài khoản dùng chung","clear_location":"Xóa vị trí","account_role_ccAsset":"Thẻ tín dụng","account_role_cashWalletAsset":"Ví tiền mặt","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Tạo tài khoản chi phí mới","create_new_revenue":"Tạo tài khoản doanh thu mới","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Mô tả giao dịch tách","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Lỗi!","store_transaction":"Store transaction","flash_success":"Thành công!","create_another":"Sau khi lưu trữ, quay trở lại đây để tạo một cái khác.","update_transaction":"Cập nhật giao dịch","after_update_create_another":"Sau khi cập nhật, quay lại đây để tiếp tục chỉnh sửa.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Tìm kiếm","create_new_asset":"Tạo tài khoản mới","asset_accounts":"tài khoản","reset_after":"Đặt lại mẫu sau khi gửi","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Giao dịch #{ID} (\\"{title}\\")</a> đã được lưu trữ.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Vị trí","other_budgets":"Custom timed budgets","journal_links":"Liên kết giao dịch","go_to_withdrawals":"Chuyển đến mục rút tiền của bạn","revenue_accounts":"Tài khoản doanh thu","add_another_split":"Thêm một phân chia khác","actions":"Hành động","edit":"Sửa","account_type_Loan":"Tiền vay","account_type_Mortgage":"Thế chấp","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"Món nợ","delete":"Xóa","store_new_asset_account":"Lưu trữ tài khoản mới","store_new_expense_account":"Lưu trữ tài khoản chi phí mới","store_new_liabilities_account":"Lưu trữ nợ mới","store_new_revenue_account":"Lưu trữ tài khoản doanh thu mới","mandatoryFields":"Các trường bắt buộc","optionalFields":"Các trường tùy chọn","reconcile_this_account":"Điều chỉnh tài khoản này","interest_calc_weekly":"Per week","interest_calc_monthly":"Mỗi tháng","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"Mỗi năm","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(Trống)"},"list":{"piggy_bank":"Ống heo con","percentage":"phần trăm.","amount":"Số tiền","name":"Tên","role":"Quy tắc","iban":"IBAN","currentBalance":"Số dư hiện tại","next_expected_match":"Trận đấu dự kiến tiếp theo"},"config":{"html_language":"vi"},"form":{"foreign_amount":"Ngoại tệ","interest_date":"Ngày lãi","name":"Tên","amount":"Số tiền","iban":"IBAN","BIC":"BIC","notes":"Ghi chú","location":"Vị trí","attachments":"Tài liệu đính kèm","active":"Hành động","include_net_worth":"Bao gồm trong giá trị ròng","account_number":"Số tài khoản","virtual_balance":"Cân bằng ảo","opening_balance":"Số dư đầu kỳ","opening_balance_date":"Ngày mở số dư","date":"Ngày","interest":"Lãi","interest_period":"Chu kỳ lãi","currency_id":"Tiền tệ","liability_type":"Liability type","account_role":"Vai trò tài khoản","liability_direction":"Liability in/out","book_date":"Ngày đặt sách","permDeleteWarning":"Xóa nội dung khỏi Firefly III là vĩnh viễn và không thể hoàn tác.","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"Ngày xử lý","due_date":"Ngày đáo hạn","payment_date":"Ngày thanh toán","invoice_date":"Ngày hóa đơn"}}')},4556:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"转账","Withdrawal":"提款","Deposit":"收入","date_and_time":"日期和时间","no_currency":"(没有货币)","date":"日期","time":"时间","no_budget":"(无预算)","destination_account":"目标账户","source_account":"来源账户","single_split":"拆分","create_new_transaction":"创建新交易","balance":"余额","transaction_journal_extra":"额外信息","transaction_journal_meta":"元信息","basic_journal_information":"基础交易信息","bills_to_pay":"待付账单","left_to_spend":"剩余支出","attachments":"附件","net_worth":"净资产","bill":"账单","no_bill":"(无账单)","tags":"标签","internal_reference":"内部引用","external_url":"外部链接","no_piggy_bank":"(无存钱罐)","paid":"已付款","notes":"备注","yourAccounts":"您的账户","go_to_asset_accounts":"查看您的资产账户","delete_account":"删除账户","transaction_table_description":"包含您交易的表格","account":"账户","description":"描述","amount":"金额","budget":"预算","category":"分类","opposing_account":"对方账户","budgets":"预算","categories":"分类","go_to_budgets":"前往您的预算","income":"收入","go_to_deposits":"前往收入","go_to_categories":"前往您的分类","expense_accounts":"支出账户","go_to_expenses":"前往支出","go_to_bills":"前往账单","bills":"账单","last_thirty_days":"最近 30 天","last_seven_days":"最近 7 天","go_to_piggies":"前往您的存钱罐","saved":"已保存","piggy_banks":"存钱罐","piggy_bank":"存钱罐","amounts":"金额","left":"剩余","spent":"支出","Default asset account":"默认资产账户","search_results":"搜索结果","include":"Include?","transaction":"交易","account_role_defaultAsset":"默认资产账户","account_role_savingAsset":"储蓄账户","account_role_sharedAsset":"共用资产账户","clear_location":"清除位置","account_role_ccAsset":"信用卡","account_role_cashWalletAsset":"现金钱包","daily_budgets":"每日预算","weekly_budgets":"每周预算","monthly_budgets":"每月预算","quarterly_budgets":"每季度预算","create_new_expense":"创建新支出账户","create_new_revenue":"创建新收入账户","create_new_liabilities":"Create new liability","half_year_budgets":"每半年预算","yearly_budgets":"每年预算","split_transaction_title":"拆分交易的描述","errors_submission":"您提交的内容有误,请检查错误信息。","flash_error":"错误!","store_transaction":"保存交易","flash_success":"成功!","create_another":"保存后,返回此页面以创建新记录","update_transaction":"更新交易","after_update_create_another":"更新后,返回此页面继续编辑。","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"搜索","create_new_asset":"创建新资产账户","asset_accounts":"资产账户","reset_after":"提交后重置表单","bill_paid_on":"支付于 {date}","first_split_decides":"首笔拆分决定此字段的值","first_split_overrules_source":"首笔拆分可能覆盖来源账户","first_split_overrules_destination":"首笔拆分可能覆盖目标账户","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">交易 #{ID} (“{title}”)</a> 已保存。","custom_period":"自定义周期","reset_to_current":"重置为当前周期","select_period":"选择周期","location":"位置","other_budgets":"自定义区间预算","journal_links":"交易关联","go_to_withdrawals":"前往支出","revenue_accounts":"收入账户","add_another_split":"增加另一笔拆分","actions":"操作","edit":"编辑","account_type_Loan":"贷款","account_type_Mortgage":"抵押","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"欠款","delete":"删除","store_new_asset_account":"保存新资产账户","store_new_expense_account":"保存新支出账户","store_new_liabilities_account":"保存新债务账户","store_new_revenue_account":"保存新收入账户","mandatoryFields":"必填字段","optionalFields":"选填字段","reconcile_this_account":"对账此账户","interest_calc_weekly":"Per week","interest_calc_monthly":"每月","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"每年","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(空)"},"list":{"piggy_bank":"存钱罐","percentage":"%","amount":"金额","name":"名称","role":"角色","iban":"国际银行账户号码(IBAN)","currentBalance":"目前余额","next_expected_match":"预期下次支付"},"config":{"html_language":"zh-cn"},"form":{"foreign_amount":"外币金额","interest_date":"利息日期","name":"名称","amount":"金额","iban":"国际银行账户号码 IBAN","BIC":"银行识别代码 BIC","notes":"备注","location":"位置","attachments":"附件","active":"启用","include_net_worth":"包含于净资产","account_number":"账户号码","virtual_balance":"虚拟账户余额","opening_balance":"初始余额","opening_balance_date":"开户日期","date":"日期","interest":"利息","interest_period":"利息期","currency_id":"货币","liability_type":"Liability type","account_role":"账户角色","liability_direction":"Liability in/out","book_date":"登记日期","permDeleteWarning":"从 Firefly III 删除内容是永久且无法恢复的。","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"处理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"发票日期"}}')},1715:e=>{"use strict";e.exports=JSON.parse('{"firefly":{"Transfer":"轉帳","Withdrawal":"提款","Deposit":"存款","date_and_time":"Date and time","no_currency":"(沒有貨幣)","date":"日期","time":"Time","no_budget":"(無預算)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"餘額","transaction_journal_extra":"Extra information","transaction_journal_meta":"後設資訊","basic_journal_information":"Basic transaction information","bills_to_pay":"待付帳單","left_to_spend":"剩餘可花費","attachments":"附加檔案","net_worth":"淨值","bill":"帳單","no_bill":"(no bill)","tags":"標籤","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"已付款","notes":"備註","yourAccounts":"您的帳戶","go_to_asset_accounts":"檢視您的資產帳戶","delete_account":"移除帳號","transaction_table_description":"A table containing your transactions","account":"帳戶","description":"描述","amount":"金額","budget":"預算","category":"分類","opposing_account":"Opposing account","budgets":"預算","categories":"分類","go_to_budgets":"前往您的預算","income":"收入 / 所得","go_to_deposits":"Go to deposits","go_to_categories":"前往您的分類","expense_accounts":"支出帳戶","go_to_expenses":"Go to expenses","go_to_bills":"前往您的帳單","bills":"帳單","last_thirty_days":"最近30天","last_seven_days":"最近7天","go_to_piggies":"前往您的小豬撲滿","saved":"Saved","piggy_banks":"小豬撲滿","piggy_bank":"小豬撲滿","amounts":"Amounts","left":"剩餘","spent":"支出","Default asset account":"預設資產帳戶","search_results":"搜尋結果","include":"Include?","transaction":"交易","account_role_defaultAsset":"預設資產帳戶","account_role_savingAsset":"儲蓄帳戶","account_role_sharedAsset":"共用資產帳戶","clear_location":"清除位置","account_role_ccAsset":"信用卡","account_role_cashWalletAsset":"現金錢包","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"建立新支出帳戶","create_new_revenue":"建立新收入帳戶","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"拆分交易的描述","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"錯誤!","store_transaction":"Store transaction","flash_success":"成功!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"搜尋","create_new_asset":"建立新資產帳戶","asset_accounts":"資產帳戶","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"位置","other_budgets":"Custom timed budgets","journal_links":"交易連結","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"收入帳戶","add_another_split":"增加拆分","actions":"操作","edit":"編輯","account_type_Loan":"貸款","account_type_Mortgage":"抵押","stored_new_account_js":"New account \\"<a href=\\"accounts/show/{ID}\\">{name}</a>\\" stored!","account_type_Debt":"負債","delete":"刪除","store_new_asset_account":"儲存新資產帳戶","store_new_expense_account":"儲存新支出帳戶","store_new_liabilities_account":"儲存新債務","store_new_revenue_account":"儲存新收入帳戶","mandatoryFields":"必要欄位","optionalFields":"選填欄位","reconcile_this_account":"對帳此帳戶","interest_calc_weekly":"Per week","interest_calc_monthly":"每月","interest_calc_quarterly":"Per quarter","interest_calc_half-year":"Per half year","interest_calc_yearly":"每年","liability_direction_credit":"I am owed this debt","liability_direction_debit":"I owe this debt to somebody else","save_transactions_by_moving_js":"No transactions|Save this transaction by moving it to another account. |Save these transactions by moving them to another account.","none_in_select_list":"(空)"},"list":{"piggy_bank":"小豬撲滿","percentage":"pct.","amount":"金額","name":"名稱","role":"角色","iban":"國際銀行帳戶號碼 (IBAN)","currentBalance":"目前餘額","next_expected_match":"下一個預期的配對"},"config":{"html_language":"zh-tw"},"form":{"foreign_amount":"外幣金額","interest_date":"利率日期","name":"名稱","amount":"金額","iban":"國際銀行帳戶號碼 (IBAN)","BIC":"BIC","notes":"備註","location":"Location","attachments":"附加檔案","active":"啟用","include_net_worth":"包括淨值","account_number":"帳戶號碼","virtual_balance":"虛擬餘額","opening_balance":"初始餘額","opening_balance_date":"初始餘額日期","date":"日期","interest":"利率","interest_period":"利率期","currency_id":"貨幣","liability_type":"Liability type","account_role":"帳戶角色","liability_direction":"Liability in/out","book_date":"登記日期","permDeleteWarning":"自 Firefly III 刪除項目是永久且不可撤銷的。","account_areYouSure_js":"Are you sure you want to delete the account named \\"{name}\\"?","also_delete_piggyBanks_js":"No piggy banks|The only piggy bank connected to this account will be deleted as well.|All {count} piggy banks connected to this account will be deleted as well.","also_delete_transactions_js":"No transactions|The only transaction connected to this account will be deleted as well.|All {count} transactions connected to this account will be deleted as well.","process_date":"處理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"發票日期"}}')}},e=>{"use strict";e.O(0,[228],(()=>{return t=6395,e(e.s=t);var t}));e.O()}]);//# sourceMappingURL=create.js.map\ No newline at end of filediff --git a/public/v2/js/transactions/create.js.map b/public/v2/js/transactions/create.js.mapindex eb35f45b74..c02ac93fa4 100755--- a/public/v2/js/transactions/create.js.map+++ b/public/v2/js/transactions/create.js.map@@ -1 +1 @@-{"version":3,"sources":["webpack:///./src/bootstrap.js","webpack:///./src/components/store/modules/transactions/create.js","webpack:///./src/components/store/modules/transactions/edit.js","webpack:///./src/components/store/modules/dashboard/index.js","webpack:///./src/components/store/modules/root.js","webpack:///./src/components/store/modules/accounts/index.js","webpack:///./src/components/store/index.js","webpack:///./src/i18n.js","webpack:///src/components/transactions/Create.vue","webpack:///./src/components/transactions/Create.vue?21f2","webpack:///./src/components/transactions/Create.vue","webpack:///./src/components/transactions/Create.vue?34b3","webpack:///./src/pages/transactions/create.js","webpack:///./src/shared/transactions.js","webpack:///./src/components/transactions/TransactionTags.vue?1d59","webpack:///src/components/partials/Alert.vue","webpack:///./src/components/partials/Alert.vue?8ba7","webpack:///./src/components/partials/Alert.vue","webpack:///./src/components/partials/Alert.vue?bc9d","webpack:///./src/components/transactions/SplitForm.vue?a77c","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?30df","webpack:///src/components/transactions/TransactionBudget.vue","webpack:///./src/components/transactions/TransactionBudget.vue?00ee","webpack:///./src/components/transactions/TransactionBudget.vue","webpack:///./src/components/transactions/TransactionBudget.vue?9242","webpack:///src/components/transactions/TransactionAccount.vue","webpack:///./src/components/transactions/TransactionAccount.vue?5275","webpack:///./src/components/transactions/TransactionAccount.vue","webpack:///./src/components/transactions/TransactionAccount.vue?20d4","webpack:///src/components/transactions/SwitchAccount.vue","webpack:///./src/components/transactions/SwitchAccount.vue?2eca","webpack:///./src/components/transactions/SwitchAccount.vue","webpack:///./src/components/transactions/SwitchAccount.vue?f18f","webpack:///src/components/transactions/TransactionAmount.vue","webpack:///./src/components/transactions/TransactionAmount.vue?69ff","webpack:///./src/components/transactions/TransactionAmount.vue","webpack:///./src/components/transactions/TransactionAmount.vue?09e1","webpack:///src/components/transactions/TransactionForeignAmount.vue","webpack:///./src/components/transactions/TransactionForeignAmount.vue?ff11","webpack:///./src/components/transactions/TransactionForeignAmount.vue","webpack:///./src/components/transactions/TransactionForeignAmount.vue?1a78","webpack:///src/components/transactions/TransactionForeignCurrency.vue","webpack:///./src/components/transactions/TransactionForeignCurrency.vue?f6a0","webpack:///./src/components/transactions/TransactionForeignCurrency.vue","webpack:///./src/components/transactions/TransactionForeignCurrency.vue?b802","webpack:///src/components/transactions/TransactionCustomDates.vue","webpack:///./src/components/transactions/TransactionCustomDates.vue?c6d3","webpack:///./src/components/transactions/TransactionCustomDates.vue","webpack:///./src/components/transactions/TransactionCustomDates.vue?bc65","webpack:///src/components/transactions/TransactionCategory.vue","webpack:///./src/components/transactions/TransactionCategory.vue?b515","webpack:///./src/components/transactions/TransactionCategory.vue","webpack:///./src/components/transactions/TransactionCategory.vue?3c7a","webpack:///src/components/transactions/TransactionBill.vue","webpack:///./src/components/transactions/TransactionBill.vue?9147","webpack:///./src/components/transactions/TransactionBill.vue","webpack:///./src/components/transactions/TransactionBill.vue?2668","webpack:///./src/components/transactions/TransactionTags.vue?aa73","webpack:///src/components/transactions/TransactionTags.vue","webpack:///./src/components/transactions/TransactionTags.vue?c786","webpack:///./src/components/transactions/TransactionTags.vue","webpack:///src/components/transactions/TransactionPiggyBank.vue","webpack:///./src/components/transactions/TransactionPiggyBank.vue?e9e1","webpack:///./src/components/transactions/TransactionPiggyBank.vue","webpack:///./src/components/transactions/TransactionPiggyBank.vue?0f96","webpack:///src/components/transactions/TransactionInternalReference.vue","webpack:///./src/components/transactions/TransactionInternalReference.vue?2fd1","webpack:///./src/components/transactions/TransactionInternalReference.vue","webpack:///./src/components/transactions/TransactionInternalReference.vue?0cb6","webpack:///src/components/transactions/TransactionExternalUrl.vue","webpack:///./src/components/transactions/TransactionExternalUrl.vue?28f8","webpack:///./src/components/transactions/TransactionExternalUrl.vue","webpack:///./src/components/transactions/TransactionExternalUrl.vue?3b2c","webpack:///src/components/transactions/TransactionNotes.vue","webpack:///./src/components/transactions/TransactionNotes.vue?3804","webpack:///./src/components/transactions/TransactionNotes.vue","webpack:///./src/components/transactions/TransactionNotes.vue?592a","webpack:///./src/components/transactions/TransactionLinks.vue?6de1","webpack:///src/components/transactions/TransactionLinks.vue","webpack:///./src/components/transactions/TransactionLinks.vue?d196","webpack:///./src/components/transactions/TransactionLinks.vue","webpack:///src/components/transactions/TransactionAttachments.vue","webpack:///./src/components/transactions/TransactionAttachments.vue?3db4","webpack:///./src/components/transactions/TransactionAttachments.vue","webpack:///./src/components/transactions/TransactionAttachments.vue?2a9b","webpack:///src/components/transactions/TransactionLocation.vue","webpack:///./src/components/transactions/TransactionLocation.vue?9e0a","webpack:///./src/components/transactions/TransactionLocation.vue","webpack:///./src/components/transactions/TransactionLocation.vue?113d","webpack:///./src/components/transactions/SplitForm.vue?99bd","webpack:///src/components/transactions/SplitForm.vue","webpack:///./src/components/transactions/SplitForm.vue","webpack:///src/components/transactions/SplitPills.vue","webpack:///./src/components/transactions/SplitPills.vue?cba2","webpack:///./src/components/transactions/SplitPills.vue","webpack:///./src/components/transactions/SplitPills.vue?39af","webpack:///./src/components/transactions/TransactionGroupTitle.vue?140c","webpack:///src/components/transactions/TransactionGroupTitle.vue","webpack:///./src/components/transactions/TransactionGroupTitle.vue?5049","webpack:///./src/components/transactions/TransactionGroupTitle.vue","webpack:///./src/components/transactions/TransactionTags.vue?cec9"],"names":["window","$","jQuery","require","axios","defaults","headers","common","token","document","head","querySelector","content","console","error","localeToken","localStorage","locale","vuei18n","VueI18n","uiv","Vue","lodashClonedeep","namespaced","state","transactionType","groupTitle","transactions","customDateFields","interest_date","book_date","process_date","due_date","payment_date","invoice_date","defaultTransaction","getDefaultTransaction","defaultErrors","getDefaultErrors","getters","accountToTransaction","sourceAllowedTypes","destinationAllowedTypes","allowedOpposingTypes","actions","mutations","addTransaction","newTransaction","errors","push","resetErrors","payload","index","resetTransactions","setGroupTitle","setCustomDateFields","deleteTransaction","splice","length","setTransactionType","setAllowedOpposingTypes","setAccountToTransaction","updateField","field","value","setTransactionError","setDestinationAllowedTypes","setSourceAllowedTypes","viewRange","start","end","defaultStart","defaultEnd","initialiseStore","context","get","then","response","data","attributes","commit","dispatch","setDatesFromViewRange","viewRangeStart","Date","viewRangeEnd","viewRangeDefaultStart","viewRangeDefaultEnd","getTime","setHours","diff","getDate","getDay","setDate","lastday","getFullYear","getMonth","quarter","Math","floor","half","setStart","setItem","setEnd","setDefaultStart","setDefaultEnd","setViewRange","range","listPageSize","parseInt","setListPageSize","number","orderMode","activeFilter","setOrderMode","setActiveFilter","Vuex","modules","root","root_store","create","transactions_create","edit","transactions_edit","accounts","accounts_index","dashboard","dashboard_index","strict","process","plugins","currencyPreference","setCurrencyPreference","currencyCode","code","currencyId","id","updateCurrencyPreference","JSON","parse","currencyResponse","name","symbol","decimal_places","stringify","err","module","exports","documentElement","lang","fallbackLocale","messages","components","SplitForm","Alert","SplitPills","TransactionGroupTitle","created","this","date","format","log","type","toUpperCase","substring","getExpectedSourceTypes","getAccountToTransaction","getCustomFields","errorMessage","successMessage","customFields","enableSubmit","createAnother","resetFormAfter","submittedTransaction","submittedLinks","submittedAttachments","inError","submittedAttCount","groupTitleErrors","returnedGroupId","returnedGroupTitle","computed","watch","finalizeSubmit","methods","removeTransaction","$store","location","href","$t","hasOwnProperty","i","test","setTimeout","submitTransaction","event","preventDefault","post","submitAttachments","result","uploadedAttachment","key","storeLocation","storeAccountValue","storeField","storeDate","storeGroupTitle","submitTransactionLinks","submitted","links","ii","total","currentLink","outward_id","received","transaction_journal_id","inward_id","promises","Promise","all","parseErrors","message","transactionIndex","split","fieldName","convertData","group_title","convertSplit","description","synchronizeAccounts","source_name","destination_name","source_id","destination_id","array","destination_account_name","destination_account_id","source_account_name","source_account_id","toLowerCase","currency_id","amount","budget_id","category_name","category","internal_reference","external_url","notes","external_id","zoom_level","longitude","latitude","tags","order","reconciled","currentSplit","current","text","piggy_bank_id","bill_id","foreign_currency_id","foreign_amount","source_account_currency_id","destination_account_currency_id","link_type_id","linkTypeParts","inwardId","outwardId","newLink","getAllowedOpposingTypes","defaultDestinationAllowedTypes","defaultSourceAllowedTypes","_vm","_h","$createElement","_c","_self","attrs","_v","on","staticClass","_l","transaction","$event","model","callback","$$v","$set","expression","_e","_s","directives","rawName","domProps","Array","isArray","_i","$$a","$$el","target","$$c","checked","$$i","concat","slice","i18n","props","store","render","createElement","Create","beforeCreate","$mount","source","destination","currency","foreign_currency","custom_dates","budget","bill","piggy_bank","source_account_type","source_account_currency_code","source_account_currency_symbol","destination_account_type","destination_account_currency_code","destination_account_currency_symbol","source_account","name_with_balance","currency_name","currency_code","currency_decimal_places","destination_account","attachments","___CSS_LOADER_EXPORT___","class","descriptions","initialSet","getACURL","clearDescription","getElementsByTagName","query","lookupDescription","debounce","$emit","item","slot","localTimeZone","Intl","DateTimeFormat","resolvedOptions","timeZone","systemTimeZone","timezone","dateStr","parts","timeStr","localDate","ref","composing","budgetList","emitEvent","collectData","getBudgets","parseBudgets","$$selectedVal","prototype","filter","call","options","o","selected","map","_value","multiple","Number","direction","String","Object","default","accountTypes","selectedAccount","accountName","selectedAccountTrigger","types","join","userSelectedAccount","systemReturnedAccount","clearAccount","lookupAccount","createInitialSet","accountKey","visible","scopedSlots","_u","fn","htmlText","required","sourceCurrencySymbol","destinationCurrencySymbol","fractionDigits","transactionAmount","formatNumber","parseFloat","str","toFixed","currencySymbol","srcCurrencySymbol","dstCurrencySymbol","sourceCurrencyId","destinationCurrencyId","isVisible","selectedCurrency","allCurrencies","selectableCurrencies","dstCurrencyId","srcCurrencyId","lockedCurrency","filterCurrencies","getAllCurrencies","dateFields","availableFields","dates","interestDate","bookDate","processDate","dueDate","paymentDate","invoiceDate","isDateField","includes","getFieldValue","setFieldValue","enabled","refInFor","categories","clearCategory","lookupCategory","selectedCategory","set","billList","getBills","parseBills","VueTagsInput","autocompleteItems","currentTag","updateTags","tagList","shortList","initItems","clearTimeout","this$1","newTags","piggyList","getPiggies","parsePiggies","piggy","reference","showField","_m","url","external_uri","searchResults","include","linkTypes","searching","getLinkTypes","removeLink","getTextForLinkType","linkTypeId","selectTransaction","addToSelected","removeFromSelected","selectLinkType","updateSelected","journalId","journal","resetModal","search","parseLinkTypes","inward","outward","linkTypeInward","linkTypeOutward","parseSearch","transaction_group_id","isJournalSelected","getJournalLinkType","link_type_text","NumberFormat","style","staticStyle","linkType","doUpload","selectedFile","$refs","att","files","LMap","LTileLayer","LMarker","zoom","center","hasMarker","bounds","marker","prepMap","myMap","mapObject","setObjectLocation","saveZoomLevel","latlng","lat","lng","clearLocation","zoomUpdated","centerUpdated","boundsUpdated","count","Boolean","allowSwitch","splitDate","sourceAccount","destinationAccount","hasMetaFields","requiredFields","TransactionLocation","TransactionAttachments","TransactionNotes","TransactionExternalUrl","TransactionInternalReference","TransactionPiggyBank","TransactionTags","TransactionLinks","TransactionBill","TransactionCategory","TransactionCustomDates","TransactionForeignCurrency","TransactionForeignAmount","TransactionAmount","SwitchAccount","TransactionAccount","TransactionBudget","TransactionDescription","TransactionDate","_g","$listeners","title","__esModule","locals","add"],"mappings":"oIA0BAA,OAAOC,EAAID,OAAOE,OAASC,EAAQ,MAGnCH,OAAOI,MAAQD,EAAQ,MACvBH,OAAOI,MAAMC,SAASC,QAAQC,OAAO,oBAAsB,iBAG3D,IAAIC,EAAQC,SAASC,KAAKC,cAAc,2BAEpCH,EACAR,OAAOI,MAAMC,SAASC,QAAQC,OAAO,gBAAkBC,EAAMI,QAE7DC,QAAQC,MAAM,yEAIlB,IAAIC,EAAcN,SAASC,KAAKC,cAAc,uBAG1CK,aAAaC,OADbF,EACsBA,EAAYH,QAEZ,QAI1BT,EAAQ,MACRA,EAAQ,MAERA,EAAQ,MACRA,EAAQ,MAIRH,OAAOkB,QAAUC,IACjBnB,OAAOoB,IAAMA,EACbC,QAAQH,SACRG,QAAQD,GACRpB,OAAOqB,IAAMA,K,uFC3CP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AAS,EAAG0N,EAAG,OAAOH,EAAIS,GAAIT,EAAU,QAAE,SAASnQ,GAAO,OAAOsQ,EAAG,OAAO,CAACK,YAAY,qBAAqB,CAACR,EAAIM,GAAGN,EAAIkB,GAAGrR,IAAQsQ,EAAG,WAAU,GAAGH,EAAIiB,MAAM,KAC/lC,IGUpB,EACA,KACA,WACA,M,wBCXF,IAAItR,EAAU,EAAQ,MACnBA,EAAQyhB,aAAYzhB,EAAUA,EAAQgX,SACnB,iBAAZhX,IAAsBA,EAAU,CAAC,CAACsI,EAAOV,GAAI5H,EAAS,MAC7DA,EAAQ0hB,SAAQpZ,EAAOC,QAAUvI,EAAQ0hB,SAG/BC,EADH,WACO,WAAY3hB,GAAS,EAAM,K","file":"/public/js/transactions/create.js","sourcesContent":["/*\n * bootstrap.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// // imports\nimport Vue from 'vue';\nimport VueI18n from 'vue-i18n'\nimport * as uiv from 'uiv';\n\n// export jquery for others scripts to use\nwindow.$ = window.jQuery = require('jquery');\n\n// axios\nwindow.axios = require('axios');\nwindow.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';\n\n// CSRF\nlet token = document.head.querySelector('meta[name=\"csrf-token\"]');\n\nif (token) {\n window.axios.defaults.headers.common['X-CSRF-TOKEN'] = token.content;\n} else {\n console.error('CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token');\n}\n\n// locale\nlet localeToken = document.head.querySelector('meta[name=\"locale\"]');\n\nif (localeToken) {\n localStorage.locale = localeToken.content;\n} else {\n localStorage.locale = 'en_US';\n}\n\n// admin stuff\nrequire('jquery-ui');\nrequire('bootstrap'); // bootstrap CSS?\n\nrequire('admin-lte/dist/js/adminlte');\nrequire('overlayscrollbars');\n\n\n// vue\nwindow.vuei18n = VueI18n;\nwindow.uiv = uiv;\nVue.use(vuei18n);\nVue.use(uiv);\nwindow.Vue = Vue;","/*\n * create.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nconst lodashClonedeep = require('lodash.clonedeep');\n\nimport {getDefaultTransaction, getDefaultErrors} from '../../../../shared/transactions';\n\n// initial state\nconst state = () => ({\n transactionType: 'any',\n groupTitle: '',\n transactions: [],\n customDateFields: {\n interest_date: false,\n book_date: false,\n process_date: false,\n due_date: false,\n payment_date: false,\n invoice_date: false,\n },\n defaultTransaction: getDefaultTransaction(),\n defaultErrors: getDefaultErrors()\n }\n)\n\n\n// getters\nconst getters = {\n transactions: state => {\n return state.transactions;\n },\n 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 // timezone: ''\n }\n)\n\n\n// getters\nconst getters = {\n listPageSize: state => {\n return state.listPageSize;\n },\n // timezone: state => {\n // // console.log('Wil return ' + state.listPageSize);\n // return state.timezone;\n // },\n}\n\n// actions\nconst actions = {\n initialiseStore(context) {\n if (localStorage.listPageSize) {\n state.listPageSize = localStorage.listPageSize;\n context.commit('setListPageSize', {length: localStorage.listPageSize});\n }\n if (!localStorage.listPageSize) {\n axios.get('./api/v1/preferences/listPageSize')\n .then(response => {\n // console.log('from API: listPageSize is ' + parseInt(response.data.data.attributes.data));\n context.commit('setListPageSize', {length: parseInt(response.data.data.attributes.data)});\n }\n );\n }\n // if (localStorage.timezone) {\n // state.timezone = localStorage.timezone;\n // context.commit('setTimezone', {timezone: localStorage.timezone});\n // }\n // if (!localStorage.timezone) {\n // axios.get('./api/v1/configuration/app.timezone')\n // .then(response => {\n // context.commit('setTimezone', {timezone: response.data.data.value});\n // }\n // );\n // }\n }\n}\n\n// mutations\nconst mutations = {\n setListPageSize(state, payload) {\n // console.log('Got a payload in setListPageSize');\n // console.log(payload);\n let number = parseInt(payload.length);\n if (0 !== number) {\n state.listPageSize = number;\n localStorage.listPageSize = number;\n\n }\n },\n // setTimezone(state, payload) {\n //\n // if ('' !== payload.timezone) {\n // state.timezone = payload.timezone;\n // localStorage.timezone = payload.timezone;\n // }\n // },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => (\n {\n orderMode: false,\n activeFilter: 1\n }\n)\n\n\n// getters\nconst getters = {\n orderMode: state => {\n return state.orderMode;\n },\n activeFilter: state => {\n return state.activeFilter;\n }\n}\n\n// actions\nconst actions = {}\n\n// mutations\nconst mutations = {\n setOrderMode(state, payload) {\n state.orderMode = payload;\n },\n setActiveFilter(state, payload) {\n state.activeFilter = payload;\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nimport Vue from 'vue'\nimport Vuex, {createLogger} from 'vuex'\nimport transactions_create from './modules/transactions/create';\nimport transactions_edit from './modules/transactions/edit';\nimport dashboard_index from './modules/dashboard/index';\nimport root_store from './modules/root';\nimport accounts_index from './modules/accounts/index';\n\nVue.use(Vuex)\nconst debug = process.env.NODE_ENV !== 'production'\n\nexport default new Vuex.Store(\n {\n namespaced: true,\n modules: {\n root: root_store,\n transactions: {\n namespaced: true,\n modules: {\n create: transactions_create,\n edit: transactions_edit\n }\n },\n accounts: {\n namespaced: true,\n modules: {\n index: accounts_index\n },\n },\n dashboard: {\n namespaced: true,\n modules: {\n index: dashboard_index\n }\n }\n },\n strict: debug,\n plugins: debug ? [createLogger()] : [],\n state: {\n currencyPreference: {},\n locale: 'en-US',\n listPageSize: 50\n },\n mutations: {\n setCurrencyPreference(state, payload) {\n state.currencyPreference = payload.payload;\n },\n initialiseStore(state) {\n // if locale in local storage:\n if (localStorage.locale) {\n state.locale = localStorage.locale;\n return;\n }\n\n // set locale from HTML:\n let localeToken = document.head.querySelector('meta[name=\"locale\"]');\n if (localeToken) {\n state.locale = localeToken.content;\n localStorage.locale = localeToken.content;\n }\n }\n },\n getters: {\n currencyCode: state => {\n return state.currencyPreference.code;\n },\n currencyPreference: state => {\n return state.currencyPreference;\n },\n currencyId: state => {\n return state.currencyPreference.id;\n },\n locale: state => {\n return state.locale;\n }\n },\n actions: {\n\n updateCurrencyPreference(context) {\n if (localStorage.currencyPreference) {\n context.commit('setCurrencyPreference', {payload: JSON.parse(localStorage.currencyPreference)});\n return;\n }\n axios.get('./api/v1/currencies/default')\n .then(response => {\n let currencyResponse = {\n id: parseInt(response.data.data.id),\n name: response.data.data.attributes.name,\n symbol: response.data.data.attributes.symbol,\n code: response.data.data.attributes.code,\n decimal_places: parseInt(response.data.data.attributes.decimal_places),\n };\n localStorage.currencyPreference = JSON.stringify(currencyResponse);\n //console.log('getCurrencyPreference from server')\n //console.log(JSON.stringify(currencyResponse));\n context.commit('setCurrencyPreference', {payload: currencyResponse});\n }).catch(err => {\n // console.log('Got error response.');\n console.error(err);\n context.commit('setCurrencyPreference', {\n payload: {\n id: 1,\n name: 'Euro',\n symbol: '€',\n code: 'EUR',\n decimal_places: 2\n }\n });\n });\n\n }\n }\n }\n);","/*\n * i18n.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// Create VueI18n instance with options\nmodule.exports = new vuei18n({\n locale: document.documentElement.lang, // set locale\n fallbackLocale: 'en',\n messages: {\n 'bg': require('./locales/bg.json'),\n 'cs': require('./locales/cs.json'),\n 'de': require('./locales/de.json'),\n 'en': require('./locales/en.json'),\n 'en-us': require('./locales/en.json'),\n 'en-gb': require('./locales/en-gb.json'),\n 'es': require('./locales/es.json'),\n 'el': require('./locales/el.json'),\n 'fr': require('./locales/fr.json'),\n 'hu': require('./locales/hu.json'),\n //'id': require('./locales/id.json'),\n 'it': require('./locales/it.json'),\n 'nl': require('./locales/nl.json'),\n 'nb': require('./locales/nb.json'),\n 'pl': require('./locales/pl.json'),\n 'fi': require('./locales/fi.json'),\n 'pt-br': require('./locales/pt-br.json'),\n 'pt-pt': require('./locales/pt.json'),\n 'ro': require('./locales/ro.json'),\n 'ru': require('./locales/ru.json'),\n //'zh': require('./locales/zh.json'),\n 'zh-tw': require('./locales/zh-tw.json'),\n 'zh-cn': require('./locales/zh-cn.json'),\n 'sk': require('./locales/sk.json'),\n 'sv': require('./locales/sv.json'),\n 'vi': require('./locales/vi.json'),\n }\n});\n","<!--\n - Create.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div>\n <alert :message=\"errorMessage\" type=\"danger\"/>\n <alert :message=\"successMessage\" type=\"success\"/>\n <form @submit=\"submitTransaction\">\n <SplitPills :transactions=\"transactions\"/>\n <div class=\"tab-content\">\n <!-- v-on:switch-accounts=\"switchAccounts($event)\" -->\n <!-- :allowed-opposing-types=\"allowedOpposingTypes\" -->\n <SplitForm\n v-for=\"(transaction, index) in this.transactions\"\n v-bind:key=\"index\"\n :count=\"transactions.length\"\n :custom-fields=\"customFields\"\n :date=\"date\"\n :destination-allowed-types=\"destinationAllowedTypes\"\n :index=\"index\"\n :source-allowed-types=\"sourceAllowedTypes\"\n :submitted-transaction=\"submittedTransaction\"\n :transaction=\"transaction\"\n :transaction-type=\"transactionType\"\n v-on:uploaded-attachments=\"uploadedAttachment($event)\"\n v-on:set-marker-location=\"storeLocation($event)\"\n v-on:set-account=\"storeAccountValue($event)\"\n v-on:set-date=\"storeDate($event)\"\n v-on:set-field=\"storeField($event)\"\n v-on:remove-transaction=\"removeTransaction($event)\"\n />\n </div>\n\n <div class=\"row\">\n <!-- group title -->\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <div v-if=\"transactions.length > 1\" class=\"card\">\n <div class=\"card-body\">\n <div class=\"row\">\n <div class=\"col\">\n <TransactionGroupTitle v-model=\"this.groupTitle\" :errors=\"this.groupTitleErrors\" v-on:set-group-title=\"storeGroupTitle($event)\"/>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <!-- buttons -->\n <div class=\"card card-primary\">\n <div class=\"card-body\">\n <div class=\"row\">\n <div class=\"col\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n \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-success btn-block\" @click=\"submitTransaction\">\n <span v-if=\"enableSubmit\"><i class=\"far fa-save\"></i> {{ $t('firefly.store_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=\"createAnother\" v-model=\"createAnother\" class=\"form-check-input\" type=\"checkbox\">\n <label class=\"form-check-label\" for=\"createAnother\">\n <span class=\"small\">{{ $t('firefly.create_another') }}</span>\n </label>\n </div>\n <div class=\"form-check\">\n <input id=\"resetFormAfter\" v-model=\"resetFormAfter\" :disabled=\"!createAnother\" class=\"form-check-input\" type=\"checkbox\">\n <label class=\"form-check-label\" for=\"resetFormAfter\">\n <span class=\"small\">{{ $t('firefly.reset_after') }}</span>\n </label>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </form>\n </div>\n</template>\n\n<script>\nimport Alert from '../partials/Alert';\nimport SplitPills from \"./SplitPills\";\nimport TransactionGroupTitle from \"./TransactionGroupTitle\";\nimport SplitForm from \"./SplitForm\";\nimport {mapGetters, mapMutations} from \"vuex\";\n\nexport default {\n name: \"Create\",\n components: {\n SplitForm,\n Alert,\n SplitPills,\n TransactionGroupTitle,\n },\n /**\n * Grab some stuff from the API, add the first transaction.\n */\n created() {\n // set transaction type:\n let pathName = window.location.pathname;\n let parts = pathName.split('/');\n let type = parts[parts.length - 1];\n\n // set a basic date-time string:\n this.date = format(new Date, \"yyyy-MM-dd'T'00:00\");\n console.log('Date is set to \"' + this.date + '\"');\n\n this.setTransactionType(type[0].toUpperCase() + type.substring(1));\n this.getExpectedSourceTypes();\n this.getAccountToTransaction();\n this.getCustomFields();\n this.addTransaction();\n },\n data() {\n return {\n // error or success message\n errorMessage: '',\n successMessage: '',\n\n // custom fields to show, useful for components:\n customFields: {},\n\n // states for the form (makes sense right)\n enableSubmit: true,\n createAnother: false,\n resetFormAfter: false,\n\n // things the process is done working on (3 phases):\n submittedTransaction: false,\n submittedLinks: false,\n submittedAttachments: false,\n\n // transaction was actually submitted?\n inError: false,\n\n // number of uploaded attachments\n // its an object because we count per transaction journal (which can have multiple attachments)\n // and array doesn't work right.\n submittedAttCount: {},\n\n // errors in the group title:\n groupTitleErrors: [],\n\n // group ID + title once submitted:\n returnedGroupId: 0,\n returnedGroupTitle: '',\n\n // meta data for accounts\n accountToTransaction: {},\n allowedOpposingTypes: {},\n sourceAllowedTypes: ['Asset account', 'Loan', 'Debt', 'Mortgage', 'Revenue account'],\n destinationAllowedTypes: ['Asset account', 'Loan', 'Debt', 'Mortgage', 'Expense account'],\n\n // date not in the store because it was buggy\n date: ''\n }\n },\n computed: {\n /**\n * Grabbed from the store.\n */\n ...mapGetters('transactions/create', ['transactionType', 'transactions', 'groupTitle']),\n ...mapGetters('root', ['listPageSize'])\n },\n watch: {\n submittedTransaction: function () {\n this.finalizeSubmit();\n },\n submittedLinks: function () {\n this.finalizeSubmit();\n },\n submittedAttachments: function () {\n this.finalizeSubmit();\n }\n },\n methods: {\n /**\n * Store related mutators used by this component.\n */\n ...mapMutations('transactions/create',\n [\n 'setGroupTitle',\n 'addTransaction',\n 'deleteTransaction',\n 'setTransactionError',\n 'setTransactionType',\n 'resetErrors',\n 'updateField',\n 'resetTransactions',\n ]\n ),\n /**\n * Removes a split from the array.\n */\n removeTransaction: function (payload) {\n // console.log('Triggered to remove transaction ' + payload.index);\n this.$store.commit('transactions/create/deleteTransaction', payload);\n },\n /**\n * Submitting a transaction consists of 3 steps: submitting the transaction, uploading attachments\n * and creating links. Only once all three steps are executed may the message be shown or the user be\n * forwarded.\n */\n finalizeSubmit() {\n // console.log('finalizeSubmit (' + this.submittedTransaction + ', ' + this.submittedAttachments + ', ' + this.submittedLinks + ')');\n if (this.submittedTransaction && this.submittedAttachments && this.submittedLinks) {\n // console.log('all true');\n // console.log('createAnother = ' + this.createAnother);\n // console.log('inError = ' + this.inError);\n if (false === this.createAnother && false === this.inError) {\n // console.log('redirect');\n window.location.href = (window.previousURL ?? '/') + '?transaction_group_id=' + this.returnedGroupId + '&message=created';\n return;\n }\n\n if (false === this.inError) {\n // show message:\n this.errorMessage = '';\n this.successMessage = this.$t('firefly.transaction_stored_link', {ID: this.returnedGroupId, title: this.returnedGroupTitle});\n }\n\n // enable flags:\n this.enableSubmit = true;\n this.submittedTransaction = false;\n this.submittedLinks = false;\n this.submittedAttachments = false;\n this.inError = false;\n\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 // console.log('Reset attachment #' + i);\n this.updateField({index: i, field: 'transaction_journal_id', value: 0});\n }\n }\n }\n this.submittedAttCount = [];\n\n // reset the form:\n if (this.resetFormAfter) {\n this.resetTransactions();\n // do a short time out?\n setTimeout(() => this.addTransaction(), 50);\n }\n // console.log('Done with finalizeSubmit!');\n // return;\n }\n // console.log('Did nothing in finalizeSubmit');\n },\n /**\n * Actually submit the transaction to Firefly III. This is a fairly complex beast of a thing because multiple things\n * need to happen in the right order.\n */\n submitTransaction: function (event) {\n event.preventDefault();\n // console.log('submitTransaction()');\n // disable the submit button:\n this.enableSubmit = false;\n\n // convert the data so its ready to be submitted:\n const url = './api/v1/transactions';\n const data = this.convertData();\n\n // console.log('Will submit:');\n // console.log(data);\n\n // POST the transaction.\n axios.post(url, data)\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 this.submitTransactionLinks(data, response);\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 // console.log('Group title is now \"' + this.groupTitle + '\"');\n })\n .catch(error => {\n // oh noes Firefly III has something to bitch about.\n this.enableSubmit = true;\n // console.log('enable submit = 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 /**\n * Submitting transactions means we will give each TransactionAttachment component\n * the ID of the transaction journal (so it works for multiple splits). Each component\n * will then start uploading their transactions (so its a separated concern) and report\n * back to the \"uploadedAttachment\" function below via an event emitter.\n *\n * The ID is set via the store.\n */\n submitAttachments: function (data, response) {\n // console.log('submitAttachments()');\n let result = response.data.data.attributes.transactions\n for (let i in data.transactions) {\n if (data.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n if (result.hasOwnProperty(i)) {\n // console.log('updateField(' + i + ', transaction_journal_id, ' + result[i].transaction_journal_id + ')');\n this.updateField({index: i, field: 'transaction_journal_id', value: result[i].transaction_journal_id});\n }\n }\n }\n },\n /**\n * When a attachment component is done uploading it ends up here. We create an object where we count how many\n * attachment components have reported back they're done uploading. Of course if they have nothing to upload\n * they will be pretty fast in reporting they're done.\n *\n * Once the number of components matches the number of splits we know all attachments have been uploaded.\n */\n uploadedAttachment: function (journalId) {\n // console.log('Triggered uploadedAttachment(' + journalId + ')');\n let key = 'str' + journalId;\n this.submittedAttCount[key] = 1;\n let count = Object.keys(this.submittedAttCount).length;\n // console.log('Count is now ' + count);\n // console.log('Length is ' + this.transactions.length);\n if (count === this.transactions.length) {\n // mark the attachments as stored:\n this.submittedAttachments = true;\n // console.log('Got them all!');\n }\n },\n /**\n * Responds to changed location.\n */\n storeLocation: function (payload) {\n let zoomLevel = payload.hasMarker ? payload.zoomLevel : null;\n let lat = payload.hasMarker ? payload.lat : null;\n let lng = payload.hasMarker ? payload.lng : null;\n this.updateField({index: payload.index, field: 'zoom_level', value: zoomLevel});\n this.updateField({index: payload.index, field: 'latitude', value: lat});\n this.updateField({index: payload.index, field: 'longitude', value: lng});\n },\n /**\n * Responds to changed account.\n */\n storeAccountValue: function (payload) {\n this.updateField({index: payload.index, field: payload.direction + '_account_id', value: payload.id});\n this.updateField({index: payload.index, field: payload.direction + '_account_type', value: payload.type});\n this.updateField({index: payload.index, field: payload.direction + '_account_name', value: payload.name});\n\n this.updateField({index: payload.index, field: payload.direction + '_account_currency_id', value: payload.currency_id});\n this.updateField({index: payload.index, field: payload.direction + '_account_currency_code', value: payload.currency_code});\n this.updateField({index: payload.index, field: payload.direction + '_account_currency_symbol', value: payload.currency_symbol});\n\n //this.calculateTransactionType(payload.index);\n },\n storeField: function (payload) {\n this.updateField(payload);\n },\n storeDate: function (payload) {\n this.date = payload.date;\n },\n storeGroupTitle: function (value) {\n // console.log('set group title: ' + value);\n this.setGroupTitle({groupTitle: value});\n },\n\n /**\n * Submit transaction links.\n */\n submitTransactionLinks(data, response) {\n //console.log('submitTransactionLinks()');\n let promises = [];\n let result = response.data.data.attributes.transactions;\n let total = 0;\n for (let i in data.transactions) {\n if (data.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let submitted = data.transactions[i];\n if (result.hasOwnProperty(i)) {\n // found matching created transaction.\n let received = result[i];\n // grab ID from received, loop \"submitted\" transaction links\n for (let ii in submitted.links) {\n if (submitted.links.hasOwnProperty(ii) && /^0$|^[1-9]\\d*$/.test(ii) && ii <= 4294967294) {\n let currentLink = submitted.links[ii];\n total++;\n if (0 === currentLink.outward_id) {\n currentLink.outward_id = received.transaction_journal_id;\n }\n if (0 === currentLink.inward_id) {\n currentLink.inward_id = received.transaction_journal_id;\n }\n // submit transaction link:\n promises.push(axios.post('./api/v1/transaction_links', currentLink).then(response => {\n // TODO error handling.\n }));\n }\n }\n }\n }\n }\n if (0 === total) {\n this.submittedLinks = true;\n return;\n }\n Promise.all(promises).then(function () {\n this.submittedLinks = true;\n });\n },\n\n parseErrors: function (errors) {\n for (let i in this.transactions) {\n this.resetErrors({index: i});\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 //payload = {index: 0, field: 'description', errors: ['Test error index 0']};\n //this.setTransactionError(payload);\n\n //payload = {index: 1, field: 'description', errors: ['Test error index 1']};\n //this.setTransactionError(payload);\n\n let transactionIndex;\n let fieldName;\n\n // fairly basic way of exploding the error array.\n for (const key in errors.errors) {\n // console.log('Error index: \"' + key + '\"');\n if (errors.errors.hasOwnProperty(key)) {\n if (key === 'group_title') {\n this.groupTitleErrors = errors.errors[key];\n continue;\n }\n if (key !== 'group_title') {\n // lol dumbest way to explode \"transactions.0.something\" ever.\n transactionIndex = parseInt(key.split('.')[1]);\n\n fieldName = key.split('.')[2];\n\n // set error in this object thing.\n // console.log('The errors in key \"' + key + '\" are');\n // console.log(errors.errors[key]);\n switch (fieldName) {\n case 'amount':\n case 'description':\n case 'date':\n case 'tags':\n payload = {index: transactionIndex, field: fieldName, errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'budget_id':\n payload = {index: transactionIndex, field: 'budget', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'bill_id':\n payload = {index: transactionIndex, field: 'bill', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'piggy_bank_id':\n payload = {index: transactionIndex, field: 'piggy_bank', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'category_name':\n payload = {index: transactionIndex, field: 'category', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'source_name':\n case 'source_id':\n payload = {index: transactionIndex, field: 'source', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'destination_name':\n case 'destination_id':\n payload = {index: transactionIndex, field: 'destination', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'foreign_amount':\n case 'foreign_currency':\n payload = {index: transactionIndex, field: 'foreign_amount', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n }\n }\n // unique some things\n if (typeof this.transactions[transactionIndex] !== 'undefined') {\n //this.transactions[transactionIndex].errors.source = Array.from(new Set(this.transactions[transactionIndex].errors.source));\n //this.transactions[transactionIndex].errors.destination = Array.from(new Set(this.transactions[transactionIndex].errors.destination));\n }\n\n }\n }\n },\n\n /**\n *\n */\n convertData: function () {\n //console.log('now in convertData');\n let data = {\n 'transactions': []\n };\n //console.log('Group title is: \"' + this.groupTitle + '\"');\n if (this.groupTitle.length > 0) {\n data.group_title = this.groupTitle;\n }\n\n for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n data.transactions.push(this.convertSplit(i, this.transactions[i]));\n }\n }\n if (data.transactions.length > 1 && '' !== data.transactions[0].description) {\n data.group_title = data.transactions[0].description;\n }\n\n // depending on the transaction type for this thing, we need to\n // make sure other splits match the data we submit.\n if (data.transactions.length > 1) {\n // console.log('This is a split!');\n data = this.synchronizeAccounts(data);\n }\n\n return data;\n },\n synchronizeAccounts: function (data) {\n // console.log('synchronizeAccounts: ' + this.transactionType);\n // make sure all splits have whatever is in split 0.\n // since its a transfer we can drop the name and use ID's only.\n for (let i in data.transactions) {\n if (data.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n // console.log('now at ' + i);\n\n // for transfers, overrule both the source and the destination:\n if ('Transfer' === this.transactionType) {\n data.transactions[i].source_name = null;\n data.transactions[i].destination_name = null;\n if (i > 0) {\n data.transactions[i].source_id = data.transactions[0].source_id;\n data.transactions[i].destination_id = data.transactions[0].destination_id;\n }\n }\n // for deposits, overrule the destination and ignore the rest.\n if ('Deposit' === this.transactionType) {\n data.transactions[i].destination_name = null;\n if (i > 0) {\n data.transactions[i].destination_id = data.transactions[0].destination_id;\n }\n }\n\n // for withdrawals, overrule the source and ignore the rest.\n if ('Withdrawal' === this.transactionType) {\n data.transactions[i].source_name = null;\n if (i > 0) {\n data.transactions[i].source_id = data.transactions[0].source_id;\n }\n }\n }\n }\n return data;\n\n },\n\n // switchAccounts: function (index) {\n // // console.log('user wants to switch Accounts');\n // let origSourceId = this.transactions[index].source_account_id;\n // let origSourceName = this.transactions[index].source_account_name;\n // let origSourceType = this.transactions[index].source_account_type;\n //\n // let origDestId = this.transactions[index].destination_account_id;\n // let origDestName = this.transactions[index].destination_account_name;\n // let origDestType = this.transactions[index].destination_account_type;\n //\n // this.updateField({index: 0, field: 'source_account_id', value: origDestId});\n // this.updateField({index: 0, field: 'source_account_name', value: origDestName});\n // this.updateField({index: 0, field: 'source_account_type', value: origDestType});\n //\n // this.updateField({index: 0, field: 'destination_account_id', value: origSourceId});\n // this.updateField({index: 0, field: 'destination_account_name', value: origSourceName});\n // this.updateField({index: 0, field: 'destination_account_type', value: origSourceType});\n // this.calculateTransactionType(0);\n // },\n\n\n /**\n *\n * @param key\n * @param array\n */\n convertSplit: function (key, array) {\n if ('' === array.destination_account_name) {\n array.destination_account_name = null;\n }\n if (0 === array.destination_account_id) {\n array.destination_account_name = null;\n }\n\n if ('' === array.source_account_name) {\n array.source_account_name = null;\n }\n if (0 === array.source_account_id) {\n array.source_account_id = null;\n }\n\n let currentSplit = {\n // basic\n description: array.description,\n date: this.date,\n type: this.transactionType.toLowerCase(),\n\n // account\n source_id: array.source_account_id ?? null,\n source_name: array.source_account_name ?? null,\n destination_id: array.destination_account_id ?? null,\n destination_name: array.destination_account_name ?? null,\n\n // amount:\n currency_id: array.currency_id,\n amount: array.amount,\n\n // meta data\n budget_id: array.budget_id,\n category_name: array.category,\n\n // optional date fields (6x):\n interest_date: array.interest_date,\n book_date: array.book_date,\n process_date: array.process_date,\n due_date: array.due_date,\n payment_date: array.payment_date,\n invoice_date: array.invoice_date,\n\n // other optional fields:\n internal_reference: array.internal_reference,\n external_url: array.external_url,\n notes: array.notes,\n external_id: array.external_id,\n\n // location:\n zoom_level: array.zoom_level,\n longitude: array.longitude,\n latitude: array.latitude,\n tags: [],\n\n // from thing:\n order: 0,\n reconciled: false,\n };\n\n if (0 !== array.tags.length) {\n for (let i in array.tags) {\n if (array.tags.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n // array.tags\n let current = array.tags[i];\n if (typeof current === 'object' && null !== current) {\n currentSplit.tags.push(current.text);\n }\n if (typeof current === 'string') {\n currentSplit.tags.push(current);\n }\n }\n }\n }\n\n // bills and piggy banks\n if (0 !== array.piggy_bank_id) {\n currentSplit.piggy_bank_id = array.piggy_bank_id;\n }\n if (0 !== array.bill_id) {\n currentSplit.bill_id = array.bill_id;\n }\n\n // foreign amount:\n if (0 !== array.foreign_currency_id && '' !== array.foreign_amount) {\n currentSplit.foreign_currency_id = array.foreign_currency_id;\n }\n if ('' !== array.foreign_amount) {\n currentSplit.foreign_amount = array.foreign_amount;\n }\n\n // do transaction type\n // let transactionType;\n // let firstSource;\n // let firstDestination;\n\n // get transaction type from first transaction\n //transactionType = this.transactionType ? this.transactionType.toLowerCase() : 'any';\n //console.log('Transaction type is now ' + transactionType);\n // if the transaction type is invalid, might just be that we can deduce it from\n // the presence of a source or destination account\n //firstSource = this.transactions[0].source_account_type;\n //firstDestination = this.transactions[0].destination_account_type;\n //console.log(this.transactions[0].source_account);\n //console.log(this.transactions[0].destination_account);\n //console.log('Type of first source is ' + firstSource);\n //console.log('Type of first destination is ' + firstDestination);\n\n // default to source:\n currentSplit.currency_id = array.source_account_currency_id;\n // if ('any' === transactionType && ['asset', 'Asset account', 'Loan', 'Debt', 'Mortgage'].includes(firstSource)) {\n // transactionType = 'withdrawal';\n // }\n\n if ('Deposit' === this.transactionType) {\n // transactionType = 'deposit';\n currentSplit.currency_id = array.destination_account_currency_id;\n }\n //currentSplit.type = transactionType;\n //console.log('Final type is ' + transactionType);\n\n let links = [];\n for (let i in array.links) {\n if (array.links.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = array.links[i];\n let linkTypeParts = current.link_type_id.split('-');\n let inwardId = 'outward' === linkTypeParts[1] ? 0 : parseInt(current.transaction_journal_id);\n let outwardId = 'inward' === linkTypeParts[1] ? 0 : parseInt(current.transaction_journal_id);\n let newLink = {\n link_type_id: parseInt(linkTypeParts[0]),\n inward_id: inwardId,\n outward_id: outwardId,\n };\n links.push(newLink);\n }\n }\n currentSplit.links = links;\n if (null === currentSplit.source_id) {\n delete currentSplit.source_id;\n }\n if (null === currentSplit.source_name) {\n delete currentSplit.source_name;\n }\n if (null === currentSplit.destination_id) {\n delete currentSplit.destination_id;\n }\n if (null === currentSplit.destination_name) {\n delete currentSplit.destination_name;\n }\n\n // console.log('Current split is: ');\n // console.log(currentSplit);\n\n // return it.\n return currentSplit;\n },\n /**\n * Get API value.\n */\n getAllowedOpposingTypes: function () {\n axios.get('./api/v1/configuration/firefly.allowed_opposing_types')\n .then(response => {\n console.log('opposing types things.');\n console.log(response.data.data.value);\n this.allowedOpposingTypes = response.data.data.value;\n });\n },\n getExpectedSourceTypes: function () {\n axios.get('./api/v1/configuration/firefly.expected_source_types')\n .then(response => {\n //console.log('getExpectedSourceTypes.');\n this.sourceAllowedTypes = response.data.data.value.source[this.transactionType];\n this.destinationAllowedTypes = response.data.data.value.destination[this.transactionType];\n // console.log('Source allowed types for ' + this.transactionType + ' is: ');\n // console.log(this.sourceAllowedTypes);\n\n // console.log('Destination allowed types for ' + this.transactionType + ' is: ');\n // console.log(this.destinationAllowedTypes);\n\n //this.allowedOpposingTypes = response.data.data.value;\n });\n },\n /**\n * Get API value.\n */\n getAccountToTransaction: function () {\n axios.get('./api/v1/configuration/firefly.account_to_transaction')\n .then(response => {\n this.accountToTransaction = response.data.data.value;\n });\n },\n /**\n * This method grabs the users preferred custom transaction fields. It's used when configuring the\n * custom date selects that will be available. It could be something the component does by itself,\n * thereby separating concerns. This is on my list. If it changes to a per-component thing, then\n * it should be done via the create.js Vue store because multiple components are interested in the\n * user's custom transaction fields.\n */\n getCustomFields: function () {\n axios.get('./api/v1/preferences/transaction_journal_optional_fields').then(response => {\n this.customFields = response.data.data.attributes.data;\n });\n },\n setDestinationAllowedTypes: function (value) {\n // console.log('Create::setDestinationAllowedTypes');\n // console.log(value);\n if (0 === value.length) {\n this.destinationAllowedTypes = this.defaultDestinationAllowedTypes;\n //console.log('empty so back to defaults');\n return;\n }\n this.destinationAllowedTypes = value;\n },\n setSourceAllowedTypes(value) {\n // console.log('Create::setSourceAllowedTypes');\n // console.log(value);\n if (0 === value.length) {\n this.sourceAllowedTypes = this.defaultSourceAllowedTypes;\n // console.log('empty so back to defaults');\n return;\n }\n this.sourceAllowedTypes = value;\n }\n },\n\n}\n</script>\n\n<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!./Create.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Create.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Create.vue?vue&type=template&id=21b013ea&scoped=true&\"\nimport script from \"./Create.vue?vue&type=script&lang=js&\"\nexport * from \"./Create.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"21b013ea\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('alert',{attrs:{\"message\":_vm.errorMessage,\"type\":\"danger\"}}),_vm._v(\" \"),_c('alert',{attrs:{\"message\":_vm.successMessage,\"type\":\"success\"}}),_vm._v(\" \"),_c('form',{on:{\"submit\":_vm.submitTransaction}},[_c('SplitPills',{attrs:{\"transactions\":_vm.transactions}}),_vm._v(\" \"),_c('div',{staticClass:\"tab-content\"},_vm._l((this.transactions),function(transaction,index){return _c('SplitForm',{key:index,attrs:{\"count\":_vm.transactions.length,\"custom-fields\":_vm.customFields,\"date\":_vm.date,\"destination-allowed-types\":_vm.destinationAllowedTypes,\"index\":index,\"source-allowed-types\":_vm.sourceAllowedTypes,\"submitted-transaction\":_vm.submittedTransaction,\"transaction\":transaction,\"transaction-type\":_vm.transactionType},on:{\"uploaded-attachments\":function($event){return _vm.uploadedAttachment($event)},\"set-marker-location\":function($event){return _vm.storeLocation($event)},\"set-account\":function($event){return _vm.storeAccountValue($event)},\"set-date\":function($event){return _vm.storeDate($event)},\"set-field\":function($event){return _vm.storeField($event)},\"remove-transaction\":function($event){return _vm.removeTransaction($event)}}})}),1),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[(_vm.transactions.length > 1)?_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('TransactionGroupTitle',{attrs:{\"errors\":this.groupTitleErrors},on:{\"set-group-title\":function($event){return _vm.storeGroupTitle($event)}},model:{value:(this.groupTitle),callback:function ($$v) {_vm.$set(this, \"groupTitle\", $$v)},expression:\"this.groupTitle\"}})],1)])])]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[_c('div',{staticClass:\"card card-primary\"},[_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \\n \")]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-outline-primary btn-block\",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-success 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.store_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.createAnother),expression:\"createAnother\"}],staticClass:\"form-check-input\",attrs:{\"id\":\"createAnother\",\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.createAnother)?_vm._i(_vm.createAnother,null)>-1:(_vm.createAnother)},on:{\"change\":function($event){var $$a=_vm.createAnother,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.createAnother=$$a.concat([$$v]))}else{$$i>-1&&(_vm.createAnother=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.createAnother=$$c}}}}),_vm._v(\" \"),_c('label',{staticClass:\"form-check-label\",attrs:{\"for\":\"createAnother\"}},[_c('span',{staticClass:\"small\"},[_vm._v(_vm._s(_vm.$t('firefly.create_another')))])])]),_vm._v(\" \"),_c('div',{staticClass:\"form-check\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.resetFormAfter),expression:\"resetFormAfter\"}],staticClass:\"form-check-input\",attrs:{\"id\":\"resetFormAfter\",\"disabled\":!_vm.createAnother,\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.resetFormAfter)?_vm._i(_vm.resetFormAfter,null)>-1:(_vm.resetFormAfter)},on:{\"change\":function($event){var $$a=_vm.resetFormAfter,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.resetFormAfter=$$a.concat([$$v]))}else{$$i>-1&&(_vm.resetFormAfter=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.resetFormAfter=$$c}}}}),_vm._v(\" \"),_c('label',{staticClass:\"form-check-label\",attrs:{\"for\":\"resetFormAfter\"}},[_c('span',{staticClass:\"small\"},[_vm._v(_vm._s(_vm.$t('firefly.reset_after')))])])])])])])])])])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/*\n * create.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nimport store from \"../../components/store\";\nimport Create from \"../../components/transactions/Create\";\nimport Vue from \"vue\";\n\nrequire('../../bootstrap');\n\nVue.config.productionTip = false;\n// i18n\nlet i18n = require('../../i18n');\n\n// TODO take transaction type from URL. Simplifies a lot of code.\n// TODO make sure the enter button works.\n// TODO add preferences in sidebar\n// TODO If I change the date box at all even if you just type over it with the current date, it posts back a day.\n// TODO Cash accounts do not work\n\nlet props = {};\nnew Vue({\n i18n,\n store,\n render(createElement) {\n return createElement(Create, {props: props});\n },\n beforeCreate() {\n this.$store.dispatch('root/initialiseStore');\n this.$store.commit('initialiseStore');\n this.$store.dispatch('updateCurrencyPreference');\n },\n }).$mount('#transactions_create');\n","/*\n * transactions.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nexport function getDefaultErrors() {\n return {\n description: [],\n amount: [],\n source: [],\n destination: [],\n currency: [],\n foreign_currency: [],\n foreign_amount: [],\n date: [],\n custom_dates: [],\n budget: [],\n category: [],\n bill: [],\n tags: [],\n piggy_bank: [],\n internal_reference: [],\n external_url: [],\n notes: [],\n location: []\n };\n}\n\nexport function getDefaultTransaction() {\n return {\n // basic\n description: '',\n transaction_journal_id: 0,\n // accounts:\n source_account_id: null,\n source_account_name: null,\n source_account_type: null,\n\n source_account_currency_id: null,\n source_account_currency_code: null,\n source_account_currency_symbol: null,\n\n destination_account_id: null,\n destination_account_name: null,\n destination_account_type: null,\n\n destination_account_currency_id: null,\n destination_account_currency_code: null,\n destination_account_currency_symbol: null,\n\n source_account: {\n id: 0,\n name: \"\",\n name_with_balance: \"\",\n type: \"\",\n currency_id: 0,\n currency_name: '',\n currency_code: '',\n currency_decimal_places: 2\n },\n destination_account: {\n id: 0,\n name: \"\",\n type: \"\",\n currency_id: 0,\n currency_name: '',\n currency_code: '',\n currency_decimal_places: 2\n },\n\n // amount:\n amount: '',\n currency_id: 0,\n foreign_amount: '',\n foreign_currency_id: 0,\n\n // meta data\n category: null,\n budget_id: 0,\n bill_id: 0,\n piggy_bank_id: 0,\n tags: [],\n\n // optional date fields (6x):\n interest_date: null,\n book_date: null,\n process_date: null,\n due_date: null,\n payment_date: null,\n invoice_date: null,\n\n // optional other fields:\n internal_reference: null,\n external_url: null,\n external_id: null,\n notes: null,\n\n // transaction links:\n links: [],\n attachments: [],\n // location:\n zoom_level: null,\n longitude: null,\n latitude: null,\n\n // error handling\n errors: {},\n }\n}\n\nexport function toW3CString(date) {\n // https://gist.github.com/tristanlins/6585391\n let year = date.getFullYear();\n let month = date.getMonth();\n month++;\n if (month < 10) {\n month = '0' + month;\n }\n let day = date.getDate();\n if (day < 10) {\n day = '0' + day;\n }\n let hours = date.getHours();\n if (hours < 10) {\n hours = '0' + hours;\n }\n let minutes = date.getMinutes();\n if (minutes < 10) {\n minutes = '0' + minutes;\n }\n let seconds = date.getSeconds();\n if (seconds < 10) {\n seconds = '0' + seconds;\n }\n let offset = -date.getTimezoneOffset();\n let offsetHours = Math.abs(Math.floor(offset / 60));\n let offsetMinutes = Math.abs(offset) - offsetHours * 60;\n if (offsetHours < 10) {\n offsetHours = '0' + offsetHours;\n }\n if (offsetMinutes < 10) {\n offsetMinutes = '0' + offsetMinutes;\n }\n let offsetSign = '+';\n if (offset < 0) {\n offsetSign = '-';\n }\n return year + '-' + month + '-' + day +\n 'T' + hours + ':' + minutes + ':' + seconds +\n offsetSign + offsetHours + ':' + offsetMinutes;\n}","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/cssWithMappingToString.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".vue-tags-input{max-width:100%!important;display:block}.ti-input,.vue-tags-input{width:100%;border-radius:.25rem}.ti-input{max-width:100%}.ti-new-tag-input{font-size:1rem}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/transactions/TransactionTags.vue\"],\"names\":[],\"mappings\":\"AA2HA,gBAEA,wBAAA,CACA,aAEA,CAEA,0BANA,UAAA,CAGA,oBAOA,CAJA,UAEA,cAEA,CAEA,kBACA,cACA\",\"sourcesContent\":[\"<!--\\n - TransactionTags.vue\\n - Copyright (c) 2021 [email protected]\\n -\\n - This file is part of Firefly III (https://github.com/firefly-iii).\\n -\\n - This program is free software: you can redistribute it and/or modify\\n - it under the terms of the GNU Affero General Public License as\\n - published by the Free Software Foundation, either version 3 of the\\n - License, or (at your option) any later version.\\n -\\n - This program is distributed in the hope that it will be useful,\\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\\n - GNU Affero General Public License for more details.\\n -\\n - You should have received a copy of the GNU Affero General Public License\\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\\n -->\\n\\n<template>\\n <div class=\\\"form-group\\\">\\n <div class=\\\"text-xs d-none d-lg-block d-xl-block\\\">\\n {{ $t('firefly.tags') }}\\n </div>\\n <div class=\\\"input-group\\\">\\n <vue-tags-input\\n v-model=\\\"currentTag\\\"\\n :add-only-from-autocomplete=\\\"false\\\"\\n :autocomplete-items=\\\"autocompleteItems\\\"\\n :tags=\\\"tags\\\"\\n :title=\\\"$t('firefly.tags')\\\"\\n v-bind:placeholder=\\\"$t('firefly.tags')\\\"\\n @tags-changed=\\\"newTags => this.tags = newTags\\\"\\n />\\n </div>\\n <span v-if=\\\"errors.length > 0\\\">\\n <span v-for=\\\"error in errors\\\" class=\\\"text-danger small\\\">{{ error }}<br/></span>\\n </span>\\n </div>\\n</template>\\n\\n<script>\\nimport VueTagsInput from \\\"@johmun/vue-tags-input\\\";\\nimport axios from \\\"axios\\\";\\n\\nexport default {\\n name: \\\"TransactionTags\\\",\\n components: {\\n VueTagsInput\\n },\\n props: ['value', 'index', 'errors'],\\n data() {\\n return {\\n autocompleteItems: [],\\n debounce: null,\\n tags: [],\\n currentTag: '',\\n updateTags: true, // the idea is that this is always true, except when the tags-function sets the value.\\n tagList: this.value,\\n emitEvent: true\\n };\\n },\\n created() {\\n let tags = [];\\n for (let i in this.value) {\\n if (this.value.hasOwnProperty(i) && /^0$|^[1-9]\\\\d*$/.test(i) && i <= 4294967294) {\\n tags.push({text: this.value[i]});\\n }\\n }\\n this.updateTags = false;\\n this.tags = tags;\\n },\\n watch: {\\n 'currentTag': 'initItems',\\n value: function (value) {\\n this.emitEvent = false;\\n this.tagList = value;\\n },\\n tagList: function (value) {\\n console.log('watch tagList');\\n if (true === this.emitEvent) {\\n this.$emit('set-field', {field: 'tags', index: this.index, value: value});\\n }\\n this.emitEvent = true;\\n this.updateTags = false;\\n this.tags = value;\\n },\\n tags: function (value) {\\n if (this.updateTags) {\\n let shortList = [];\\n for (let key in value) {\\n if (value.hasOwnProperty(key)) {\\n shortList.push({text: value[key].text});\\n }\\n }\\n this.tagList = shortList;\\n }\\n this.updateTags = true;\\n }\\n },\\n methods: {\\n initItems() {\\n if (this.currentTag.length < 2) {\\n return;\\n }\\n const url = document.getElementsByTagName('base')[0].href + `api/v1/autocomplete/tags?query=${this.currentTag}`;\\n\\n clearTimeout(this.debounce);\\n this.debounce = setTimeout(() => {\\n axios.get(url).then(response => {\\n this.autocompleteItems = response.data.map(item => {\\n return {text: item.tag};\\n });\\n }).catch(() => console.warn('Oh. Something went wrong loading tags.'));\\n }, 300);\\n },\\n },\\n\\n\\n}\\n</script>\\n<style>\\n.vue-tags-input {\\n width: 100%;\\n max-width: 100% !important;\\n display: block;\\n border-radius: 0.25rem;\\n}\\n\\n.ti-input {\\n border-radius: 0.25rem;\\n max-width: 100%;\\n width: 100%;\\n}\\n\\n.ti-new-tag-input {\\n font-size: 1rem;\\n}\\n</style>\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","<!--\n - Alert.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n<template>\n <div v-if=\"message.length > 0\" :class=\"'alert alert-' + type + ' alert-dismissible'\">\n <button aria-hidden=\"true\" class=\"close\" data-dismiss=\"alert\" type=\"button\">×</button>\n <h5>\n <i v-if=\"'danger' === type\" class=\"icon fas fa-ban\"></i>\n <i v-if=\"'success' === type\" class=\"icon fas fa-thumbs-up\"></i>\n <span v-if=\"'danger' === type\">{{ $t(\"firefly.flash_error\") }}</span>\n <span v-if=\"'success' === type\">{{ $t(\"firefly.flash_success\") }}</span>\n </h5>\n <span v-html=\"message\"></span>\n </div>\n</template>\n<script>\nexport default {\n name: \"Alert\",\n props: ['message', 'type']\n}\n</script>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Alert.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Alert.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Alert.vue?vue&type=template&id=df266c68&\"\nimport script from \"./Alert.vue?vue&type=script&lang=js&\"\nexport * from \"./Alert.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.message.length > 0)?_c('div',{class:'alert alert-' + _vm.type + ' alert-dismissible'},[_c('button',{staticClass:\"close\",attrs:{\"aria-hidden\":\"true\",\"data-dismiss\":\"alert\",\"type\":\"button\"}},[_vm._v(\"×\")]),_vm._v(\" \"),_c('h5',[('danger' === _vm.type)?_c('i',{staticClass:\"icon fas fa-ban\"}):_vm._e(),_vm._v(\" \"),('success' === _vm.type)?_c('i',{staticClass:\"icon fas fa-thumbs-up\"}):_vm._e(),_vm._v(\" \"),('danger' === _vm.type)?_c('span',[_vm._v(_vm._s(_vm.$t(\"firefly.flash_error\")))]):_vm._e(),_vm._v(\" \"),('success' === _vm.type)?_c('span',[_vm._v(_vm._s(_vm.$t(\"firefly.flash_success\")))]):_vm._e()]),_vm._v(\" \"),_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.message)}})]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:'tab-pane' + (0===_vm.index ? ' active' : ''),attrs:{\"id\":'split_' + _vm.index}},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.basic_journal_information'))+\"\\n \"),(_vm.count > 1)?_c('span',[_vm._v(\"(\"+_vm._s(_vm.index + 1)+\" / \"+_vm._s(_vm.count)+\") \")]):_vm._e()]),_vm._v(\" \"),(_vm.count>1)?_c('div',{staticClass:\"card-tools\"},[_c('button',{staticClass:\"btn btn-danger btn-xs\",on:{\"click\":_vm.removeTransaction}},[_c('i',{staticClass:\"fas fa-trash-alt\"})])]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('TransactionDescription',_vm._g({attrs:{\"errors\":_vm.transaction.errors.description,\"index\":_vm.index},model:{value:(_vm.transaction.description),callback:function ($$v) {_vm.$set(_vm.transaction, \"description\", $$v)},expression:\"transaction.description\"}},_vm.$listeners))],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12\"},[_c('TransactionAccount',_vm._g({attrs:{\"destination-allowed-types\":_vm.destinationAllowedTypes,\"errors\":_vm.transaction.errors.source,\"index\":_vm.index,\"source-allowed-types\":_vm.sourceAllowedTypes,\"transaction-type\":_vm.transactionType,\"direction\":\"source\"},model:{value:(_vm.sourceAccount),callback:function ($$v) {_vm.sourceAccount=$$v},expression:\"sourceAccount\"}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block\"},[(0 === _vm.index && _vm.allowSwitch)?_c('SwitchAccount',_vm._g({attrs:{\"index\":_vm.index,\"transaction-type\":_vm.transactionType}},_vm.$listeners)):_vm._e()],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionAccount',_vm._g({attrs:{\"destination-allowed-types\":_vm.destinationAllowedTypes,\"errors\":_vm.transaction.errors.destination,\"index\":_vm.index,\"transaction-type\":_vm.transactionType,\"source-allowed-types\":_vm.sourceAllowedTypes,\"direction\":\"destination\"},model:{value:(_vm.destinationAccount),callback:function ($$v) {_vm.destinationAccount=$$v},expression:\"destinationAccount\"}},_vm.$listeners))],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12\"},[_c('TransactionAmount',_vm._g({attrs:{\"amount\":_vm.transaction.amount,\"destination-currency-symbol\":this.transaction.destination_account_currency_symbol,\"errors\":_vm.transaction.errors.amount,\"index\":_vm.index,\"source-currency-symbol\":this.transaction.source_account_currency_symbol,\"transaction-type\":this.transactionType}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block\"},[_c('TransactionForeignCurrency',_vm._g({attrs:{\"destination-currency-id\":this.transaction.destination_account_currency_id,\"index\":_vm.index,\"selected-currency-id\":this.transaction.foreign_currency_id,\"source-currency-id\":this.transaction.source_account_currency_id,\"transaction-type\":this.transactionType},model:{value:(_vm.transaction.foreign_currency_id),callback:function ($$v) {_vm.$set(_vm.transaction, \"foreign_currency_id\", $$v)},expression:\"transaction.foreign_currency_id\"}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionForeignAmount',_vm._g({attrs:{\"destination-currency-id\":this.transaction.destination_account_currency_id,\"errors\":_vm.transaction.errors.foreign_amount,\"index\":_vm.index,\"selected-currency-id\":this.transaction.foreign_currency_id,\"source-currency-id\":this.transaction.source_account_currency_id,\"transaction-type\":this.transactionType},model:{value:(_vm.transaction.foreign_amount),callback:function ($$v) {_vm.$set(_vm.transaction, \"foreign_amount\", $$v)},expression:\"transaction.foreign_amount\"}},_vm.$listeners))],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionDate',_vm._g({attrs:{\"date\":_vm.splitDate,\"errors\":_vm.transaction.errors.date,\"index\":_vm.index}},_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\">{{ localTimeZone }}:{{ systemTimeZone }}</span>\n </div>\n</template>\n\n<script>\n\nimport {mapGetters} from \"vuex\";\n\nexport default {\n props: ['index', 'errors', 'date'],\n name: \"TransactionDate\",\n created() {\n this.localTimeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;\n this.systemTimeZone = this.timezone;\n console.log('TransactionDate: ' + this.date);\n // split date and time:\n let parts = this.date.split('T');\n this.dateStr = parts[0];\n this.timeStr = parts[1];\n\n },\n data() {\n return {\n localDate: this.date,\n localTimeZone: '',\n systemTimeZone: '',\n timeStr: '',\n dateStr: '',\n }\n },\n watch: {\n dateStr: function (value) {\n this.$emit('set-date', {date: value + 'T' + this.timeStr});\n },\n timeStr: function (value) {\n this.$emit('set-date', {date: this.dateStr + 'T' + value});\n }\n },\n methods: {},\n computed: {\n ...mapGetters('root', ['timezone']),\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionDate.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionDate.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionDate.vue?vue&type=template&id=477289e9&\"\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(\" \"),_c('span',{staticClass:\"text-muted small\"},[_vm._v(_vm._s(_vm.localTimeZone)+\":\"+_vm._s(_vm.systemTimeZone))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionBudget.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.budget') }}\n </div>\n <div class=\"input-group\">\n <select\n ref=\"budget\"\n v-model=\"budget\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :title=\"$t('firefly.budget')\"\n autocomplete=\"off\"\n name=\"budget_id[]\"\n >\n <option v-for=\"budget in this.budgetList\" :label=\"budget.name\" :value=\"budget.id\">{{ budget.name }}</option>\n </select>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors'],\n name: \"TransactionBudget\",\n data() {\n return {\n budgetList: [],\n budget: this.value,\n emitEvent: true\n }\n },\n created() {\n this.collectData();\n },\n methods: {\n collectData() {\n this.budgetList.push(\n {\n id: 0,\n name: this.$t('firefly.no_budget'),\n }\n );\n this.getBudgets();\n },\n getBudgets() {\n axios.get('./api/v1/budgets')\n .then(response => {\n this.parseBudgets(response.data);\n }\n );\n },\n parseBudgets(data) {\n for (let key in data.data) {\n if (data.data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = data.data[key];\n if(!current.attributes.active) {\n continue;\n }\n this.budgetList.push(\n {\n id: parseInt(current.id),\n name: current.attributes.name\n }\n );\n }\n }\n },\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.budget = value;\n },\n budget: function (value) {\n this.$emit('set-field', {field: 'budget_id', index: this.index, value: value});\n }\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBudget.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBudget.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionBudget.vue?vue&type=template&id=54257463&\"\nimport script from \"./TransactionBudget.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionBudget.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.budget'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.budget),expression:\"budget\"}],ref:\"budget\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"title\":_vm.$t('firefly.budget'),\"autocomplete\":\"off\",\"name\":\"budget_id[]\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.budget=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((this.budgetList),function(budget){return _c('option',{attrs:{\"label\":budget.name},domProps:{\"value\":budget.id}},[_vm._v(_vm._s(budget.name))])}),0)]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionAccount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div v-if=\"visible\" class=\"text-xs d-none d-lg-block d-xl-block\">\n <span v-if=\"0 === this.index\">{{ $t('firefly.' + this.direction + '_account') }}</span>\n <span v-if=\"this.index > 0\" class=\"text-warning\">{{ $t('firefly.first_split_overrules_' + this.direction) }}</span>\n <br><span>{{ selectedAccount }}</span>\n </div>\n <div v-if=\"!visible\" class=\"text-xs d-none d-lg-block d-xl-block\">\n \n </div>\n <vue-typeahead-bootstrap\n v-if=\"visible\"\n v-model=\"accountName\"\n :data=\"accounts\"\n :inputClass=\"errors.length > 0 ? 'is-invalid' : ''\"\n :inputName=\"direction + '[]'\"\n :minMatchingChars=\"3\"\n :placeholder=\"$t('firefly.' + direction + '_account')\"\n :serializer=\"item => item.name_with_balance\"\n :showOnFocus=true\n aria-autocomplete=\"none\"\n autocomplete=\"off\"\n @hit=\"userSelectedAccount\"\n @input=\"lookupAccount\"\n >\n\n <template slot=\"suggestion\" slot-scope=\"{ data, htmlText }\">\n <div :title=\"data.type\" class=\"d-flex\">\n <span v-html=\"htmlText\"></span><br>\n </div>\n </template>\n <template slot=\"append\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\" v-on:click=\"clearAccount\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </template>\n </vue-typeahead-bootstrap>\n <div v-if=\"!visible\" class=\"form-control-static\">\n <span class=\"small text-muted\"><em>{{ $t('firefly.first_split_decides') }}</em></span>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nimport VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';\nimport {debounce} from 'lodash';\n\nexport default {\n name: \"TransactionAccount\",\n components: {VueTypeaheadBootstrap},\n props: {\n index: {\n type: Number,\n },\n direction: {\n type: String,\n },\n value: {\n type: Object,\n default: () => ({})\n },\n errors: {\n type: Array,\n default: () => ([])\n },\n sourceAllowedTypes: {\n type: Array,\n default: () => ([])\n },\n destinationAllowedTypes: {\n type: Array,\n default: () => ([])\n },\n transactionType: {\n type: String,\n default: 'any'\n },\n },\n data() {\n return {\n query: '',\n accounts: [],\n accountTypes: [],\n initialSet: [],\n selectedAccount: {},\n accountName: '',\n selectedAccountTrigger: false,\n }\n },\n created() {\n this.accountName = this.value.name ?? '';\n // console.log('TransactionAccount::created() direction=' + this.direction + ', type=' + this.transactionType + ' , name=\"' + this.accountName + '\"');\n this.selectedAccountTrigger = true;\n },\n methods: {\n getACURL: function (types, query) {\n return './api/v1/autocomplete/accounts?types=' + types.join(',') + '&query=' + query;\n },\n userSelectedAccount: function (event) {\n // console.log('userSelectedAccount!');\n // console.log('To prevent invalid propogation, set selectedAccountTrigger = true');\n this.selectedAccountTrigger = true;\n this.selectedAccount = event;\n },\n systemReturnedAccount: function (event) {\n // console.log('systemReturnedAccount!');\n // console.log('To prevent invalid propogation, set selectedAccountTrigger = false');\n this.selectedAccountTrigger = false;\n this.selectedAccount = event;\n },\n clearAccount: function () {\n //// console.log('TransactionAccount::clearAccount()');\n this.accounts = this.initialSet;\n //this.account = {name: '', type: 'no_type', id: null, currency_id: null, currency_code: null, currency_symbol: null};\n this.accountName = '';\n },\n lookupAccount: debounce(function () {\n //// console.log('TransactionAccount::lookupAccount()');\n //// console.log('In lookupAccount()');\n if (0 === this.accountTypes.length) {\n // set the types from the default types for this direction:\n this.accountTypes = 'source' === this.direction ? this.sourceAllowedTypes : this.destinationAllowedTypes;\n }\n // // console.log(this.direction + ': Will search for types:');\n // // console.log(this.accountTypes);\n\n // update autocomplete URL:\n axios.get(this.getACURL(this.accountTypes, this.accountName))\n .then(response => {\n //// console.log('Got a response!');\n this.accounts = response.data;\n //// console.log(response.data);\n })\n }, 300),\n\n createInitialSet: function () {\n //// console.log('TransactionAccount::createInitialSet()');\n let types = this.sourceAllowedTypes;\n if ('destination' === this.direction) {\n types = this.destinationAllowedTypes;\n }\n // // console.log('createInitialSet() direction=' + this.direction + ' resets to these types:');\n // // console.log(types);\n\n axios.get(this.getACURL(types, ''))\n .then(response => {\n this.accounts = response.data;\n this.initialSet = response.data;\n });\n }\n },\n watch: {\n sourceAllowedTypes: function (value) {\n //// console.log('TransactionAccount::sourceAllowedTypes()');\n // // console.log(this.direction + ' account noticed change in sourceAllowedTypes');\n // // console.log(value);\n this.createInitialSet();\n },\n destinationAllowedTypes: function (value) {\n //// console.log('TransactionAccount::destinationAllowedTypes()');\n // // console.log(this.direction + ' account noticed change in destinationAllowedTypes');\n // // console.log(value);\n this.createInitialSet();\n },\n /**\n * Triggered when the user selects an account from the auto-complete.\n *\n * @param value\n */\n selectedAccount: function (value) {\n console.log('TransactionAccount::watch selectedAccount()');\n console.log(value);\n if (true === this.selectedAccountTrigger) {\n console.log('$emit alles!');\n this.$emit('set-account',\n {\n index: this.index,\n direction: this.direction,\n id: value.id,\n type: value.type,\n name: value.name,\n currency_id: value.currency_id,\n currency_code: value.currency_code,\n currency_symbol: value.currency_symbol,\n }\n );\n console.log('watch::selectedAccount() will now set accountName because selectedAccountTrigger = true');\n this.accountName = value.name;\n }\n },\n accountName: function (value) {\n console.log('now at watch accountName(\"' + value + '\")');\n console.log(this.selectedAccountTrigger);\n if (true === this.selectedAccountTrigger) {\n console.log('Do nothing because selectedAccountTrigger = true');\n }\n if (false === this.selectedAccountTrigger) {\n console.log('$emit name from watch::accountName() because selectedAccountTrigger = false');\n this.$emit('set-account',\n {\n index: this.index,\n direction: this.direction,\n id: null,\n type: null,\n name: value,\n currency_id: null,\n currency_code: null,\n currency_symbol: null,\n }\n );\n // this.account = {name: value, type: null, id: null, currency_id: null, currency_code: null, currency_symbol: null};\n }\n console.log('set selectedAccountTrigger to be FALSE');\n this.selectedAccountTrigger = false;\n },\n value: function (value) {\n console.log('TransactionAccount::watch value(' + JSON.stringify(value) + ')');\n this.systemReturnedAccount(value);\n\n // // console.log('Index ' + this.index + ' nwAct: ', value);\n // // console.log(this.direction + ' account overruled by external forces.');\n // // console.log(value);\n //this.account = value;\n //this.selectedAccountTrigger = true;\n // this.accountName = value.name ?? '';\n // if(null !== value.id) {\n // return;\n // }\n // this.selectedAccountTrigger = true;\n //\n // // console.log('Set selectedAccountTrigger = true');\n // this.selectedAccount = value;\n }\n },\n computed: {\n accountKey: {\n get() {\n return 'source' === this.direction ? 'source_account' : 'destination_account';\n }\n },\n visible: {\n get() {\n // index 0 is always visible:\n if (0 === this.index) {\n return true;\n }\n // // console.log('Direction of account ' + this.index + ' is ' + this.direction + '(' + this.transactionType + ')');\n // // console.log(this.transactionType);\n if ('source' === this.direction) {\n return 'any' === this.transactionType || 'Deposit' === this.transactionType || typeof this.transactionType === 'undefined';\n }\n if ('destination' === this.direction) {\n return 'any' === this.transactionType || 'Withdrawal' === this.transactionType || typeof this.transactionType === 'undefined';\n }\n return false;\n }\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAccount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAccount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionAccount.vue?vue&type=template&id=2545f06e&\"\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._v(\" \"),_c('br'),_c('span',[_vm._v(_vm._s(_vm.selectedAccount))])]):_vm._e(),_vm._v(\" \"),(!_vm.visible)?_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \\n \")]):_vm._e(),_vm._v(\" \"),(_vm.visible)?_c('vue-typeahead-bootstrap',{attrs:{\"data\":_vm.accounts,\"inputClass\":_vm.errors.length > 0 ? 'is-invalid' : '',\"inputName\":_vm.direction + '[]',\"minMatchingChars\":3,\"placeholder\":_vm.$t('firefly.' + _vm.direction + '_account'),\"serializer\":function (item) { return item.name_with_balance; },\"showOnFocus\":true,\"aria-autocomplete\":\"none\",\"autocomplete\":\"off\"},on:{\"hit\":_vm.userSelectedAccount,\"input\":_vm.lookupAccount},scopedSlots:_vm._u([{key:\"suggestion\",fn:function(ref){\nvar data = ref.data;\nvar htmlText = ref.htmlText;\nreturn [_c('div',{staticClass:\"d-flex\",attrs:{\"title\":data.type}},[_c('span',{domProps:{\"innerHTML\":_vm._s(htmlText)}}),_c('br')])]}}],null,false,1423807661),model:{value:(_vm.accountName),callback:function ($$v) {_vm.accountName=$$v},expression:\"accountName\"}},[_vm._v(\" \"),_c('template',{slot:\"append\"},[_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"},on:{\"click\":_vm.clearAccount}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])],2):_vm._e(),_vm._v(\" \"),(!_vm.visible)?_c('div',{staticClass:\"form-control-static\"},[_c('span',{staticClass:\"small text-muted\"},[_c('em',[_vm._v(_vm._s(_vm.$t('firefly.first_split_decides')))])])]):_vm._e(),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - SwitchAccount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n <span v-if=\"'any' !== this.transactionType\" class=\"text-muted\">\n {{ $t('firefly.' + this.transactionType) }}\n </span>\n <span v-if=\"'any' === this.transactionType\" class=\"text-muted\"> </span>\n </div>\n <!--\n <div class=\"btn-group d-flex\">\n <button class=\"btn btn-light\" @click=\"switchAccounts\">↔</button>\n </div>\n -->\n </div>\n</template>\n\n<script>\nexport default {\n name: \"SwitchAccount\",\n props: ['index', 'transactionType'],\n methods: {\n // switchAccounts() {\n // this.$emit('switch-accounts', this.index);\n // }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SwitchAccount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SwitchAccount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SwitchAccount.vue?vue&type=template&id=66a3afa9&scoped=true&\"\nimport script from \"./SwitchAccount.vue?vue&type=script&lang=js&\"\nexport * from \"./SwitchAccount.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"66a3afa9\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[('any' !== this.transactionType)?_c('span',{staticClass:\"text-muted\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.' + this.transactionType))+\"\\n \")]):_vm._e(),_vm._v(\" \"),('any' === this.transactionType)?_c('span',{staticClass:\"text-muted\"},[_vm._v(\" \")]):_vm._e()])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionAmount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs\">{{ $t('firefly.amount') }}</div>\n <div class=\"input-group\">\n <div v-if=\"currencySymbol\" class=\"input-group-prepend\">\n <div class=\"input-group-text\">{{ currencySymbol }}</div>\n </div>\n <input\n v-model=\"transactionAmount\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.amount')\"\n :title=\"$t('firefly.amount')\"\n autocomplete=\"off\"\n name=\"amount[]\"\n type=\"number\"\n step=\"any\"\n >\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nexport default {\n name: \"TransactionAmount\",\n props: {\n index: {\n type: Number,\n default: 0,\n required: true\n },\n errors: {},\n amount: {},\n transactionType: {},\n sourceCurrencySymbol: {},\n destinationCurrencySymbol: {},\n fractionDigits: {\n default: 2,\n required: false\n },\n },\n created() {\n if ('' !== this.amount) {\n this.emitEvent = false;\n this.transactionAmount = this.formatNumber(this.amount);\n }\n },\n methods: {\n formatNumber(str) {\n return parseFloat(str).toFixed(this.fractionDigits);\n }\n },\n data() {\n return {\n transactionAmount: this.amount,\n currencySymbol: null,\n srcCurrencySymbol: this.sourceCurrencySymbol,\n dstCurrencySymbol: this.destinationCurrencySymbol,\n emitEvent: true\n }\n },\n watch: {\n transactionAmount: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'amount', index: this.index, value: value});\n }\n this.emitEvent = true;\n },\n amount: function (value) {\n this.transactionAmount = value;\n },\n sourceCurrencySymbol: function (value) {\n this.srcCurrencySymbol = value;\n },\n destinationCurrencySymbol: function (value) {\n this.dstCurrencySymbol = value;\n },\n transactionType: function (value) {\n switch (value) {\n case 'Transfer':\n case 'Withdrawal':\n this.currencySymbol = this.srcCurrencySymbol;\n break;\n case 'Deposit':\n this.currencySymbol = this.dstCurrencySymbol;\n }\n },\n },\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAmount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAmount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionAmount.vue?vue&type=template&id=571f2c0a&scoped=true&\"\nimport script from \"./TransactionAmount.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionAmount.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"571f2c0a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs\"},[_vm._v(_vm._s(_vm.$t('firefly.amount')))]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[(_vm.currencySymbol)?_c('div',{staticClass:\"input-group-prepend\"},[_c('div',{staticClass:\"input-group-text\"},[_vm._v(_vm._s(_vm.currencySymbol))])]):_vm._e(),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.transactionAmount),expression:\"transactionAmount\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.amount'),\"title\":_vm.$t('firefly.amount'),\"autocomplete\":\"off\",\"name\":\"amount[]\",\"type\":\"number\",\"step\":\"any\"},domProps:{\"value\":(_vm.transactionAmount)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.transactionAmount=$event.target.value}}})]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionForeignAmount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <!-- FOREIGN AMOUNT -->\n <div v-if=\"isVisible\" class=\"form-group\">\n <div class=\"text-xs\">{{ $t('form.foreign_amount') }}</div>\n <div class=\"input-group\">\n <input\n v-model=\"amount\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('form.foreign_amount')\"\n :title=\"$t('form.foreign_amount')\"\n autocomplete=\"off\"\n name=\"foreign_amount[]\"\n type=\"number\"\n >\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"TransactionForeignAmount\",\n props: {\n index: {},\n errors: {},\n value: {},\n transactionType: {},\n sourceCurrencyId: {},\n destinationCurrencyId: {},\n fractionDigits: {\n type: Number,\n default: 2\n }\n },\n data() {\n return {\n amount: this.value,\n emitEvent: true\n }\n },\n created() {\n if ('' !== this.amount) {\n this.emitEvent = false;\n this.amount = this.formatNumber(this.amount);\n }\n },\n methods: {\n formatNumber(str) {\n return parseFloat(str).toFixed(this.fractionDigits);\n }\n },\n watch: {\n amount: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'foreign_amount', index: this.index, value: value});\n }\n this.emitEvent = true;\n },\n value: function (value) {\n this.amount = value;\n\n\n }\n },\n computed: {\n isVisible: {\n get() {\n return !('Transfer' === this.transactionType && this.sourceCurrencyId === this.destinationCurrencyId);\n }\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignAmount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignAmount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionForeignAmount.vue?vue&type=template&id=d13f8bea&scoped=true&\"\nimport script from \"./TransactionForeignAmount.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionForeignAmount.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d13f8bea\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isVisible)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs\"},[_vm._v(_vm._s(_vm.$t('form.foreign_amount')))]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.amount),expression:\"amount\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('form.foreign_amount'),\"title\":_vm.$t('form.foreign_amount'),\"autocomplete\":\"off\",\"name\":\"foreign_amount[]\",\"type\":\"number\"},domProps:{\"value\":(_vm.amount)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.amount=$event.target.value}}})]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionForeignCurrency.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <!-- FOREIGN Currency -->\n <div v-if=\"isVisible\" class=\"form-group\">\n <div class=\"text-xs\"> </div>\n <div class=\"input-group\">\n <select v-model=\"selectedCurrency\" class=\"form-control\" name=\"foreign_currency_id[]\">\n <option v-for=\"currency in selectableCurrencies\" :label=\"currency.name\" :value=\"currency.id\">{{ currency.name }}</option>\n </select>\n </div>\n </div>\n</template>\n<script>\n\nexport default {\n name: \"TransactionForeignCurrency\",\n props: [\n 'index',\n 'transactionType',\n 'sourceCurrencyId',\n 'destinationCurrencyId',\n 'selectedCurrencyId',\n 'value'\n ],\n data() {\n return {\n selectedCurrency: this.value,\n allCurrencies: [],\n selectableCurrencies: [],\n dstCurrencyId: this.destinationCurrencyId,\n srcCurrencyId: this.sourceCurrencyId,\n lockedCurrency: 0,\n emitEvent: true\n }\n },\n watch: {\n value: function (value) {\n this.selectedCurrency = value;\n },\n sourceCurrencyId: function (value) {\n this.srcCurrencyId = value;\n },\n destinationCurrencyId: function (value) {\n this.dstCurrencyId = value;\n },\n selectedCurrency: function (value) {\n this.$emit('set-field', {field: 'foreign_currency_id', index: this.index, value: value});\n },\n transactionType: function (value) {\n this.lockedCurrency = 0;\n if ('Transfer' === value) {\n this.lockedCurrency = this.dstCurrencyId;\n this.selectedCurrency = this.dstCurrencyId;\n }\n this.filterCurrencies();\n },\n },\n created: function () {\n this.getAllCurrencies();\n },\n methods: {\n getAllCurrencies: function () {\n axios.get('./api/v1/autocomplete/currencies')\n .then(response => {\n this.allCurrencies = response.data;\n this.filterCurrencies();\n }\n );\n\n },\n filterCurrencies() {\n // if a currency is locked only that currency can (and must) be selected:\n if (0 !== this.lockedCurrency) {\n for (let key in this.allCurrencies) {\n if (this.allCurrencies.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = this.allCurrencies[key];\n if (current.id === this.lockedCurrency) {\n this.selectableCurrencies = [current];\n this.selectedCurrency = current.id;\n }\n }\n }\n return;\n }\n\n this.selectableCurrencies = [\n {\n \"id\": 0,\n \"name\": this.$t('firefly.no_currency')\n }\n ];\n for (let key in this.allCurrencies) {\n if (this.allCurrencies.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = this.allCurrencies[key];\n this.selectableCurrencies.push(current);\n }\n }\n }\n },\n computed: {\n isVisible: function () {\n return !('Transfer' === this.transactionType && this.srcCurrencyId === this.dstCurrencyId);\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignCurrency.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignCurrency.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionForeignCurrency.vue?vue&type=template&id=3ee4efa5&scoped=true&\"\nimport script from \"./TransactionForeignCurrency.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionForeignCurrency.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3ee4efa5\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isVisible)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs\"},[_vm._v(\" \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedCurrency),expression:\"selectedCurrency\"}],staticClass:\"form-control\",attrs:{\"name\":\"foreign_currency_id[]\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selectedCurrency=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((_vm.selectableCurrencies),function(currency){return _c('option',{attrs:{\"label\":currency.name},domProps:{\"value\":currency.id}},[_vm._v(_vm._s(currency.name))])}),0)])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionCustomDates.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div>\n <div v-for=\"(enabled, name) in availableFields\" class=\"form-group\">\n <div v-if=\"enabled && isDateField(name)\" class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('form.' + name) }}\n </div>\n <div v-if=\"enabled && isDateField(name)\" class=\"input-group\">\n <input\n :ref=\"name\"\n :name=\"name + '[]'\"\n :placeholder=\"$t('form.' + name)\"\n :title=\"$t('form.' + name)\"\n :value=\"getFieldValue(name)\"\n autocomplete=\"off\"\n class=\"form-control\"\n type=\"date\"\n @change=\"setFieldValue($event, name)\"\n >\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"TransactionCustomDates\",\n props: [\n 'index',\n 'errors',\n 'customFields',\n 'interestDate',\n 'bookDate',\n 'processDate',\n 'dueDate',\n 'paymentDate',\n 'invoiceDate'\n ],\n data() {\n return {\n dateFields: ['interest_date', 'book_date', 'process_date', 'due_date', 'payment_date', 'invoice_date'],\n availableFields: this.customFields,\n dates: {\n interest_date: this.interestDate,\n book_date: this.bookDate,\n process_date: this.processDate,\n due_date: this.dueDate,\n payment_date: this.paymentDate,\n invoice_date: this.invoiceDate,\n }\n ,\n }\n },\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n interestDate: function (value) {\n this.dates.interest_date = value;\n },\n bookDate: function (value) {\n this.dates.book_date = value;\n },\n processDate: function (value) {\n this.dates.process_date = value;\n },\n dueDate: function (value) {\n this.dates.due_date = value;\n },\n paymentDate: function (value) {\n this.dates.payment_date = value;\n },\n invoiceDate: function (value) {\n this.dates.invoice_date = value;\n },\n },\n methods: {\n isDateField: function (name) {\n return this.dateFields.includes(name)\n },\n getFieldValue(field) {\n return this.dates[field] ?? '';\n },\n setFieldValue(event, field) {\n this.$emit('set-field', {field: field, index: this.index, value: event.target.value});\n },\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionCustomDates.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionCustomDates.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionCustomDates.vue?vue&type=template&id=728c6420&\"\nimport script from \"./TransactionCustomDates.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionCustomDates.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',_vm._l((_vm.availableFields),function(enabled,name){return _c('div',{staticClass:\"form-group\"},[(enabled && _vm.isDateField(name))?_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('form.' + name))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(enabled && _vm.isDateField(name))?_c('div',{staticClass:\"input-group\"},[_c('input',{ref:name,refInFor:true,staticClass:\"form-control\",attrs:{\"name\":name + '[]',\"placeholder\":_vm.$t('form.' + name),\"title\":_vm.$t('form.' + name),\"autocomplete\":\"off\",\"type\":\"date\"},domProps:{\"value\":_vm.getFieldValue(name)},on:{\"change\":function($event){return _vm.setFieldValue($event, name)}}})]):_vm._e()])}),0)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionCategory.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.category') }}\n </div>\n\n <vue-typeahead-bootstrap\n v-model=\"category\"\n :data=\"categories\"\n :inputClass=\"errors.length > 0 ? 'is-invalid' : ''\"\n :minMatchingChars=\"3\"\n :placeholder=\"$t('firefly.category')\"\n :serializer=\"item => item.name\"\n :showOnFocus=true\n inputName=\"category[]\"\n @hit=\"selectedCategory = $event\"\n @input=\"lookupCategory\"\n >\n <template slot=\"append\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\" v-on:click=\"clearCategory\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </template>\n </vue-typeahead-bootstrap>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nimport VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';\nimport {debounce} from \"lodash\";\n\nexport default {\n props: ['value', 'index', 'errors'],\n components: {VueTypeaheadBootstrap},\n name: \"TransactionCategory\",\n data() {\n return {\n categories: [],\n initialSet: [],\n category: this.value,\n emitEvent: true\n }\n },\n\n created() {\n\n // initial list of accounts:\n axios.get(this.getACURL(''))\n .then(response => {\n this.categories = response.data;\n this.initialSet = response.data;\n });\n },\n\n methods: {\n clearCategory: function () {\n this.category = '';\n },\n getACURL: function (query) {\n // update autocomplete URL:\n return document.getElementsByTagName('base')[0].href + 'api/v1/autocomplete/categories?query=' + query;\n },\n lookupCategory: debounce(function () {\n // update autocomplete URL:\n axios.get(this.getACURL(this.value))\n .then(response => {\n this.categories = response.data;\n })\n }, 300)\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.category = value ?? '';\n },\n category: function (value) {\n this.$emit('set-field', {field: 'category', index: this.index, value: value});\n }\n },\n computed: {\n selectedCategory: {\n get() {\n return this.categories[this.index].name;\n },\n set(value) {\n this.category = value.name;\n }\n }\n }\n}\n</script>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionCategory.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionCategory.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionCategory.vue?vue&type=template&id=332d1095&\"\nimport script from \"./TransactionCategory.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionCategory.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.category'))+\"\\n \")]),_vm._v(\" \"),_c('vue-typeahead-bootstrap',{attrs:{\"data\":_vm.categories,\"inputClass\":_vm.errors.length > 0 ? 'is-invalid' : '',\"minMatchingChars\":3,\"placeholder\":_vm.$t('firefly.category'),\"serializer\":function (item) { return item.name; },\"showOnFocus\":true,\"inputName\":\"category[]\"},on:{\"hit\":function($event){_vm.selectedCategory = $event},\"input\":_vm.lookupCategory},model:{value:(_vm.category),callback:function ($$v) {_vm.category=$$v},expression:\"category\"}},[_c('template',{slot:\"append\"},[_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"},on:{\"click\":_vm.clearCategory}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])],2),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionBill.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.bill') }}\n </div>\n <div class=\"input-group\">\n <select\n ref=\"bill\"\n v-model=\"bill\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :title=\"$t('firefly.bill')\"\n autocomplete=\"off\"\n name=\"bill_id[]\"\n >\n <option v-for=\"bill in this.billList\" :label=\"bill.name\" :value=\"bill.id\">{{ bill.name }}</option>\n\n </select>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['value', 'index', 'errors'],\n name: \"TransactionBill\",\n data() {\n return {\n billList: [],\n bill: this.value,\n emitEvent: true\n }\n },\n created() {\n this.collectData();\n },\n methods: {\n collectData() {\n this.billList.push(\n {\n id: 0,\n name: this.$t('firefly.no_bill'),\n }\n );\n this.getBills();\n },\n getBills() {\n axios.get('./api/v1/bills')\n .then(response => {\n this.parseBills(response.data);\n }\n );\n },\n parseBills(data) {\n for (let key in data.data) {\n if (data.data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = data.data[key];\n this.billList.push(\n {\n id: parseInt(current.id),\n name: current.attributes.name\n }\n );\n }\n }\n },\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.bill = value;\n },\n bill: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'bill_id', index: this.index, value: value});\n }\n this.emitEvent = true;\n }\n },\n}\n</script>\n\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBill.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBill.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionBill.vue?vue&type=template&id=07ad05c8&\"\nimport script from \"./TransactionBill.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionBill.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.bill'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.bill),expression:\"bill\"}],ref:\"bill\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"title\":_vm.$t('firefly.bill'),\"autocomplete\":\"off\",\"name\":\"bill_id[]\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.bill=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((this.billList),function(bill){return _c('option',{attrs:{\"label\":bill.name},domProps:{\"value\":bill.id}},[_vm._v(_vm._s(bill.name))])}),0)]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {\nvar this$1 = this;\nvar _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.tags'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('vue-tags-input',{attrs:{\"add-only-from-autocomplete\":false,\"autocomplete-items\":_vm.autocompleteItems,\"tags\":_vm.tags,\"title\":_vm.$t('firefly.tags'),\"placeholder\":_vm.$t('firefly.tags')},on:{\"tags-changed\":function (newTags) { return this$1.tags = newTags; }},model:{value:(_vm.currentTag),callback:function ($$v) {_vm.currentTag=$$v},expression:\"currentTag\"}})],1),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionTags.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.tags') }}\n </div>\n <div class=\"input-group\">\n <vue-tags-input\n v-model=\"currentTag\"\n :add-only-from-autocomplete=\"false\"\n :autocomplete-items=\"autocompleteItems\"\n :tags=\"tags\"\n :title=\"$t('firefly.tags')\"\n v-bind:placeholder=\"$t('firefly.tags')\"\n @tags-changed=\"newTags => this.tags = newTags\"\n />\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nimport VueTagsInput from \"@johmun/vue-tags-input\";\nimport axios from \"axios\";\n\nexport default {\n name: \"TransactionTags\",\n components: {\n VueTagsInput\n },\n props: ['value', 'index', 'errors'],\n data() {\n return {\n autocompleteItems: [],\n debounce: null,\n tags: [],\n currentTag: '',\n updateTags: true, // the idea is that this is always true, except when the tags-function sets the value.\n tagList: this.value,\n emitEvent: true\n };\n },\n created() {\n let tags = [];\n for (let i in this.value) {\n if (this.value.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n tags.push({text: this.value[i]});\n }\n }\n this.updateTags = false;\n this.tags = tags;\n },\n watch: {\n 'currentTag': 'initItems',\n value: function (value) {\n this.emitEvent = false;\n this.tagList = value;\n },\n tagList: function (value) {\n console.log('watch tagList');\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'tags', index: this.index, value: value});\n }\n this.emitEvent = true;\n this.updateTags = false;\n this.tags = value;\n },\n tags: function (value) {\n if (this.updateTags) {\n let shortList = [];\n for (let key in value) {\n if (value.hasOwnProperty(key)) {\n shortList.push({text: value[key].text});\n }\n }\n this.tagList = shortList;\n }\n this.updateTags = true;\n }\n },\n methods: {\n initItems() {\n if (this.currentTag.length < 2) {\n return;\n }\n const url = document.getElementsByTagName('base')[0].href + `api/v1/autocomplete/tags?query=${this.currentTag}`;\n\n clearTimeout(this.debounce);\n this.debounce = setTimeout(() => {\n axios.get(url).then(response => {\n this.autocompleteItems = response.data.map(item => {\n return {text: item.tag};\n });\n }).catch(() => console.warn('Oh. Something went wrong loading tags.'));\n }, 300);\n },\n },\n\n\n}\n</script>\n<style>\n.vue-tags-input {\n width: 100%;\n max-width: 100% !important;\n display: block;\n border-radius: 0.25rem;\n}\n\n.ti-input {\n border-radius: 0.25rem;\n max-width: 100%;\n width: 100%;\n}\n\n.ti-new-tag-input {\n font-size: 1rem;\n}\n</style>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionTags.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionTags.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionTags.vue?vue&type=template&id=834226ea&\"\nimport script from \"./TransactionTags.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionTags.vue?vue&type=script&lang=js&\"\nimport style0 from \"./TransactionTags.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<!--\n - TransactionPiggyBank.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.piggy_bank') }}\n </div>\n <div class=\"input-group\">\n <select\n ref=\"piggy_bank_id\"\n v-model=\"piggy_bank_id\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :title=\"$t('firefly.piggy_bank')\"\n autocomplete=\"off\"\n name=\"piggy_bank_id[]\"\n >\n <option v-for=\"piggy in this.piggyList\" :label=\"piggy.name_with_balance\" :value=\"piggy.id\">{{ piggy.name_with_balance }}</option>\n\n </select>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nexport default {\n props: ['index', 'value', 'errors'],\n name: \"TransactionPiggyBank\",\n data() {\n return {\n piggyList: [],\n piggy_bank_id: this.value,\n emitEvent: true\n }\n },\n created() {\n this.collectData();\n },\n methods: {\n collectData() {\n this.piggyList.push(\n {\n id: 0,\n name_with_balance: this.$t('firefly.no_piggy_bank'),\n }\n );\n this.getPiggies();\n },\n getPiggies() {\n axios.get('./api/v1/autocomplete/piggy-banks-with-balance')\n .then(response => {\n this.parsePiggies(response.data);\n }\n );\n },\n parsePiggies(data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = data[key];\n this.piggyList.push(\n {\n id: parseInt(current.id),\n name_with_balance: current.name_with_balance\n }\n );\n }\n }\n },\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.piggy_bank_id = value;\n },\n piggy_bank_id: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'piggy_bank_id', index: this.index, value: value});\n }\n this.emitEvent = true;\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionPiggyBank.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionPiggyBank.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionPiggyBank.vue?vue&type=template&id=18931396&\"\nimport script from \"./TransactionPiggyBank.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionPiggyBank.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.piggy_bank'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.piggy_bank_id),expression:\"piggy_bank_id\"}],ref:\"piggy_bank_id\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"title\":_vm.$t('firefly.piggy_bank'),\"autocomplete\":\"off\",\"name\":\"piggy_bank_id[]\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.piggy_bank_id=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((this.piggyList),function(piggy){return _c('option',{attrs:{\"label\":piggy.name_with_balance},domProps:{\"value\":piggy.id}},[_vm._v(_vm._s(piggy.name_with_balance))])}),0)]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionInternalReference.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.internal_reference') }}\n </div>\n <div class=\"input-group\">\n <input\n v-model=\"reference\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.internal_reference')\"\n name=\"internal_reference[]\"\n type=\"text\"\n />\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors', 'customFields'],\n name: \"TransactionInternalReference\",\n data() {\n return {\n reference: this.value,\n availableFields: this.customFields,\n emitEvent: true\n }\n },\n computed: {\n showField: function () {\n if ('internal_reference' in this.availableFields) {\n return this.availableFields.internal_reference;\n }\n return false;\n }\n },\n methods: {},\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n value: function (value) {\n this.emitEvent = false;\n this.reference = value;\n },\n reference: function (value) {\n this.$emit('set-field', {field: 'internal_reference', index: this.index, value: value});\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionInternalReference.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionInternalReference.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionInternalReference.vue?vue&type=template&id=7f1b8c1d&\"\nimport script from \"./TransactionInternalReference.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionInternalReference.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.internal_reference'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.reference),expression:\"reference\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.internal_reference'),\"name\":\"internal_reference[]\",\"type\":\"text\"},domProps:{\"value\":(_vm.reference)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.reference=$event.target.value}}}),_vm._v(\" \"),_vm._m(0)])]):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])}]\n\nexport { render, staticRenderFns }","<!--\n - TransactionInternalReference.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.external_url') }}\n </div>\n <div class=\"input-group\">\n <input\n v-model=\"url\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.external_url')\"\n name=\"external_url[]\"\n type=\"url\"\n />\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors', 'customFields'],\n name: \"TransactionExternalUrl\",\n data() {\n return {\n url: this.value,\n availableFields: this.customFields,\n }\n },\n computed: {\n showField: function () {\n if ('external_uri' in this.availableFields) {\n return this.availableFields.external_uri;\n }\n return false;\n }\n },\n methods: {},\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n value: function (value) {\n this.url = value;\n },\n url: function (value) {\n this.$emit('set-field', {field: 'external_url', index: this.index, value: value});\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionExternalUrl.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionExternalUrl.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionExternalUrl.vue?vue&type=template&id=7f6746e6&scoped=true&\"\nimport script from \"./TransactionExternalUrl.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionExternalUrl.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7f6746e6\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.external_url'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.url),expression:\"url\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.external_url'),\"name\":\"external_url[]\",\"type\":\"url\"},domProps:{\"value\":(_vm.url)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.url=$event.target.value}}}),_vm._v(\" \"),_vm._m(0)])]):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])}]\n\nexport { render, staticRenderFns }","<!--\n - TransactionNotes.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.notes') }}\n </div>\n <div class=\"input-group\">\n <textarea\n v-model=\"notes\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.notes')\"\n ></textarea>\n </div>\n </div>\n\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors', 'customFields'],\n name: \"TransactionNotes\",\n data() {\n return {\n notes: this.value,\n availableFields: this.customFields,\n emitEvent: true\n }\n },\n computed: {\n showField: function () {\n if ('notes' in this.availableFields) {\n return this.availableFields.notes;\n }\n return false;\n }\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.notes = value;\n },\n customFields: function (value) {\n this.availableFields = value;\n },\n notes: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'notes', index: this.index, value: value});\n }\n this.emitEvent = true;\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionNotes.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionNotes.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionNotes.vue?vue&type=template&id=10b3ae7a&scoped=true&\"\nimport script from \"./TransactionNotes.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionNotes.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"10b3ae7a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.notes'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.notes),expression:\"notes\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.notes')},domProps:{\"value\":(_vm.notes)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.notes=$event.target.value}}})])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',[_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.journal_links'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[(_vm.links.length === 0)?_c('p',[_c('button',{staticClass:\"btn btn-default btn-xs\",attrs:{\"data-target\":\"#linkModal\",\"data-toggle\":\"modal\"},on:{\"click\":_vm.resetModal}},[_c('i',{staticClass:\"fas fa-plus\"}),_vm._v(\" Add transaction link\")])]):_vm._e(),_vm._v(\" \"),(_vm.links.length > 0)?_c('ul',{staticClass:\"list-group\"},_vm._l((_vm.links),function(transaction,index){return _c('li',{key:index,staticClass:\"list-group-item\"},[_c('em',[_vm._v(_vm._s(_vm.getTextForLinkType(transaction.link_type_id)))]),_vm._v(\" \"),_c('a',{attrs:{\"href\":\"./transaction/show/\" + transaction.transaction_group_id}},[_vm._v(_vm._s(transaction.description))]),_vm._v(\" \"),(transaction.type === 'withdrawal')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-danger\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount) * -1)))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(transaction.type === 'deposit')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-success\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(transaction.type === 'transfer')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-info\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"btn-group btn-group-xs float-right\"},[_c('button',{staticClass:\"btn btn-xs btn-danger\",attrs:{\"tabindex\":\"-1\"},on:{\"click\":function($event){return _vm.removeLink(index)}}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])}),0):_vm._e(),_vm._v(\" \"),(_vm.links.length > 0)?_c('div',{staticClass:\"form-text\"},[_c('button',{staticClass:\"btn btn-default\",attrs:{\"data-target\":\"#linkModal\",\"data-toggle\":\"modal\"},on:{\"click\":_vm.resetModal}},[_c('i',{staticClass:\"fas fa-plus\"})])]):_vm._e()])])]),_vm._v(\" \"),_c('div',{ref:\"linkModal\",staticClass:\"modal\",attrs:{\"id\":\"linkModal\",\"tabindex\":\"-1\"}},[_c('div',{staticClass:\"modal-dialog modal-lg\"},[_c('div',{staticClass:\"modal-content\"},[_vm._m(0),_vm._v(\" \"),_c('div',{staticClass:\"modal-body\"},[_c('div',{staticClass:\"container-fluid\"},[_vm._m(1),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.search($event)}}},[_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.query),expression:\"query\"}],staticClass:\"form-control\",attrs:{\"id\":\"query\",\"autocomplete\":\"off\",\"maxlength\":\"255\",\"name\":\"search\",\"placeholder\":\"Search query\",\"type\":\"text\"},domProps:{\"value\":(_vm.query)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.query=$event.target.value}}}),_vm._v(\" \"),_vm._m(2)])])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[(_vm.searching)?_c('span',[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e(),_vm._v(\" \"),(_vm.searchResults.length > 0)?_c('h4',[_vm._v(_vm._s(_vm.$t('firefly.search_results')))]):_vm._e(),_vm._v(\" \"),(_vm.searchResults.length > 0)?_c('table',{staticClass:\"table table-sm\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.search_results')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{staticStyle:{\"width\":\"33%\"},attrs:{\"scope\":\"col\",\"colspan\":\"2\"}},[_vm._v(_vm._s(_vm.$t('firefly.include')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.transaction')))])])]),_vm._v(\" \"),_c('tbody',_vm._l((_vm.searchResults),function(result){return _c('tr',[_c('td',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(result.selected),expression:\"result.selected\"}],staticClass:\"form-control\",attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(result.selected)?_vm._i(result.selected,null)>-1:(result.selected)},on:{\"change\":[function($event){var $$a=result.selected,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(result, \"selected\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(result, \"selected\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(result, \"selected\", $$c)}},function($event){return _vm.selectTransaction($event)}]}})]),_vm._v(\" \"),_c('td',[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(result.link_type_id),expression:\"result.link_type_id\"}],staticClass:\"form-control\",on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(result, \"link_type_id\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])},function($event){return _vm.selectLinkType($event)}]}},_vm._l((_vm.linkTypes),function(linkType){return _c('option',{attrs:{\"label\":linkType.type},domProps:{\"value\":linkType.id + '-' + linkType.direction}},[_vm._v(_vm._s(linkType.type)+\"\\n \")])}),0)]),_vm._v(\" \"),_c('td',[_c('a',{attrs:{\"href\":'./transactions/show/' + result.transaction_group_id}},[_vm._v(_vm._s(result.description))]),_vm._v(\" \"),(result.type === 'withdrawal')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-danger\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount) * -1)))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(result.type === 'deposit')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-success\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(result.type === 'transfer')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-info\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),_c('br'),_vm._v(\" \"),_c('em',[_c('a',{attrs:{\"href\":'./accounts/show/' + result.source_id}},[_vm._v(_vm._s(result.source_name))]),_vm._v(\"\\n →\\n \"),_c('a',{attrs:{\"href\":'./accounts/show/' + result.destination_id}},[_vm._v(_vm._s(result.destination_name))])])])])}),0)]):_vm._e()])])])]),_vm._v(\" \"),_vm._m(3)])])])]):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"modal-header\"},[_c('h5',{staticClass:\"modal-title\"},[_vm._v(\"Transaction thing dialog.\")]),_vm._v(\" \"),_c('button',{staticClass:\"close\",attrs:{\"aria-label\":\"Close\",\"data-dismiss\":\"modal\",\"type\":\"button\"}},[_c('span',{attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"×\")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('p',[_vm._v(\"\\n Use this form to search for transactions you wish to link to this one. When in doubt, use \"),_c('code',[_vm._v(\"id:*\")]),_vm._v(\" where the ID is the number from\\n the URL.\\n \")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-default\",attrs:{\"type\":\"submit\"}},[_c('i',{staticClass:\"fas fa-search\"}),_vm._v(\" Search\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"modal-footer\"},[_c('button',{staticClass:\"btn btn-secondary\",attrs:{\"data-dismiss\":\"modal\",\"type\":\"button\"}},[_vm._v(\"Close\")])])}]\n\nexport { render, staticRenderFns }","<!--\n - TransactionLinks.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\">\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.journal_links') }}\n </div>\n <div class=\"row\">\n <div class=\"col\">\n <p v-if=\"links.length === 0\">\n <button class=\"btn btn-default btn-xs\" data-target=\"#linkModal\" @click=\"resetModal\" data-toggle=\"modal\"><i class=\"fas fa-plus\"></i> Add transaction link</button>\n </p>\n <ul v-if=\"links.length > 0\" class=\"list-group\">\n <li v-for=\"(transaction, index) in links\" class=\"list-group-item\" v-bind:key=\"index\">\n <em>{{ getTextForLinkType(transaction.link_type_id) }}</em>\n <a :href='\"./transaction/show/\" + transaction.transaction_group_id'>{{ transaction.description }}</a>\n\n <span v-if=\"transaction.type === 'withdrawal'\">\n (<span class=\"text-danger\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount) * -1)\n }}</span>)\n </span>\n <span v-if=\"transaction.type === 'deposit'\">\n (<span class=\"text-success\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))\n }}</span>)\n </span>\n <span v-if=\"transaction.type === 'transfer'\">\n (<span class=\"text-info\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))\n }}</span>)\n </span>\n <div class=\"btn-group btn-group-xs float-right\">\n <button class=\"btn btn-xs btn-danger\" @click=\"removeLink(index)\" tabindex=\"-1\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </li>\n </ul>\n <div v-if=\"links.length > 0\" class=\"form-text\">\n <button class=\"btn btn-default\" @click=\"resetModal\" data-target=\"#linkModal\" data-toggle=\"modal\"><i class=\"fas fa-plus\"></i></button>\n </div>\n </div>\n </div>\n </div>\n <!-- modal -->\n <div id=\"linkModal\" class=\"modal\" tabindex=\"-1\" ref=\"linkModal\">\n <div class=\"modal-dialog modal-lg\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <h5 class=\"modal-title\">Transaction thing dialog.</h5>\n <button aria-label=\"Close\" class=\"close\" data-dismiss=\"modal\" type=\"button\">\n <span aria-hidden=\"true\">×</span>\n </button>\n </div>\n <div class=\"modal-body\">\n <div class=\"container-fluid\">\n <div class=\"row\">\n <div class=\"col\">\n <p>\n Use this form to search for transactions you wish to link to this one. When in doubt, use <code>id:*</code> where the ID is the number from\n the URL.\n </p>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col\">\n <form v-on:submit.prevent=\"search\">\n <div class=\"input-group\">\n <input id=\"query\" v-model=\"query\" autocomplete=\"off\" class=\"form-control\" maxlength=\"255\" name=\"search\"\n placeholder=\"Search query\" type=\"text\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-default\" type=\"submit\"><i class=\"fas fa-search\"></i> Search</button>\n </div>\n </div>\n </form>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col\">\n <span v-if=\"searching\"><i class=\"fas fa-spinner fa-spin\"></i></span>\n <h4 v-if=\"searchResults.length > 0\">{{ $t('firefly.search_results') }}</h4>\n <table v-if=\"searchResults.length > 0\" class=\"table table-sm\">\n <caption style=\"display:none;\">{{ $t('firefly.search_results') }}</caption>\n <thead>\n <tr>\n <th scope=\"col\" colspan=\"2\" style=\"width:33%\">{{ $t('firefly.include') }}</th>\n <th scope=\"col\">{{ $t('firefly.transaction') }}</th>\n </tr>\n </thead>\n <tbody>\n <tr v-for=\"result in searchResults\">\n <td>\n <input v-model=\"result.selected\" class=\"form-control\"\n type=\"checkbox\"\n @change=\"selectTransaction($event)\"\n />\n </td>\n <td>\n <select\n v-model=\"result.link_type_id\"\n class=\"form-control\"\n @change=\"selectLinkType($event)\"\n >\n <option v-for=\"linkType in linkTypes\" :label=\"linkType.type\" :value=\"linkType.id + '-' + linkType.direction\">{{\n linkType.type\n }}\n </option>\n </select>\n </td>\n <td>\n <a :href=\"'./transactions/show/' + result.transaction_group_id\">{{ result.description }}</a>\n <span v-if=\"result.type === 'withdrawal'\">\n (<span class=\"text-danger\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount) * -1)\n }}</span>)\n </span>\n <span v-if=\"result.type === 'deposit'\">\n (<span class=\"text-success\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount))\n }}</span>)\n </span>\n <span v-if=\"result.type === 'transfer'\">\n (<span class=\"text-info\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount))\n }}</span>)\n </span>\n <br/>\n <em>\n <a :href=\"'./accounts/show/' + result.source_id\">{{ result.source_name }}</a>\n →\n <a :href=\"'./accounts/show/' + result.destination_id\">{{ result.destination_name }}</a>\n </em>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n </div>\n <div class=\"modal-footer\">\n <button class=\"btn btn-secondary\" data-dismiss=\"modal\" type=\"button\">Close</button>\n </div>\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nconst lodashClonedeep = require('lodash.clonedeep');\n// TODO error handling\nexport default {\n props: ['index', 'value', 'errors', 'customFields'],\n name: \"TransactionLinks\",\n data() {\n return {\n searchResults: [],\n include: [],\n locale: 'en-US',\n linkTypes: [],\n query: '',\n searching: false,\n links: this.value,\n availableFields: this.customFields,\n emitEvent: true\n }\n },\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n this.emitEvent = false;\n this.links = lodashClonedeep(this.value);\n this.getLinkTypes();\n\n },\n computed: {\n showField: function () {\n if ('links' in this.availableFields) {\n return this.availableFields.links;\n }\n return false;\n }\n },\n watch: {\n value: function (value) {\n if (null !== value) {\n this.emitEvent = false;\n this.links = lodashClonedeep(value);\n }\n },\n links: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {index: this.index, field: 'links', value: lodashClonedeep(value)});\n }\n this.emitEvent = true;\n },\n customFields: function (value) {\n this.availableFields = value;\n }\n },\n methods: {\n removeLink: function (index) {\n this.links.splice(index, 1);\n },\n getTextForLinkType: function (linkTypeId) {\n let parts = linkTypeId.split('-');\n for (let i in this.linkTypes) {\n if (this.linkTypes.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.linkTypes[i];\n if (parts[0] === current.id && parts[1] === current.direction) {\n return current.type;\n }\n }\n }\n return 'text for #' + linkTypeId;\n },\n selectTransaction: function (event) {\n for (let i in this.searchResults) {\n if (this.searchResults.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.searchResults[i];\n if (current.selected) {\n this.addToSelected(current);\n }\n if (!current.selected) {\n // remove from\n this.removeFromSelected(current);\n }\n }\n }\n },\n selectLinkType: function (event) {\n for (let i in this.searchResults) {\n if (this.searchResults.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.searchResults[i];\n this.updateSelected(current.transaction_journal_id, current.link_type_id);\n }\n }\n },\n updateSelected(journalId, linkTypeId) {\n for (let i in this.links) {\n if (this.links.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.links[i];\n if (parseInt(current.transaction_journal_id) === journalId) {\n this.links[i].link_type_id = linkTypeId;\n }\n }\n }\n },\n addToSelected(journal) {\n let result = this.links.find(({transaction_journal_id}) => transaction_journal_id === journal.transaction_journal_id);\n if (typeof result === 'undefined') {\n this.links.push(journal);\n }\n },\n removeFromSelected(journal) {\n for (let i in this.links) {\n if (this.links.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.links[i];\n if (current.transaction_journal_id === journal.transaction_journal_id) {\n this.links.splice(parseInt(i), 1);\n }\n }\n }\n },\n getLinkTypes: function () {\n let url = './api/v1/link_types';\n axios.get(url)\n .then(response => {\n this.parseLinkTypes(response.data);\n }\n );\n },\n resetModal: function() {\n this.search();\n },\n parseLinkTypes: function (data) {\n for (let i in data.data) {\n if (data.data.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = data.data[i];\n let linkTypeInward = {\n id: current.id,\n type: current.attributes.inward,\n direction: 'inward'\n };\n let linkTypeOutward = {\n id: current.id,\n type: current.attributes.outward,\n direction: 'outward'\n };\n if (linkTypeInward.type === linkTypeOutward.type) {\n linkTypeInward.type = linkTypeInward.type + ' (←)';\n linkTypeOutward.type = linkTypeOutward.type + ' (→)';\n }\n this.linkTypes.push(linkTypeInward);\n this.linkTypes.push(linkTypeOutward);\n }\n }\n },\n search: function () {\n if('' === this.query) {\n this.searchResults = [];\n return;\n }\n this.searching = true;\n this.searchResults = [];\n let url = './api/v1/search/transactions?limit=10&query=' + this.query;\n axios.get(url)\n .then(response => {\n this.parseSearch(response.data);\n }\n );\n },\n parseSearch: function (data) {\n for (let i in data.data) {\n if (data.data.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n for (let ii in data.data[i].attributes.transactions) {\n if (data.data[i].attributes.transactions.hasOwnProperty(ii) && /^0$|^[1-9]\\d*$/.test(ii) && ii <= 4294967294) {\n let current = data.data[i].attributes.transactions[ii];\n current.transaction_group_id = parseInt(data.data[i].id);\n current.selected = this.isJournalSelected(current.transaction_journal_id);\n current.link_type_id = this.getJournalLinkType(current.transaction_journal_id);\n current.link_type_text = '';\n this.searchResults.push(current);\n }\n }\n }\n }\n this.searching = false;\n },\n getJournalLinkType: function (journalId) {\n for (let i in this.links) {\n if (this.links.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.links[i];\n if (current.transaction_journal_id === journalId) {\n return current.link_type_id;\n }\n }\n }\n return '1-inward';\n },\n isJournalSelected: function (journalId) {\n for (let i in this.links) {\n if (this.links.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.links[i];\n if (current.transaction_journal_id === journalId) {\n return true;\n }\n }\n }\n return false;\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionLinks.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionLinks.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionLinks.vue?vue&type=template&id=a69356e6&\"\nimport script from \"./TransactionLinks.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionLinks.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<!--\n - TransactionAttachments.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.attachments') }}\n </div>\n <div class=\"input-group\">\n <input\n ref=\"att\"\n class=\"form-control\"\n multiple\n @change=\"selectedFile\"\n name=\"attachments[]\"\n type=\"file\"\n />\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"TransactionAttachments\",\n props: ['transaction_journal_id', 'customFields'],\n data() {\n return {\n availableFields: this.customFields\n }\n },\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n transaction_journal_id: function (value) {\n if (!this.showField) {\n // console.log('Field is hidden. Emit event!');\n this.$emit('uploaded-attachments', value);\n return;\n }\n // console.log('transaction_journal_id changed to ' + value);\n // do upload!\n if (0 !== value) {\n this.doUpload();\n }\n }\n },\n computed: {\n showField: function () {\n if ('attachments' in this.availableFields) {\n return this.availableFields.attachments;\n }\n return false;\n }\n },\n methods: {\n selectedFile: function() {\n this.$emit('selected-attachments', this.transaction_journal_id);\n },\n doUpload: function () {\n // console.log('Now in doUpload() for ' + this.$refs.att.files.length + ' files.');\n for (let i in this.$refs.att.files) {\n if (this.$refs.att.files.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.$refs.att.files[i];\n let fileReader = new FileReader();\n let theParent = this; // dont ask me why i need to do this.\n fileReader.onloadend = function (evt) {\n if (evt.target.readyState === FileReader.DONE) {\n // do upload here\n const uri = './api/v1/attachments';\n const data = {\n filename: current.name,\n attachable_type: 'TransactionJournal',\n attachable_id: theParent.transaction_journal_id,\n };\n // create new attachment:\n axios.post(uri, data).then(response => {\n // upload actual file:\n const uploadUri = './api/v1/attachments/' + response.data.data.id + '/upload';\n axios\n .post(uploadUri, new Blob([evt.target.result]))\n .then(attachmentResponse => {\n // TODO feedback etc.\n // console.log('Uploaded a file. Emit event!');\n // console.log(attachmentResponse);\n theParent.$emit('uploaded-attachments', this.transaction_journal_id);\n });\n });\n }\n }\n fileReader.readAsArrayBuffer(current);\n }\n }\n if (0 === this.$refs.att.files.length) {\n // console.log('No files to upload. Emit event!');\n this.$emit('uploaded-attachments', this.transaction_journal_id);\n }\n }\n }\n\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAttachments.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAttachments.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionAttachments.vue?vue&type=template&id=c0a65b6c&scoped=true&\"\nimport script from \"./TransactionAttachments.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionAttachments.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c0a65b6c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.attachments'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{ref:\"att\",staticClass:\"form-control\",attrs:{\"multiple\":\"\",\"name\":\"attachments[]\",\"type\":\"file\"},on:{\"change\":_vm.selectedFile}})])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionLocation.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.location') }}\n </div>\n <div style=\"width:100%;height:300px;\">\n <l-map\n ref=\"myMap\"\n :center=\"center\"\n :zoom=\"zoom\" style=\"width:100%;height:300px;\"\n @ready=\"prepMap()\"\n @update:zoom=\"zoomUpdated\"\n @update:center=\"centerUpdated\"\n @update:bounds=\"boundsUpdated\"\n >\n <l-tile-layer :url=\"url\"></l-tile-layer>\n <l-marker :lat-lng=\"marker\" :visible=\"hasMarker\"></l-marker>\n </l-map>\n <span>\n <button class=\"btn btn-default btn-xs\" @click=\"clearLocation\">{{ $t('firefly.clear_location') }}</button>\n </span>\n </div>\n <p> </p>\n </div>\n</template>\n\n<script>\n\n// If you need to reference 'L', such as in 'L.icon', then be sure to\n// explicitly import 'leaflet' into your component\n// import L from 'leaflet';\nimport {LMap, LMarker, LTileLayer} from 'vue2-leaflet';\nimport 'leaflet/dist/leaflet.css';\n\nimport L from 'leaflet';\n\ndelete L.Icon.Default.prototype._getIconUrl;\n\nL.Icon.Default.mergeOptions({\n iconRetinaUrl: require('leaflet/dist/images/marker-icon-2x.png'),\n iconUrl: require('leaflet/dist/images/marker-icon.png'),\n shadowUrl: require('leaflet/dist/images/marker-shadow.png')\n });\n\nexport default {\n name: \"TransactionLocation\",\n props: {\n index: {},\n value: {\n type: Object,\n required: false\n },\n errors: {},\n customFields: {},\n },\n components: {\n LMap,\n LTileLayer,\n LMarker,\n },\n created() {\n if (null === this.value || typeof this.value === 'undefined') {\n axios.get('./api/v1/configuration/firefly.default_location').then(response => {\n this.zoom = parseInt(response.data.data.value.zoom_level);\n this.center =\n [\n parseFloat(response.data.data.value.latitude),\n parseFloat(response.data.data.value.longitude),\n ]\n ;\n });\n return;\n }\n if (null !== this.value.zoom_level && null !== this.value.latitude && null !== this.value.longitude) {\n this.zoom = this.value.zoom_level;\n this.center = [\n parseFloat(this.value.latitude),\n parseFloat(this.value.longitude),\n ];\n this.hasMarker = true;\n }\n },\n data() {\n return {\n availableFields: this.customFields,\n url: 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',\n zoom: 3,\n center: [0, 0],\n bounds: null,\n map: null,\n hasMarker: false,\n marker: [0, 0],\n }\n },\n methods: {\n prepMap: function () {\n this.map = this.$refs.myMap.mapObject;\n this.map.on('contextmenu', this.setObjectLocation);\n this.map.on('zoomend', this.saveZoomLevel);\n },\n setObjectLocation: function (event) {\n this.marker = [event.latlng.lat, event.latlng.lng];\n this.hasMarker = true;\n this.emitEvent();\n },\n saveZoomLevel: function () {\n this.emitEvent();\n },\n clearLocation: function () {\n this.hasMarker = false;\n this.emitEvent();\n },\n emitEvent() {\n this.$emit('set-marker-location', {\n index: this.index,\n zoomLevel: this.zoom,\n lat: this.marker[0],\n lng: this.marker[1],\n hasMarker: this.hasMarker\n }\n );\n },\n zoomUpdated(zoom) {\n this.zoom = zoom;\n },\n centerUpdated(center) {\n this.center = center;\n },\n boundsUpdated(bounds) {\n this.bounds = bounds;\n }\n },\n computed: {\n showField: function () {\n if ('location' in this.availableFields) {\n return this.availableFields.location;\n }\n return false;\n }\n },\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionLocation.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionLocation.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionLocation.vue?vue&type=template&id=3bafa3c9&scoped=true&\"\nimport script from \"./TransactionLocation.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionLocation.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3bafa3c9\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.location'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticStyle:{\"width\":\"100%\",\"height\":\"300px\"}},[_c('l-map',{ref:\"myMap\",staticStyle:{\"width\":\"100%\",\"height\":\"300px\"},attrs:{\"center\":_vm.center,\"zoom\":_vm.zoom},on:{\"ready\":function($event){return _vm.prepMap()},\"update:zoom\":_vm.zoomUpdated,\"update:center\":_vm.centerUpdated,\"update:bounds\":_vm.boundsUpdated}},[_c('l-tile-layer',{attrs:{\"url\":_vm.url}}),_vm._v(\" \"),_c('l-marker',{attrs:{\"lat-lng\":_vm.marker,\"visible\":_vm.hasMarker}})],1),_vm._v(\" \"),_c('span',[_c('button',{staticClass:\"btn btn-default btn-xs\",on:{\"click\":_vm.clearLocation}},[_vm._v(_vm._s(_vm.$t('firefly.clear_location')))])])],1),_vm._v(\" \"),_c('p',[_vm._v(\" \")])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitForm.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitForm.vue?vue&type=script&lang=js&\"","<!--\n - SplitForm.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div :id=\"'split_' + index\" :class=\"'tab-pane' + (0===index ? ' active' : '')\">\n <div class=\"row\">\n <div class=\"col\">\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">\n {{ $t('firefly.basic_journal_information') }}\n <span v-if=\"count > 1\">({{ index + 1 }} / {{ count }}) </span>\n </h3>\n <div v-if=\"count>1\" class=\"card-tools\">\n <button class=\"btn btn-danger btn-xs\" @click=\"removeTransaction\"><i class=\"fas fa-trash-alt\"></i></button>\n </div>\n </div>\n <div class=\"card-body\">\n <!-- start of body -->\n <div class=\"row\">\n <div class=\"col\">\n <TransactionDescription\n v-model=\"transaction.description\"\n v-on=\"$listeners\"\n :errors=\"transaction.errors.description\"\n :index=\"index\"\n ></TransactionDescription>\n </div>\n </div>\n <!-- source and destination -->\n <div class=\"row\">\n <div class=\"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12\">\n <!-- SOURCE -->\n <TransactionAccount\n v-model=\"sourceAccount\"\n v-on=\"$listeners\"\n :destination-allowed-types=\"destinationAllowedTypes\"\n :errors=\"transaction.errors.source\"\n :index=\"index\"\n :source-allowed-types=\"sourceAllowedTypes\"\n :transaction-type=\"transactionType\"\n direction=\"source\"\n />\n </div>\n <!-- switcharoo! -->\n <div class=\"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block\">\n <SwitchAccount\n v-if=\"0 === index && allowSwitch\"\n v-on=\"$listeners\"\n :index=\"index\"\n :transaction-type=\"transactionType\"\n />\n </div>\n\n <!-- destination -->\n <div class=\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\">\n <!-- DESTINATION -->\n <TransactionAccount\n v-model=\"destinationAccount\"\n v-on=\"$listeners\"\n :destination-allowed-types=\"destinationAllowedTypes\"\n :errors=\"transaction.errors.destination\"\n :index=\"index\"\n :transaction-type=\"transactionType\"\n :source-allowed-types=\"sourceAllowedTypes\"\n direction=\"destination\"\n />\n </div>\n </div>\n\n\n <!-- amount -->\n <div class=\"row\">\n <div class=\"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12\">\n <!-- AMOUNT -->\n <TransactionAmount\n v-on=\"$listeners\"\n :amount=\"transaction.amount\"\n :destination-currency-symbol=\"this.transaction.destination_account_currency_symbol\"\n :errors=\"transaction.errors.amount\"\n :index=\"index\"\n :source-currency-symbol=\"this.transaction.source_account_currency_symbol\"\n :transaction-type=\"this.transactionType\"\n />\n </div>\n <div class=\"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block\">\n <TransactionForeignCurrency\n v-model=\"transaction.foreign_currency_id\"\n v-on=\"$listeners\"\n :destination-currency-id=\"this.transaction.destination_account_currency_id\"\n :index=\"index\"\n :selected-currency-id=\"this.transaction.foreign_currency_id\"\n :source-currency-id=\"this.transaction.source_account_currency_id\"\n :transaction-type=\"this.transactionType\"\n />\n </div>\n <div class=\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\">\n <!--\n The reason that TransactionAmount gets the symbols and\n TransactionForeignAmount gets the ID's of the currencies is\n because ultimately TransactionAmount doesn't decide which\n currency id is submitted to Firefly III.\n -->\n <TransactionForeignAmount\n v-model=\"transaction.foreign_amount\"\n v-on=\"$listeners\"\n :destination-currency-id=\"this.transaction.destination_account_currency_id\"\n :errors=\"transaction.errors.foreign_amount\"\n :index=\"index\"\n :selected-currency-id=\"this.transaction.foreign_currency_id\"\n :source-currency-id=\"this.transaction.source_account_currency_id\"\n :transaction-type=\"this.transactionType\"\n />\n </div>\n </div>\n\n <!-- dates -->\n <div class=\"row\">\n <div class=\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\">\n <TransactionDate\n v-on=\"$listeners\"\n :date=\"splitDate\"\n :errors=\"transaction.errors.date\"\n :index=\"index\"\n />\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: String,\n required: true\n },\n transactionType: {\n type: String,\n required: true\n },\n submittedTransaction: {\n type: Boolean,\n required: false,\n default: false\n }, // need to know if transaction is submitted.\n sourceAllowedTypes: {\n type: Array,\n required: false,\n default: []\n }, // allowed source account types.\n destinationAllowedTypes: {\n type: Array,\n required: false,\n default: []\n },\n // allow switch?\n allowSwitch: {\n type: Boolean,\n required: false,\n default: true\n }\n\n },\n methods: {\n removeTransaction: function () {\n // console.log('Will remove transaction ' + this.index);\n this.$emit('remove-transaction', {index: this.index});\n },\n },\n computed: {\n splitDate: function () {\n return this.date;\n },\n sourceAccount: function () {\n console.log('computed::sourceAccount');\n let value = {\n id: this.transaction.source_account_id,\n name: this.transaction.source_account_name,\n type: this.transaction.source_account_type,\n };\n console.log(JSON.stringify(value));\n return value;\n },\n destinationAccount: function () {\n 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=be46c172&\"\nimport script from \"./SplitForm.vue?vue&type=script&lang=js&\"\nexport * from \"./SplitForm.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<!--\n - SplitPills.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"transactions.length > 1\" class=\"row\">\n <div class=\"col\">\n <!-- tabs -->\n <ul class=\"nav nav-pills ml-auto p-2\">\n <li v-for=\"(transaction, index) in this.transactions\" class=\"nav-item\"><a :class=\"'nav-link' + (0===index ? ' active' : '')\" :href=\"'#split_' + index\"\n data-toggle=\"tab\">\n <span v-if=\"'' !== transaction.description\">{{ transaction.description }}</span>\n <span v-if=\"'' === transaction.description\">Split {{ index + 1 }}</span>\n </a></li>\n </ul>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"SplitPills\",\n props: ['transactions']\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitPills.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitPills.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SplitPills.vue?vue&type=template&id=0e910ecf&\"\nimport script from \"./SplitPills.vue?vue&type=script&lang=js&\"\nexport * from \"./SplitPills.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.transactions.length > 1)?_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('ul',{staticClass:\"nav nav-pills ml-auto p-2\"},_vm._l((this.transactions),function(transaction,index){return _c('li',{staticClass:\"nav-item\"},[_c('a',{class:'nav-link' + (0===index ? ' active' : ''),attrs:{\"href\":'#split_' + index,\"data-toggle\":\"tab\"}},[('' !== transaction.description)?_c('span',[_vm._v(_vm._s(transaction.description))]):_vm._e(),_vm._v(\" \"),('' === transaction.description)?_c('span',[_vm._v(\"Split \"+_vm._s(index + 1))]):_vm._e()])])}),0)])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.split_transaction_title'))+\"\\n \")]),_vm._v(\" \"),_c('vue-typeahead-bootstrap',{attrs:{\"data\":_vm.descriptions,\"inputClass\":_vm.errors.length > 0 ? 'is-invalid' : '',\"minMatchingChars\":3,\"placeholder\":_vm.$t('firefly.split_transaction_title'),\"serializer\":function (item) { return item.description; },\"showOnFocus\":true,\"inputName\":\"group_title\"},on:{\"input\":_vm.lookupDescription},model:{value:(_vm.title),callback:function ($$v) {_vm.title=$$v},expression:\"title\"}},[_c('template',{slot:\"append\"},[_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"},on:{\"click\":_vm.clearDescription}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])],2),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionGroupTitle.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.split_transaction_title') }}\n </div>\n <vue-typeahead-bootstrap\n v-model=\"title\"\n :data=\"descriptions\"\n :inputClass=\"errors.length > 0 ? 'is-invalid' : ''\"\n :minMatchingChars=\"3\"\n :placeholder=\"$t('firefly.split_transaction_title')\"\n :serializer=\"item => item.description\"\n :showOnFocus=true\n inputName=\"group_title\"\n @input=\"lookupDescription\"\n >\n <template slot=\"append\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\" v-on:click=\"clearDescription\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </template>\n </vue-typeahead-bootstrap>\n\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n\n </div>\n</template>\n\n<script>\nimport VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';\nimport {debounce} from \"lodash\";\n\nexport default {\n props: ['value', 'errors'],\n name: \"TransactionGroupTitle\",\n components: {VueTypeaheadBootstrap},\n data() {\n return {\n descriptions: [],\n initialSet: [],\n title: this.value,\n emitEvent: true\n }\n },\n\n created() {\n axios.get(this.getACURL(''))\n .then(response => {\n this.descriptions = response.data;\n this.initialSet = response.data;\n });\n },\n watch: {\n value: function (value) {\n this.title = value;\n },\n title: function (value) {\n this.$emit('set-group-title', value);\n }\n },\n methods: {\n clearDescription: function () {\n this.title = '';\n },\n getACURL: function (query) {\n // update autocomplete URL:\n return document.getElementsByTagName('base')[0].href + 'api/v1/autocomplete/transactions?query=' + query;\n },\n lookupDescription: debounce(function () {\n // update autocomplete URL:\n axios.get(this.getACURL(this.title))\n .then(response => {\n this.descriptions = response.data;\n })\n }, 300)\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionGroupTitle.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionGroupTitle.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionGroupTitle.vue?vue&type=template&id=273271bf&scoped=true&\"\nimport script from \"./TransactionGroupTitle.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionGroupTitle.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"273271bf\",\n null\n \n)\n\nexport default component.exports","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[1]!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[2]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionTags.vue?vue&type=style&index=0&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"bf9ab7ac\", content, true, {});"],"sourceRoot":""}\ No newline at end of file+{"version":3,"sources":["webpack:///./src/bootstrap.js","webpack:///./src/components/store/modules/transactions/create.js","webpack:///./src/components/store/modules/transactions/edit.js","webpack:///./src/components/store/modules/dashboard/index.js","webpack:///./src/components/store/modules/root.js","webpack:///./src/components/store/modules/accounts/index.js","webpack:///./src/components/store/index.js","webpack:///./src/i18n.js","webpack:///src/components/transactions/Create.vue","webpack:///./src/components/transactions/Create.vue?21f2","webpack:///./src/components/transactions/Create.vue","webpack:///./src/components/transactions/Create.vue?7397","webpack:///./src/pages/transactions/create.js","webpack:///./src/shared/transactions.js","webpack:///./src/components/transactions/TransactionTags.vue?1d59","webpack:///src/components/partials/Alert.vue","webpack:///./src/components/partials/Alert.vue?8ba7","webpack:///./src/components/partials/Alert.vue","webpack:///./src/components/partials/Alert.vue?bc9d","webpack:///./src/components/transactions/SplitForm.vue?a77c","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?30df","webpack:///src/components/transactions/TransactionBudget.vue","webpack:///./src/components/transactions/TransactionBudget.vue?00ee","webpack:///./src/components/transactions/TransactionBudget.vue","webpack:///./src/components/transactions/TransactionBudget.vue?9242","webpack:///src/components/transactions/TransactionAccount.vue","webpack:///./src/components/transactions/TransactionAccount.vue?5275","webpack:///./src/components/transactions/TransactionAccount.vue","webpack:///./src/components/transactions/TransactionAccount.vue?20d4","webpack:///src/components/transactions/SwitchAccount.vue","webpack:///./src/components/transactions/SwitchAccount.vue?2eca","webpack:///./src/components/transactions/SwitchAccount.vue","webpack:///./src/components/transactions/SwitchAccount.vue?f18f","webpack:///src/components/transactions/TransactionAmount.vue","webpack:///./src/components/transactions/TransactionAmount.vue?69ff","webpack:///./src/components/transactions/TransactionAmount.vue","webpack:///./src/components/transactions/TransactionAmount.vue?09e1","webpack:///src/components/transactions/TransactionForeignAmount.vue","webpack:///./src/components/transactions/TransactionForeignAmount.vue?ff11","webpack:///./src/components/transactions/TransactionForeignAmount.vue","webpack:///./src/components/transactions/TransactionForeignAmount.vue?1a78","webpack:///src/components/transactions/TransactionForeignCurrency.vue","webpack:///./src/components/transactions/TransactionForeignCurrency.vue?f6a0","webpack:///./src/components/transactions/TransactionForeignCurrency.vue","webpack:///./src/components/transactions/TransactionForeignCurrency.vue?b802","webpack:///src/components/transactions/TransactionCustomDates.vue","webpack:///./src/components/transactions/TransactionCustomDates.vue?c6d3","webpack:///./src/components/transactions/TransactionCustomDates.vue","webpack:///./src/components/transactions/TransactionCustomDates.vue?bc65","webpack:///src/components/transactions/TransactionCategory.vue","webpack:///./src/components/transactions/TransactionCategory.vue?b515","webpack:///./src/components/transactions/TransactionCategory.vue","webpack:///./src/components/transactions/TransactionCategory.vue?3c7a","webpack:///src/components/transactions/TransactionBill.vue","webpack:///./src/components/transactions/TransactionBill.vue?9147","webpack:///./src/components/transactions/TransactionBill.vue","webpack:///./src/components/transactions/TransactionBill.vue?2668","webpack:///./src/components/transactions/TransactionTags.vue?aa73","webpack:///src/components/transactions/TransactionTags.vue","webpack:///./src/components/transactions/TransactionTags.vue?c786","webpack:///./src/components/transactions/TransactionTags.vue","webpack:///src/components/transactions/TransactionPiggyBank.vue","webpack:///./src/components/transactions/TransactionPiggyBank.vue?e9e1","webpack:///./src/components/transactions/TransactionPiggyBank.vue","webpack:///./src/components/transactions/TransactionPiggyBank.vue?0f96","webpack:///src/components/transactions/TransactionInternalReference.vue","webpack:///./src/components/transactions/TransactionInternalReference.vue?2fd1","webpack:///./src/components/transactions/TransactionInternalReference.vue","webpack:///./src/components/transactions/TransactionInternalReference.vue?0cb6","webpack:///src/components/transactions/TransactionExternalUrl.vue","webpack:///./src/components/transactions/TransactionExternalUrl.vue?28f8","webpack:///./src/components/transactions/TransactionExternalUrl.vue","webpack:///./src/components/transactions/TransactionExternalUrl.vue?3b2c","webpack:///src/components/transactions/TransactionNotes.vue","webpack:///./src/components/transactions/TransactionNotes.vue?3804","webpack:///./src/components/transactions/TransactionNotes.vue","webpack:///./src/components/transactions/TransactionNotes.vue?592a","webpack:///./src/components/transactions/TransactionLinks.vue?6de1","webpack:///src/components/transactions/TransactionLinks.vue","webpack:///./src/components/transactions/TransactionLinks.vue?d196","webpack:///./src/components/transactions/TransactionLinks.vue","webpack:///src/components/transactions/TransactionAttachments.vue","webpack:///./src/components/transactions/TransactionAttachments.vue?3db4","webpack:///./src/components/transactions/TransactionAttachments.vue","webpack:///./src/components/transactions/TransactionAttachments.vue?2a9b","webpack:///src/components/transactions/TransactionLocation.vue","webpack:///./src/components/transactions/TransactionLocation.vue?9e0a","webpack:///./src/components/transactions/TransactionLocation.vue","webpack:///./src/components/transactions/TransactionLocation.vue?113d","webpack:///./src/components/transactions/SplitForm.vue?99bd","webpack:///src/components/transactions/SplitForm.vue","webpack:///./src/components/transactions/SplitForm.vue","webpack:///src/components/transactions/SplitPills.vue","webpack:///./src/components/transactions/SplitPills.vue?cba2","webpack:///./src/components/transactions/SplitPills.vue","webpack:///./src/components/transactions/SplitPills.vue?39af","webpack:///./src/components/transactions/TransactionGroupTitle.vue?140c","webpack:///src/components/transactions/TransactionGroupTitle.vue","webpack:///./src/components/transactions/TransactionGroupTitle.vue?5049","webpack:///./src/components/transactions/TransactionGroupTitle.vue","webpack:///./src/components/transactions/TransactionTags.vue?cec9"],"names":["window","$","jQuery","require","axios","defaults","headers","common","token","document","head","querySelector","content","console","error","localeToken","localStorage","locale","vuei18n","VueI18n","uiv","Vue","lodashClonedeep","namespaced","state","transactionType","groupTitle","transactions","customDateFields","interest_date","book_date","process_date","due_date","payment_date","invoice_date","defaultTransaction","getDefaultTransaction","defaultErrors","getDefaultErrors","getters","accountToTransaction","sourceAllowedTypes","destinationAllowedTypes","allowedOpposingTypes","actions","mutations","addTransaction","newTransaction","errors","push","resetErrors","payload","index","resetTransactions","setGroupTitle","setCustomDateFields","deleteTransaction","splice","length","setTransactionType","setAllowedOpposingTypes","setAccountToTransaction","updateField","field","value","setTransactionError","setDestinationAllowedTypes","setSourceAllowedTypes","viewRange","start","end","defaultStart","defaultEnd","initialiseStore","context","get","then","response","data","attributes","commit","dispatch","setDatesFromViewRange","viewRangeStart","Date","viewRangeEnd","viewRangeDefaultStart","viewRangeDefaultEnd","getTime","setHours","diff","getDate","getDay","setDate","lastday","getFullYear","getMonth","quarter","Math","floor","half","setStart","setItem","setEnd","setDefaultStart","setDefaultEnd","setViewRange","range","listPageSize","parseInt","setListPageSize","number","orderMode","activeFilter","setOrderMode","setActiveFilter","Vuex","modules","root","root_store","create","transactions_create","edit","transactions_edit","accounts","accounts_index","dashboard","dashboard_index","strict","process","plugins","currencyPreference","setCurrencyPreference","currencyCode","code","currencyId","id","updateCurrencyPreference","JSON","parse","currencyResponse","name","symbol","decimal_places","stringify","err","module","exports","documentElement","lang","fallbackLocale","messages","components","SplitForm","Alert","SplitPills","TransactionGroupTitle","created","this","date","type","toUpperCase","substring","getExpectedSourceTypes","getAccountToTransaction","getCustomFields","errorMessage","successMessage","customFields","enableSubmit","createAnother","resetFormAfter","submittedTransaction","submittedLinks","submittedAttachments","inError","submittedAttCount","groupTitleErrors","returnedGroupId","returnedGroupTitle","computed","watch","finalizeSubmit","methods","removeTransaction","$store","location","href","$t","hasOwnProperty","i","test","setTimeout","submitTransaction","event","preventDefault","post","submitAttachments","result","uploadedAttachment","key","storeLocation","storeAccountValue","storeField","storeDate","storeGroupTitle","submitTransactionLinks","submitted","links","ii","total","currentLink","outward_id","received","transaction_journal_id","inward_id","promises","Promise","all","parseErrors","message","transactionIndex","split","fieldName","convertData","group_title","convertSplit","description","synchronizeAccounts","source_name","destination_name","source_id","destination_id","array","destination_account_name","destination_account_id","source_account_name","source_account_id","toLowerCase","currency_id","amount","budget_id","category_name","category","internal_reference","external_url","notes","external_id","zoom_level","longitude","latitude","tags","order","reconciled","currentSplit","current","text","piggy_bank_id","bill_id","foreign_currency_id","foreign_amount","source_account_currency_id","destination_account_currency_id","link_type_id","linkTypeParts","inwardId","outwardId","newLink","getAllowedOpposingTypes","defaultDestinationAllowedTypes","defaultSourceAllowedTypes","_vm","_h","$createElement","_c","_self","attrs","_v","on","staticClass","_l","transaction","$event","model","callback","$$v","$set","expression","_e","_s","directives","rawName","domProps","Array","isArray","_i","$$a","$$el","target","$$c","checked","$$i","concat","slice","i18n","props","store","render","createElement","Create","beforeCreate","$mount","source","destination","currency","foreign_currency","custom_dates","budget","bill","piggy_bank","source_account_type","source_account_currency_code","source_account_currency_symbol","destination_account_type","destination_account_currency_code","destination_account_currency_symbol","source_account","name_with_balance","currency_name","currency_code","currency_decimal_places","destination_account","attachments","___CSS_LOADER_EXPORT___","class","descriptions","initialSet","getACURL","clearDescription","getElementsByTagName","query","lookupDescription","debounce","$emit","item","slot","localTimeZone","Intl","DateTimeFormat","resolvedOptions","timeZone","systemTimeZone","timezone","log","dateStr","parts","timeStr","localDate","ref","composing","budgetList","emitEvent","collectData","getBudgets","parseBudgets","$$selectedVal","prototype","filter","call","options","o","selected","map","_value","multiple","Number","direction","String","Object","default","accountTypes","selectedAccount","accountName","selectedAccountTrigger","types","join","userSelectedAccount","systemReturnedAccount","clearAccount","lookupAccount","createInitialSet","accountKey","visible","scopedSlots","_u","fn","htmlText","required","sourceCurrencySymbol","destinationCurrencySymbol","fractionDigits","transactionAmount","formatNumber","parseFloat","str","toFixed","currencySymbol","srcCurrencySymbol","dstCurrencySymbol","sourceCurrencyId","destinationCurrencyId","isVisible","selectedCurrency","allCurrencies","selectableCurrencies","dstCurrencyId","srcCurrencyId","lockedCurrency","filterCurrencies","getAllCurrencies","dateFields","availableFields","dates","interestDate","bookDate","processDate","dueDate","paymentDate","invoiceDate","isDateField","includes","getFieldValue","setFieldValue","enabled","refInFor","categories","clearCategory","lookupCategory","selectedCategory","set","billList","getBills","parseBills","VueTagsInput","autocompleteItems","currentTag","updateTags","tagList","shortList","initItems","clearTimeout","this$1","newTags","piggyList","getPiggies","parsePiggies","piggy","reference","showField","_m","url","external_uri","searchResults","include","linkTypes","searching","getLinkTypes","removeLink","getTextForLinkType","linkTypeId","selectTransaction","addToSelected","removeFromSelected","selectLinkType","updateSelected","journalId","journal","resetModal","search","parseLinkTypes","inward","outward","linkTypeInward","linkTypeOutward","parseSearch","transaction_group_id","isJournalSelected","getJournalLinkType","link_type_text","NumberFormat","style","format","staticStyle","linkType","doUpload","selectedFile","$refs","att","files","LMap","LTileLayer","LMarker","zoom","center","hasMarker","bounds","marker","prepMap","myMap","mapObject","setObjectLocation","saveZoomLevel","latlng","lat","lng","clearLocation","zoomUpdated","centerUpdated","boundsUpdated","count","Boolean","allowSwitch","splitDate","sourceAccount","destinationAccount","hasMetaFields","requiredFields","TransactionLocation","TransactionAttachments","TransactionNotes","TransactionExternalUrl","TransactionInternalReference","TransactionPiggyBank","TransactionTags","TransactionLinks","TransactionBill","TransactionCategory","TransactionCustomDates","TransactionForeignCurrency","TransactionForeignAmount","TransactionAmount","SwitchAccount","TransactionAccount","TransactionBudget","TransactionDescription","TransactionDate","_g","$listeners","title","__esModule","locals","add"],"mappings":"oIA0BAA,OAAOC,EAAID,OAAOE,OAASC,EAAQ,MAGnCH,OAAOI,MAAQD,EAAQ,MACvBH,OAAOI,MAAMC,SAASC,QAAQC,OAAO,oBAAsB,iBAG3D,IAAIC,EAAQC,SAASC,KAAKC,cAAc,2BAEpCH,EACAR,OAAOI,MAAMC,SAASC,QAAQC,OAAO,gBAAkBC,EAAMI,QAE7DC,QAAQC,MAAM,yEAIlB,IAAIC,EAAcN,SAASC,KAAKC,cAAc,uBAG1CK,aAAaC,OADbF,EACsBA,EAAYH,QAEZ,QAI1BT,EAAQ,MACRA,EAAQ,MAERA,EAAQ,MACRA,EAAQ,MAIRH,OAAOkB,QAAUC,IACjBnB,OAAOoB,IAAMA,EACbC,QAAQH,SACRG,QAAQD,GACRpB,OAAOqB,IAAMA,K,uFC3CPC,EAAkBnB,EAAQ,MAyHhC,SACIoB,YAAY,EACZC,MAtHU,iBAAO,CACbC,gBAAiB,MACjBC,WAAY,GACZC,aAAc,GACdC,iBAAkB,CACdC,eAAe,EACfC,WAAW,EACXC,cAAc,EACdC,UAAU,EACVC,cAAc,EACdC,cAAc,GAElBC,oBAA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AAZ/W,IAAsBA,EAAU,CAAC,CAACsI,EAAOV,GAAI5H,EAAS,MAC7DA,EAAQ0hB,SAAQpZ,EAAOC,QAAUvI,EAAQ0hB,SAG/BC,EADH,WACO,WAAY3hB,GAAS,EAAM,K","file":"/public/js/transactions/create.js","sourcesContent":["/*\n * bootstrap.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// // imports\nimport Vue from 'vue';\nimport VueI18n from 'vue-i18n'\nimport * as uiv from 'uiv';\n\n// export jquery for others scripts to use\nwindow.$ = window.jQuery = require('jquery');\n\n// axios\nwindow.axios = require('axios');\nwindow.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';\n\n// CSRF\nlet token = document.head.querySelector('meta[name=\"csrf-token\"]');\n\nif (token) {\n window.axios.defaults.headers.common['X-CSRF-TOKEN'] = token.content;\n} else {\n console.error('CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token');\n}\n\n// locale\nlet localeToken = document.head.querySelector('meta[name=\"locale\"]');\n\nif (localeToken) {\n localStorage.locale = localeToken.content;\n} else {\n localStorage.locale = 'en_US';\n}\n\n// admin stuff\nrequire('jquery-ui');\nrequire('bootstrap'); // bootstrap CSS?\n\nrequire('admin-lte/dist/js/adminlte');\nrequire('overlayscrollbars');\n\n\n// vue\nwindow.vuei18n = VueI18n;\nwindow.uiv = uiv;\nVue.use(vuei18n);\nVue.use(uiv);\nwindow.Vue = Vue;","/*\n * create.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nconst lodashClonedeep = require('lodash.clonedeep');\n\nimport {getDefaultTransaction, getDefaultErrors} from '../../../../shared/transactions';\n\n// initial state\nconst state = () => ({\n transactionType: 'any',\n groupTitle: '',\n transactions: [],\n customDateFields: {\n interest_date: false,\n book_date: false,\n process_date: false,\n due_date: false,\n payment_date: false,\n invoice_date: false,\n },\n defaultTransaction: getDefaultTransaction(),\n defaultErrors: getDefaultErrors()\n }\n)\n\n\n// getters\nconst getters = {\n transactions: state => {\n return state.transactions;\n },\n 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 // timezone: ''\n }\n)\n\n\n// getters\nconst getters = {\n listPageSize: state => {\n return state.listPageSize;\n },\n // timezone: state => {\n // // console.log('Wil return ' + state.listPageSize);\n // return state.timezone;\n // },\n}\n\n// actions\nconst actions = {\n initialiseStore(context) {\n if (localStorage.listPageSize) {\n state.listPageSize = localStorage.listPageSize;\n context.commit('setListPageSize', {length: localStorage.listPageSize});\n }\n if (!localStorage.listPageSize) {\n axios.get('./api/v1/preferences/listPageSize')\n .then(response => {\n // console.log('from API: listPageSize is ' + parseInt(response.data.data.attributes.data));\n context.commit('setListPageSize', {length: parseInt(response.data.data.attributes.data)});\n }\n );\n }\n // if (localStorage.timezone) {\n // state.timezone = localStorage.timezone;\n // context.commit('setTimezone', {timezone: localStorage.timezone});\n // }\n // if (!localStorage.timezone) {\n // axios.get('./api/v1/configuration/app.timezone')\n // .then(response => {\n // context.commit('setTimezone', {timezone: response.data.data.value});\n // }\n // );\n // }\n }\n}\n\n// mutations\nconst mutations = {\n setListPageSize(state, payload) {\n // console.log('Got a payload in setListPageSize');\n // console.log(payload);\n let number = parseInt(payload.length);\n if (0 !== number) {\n state.listPageSize = number;\n localStorage.listPageSize = number;\n\n }\n },\n // setTimezone(state, payload) {\n //\n // if ('' !== payload.timezone) {\n // state.timezone = payload.timezone;\n // localStorage.timezone = payload.timezone;\n // }\n // },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => (\n {\n orderMode: false,\n activeFilter: 1\n }\n)\n\n\n// getters\nconst getters = {\n orderMode: state => {\n return state.orderMode;\n },\n activeFilter: state => {\n return state.activeFilter;\n }\n}\n\n// actions\nconst actions = {}\n\n// mutations\nconst mutations = {\n setOrderMode(state, payload) {\n state.orderMode = payload;\n },\n setActiveFilter(state, payload) {\n state.activeFilter = payload;\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nimport Vue from 'vue'\nimport Vuex, {createLogger} from 'vuex'\nimport transactions_create from './modules/transactions/create';\nimport transactions_edit from './modules/transactions/edit';\nimport dashboard_index from './modules/dashboard/index';\nimport root_store from './modules/root';\nimport accounts_index from './modules/accounts/index';\n\nVue.use(Vuex)\nconst debug = process.env.NODE_ENV !== 'production'\n\nexport default new Vuex.Store(\n {\n namespaced: true,\n modules: {\n root: root_store,\n transactions: {\n namespaced: true,\n modules: {\n create: transactions_create,\n edit: transactions_edit\n }\n },\n accounts: {\n namespaced: true,\n modules: {\n index: accounts_index\n },\n },\n dashboard: {\n namespaced: true,\n modules: {\n index: dashboard_index\n }\n }\n },\n strict: debug,\n plugins: debug ? [createLogger()] : [],\n state: {\n currencyPreference: {},\n locale: 'en-US',\n listPageSize: 50\n },\n mutations: {\n setCurrencyPreference(state, payload) {\n state.currencyPreference = payload.payload;\n },\n initialiseStore(state) {\n // if locale in local storage:\n if (localStorage.locale) {\n state.locale = localStorage.locale;\n return;\n }\n\n // set locale from HTML:\n let localeToken = document.head.querySelector('meta[name=\"locale\"]');\n if (localeToken) {\n state.locale = localeToken.content;\n localStorage.locale = localeToken.content;\n }\n }\n },\n getters: {\n currencyCode: state => {\n return state.currencyPreference.code;\n },\n currencyPreference: state => {\n return state.currencyPreference;\n },\n currencyId: state => {\n return state.currencyPreference.id;\n },\n locale: state => {\n return state.locale;\n }\n },\n actions: {\n\n updateCurrencyPreference(context) {\n if (localStorage.currencyPreference) {\n context.commit('setCurrencyPreference', {payload: JSON.parse(localStorage.currencyPreference)});\n return;\n }\n axios.get('./api/v1/currencies/default')\n .then(response => {\n let currencyResponse = {\n id: parseInt(response.data.data.id),\n name: response.data.data.attributes.name,\n symbol: response.data.data.attributes.symbol,\n code: response.data.data.attributes.code,\n decimal_places: parseInt(response.data.data.attributes.decimal_places),\n };\n localStorage.currencyPreference = JSON.stringify(currencyResponse);\n //console.log('getCurrencyPreference from server')\n //console.log(JSON.stringify(currencyResponse));\n context.commit('setCurrencyPreference', {payload: currencyResponse});\n }).catch(err => {\n // console.log('Got error response.');\n console.error(err);\n context.commit('setCurrencyPreference', {\n payload: {\n id: 1,\n name: 'Euro',\n symbol: '€',\n code: 'EUR',\n decimal_places: 2\n }\n });\n });\n\n }\n }\n }\n);","/*\n * i18n.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// Create VueI18n instance with options\nmodule.exports = new vuei18n({\n locale: document.documentElement.lang, // set locale\n fallbackLocale: 'en',\n messages: {\n 'bg': require('./locales/bg.json'),\n 'cs': require('./locales/cs.json'),\n 'de': require('./locales/de.json'),\n 'en': require('./locales/en.json'),\n 'en-us': require('./locales/en.json'),\n 'en-gb': require('./locales/en-gb.json'),\n 'es': require('./locales/es.json'),\n 'el': require('./locales/el.json'),\n 'fr': require('./locales/fr.json'),\n 'hu': require('./locales/hu.json'),\n //'id': require('./locales/id.json'),\n 'it': require('./locales/it.json'),\n 'nl': require('./locales/nl.json'),\n 'nb': require('./locales/nb.json'),\n 'pl': require('./locales/pl.json'),\n 'fi': require('./locales/fi.json'),\n 'pt-br': require('./locales/pt-br.json'),\n 'pt-pt': require('./locales/pt.json'),\n 'ro': require('./locales/ro.json'),\n 'ru': require('./locales/ru.json'),\n //'zh': require('./locales/zh.json'),\n 'zh-tw': require('./locales/zh-tw.json'),\n 'zh-cn': require('./locales/zh-cn.json'),\n 'sk': require('./locales/sk.json'),\n 'sv': require('./locales/sv.json'),\n 'vi': require('./locales/vi.json'),\n }\n});\n","<!--\n - Create.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div>\n <alert :message=\"errorMessage\" type=\"danger\"/>\n <alert :message=\"successMessage\" type=\"success\"/>\n <form @submit=\"submitTransaction\">\n <SplitPills :transactions=\"transactions\"/>\n <div class=\"tab-content\">\n <!-- v-on:switch-accounts=\"switchAccounts($event)\" -->\n <!-- :allowed-opposing-types=\"allowedOpposingTypes\" -->\n <SplitForm\n v-for=\"(transaction, index) in this.transactions\"\n v-bind:key=\"index\"\n :count=\"transactions.length\"\n :custom-fields=\"customFields\"\n :date=\"date\"\n :destination-allowed-types=\"destinationAllowedTypes\"\n :index=\"index\"\n :source-allowed-types=\"sourceAllowedTypes\"\n :submitted-transaction=\"submittedTransaction\"\n :transaction=\"transaction\"\n :transaction-type=\"transactionType\"\n v-on:uploaded-attachments=\"uploadedAttachment($event)\"\n v-on:set-marker-location=\"storeLocation($event)\"\n v-on:set-account=\"storeAccountValue($event)\"\n v-on:set-date=\"storeDate($event)\"\n v-on:set-field=\"storeField($event)\"\n v-on:remove-transaction=\"removeTransaction($event)\"\n />\n </div>\n\n <div class=\"row\">\n <!-- group title -->\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <div v-if=\"transactions.length > 1\" class=\"card\">\n <div class=\"card-body\">\n <div class=\"row\">\n <div class=\"col\">\n <TransactionGroupTitle v-model=\"this.groupTitle\" :errors=\"this.groupTitleErrors\" v-on:set-group-title=\"storeGroupTitle($event)\"/>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <!-- buttons -->\n <div class=\"card card-primary\">\n <div class=\"card-body\">\n <div class=\"row\">\n <div class=\"col\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n \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-success btn-block\" @click=\"submitTransaction\">\n <span v-if=\"enableSubmit\"><i class=\"far fa-save\"></i> {{ $t('firefly.store_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=\"createAnother\" v-model=\"createAnother\" class=\"form-check-input\" type=\"checkbox\">\n <label class=\"form-check-label\" for=\"createAnother\">\n <span class=\"small\">{{ $t('firefly.create_another') }}</span>\n </label>\n </div>\n <div class=\"form-check\">\n <input id=\"resetFormAfter\" v-model=\"resetFormAfter\" :disabled=\"!createAnother\" class=\"form-check-input\" type=\"checkbox\">\n <label class=\"form-check-label\" for=\"resetFormAfter\">\n <span class=\"small\">{{ $t('firefly.reset_after') }}</span>\n </label>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </form>\n </div>\n</template>\n\n<script>\nimport Alert from '../partials/Alert';\nimport SplitPills from \"./SplitPills\";\nimport TransactionGroupTitle from \"./TransactionGroupTitle\";\nimport SplitForm from \"./SplitForm\";\nimport {mapGetters, mapMutations} from \"vuex\";\n\n\nexport default {\n name: \"Create\",\n components: {\n SplitForm,\n Alert,\n SplitPills,\n TransactionGroupTitle,\n },\n /**\n * Grab some stuff from the API, add the first transaction.\n */\n created() {\n // set transaction type:\n let pathName = window.location.pathname;\n let parts = pathName.split('/');\n let type = parts[parts.length - 1];\n\n // set a basic date-time string:\n\n this.date = (new Date).toISOString().split('T')[0] + 'T00:00';\n //console.log('Date is set to \"' + this.date + '\"');\n\n this.setTransactionType(type[0].toUpperCase() + type.substring(1));\n this.getExpectedSourceTypes();\n this.getAccountToTransaction();\n this.getCustomFields();\n this.addTransaction();\n },\n data() {\n return {\n // error or success message\n errorMessage: '',\n successMessage: '',\n\n // custom fields to show, useful for components:\n customFields: {},\n\n // states for the form (makes sense right)\n enableSubmit: true,\n createAnother: false,\n resetFormAfter: false,\n\n // things the process is done working on (3 phases):\n submittedTransaction: false,\n submittedLinks: false,\n submittedAttachments: false,\n\n // transaction was actually submitted?\n inError: false,\n\n // number of uploaded attachments\n // its an object because we count per transaction journal (which can have multiple attachments)\n // and array doesn't work right.\n submittedAttCount: {},\n\n // errors in the group title:\n groupTitleErrors: [],\n\n // group ID + title once submitted:\n returnedGroupId: 0,\n returnedGroupTitle: '',\n\n // meta data for accounts\n accountToTransaction: {},\n allowedOpposingTypes: {},\n sourceAllowedTypes: ['Asset account', 'Loan', 'Debt', 'Mortgage', 'Revenue account'],\n destinationAllowedTypes: ['Asset account', 'Loan', 'Debt', 'Mortgage', 'Expense account'],\n\n // date not in the store because it was buggy\n date: ''\n }\n },\n computed: {\n /**\n * Grabbed from the store.\n */\n ...mapGetters('transactions/create', ['transactionType', 'transactions', 'groupTitle']),\n ...mapGetters('root', ['listPageSize'])\n },\n watch: {\n submittedTransaction: function () {\n this.finalizeSubmit();\n },\n submittedLinks: function () {\n this.finalizeSubmit();\n },\n submittedAttachments: function () {\n this.finalizeSubmit();\n }\n },\n methods: {\n /**\n * Store related mutators used by this component.\n */\n ...mapMutations('transactions/create',\n [\n 'setGroupTitle',\n 'addTransaction',\n 'deleteTransaction',\n 'setTransactionError',\n 'setTransactionType',\n 'resetErrors',\n 'updateField',\n 'resetTransactions',\n ]\n ),\n /**\n * Removes a split from the array.\n */\n removeTransaction: function (payload) {\n // console.log('Triggered to remove transaction ' + payload.index);\n this.$store.commit('transactions/create/deleteTransaction', payload);\n },\n /**\n * Submitting a transaction consists of 3 steps: submitting the transaction, uploading attachments\n * and creating links. Only once all three steps are executed may the message be shown or the user be\n * forwarded.\n */\n finalizeSubmit() {\n // console.log('finalizeSubmit (' + this.submittedTransaction + ', ' + this.submittedAttachments + ', ' + this.submittedLinks + ')');\n if (this.submittedTransaction && this.submittedAttachments && this.submittedLinks) {\n // console.log('all true');\n // console.log('createAnother = ' + this.createAnother);\n // console.log('inError = ' + this.inError);\n if (false === this.createAnother && false === this.inError) {\n // console.log('redirect');\n window.location.href = (window.previousURL ?? '/') + '?transaction_group_id=' + this.returnedGroupId + '&message=created';\n return;\n }\n\n if (false === this.inError) {\n // show message:\n this.errorMessage = '';\n this.successMessage = this.$t('firefly.transaction_stored_link', {ID: this.returnedGroupId, title: this.returnedGroupTitle});\n }\n\n // enable flags:\n this.enableSubmit = true;\n this.submittedTransaction = false;\n this.submittedLinks = false;\n this.submittedAttachments = false;\n this.inError = false;\n\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 // console.log('Reset attachment #' + i);\n this.updateField({index: i, field: 'transaction_journal_id', value: 0});\n }\n }\n }\n this.submittedAttCount = [];\n\n // reset the form:\n if (this.resetFormAfter) {\n this.resetTransactions();\n // do a short time out?\n setTimeout(() => this.addTransaction(), 50);\n }\n // console.log('Done with finalizeSubmit!');\n // return;\n }\n // console.log('Did nothing in finalizeSubmit');\n },\n /**\n * Actually submit the transaction to Firefly III. This is a fairly complex beast of a thing because multiple things\n * need to happen in the right order.\n */\n submitTransaction: function (event) {\n event.preventDefault();\n // console.log('submitTransaction()');\n // disable the submit button:\n this.enableSubmit = false;\n\n // convert the data so its ready to be submitted:\n const url = './api/v1/transactions';\n const data = this.convertData();\n\n // console.log('Will submit:');\n // console.log(data);\n\n // POST the transaction.\n axios.post(url, data)\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 this.submitTransactionLinks(data, response);\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 // console.log('Group title is now \"' + this.groupTitle + '\"');\n })\n .catch(error => {\n // oh noes Firefly III has something to bitch about.\n this.enableSubmit = true;\n // console.log('enable submit = 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 /**\n * Submitting transactions means we will give each TransactionAttachment component\n * the ID of the transaction journal (so it works for multiple splits). Each component\n * will then start uploading their transactions (so its a separated concern) and report\n * back to the \"uploadedAttachment\" function below via an event emitter.\n *\n * The ID is set via the store.\n */\n submitAttachments: function (data, response) {\n // console.log('submitAttachments()');\n let result = response.data.data.attributes.transactions\n for (let i in data.transactions) {\n if (data.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n if (result.hasOwnProperty(i)) {\n // console.log('updateField(' + i + ', transaction_journal_id, ' + result[i].transaction_journal_id + ')');\n this.updateField({index: i, field: 'transaction_journal_id', value: result[i].transaction_journal_id});\n }\n }\n }\n },\n /**\n * When a attachment component is done uploading it ends up here. We create an object where we count how many\n * attachment components have reported back they're done uploading. Of course if they have nothing to upload\n * they will be pretty fast in reporting they're done.\n *\n * Once the number of components matches the number of splits we know all attachments have been uploaded.\n */\n uploadedAttachment: function (journalId) {\n // console.log('Triggered uploadedAttachment(' + journalId + ')');\n let key = 'str' + journalId;\n this.submittedAttCount[key] = 1;\n let count = Object.keys(this.submittedAttCount).length;\n // console.log('Count is now ' + count);\n // console.log('Length is ' + this.transactions.length);\n if (count === this.transactions.length) {\n // mark the attachments as stored:\n this.submittedAttachments = true;\n // console.log('Got them all!');\n }\n },\n /**\n * Responds to changed location.\n */\n storeLocation: function (payload) {\n let zoomLevel = payload.hasMarker ? payload.zoomLevel : null;\n let lat = payload.hasMarker ? payload.lat : null;\n let lng = payload.hasMarker ? payload.lng : null;\n this.updateField({index: payload.index, field: 'zoom_level', value: zoomLevel});\n this.updateField({index: payload.index, field: 'latitude', value: lat});\n this.updateField({index: payload.index, field: 'longitude', value: lng});\n },\n /**\n * Responds to changed account.\n */\n storeAccountValue: function (payload) {\n this.updateField({index: payload.index, field: payload.direction + '_account_id', value: payload.id});\n this.updateField({index: payload.index, field: payload.direction + '_account_type', value: payload.type});\n this.updateField({index: payload.index, field: payload.direction + '_account_name', value: payload.name});\n\n this.updateField({index: payload.index, field: payload.direction + '_account_currency_id', value: payload.currency_id});\n this.updateField({index: payload.index, field: payload.direction + '_account_currency_code', value: payload.currency_code});\n this.updateField({index: payload.index, field: payload.direction + '_account_currency_symbol', value: payload.currency_symbol});\n\n //this.calculateTransactionType(payload.index);\n },\n storeField: function (payload) {\n this.updateField(payload);\n },\n storeDate: function (payload) {\n this.date = payload.date;\n },\n storeGroupTitle: function (value) {\n // console.log('set group title: ' + value);\n this.setGroupTitle({groupTitle: value});\n },\n\n /**\n * Submit transaction links.\n */\n submitTransactionLinks(data, response) {\n //console.log('submitTransactionLinks()');\n let promises = [];\n let result = response.data.data.attributes.transactions;\n let total = 0;\n for (let i in data.transactions) {\n if (data.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let submitted = data.transactions[i];\n if (result.hasOwnProperty(i)) {\n // found matching created transaction.\n let received = result[i];\n // grab ID from received, loop \"submitted\" transaction links\n for (let ii in submitted.links) {\n if (submitted.links.hasOwnProperty(ii) && /^0$|^[1-9]\\d*$/.test(ii) && ii <= 4294967294) {\n let currentLink = submitted.links[ii];\n total++;\n if (0 === currentLink.outward_id) {\n currentLink.outward_id = received.transaction_journal_id;\n }\n if (0 === currentLink.inward_id) {\n currentLink.inward_id = received.transaction_journal_id;\n }\n // submit transaction link:\n promises.push(axios.post('./api/v1/transaction_links', currentLink).then(response => {\n // TODO error handling.\n }));\n }\n }\n }\n }\n }\n if (0 === total) {\n this.submittedLinks = true;\n return;\n }\n Promise.all(promises).then(function () {\n this.submittedLinks = true;\n });\n },\n\n parseErrors: function (errors) {\n for (let i in this.transactions) {\n this.resetErrors({index: i});\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 //payload = {index: 0, field: 'description', errors: ['Test error index 0']};\n //this.setTransactionError(payload);\n\n //payload = {index: 1, field: 'description', errors: ['Test error index 1']};\n //this.setTransactionError(payload);\n\n let transactionIndex;\n let fieldName;\n\n // fairly basic way of exploding the error array.\n for (const key in errors.errors) {\n // console.log('Error index: \"' + key + '\"');\n if (errors.errors.hasOwnProperty(key)) {\n if (key === 'group_title') {\n this.groupTitleErrors = errors.errors[key];\n continue;\n }\n if (key !== 'group_title') {\n // lol dumbest way to explode \"transactions.0.something\" ever.\n transactionIndex = parseInt(key.split('.')[1]);\n\n fieldName = key.split('.')[2];\n\n // set error in this object thing.\n // console.log('The errors in key \"' + key + '\" are');\n // console.log(errors.errors[key]);\n switch (fieldName) {\n case 'amount':\n case 'description':\n case 'date':\n case 'tags':\n payload = {index: transactionIndex, field: fieldName, errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'budget_id':\n payload = {index: transactionIndex, field: 'budget', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'bill_id':\n payload = {index: transactionIndex, field: 'bill', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'piggy_bank_id':\n payload = {index: transactionIndex, field: 'piggy_bank', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'category_name':\n payload = {index: transactionIndex, field: 'category', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'source_name':\n case 'source_id':\n payload = {index: transactionIndex, field: 'source', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'destination_name':\n case 'destination_id':\n payload = {index: transactionIndex, field: 'destination', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'foreign_amount':\n case 'foreign_currency':\n payload = {index: transactionIndex, field: 'foreign_amount', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n }\n }\n // unique some things\n if (typeof this.transactions[transactionIndex] !== 'undefined') {\n //this.transactions[transactionIndex].errors.source = Array.from(new Set(this.transactions[transactionIndex].errors.source));\n //this.transactions[transactionIndex].errors.destination = Array.from(new Set(this.transactions[transactionIndex].errors.destination));\n }\n\n }\n }\n },\n\n /**\n *\n */\n convertData: function () {\n //console.log('now in convertData');\n let data = {\n 'transactions': []\n };\n //console.log('Group title is: \"' + this.groupTitle + '\"');\n if (this.groupTitle.length > 0) {\n data.group_title = this.groupTitle;\n }\n\n for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n data.transactions.push(this.convertSplit(i, this.transactions[i]));\n }\n }\n if (data.transactions.length > 1 && '' !== data.transactions[0].description) {\n data.group_title = data.transactions[0].description;\n }\n\n // depending on the transaction type for this thing, we need to\n // make sure other splits match the data we submit.\n if (data.transactions.length > 1) {\n // console.log('This is a split!');\n data = this.synchronizeAccounts(data);\n }\n\n return data;\n },\n synchronizeAccounts: function (data) {\n // console.log('synchronizeAccounts: ' + this.transactionType);\n // make sure all splits have whatever is in split 0.\n // since its a transfer we can drop the name and use ID's only.\n for (let i in data.transactions) {\n if (data.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n // console.log('now at ' + i);\n\n // for transfers, overrule both the source and the destination:\n if ('Transfer' === this.transactionType) {\n data.transactions[i].source_name = null;\n data.transactions[i].destination_name = null;\n if (i > 0) {\n data.transactions[i].source_id = data.transactions[0].source_id;\n data.transactions[i].destination_id = data.transactions[0].destination_id;\n }\n }\n // for deposits, overrule the destination and ignore the rest.\n if ('Deposit' === this.transactionType) {\n data.transactions[i].destination_name = null;\n if (i > 0) {\n data.transactions[i].destination_id = data.transactions[0].destination_id;\n }\n }\n\n // for withdrawals, overrule the source and ignore the rest.\n if ('Withdrawal' === this.transactionType) {\n data.transactions[i].source_name = null;\n if (i > 0) {\n data.transactions[i].source_id = data.transactions[0].source_id;\n }\n }\n }\n }\n return data;\n\n },\n\n // switchAccounts: function (index) {\n // // console.log('user wants to switch Accounts');\n // let origSourceId = this.transactions[index].source_account_id;\n // let origSourceName = this.transactions[index].source_account_name;\n // let origSourceType = this.transactions[index].source_account_type;\n //\n // let origDestId = this.transactions[index].destination_account_id;\n // let origDestName = this.transactions[index].destination_account_name;\n // let origDestType = this.transactions[index].destination_account_type;\n //\n // this.updateField({index: 0, field: 'source_account_id', value: origDestId});\n // this.updateField({index: 0, field: 'source_account_name', value: origDestName});\n // this.updateField({index: 0, field: 'source_account_type', value: origDestType});\n //\n // this.updateField({index: 0, field: 'destination_account_id', value: origSourceId});\n // this.updateField({index: 0, field: 'destination_account_name', value: origSourceName});\n // this.updateField({index: 0, field: 'destination_account_type', value: origSourceType});\n // this.calculateTransactionType(0);\n // },\n\n\n /**\n *\n * @param key\n * @param array\n */\n convertSplit: function (key, array) {\n if ('' === array.destination_account_name) {\n array.destination_account_name = null;\n }\n if (0 === array.destination_account_id) {\n array.destination_account_name = null;\n }\n\n if ('' === array.source_account_name) {\n array.source_account_name = null;\n }\n if (0 === array.source_account_id) {\n array.source_account_id = null;\n }\n\n let currentSplit = {\n // basic\n description: array.description,\n date: this.date,\n type: this.transactionType.toLowerCase(),\n\n // account\n source_id: array.source_account_id ?? null,\n source_name: array.source_account_name ?? null,\n destination_id: array.destination_account_id ?? null,\n destination_name: array.destination_account_name ?? null,\n\n // amount:\n currency_id: array.currency_id,\n amount: array.amount,\n\n // meta data\n budget_id: array.budget_id,\n category_name: array.category,\n\n // optional date fields (6x):\n interest_date: array.interest_date,\n book_date: array.book_date,\n process_date: array.process_date,\n due_date: array.due_date,\n payment_date: array.payment_date,\n invoice_date: array.invoice_date,\n\n // other optional fields:\n internal_reference: array.internal_reference,\n external_url: array.external_url,\n notes: array.notes,\n external_id: array.external_id,\n\n // location:\n zoom_level: array.zoom_level,\n longitude: array.longitude,\n latitude: array.latitude,\n tags: [],\n\n // from thing:\n order: 0,\n reconciled: false,\n };\n\n if (0 !== array.tags.length) {\n for (let i in array.tags) {\n if (array.tags.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n // array.tags\n let current = array.tags[i];\n if (typeof current === 'object' && null !== current) {\n currentSplit.tags.push(current.text);\n }\n if (typeof current === 'string') {\n currentSplit.tags.push(current);\n }\n }\n }\n }\n\n // bills and piggy banks\n if (0 !== array.piggy_bank_id) {\n currentSplit.piggy_bank_id = array.piggy_bank_id;\n }\n if (0 !== array.bill_id) {\n currentSplit.bill_id = array.bill_id;\n }\n\n // foreign amount:\n if (0 !== array.foreign_currency_id && '' !== array.foreign_amount) {\n currentSplit.foreign_currency_id = array.foreign_currency_id;\n }\n if ('' !== array.foreign_amount) {\n currentSplit.foreign_amount = array.foreign_amount;\n }\n\n // do transaction type\n // let transactionType;\n // let firstSource;\n // let firstDestination;\n\n // get transaction type from first transaction\n //transactionType = this.transactionType ? this.transactionType.toLowerCase() : 'any';\n //console.log('Transaction type is now ' + transactionType);\n // if the transaction type is invalid, might just be that we can deduce it from\n // the presence of a source or destination account\n //firstSource = this.transactions[0].source_account_type;\n //firstDestination = this.transactions[0].destination_account_type;\n //console.log(this.transactions[0].source_account);\n //console.log(this.transactions[0].destination_account);\n //console.log('Type of first source is ' + firstSource);\n //console.log('Type of first destination is ' + firstDestination);\n\n // default to source:\n currentSplit.currency_id = array.source_account_currency_id;\n // if ('any' === transactionType && ['asset', 'Asset account', 'Loan', 'Debt', 'Mortgage'].includes(firstSource)) {\n // transactionType = 'withdrawal';\n // }\n\n if ('Deposit' === this.transactionType) {\n // transactionType = 'deposit';\n currentSplit.currency_id = array.destination_account_currency_id;\n }\n //currentSplit.type = transactionType;\n //console.log('Final type is ' + transactionType);\n\n let links = [];\n for (let i in array.links) {\n if (array.links.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = array.links[i];\n let linkTypeParts = current.link_type_id.split('-');\n let inwardId = 'outward' === linkTypeParts[1] ? 0 : parseInt(current.transaction_journal_id);\n let outwardId = 'inward' === linkTypeParts[1] ? 0 : parseInt(current.transaction_journal_id);\n let newLink = {\n link_type_id: parseInt(linkTypeParts[0]),\n inward_id: inwardId,\n outward_id: outwardId,\n };\n links.push(newLink);\n }\n }\n currentSplit.links = links;\n if (null === currentSplit.source_id) {\n delete currentSplit.source_id;\n }\n if (null === currentSplit.source_name) {\n delete currentSplit.source_name;\n }\n if (null === currentSplit.destination_id) {\n delete currentSplit.destination_id;\n }\n if (null === currentSplit.destination_name) {\n delete currentSplit.destination_name;\n }\n\n // console.log('Current split is: ');\n // console.log(currentSplit);\n\n // return it.\n return currentSplit;\n },\n /**\n * Get API value.\n */\n getAllowedOpposingTypes: function () {\n axios.get('./api/v1/configuration/firefly.allowed_opposing_types')\n .then(response => {\n console.log('opposing types things.');\n console.log(response.data.data.value);\n this.allowedOpposingTypes = response.data.data.value;\n });\n },\n getExpectedSourceTypes: function () {\n axios.get('./api/v1/configuration/firefly.expected_source_types')\n .then(response => {\n //console.log('getExpectedSourceTypes.');\n this.sourceAllowedTypes = response.data.data.value.source[this.transactionType];\n this.destinationAllowedTypes = response.data.data.value.destination[this.transactionType];\n // console.log('Source allowed types for ' + this.transactionType + ' is: ');\n // console.log(this.sourceAllowedTypes);\n\n // console.log('Destination allowed types for ' + this.transactionType + ' is: ');\n // console.log(this.destinationAllowedTypes);\n\n //this.allowedOpposingTypes = response.data.data.value;\n });\n },\n /**\n * Get API value.\n */\n getAccountToTransaction: function () {\n axios.get('./api/v1/configuration/firefly.account_to_transaction')\n .then(response => {\n this.accountToTransaction = response.data.data.value;\n });\n },\n /**\n * This method grabs the users preferred custom transaction fields. It's used when configuring the\n * custom date selects that will be available. It could be something the component does by itself,\n * thereby separating concerns. This is on my list. If it changes to a per-component thing, then\n * it should be done via the create.js Vue store because multiple components are interested in the\n * user's custom transaction fields.\n */\n getCustomFields: function () {\n axios.get('./api/v1/preferences/transaction_journal_optional_fields').then(response => {\n this.customFields = response.data.data.attributes.data;\n });\n },\n setDestinationAllowedTypes: function (value) {\n // console.log('Create::setDestinationAllowedTypes');\n // console.log(value);\n if (0 === value.length) {\n this.destinationAllowedTypes = this.defaultDestinationAllowedTypes;\n //console.log('empty so back to defaults');\n return;\n }\n this.destinationAllowedTypes = value;\n },\n setSourceAllowedTypes(value) {\n // console.log('Create::setSourceAllowedTypes');\n // console.log(value);\n if (0 === value.length) {\n this.sourceAllowedTypes = this.defaultSourceAllowedTypes;\n // console.log('empty so back to defaults');\n return;\n }\n this.sourceAllowedTypes = value;\n }\n },\n\n}\n</script>\n\n<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!./Create.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Create.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Create.vue?vue&type=template&id=73895ea8&scoped=true&\"\nimport script from \"./Create.vue?vue&type=script&lang=js&\"\nexport * from \"./Create.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"73895ea8\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('alert',{attrs:{\"message\":_vm.errorMessage,\"type\":\"danger\"}}),_vm._v(\" \"),_c('alert',{attrs:{\"message\":_vm.successMessage,\"type\":\"success\"}}),_vm._v(\" \"),_c('form',{on:{\"submit\":_vm.submitTransaction}},[_c('SplitPills',{attrs:{\"transactions\":_vm.transactions}}),_vm._v(\" \"),_c('div',{staticClass:\"tab-content\"},_vm._l((this.transactions),function(transaction,index){return _c('SplitForm',{key:index,attrs:{\"count\":_vm.transactions.length,\"custom-fields\":_vm.customFields,\"date\":_vm.date,\"destination-allowed-types\":_vm.destinationAllowedTypes,\"index\":index,\"source-allowed-types\":_vm.sourceAllowedTypes,\"submitted-transaction\":_vm.submittedTransaction,\"transaction\":transaction,\"transaction-type\":_vm.transactionType},on:{\"uploaded-attachments\":function($event){return _vm.uploadedAttachment($event)},\"set-marker-location\":function($event){return _vm.storeLocation($event)},\"set-account\":function($event){return _vm.storeAccountValue($event)},\"set-date\":function($event){return _vm.storeDate($event)},\"set-field\":function($event){return _vm.storeField($event)},\"remove-transaction\":function($event){return _vm.removeTransaction($event)}}})}),1),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[(_vm.transactions.length > 1)?_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('TransactionGroupTitle',{attrs:{\"errors\":this.groupTitleErrors},on:{\"set-group-title\":function($event){return _vm.storeGroupTitle($event)}},model:{value:(this.groupTitle),callback:function ($$v) {_vm.$set(this, \"groupTitle\", $$v)},expression:\"this.groupTitle\"}})],1)])])]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[_c('div',{staticClass:\"card card-primary\"},[_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \\n \")]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-outline-primary btn-block\",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-success 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.store_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.createAnother),expression:\"createAnother\"}],staticClass:\"form-check-input\",attrs:{\"id\":\"createAnother\",\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.createAnother)?_vm._i(_vm.createAnother,null)>-1:(_vm.createAnother)},on:{\"change\":function($event){var $$a=_vm.createAnother,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.createAnother=$$a.concat([$$v]))}else{$$i>-1&&(_vm.createAnother=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.createAnother=$$c}}}}),_vm._v(\" \"),_c('label',{staticClass:\"form-check-label\",attrs:{\"for\":\"createAnother\"}},[_c('span',{staticClass:\"small\"},[_vm._v(_vm._s(_vm.$t('firefly.create_another')))])])]),_vm._v(\" \"),_c('div',{staticClass:\"form-check\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.resetFormAfter),expression:\"resetFormAfter\"}],staticClass:\"form-check-input\",attrs:{\"id\":\"resetFormAfter\",\"disabled\":!_vm.createAnother,\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.resetFormAfter)?_vm._i(_vm.resetFormAfter,null)>-1:(_vm.resetFormAfter)},on:{\"change\":function($event){var $$a=_vm.resetFormAfter,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.resetFormAfter=$$a.concat([$$v]))}else{$$i>-1&&(_vm.resetFormAfter=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.resetFormAfter=$$c}}}}),_vm._v(\" \"),_c('label',{staticClass:\"form-check-label\",attrs:{\"for\":\"resetFormAfter\"}},[_c('span',{staticClass:\"small\"},[_vm._v(_vm._s(_vm.$t('firefly.reset_after')))])])])])])])])])])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/*\n * create.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nimport store from \"../../components/store\";\nimport Create from \"../../components/transactions/Create\";\nimport Vue from \"vue\";\n\nrequire('../../bootstrap');\n\nVue.config.productionTip = false;\n// i18n\nlet i18n = require('../../i18n');\n\n// TODO take transaction type from URL. Simplifies a lot of code.\n// TODO make sure the enter button works.\n// TODO add preferences in sidebar\n// TODO If I change the date box at all even if you just type over it with the current date, it posts back a day.\n// TODO Cash accounts do not work\n\nlet props = {};\nnew Vue({\n i18n,\n store,\n render(createElement) {\n return createElement(Create, {props: props});\n },\n beforeCreate() {\n this.$store.dispatch('root/initialiseStore');\n this.$store.commit('initialiseStore');\n this.$store.dispatch('updateCurrencyPreference');\n },\n }).$mount('#transactions_create');\n","/*\n * transactions.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nexport function getDefaultErrors() {\n return {\n description: [],\n amount: [],\n source: [],\n destination: [],\n currency: [],\n foreign_currency: [],\n foreign_amount: [],\n date: [],\n custom_dates: [],\n budget: [],\n category: [],\n bill: [],\n tags: [],\n piggy_bank: [],\n internal_reference: [],\n external_url: [],\n notes: [],\n location: []\n };\n}\n\nexport function getDefaultTransaction() {\n return {\n // basic\n description: '',\n transaction_journal_id: 0,\n // accounts:\n source_account_id: null,\n source_account_name: null,\n source_account_type: null,\n\n source_account_currency_id: null,\n source_account_currency_code: null,\n source_account_currency_symbol: null,\n\n destination_account_id: null,\n destination_account_name: null,\n destination_account_type: null,\n\n destination_account_currency_id: null,\n destination_account_currency_code: null,\n destination_account_currency_symbol: null,\n\n source_account: {\n id: 0,\n name: \"\",\n name_with_balance: \"\",\n type: \"\",\n currency_id: 0,\n currency_name: '',\n currency_code: '',\n currency_decimal_places: 2\n },\n destination_account: {\n id: 0,\n name: \"\",\n type: \"\",\n currency_id: 0,\n currency_name: '',\n currency_code: '',\n currency_decimal_places: 2\n },\n\n // amount:\n amount: '',\n currency_id: 0,\n foreign_amount: '',\n foreign_currency_id: 0,\n\n // meta data\n category: null,\n budget_id: 0,\n bill_id: 0,\n piggy_bank_id: 0,\n tags: [],\n\n // optional date fields (6x):\n interest_date: null,\n book_date: null,\n process_date: null,\n due_date: null,\n payment_date: null,\n invoice_date: null,\n\n // optional other fields:\n internal_reference: null,\n external_url: null,\n external_id: null,\n notes: null,\n\n // transaction links:\n links: [],\n attachments: [],\n // location:\n zoom_level: null,\n longitude: null,\n latitude: null,\n\n // error handling\n errors: {},\n }\n}\n\nexport function toW3CString(date) {\n // https://gist.github.com/tristanlins/6585391\n let year = date.getFullYear();\n let month = date.getMonth();\n month++;\n if (month < 10) {\n month = '0' + month;\n }\n let day = date.getDate();\n if (day < 10) {\n day = '0' + day;\n }\n let hours = date.getHours();\n if (hours < 10) {\n hours = '0' + hours;\n }\n let minutes = date.getMinutes();\n if (minutes < 10) {\n minutes = '0' + minutes;\n }\n let seconds = date.getSeconds();\n if (seconds < 10) {\n seconds = '0' + seconds;\n }\n let offset = -date.getTimezoneOffset();\n let offsetHours = Math.abs(Math.floor(offset / 60));\n let offsetMinutes = Math.abs(offset) - offsetHours * 60;\n if (offsetHours < 10) {\n offsetHours = '0' + offsetHours;\n }\n if (offsetMinutes < 10) {\n offsetMinutes = '0' + offsetMinutes;\n }\n let offsetSign = '+';\n if (offset < 0) {\n offsetSign = '-';\n }\n return year + '-' + month + '-' + day +\n 'T' + hours + ':' + minutes + ':' + seconds +\n offsetSign + offsetHours + ':' + offsetMinutes;\n}","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/cssWithMappingToString.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".vue-tags-input{max-width:100%!important;display:block}.ti-input,.vue-tags-input{width:100%;border-radius:.25rem}.ti-input{max-width:100%}.ti-new-tag-input{font-size:1rem}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/transactions/TransactionTags.vue\"],\"names\":[],\"mappings\":\"AA2HA,gBAEA,wBAAA,CACA,aAEA,CAEA,0BANA,UAAA,CAGA,oBAOA,CAJA,UAEA,cAEA,CAEA,kBACA,cACA\",\"sourcesContent\":[\"<!--\\n - TransactionTags.vue\\n - Copyright (c) 2021 [email protected]\\n -\\n - This file is part of Firefly III (https://github.com/firefly-iii).\\n -\\n - This program is free software: you can redistribute it and/or modify\\n - it under the terms of the GNU Affero General Public License as\\n - published by the Free Software Foundation, either version 3 of the\\n - License, or (at your option) any later version.\\n -\\n - This program is distributed in the hope that it will be useful,\\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\\n - GNU Affero General Public License for more details.\\n -\\n - You should have received a copy of the GNU Affero General Public License\\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\\n -->\\n\\n<template>\\n <div class=\\\"form-group\\\">\\n <div class=\\\"text-xs d-none d-lg-block d-xl-block\\\">\\n {{ $t('firefly.tags') }}\\n </div>\\n <div class=\\\"input-group\\\">\\n <vue-tags-input\\n v-model=\\\"currentTag\\\"\\n :add-only-from-autocomplete=\\\"false\\\"\\n :autocomplete-items=\\\"autocompleteItems\\\"\\n :tags=\\\"tags\\\"\\n :title=\\\"$t('firefly.tags')\\\"\\n v-bind:placeholder=\\\"$t('firefly.tags')\\\"\\n @tags-changed=\\\"newTags => this.tags = newTags\\\"\\n />\\n </div>\\n <span v-if=\\\"errors.length > 0\\\">\\n <span v-for=\\\"error in errors\\\" class=\\\"text-danger small\\\">{{ error }}<br/></span>\\n </span>\\n </div>\\n</template>\\n\\n<script>\\nimport VueTagsInput from \\\"@johmun/vue-tags-input\\\";\\nimport axios from \\\"axios\\\";\\n\\nexport default {\\n name: \\\"TransactionTags\\\",\\n components: {\\n VueTagsInput\\n },\\n props: ['value', 'index', 'errors'],\\n data() {\\n return {\\n autocompleteItems: [],\\n debounce: null,\\n tags: [],\\n currentTag: '',\\n updateTags: true, // the idea is that this is always true, except when the tags-function sets the value.\\n tagList: this.value,\\n emitEvent: true\\n };\\n },\\n created() {\\n let tags = [];\\n for (let i in this.value) {\\n if (this.value.hasOwnProperty(i) && /^0$|^[1-9]\\\\d*$/.test(i) && i <= 4294967294) {\\n tags.push({text: this.value[i]});\\n }\\n }\\n this.updateTags = false;\\n this.tags = tags;\\n },\\n watch: {\\n 'currentTag': 'initItems',\\n value: function (value) {\\n this.emitEvent = false;\\n this.tagList = value;\\n },\\n tagList: function (value) {\\n console.log('watch tagList');\\n if (true === this.emitEvent) {\\n this.$emit('set-field', {field: 'tags', index: this.index, value: value});\\n }\\n this.emitEvent = true;\\n this.updateTags = false;\\n this.tags = value;\\n },\\n tags: function (value) {\\n if (this.updateTags) {\\n let shortList = [];\\n for (let key in value) {\\n if (value.hasOwnProperty(key)) {\\n shortList.push({text: value[key].text});\\n }\\n }\\n this.tagList = shortList;\\n }\\n this.updateTags = true;\\n }\\n },\\n methods: {\\n initItems() {\\n if (this.currentTag.length < 2) {\\n return;\\n }\\n const url = document.getElementsByTagName('base')[0].href + `api/v1/autocomplete/tags?query=${this.currentTag}`;\\n\\n clearTimeout(this.debounce);\\n this.debounce = setTimeout(() => {\\n axios.get(url).then(response => {\\n this.autocompleteItems = response.data.map(item => {\\n return {text: item.tag};\\n });\\n }).catch(() => console.warn('Oh. Something went wrong loading tags.'));\\n }, 300);\\n },\\n },\\n\\n\\n}\\n</script>\\n<style>\\n.vue-tags-input {\\n width: 100%;\\n max-width: 100% !important;\\n display: block;\\n border-radius: 0.25rem;\\n}\\n\\n.ti-input {\\n border-radius: 0.25rem;\\n max-width: 100%;\\n width: 100%;\\n}\\n\\n.ti-new-tag-input {\\n font-size: 1rem;\\n}\\n</style>\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","<!--\n - Alert.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n<template>\n <div v-if=\"message.length > 0\" :class=\"'alert alert-' + type + ' alert-dismissible'\">\n <button aria-hidden=\"true\" class=\"close\" data-dismiss=\"alert\" type=\"button\">×</button>\n <h5>\n <i v-if=\"'danger' === type\" class=\"icon fas fa-ban\"></i>\n <i v-if=\"'success' === type\" class=\"icon fas fa-thumbs-up\"></i>\n <span v-if=\"'danger' === type\">{{ $t(\"firefly.flash_error\") }}</span>\n <span v-if=\"'success' === type\">{{ $t(\"firefly.flash_success\") }}</span>\n </h5>\n <span v-html=\"message\"></span>\n </div>\n</template>\n<script>\nexport default {\n name: \"Alert\",\n props: ['message', 'type']\n}\n</script>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Alert.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Alert.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Alert.vue?vue&type=template&id=df266c68&\"\nimport script from \"./Alert.vue?vue&type=script&lang=js&\"\nexport * from \"./Alert.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.message.length > 0)?_c('div',{class:'alert alert-' + _vm.type + ' alert-dismissible'},[_c('button',{staticClass:\"close\",attrs:{\"aria-hidden\":\"true\",\"data-dismiss\":\"alert\",\"type\":\"button\"}},[_vm._v(\"×\")]),_vm._v(\" \"),_c('h5',[('danger' === _vm.type)?_c('i',{staticClass:\"icon fas fa-ban\"}):_vm._e(),_vm._v(\" \"),('success' === _vm.type)?_c('i',{staticClass:\"icon fas fa-thumbs-up\"}):_vm._e(),_vm._v(\" \"),('danger' === _vm.type)?_c('span',[_vm._v(_vm._s(_vm.$t(\"firefly.flash_error\")))]):_vm._e(),_vm._v(\" \"),('success' === _vm.type)?_c('span',[_vm._v(_vm._s(_vm.$t(\"firefly.flash_success\")))]):_vm._e()]),_vm._v(\" \"),_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.message)}})]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:'tab-pane' + (0===_vm.index ? ' active' : ''),attrs:{\"id\":'split_' + _vm.index}},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.basic_journal_information'))+\"\\n \"),(_vm.count > 1)?_c('span',[_vm._v(\"(\"+_vm._s(_vm.index + 1)+\" / \"+_vm._s(_vm.count)+\") \")]):_vm._e()]),_vm._v(\" \"),(_vm.count>1)?_c('div',{staticClass:\"card-tools\"},[_c('button',{staticClass:\"btn btn-danger btn-xs\",on:{\"click\":_vm.removeTransaction}},[_c('i',{staticClass:\"fas fa-trash-alt\"})])]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('TransactionDescription',_vm._g({attrs:{\"errors\":_vm.transaction.errors.description,\"index\":_vm.index},model:{value:(_vm.transaction.description),callback:function ($$v) {_vm.$set(_vm.transaction, \"description\", $$v)},expression:\"transaction.description\"}},_vm.$listeners))],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12\"},[_c('TransactionAccount',_vm._g({attrs:{\"destination-allowed-types\":_vm.destinationAllowedTypes,\"errors\":_vm.transaction.errors.source,\"index\":_vm.index,\"source-allowed-types\":_vm.sourceAllowedTypes,\"transaction-type\":_vm.transactionType,\"direction\":\"source\"},model:{value:(_vm.sourceAccount),callback:function ($$v) {_vm.sourceAccount=$$v},expression:\"sourceAccount\"}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block\"},[(0 === _vm.index && _vm.allowSwitch)?_c('SwitchAccount',_vm._g({attrs:{\"index\":_vm.index,\"transaction-type\":_vm.transactionType}},_vm.$listeners)):_vm._e()],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionAccount',_vm._g({attrs:{\"destination-allowed-types\":_vm.destinationAllowedTypes,\"errors\":_vm.transaction.errors.destination,\"index\":_vm.index,\"transaction-type\":_vm.transactionType,\"source-allowed-types\":_vm.sourceAllowedTypes,\"direction\":\"destination\"},model:{value:(_vm.destinationAccount),callback:function ($$v) {_vm.destinationAccount=$$v},expression:\"destinationAccount\"}},_vm.$listeners))],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12\"},[_c('TransactionAmount',_vm._g({attrs:{\"amount\":_vm.transaction.amount,\"destination-currency-symbol\":this.transaction.destination_account_currency_symbol,\"errors\":_vm.transaction.errors.amount,\"index\":_vm.index,\"source-currency-symbol\":this.transaction.source_account_currency_symbol,\"transaction-type\":this.transactionType}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block\"},[_c('TransactionForeignCurrency',_vm._g({attrs:{\"destination-currency-id\":this.transaction.destination_account_currency_id,\"index\":_vm.index,\"selected-currency-id\":this.transaction.foreign_currency_id,\"source-currency-id\":this.transaction.source_account_currency_id,\"transaction-type\":this.transactionType},model:{value:(_vm.transaction.foreign_currency_id),callback:function ($$v) {_vm.$set(_vm.transaction, \"foreign_currency_id\", $$v)},expression:\"transaction.foreign_currency_id\"}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionForeignAmount',_vm._g({attrs:{\"destination-currency-id\":this.transaction.destination_account_currency_id,\"errors\":_vm.transaction.errors.foreign_amount,\"index\":_vm.index,\"selected-currency-id\":this.transaction.foreign_currency_id,\"source-currency-id\":this.transaction.source_account_currency_id,\"transaction-type\":this.transactionType},model:{value:(_vm.transaction.foreign_amount),callback:function ($$v) {_vm.$set(_vm.transaction, \"foreign_amount\", $$v)},expression:\"transaction.foreign_amount\"}},_vm.$listeners))],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionDate',_vm._g({attrs:{\"date\":_vm.splitDate,\"errors\":_vm.transaction.errors.date,\"index\":_vm.index}},_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\">{{ localTimeZone }}:{{ systemTimeZone }}</span>\n </div>\n</template>\n\n<script>\n\nimport {mapGetters} from \"vuex\";\n\nexport default {\n props: ['index', 'errors', 'date'],\n name: \"TransactionDate\",\n created() {\n this.localTimeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;\n this.systemTimeZone = this.timezone;\n console.log('TransactionDate: ' + this.date);\n // split date and time:\n let parts = this.date.split('T');\n this.dateStr = parts[0];\n this.timeStr = parts[1];\n\n },\n data() {\n return {\n localDate: this.date,\n localTimeZone: '',\n systemTimeZone: '',\n timeStr: '',\n dateStr: '',\n }\n },\n watch: {\n dateStr: function (value) {\n this.$emit('set-date', {date: value + 'T' + this.timeStr});\n },\n timeStr: function (value) {\n this.$emit('set-date', {date: this.dateStr + 'T' + value});\n }\n },\n methods: {},\n computed: {\n ...mapGetters('root', ['timezone']),\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionDate.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionDate.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionDate.vue?vue&type=template&id=477289e9&\"\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(\" \"),_c('span',{staticClass:\"text-muted small\"},[_vm._v(_vm._s(_vm.localTimeZone)+\":\"+_vm._s(_vm.systemTimeZone))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionBudget.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.budget') }}\n </div>\n <div class=\"input-group\">\n <select\n ref=\"budget\"\n v-model=\"budget\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :title=\"$t('firefly.budget')\"\n autocomplete=\"off\"\n name=\"budget_id[]\"\n >\n <option v-for=\"budget in this.budgetList\" :label=\"budget.name\" :value=\"budget.id\">{{ budget.name }}</option>\n </select>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors'],\n name: \"TransactionBudget\",\n data() {\n return {\n budgetList: [],\n budget: this.value,\n emitEvent: true\n }\n },\n created() {\n this.collectData();\n },\n methods: {\n collectData() {\n this.budgetList.push(\n {\n id: 0,\n name: this.$t('firefly.no_budget'),\n }\n );\n this.getBudgets();\n },\n getBudgets() {\n axios.get('./api/v1/budgets')\n .then(response => {\n this.parseBudgets(response.data);\n }\n );\n },\n parseBudgets(data) {\n for (let key in data.data) {\n if (data.data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = data.data[key];\n if(!current.attributes.active) {\n continue;\n }\n this.budgetList.push(\n {\n id: parseInt(current.id),\n name: current.attributes.name\n }\n );\n }\n }\n },\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.budget = value;\n },\n budget: function (value) {\n this.$emit('set-field', {field: 'budget_id', index: this.index, value: value});\n }\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBudget.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBudget.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionBudget.vue?vue&type=template&id=54257463&\"\nimport script from \"./TransactionBudget.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionBudget.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.budget'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.budget),expression:\"budget\"}],ref:\"budget\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"title\":_vm.$t('firefly.budget'),\"autocomplete\":\"off\",\"name\":\"budget_id[]\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.budget=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((this.budgetList),function(budget){return _c('option',{attrs:{\"label\":budget.name},domProps:{\"value\":budget.id}},[_vm._v(_vm._s(budget.name))])}),0)]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionAccount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div v-if=\"visible\" class=\"text-xs d-none d-lg-block d-xl-block\">\n <span v-if=\"0 === this.index\">{{ $t('firefly.' + this.direction + '_account') }}</span>\n <span v-if=\"this.index > 0\" class=\"text-warning\">{{ $t('firefly.first_split_overrules_' + this.direction) }}</span>\n <br><span>{{ selectedAccount }}</span>\n </div>\n <div v-if=\"!visible\" class=\"text-xs d-none d-lg-block d-xl-block\">\n \n </div>\n <vue-typeahead-bootstrap\n v-if=\"visible\"\n v-model=\"accountName\"\n :data=\"accounts\"\n :inputClass=\"errors.length > 0 ? 'is-invalid' : ''\"\n :inputName=\"direction + '[]'\"\n :minMatchingChars=\"3\"\n :placeholder=\"$t('firefly.' + direction + '_account')\"\n :serializer=\"item => item.name_with_balance\"\n :showOnFocus=true\n aria-autocomplete=\"none\"\n autocomplete=\"off\"\n @hit=\"userSelectedAccount\"\n @input=\"lookupAccount\"\n >\n\n <template slot=\"suggestion\" slot-scope=\"{ data, htmlText }\">\n <div :title=\"data.type\" class=\"d-flex\">\n <span v-html=\"htmlText\"></span><br>\n </div>\n </template>\n <template slot=\"append\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\" v-on:click=\"clearAccount\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </template>\n </vue-typeahead-bootstrap>\n <div v-if=\"!visible\" class=\"form-control-static\">\n <span class=\"small text-muted\"><em>{{ $t('firefly.first_split_decides') }}</em></span>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nimport VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';\nimport {debounce} from 'lodash';\n\nexport default {\n name: \"TransactionAccount\",\n components: {VueTypeaheadBootstrap},\n props: {\n index: {\n type: Number,\n },\n direction: {\n type: String,\n },\n value: {\n type: Object,\n default: () => ({})\n },\n errors: {\n type: Array,\n default: () => ([])\n },\n sourceAllowedTypes: {\n type: Array,\n default: () => ([])\n },\n destinationAllowedTypes: {\n type: Array,\n default: () => ([])\n },\n transactionType: {\n type: String,\n default: 'any'\n },\n },\n data() {\n return {\n query: '',\n accounts: [],\n accountTypes: [],\n initialSet: [],\n selectedAccount: {},\n accountName: '',\n selectedAccountTrigger: false,\n }\n },\n created() {\n this.accountName = this.value.name ?? '';\n // console.log('TransactionAccount::created() direction=' + this.direction + ', type=' + this.transactionType + ' , name=\"' + this.accountName + '\"');\n this.selectedAccountTrigger = true;\n },\n methods: {\n getACURL: function (types, query) {\n return './api/v1/autocomplete/accounts?types=' + types.join(',') + '&query=' + query;\n },\n userSelectedAccount: function (event) {\n // console.log('userSelectedAccount!');\n // console.log('To prevent invalid propogation, set selectedAccountTrigger = true');\n this.selectedAccountTrigger = true;\n this.selectedAccount = event;\n },\n systemReturnedAccount: function (event) {\n // console.log('systemReturnedAccount!');\n // console.log('To prevent invalid propogation, set selectedAccountTrigger = false');\n this.selectedAccountTrigger = false;\n this.selectedAccount = event;\n },\n clearAccount: function () {\n //// console.log('TransactionAccount::clearAccount()');\n this.accounts = this.initialSet;\n //this.account = {name: '', type: 'no_type', id: null, currency_id: null, currency_code: null, currency_symbol: null};\n this.accountName = '';\n },\n lookupAccount: debounce(function () {\n //// console.log('TransactionAccount::lookupAccount()');\n //// console.log('In lookupAccount()');\n if (0 === this.accountTypes.length) {\n // set the types from the default types for this direction:\n this.accountTypes = 'source' === this.direction ? this.sourceAllowedTypes : this.destinationAllowedTypes;\n }\n // // console.log(this.direction + ': Will search for types:');\n // // console.log(this.accountTypes);\n\n // update autocomplete URL:\n axios.get(this.getACURL(this.accountTypes, this.accountName))\n .then(response => {\n //// console.log('Got a response!');\n this.accounts = response.data;\n //// console.log(response.data);\n })\n }, 300),\n\n createInitialSet: function () {\n //// console.log('TransactionAccount::createInitialSet()');\n let types = this.sourceAllowedTypes;\n if ('destination' === this.direction) {\n types = this.destinationAllowedTypes;\n }\n // // console.log('createInitialSet() direction=' + this.direction + ' resets to these types:');\n // // console.log(types);\n\n axios.get(this.getACURL(types, ''))\n .then(response => {\n this.accounts = response.data;\n this.initialSet = response.data;\n });\n }\n },\n watch: {\n sourceAllowedTypes: function (value) {\n //// console.log('TransactionAccount::sourceAllowedTypes()');\n // // console.log(this.direction + ' account noticed change in sourceAllowedTypes');\n // // console.log(value);\n this.createInitialSet();\n },\n destinationAllowedTypes: function (value) {\n //// console.log('TransactionAccount::destinationAllowedTypes()');\n // // console.log(this.direction + ' account noticed change in destinationAllowedTypes');\n // // console.log(value);\n this.createInitialSet();\n },\n /**\n * Triggered when the user selects an account from the auto-complete.\n *\n * @param value\n */\n selectedAccount: function (value) {\n console.log('TransactionAccount::watch selectedAccount()');\n console.log(value);\n if (true === this.selectedAccountTrigger) {\n console.log('$emit alles!');\n this.$emit('set-account',\n {\n index: this.index,\n direction: this.direction,\n id: value.id,\n type: value.type,\n name: value.name,\n currency_id: value.currency_id,\n currency_code: value.currency_code,\n currency_symbol: value.currency_symbol,\n }\n );\n console.log('watch::selectedAccount() will now set accountName because selectedAccountTrigger = true');\n this.accountName = value.name;\n }\n },\n accountName: function (value) {\n console.log('now at watch accountName(\"' + value + '\")');\n console.log(this.selectedAccountTrigger);\n if (true === this.selectedAccountTrigger) {\n console.log('Do nothing because selectedAccountTrigger = true');\n }\n if (false === this.selectedAccountTrigger) {\n console.log('$emit name from watch::accountName() because selectedAccountTrigger = false');\n this.$emit('set-account',\n {\n index: this.index,\n direction: this.direction,\n id: null,\n type: null,\n name: value,\n currency_id: null,\n currency_code: null,\n currency_symbol: null,\n }\n );\n // this.account = {name: value, type: null, id: null, currency_id: null, currency_code: null, currency_symbol: null};\n }\n console.log('set selectedAccountTrigger to be FALSE');\n this.selectedAccountTrigger = false;\n },\n value: function (value) {\n console.log('TransactionAccount::watch value(' + JSON.stringify(value) + ')');\n this.systemReturnedAccount(value);\n\n // // console.log('Index ' + this.index + ' nwAct: ', value);\n // // console.log(this.direction + ' account overruled by external forces.');\n // // console.log(value);\n //this.account = value;\n //this.selectedAccountTrigger = true;\n // this.accountName = value.name ?? '';\n // if(null !== value.id) {\n // return;\n // }\n // this.selectedAccountTrigger = true;\n //\n // // console.log('Set selectedAccountTrigger = true');\n // this.selectedAccount = value;\n }\n },\n computed: {\n accountKey: {\n get() {\n return 'source' === this.direction ? 'source_account' : 'destination_account';\n }\n },\n visible: {\n get() {\n // index 0 is always visible:\n if (0 === this.index) {\n return true;\n }\n // // console.log('Direction of account ' + this.index + ' is ' + this.direction + '(' + this.transactionType + ')');\n // // console.log(this.transactionType);\n if ('source' === this.direction) {\n return 'any' === this.transactionType || 'Deposit' === this.transactionType || typeof this.transactionType === 'undefined';\n }\n if ('destination' === this.direction) {\n return 'any' === this.transactionType || 'Withdrawal' === this.transactionType || typeof this.transactionType === 'undefined';\n }\n return false;\n }\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAccount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAccount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionAccount.vue?vue&type=template&id=2545f06e&\"\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._v(\" \"),_c('br'),_c('span',[_vm._v(_vm._s(_vm.selectedAccount))])]):_vm._e(),_vm._v(\" \"),(!_vm.visible)?_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \\n \")]):_vm._e(),_vm._v(\" \"),(_vm.visible)?_c('vue-typeahead-bootstrap',{attrs:{\"data\":_vm.accounts,\"inputClass\":_vm.errors.length > 0 ? 'is-invalid' : '',\"inputName\":_vm.direction + '[]',\"minMatchingChars\":3,\"placeholder\":_vm.$t('firefly.' + _vm.direction + '_account'),\"serializer\":function (item) { return item.name_with_balance; },\"showOnFocus\":true,\"aria-autocomplete\":\"none\",\"autocomplete\":\"off\"},on:{\"hit\":_vm.userSelectedAccount,\"input\":_vm.lookupAccount},scopedSlots:_vm._u([{key:\"suggestion\",fn:function(ref){\nvar data = ref.data;\nvar htmlText = ref.htmlText;\nreturn [_c('div',{staticClass:\"d-flex\",attrs:{\"title\":data.type}},[_c('span',{domProps:{\"innerHTML\":_vm._s(htmlText)}}),_c('br')])]}}],null,false,1423807661),model:{value:(_vm.accountName),callback:function ($$v) {_vm.accountName=$$v},expression:\"accountName\"}},[_vm._v(\" \"),_c('template',{slot:\"append\"},[_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"},on:{\"click\":_vm.clearAccount}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])],2):_vm._e(),_vm._v(\" \"),(!_vm.visible)?_c('div',{staticClass:\"form-control-static\"},[_c('span',{staticClass:\"small text-muted\"},[_c('em',[_vm._v(_vm._s(_vm.$t('firefly.first_split_decides')))])])]):_vm._e(),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - SwitchAccount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n <span v-if=\"'any' !== this.transactionType\" class=\"text-muted\">\n {{ $t('firefly.' + this.transactionType) }}\n </span>\n <span v-if=\"'any' === this.transactionType\" class=\"text-muted\"> </span>\n </div>\n <!--\n <div class=\"btn-group d-flex\">\n <button class=\"btn btn-light\" @click=\"switchAccounts\">↔</button>\n </div>\n -->\n </div>\n</template>\n\n<script>\nexport default {\n name: \"SwitchAccount\",\n props: ['index', 'transactionType'],\n methods: {\n // switchAccounts() {\n // this.$emit('switch-accounts', this.index);\n // }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SwitchAccount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SwitchAccount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SwitchAccount.vue?vue&type=template&id=66a3afa9&scoped=true&\"\nimport script from \"./SwitchAccount.vue?vue&type=script&lang=js&\"\nexport * from \"./SwitchAccount.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"66a3afa9\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[('any' !== this.transactionType)?_c('span',{staticClass:\"text-muted\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.' + this.transactionType))+\"\\n \")]):_vm._e(),_vm._v(\" \"),('any' === this.transactionType)?_c('span',{staticClass:\"text-muted\"},[_vm._v(\" \")]):_vm._e()])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionAmount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs\">{{ $t('firefly.amount') }}</div>\n <div class=\"input-group\">\n <div v-if=\"currencySymbol\" class=\"input-group-prepend\">\n <div class=\"input-group-text\">{{ currencySymbol }}</div>\n </div>\n <input\n v-model=\"transactionAmount\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.amount')\"\n :title=\"$t('firefly.amount')\"\n autocomplete=\"off\"\n name=\"amount[]\"\n type=\"number\"\n step=\"any\"\n >\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nexport default {\n name: \"TransactionAmount\",\n props: {\n index: {\n type: Number,\n default: 0,\n required: true\n },\n errors: {},\n amount: {},\n transactionType: {},\n sourceCurrencySymbol: {},\n destinationCurrencySymbol: {},\n fractionDigits: {\n default: 2,\n required: false\n },\n },\n created() {\n if ('' !== this.amount) {\n this.emitEvent = false;\n this.transactionAmount = this.formatNumber(this.amount);\n }\n },\n methods: {\n formatNumber(str) {\n return parseFloat(str).toFixed(this.fractionDigits);\n }\n },\n data() {\n return {\n transactionAmount: this.amount,\n currencySymbol: null,\n srcCurrencySymbol: this.sourceCurrencySymbol,\n dstCurrencySymbol: this.destinationCurrencySymbol,\n emitEvent: true\n }\n },\n watch: {\n transactionAmount: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'amount', index: this.index, value: value});\n }\n this.emitEvent = true;\n },\n amount: function (value) {\n this.transactionAmount = value;\n },\n sourceCurrencySymbol: function (value) {\n this.srcCurrencySymbol = value;\n },\n destinationCurrencySymbol: function (value) {\n this.dstCurrencySymbol = value;\n },\n transactionType: function (value) {\n switch (value) {\n case 'Transfer':\n case 'Withdrawal':\n this.currencySymbol = this.srcCurrencySymbol;\n break;\n case 'Deposit':\n this.currencySymbol = this.dstCurrencySymbol;\n }\n },\n },\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAmount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAmount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionAmount.vue?vue&type=template&id=571f2c0a&scoped=true&\"\nimport script from \"./TransactionAmount.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionAmount.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"571f2c0a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs\"},[_vm._v(_vm._s(_vm.$t('firefly.amount')))]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[(_vm.currencySymbol)?_c('div',{staticClass:\"input-group-prepend\"},[_c('div',{staticClass:\"input-group-text\"},[_vm._v(_vm._s(_vm.currencySymbol))])]):_vm._e(),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.transactionAmount),expression:\"transactionAmount\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.amount'),\"title\":_vm.$t('firefly.amount'),\"autocomplete\":\"off\",\"name\":\"amount[]\",\"type\":\"number\",\"step\":\"any\"},domProps:{\"value\":(_vm.transactionAmount)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.transactionAmount=$event.target.value}}})]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionForeignAmount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <!-- FOREIGN AMOUNT -->\n <div v-if=\"isVisible\" class=\"form-group\">\n <div class=\"text-xs\">{{ $t('form.foreign_amount') }}</div>\n <div class=\"input-group\">\n <input\n v-model=\"amount\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('form.foreign_amount')\"\n :title=\"$t('form.foreign_amount')\"\n autocomplete=\"off\"\n name=\"foreign_amount[]\"\n type=\"number\"\n >\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"TransactionForeignAmount\",\n props: {\n index: {},\n errors: {},\n value: {},\n transactionType: {},\n sourceCurrencyId: {},\n destinationCurrencyId: {},\n fractionDigits: {\n type: Number,\n default: 2\n }\n },\n data() {\n return {\n amount: this.value,\n emitEvent: true\n }\n },\n created() {\n if ('' !== this.amount) {\n this.emitEvent = false;\n this.amount = this.formatNumber(this.amount);\n }\n },\n methods: {\n formatNumber(str) {\n return parseFloat(str).toFixed(this.fractionDigits);\n }\n },\n watch: {\n amount: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'foreign_amount', index: this.index, value: value});\n }\n this.emitEvent = true;\n },\n value: function (value) {\n this.amount = value;\n\n\n }\n },\n computed: {\n isVisible: {\n get() {\n return !('Transfer' === this.transactionType && this.sourceCurrencyId === this.destinationCurrencyId);\n }\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignAmount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignAmount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionForeignAmount.vue?vue&type=template&id=d13f8bea&scoped=true&\"\nimport script from \"./TransactionForeignAmount.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionForeignAmount.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d13f8bea\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isVisible)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs\"},[_vm._v(_vm._s(_vm.$t('form.foreign_amount')))]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.amount),expression:\"amount\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('form.foreign_amount'),\"title\":_vm.$t('form.foreign_amount'),\"autocomplete\":\"off\",\"name\":\"foreign_amount[]\",\"type\":\"number\"},domProps:{\"value\":(_vm.amount)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.amount=$event.target.value}}})]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionForeignCurrency.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <!-- FOREIGN Currency -->\n <div v-if=\"isVisible\" class=\"form-group\">\n <div class=\"text-xs\"> </div>\n <div class=\"input-group\">\n <select v-model=\"selectedCurrency\" class=\"form-control\" name=\"foreign_currency_id[]\">\n <option v-for=\"currency in selectableCurrencies\" :label=\"currency.name\" :value=\"currency.id\">{{ currency.name }}</option>\n </select>\n </div>\n </div>\n</template>\n<script>\n\nexport default {\n name: \"TransactionForeignCurrency\",\n props: [\n 'index',\n 'transactionType',\n 'sourceCurrencyId',\n 'destinationCurrencyId',\n 'selectedCurrencyId',\n 'value'\n ],\n data() {\n return {\n selectedCurrency: this.value,\n allCurrencies: [],\n selectableCurrencies: [],\n dstCurrencyId: this.destinationCurrencyId,\n srcCurrencyId: this.sourceCurrencyId,\n lockedCurrency: 0,\n emitEvent: true\n }\n },\n watch: {\n value: function (value) {\n this.selectedCurrency = value;\n },\n sourceCurrencyId: function (value) {\n this.srcCurrencyId = value;\n },\n destinationCurrencyId: function (value) {\n this.dstCurrencyId = value;\n },\n selectedCurrency: function (value) {\n this.$emit('set-field', {field: 'foreign_currency_id', index: this.index, value: value});\n },\n transactionType: function (value) {\n this.lockedCurrency = 0;\n if ('Transfer' === value) {\n this.lockedCurrency = this.dstCurrencyId;\n this.selectedCurrency = this.dstCurrencyId;\n }\n this.filterCurrencies();\n },\n },\n created: function () {\n this.getAllCurrencies();\n },\n methods: {\n getAllCurrencies: function () {\n axios.get('./api/v1/autocomplete/currencies')\n .then(response => {\n this.allCurrencies = response.data;\n this.filterCurrencies();\n }\n );\n\n },\n filterCurrencies() {\n // if a currency is locked only that currency can (and must) be selected:\n if (0 !== this.lockedCurrency) {\n for (let key in this.allCurrencies) {\n if (this.allCurrencies.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = this.allCurrencies[key];\n if (current.id === this.lockedCurrency) {\n this.selectableCurrencies = [current];\n this.selectedCurrency = current.id;\n }\n }\n }\n return;\n }\n\n this.selectableCurrencies = [\n {\n \"id\": 0,\n \"name\": this.$t('firefly.no_currency')\n }\n ];\n for (let key in this.allCurrencies) {\n if (this.allCurrencies.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = this.allCurrencies[key];\n this.selectableCurrencies.push(current);\n }\n }\n }\n },\n computed: {\n isVisible: function () {\n return !('Transfer' === this.transactionType && this.srcCurrencyId === this.dstCurrencyId);\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignCurrency.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignCurrency.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionForeignCurrency.vue?vue&type=template&id=3ee4efa5&scoped=true&\"\nimport script from \"./TransactionForeignCurrency.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionForeignCurrency.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3ee4efa5\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isVisible)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs\"},[_vm._v(\" \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedCurrency),expression:\"selectedCurrency\"}],staticClass:\"form-control\",attrs:{\"name\":\"foreign_currency_id[]\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selectedCurrency=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((_vm.selectableCurrencies),function(currency){return _c('option',{attrs:{\"label\":currency.name},domProps:{\"value\":currency.id}},[_vm._v(_vm._s(currency.name))])}),0)])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionCustomDates.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div>\n <div v-for=\"(enabled, name) in availableFields\" class=\"form-group\">\n <div v-if=\"enabled && isDateField(name)\" class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('form.' + name) }}\n </div>\n <div v-if=\"enabled && isDateField(name)\" class=\"input-group\">\n <input\n :ref=\"name\"\n :name=\"name + '[]'\"\n :placeholder=\"$t('form.' + name)\"\n :title=\"$t('form.' + name)\"\n :value=\"getFieldValue(name)\"\n autocomplete=\"off\"\n class=\"form-control\"\n type=\"date\"\n @change=\"setFieldValue($event, name)\"\n >\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"TransactionCustomDates\",\n props: [\n 'index',\n 'errors',\n 'customFields',\n 'interestDate',\n 'bookDate',\n 'processDate',\n 'dueDate',\n 'paymentDate',\n 'invoiceDate'\n ],\n data() {\n return {\n dateFields: ['interest_date', 'book_date', 'process_date', 'due_date', 'payment_date', 'invoice_date'],\n availableFields: this.customFields,\n dates: {\n interest_date: this.interestDate,\n book_date: this.bookDate,\n process_date: this.processDate,\n due_date: this.dueDate,\n payment_date: this.paymentDate,\n invoice_date: this.invoiceDate,\n }\n ,\n }\n },\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n interestDate: function (value) {\n this.dates.interest_date = value;\n },\n bookDate: function (value) {\n this.dates.book_date = value;\n },\n processDate: function (value) {\n this.dates.process_date = value;\n },\n dueDate: function (value) {\n this.dates.due_date = value;\n },\n paymentDate: function (value) {\n this.dates.payment_date = value;\n },\n invoiceDate: function (value) {\n this.dates.invoice_date = value;\n },\n },\n methods: {\n isDateField: function (name) {\n return this.dateFields.includes(name)\n },\n getFieldValue(field) {\n return this.dates[field] ?? '';\n },\n setFieldValue(event, field) {\n this.$emit('set-field', {field: field, index: this.index, value: event.target.value});\n },\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionCustomDates.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionCustomDates.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionCustomDates.vue?vue&type=template&id=728c6420&\"\nimport script from \"./TransactionCustomDates.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionCustomDates.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',_vm._l((_vm.availableFields),function(enabled,name){return _c('div',{staticClass:\"form-group\"},[(enabled && _vm.isDateField(name))?_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('form.' + name))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(enabled && _vm.isDateField(name))?_c('div',{staticClass:\"input-group\"},[_c('input',{ref:name,refInFor:true,staticClass:\"form-control\",attrs:{\"name\":name + '[]',\"placeholder\":_vm.$t('form.' + name),\"title\":_vm.$t('form.' + name),\"autocomplete\":\"off\",\"type\":\"date\"},domProps:{\"value\":_vm.getFieldValue(name)},on:{\"change\":function($event){return _vm.setFieldValue($event, name)}}})]):_vm._e()])}),0)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionCategory.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.category') }}\n </div>\n\n <vue-typeahead-bootstrap\n v-model=\"category\"\n :data=\"categories\"\n :inputClass=\"errors.length > 0 ? 'is-invalid' : ''\"\n :minMatchingChars=\"3\"\n :placeholder=\"$t('firefly.category')\"\n :serializer=\"item => item.name\"\n :showOnFocus=true\n inputName=\"category[]\"\n @hit=\"selectedCategory = $event\"\n @input=\"lookupCategory\"\n >\n <template slot=\"append\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\" v-on:click=\"clearCategory\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </template>\n </vue-typeahead-bootstrap>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nimport VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';\nimport {debounce} from \"lodash\";\n\nexport default {\n props: ['value', 'index', 'errors'],\n components: {VueTypeaheadBootstrap},\n name: \"TransactionCategory\",\n data() {\n return {\n categories: [],\n initialSet: [],\n category: this.value,\n emitEvent: true\n }\n },\n\n created() {\n\n // initial list of accounts:\n axios.get(this.getACURL(''))\n .then(response => {\n this.categories = response.data;\n this.initialSet = response.data;\n });\n },\n\n methods: {\n clearCategory: function () {\n this.category = '';\n },\n getACURL: function (query) {\n // update autocomplete URL:\n return document.getElementsByTagName('base')[0].href + 'api/v1/autocomplete/categories?query=' + query;\n },\n lookupCategory: debounce(function () {\n // update autocomplete URL:\n axios.get(this.getACURL(this.value))\n .then(response => {\n this.categories = response.data;\n })\n }, 300)\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.category = value ?? '';\n },\n category: function (value) {\n this.$emit('set-field', {field: 'category', index: this.index, value: value});\n }\n },\n computed: {\n selectedCategory: {\n get() {\n return this.categories[this.index].name;\n },\n set(value) {\n this.category = value.name;\n }\n }\n }\n}\n</script>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionCategory.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionCategory.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionCategory.vue?vue&type=template&id=332d1095&\"\nimport script from \"./TransactionCategory.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionCategory.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.category'))+\"\\n \")]),_vm._v(\" \"),_c('vue-typeahead-bootstrap',{attrs:{\"data\":_vm.categories,\"inputClass\":_vm.errors.length > 0 ? 'is-invalid' : '',\"minMatchingChars\":3,\"placeholder\":_vm.$t('firefly.category'),\"serializer\":function (item) { return item.name; },\"showOnFocus\":true,\"inputName\":\"category[]\"},on:{\"hit\":function($event){_vm.selectedCategory = $event},\"input\":_vm.lookupCategory},model:{value:(_vm.category),callback:function ($$v) {_vm.category=$$v},expression:\"category\"}},[_c('template',{slot:\"append\"},[_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"},on:{\"click\":_vm.clearCategory}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])],2),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionBill.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.bill') }}\n </div>\n <div class=\"input-group\">\n <select\n ref=\"bill\"\n v-model=\"bill\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :title=\"$t('firefly.bill')\"\n autocomplete=\"off\"\n name=\"bill_id[]\"\n >\n <option v-for=\"bill in this.billList\" :label=\"bill.name\" :value=\"bill.id\">{{ bill.name }}</option>\n\n </select>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['value', 'index', 'errors'],\n name: \"TransactionBill\",\n data() {\n return {\n billList: [],\n bill: this.value,\n emitEvent: true\n }\n },\n created() {\n this.collectData();\n },\n methods: {\n collectData() {\n this.billList.push(\n {\n id: 0,\n name: this.$t('firefly.no_bill'),\n }\n );\n this.getBills();\n },\n getBills() {\n axios.get('./api/v1/bills')\n .then(response => {\n this.parseBills(response.data);\n }\n );\n },\n parseBills(data) {\n for (let key in data.data) {\n if (data.data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = data.data[key];\n this.billList.push(\n {\n id: parseInt(current.id),\n name: current.attributes.name\n }\n );\n }\n }\n },\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.bill = value;\n },\n bill: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'bill_id', index: this.index, value: value});\n }\n this.emitEvent = true;\n }\n },\n}\n</script>\n\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBill.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBill.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionBill.vue?vue&type=template&id=07ad05c8&\"\nimport script from \"./TransactionBill.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionBill.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.bill'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.bill),expression:\"bill\"}],ref:\"bill\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"title\":_vm.$t('firefly.bill'),\"autocomplete\":\"off\",\"name\":\"bill_id[]\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.bill=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((this.billList),function(bill){return _c('option',{attrs:{\"label\":bill.name},domProps:{\"value\":bill.id}},[_vm._v(_vm._s(bill.name))])}),0)]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {\nvar this$1 = this;\nvar _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.tags'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('vue-tags-input',{attrs:{\"add-only-from-autocomplete\":false,\"autocomplete-items\":_vm.autocompleteItems,\"tags\":_vm.tags,\"title\":_vm.$t('firefly.tags'),\"placeholder\":_vm.$t('firefly.tags')},on:{\"tags-changed\":function (newTags) { return this$1.tags = newTags; }},model:{value:(_vm.currentTag),callback:function ($$v) {_vm.currentTag=$$v},expression:\"currentTag\"}})],1),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionTags.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.tags') }}\n </div>\n <div class=\"input-group\">\n <vue-tags-input\n v-model=\"currentTag\"\n :add-only-from-autocomplete=\"false\"\n :autocomplete-items=\"autocompleteItems\"\n :tags=\"tags\"\n :title=\"$t('firefly.tags')\"\n v-bind:placeholder=\"$t('firefly.tags')\"\n @tags-changed=\"newTags => this.tags = newTags\"\n />\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nimport VueTagsInput from \"@johmun/vue-tags-input\";\nimport axios from \"axios\";\n\nexport default {\n name: \"TransactionTags\",\n components: {\n VueTagsInput\n },\n props: ['value', 'index', 'errors'],\n data() {\n return {\n autocompleteItems: [],\n debounce: null,\n tags: [],\n currentTag: '',\n updateTags: true, // the idea is that this is always true, except when the tags-function sets the value.\n tagList: this.value,\n emitEvent: true\n };\n },\n created() {\n let tags = [];\n for (let i in this.value) {\n if (this.value.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n tags.push({text: this.value[i]});\n }\n }\n this.updateTags = false;\n this.tags = tags;\n },\n watch: {\n 'currentTag': 'initItems',\n value: function (value) {\n this.emitEvent = false;\n this.tagList = value;\n },\n tagList: function (value) {\n console.log('watch tagList');\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'tags', index: this.index, value: value});\n }\n this.emitEvent = true;\n this.updateTags = false;\n this.tags = value;\n },\n tags: function (value) {\n if (this.updateTags) {\n let shortList = [];\n for (let key in value) {\n if (value.hasOwnProperty(key)) {\n shortList.push({text: value[key].text});\n }\n }\n this.tagList = shortList;\n }\n this.updateTags = true;\n }\n },\n methods: {\n initItems() {\n if (this.currentTag.length < 2) {\n return;\n }\n const url = document.getElementsByTagName('base')[0].href + `api/v1/autocomplete/tags?query=${this.currentTag}`;\n\n clearTimeout(this.debounce);\n this.debounce = setTimeout(() => {\n axios.get(url).then(response => {\n this.autocompleteItems = response.data.map(item => {\n return {text: item.tag};\n });\n }).catch(() => console.warn('Oh. Something went wrong loading tags.'));\n }, 300);\n },\n },\n\n\n}\n</script>\n<style>\n.vue-tags-input {\n width: 100%;\n max-width: 100% !important;\n display: block;\n border-radius: 0.25rem;\n}\n\n.ti-input {\n border-radius: 0.25rem;\n max-width: 100%;\n width: 100%;\n}\n\n.ti-new-tag-input {\n font-size: 1rem;\n}\n</style>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionTags.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionTags.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionTags.vue?vue&type=template&id=834226ea&\"\nimport script from \"./TransactionTags.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionTags.vue?vue&type=script&lang=js&\"\nimport style0 from \"./TransactionTags.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<!--\n - TransactionPiggyBank.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.piggy_bank') }}\n </div>\n <div class=\"input-group\">\n <select\n ref=\"piggy_bank_id\"\n v-model=\"piggy_bank_id\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :title=\"$t('firefly.piggy_bank')\"\n autocomplete=\"off\"\n name=\"piggy_bank_id[]\"\n >\n <option v-for=\"piggy in this.piggyList\" :label=\"piggy.name_with_balance\" :value=\"piggy.id\">{{ piggy.name_with_balance }}</option>\n\n </select>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nexport default {\n props: ['index', 'value', 'errors'],\n name: \"TransactionPiggyBank\",\n data() {\n return {\n piggyList: [],\n piggy_bank_id: this.value,\n emitEvent: true\n }\n },\n created() {\n this.collectData();\n },\n methods: {\n collectData() {\n this.piggyList.push(\n {\n id: 0,\n name_with_balance: this.$t('firefly.no_piggy_bank'),\n }\n );\n this.getPiggies();\n },\n getPiggies() {\n axios.get('./api/v1/autocomplete/piggy-banks-with-balance')\n .then(response => {\n this.parsePiggies(response.data);\n }\n );\n },\n parsePiggies(data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = data[key];\n this.piggyList.push(\n {\n id: parseInt(current.id),\n name_with_balance: current.name_with_balance\n }\n );\n }\n }\n },\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.piggy_bank_id = value;\n },\n piggy_bank_id: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'piggy_bank_id', index: this.index, value: value});\n }\n this.emitEvent = true;\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionPiggyBank.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionPiggyBank.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionPiggyBank.vue?vue&type=template&id=18931396&\"\nimport script from \"./TransactionPiggyBank.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionPiggyBank.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.piggy_bank'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.piggy_bank_id),expression:\"piggy_bank_id\"}],ref:\"piggy_bank_id\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"title\":_vm.$t('firefly.piggy_bank'),\"autocomplete\":\"off\",\"name\":\"piggy_bank_id[]\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.piggy_bank_id=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((this.piggyList),function(piggy){return _c('option',{attrs:{\"label\":piggy.name_with_balance},domProps:{\"value\":piggy.id}},[_vm._v(_vm._s(piggy.name_with_balance))])}),0)]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionInternalReference.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.internal_reference') }}\n </div>\n <div class=\"input-group\">\n <input\n v-model=\"reference\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.internal_reference')\"\n name=\"internal_reference[]\"\n type=\"text\"\n />\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors', 'customFields'],\n name: \"TransactionInternalReference\",\n data() {\n return {\n reference: this.value,\n availableFields: this.customFields,\n emitEvent: true\n }\n },\n computed: {\n showField: function () {\n if ('internal_reference' in this.availableFields) {\n return this.availableFields.internal_reference;\n }\n return false;\n }\n },\n methods: {},\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n value: function (value) {\n this.emitEvent = false;\n this.reference = value;\n },\n reference: function (value) {\n this.$emit('set-field', {field: 'internal_reference', index: this.index, value: value});\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionInternalReference.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionInternalReference.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionInternalReference.vue?vue&type=template&id=7f1b8c1d&\"\nimport script from \"./TransactionInternalReference.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionInternalReference.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.internal_reference'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.reference),expression:\"reference\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.internal_reference'),\"name\":\"internal_reference[]\",\"type\":\"text\"},domProps:{\"value\":(_vm.reference)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.reference=$event.target.value}}}),_vm._v(\" \"),_vm._m(0)])]):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])}]\n\nexport { render, staticRenderFns }","<!--\n - TransactionInternalReference.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.external_url') }}\n </div>\n <div class=\"input-group\">\n <input\n v-model=\"url\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.external_url')\"\n name=\"external_url[]\"\n type=\"url\"\n />\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors', 'customFields'],\n name: \"TransactionExternalUrl\",\n data() {\n return {\n url: this.value,\n availableFields: this.customFields,\n }\n },\n computed: {\n showField: function () {\n if ('external_uri' in this.availableFields) {\n return this.availableFields.external_uri;\n }\n return false;\n }\n },\n methods: {},\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n value: function (value) {\n this.url = value;\n },\n url: function (value) {\n this.$emit('set-field', {field: 'external_url', index: this.index, value: value});\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionExternalUrl.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionExternalUrl.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionExternalUrl.vue?vue&type=template&id=7f6746e6&scoped=true&\"\nimport script from \"./TransactionExternalUrl.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionExternalUrl.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7f6746e6\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.external_url'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.url),expression:\"url\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.external_url'),\"name\":\"external_url[]\",\"type\":\"url\"},domProps:{\"value\":(_vm.url)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.url=$event.target.value}}}),_vm._v(\" \"),_vm._m(0)])]):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])}]\n\nexport { render, staticRenderFns }","<!--\n - TransactionNotes.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.notes') }}\n </div>\n <div class=\"input-group\">\n <textarea\n v-model=\"notes\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.notes')\"\n ></textarea>\n </div>\n </div>\n\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors', 'customFields'],\n name: \"TransactionNotes\",\n data() {\n return {\n notes: this.value,\n availableFields: this.customFields,\n emitEvent: true\n }\n },\n computed: {\n showField: function () {\n if ('notes' in this.availableFields) {\n return this.availableFields.notes;\n }\n return false;\n }\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.notes = value;\n },\n customFields: function (value) {\n this.availableFields = value;\n },\n notes: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'notes', index: this.index, value: value});\n }\n this.emitEvent = true;\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionNotes.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionNotes.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionNotes.vue?vue&type=template&id=10b3ae7a&scoped=true&\"\nimport script from \"./TransactionNotes.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionNotes.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"10b3ae7a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.notes'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.notes),expression:\"notes\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.notes')},domProps:{\"value\":(_vm.notes)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.notes=$event.target.value}}})])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',[_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.journal_links'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[(_vm.links.length === 0)?_c('p',[_c('button',{staticClass:\"btn btn-default btn-xs\",attrs:{\"data-target\":\"#linkModal\",\"data-toggle\":\"modal\"},on:{\"click\":_vm.resetModal}},[_c('i',{staticClass:\"fas fa-plus\"}),_vm._v(\" Add transaction link\")])]):_vm._e(),_vm._v(\" \"),(_vm.links.length > 0)?_c('ul',{staticClass:\"list-group\"},_vm._l((_vm.links),function(transaction,index){return _c('li',{key:index,staticClass:\"list-group-item\"},[_c('em',[_vm._v(_vm._s(_vm.getTextForLinkType(transaction.link_type_id)))]),_vm._v(\" \"),_c('a',{attrs:{\"href\":\"./transaction/show/\" + transaction.transaction_group_id}},[_vm._v(_vm._s(transaction.description))]),_vm._v(\" \"),(transaction.type === 'withdrawal')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-danger\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount) * -1)))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(transaction.type === 'deposit')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-success\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(transaction.type === 'transfer')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-info\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"btn-group btn-group-xs float-right\"},[_c('button',{staticClass:\"btn btn-xs btn-danger\",attrs:{\"tabindex\":\"-1\"},on:{\"click\":function($event){return _vm.removeLink(index)}}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])}),0):_vm._e(),_vm._v(\" \"),(_vm.links.length > 0)?_c('div',{staticClass:\"form-text\"},[_c('button',{staticClass:\"btn btn-default\",attrs:{\"data-target\":\"#linkModal\",\"data-toggle\":\"modal\"},on:{\"click\":_vm.resetModal}},[_c('i',{staticClass:\"fas fa-plus\"})])]):_vm._e()])])]),_vm._v(\" \"),_c('div',{ref:\"linkModal\",staticClass:\"modal\",attrs:{\"id\":\"linkModal\",\"tabindex\":\"-1\"}},[_c('div',{staticClass:\"modal-dialog modal-lg\"},[_c('div',{staticClass:\"modal-content\"},[_vm._m(0),_vm._v(\" \"),_c('div',{staticClass:\"modal-body\"},[_c('div',{staticClass:\"container-fluid\"},[_vm._m(1),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.search($event)}}},[_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.query),expression:\"query\"}],staticClass:\"form-control\",attrs:{\"id\":\"query\",\"autocomplete\":\"off\",\"maxlength\":\"255\",\"name\":\"search\",\"placeholder\":\"Search query\",\"type\":\"text\"},domProps:{\"value\":(_vm.query)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.query=$event.target.value}}}),_vm._v(\" \"),_vm._m(2)])])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[(_vm.searching)?_c('span',[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e(),_vm._v(\" \"),(_vm.searchResults.length > 0)?_c('h4',[_vm._v(_vm._s(_vm.$t('firefly.search_results')))]):_vm._e(),_vm._v(\" \"),(_vm.searchResults.length > 0)?_c('table',{staticClass:\"table table-sm\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.search_results')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{staticStyle:{\"width\":\"33%\"},attrs:{\"scope\":\"col\",\"colspan\":\"2\"}},[_vm._v(_vm._s(_vm.$t('firefly.include')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.transaction')))])])]),_vm._v(\" \"),_c('tbody',_vm._l((_vm.searchResults),function(result){return _c('tr',[_c('td',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(result.selected),expression:\"result.selected\"}],staticClass:\"form-control\",attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(result.selected)?_vm._i(result.selected,null)>-1:(result.selected)},on:{\"change\":[function($event){var $$a=result.selected,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(result, \"selected\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(result, \"selected\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(result, \"selected\", $$c)}},function($event){return _vm.selectTransaction($event)}]}})]),_vm._v(\" \"),_c('td',[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(result.link_type_id),expression:\"result.link_type_id\"}],staticClass:\"form-control\",on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(result, \"link_type_id\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])},function($event){return _vm.selectLinkType($event)}]}},_vm._l((_vm.linkTypes),function(linkType){return _c('option',{attrs:{\"label\":linkType.type},domProps:{\"value\":linkType.id + '-' + linkType.direction}},[_vm._v(_vm._s(linkType.type)+\"\\n \")])}),0)]),_vm._v(\" \"),_c('td',[_c('a',{attrs:{\"href\":'./transactions/show/' + result.transaction_group_id}},[_vm._v(_vm._s(result.description))]),_vm._v(\" \"),(result.type === 'withdrawal')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-danger\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount) * -1)))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(result.type === 'deposit')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-success\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(result.type === 'transfer')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-info\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),_c('br'),_vm._v(\" \"),_c('em',[_c('a',{attrs:{\"href\":'./accounts/show/' + result.source_id}},[_vm._v(_vm._s(result.source_name))]),_vm._v(\"\\n →\\n \"),_c('a',{attrs:{\"href\":'./accounts/show/' + result.destination_id}},[_vm._v(_vm._s(result.destination_name))])])])])}),0)]):_vm._e()])])])]),_vm._v(\" \"),_vm._m(3)])])])]):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"modal-header\"},[_c('h5',{staticClass:\"modal-title\"},[_vm._v(\"Transaction thing dialog.\")]),_vm._v(\" \"),_c('button',{staticClass:\"close\",attrs:{\"aria-label\":\"Close\",\"data-dismiss\":\"modal\",\"type\":\"button\"}},[_c('span',{attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"×\")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('p',[_vm._v(\"\\n Use this form to search for transactions you wish to link to this one. When in doubt, use \"),_c('code',[_vm._v(\"id:*\")]),_vm._v(\" where the ID is the number from\\n the URL.\\n \")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-default\",attrs:{\"type\":\"submit\"}},[_c('i',{staticClass:\"fas fa-search\"}),_vm._v(\" Search\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"modal-footer\"},[_c('button',{staticClass:\"btn btn-secondary\",attrs:{\"data-dismiss\":\"modal\",\"type\":\"button\"}},[_vm._v(\"Close\")])])}]\n\nexport { render, staticRenderFns }","<!--\n - TransactionLinks.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\">\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.journal_links') }}\n </div>\n <div class=\"row\">\n <div class=\"col\">\n <p v-if=\"links.length === 0\">\n <button class=\"btn btn-default btn-xs\" data-target=\"#linkModal\" @click=\"resetModal\" data-toggle=\"modal\"><i class=\"fas fa-plus\"></i> Add transaction link</button>\n </p>\n <ul v-if=\"links.length > 0\" class=\"list-group\">\n <li v-for=\"(transaction, index) in links\" class=\"list-group-item\" v-bind:key=\"index\">\n <em>{{ getTextForLinkType(transaction.link_type_id) }}</em>\n <a :href='\"./transaction/show/\" + transaction.transaction_group_id'>{{ transaction.description }}</a>\n\n <span v-if=\"transaction.type === 'withdrawal'\">\n (<span class=\"text-danger\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount) * -1)\n }}</span>)\n </span>\n <span v-if=\"transaction.type === 'deposit'\">\n (<span class=\"text-success\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))\n }}</span>)\n </span>\n <span v-if=\"transaction.type === 'transfer'\">\n (<span class=\"text-info\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))\n }}</span>)\n </span>\n <div class=\"btn-group btn-group-xs float-right\">\n <button class=\"btn btn-xs btn-danger\" @click=\"removeLink(index)\" tabindex=\"-1\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </li>\n </ul>\n <div v-if=\"links.length > 0\" class=\"form-text\">\n <button class=\"btn btn-default\" @click=\"resetModal\" data-target=\"#linkModal\" data-toggle=\"modal\"><i class=\"fas fa-plus\"></i></button>\n </div>\n </div>\n </div>\n </div>\n <!-- modal -->\n <div id=\"linkModal\" class=\"modal\" tabindex=\"-1\" ref=\"linkModal\">\n <div class=\"modal-dialog modal-lg\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <h5 class=\"modal-title\">Transaction thing dialog.</h5>\n <button aria-label=\"Close\" class=\"close\" data-dismiss=\"modal\" type=\"button\">\n <span aria-hidden=\"true\">×</span>\n </button>\n </div>\n <div class=\"modal-body\">\n <div class=\"container-fluid\">\n <div class=\"row\">\n <div class=\"col\">\n <p>\n Use this form to search for transactions you wish to link to this one. When in doubt, use <code>id:*</code> where the ID is the number from\n the URL.\n </p>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col\">\n <form v-on:submit.prevent=\"search\">\n <div class=\"input-group\">\n <input id=\"query\" v-model=\"query\" autocomplete=\"off\" class=\"form-control\" maxlength=\"255\" name=\"search\"\n placeholder=\"Search query\" type=\"text\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-default\" type=\"submit\"><i class=\"fas fa-search\"></i> Search</button>\n </div>\n </div>\n </form>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col\">\n <span v-if=\"searching\"><i class=\"fas fa-spinner fa-spin\"></i></span>\n <h4 v-if=\"searchResults.length > 0\">{{ $t('firefly.search_results') }}</h4>\n <table v-if=\"searchResults.length > 0\" class=\"table table-sm\">\n <caption style=\"display:none;\">{{ $t('firefly.search_results') }}</caption>\n <thead>\n <tr>\n <th scope=\"col\" colspan=\"2\" style=\"width:33%\">{{ $t('firefly.include') }}</th>\n <th scope=\"col\">{{ $t('firefly.transaction') }}</th>\n </tr>\n </thead>\n <tbody>\n <tr v-for=\"result in searchResults\">\n <td>\n <input v-model=\"result.selected\" class=\"form-control\"\n type=\"checkbox\"\n @change=\"selectTransaction($event)\"\n />\n </td>\n <td>\n <select\n v-model=\"result.link_type_id\"\n class=\"form-control\"\n @change=\"selectLinkType($event)\"\n >\n <option v-for=\"linkType in linkTypes\" :label=\"linkType.type\" :value=\"linkType.id + '-' + linkType.direction\">{{\n linkType.type\n }}\n </option>\n </select>\n </td>\n <td>\n <a :href=\"'./transactions/show/' + result.transaction_group_id\">{{ result.description }}</a>\n <span v-if=\"result.type === 'withdrawal'\">\n (<span class=\"text-danger\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount) * -1)\n }}</span>)\n </span>\n <span v-if=\"result.type === 'deposit'\">\n (<span class=\"text-success\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount))\n }}</span>)\n </span>\n <span v-if=\"result.type === 'transfer'\">\n (<span class=\"text-info\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount))\n }}</span>)\n </span>\n <br/>\n <em>\n <a :href=\"'./accounts/show/' + result.source_id\">{{ result.source_name }}</a>\n →\n <a :href=\"'./accounts/show/' + result.destination_id\">{{ result.destination_name }}</a>\n </em>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n </div>\n <div class=\"modal-footer\">\n <button class=\"btn btn-secondary\" data-dismiss=\"modal\" type=\"button\">Close</button>\n </div>\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nconst lodashClonedeep = require('lodash.clonedeep');\n// TODO error handling\nexport default {\n props: ['index', 'value', 'errors', 'customFields'],\n name: \"TransactionLinks\",\n data() {\n return {\n searchResults: [],\n include: [],\n locale: 'en-US',\n linkTypes: [],\n query: '',\n searching: false,\n links: this.value,\n availableFields: this.customFields,\n emitEvent: true\n }\n },\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n this.emitEvent = false;\n this.links = lodashClonedeep(this.value);\n this.getLinkTypes();\n\n },\n computed: {\n showField: function () {\n if ('links' in this.availableFields) {\n return this.availableFields.links;\n }\n return false;\n }\n },\n watch: {\n value: function (value) {\n if (null !== value) {\n this.emitEvent = false;\n this.links = lodashClonedeep(value);\n }\n },\n links: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {index: this.index, field: 'links', value: lodashClonedeep(value)});\n }\n this.emitEvent = true;\n },\n customFields: function (value) {\n this.availableFields = value;\n }\n },\n methods: {\n removeLink: function (index) {\n this.links.splice(index, 1);\n },\n getTextForLinkType: function (linkTypeId) {\n let parts = linkTypeId.split('-');\n for (let i in this.linkTypes) {\n if (this.linkTypes.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.linkTypes[i];\n if (parts[0] === current.id && parts[1] === current.direction) {\n return current.type;\n }\n }\n }\n return 'text for #' + linkTypeId;\n },\n selectTransaction: function (event) {\n for (let i in this.searchResults) {\n if (this.searchResults.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.searchResults[i];\n if (current.selected) {\n this.addToSelected(current);\n }\n if (!current.selected) {\n // remove from\n this.removeFromSelected(current);\n }\n }\n }\n },\n selectLinkType: function (event) {\n for (let i in this.searchResults) {\n if (this.searchResults.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.searchResults[i];\n this.updateSelected(current.transaction_journal_id, current.link_type_id);\n }\n }\n },\n updateSelected(journalId, linkTypeId) {\n for (let i in this.links) {\n if (this.links.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.links[i];\n if (parseInt(current.transaction_journal_id) === journalId) {\n this.links[i].link_type_id = linkTypeId;\n }\n }\n }\n },\n addToSelected(journal) {\n let result = this.links.find(({transaction_journal_id}) => transaction_journal_id === journal.transaction_journal_id);\n if (typeof result === 'undefined') {\n this.links.push(journal);\n }\n },\n removeFromSelected(journal) {\n for (let i in this.links) {\n if (this.links.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.links[i];\n if (current.transaction_journal_id === journal.transaction_journal_id) {\n this.links.splice(parseInt(i), 1);\n }\n }\n }\n },\n getLinkTypes: function () {\n let url = './api/v1/link_types';\n axios.get(url)\n .then(response => {\n this.parseLinkTypes(response.data);\n }\n );\n },\n resetModal: function() {\n this.search();\n },\n parseLinkTypes: function (data) {\n for (let i in data.data) {\n if (data.data.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = data.data[i];\n let linkTypeInward = {\n id: current.id,\n type: current.attributes.inward,\n direction: 'inward'\n };\n let linkTypeOutward = {\n id: current.id,\n type: current.attributes.outward,\n direction: 'outward'\n };\n if (linkTypeInward.type === linkTypeOutward.type) {\n linkTypeInward.type = linkTypeInward.type + ' (←)';\n linkTypeOutward.type = linkTypeOutward.type + ' (→)';\n }\n this.linkTypes.push(linkTypeInward);\n this.linkTypes.push(linkTypeOutward);\n }\n }\n },\n search: function () {\n if('' === this.query) {\n this.searchResults = [];\n return;\n }\n this.searching = true;\n this.searchResults = [];\n let url = './api/v1/search/transactions?limit=10&query=' + this.query;\n axios.get(url)\n .then(response => {\n this.parseSearch(response.data);\n }\n );\n },\n parseSearch: function (data) {\n for (let i in data.data) {\n if (data.data.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n for (let ii in data.data[i].attributes.transactions) {\n if (data.data[i].attributes.transactions.hasOwnProperty(ii) && /^0$|^[1-9]\\d*$/.test(ii) && ii <= 4294967294) {\n let current = data.data[i].attributes.transactions[ii];\n current.transaction_group_id = parseInt(data.data[i].id);\n current.selected = this.isJournalSelected(current.transaction_journal_id);\n current.link_type_id = this.getJournalLinkType(current.transaction_journal_id);\n current.link_type_text = '';\n this.searchResults.push(current);\n }\n }\n }\n }\n this.searching = false;\n },\n getJournalLinkType: function (journalId) {\n for (let i in this.links) {\n if (this.links.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.links[i];\n if (current.transaction_journal_id === journalId) {\n return current.link_type_id;\n }\n }\n }\n return '1-inward';\n },\n isJournalSelected: function (journalId) {\n for (let i in this.links) {\n if (this.links.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.links[i];\n if (current.transaction_journal_id === journalId) {\n return true;\n }\n }\n }\n return false;\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionLinks.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionLinks.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionLinks.vue?vue&type=template&id=a69356e6&\"\nimport script from \"./TransactionLinks.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionLinks.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<!--\n - TransactionAttachments.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.attachments') }}\n </div>\n <div class=\"input-group\">\n <input\n ref=\"att\"\n class=\"form-control\"\n multiple\n @change=\"selectedFile\"\n name=\"attachments[]\"\n type=\"file\"\n />\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"TransactionAttachments\",\n props: ['transaction_journal_id', 'customFields'],\n data() {\n return {\n availableFields: this.customFields\n }\n },\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n transaction_journal_id: function (value) {\n if (!this.showField) {\n // console.log('Field is hidden. Emit event!');\n this.$emit('uploaded-attachments', value);\n return;\n }\n // console.log('transaction_journal_id changed to ' + value);\n // do upload!\n if (0 !== value) {\n this.doUpload();\n }\n }\n },\n computed: {\n showField: function () {\n if ('attachments' in this.availableFields) {\n return this.availableFields.attachments;\n }\n return false;\n }\n },\n methods: {\n selectedFile: function() {\n this.$emit('selected-attachments', this.transaction_journal_id);\n },\n doUpload: function () {\n // console.log('Now in doUpload() for ' + this.$refs.att.files.length + ' files.');\n for (let i in this.$refs.att.files) {\n if (this.$refs.att.files.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = this.$refs.att.files[i];\n let fileReader = new FileReader();\n let theParent = this; // dont ask me why i need to do this.\n fileReader.onloadend = function (evt) {\n if (evt.target.readyState === FileReader.DONE) {\n // do upload here\n const uri = './api/v1/attachments';\n const data = {\n filename: current.name,\n attachable_type: 'TransactionJournal',\n attachable_id: theParent.transaction_journal_id,\n };\n // create new attachment:\n axios.post(uri, data).then(response => {\n // upload actual file:\n const uploadUri = './api/v1/attachments/' + response.data.data.id + '/upload';\n axios\n .post(uploadUri, new Blob([evt.target.result]))\n .then(attachmentResponse => {\n // TODO feedback etc.\n // console.log('Uploaded a file. Emit event!');\n // console.log(attachmentResponse);\n theParent.$emit('uploaded-attachments', this.transaction_journal_id);\n });\n });\n }\n }\n fileReader.readAsArrayBuffer(current);\n }\n }\n if (0 === this.$refs.att.files.length) {\n // console.log('No files to upload. Emit event!');\n this.$emit('uploaded-attachments', this.transaction_journal_id);\n }\n }\n }\n\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAttachments.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAttachments.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionAttachments.vue?vue&type=template&id=c0a65b6c&scoped=true&\"\nimport script from \"./TransactionAttachments.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionAttachments.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c0a65b6c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.attachments'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{ref:\"att\",staticClass:\"form-control\",attrs:{\"multiple\":\"\",\"name\":\"attachments[]\",\"type\":\"file\"},on:{\"change\":_vm.selectedFile}})])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionLocation.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.location') }}\n </div>\n <div style=\"width:100%;height:300px;\">\n <l-map\n ref=\"myMap\"\n :center=\"center\"\n :zoom=\"zoom\" style=\"width:100%;height:300px;\"\n @ready=\"prepMap()\"\n @update:zoom=\"zoomUpdated\"\n @update:center=\"centerUpdated\"\n @update:bounds=\"boundsUpdated\"\n >\n <l-tile-layer :url=\"url\"></l-tile-layer>\n <l-marker :lat-lng=\"marker\" :visible=\"hasMarker\"></l-marker>\n </l-map>\n <span>\n <button class=\"btn btn-default btn-xs\" @click=\"clearLocation\">{{ $t('firefly.clear_location') }}</button>\n </span>\n </div>\n <p> </p>\n </div>\n</template>\n\n<script>\n\n// If you need to reference 'L', such as in 'L.icon', then be sure to\n// explicitly import 'leaflet' into your component\n// import L from 'leaflet';\nimport {LMap, LMarker, LTileLayer} from 'vue2-leaflet';\nimport 'leaflet/dist/leaflet.css';\n\nimport L from 'leaflet';\n\ndelete L.Icon.Default.prototype._getIconUrl;\n\nL.Icon.Default.mergeOptions({\n iconRetinaUrl: require('leaflet/dist/images/marker-icon-2x.png'),\n iconUrl: require('leaflet/dist/images/marker-icon.png'),\n shadowUrl: require('leaflet/dist/images/marker-shadow.png')\n });\n\nexport default {\n name: \"TransactionLocation\",\n props: {\n index: {},\n value: {\n type: Object,\n required: false\n },\n errors: {},\n customFields: {},\n },\n components: {\n LMap,\n LTileLayer,\n LMarker,\n },\n created() {\n if (null === this.value || typeof this.value === 'undefined') {\n axios.get('./api/v1/configuration/firefly.default_location').then(response => {\n this.zoom = parseInt(response.data.data.value.zoom_level);\n this.center =\n [\n parseFloat(response.data.data.value.latitude),\n parseFloat(response.data.data.value.longitude),\n ]\n ;\n });\n return;\n }\n if (null !== this.value.zoom_level && null !== this.value.latitude && null !== this.value.longitude) {\n this.zoom = this.value.zoom_level;\n this.center = [\n parseFloat(this.value.latitude),\n parseFloat(this.value.longitude),\n ];\n this.hasMarker = true;\n }\n },\n data() {\n return {\n availableFields: this.customFields,\n url: 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',\n zoom: 3,\n center: [0, 0],\n bounds: null,\n map: null,\n hasMarker: false,\n marker: [0, 0],\n }\n },\n methods: {\n prepMap: function () {\n this.map = this.$refs.myMap.mapObject;\n this.map.on('contextmenu', this.setObjectLocation);\n this.map.on('zoomend', this.saveZoomLevel);\n },\n setObjectLocation: function (event) {\n this.marker = [event.latlng.lat, event.latlng.lng];\n this.hasMarker = true;\n this.emitEvent();\n },\n saveZoomLevel: function () {\n this.emitEvent();\n },\n clearLocation: function () {\n this.hasMarker = false;\n this.emitEvent();\n },\n emitEvent() {\n this.$emit('set-marker-location', {\n index: this.index,\n zoomLevel: this.zoom,\n lat: this.marker[0],\n lng: this.marker[1],\n hasMarker: this.hasMarker\n }\n );\n },\n zoomUpdated(zoom) {\n this.zoom = zoom;\n },\n centerUpdated(center) {\n this.center = center;\n },\n boundsUpdated(bounds) {\n this.bounds = bounds;\n }\n },\n computed: {\n showField: function () {\n if ('location' in this.availableFields) {\n return this.availableFields.location;\n }\n return false;\n }\n },\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionLocation.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionLocation.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionLocation.vue?vue&type=template&id=3bafa3c9&scoped=true&\"\nimport script from \"./TransactionLocation.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionLocation.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3bafa3c9\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.location'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticStyle:{\"width\":\"100%\",\"height\":\"300px\"}},[_c('l-map',{ref:\"myMap\",staticStyle:{\"width\":\"100%\",\"height\":\"300px\"},attrs:{\"center\":_vm.center,\"zoom\":_vm.zoom},on:{\"ready\":function($event){return _vm.prepMap()},\"update:zoom\":_vm.zoomUpdated,\"update:center\":_vm.centerUpdated,\"update:bounds\":_vm.boundsUpdated}},[_c('l-tile-layer',{attrs:{\"url\":_vm.url}}),_vm._v(\" \"),_c('l-marker',{attrs:{\"lat-lng\":_vm.marker,\"visible\":_vm.hasMarker}})],1),_vm._v(\" \"),_c('span',[_c('button',{staticClass:\"btn btn-default btn-xs\",on:{\"click\":_vm.clearLocation}},[_vm._v(_vm._s(_vm.$t('firefly.clear_location')))])])],1),_vm._v(\" \"),_c('p',[_vm._v(\" \")])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitForm.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitForm.vue?vue&type=script&lang=js&\"","<!--\n - SplitForm.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div :id=\"'split_' + index\" :class=\"'tab-pane' + (0===index ? ' active' : '')\">\n <div class=\"row\">\n <div class=\"col\">\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">\n {{ $t('firefly.basic_journal_information') }}\n <span v-if=\"count > 1\">({{ index + 1 }} / {{ count }}) </span>\n </h3>\n <div v-if=\"count>1\" class=\"card-tools\">\n <button class=\"btn btn-danger btn-xs\" @click=\"removeTransaction\"><i class=\"fas fa-trash-alt\"></i></button>\n </div>\n </div>\n <div class=\"card-body\">\n <!-- start of body -->\n <div class=\"row\">\n <div class=\"col\">\n <TransactionDescription\n v-model=\"transaction.description\"\n v-on=\"$listeners\"\n :errors=\"transaction.errors.description\"\n :index=\"index\"\n ></TransactionDescription>\n </div>\n </div>\n <!-- source and destination -->\n <div class=\"row\">\n <div class=\"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12\">\n <!-- SOURCE -->\n <TransactionAccount\n v-model=\"sourceAccount\"\n v-on=\"$listeners\"\n :destination-allowed-types=\"destinationAllowedTypes\"\n :errors=\"transaction.errors.source\"\n :index=\"index\"\n :source-allowed-types=\"sourceAllowedTypes\"\n :transaction-type=\"transactionType\"\n direction=\"source\"\n />\n </div>\n <!-- switcharoo! -->\n <div class=\"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block\">\n <SwitchAccount\n v-if=\"0 === index && allowSwitch\"\n v-on=\"$listeners\"\n :index=\"index\"\n :transaction-type=\"transactionType\"\n />\n </div>\n\n <!-- destination -->\n <div class=\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\">\n <!-- DESTINATION -->\n <TransactionAccount\n v-model=\"destinationAccount\"\n v-on=\"$listeners\"\n :destination-allowed-types=\"destinationAllowedTypes\"\n :errors=\"transaction.errors.destination\"\n :index=\"index\"\n :transaction-type=\"transactionType\"\n :source-allowed-types=\"sourceAllowedTypes\"\n direction=\"destination\"\n />\n </div>\n </div>\n\n\n <!-- amount -->\n <div class=\"row\">\n <div class=\"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12\">\n <!-- AMOUNT -->\n <TransactionAmount\n v-on=\"$listeners\"\n :amount=\"transaction.amount\"\n :destination-currency-symbol=\"this.transaction.destination_account_currency_symbol\"\n :errors=\"transaction.errors.amount\"\n :index=\"index\"\n :source-currency-symbol=\"this.transaction.source_account_currency_symbol\"\n :transaction-type=\"this.transactionType\"\n />\n </div>\n <div class=\"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block\">\n <TransactionForeignCurrency\n v-model=\"transaction.foreign_currency_id\"\n v-on=\"$listeners\"\n :destination-currency-id=\"this.transaction.destination_account_currency_id\"\n :index=\"index\"\n :selected-currency-id=\"this.transaction.foreign_currency_id\"\n :source-currency-id=\"this.transaction.source_account_currency_id\"\n :transaction-type=\"this.transactionType\"\n />\n </div>\n <div class=\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\">\n <!--\n The reason that TransactionAmount gets the symbols and\n TransactionForeignAmount gets the ID's of the currencies is\n because ultimately TransactionAmount doesn't decide which\n currency id is submitted to Firefly III.\n -->\n <TransactionForeignAmount\n v-model=\"transaction.foreign_amount\"\n v-on=\"$listeners\"\n :destination-currency-id=\"this.transaction.destination_account_currency_id\"\n :errors=\"transaction.errors.foreign_amount\"\n :index=\"index\"\n :selected-currency-id=\"this.transaction.foreign_currency_id\"\n :source-currency-id=\"this.transaction.source_account_currency_id\"\n :transaction-type=\"this.transactionType\"\n />\n </div>\n </div>\n\n <!-- dates -->\n <div class=\"row\">\n <div class=\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\">\n <TransactionDate\n v-on=\"$listeners\"\n :date=\"splitDate\"\n :errors=\"transaction.errors.date\"\n :index=\"index\"\n />\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: String,\n required: true\n },\n transactionType: {\n type: String,\n required: true\n },\n submittedTransaction: {\n type: Boolean,\n required: false,\n default: false\n }, // need to know if transaction is submitted.\n sourceAllowedTypes: {\n type: Array,\n required: false,\n default: []\n }, // allowed source account types.\n destinationAllowedTypes: {\n type: Array,\n required: false,\n default: []\n },\n // allow switch?\n allowSwitch: {\n type: Boolean,\n required: false,\n default: true\n }\n\n },\n methods: {\n removeTransaction: function () {\n // console.log('Will remove transaction ' + this.index);\n this.$emit('remove-transaction', {index: this.index});\n },\n },\n computed: {\n splitDate: function () {\n return this.date;\n },\n sourceAccount: function () {\n console.log('computed::sourceAccount');\n let value = {\n id: this.transaction.source_account_id,\n name: this.transaction.source_account_name,\n type: this.transaction.source_account_type,\n };\n console.log(JSON.stringify(value));\n return value;\n },\n destinationAccount: function () {\n 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=be46c172&\"\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